Fix gdb.base/charset.exp with Clang
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bf90c83a
PA
12020-07-03 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/charset.c (init_string): Change all char parameters to
4 unsigned char parameters.
5
2eb82157
PA
62020-07-03 Pedro Alves <palves@redhat.com>
7
8 * gdb.base/call-sc.exp (start_scalars_test): Use
9 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
10 * gdb.base/overlays.c: Remove references to PARAMS.
11 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
12 * gdb.base/reread.exp: Don't set 'prototypes' global.
13 * gdb.base/structs.exp (start_structs_test): Use
14 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
15 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
16 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
17 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
18 call.
19 * gdb.base/varargs.exp: Don't set 'prototypes' global.
20
9adda7af
PA
212020-07-03 Pedro Alves <palves@redhat.com>
22
23 * gdb.base/m32rovly.c: Delete.
24 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
25
2a17c803
PW
262020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
27
28 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
29 of gdb_py_test_multiple.
30 * gdb.python/py-cmd.exp: Likewise.
31 * gdb.python/py-events.exp: Likewise.
32 * gdb.python/py-function.exp: Likewise.
33 * gdb.python/py-inferior.exp: Likewise.
34 * gdb.python/py-infthread.exp: Likewise.
35 * gdb.python/py-linetable.exp: Likewise.
36 * gdb.python/py-parameter.exp: Likewise.
37 * gdb.python/py-value.exp: Likewise.
38
b011fe1a
TV
392020-06-30 Tom de Vries <tdevries@suse.de>
40
41 PR testsuite/26175
42 * lib/future.exp (gdb_default_target_compile): Detect and handle
43 early_flags.
44
df5b8876
SM
452020-06-29 Simon Marchi <simon.marchi@efficios.com>
46
47 * boards/simavr.exp (gdb_load): Catch errors when closing
48 previous connection. Close connection, wait for process and
49 unset simavr_spawn_id on failure.
50
a3ca48cd
TV
512020-06-29 Tom de Vries <tdevries@suse.de>
52
53 * lib/gdb.exp (unknown): Make test-case unresolved.
54
b0237c0e
TV
552020-06-29 Tom de Vries <tdevries@suse.de>
56
57 PR gdb/25475
58 * gdb.server/solib-list.exp: Verify that the symbol reload
59 confirmation question is asked.
60
c0b3b3bd
PW
612020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
62
63 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
64 have a input seq nr in each pass message.
65 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
66 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
67 * gdb.python/python.exp: Make test names unique,
68 use gdb_test_multiline instead of gdb_py_test_multiple,
69 use $gdb_test_name.
70 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
71
1776e3e5
NA
722020-06-26 Nick Alcock <nick.alcock@oracle.com>
73
74 * configure.ac: Add --enable-libctf.
75 * aclocal.m4: sinclude ../config/enable.m4.
76 * Makefile.in (site.exp): Add enable_libctf to site.exp.
77 * lib/gdb.exp (skip_ctf_tests): Use it.
78 * gdb.base/ctf-constvars.exp: Error message tweak.
79 * gdb.base/ctf-ptype.exp: Likewise.
80 * configure: Regenerate.
81
f53b3eeb
GB
822020-06-26 Gary Benson <gbenson@redhat.com>
83
84 * gdb.cp/try_catch.cc: Include string.h.
85 (main): Replace comparison against string literal with
86 strcmp, avoiding build failure with -Wstring-compare.
87 Add "marker test-complete".
88 * gdb.cp/try_catch.exp: Run the test to the above marker,
89 then verify that the value of "test" is still true.
90
6d74da72
AB
912020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
94
2e52d038
AB
952020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
98
3b9fce96
AB
992020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
102 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
103 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
104 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
105 * gdb.arch/riscv-tdesc-loading.exp: New file.
106
ed69cbc8
AB
1072020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
110
767a879e
AB
1112020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
114 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
115 * gdb.arch/riscv-tdesc-regs.c: New file.
116 * gdb.arch/riscv-tdesc-regs.exp: New file.
117
221db974
PA
1182020-06-24 Pedro Alves <palves@redhat.com>
119
120 * gdb.arch/amd64-entry-value-paramref.exp: Use
121 prepare_for_testing_full and don't pass "c++" for the .S file
122 build spec.
123 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
124 $options, since it's an assembly file. Remove -Wno-deprecated.
125 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
126 compiling C++ programs.
127
331733cd
PA
1282020-06-24 Pedro Alves <palves@redhat.com>
129
130 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
131 Clang, add "-Wno-unknown-warning-option" to the options.
132
caa7fd04
AB
1332020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
134
135 * gdb.xml/tdesc-reload.c: New file.
136 * gdb.xml/tdesc-reload.exp: New file.
137 * gdb.xml/maint-xml-dump-01.xml: New file.
138 * gdb.xml/maint-xml-dump-02.xml: New file.
139 * gdb.xml/maint-xml-dump.exp: New file.
140
bb8d1260
SL
1412020-06-23 Sandra Loosemore <sandra@codesourcery.com>
142
143 * lib/completion-support.exp (test_gdb_completion_offers_commands):
144 Adjust for omitted commands when TUI is disabled.
145
7e4b9c4c
GB
1462020-06-23 Gary Benson <gbenson@redhat.com>
147 Pedro Alves <palves@redhat.com>
148
149 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
150 * gdb.cp/nsimport.cc: Likewise.
151 * gdb.cp/nsnested.cc: Likewise.
152 * gdb.cp/nsnoimports.cc: Likewise.
153 * gdb.cp/nsusing.cc: Likewise.
154 * gdb.cp/smartp.cc: Likewise.
155 * gdb.python/py-pp-integral.c: Likewise.
156 * gdb.python/py-pp-re-notag.c: Likewise.
157
2e573c0a
GB
1582020-06-23 Gary Benson <gbenson@redhat.com>
159
160 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
161 * gdb.cp/nsimport.cc: Likewise.
162 * gdb.cp/nsnested.cc: Likewise.
163 * gdb.cp/nsnoimports.cc: Likewise.
164 * gdb.cp/nsusing.cc: Likewise.
165 * gdb.cp/smartp.cc: Likewise.
166 * gdb.python/py-pp-integral.c: Likewise.
167 * gdb.python/py-pp-re-notag.c: Likewise.
168
746ebfe8
PW
1692020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
170
171 * gdb.base/default-args.exp: New test.
172 * gdb.base/default-args.c: New file.
173 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
174 * gdb.base/default.exp: Update to new help text.
175 * gdb.base/help.exp: Likewise.
176 * gdb.base/page.exp: Likewise.
177 * gdb.base/style.exp: Likewise.
178 * gdb.guile/guile.exp: Likewise.
179 * gdb.python/python.exp: Likewise.
180
e822f2cd
SL
1812020-06-22 Sandra Loosemore <sandra@codesourcery.com>
182
183 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
184 remote host. Fix search path syntax on Windows host.
185
48e9cc84
PW
1862020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
187
188 * gdb.base/attach.exp: Test priority of 'exec-file' changed
189 over 'exec-file-mismatch'.
190 * gdb.base/attach.c: Mark should_exit volatile.
191 * gdb.base/attach2.c: Likewise. Add a comment explaining
192 why the sleep cannot be big.
193 * gdb.base/attach3.c: New file.
194
160f8a8f
SL
1952020-06-20 Sandra Loosemore <sandra@codesourcery.com>
196
197 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
198 prefix optional.
199
4d91c2a4
SL
2002020-06-20 Sandra Loosemore <sandra@codesourcery.com>
201
202 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
203 for remote host.
204
87f83f20
SL
2052020-06-19 Sandra Loosemore <sandra@codesourcery.com>
206 Hafiz Abid Qadeer <abidh@codesourcery.com>
207
208 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
209 file sent to remote host.
210 (top level): Allow int32_t as type of 32-bit register.
211
37ab8655
TV
2122020-06-19 Tom de Vries <tdevries@suse.de>
213
214 * lib/gdb.exp (gdb_note): New proc.
215 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
216 (gdb_default_target_compile): ... here. Only call
217 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
218 (use_gdb_compile): Change to array.
219 (toplevel): Update sets of use_gdb_compile to specify language.
220 Warn about default_target_compile override. Store dejagnu's version
221 of default_target_compile in dejagnu_default_target_compile.
222
a8a56685
TV
2232020-06-18 Tom de Vries <tdevries@suse.de>
224
225 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
226 (default_gdb_init): ... here.
227
581bea2c
SL
2282020-06-17 Sandra Loosemore <sandra@codesourcery.com>
229
230 Fix TUI support checks in gdb.tui tests.
231
232 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
233 just say UNSUPPORTED.
234 * gdb.tui/corefile-run.exp: Likewise.
235 * gdb.tui/empty.exp: Likewise.
236 * gdb.tui/list-before.exp: Likewise.
237 * gdb.tui/list.exp: Likewise.
238 * gdb.tui/main.exp: Likewise.
239 * gdb.tui/regs.exp: Likewise.
240 * gdb.tui/resize.exp: Likewise.
241 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
242 * gdb.tui/tui-layout-asm.exp: Likewise.
243 * gdb.tui/tui-missing-src.exp: Likewise.
244 * gdb.tui/winheight.exp: Likewise.
245 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
246
05e682e3
SL
2472020-06-17 Sandra Loosemore <sandra@codesourcery.com>
248
249 Fix TCL error in gdb.python/py-format-string.exp.
250
251 * gdb.python/py-format-string.exp: Move test for python support
252 earlier, out of function body.
253
efb763a5
SM
2542020-06-15 Simon Marchi <simon.marchi@efficios.com>
255
256 * gdb.base/index-cache-load-twice.c: New.
257 * gdb.base/index-cache-load-twice.exp: New.
258
43327b20
KS
2592020-06-17 Keith Seitz <keiths@redhat.com>
260
99cf27cf 261 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
262 when executing "gdb --configuration".
263
081e778c
TV
2642020-06-17 Tom de Vries <tdevries@suse.de>
265
266 * lib/gdb.exp (gdb_tcl_unknown): New proc.
267 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
268 conditional on presence of gdb_tcl_unknown.
269 (gdb_finish): Make override undo conditional on presence of
270 gdb_tcl_unknown.
271
d2d1ea20
TT
2722020-06-16 Tom Tromey <tom@tromey.com>
273
274 * gdb.python/tui-window.py (failwin): New function. Register it
275 as a TUI window type.
276 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
277
c802e8a7
GB
2782020-06-16 Gary Benson <gbenson@redhat.com>
279
280 * gdb.python/py-nested-maps.c (create_map): Add missing return
281 value.
282 (create_map_map): Likewise.
283
ff08abb8
TBA
2842020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
285
286 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
287 variable.
288 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
289 and use the already-defined 'options' variable.
290
a29d5112
AB
2912020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
292 Tom de Vries <tdevries@suse.de>
293
294 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
295 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
296 (gdb_setup_known_globals): New proc.
297 (gdb_cleanup_globals): New proc.
298 * lib/gdb.exp (load_lib): New override proc.
299 (gdb_stdin_log_init): Set var in_file as persistent global.
300 * lib/pascal.exp (gdb_stdin_log_init): Set vars
301 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
302 fpc_compiler as persistent global.
303
8c74a764
TV
3042020-06-12 Tom de Vries <tdevries@suse.de>
305
306 * lib/tuiterm.exp (spawn): Rename to ...
307 (tui_spawn): ... this.
308 (toplevel): Move rename of spawn ...
309 (gdb_init_tuiterm): ... here. New proc.
310 (gdb_finish_tuiterm): New proc.
311 * lib/gdb.exp (gdb_finish_hooks): New global var.
312 (gdb_finish): Handle gdb_finish_hooks.
313 (tuiterm_env): New proc.
314 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
315 tuiterm_env.
316 * gdb.tui/basic.exp: Same.
317 * gdb.tui/corefile-run.exp: Same.
318 * gdb.tui/empty.exp: Same.
319 * gdb.tui/list-before.exp: Same.
320 * gdb.tui/list.exp: Same.
321 * gdb.tui/main.exp: Same.
322 * gdb.tui/new-layout.exp: Same.
323 * gdb.tui/regs.exp: Same.
324 * gdb.tui/resize.exp: Same.
325 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
326 * gdb.tui/tui-layout-asm.exp: Same.
327 * gdb.tui/tui-missing-src.exp: Same.
328 * gdb.tui/winheight.exp: Same.
329
26783bce
TV
3302020-06-12 Tom de Vries <tdevries@suse.de>
331
332 PR testsuite/26110
333 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
334 (gdb_finish): Reinstall dejagnu's override of ::unknown.
335
2b4e6a3f
TT
3362020-06-11 Tom Tromey <tom@tromey.com>
337
338 PR gdb/18318:
339 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
340 floating point tests.
341
2f33032a
KS
3422020-06-11 Keith Seitz <keiths@redhat.com>
343
344 PR gdb/21356
345 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
346 vla_struct.
347 Add new struct vla_typedef and union vla_typedef_union and
348 corresponding instantiation objects.
349 Initialize new objects.
350 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
351 and vla_typedef_union_object.
352 Fixup type for vla_struct_object.
353
a8baf0a3
TV
3542020-06-11 Tom de Vries <tdevries@suse.de>
355
356 * lib/gdb.exp (with_override): New proc, factored out of ...
357 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
358
7ab96794
TV
3592020-06-10 Tom de Vries <tdevries@suse.de>
360
361 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
362
cab5c3b7
SM
3632020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
364
365 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
366 parameter, update callers.
367
f8c41851
SM
3682020-06-04 Simon Marchi <simon.marchi@efficios.com>
369
370 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
371 * gdb.dwarf2/share-psymtabs-bt.c: New file.
372 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
373
1c07a73f
TV
3742020-06-04 Tom de Vries <tdevries@suse.de>
375
376 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
377
95146b5d
TV
3782020-06-04 Tom de Vries <tdevries@suse.de>
379
380 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
381 exp_continue.
382
0cfcd4f0
TV
3832020-06-04 Tom de Vries <tdevries@suse.de>
384
385 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
386
f9b5d5ea
TV
3872020-06-03 Tom de Vries <tdevries@suse.de>
388
389 PR symtab/26046
390 * gdb.cp/breakpoint-locs-2.cc: New test.
391 * gdb.cp/breakpoint-locs.cc: New test.
392 * gdb.cp/breakpoint-locs.exp: New file.
393 * gdb.cp/breakpoint-locs.h: New test.
394
5144dfba
TV
3952020-06-03 Tom de Vries <tdevries@suse.de>
396
397 PR testsuite/25609
398 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
399 value of global verbose.
400 * gdb.base/jit-elf.exp: Same.
401 * gdb.base/jit-reader.exp: Same.
402
621eacdf
TV
4032020-06-02 Tom de Vries <tdevries@suse.de>
404
405 * gdb.dwarf2/multidictionary.exp: Don't use
406 gdb_spawn_with_cmdline_opts.
407
1313c56e
AB
4082020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
411 use_header case.
412 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
413 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
414 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
415 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
416 * gdb.dwarf2/dw2-inline-header.c: New file.
417 * gdb.dwarf2/dw2-inline-header.h: New file.
418
f68f85b5
PA
4192020-05-30 Pedro Alves <palves@redhat.com>
420
421 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
422 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
423
678048e8
GB
4242020-05-29 Gary Benson <gbenson@redhat.com>
425
426 * gdb.compile/compile-cplus.exp (additional_flags): Also
427 set when building with clang.
428 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
429 when building with clang.
430
9fcafd23
GB
4312020-05-29 Gary Benson <gbenson@redhat.com>
432
433 * gdb.arch/i386-avx.exp (additional_flags): Also set when
434 building with clang.
435 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
436
735d5a07
GB
4372020-05-29 Gary Benson <gbenson@redhat.com>
438
439 * gdb.cp/koenig.exp (prepare_for_testing): Add
440 additional_flags=-Wno-unused-comparison.
441 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
442
4ad2c6a0
GB
4432020-05-28 Gary Benson <gbenson@redhat.com>
444
445 * gdb.base/sigaltstack.c (catcher): Add default case to switch
446 statement.
447
09fe663e
GB
4482020-05-28 Gary Benson <gbenson@redhat.com>
449
450 * gdb.cp/classes.exp (prepare_for_testing): Add
451 additional_flags=-Wno-deprecated-register.
452 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
453 * gdb.cp/misc.exp: Likewise.
454
cee00f17
GB
4552020-05-28 Gary Benson <gbenson@redhat.com>
456
457 * gdb.linespec/cpls-ops.cc (dummy): New static global.
458 (test_op_new::operator new): Add return statement.
459 (test_op_new_array::operator new[]): Likewise.
460
636edd00
PA
4612020-05-27 Pedro Alves <palves@redhat.com>
462
463 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
464 check. Use test_gdb_complete_unique instead of
465 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
466 test_gdb_complete_multiple instead of
467 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
468
c2b75043
LM
4692020-05-27 Luis Machado <luis.machado@linaro.org>
470
471 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
472 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
473 * gdb.arch/arm-disassembler-options.exp: Likewise.
474 * gdb.arch/arm-disp-step.exp: Likewise.
475 * gdb.arch/thumb-prologue.exp: Likewise.
476 * gdb.base/async.exp: Likewise.
477 * gdb.base/auxv.exp: Likewise.
478 * gdb.base/complex-parts.exp: Likewise.
479 * gdb.base/ena-dis-br.exp: Likewise.
480 * gdb.base/foll-exec.exp: Likewise.
481 * gdb.base/permissions.exp: Likewise.
482 * gdb.base/relocate.exp: Likewise.
483 * gdb.base/return2.exp: Likewise.
484 * gdb.base/sigbpt.exp: Likewise.
485 * gdb.base/siginfo-obj.exp: Likewise.
486 * gdb.cp/converts.exp: Likewise.
487 * gdb.cp/exceptprint.exp: Likewise.
488 * gdb.cp/inherit.exp: Likewise.
489 * gdb.cp/nsnoimports.exp: Likewise.
490 * gdb.cp/virtbase2.exp: Likewise.
491 * gdb.mi/mi-var-cmd.exp: Likewise.
492 * gdb.mi/var-cmd.c: Likewise.
493
53a47a3e
TT
4942020-05-26 Tom Tromey <tromey@adacore.com>
495
496 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
497
0bc2354b
TT
4982020-05-26 Tom Tromey <tromey@adacore.com>
499
500 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
501 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
502 type.
503 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
504 variable.
505
0db49895
CBG
5062020-05-26 Christian Biesinger <cbiesinger@google.com>
507
508 * Makefile.in: Use = instead of == for the test command
509 for portability.
510
40d22035
TV
5112020-05-26 Tom de Vries <tdevries@suse.de>
512
513 * gdb.base/gold-gdb-index-2.c: New test.
514 * gdb.base/gold-gdb-index.c: New test.
515 * gdb.base/gold-gdb-index.exp: New file.
516 * gdb.base/gold-gdb-index.h: New test.
517
043e2e02
TV
5182020-05-25 Tom de Vries <tdevries@suse.de>
519
520 * boards/gold-gdb-index.exp: New file.
521
462f72c5
SM
5222020-05-25 Simon Marchi <simon.marchi@efficios.com>
523
524 * boards/simavr.exp: New file.
525
6cf66e76
SM
5262020-05-25 Simon Marchi <simon.marchi@efficios.com>
527
528 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
529 * gdb.base/inferior-args.exp: New file.
530 * gdb.base/inferior-args.c: New file.
531
75d04512
SM
5322020-05-25 Simon Marchi <simon.marchi@efficios.com>
533
534 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
535 inferior_args. Pass it to gdb_reload.
536 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
537 inferior_args.
538 (gdb_reload): Add inferior_args argument.
539 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
540 pass it to gdbserver_run.
541 * boards/native-gdbserver.exp: Do not set noargs.
542 * boards/native-extended-gdbserver.exp (gdb_reload): Add
543 inferior_args argument.
544 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
545 * gdb.base/a2-run.exp: Check for use_gdb_stub.
546 * gdb.base/args.exp: Likewise.
547
42cf1844
TV
5482020-05-25 Tom de Vries <tdevries@suse.de>
549
550 * lib/gdb.exp (exec_is_pie): Add comment.
551
8f7d38ef
TV
5522020-05-25 Tom de Vries <tdevries@suse.de>
553
554 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
555 instead of $binfile in the untested message.
556
465e1b0f
TV
5572020-05-25 Tom de Vries <tdevries@suse.de>
558
559 PR testsuite/26031
560 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
561
3c5a0e02
TV
5622020-05-25 Tom de Vries <tdevries@suse.de>
563
564 * boards/gold.exp: New file.
565
0a4f5f8c
TT
5662020-05-23 Tom Tromey <tom@tromey.com>
567
568 * gdb.base/style.exp: Remove completion styling test.
569 * lib/gdb-utils.exp (style): Remove completion styles.
570
eca1f90c
TT
5712020-05-23 Tom Tromey <tom@tromey.com>
572
573 * gdb.base/style.exp: Add completion styling test.
574 * lib/gdb-utils.exp (style): Add completion styles.
575
7c13f4e8
AB
5762020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.base/annota1.exp: Update expected results.
579 * gdb.cp/annota2.exp: Update expected results, remove duplicate
580 test name.
581 * gdb.cp/annota3.exp: Update expected results.
582
41977d16
SM
5832020-05-20 Simon Marchi <simon.marchi@efficios.com>
584
585 PR gdb/26016
586 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
587 against MAP_FAILED.
588 * gdb.base/coremaker.c (mmapdata): Likewise.
589 * gdb.base/jit-reader-host.c (main): Likewise.
590 * gdb.base/sym-file-loader.c (load): Likewise.
591 (load_shlib): Likewise.
592
b4757f2e
TT
5932020-05-20 Tom Tromey <tromey@adacore.com>
594
595 * gdb.ada/array_char_idx.exp: Recognize initialized array.
596
9a0bacfb
TV
5972020-05-20 Tom de Vries <tdevries@suse.de>
598
599 PR symtab/25833
600 * gdb.base/with-mf-inc.c: New test.
601 * gdb.base/with-mf-main.c: New test.
602 * gdb.base/with-mf.exp: New file.
603
76571211
TT
6042020-05-19 Tom Tromey <tromey@adacore.com>
605
606 * gdb.rust/simple.exp: Restore missing test result.
607
4cd9f3d5
TV
6082020-05-19 Tom de Vries <tdevries@suse.de>
609
610 * gdb.base/gdb-caching-proc.exp: Fix typo.
611
7d874253
TT
6122020-05-19 Tom Tromey <tromey@adacore.com>
613
614 * gdb.rust/simple.exp: Add some test descriptions.
615 (test_one_slice): Use with_test_prefix.
616
1d727695
TV
6172020-05-18 Tom de Vries <tdevries@suse.de>
618
619 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
620
7f32a4d5
PA
6212020-05-17 Pedro Alves <palves@redhat.com>
622
623 PR gdb/25741
624 * gdb.base/hw-sw-break-same-address.exp: New file.
625
7cfd74cf
PA
6262020-05-16 Pedro Alves <palves@redhat.com>
627
628 * gdb.multi/multi-re-run.exp (test_re_run): Switch
629 LAST_LOADED_FILE accordingly.
630
57b4f16e
PW
6312020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
632
633 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
634
7c05caf7
PW
6352020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
636
637 * gdb.base/help.exp: Test apropos and help for commands
638 having aliases. Fixed comments not starting with an
639 upper-case letter or not finishing with a dot.
640
7aa1b46f
PW
6412020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
642
3b3aaacb
PW
643 * gdb.base/alias.exp: Update help output check.
644
57b4f16e 6452020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 646
7aa1b46f
PW
647 * gdb.base/default.exp: Update output following fixes.
648
0605465f
PW
6492020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
650
651 * gdb.base/alias.exp: Test aliases starting with a prefix of
652 another alias.
653
86e4e63d
GB
6542020-05-15 Gary Benson <gbenson@redhat.com>
655
656 * gdb.base/info-os.c (main): Add return statement.
657 * gdb.base/info_minsym.c (minsym_fun): Likewise.
658 * gdb.base/large-frame-2.c (func): Likewise.
659 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
660 * gdb.base/pr10179-b.c (foo2): Likewise.
661 * gdb.base/valgrind-disp-step.c (foo): Likewise.
662 * gdb.base/watch-cond.c (func): Likewise.
663 * gdb.multi/goodbye.c (verylongfun): Likewise.
664 * gdb.multi/hello.c (commonfun): Likewise.
665 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
666 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
667 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
668 Likewise.
669 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
670 * gdb.threads/interrupt-while-step-over.c (child_function):
671 Likewise.
672 * gdb.trace/actions-changed.c (end): Likewise.
673
163df4df
GB
6742020-05-15 Gary Benson <gbenson@redhat.com>
675
676 * gdb.opencl/callfuncs.exp: Report when test skipped.
677 * gdb.opencl/convs_casts.exp: Likewise.
678 * gdb.opencl/datatypes.exp: Likewise.
679 * gdb.opencl/operators.exp: Likewise.
680 * gdb.opencl/vec_comps.exp: Likewise.
681
6dbc505a
TV
6822020-05-15 Tom de Vries <tdevries@suse.de>
683
684 * gdb.base/align.exp.in: Rename to ...
685 * gdb.base/align.exp.tcl: ... this.
686 * gdb.base/align-c++.exp: Update.
687 * gdb.base/align-c.exp: Update.
688 * gdb.base/all-architectures.exp.in: Rename to ...
689 * gdb.base/all-architectures.exp: ... this.
690 * gdb.base/all-architectures-0.exp: Update.
691 * gdb.base/all-architectures-1.exp: Update.
692 * gdb.base/all-architectures-2.exp: Update.
693 * gdb.base/all-architectures-3.exp: Update.
694 * gdb.base/all-architectures-4.exp: Update.
695 * gdb.base/all-architectures-5.exp: Update.
696 * gdb.base/all-architectures-6.exp: Update.
697 * gdb.base/all-architectures-7.exp: Update.
698 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
699 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
700 * gdb.base/infcall-nested-structs-c++.exp: Update.
701 * gdb.base/infcall-nested-structs-c.exp: Update.
702 * gdb.base/info-types.exp.in: Rename to ...
703 * gdb.base/info-types.exp.tcl: ... this.
704 * gdb.base/info-types-c++.exp: Update.
705 * gdb.base/info-types-c.exp: Update.
706 * gdb.base/max-depth.exp.in: Rename to ...
707 * gdb.base/max-depth.exp.tcl: ... this.
708 * gdb.base/max-depth-c++.exp: Update.
709 * gdb.base/max-depth-c.exp: Update.
710 * gdb.cp/cpexprs.exp.in: Rename to ...
711 * gdb.cp/cpexprs.exp.tcl: ... this.
712 * gdb.cp/cpexprs-debug-types.exp: Update.
713 * gdb.cp/cpexprs.exp: Update.
714 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
715 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
716 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
717 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
718 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
719 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
720 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
721 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
722 * gdb.dwarf2/clang-debug-names-2.exp: Update.
723 * gdb.dwarf2/clang-debug-names.exp: Update.
724
d1034d78
AB
7252020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * lib/check-test-names.exp: Remove code that prevents this file
728 loading when tests are run in parallel.
729
3c5c3649
PA
7302020-05-15 Pedro Alves <palves@redhat.com>
731
732 * gdb.multi/multi-kill.exp (start_inferior): Remove
733 'testpid' parameter. Refer to namespace variable directly.
734 (testpid): Declare as namespace variable.
735
272c36b8
PA
7362020-05-15 Pedro Alves <palves@redhat.com>
737
738 * gdb.multi/multi-kill.exp: Wrap in namespace.
739 (start_inferior): Add TESTPID parameter. Use it instead of the
740 testpid global.
741 (top level): Define empty TESTPID array, and pass it down to
742 start_inferior.
743
02eba61a
TV
7442020-05-14 Tom de Vries <tdevries@suse.de>
745
746 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
747 output.
748
971a3747
TV
7492020-05-14 Tom de Vries <tdevries@suse.de>
750
751 * gdb.base/align.exp: Split into ...
752 * gdb.base/align.exp.in: ...
753 * gdb.base/align-c++.exp: ...
754 * gdb.base/align-c.exp: ... these.
755 * gdb.base/infcall-nested-structs.exp: Split into ...
756 * gdb.base/infcall-nested-structs.exp.in: ...
757 * gdb.base/infcall-nested-structs-c++.exp: ...
758 * gdb.base/infcall-nested-structs-c.exp: ... these.
759 * gdb.base/info-types.exp: Split into ...
760 * gdb.base/info-types.exp.in: ...
761 * gdb.base/info-types-c++.exp: ...
762 * gdb.base/info-types-c.exp: ... these.
763 * gdb.base/max-depth.exp: Split into ...
764 * gdb.base/max-depth.exp.in: ...
765 * gdb.base/max-depth-c++.exp: ...
766 * gdb.base/max-depth-c.exp: ... these.
767 * gdb.cp/infcall-nodebug.exp: Split into ...
768 * gdb.cp/infcall-nodebug.exp.in: ...
769 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
770 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
771 * gdb.cp/infcall-nodebug-c-d0.exp: ...
772 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
773
a05575d3
TBA
7742020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
775 Pedro Alves <palves@redhat.com>
776
777 * gdb.multi/multi-exit.c: New file.
778 * gdb.multi/multi-exit.exp: New file.
779 * gdb.multi/multi-kill.c: New file.
780 * gdb.multi/multi-kill.exp: New file.
781
6ad82919
TBA
7822020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
783
784 * gdb.base/annota1.exp: Update the expected output.
785 * gdb.cp/annota2.exp: Ditto.
786
843f4d93
AB
7872020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * lib/check-test-names.exp: Disable when testing is being run in
790 parallel.
791
c7c66341
TV
7922020-05-12 Tom de Vries <tdevries@suse.de>
793
794 * gdb.base/jit-elf.exp: Fix string concat.
795
1b59ca1c
TV
7962020-05-12 Tom de Vries <tdevries@suse.de>
797
798 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
799 messages.
800
b4991d29
TV
8012020-05-12 Tom de Vries <tdevries@suse.de>
802
803 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
804
dbb0ab10
TV
8052020-05-12 Tom de Vries <tdevries@suse.de>
806
807 * gdb.ada/catch_ex.exp: Use with_test_prefix.
808 * gdb.ada/mi_catch_ex.exp: Same.
809 * gdb.ada/mi_catch_ex_hand.exp: Same.
810
7549fed8
TV
8112020-05-12 Tom de Vries <tdevries@suse.de>
812
813 * gdb.fortran/complex.exp: Use with_test_prefix.
814
af2d5cd8
TV
8152020-05-12 Tom de Vries <tdevries@suse.de>
816
817 * gdb.trace/passcount.exp: Fix test-names.
818
7c121311
TV
8192020-05-12 Tom de Vries <tdevries@suse.de>
820
821 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
822
c9f3b40e
TV
8232020-05-12 Tom de Vries <tdevries@suse.de>
824
825 * gdb.gdb/complaints.exp: Use with_test_prefix.
826 * gdb.xml/tdesc-regs.exp: Same.
827 * gdb.opt/inline-locals.exp: Fix test name.
828
111b33f0
TV
8292020-05-12 Tom de Vries <tdevries@suse.de>
830
831 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
832 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
833 * gdb.dwarf2/implref-struct.exp: Same.
834 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
835 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
836
ebf47080
SM
8372020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
838
839 * gdb.base/jit-so.exp (one_jit_test): Change test name.
840
d30dcd12
AB
8412020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
842
843 * lib/check-test-names.exp (all_test_names): New module variable.
844 (counts): Add 'duplicates' field.
845 (_check_duplicates): New procedure.
846 (check): Also check for duplicates.
847 (do_log_summary): Print duplicates count.
848 (do_reset_vars): Reset counter for duplicate test names, and
849 discard all know test names.
850
34584c09
AB
8512020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * lib/gdb.exp: Include check-test-names.exp library.
854 * lib/check-test-names.exp: New file.
855
e0002117
TV
8562020-05-11 Tom de Vries <tdevries@suse.de>
857
858 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
859
53f539a3
KS
8602020-05-11 Keith Seitz <keiths@redhat.com>
861
862 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
863
113ee09a
TV
8642020-05-11 Tom de Vries <tdevries@suse.de>
865
866 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
867 * gdb.cp/cpexprs.exp.in: .. here.
868 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
869 cpexprs.exp.
870
ba3e70b0
KS
8712020-05-11 Keith Seitz <keiths@redhat.com>
872
873 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
874 test names.
875 * gdb.ada/arrayptr.exp: Likewise.
876 * gdb.ada/assign_arr.exp: Likewise.
877 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
878 * gdb.ada/bp_on_var.exp: Likewise.
879 * gdb.ada/call_pn.exp: Likewise.
880 * gdb.ada/complete.exp: Likewise.
881 * gdb.ada/fun_overload_menu.exp: Likewise.
882 * gdb.ada/funcall_param.exp: Likewise.
883 * gdb.ada/funcall_ref.exp: Likewise.
884 * gdb.ada/packed_array_assign.exp: Likewise.
885 * gdb.ada/same_component_name.exp: Likewise.
886 * gdb.ada/type_coercion.exp: Likewise.
887 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
888 * gdb.ada/variant_record_packed_array.exp: Likewise.
889
3ee6bb11
TV
8902020-05-11 Tom de Vries <tdevries@suse.de>
891
892 PR symtab/25941
893 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
894 out of ...
895 * gdb.dwarf2/clang-debug-names.exp: ... here.
896 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
897 clang-debug-names.exp.in.
898 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
899 * gdb.dwarf2/clang-debug-names-2.c: New test.
900
86cd6bc8
AKS
9012020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
902
903 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
904 (fortran_runto_main): New Proc, fortran version of runto_main.
905 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
906 * gdb.fortran/array-bounds.exp: Likewise.
907 * gdb.fortran/array-slices.exp: Likewise.
908 * gdb.fortran/block-data.exp: Likewise.
909 * gdb.fortran/charset.exp: Likewise.
910 * gdb.fortran/common-block.exp: Likewise.
911 * gdb.fortran/complex.exp: Likewise.
912 * gdb.fortran/derived-type-function.exp: Likewise.
913 * gdb.fortran/derived-type.exp: Likewise.
914 * gdb.fortran/info-modules.exp: Likewise.
915 * gdb.fortran/info-types.exp: Likewise.
916 * gdb.fortran/intrinsics.exp: Likewise.
917 * gdb.fortran/library-module.exp: Likewise.
918 * gdb.fortran/logical.exp: Likewise.
919 * gdb.fortran/max-depth.exp: Likewise.
920 * gdb.fortran/module.exp: Likewise.
921 * gdb.fortran/multi-dim.exp: Likewise.
922 * gdb.fortran/nested-funcs.exp: Likewise.
923 * gdb.fortran/print-formatted.exp: Likewise.
924 * gdb.fortran/print_type.exp: Likewise.
925 * gdb.fortran/printing-types.exp: Likewise.
926 * gdb.fortran/ptr-indentation.exp: Likewise.
927 * gdb.fortran/ptype-on-functions.exp: Likewise.
928 * gdb.fortran/subarray.exp: Likewise.
929 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
930 * gdb.fortran/vla-datatypes.exp: Likewise.
931 * gdb.fortran/vla-history.exp: Likewise.
932 * gdb.fortran/vla-ptr-info.exp: Likewise.
933 * gdb.fortran/vla-ptype-sub.exp: Likewise.
934 * gdb.fortran/vla-ptype.exp: Likewise.
935 * gdb.fortran/vla-sizeof.exp: Likewise.
936 * gdb.fortran/vla-type.exp: Likewise.
937 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
938 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
939 * gdb.fortran/vla-value-sub.exp: Likewise.
940 * gdb.fortran/vla-value.exp: Likewise.
941 * gdb.fortran/whatis_type.exp: Likewise.
942 * gdb.mi/mi-var-child-f.exp: Likewise.
943
6dc55ce9 9442020-05-09 Tom de Vries <tdevries@suse.de>
945
946 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
947
283cb58c
TV
9482020-05-08 Tom de Vries <tdevries@suse.de>
949
950 * gdb.dwarf2/clang-debug-names.c: New test.
951 * gdb.dwarf2/clang-debug-names.exp: New file.
952
ac4a4f1c
SM
9532020-05-06 Simon Marchi <simon.marchi@efficios.com>
954
955 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
956 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
957
24fe640b
TV
9582020-05-06 Tom de Vries <tdevries@suse.de>
959
960 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
961 breakpoint is at a "recommended breakpoint location".
962 * gdb.reverse/consecutive-reverse.exp: Same.
963
0d8683a3
TV
9642020-05-06 Tom de Vries <tdevries@suse.de>
965
966 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
967 address.
968
b8983c46
TV
9692020-05-06 Tom de Vries <tdevries@suse.de>
970
971 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
972
abf6d805
TV
9732020-05-06 Tom de Vries <tdevries@suse.de>
974
975 * gdb.base/store.exp (check_set, up_set): Allowing missing location
976 info for r.
977
0fc2a808
TV
9782020-05-06 Tom de Vries <tdevries@suse.de>
979
980 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
981 necessary.
982
873dd427
TV
9832020-05-06 Tom de Vries <tdevries@suse.de>
984
985 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
986 void.
987
7c99e7e2
TV
9882020-05-06 Tom de Vries <tdevries@suse.de>
989
990 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
991 of ...
992 * gdb.base/async.exp: ... here.
993 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
994 "recommended breakpoint location".
995
6173d6a6
TV
9962020-05-06 Tom de Vries <tdevries@suse.de>
997
998 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
999
6015a067
TV
10002020-05-04 Tom de Vries <tdevries@suse.de>
1001
1002 * gdb.base/async.exp: Check whether instruction addresses are a
1003 "recommended breakpoint location".
1004
3b6acaee
TT
10052020-05-03 Tom Tromey <tom@tromey.com>
1006
1007 * gdb.base/sepdebug.exp: Remove "catch" test.
1008 * gdb.base/break.exp: Remove "catch" test.
1009 * gdb.base/default.exp: Update expected output.
1010
5beb4d17
TV
10112020-05-02 Tom de Vries <tdevries@suse.de>
1012
1013 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1014 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1015 * gdb.arch/i386-mpx-map.exp: Same.
1016 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1017 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1018 * gdb.arch/i386-mpx.exp: Same.
1019
8caf140d
TV
10202020-05-02 Tom de Vries <tdevries@suse.de>
1021
1022 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1023
693196cb
TV
10242020-05-01 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.ada/operator_bp.exp: Allow more than required amount of
1027 breakpoint.
1028
53ae0aa9
TV
10292020-05-01 Tom de Vries <tdevries@suse.de>
1030
1031 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1032
ee9d1e5f
HD
10332020-04-30 Hannes Domani <ssbssa@yahoo.de>
1034
1035 PR gdb/18706
1036 * gdb.cp/stub-array-size.cc: New test.
1037 * gdb.cp/stub-array-size.exp: New file.
1038 * gdb.cp/stub-array-size.h: New test.
1039 * gdb.cp/stub-array-size2.cc: New test.
1040
d5cf82c0
HD
10412020-04-30 Hannes Domani <ssbssa@yahoo.de>
1042
1043 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1044 output to the new format.
1045
42e165c3
SM
10462020-04-29 Simon Marchi <simon.marchi@efficios.com>
1047
1048 * gdb.base/break.exp: Use with_test_prefix.
1049
6e4e3fe1
TV
10502020-04-29 Tom de Vries <tdevries@suse.de>
1051
1052 * lib/gdb.exp (debug_types): New proc.
1053 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1054 * gdb.python/py-symtab.exp: Same.
1055
d642b692
HD
10562020-04-29 Hannes Domani <ssbssa@yahoo.de>
1057
1058 PR gdb/17320
1059 * gdb.base/pretty-array.c: New test.
1060 * gdb.base/pretty-array.exp: New file.
1061
ea90f227
TV
10622020-04-29 Tom de Vries <tdevries@suse.de>
1063
1064 PR symtab/25889
1065 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1066 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1067 and include cpexprs.exp.
1068
a65189c9
TV
10692020-04-28 Mark Williams <mark@myosotissp.com>
1070
1071 PR gdb/24480
1072 * dw4-toplevel-types.exp: Test for top level types.
1073 * dw4-toplevel-types.cc: Test for top level types.
1074
32d1f47a
TBA
10752020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1076
1077 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1078 (theads -> threads).
1079
56a4f5a1
TV
10802020-04-28 Tom de Vries <tdevries@suse.de>
1081
1082 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1083
0b2f8a3b
TV
10842020-04-28 Tom de Vries <tdevries@suse.de>
1085
1086 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1087
5390c717
TV
10882020-04-28 Tom de Vries <tdevries@suse.de>
1089
1090 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1091
15cd93d0
TV
10922020-04-28 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.dwarf2/main-foo.c: New test.
1095 * gdb.dwarf2/struct-with-sig.exp: New file.
1096
d472f0fb
TV
10972020-04-25 Tom de Vries <tdevries@suse.de>
1098
1099 * boards/debug-types.exp: New file.
1100
8d840e05
AB
11012020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1104
bcfe6157
TT
11052020-04-24 Tom Tromey <tom@tromey.com>
1106
1107 PR symtab/12707:
1108 * gdb.python/py-symbol.exp: Update expected results for
1109 linkage_name test.
1110 * gdb.cp/print-demangle.exp: New file.
1111 * gdb.base/c-linkage-name.exp: Fix test.
1112 * gdb.guile/scm-symbol.exp: Update expected results for
1113 linkage_name test.
1114
f049a313
TT
11152020-04-24 Tom Tromey <tom@tromey.com>
1116
1117 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1118 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1119 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1120 assembler.
1121
7cf28874
TV
11222020-04-24 Tom de Vries <tdevries@suse.de>
1123
1124 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1125 C++.
1126
dac2fef7
TT
11272020-04-24 Tom Tromey <tromey@adacore.com>
1128
1129 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1130 values.
1131 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1132 values. Update test for minimal encodings.
1133 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1134 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1135 values. Update test for minimal encodings.
1136
1acda803
TT
11372020-04-24 Tom Tromey <tromey@adacore.com>
1138
1139 PR python/23662:
1140 * gdb.ada/variant.exp: Add Python checks.
1141 * gdb.rust/simple.exp: Add dynamic type checks.
1142
adfb9815
TT
11432020-04-24 Tom Tromey <tromey@adacore.com>
1144
1145 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1146 Make array type matching more lax.
1147 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1148 * gdb.ada/mi_variant.exp: New file.
1149 * gdb.ada/mi_variant/pck.ads: New file.
1150 * gdb.ada/mi_variant/pkg.adb: New file.
1151 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1152 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1153
7d79de9a
TT
11542020-04-24 Tom Tromey <tromey@adacore.com>
1155
1156 * gdb.ada/variant.exp: Add dynamic field offset tests.
1157 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1158 * gdb.ada/variant/pkg.adb: Add new variables.
1159
f8e89861
TT
11602020-04-24 Tom Tromey <tromey@adacore.com>
1161
1162 * gdb.ada/variant.exp: New file
1163 * gdb.ada/variant/pkg.adb: New file
1164 * gdb.ada/variant/pck.adb: New file
1165
86e887ae
TV
11662020-04-24 Tom de Vries <tdevries@suse.de>
1167
1168 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1169
88428775
TV
11702020-04-24 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1173 flags.
1174
4e86f6e7
TV
11752020-04-24 Tom de Vries <tdevries@suse.de>
1176
1177 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1178
2016d3e6
TV
11792020-04-24 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/gdb.exp (default_gdb_start): Handle eof.
1182 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1183 failure.
1184 * gdb.base/readnever.exp: Handle clean_restart failure.
1185
70bc38f5
TV
11862020-04-23 Tom de Vries <tdevries@suse.de>
1187
1188 * gdb.base/decl-before-def.exp: Run to main and print a again.
1189
de82891c
TV
11902020-04-23 Tom de Vries <tdevries@suse.de>
1191
1192 * gdb.base/decl-before-def-decl.c: New test.
1193 * gdb.base/decl-before-def-def.c: New test.
1194 * gdb.base/decl-before-def.exp: New file.
1195
96038148
TV
11962020-04-23 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1199
54ac3df1
TV
12002020-04-22 Tom de Vries <tdevries@suse.de>
1201
1202 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1203 debug_info_offset.
1204 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1205 before $objsfile in the line line.
1206
714534e1
TV
12072020-04-22 Tom de Vries <tdevries@suse.de>
1208
1209 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1210
16a7dbf4
MS
12112020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1212
1213 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1214 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1215 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1216 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1217 * gdb.base/jit-protocol.h: Update definitions to match all usage
1218 contexts.
1219
12202020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1221
1222 * gdb.base: Rename all jit related test and source files.
1223
12242020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1225
1226 * gdb.base/jit-reader.exp: Relax register output check.
1227
317d2668
TV
12282020-04-22 Tom de Vries <tdevries@suse.de>
1229
1230 PR symtab/25764
1231 * gdb.base/psym-external-decl-2.c: New test.
1232 * gdb.base/psym-external-decl.c: New test.
1233 * gdb.base/psym-external-decl.exp: New file.
1234 * gdb.threads/tls.exp: Add PR25807 kfail.
1235
eea9e357
TV
12362020-04-22 Tom de Vries <tdevries@suse.de>
1237
1238 PR symtab/25801
1239 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1240 in "info source" output.
1241
3d5afab3
TV
12422020-04-22 Tom de Vries <tdevries@suse.de>
1243
1244 PR symtab/25700
1245 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1246 symtab for imported_unit.c.
1247
b32102f6
GB
12482020-04-21 Gary Benson <gbenson@redhat.com>
1249
1250 * gdb.base/advance.c (func): New argument, to match call site.
1251 (func2, func3): Add return statements.
1252
d43b7a2d
TBA
12532020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1254
1255 * gdb.multi/run-only-second-inf.c: New file.
1256 * gdb.multi/run-only-second-inf.exp: New file.
1257
d89edf9b
MM
12582020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1259
1260 * gdb.btrace/multi-inferior.c: New test.
1261 * gdb.btrace/multi-inferior.exp: New file.
1262
1a476b6d
MM
12632020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1264
1265 * gdb.btrace/enable-new-thread.c: New test.
1266 * gdb.btrace/enable-new-thread.exp: New file.
1267
4778a5f8
TV
12682020-04-21 Tom de Vries <tdevries@suse.de>
1269
1270 PR gdb/25471
1271 * gdb.threads/killed-outside.c: New test.
1272 * gdb.threads/killed-outside.exp: New file.
1273
9b2c992c
GB
12742020-04-20 Gary Benson <gbenson@redhat.com>
1275
1276 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1277 * gdb.base/nested-subp2.exp: Likewise.
1278 * gdb.base/nested-subp3.exp: Likewise.
1279
b5d1d6f7
GB
12802020-04-20 Gary Benson <gbenson@redhat.com>
1281
1282 * gdb.base/nested-subp1.exp: Disable test when using clang.
1283 * gdb.base/nested-subp2.exp: Likewise.
1284 * gdb.base/nested-subp3.exp: Likewise.
1285
25230285
GB
12862020-04-20 Gary Benson <gbenson@redhat.com>
1287
1288 * gdb.cp/exception.cc: Fix compilation error with clang.
1289
fa93cc8f
GB
12902020-04-20 Gary Benson <gbenson@redhat.com>
1291
809730f3 1292 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1293
e0c45f30
GB
12942020-04-20 Gary Benson <gbenson@redhat.com>
1295
1296 * gdb.base/jit-main.c: Fix compilation error with clang.
1297
4ddfec93
KR
12982020-04-17 Kamil Rytarowski <n54@gmx.com>
1299
1300 * gdb.base/attach-twice.c: Include "sys/types.h".
1301 (PTRACE_ATTACH): Add fallback definition.
1302 (main): Pass `0' to the 4th argument of `ptrace'.
1303
2bed205e
KR
13042020-04-17 Kamil Rytarowski <n54@gmx.com>
1305
1306 * gdb.base/fork-running-state.c: Include "signal.h".
1307
0743fc83
TT
13082020-04-17 Tom Tromey <tromey@adacore.com>
1309
1310 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1311 Update tests.
1312 * gdb.btrace/cpu.exp: Update tests.
1313 * gdb.base/maint.exp: Update tests.
1314 * gdb.base/default.exp: Update tests.
1315 * gdb.base/completion.exp: Update tests.
1316
efba5c23
TV
13172020-04-16 Tom de Vries <tdevries@suse.de>
1318
1319 PR symtab/25791
1320 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1321 (ensure_gdb_index): and factor out and move ...
1322 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1323 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1324
d191d716
TV
13252020-04-16 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1328 loading exec.
1329
99f1bc6a
AB
13302020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1331
1332 * gdb.base/many-completions.exp: New file.
1333
194d088f
TV
13342020-04-14 Tom de Vries <tdevries@suse.de>
1335
1336 PR symtab/25718
1337 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1338
c1a66c06
TV
13392020-04-14 Tom de Vries <tdevries@suse.de>
1340
1341 PR symtab/25720
1342 * gdb.base/maint-expand-symbols-header-file.c: New test.
1343 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1344 * gdb.base/maint-expand-symbols-header-file.h: New test.
1345
21b0982c
AB
13462020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1347
1348 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1349 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1350 get_func_info.
1351 (get_func_info): Delete.
1352 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1353 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1354 * lib/dwarf.exp (get_func_info): New function.
1355
dd1cab06
TV
13562020-04-13 Tom de Vries <tdevries@suse.de>
1357
1358 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1359 to what find_gnatmake does.
1360
71ea2b6b
TV
13612020-04-10 Tom de Vries <tdevries@suse.de>
1362
1363 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1364 -readnow.
1365
bdfc1e8a
TV
13662020-04-10 Tom de Vries <tdevries@suse.de>
1367
1368 PR cli/25808
1369 * gdb.base/style.c: Add leading newlines.
1370 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1371 Check listing of main's one-line body.
1372
14ca8ecf
TV
13732020-04-08 Tom de Vries <tdevries@suse.de>
1374
1375 * lib/gdb.exp (psymtabs_p): New proc.
1376 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1377 importing unit" unsupported if there are no partial symbols.
1378
e21d048f
TV
13792020-04-08 Tom de Vries <tdevries@suse.de>
1380
1381 PR testsuite/25760
1382 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1383
25c11aca
TV
13842020-04-07 Tom de Vries <tdevries@suse.de>
1385
1386 PR symtab/25796
1387 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1388
5707e24b
TV
13892020-04-07 Tom de Vries <tdevries@suse.de>
1390
1391 * gdb.base/check-psymtab.c: New test.
1392 * gdb.base/check-psymtab.exp: New file.
1393
6ee448cc
TT
13942020-04-06 Tom Tromey <tromey@adacore.com>
1395
1396 * gdb.ada/variant-record/proc.adb: New file.
1397 * gdb.ada/variant-record/value.adb: New file.
1398 * gdb.ada/variant-record/value.s: New file.
1399 * gdb.ada/variant-record.exp: New file.
1400
9e7c9a03
HD
14012020-04-03 Hannes Domani <ssbssa@yahoo.de>
1402
1403 PR gdb/25325
1404 * gdb.cp/typed-enum.cc: New test.
1405 * gdb.cp/typed-enum.exp: New file.
1406
c90d28ac
AB
14072020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1408
1409 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1410 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1411 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1412 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1413 * gdb.opt/inline-small-func.c: New file.
1414 * gdb.opt/inline-small-func.exp: New file.
1415 * gdb.opt/inline-small-func.h: New file.
1416
34e9a9fa
AB
14172020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1420 function.
1421
6a354911
AB
14222020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * lib/dwarf.exp (function_range): Allow compiler options to be
1425 specified.
1426
880d9777
TV
14272020-04-02 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1430 __attribute__((always_inline)).
1431 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1432
f32682ea
TV
14332020-04-02 Tom de Vries <tdevries@suse.de>
1434
1435 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1436 (gdbserver_gdb_exit): ... here. Add timeout warning.
1437 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1438 (connect_target_extended_remote): Append new server_spawn_id to
1439 server_spawn_ids.
1440 (cleanup): New proc.
1441 (setup, <toplevel>): Call cleanup.
1442
d3214198
TV
14432020-04-02 Tom de Vries <tdevries@suse.de>
1444
1445 * gdb.base/main-psymtab.exp: New file.
1446
cc77ed24
TV
14472020-04-02 Tom de Vries <tdevries@suse.de>
1448
1449 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1450
3638a098
TT
14512020-04-01 Tom Tromey <tom@tromey.com>
1452
1453 * gdb.base/complex-parts.exp: Add type tests.
1454
c34e8714
TT
14552020-04-01 Tom Tromey <tom@tromey.com>
1456
1457 * gdb.base/complex-parts.exp: Add arithmetic tests.
1458
981c08ce
TT
14592020-04-01 Tom Tromey <tom@tromey.com>
1460
1461 * gdb.compile/compile.exp: Update.
1462 * gdb.compile/compile-cplus.exp: Update.
1463 * gdb.base/varargs.exp: Update.
1464 * gdb.base/floatn.exp: Update.
1465 * gdb.base/endianity.exp: Update.
1466 * gdb.base/callfuncs.exp (do_function_calls): Update.
1467 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1468 (complex_float_integral_args): Update.
1469 * gdb.base/complex.exp: Update.
1470 * gdb.base/complex-parts.exp: Update.
1471
3d1cfd43
TT
14722020-04-01 Tom Tromey <tromey@adacore.com>
1473
1474 * gdb.rust/union.rs: New file.
1475 * gdb.rust/union.exp: New file.
1476 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1477 (main): Update.
1478 * gdb.rust/simple.exp: Move union tests to union.exp.
1479
e033dfa9
TT
14802020-04-01 Tom Tromey <tromey@adacore.com>
1481
1482 * gdb.rust/simple.rs (main): Remove "y0".
1483
53cccef1
TBA
14842020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1485
1486 * gdb.multi/stop-all-on-exit.c: New test.
1487 * gdb.multi/stop-all-on-exit.exp: New file.
1488
60e22c1e
HD
14892020-04-01 Hannes Domani <ssbssa@yahoo.de>
1490
1491 PR gdb/24789
1492 * gdb.cp/misc.cc: Add integer reference variable.
1493 * gdb.cp/misc.exp: Add test.
1494
e139a727
TBA
14952020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1496
1497 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1498 scenario to cover execution until the end and also the case
1499
16b0db75
TV
15002020-03-31 Tom de Vries <tdevries@suse.de>
1501
1502 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1503 c. Use "maint info symtabs" to check symtab expansion.
1504
c0502da6
TV
15052020-03-30 Tom de Vries <tdevries@suse.de>
1506
1507 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1508 unsupported.
1509 (verify_psymtab_expanded): Move ...
1510 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1511 test.
1512 (readnow): New proc.
1513
5935fd15
AB
15142020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1517 with $hex.
1518
1773be9e
TT
15192020-03-20 Tom Tromey <tromey@adacore.com>
1520
1521 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1522
70304be9
TT
15232020-03-20 Tom Tromey <tromey@adacore.com>
1524
1525 * gdb.ada/sub_variant/subv.adb: New file.
1526 * gdb.ada/sub_variant.exp: New file.
1527
0dd7b8f7
TV
15282020-03-20 Tom de Vries <tdevries@suse.de>
1529
1530 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1531 first break fails.
1532 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1533
cada5fc9
AB
15342020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1535
1536 * gdb.server/exit-multiple-threads.c: New file.
1537 * gdb.server/exit-multiple-threads.exp: New file.
1538
6b8c53f2
AB
15392020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * gdb.fortran/mixed-lang-stack.c: New file.
1542 * gdb.fortran/mixed-lang-stack.cpp: New file.
1543 * gdb.fortran/mixed-lang-stack.exp: New file.
1544 * gdb.fortran/mixed-lang-stack.f90: New file.
1545
19a2740f
AB
15462020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 * gdb.linespec/cp-completion-aliases.cc: New file.
1549 * gdb.linespec/cp-completion-aliases.exp: New file.
1550
d8c8b848
TV
15512020-03-19 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1554 more precise.
1555
a9933ccf
TV
15562020-03-18 Tom de Vries <tdevries@suse.de>
1557
1558 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1559 * gdb.dwarf2/break-inline-psymtab.c: New test.
1560 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1561
2f89101f
TV
15622020-03-16 Tom de Vries <tdevries@suse.de>
1563
1564 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1565 cache_verify and cache_verify_proc.
1566
6b9374f1
TV
15672020-03-15 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.server/solib-list.exp: Handle
1570 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1571
eaeaf44c
TV
15722020-03-15 Tom de Vries <tdevries@suse.de>
1573
1574 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1575 objfiles".
1576
3293bbaf
TT
15772020-03-14 Tom Tromey <tom@tromey.com>
1578
1579 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1580
ab44624c
TV
15812020-03-14 Tom de Vries <tdevries@suse.de>
1582
1583 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1584
54c43825
TV
15852020-03-14 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1588 result in line-by-line fashion.
1589
2ac70237
TV
15902020-03-14 Tom de Vries <tdevries@suse.de>
1591
1592 * lib/gdb.exp (supports_statement_frontiers): New proc.
1593 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1594
09546b56
TV
15952020-03-14 Tom de Vries <tdevries@suse.de>
1596
1597 * gdb.base/printcmds.exp: Add missing quoting for "print
1598 teststring2".
1599
a1f6a07c
TT
16002020-03-13 Tom Tromey <tom@tromey.com>
1601
1602 * gdb.base/printcmds.exp (test_print_strings): Add regression
1603 test.
1604 * gdb.base/printcmds.c (charptr): New typedef.
1605 (teststring2): New global.
1606
1b83d09c
AB
16072020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1610 full path in the test name.
1611 (test_ld): Add some with_test_prefix blocks to make test names
1612 unique.
1613
2d61316c
TV
16142020-03-13 Tom de Vries <tdevries@suse.de>
1615
1616 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1617
2e9145ac
TV
16182020-03-13 Tom de Vries <tdevries@suse.de>
1619
1620 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1621
96c7f873
TV
16222020-03-13 Tom de Vries <tdevries@suse.de>
1623
1624 PR symtab/25646
1625 * gdb.dwarf2/imported-unit.exp: Add test.
1626
49ba92c0
TV
16272020-03-13 Tom de Vries <tdevries@suse.de>
1628
1629 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1630 (var1, var2): New variable.
1631 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1632 matching symbols.
1633
301b21e0
TV
16342020-03-13 Tom de Vries <tdevries@suse.de>
1635
1636 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1637 (Term::command): Use prompt prefix.
1638 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1639 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1640 command_no_prompt_prefix instead of prefix.
1641 * gdb.tui/tui-layout-asm.exp: Same.
1642
3f512721
SM
16432020-03-12 Simon Marchi <simon.marchi@efficios.com>
1644
1645 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1646
40310f30
SM
16472020-03-12 Simon Marchi <simon.marchi@efficios.com>
1648
1649 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1650 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1651 on" while stepping over the test instruction, match printed
1652 message.
1653
09252140
TV
16542020-03-12 Tom de Vries <tdevries@suse.de>
1655
1656 * gdb.base/info-types.exp: Use exp_continue during matching of output
1657 of "info types".
1658
14e9c72c
TV
16592020-03-12 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1662
e515d67e
TV
16632020-03-12 Tom de Vries <tdevries@suse.de>
1664
1665 * gdb.fortran/module.exp: Use exp_continue during matching of output
1666 of "info variable -n".
1667
307eafd8
TV
16682020-03-12 Tom de Vries <tdevries@suse.de>
1669
1670 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1671 gdb.dwarf2/dw2-ranges-base.c.
1672
9a2de3fc
TV
16732020-03-12 Tom de Vries <tdevries@suse.de>
1674
1675 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1676 in presence of GLIBC debuginfo.
1677
3217502e
TV
16782020-03-12 Tom de Vries <tdevries@suse.de>
1679
1680 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1681 $core.
1682
1281424c
TV
16832020-03-12 Tom de Vries <tdevries@suse.de>
1684
1685 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1686 more precise.
1687
038b97fc
SM
16882020-03-11 Simon Marchi <simon.marchi@efficios.com>
1689
1690 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1691 from Unix to Windows path.
1692
5308d1e7
TV
16932020-03-11 Tom de Vries <tdevries@suse.de>
1694
1695 * gdb.ada/minsyms.exp: Set language to ada.
1696
f870f78f
TV
16972020-03-11 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1700
5a13315d
TV
17012020-03-11 Tom de Vries <tdevries@suse.de>
1702
1703 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1704
976862ed
TT
17052020-03-11 Tom Tromey <tromey@adacore.com>
1706
1707 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1708
7462c383
TV
17092020-03-11 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1712
1c6c46a0
TV
17132020-03-11 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.base/break-interp.exp: Limit verbose scope.
1716
44f41bb7
TV
17172020-03-11 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.fortran/logical.f90: Define variable with character type.
1720 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1721
b76f3a42
TV
17222020-03-11 Tom de Vries <tdevries@suse.de>
1723
1724 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1725
1c33af77
TV
17262020-03-11 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1729 symtabs.
1730
8c95582d
AB
17312020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1732 Bernd Edlinger <bernd.edlinger@hotmail.de>
1733
1734 * gdb.cp/step-and-next-inline.cc: New file.
1735 * gdb.cp/step-and-next-inline.exp: New file.
1736 * gdb.cp/step-and-next-inline.h: New file.
1737 * gdb.dwarf2/dw2-is-stmt.c: New file.
1738 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1739 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1740 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1741 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1742
cecf8547
AB
17432020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1744
1745 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1746 is-stmt flag in the line table.
1747
0ba678c9
TV
17482020-03-09 Tom de Vries <tdevries@suse.de>
1749
1750 * lib/gdb.exp (cached_file): Create cache dir.
1751
72fbdf83
TV
17522020-03-07 Tom de Vries <tdevries@suse.de>
1753
1754 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1755 * gdb.cp/rvalue-ref-params.exp: Same.
1756
436b5e99
TV
17572020-03-06 Tom de Vries <tdevries@suse.de>
1758
1759 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1760 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1761
09f2921c
TV
17622020-03-06 Tom de Vries <tdevries@suse.de>
1763
1764 * README: Fix "the the".
1765 * gdb.base/dprintf.exp: Same.
1766
50a3cc5d
TV
17672020-03-05 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.base/maint.exp: Update "main print statistics" expected output.
1770
0a709cba
AKS
17712020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1772
1773 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1774 (fortran_int8): Likewise.
1775 (fortran_real4): Likewise.
1776 (fortran_real8): Likewise.
1777 (fortran_complex4): Likewise.
1778 (fortran_logical4): Likewise.
1779 (fortran_character1): Likewise.
1780
5e5d66b6
AB
17812020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1782
1783 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1784 printed as true.
1785
7b973adc
SDJ
17862020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1787
1788 * gdb.base/printcmds.exp: Add test to verify printf of a
1789 variable holding an address.
1790
478e490a
TV
17912020-03-03 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1794
1ef44e86
TV
17952020-03-03 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1798 gdb_test_multiple call.
1799
b98cc2cf
TV
18002020-03-03 Tom de Vries <tdevries@suse.de>
1801
1802 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1803 gdb_test_multiple calls.
1804
63e163f2
AB
18052020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1806
1807 * gdb.base/default.exp: Remove test of 'set history filename'.
1808 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1809 filename to the empty string.
1810 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1811 and GDBHISTSIZE.
1812
24ed6739
AB
18132020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1814
1815 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1816 disabled.
1817
590003dc
TV
18182020-03-02 Pedro Alves <palves@redhat.com>
1819 Tom de Vries <tdevries@suse.de>
1820
1821 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1822 -prompt prefix, before user_code argument. Add -lbl option likewise.
1823 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1824 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1825 argument.
1826 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1827 have "\r\n" at start-of-line, instead of at end-of-line.
1828
f5e46084
SM
18292020-02-28 Simon Marchi <simon.marchi@efficios.com>
1830
1831 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1832 libinproctrace.so.
1833
f7a7000d
LM
18342020-02-28 Luis Machado <luis.machado@linaro.org>
1835
1836 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1837 to "p/x".
1838
718e0816
LM
18392020-02-28 Luis Machado <luis.machado@linaro.org>
1840
1841 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1842 asm/ptrace.h and error.h.
1843
13c3a74a
TV
18442020-02-28 Tom de Vries <tdevries@suse.de>
1845
1846 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1847 (struct wrapper, do_something, mundane/symada__cS): Move ...
1848 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1849 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1850 Update "print symada__cS before partial symtab expansion" regexp.
1851 Update breakpoint location. Flush symbol cache after expansion.
1852
85d2d5bb
LM
18532020-02-28 Luis Machado <luis.machado@linaro.org>
1854
1855 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1856
3608f86c
TV
18572020-02-27 Tom de Vries <tdevries@suse.de>
1858
1859 * config/sid.exp: Remove unused globals.
1860 * gdb.base/attach.exp: Same.
1861 * gdb.base/catch-load.exp: Same.
1862 * gdb.base/dbx.exp: Same.
1863 * lib/gdb.exp: Same.
1864 * lib/mi-support.exp: Same.
1865 * lib/prompt.exp: Same.
1866
c8d4f6df
TV
18672020-02-27 Tom de Vries <tdevries@suse.de>
1868
1869 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1870 not set.
1871
0d79cdc4
AM
18722020-02-26 Aaron Merey <amerey@redhat.com>
1873
1874 * gdb.debuginfod: New directory for debuginfod tests.
1875 * gdb.debuginfod/main.c: New test file.
1876 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1877
0dce4280
TV
18782020-02-26 Tom de Vries <tdevries@suse.de>
1879
1880 PR gdb/25603
1881 * gdb.base/persistent-lang.cc: New test.
1882 * gdb.base/persistent-lang.exp: New file.
1883
9e80cfa1
AB
18842020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1885
1886 * gdb.fortran/derived-type-striding.exp: Add a new test.
1887 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1888 new test.
1889
2078dbb2
AB
18902020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1891
1892 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1893 names.
1894
70d49700
TV
18952020-02-25 Tom de Vries <tdevries@suse.de>
1896
1897 PR go/18926
1898 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1899
a88ef40d
TV
19002020-02-24 Tom de Vries <tdevries@suse.de>
1901
1902 PR gdb/25592
1903 * gdb.base/info-locals-unused-static-var.c: New test.
1904 * gdb.base/info-locals-unused-static-var.exp: New file.
1905
01b1af32
TT
19062020-02-22 Tom Tromey <tom@tromey.com>
1907
1908 * gdb.python/tui-window.exp: New file.
1909 * gdb.python/tui-window.py: New file.
1910
7c043ba6
TT
19112020-02-22 Tom Tromey <tom@tromey.com>
1912
1913 PR tui/17850:
1914 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1915 tests.
1916
c22fef7e
TT
19172020-02-22 Tom Tromey <tom@tromey.com>
1918
1919 * gdb.tui/new-layout.exp: Add sub-layout tests.
1920
ee325b61
TT
19212020-02-22 Tom Tromey <tom@tromey.com>
1922
1923 * gdb.tui/new-layout.exp: New file.
1924
3f0cbb04
TT
19252020-02-22 Tom Tromey <tom@tromey.com>
1926
1927 * gdb.rust/rust-style.rs: New file.
1928 * gdb.rust/rust-style.exp: New file.
1929 * gdb.base/style.exp: Test structure printing.
1930 * gdb.base/style.c (struct some_struct): New type.
1931 (enum etype): New type.
1932 (struct_value): New global.
1933
75525152
TV
19342020-02-21 Tom de Vries <tdevries@suse.de>
1935
1936 PR go/18926
1937 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1938 Remove blanket xfails. Use message argument for gdb_breakpoint.
1939 Make continuing to breakpoint test conditional on setting breakpoint.
1940 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1941 DW_AT_name attribute. Add xfail for GCC PR93866.
1942
bd360d30
AB
19432020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1944
1945 * gdb.dwarf2/cpp-linkage-name.c: New file.
1946 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1947
c7adb09f 19482020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1949
1950 * lib/gdb.exp (gdb_wrapper_init): Reset
1951 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1952 not exist.
1953
a9c79803
TV
19542020-02-20 Tom de Vries <tdevries@suse.de>
1955
1956 PR go/17018
1957 * gdb.go/hello.exp: Copy ...
1958 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1959 print of st to print value of global definition. Add xfail for GCC
1960 PR93844.
1961 * gdb.go/hello.exp: Remove printing of st before definition.
1962 * gdb.go/hello.go: Copy ...
1963 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1964 to st.
1965 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1966
d7445728
TV
19672020-02-20 Tom de Vries <tdevries@suse.de>
1968
1969 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1970 (gdb_simple_compile): Handle compile_flags go by using .go extension
1971 for source file.
1972 * gdb.go/chan.exp: Use support_go_compile.
1973 * gdb.go/handcall.exp: Same.
1974 * gdb.go/hello.exp: Same.
1975 * gdb.go/integers.exp: Same.
1976 * gdb.go/max-depth.exp: Same.
1977 * gdb.go/methods.exp: Same.
1978 * gdb.go/package.exp: Same.
1979 * gdb.go/strings.exp: Same.
1980 * gdb.go/types.exp: Same.
1981 * gdb.go/unsafe.exp: Same.
1982
c9c41e6d
TV
19832020-02-19 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.python/lib-types.exp: Make xfail more strict.
1986
f20ff837
TV
19872020-02-19 Tom de Vries <tdevries@suse.de>
1988
1989 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1990
08410482
DE
19912020-02-19 Doug Evans <dje@google.com>
1992
1993 PR rust/25535
1994 * gdb.rust/simple.exp: Add test.
1995 * gdb.rust/simple.rs: Add test.
1996
623563f7
TV
19972020-02-19 Tom de Vries <tdevries@suse.de>
1998
1999 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2000 output line-by-line.
2001
d3308cfd
TV
20022020-02-19 Tom de Vries <tdevries@suse.de>
2003
2004 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2005
86cbc5dc
TV
20062020-02-19 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2009 prelink.
2010
9db2b96b
TV
20112020-02-19 Tom de Vries <tdevries@suse.de>
2012
2013 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2014 (gdb_do_cache): Use gdb_do_cache_wrap.
2015 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2016
89e2fdc5
TV
20172020-02-19 Tom de Vries <tdevries@suse.de>
2018
2019 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2020 gdb_compile option.
2021
373d7ac0
SM
20222020-02-18 Simon Marchi <simon.marchi@efficios.com>
2023
2024 * gdb.base/printcmds.exp (test_print_enums): Update expected
2025 output.
2026
b29a2df0
SM
20272020-02-18 Simon Marchi <simon.marchi@efficios.com>
2028
2029 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2030 for "unknown".
2031
6740f0cc
SM
20322020-02-18 Simon Marchi <simon.marchi@efficios.com>
2033
2034 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2035 enumerator.
2036
edd45eb0
SM
20372020-02-18 Simon Marchi <simon.marchi@efficios.com>
2038
2039 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2040 FE_, add FE_NONE.
2041 (three): Update.
2042 (enum flag_enum_without_zero): New enum.
2043 (flag_enum_without_zero): New variable.
2044 (enum not_flag_enum): New enum.
2045 (three_not_flag): New variable.
2046 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2047 (test_print_enums): Add more tests for printing flag enums.
2048
d4295de4
TV
20492020-02-18 Tom de Vries <tdevries@suse.de>
2050
2051 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2052 (gdb_compile_ada): ... here.
2053 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2054 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2055
f251f505
TT
20562020-02-14 Tom Tromey <tom@tromey.com>
2057
2058 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2059 build directory.
2060 * boards/gdbserver-base.exp: Update path to gdbserver.
2061
8f432634
TV
20622020-02-13 Tom de Vries <tdevries@suse.de>
2063
2064 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2065
92b6eaf7
TV
20662020-02-13 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2069 are missing.
2070
f3b0f7fe
TV
20712020-02-13 Tom de Vries <tdevries@suse.de>
2072
2073 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2074 call.
2075
f6be8713
SDJ
20762020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2077
2078 PR tui/25126
2079 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2080 * gdb.base/cached-source-file.c: New file.
2081 * gdb.base/cached-source-file.exp: New file.
2082
b2770d5e
TV
20832020-02-11 Tom de Vries <tdevries@suse.de>
2084
2085 PR testsuite/25488
2086 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2087
44f6938e
TV
20882020-02-10 Tom de Vries <tdevries@suse.de>
2089
2090 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2091
5f0e2eb7
MR
20922020-02-10 Maciej W. Rozycki <macro@wdc.com>
2093
2094 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2095 and $after_addr are both integers before making a comparison.
2096
46ce2b6f
TV
20972020-02-09 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2100 command output and paste it into gdb.log. If any, paste catch message
2101 to gdb.log.
2102
5abbbe1d
TT
21032020-02-07 Tom Tromey <tromey@adacore.com>
2104
2105 PR breakpoints/24915:
2106 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2107
1d5d29e7
SV
21082020-02-06 Shahab Vahedi <shahab@synopsys.com>
2109
2110 * gdb.tui/tui-missing-src.exp: Add the "missing source
2111 file" test for the TUI.
2112
b0999b9b
AB
21132020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2114
2115 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2116 including a port number in the output.
2117
c3b149eb
AKS
21182020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2119
2120 * lib/fortran.exp (fortran_int4): Handle clang.
2121 (fortran_int8): Likewise.
2122 (fortran_real4): Likewise.
2123 (fortran_real8): Likewise.
2124 (fortran_complex4): Likewise.
2125 (fortran_logical4): Likewise.
2126 (fortran_character1): Likewise.
2127
f8dcc90b
TV
21282020-02-04 Tom de Vries <tdevries@suse.de>
2129
2130 * README (Race detection): Add note.
2131
f90ac7c2
TV
21322020-02-04 Tom de Vries <tdevries@suse.de>
2133
2134 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2135
780636ae
TV
21362020-02-04 Tom de Vries <tdevries@suse.de>
2137
2138 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2139
5d2e1193
RA
21402020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2141
2142 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2143 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2144 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2145 blttar, bnetarl.
2146 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2147 binary for blttar, bnetarl.
2148 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2149 wait instruction. Delete ldmx test.
2150 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2151
e409c542
AKS
21522020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2153
2154 * gdb.fortran/array-bounds-high.exp: New file.
2155 * gdb.fortran/array-bounds-high.f90: New file.
2156
b0029748
LD
21572020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2158
2159 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2160 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2161
195a8287
TV
21622020-02-01 Tom de Vries <tdevries@suse.de>
2163
2164 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2165
42330a68
AB
21662020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2167
2168 PR tui/9765
2169 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2170 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2171
b62a8028
LM
21722020-01-29 Luis Machado <luis.machado@linaro.org>
2173
2174 * gdb.arch/aarch64-brk-patterns.c: New source file.
2175 * gdb.arch/aarch64-brk-patterns.exp: New test.
2176
5f440116
TBA
21772020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2178
2179 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2180 GCC/Clang version.
2181 * gdb.cp/pass-by-ref.exp: Ditto.
2182
ee2a6fc6
TV
21832020-01-29 Tom de Vries <tdevries@suse.de>
2184
2185 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2186 * gdb.threads/watchpoint-fork-mt.c: Same.
2187 * gdb.threads/watchpoint-fork-parent.c: Same.
2188 * gdb.threads/watchpoint-fork-st.c: Same.
2189 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2190
16b10d6e
LM
21912020-01-27 Luis Machado <luis.machado@linaro.org>
2192
2193 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2194 sitting at a syscall instruction when we hit the syscall function's
2195 breakpoint.
2196 Check PC against one obtained with the x command.
2197 Validate syscall number.
2198 (step_over_syscall): Don't continue to the syscall instruction if
2199 we're already there.
2200
b1468492
PW
22012020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2202
2203 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2204
7ffa82e1
AB
22052020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2206
2207 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2208 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2209
3d92a3e3
AB
22102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2213 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2214
94a72be7
AB
22152020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2216
2217 * gdb.base/maint.exp: Update line table parsing test.
2218 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2219
53af73bf
PA
22202020-01-24 Pedro Alves <palves@redhat.com>
2221
2222 PR gdb/25410
2223 * gdb.multi/multi-re-run-1.c: New.
2224 * gdb.multi/multi-re-run-2.c: New.
2225 * gdb.multi/multi-re-run.exp: New.
2226
1ba1ac88
AB
22272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 PR gdb/23718
2230 * gdb.server/server-kill-python.exp: New file.
2231
f3364a6d
AB
22322020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.server/multi-ui-errors.c: New file.
2235 * gdb.server/multi-ui-errors.exp: New file.
2236
733d0a67
AB
22372020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2238
2239 PR tui/9765
2240 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2241
4f13c1c0
TT
22422020-01-19 Tom Tromey <tom@tromey.com>
2243
2244 * gdb.tui/main.exp: Add check for plain "file".
2245
40c94099
CB
22462020-01-16 Christian Biesinger <cbiesinger@google.com>
2247
2248 * lib/gdb.exp: Fix spelling error (seperatelly).
2249
ff47f4f0
TT
22502020-01-14 Tom Tromey <tom@tromey.com>
2251
2252 PR symtab/12535:
2253 * gdb.python/python.exp: Test decode_line with empty string
2254 argument.
2255
717c684d
BE
22562020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2257
2258 * gdb.base/skip-inline.exp: Extend test.
2259
44e4c775
AB
22602020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2263 * gdb.dwarf2/dw2-bad-elf.c: New file.
2264 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2265
d93c6db7
AB
22662020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2267
2268 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2269 _line_saw_file.
2270
9a6d629c
AB
22712020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2272
2273 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2274 border.
2275
d9ebdab7
TBA
22762020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2277
2278 * gdb.multi/multi-target.exp (setup): Factor out "info
2279 connections" and "info inferiors" tests to ...
2280 (test_info_inferiors): ... this new procedure.
2281 (top level): Run new "info-inferiors" tests.
2282
f3c469b9
PA
22832020-01-10 Pedro Alves <palves@redhat.com>
2284
2285 * gdb.server/bkpt-other-inferior.exp: New file.
2286
121b3efd
PA
22872020-01-10 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2290 of "add-inferior".
2291 * gdb.base/quit-live.exp: Likewise.
2292 * gdb.base/remote-exec-file.exp: Likewise.
2293 * gdb.guile/scm-progspace.exp: Likewise.
2294 * gdb.linespec/linespec.exp: Likewise.
2295 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2296 * gdb.mi/user-selected-context-sync.exp: Likewise.
2297 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2298 "info inferiors" tests.
2299 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2300 "add-inferior".
2301 * gdb.multi/watchpoint-multi.exp: Likewise.
2302 * gdb.python/py-inferior.exp: Likewise.
2303 * gdb.server/extended-remote-restart.exp: Likewise.
2304 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2305 "info inferiors".
2306 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2307 * gdb.trace/report.exp: Likewise.
2308
1dadb1dd
PA
23092020-01-10 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.multi/multi-target.c: New file.
2312 * gdb.multi/multi-target.exp: New file.
2313 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2314 mode requested, but remote does not support non-stop".
2315
78f2c40a
PA
23162020-01-10 Pedro Alves <palves@redhat.com>
2317
2318 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2319 disconnect before reconnecting.
2320
e7af6c70
TBA
23212020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2322 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.server/connect-without-multi-process.exp: Also test
2325 continuing to end.
2326
acdf84a6
PA
23272020-01-10 Pedro Alves <palves@redhat.com>
2328
2329 * gdb.base/remote-exec-file.exp: New file.
2330
873657b9
PA
23312020-01-10 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2334 output.
2335 * gdb.threads/async.c: New.
2336 * gdb.threads/async.exp: New.
2337 * gdb.multi/tids-gid-reset.c: New.
2338 * gdb.multi/tids-gid-reset.exp: New.
2339
7f0ae84c
GB
23402020-01-10 George Barrett <bob@bob131.so>
2341
2342 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2343 to help in finding the image relocation offset.
2344 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2345 options in arguments.
2346 (stap_test_no_debuginfo): Likewise.
2347 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2348 test variants.
2349 (stap_test): Add null semaphore relocation test.
2350
47e9d49d
GB
23512020-01-10 George Barrett <bob@bob131.so>
2352
2353 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2354 * gdb.base/stap-probe.exp: Likewise.
2355 (stap_test): Pass argument as an additional flag.
2356 (stap_test_no_debuginfo): Likewise.
2357 (stap_test): Check `info probes stap' output for semaphore
2358 addresses if the test binary is supposed to have them.
2359
f5a7c406
AB
23602020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2361
2362 * gdb.tui/basic.exp: Add more scrolling tests.
2363
9ae6bf64
TT
23642020-01-09 Tom Tromey <tom@tromey.com>
2365
2366 PR tui/18932:
2367 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2368 meangingful value.
2369 (Term::command, Term::resize): Update.
2370 * gdb.tui/basic.exp: Add scrolling test.
2371
b2efe70c
AB
23722020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.tui/tui-layout-asm.exp: New file.
2375
3804da7e
AB
23762020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2377
2378 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2379
b40aa28f
AB
23802020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2383 (Term::enter_tui): Use Term::prepare_for_tui.
2384
63ffd7c9
AB
23852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2388 called.
2389
3be966f6
AB
23902020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2391
2392 * gdb.base/skip.exp: Fix race condition in test.
2393
153d79c4
AB
23942020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2395
2396 * gdb.base/backtrace.c: New file.
2397 * gdb.base/backtrace.exp: New file.
2398
f2302a34
AB
23992020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2400
2401 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2402
6ec1d75e
PW
24032020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2404
2405 * gdb.base/style.exp: Test that warnings are styled.
2406
c296cbe6
BE
24072019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2408
2409 * gdb.base/line65535.exp: New file.
2410 * gdb.base/line65535.c: New file.
2411
b28a729d
SM
24122019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2413
2414 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2415 * lib/gnat_debug_info_test.adb: New file.
2416 * gdb.ada/ptype_tagged_param.exp: Use
2417 gnat_runtime_has_debug_info, expect a different output if
2418 runtime does not have debug info.
2419
7f2d7a0d
SM
24202019-12-20 Simon Marchi <simon.marchi@efficios.com>
2421
2422 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2423 (another) quote in test name.
2424
f3bce483
SM
24252019-12-20 Simon Marchi <simon.marchi@efficios.com>
2426
2427 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2428 Add quote in test name.
2429
c855a912
TBA
24302019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2431
2432 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2433 directory instead.
2434 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2435 * gdb.cp/pass-by-ref-2.cc: New file.
2436 * gdb.cp/pass-by-ref-2.exp: New file.
2437
fc9d2d72
TT
24382019-12-20 Tom Tromey <tom@tromey.com>
2439
2440 * gdb.tui/list-before.exp: New file.
2441
77b97e00
TT
24422019-12-20 Tom Tromey <tom@tromey.com>
2443
2444 * gdb.tui/list.exp: Check for source on initial listing.
2445
f69656d0
TT
24462019-12-11 Tom Tromey <tromey@adacore.com>
2447
2448 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2449 Add crlf test.
2450
99a55965
SM
24512019-12-18 Simon Marchi <simon.marchi@efficios.com>
2452
2453 * gdb.base/default.exp: Update value of $_gdb_major.
2454
5024637f
BE
24552019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2456
2457 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2458
b63634be
BE
24592019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2460
2461 * gdb.base/skip.exp: Whitespace fix.
2462
45d73523
BE
24632019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2464
2465 * gdb.base/skip-inline.c: New file.
2466 * gdb.base/skip-inline.exp: New file.
2467
d043f8c8
SM
24682019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2469
2470 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2471 jit_function_00 to jit_function_stack_mangle.
2472 * gdb.base/jithost.c (jit_function_t): Rename to...
2473 (jit_function_stack_mangle_t): ... this.
2474 (jit_function_add_t): New typedef.
2475 (jit_function_00_code): Rename to...
2476 (jit_function_stack_mangle_code): ... this, make static.
2477 (jit_function_add_code): New.
2478 (main): Generate "add" function and call it. Adjust to changes
2479 in jithost_abi.
2480 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2481 (struct jithost_abi) <begin, end>: Remove fields.
2482 <object, function_stack_mangle, function_add>: New fields.
2483 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2484 code_end>: Remove fields.
2485 <func_stack_mangle>: New field.
2486 (read_debug_info): Adjust to renaming, create block for "add"
2487 function.
2488 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2489
873de05c
TT
24902019-12-11 Tom Tromey <tom@tromey.com>
2491
2492 * gdb.tui/resize.exp: Fix regexp.
2493 * gdb.tui/regs.exp: Fix regexps.
2494 * gdb.tui/main.exp: Fix regexp.
2495
3d979945
TT
24962019-12-11 Tom Tromey <tom@tromey.com>
2497
2498 * gdb.tui/resize.exp: Update.
2499 * gdb.tui/empty.exp (layouts): Update.
2500
2192a9d3
TT
25012019-12-11 Tom Tromey <tom@tromey.com>
2502
2503 * gdb.tui/regs.exp: Update.
2504 * gdb.tui/empty.exp (layouts): Update.
2505 * gdb.tui/basic.exp: Update.
2506 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2507
d8edc8b7
PW
25082019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2509
2510 * gdb.base/options.exp: Add -raw-values in the print completion list.
2511 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2512
4c12d936
KB
25132019-12-10 Kevin Buettner <kevinb@redhat.com>
2514
2515 * gdb.threads/omp-par-scope.c: New file.
2516 * gdb/threads/omp-par-scope.exp: New file.
2517
26b911fb
KB
25182019-12-10 Kevin Buettner <kevinb@redhat.com>
2519
bb47f919
KB
2520 * lib/gdb.exp (support_nested_function_tests): New proc.
2521
25222019-12-10 Kevin Buettner <kevinb@redhat.com>
2523
2524 * lib/gdb.exp (gdb_compile_openmp): New proc.
2525 (build_executable_from_specs): Add an "openmp" option.
2526 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2527
6c71eb7d
TT
25282019-12-10 Tom Tromey <tromey@adacore.com>
2529
2530 * gdb.ada/unchecked_union.exp: New file.
2531 * gdb.ada/unchecked_union/pck.adb: New file.
2532 * gdb.ada/unchecked_union/pck.ads: New file.
2533 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2534 * gdb-utils.exp (string_to_regexp): Also quote "?".
2535
bac7c5cf
GB
25362019-12-10 George Barrett <bob@bob131.so>
2537
2538 Test scripted probe breakpoints.
2539 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2540 * gdb.python/py-breakpoint.c (main): Likewise.
2541 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2542 specifier test.
2543 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2544
330f1d38
TBA
25452019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2546
2547 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2548 an rvalue parameter.
2549 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2550 parameter.
2551
b43315e2
AB
25522019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2555 modules.
2556
54f73dad
AB
25572019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2558
2559 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2560 broken version of GCC.
2561
d57cbee9
AB
25622019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2563
2564 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2565 sym-info-cmds library.
2566 * gdb.fortran/info-types.exp: Likewise.
2567 * lib/sym-info-cmds.exp: New file.
2568
c14aab8c
TV
25692019-12-08 Tom de Vries <tdevries@suse.de>
2570
2571 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2572
aa2d5a42
KS
25732019-12-07 Keith Seitz <keiths@redhat.com>
2574
2575 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2576 * gdb.base/corefile-buildid-shlib.c: New file.
2577 * gdb.base/corefile-buildid.c: New file.
2578 * gdb.base/corefile-buildid.exp: New file.
2579
93e55f0a
TV
25802019-12-06 Tom de Vries <tdevries@suse.de>
2581
2582 * gdb.dwarf2/varval.exp: Add decl before def test.
2583
c7d12402
TBA
25842019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2585
2586 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2587
06acc08f
TBA
25882019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2589
2590 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2591 CV and reference conversion for overload resolution.
2592 * gdb.cp/rvalue-ref-overload.exp: Test it.
2593
e0fad1ea
PW
25942019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2595
2596 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2597 * gdb.base/frameapply.exp: Test faas without command.
2598
8d70a9f0
AB
25992019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2602 Fortran tests.
2603 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2604 order.
2605
36c8fb93
AB
26062019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2607
2608 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2609 casting to type with no kind specified.
2610 (test_basic_parsing_of_type_kinds): Additional tests for types
2611 with no kind specified, and add tests for single/double
2612 precision/complex types.
2613
4139ff00
TT
26142019-12-04 Tom Tromey <tromey@adacore.com>
2615
2616 * gdb.base/endianity.c (struct other) <x>: New field.
2617 (main): Initialize it.
2618 * gdb.base/endianity.exp: Update.
2619
a05cf17a
TT
26202019-12-04 Tom Tromey <tromey@adacore.com>
2621
2622 * gdb.ada/scalar_storage/storage.adb: New file.
2623 * gdb.ada/scalar_storage/pck.adb: New file.
2624 * gdb.ada/scalar_storage/pck.ads: New file.
2625 * gdb.ada/scalar_storage.exp: New file.
2626
103a685e
TT
26272019-12-04 Tom Tromey <tromey@adacore.com>
2628
2629 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2630 (main): Initialize it.
2631 * gdb.base/endianity.exp: Update.
2632
c2512106
AB
26332019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2634
2635 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2636
293b38d6
AB
26372019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2638
2639 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2640 -symbol-info-module-functions and -symbol-info-module-variables.
2641
216a7e6b
AB
26422019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2645
5bbd8269
AB
26462019-12-01 Richard Bunt <richard.bunt@arm.com>
2647 Andrew Burgess <andrew.burgess@embecosm.com>
2648
2649 * gdb.fortran/derived-type-striding.exp: New file.
2650 * gdb.fortran/derived-type-striding.f90: New file.
2651 * gdb.fortran/array-slices.exp: New file.
2652 * gdb.fortran/array-slices.f90: New file.
2653
be09caf1
PW
26542019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2655
2656 * gdb.base/define.exp: Test . in command names.
2657 * gdb.base/setshow.exp: Update test, as . is now part of
2658 command name.
2659
643c0cbe
PW
26602019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2661
2662 * gdb.base/define-prefix.exp: New file.
2663
dcdec678
AB
26642019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2665
2666 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2667 compile.
2668 (skip_btrace_pt_tests): Likewise.
2669
640ab947
AB
26702019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2671
2672 * gdb.fortran/info-modules.exp: Compile source files in correct
2673 order.
2674
d22670f0
KB
26752019-11-27 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.dwarf2/imported-unit.exp: New file.
2678 * gdb.dwarf2/imported-unit.c: New file.
2679
db5960b4
AB
26802019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2681
2682 * gdb.mi/mi-fortran-modules-2.f90: New file.
2683 * gdb.mi/mi-fortran-modules.exp: New file.
2684 * gdb.mi/mi-fortran-modules.f90: New file.
2685
7dc42066
AB
26862019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2687
2688 * gdb.mi/mi-sym-info-1.c: New file.
2689 * gdb.mi/mi-sym-info-2.c: New file.
2690 * gdb.mi/mi-sym-info.exp: New file.
2691
0dfeecca
TT
26922019-11-22 Tom Tromey <tromey@adacore.com>
2693
2694 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2695 * gdb.ada/tasks/foo.adb: Add another stopping location.
2696
34877895
PJ
26972019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2698
2699 * gdb.base/endianity.c: New test.
2700 * gdb.base/endianity.exp: New file.
2701
2e84f897
LD
27022019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2703
2704 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2705
65d1cd5f
TV
27062019-11-21 Tom de Vries <tdevries@suse.de>
2707
2708 PR gdb/24956
2709 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2710
4f22c3f4
SDJ
27112019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2712
2713 * gdb.python/py-progspace.exp: Add missing parentheses on some
2714 'print' commands.
2715
9f6ad286
TT
27162019-11-19 Tom Tromey <tom@tromey.com>
2717
2718 * gdb.tui/winheight.exp: New file.
2719
0b8dbf3f
AB
27202019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * gdb.base/ctf-whatis.c: Delete.
2723 * gdb.base/ctf-whatis.exp: Delete.
2724 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2725
f833b7a7
AB
27262019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2727
2728 * gdb.base/ctf-cvexpr.exp: Delete.
2729 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2730
30d0a636
AB
27312019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2732
2733 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2734 the compiler. Clean up header comment a little.
2735 * gdb.base/ctf-ptype.exp: Likewise.
2736 * gdb.base/ctf-whatis.exp: Likewise.
2737 * lib/gdb.exp (skip_ctf_tests): New proc.
2738
494409bb
SDJ
27392019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2740
2741 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2742 * gdb.tui/corefile-run.exp: New file.
2743
55708e99
TT
27442019-11-14 Tom Tromey <tromey@adacore.com>
2745
2746 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2747 regression tests.
2748
45e42163
TT
27492019-11-12 Tom Tromey <tom@tromey.com>
2750
2751 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2752 after any command. Expect prompt after WAIT_FOR is seen.
2753 (enter_tui): Enable resize messages.
2754 (command): Expect command in output.
2755 (get_line): Avoid error when cursor appears to be off-screen.
2756 (dump_screen): Include screen size in title.
2757 (_do_resize): New proc, from "resize".
2758 (resize): Rewrite. Do resize in two steps.
2759 * gdb.tui/empty.exp (layouts): Fix entries.
2760 (check_boxes): Remove xfail.
2761 (check_text): Dump screen on failure.
2762
086baaf1
AB
27632019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.python/py-symbol.exp: Add test for
2766 gdb.lookup_static_symbols.
2767
09ff83af
AB
27682019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.python/py-symbol.c: Declare and call function from new
2771 py-symbol-2.c file.
2772 * gdb.python/py-symbol.exp: Compile both source files, and add new
2773 tests for gdb.lookup_static_symbol.
2774 * gdb.python/py-symbol-2.c: New file.
2775
11af934b
TV
27762019-11-02 Tom de Vries <tdevries@suse.de>
2777
2778 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2779 * gdb.base/anon.exp: Same.
2780 * gdb.base/auto-connect-native-target.exp: Same.
2781 * gdb.base/call-ar-st.exp: Same.
2782 * gdb.base/catch-syscall.exp: Same.
2783 * gdb.base/commands.exp: Same.
2784 * gdb.base/default.exp: Same.
2785 * gdb.base/display.exp: Same.
2786 * gdb.base/float.exp: Same.
2787 * gdb.base/foll-fork.exp: Same.
2788 * gdb.base/help.exp: Same.
2789 * gdb.base/info-macros.exp: Same.
2790 * gdb.base/info-proc.exp: Same.
2791 * gdb.base/info-target.exp: Same.
2792 * gdb.base/long_long.exp: Same.
2793 * gdb.base/macscp.exp: Same.
2794 * gdb.base/memattr.exp: Same.
2795 * gdb.base/nofield.exp: Same.
2796 * gdb.base/pointers.exp: Same.
2797 * gdb.base/printcmds.exp: Same.
2798 * gdb.base/ptype.exp: Same.
2799 * gdb.base/restore.exp: Same.
2800 * gdb.base/return.exp: Same.
2801 * gdb.base/scope.exp: Same.
2802 * gdb.base/set-noassign.exp: Same.
2803 * gdb.base/setshow.exp: Same.
2804 * gdb.base/shlib-call.exp: Same.
2805 * gdb.base/signals.exp: Same.
2806 * gdb.base/sigstep.exp: Same.
2807 * gdb.base/skip.exp: Same.
2808 * gdb.base/solib-symbol.exp: Same.
2809 * gdb.base/stap-probe.exp: Same.
2810 * gdb.base/step-line.exp: Same.
2811 * gdb.base/step-test.exp: Same.
2812 * gdb.base/style.exp: Same.
2813 * gdb.base/varargs.exp: Same.
2814 * gdb.base/vla-datatypes.exp: Same.
2815 * gdb.base/vla-ptr.exp: Same.
2816 * gdb.base/vla-sideeffect.exp: Same.
2817 * gdb.base/volatile.exp: Same.
2818 * gdb.base/watch-cond-infcall.exp: Same.
2819 * gdb.base/watchpoint.exp: Same.
2820
e96ec2ba
TV
28212019-11-02 Tom de Vries <tdevries@suse.de>
2822
2823 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2824 * gdb.cp/cpexprs.exp: Same.
2825 * gdb.cp/except-multi-location.exp: Same.
2826 * gdb.cp/exceptprint.exp: Same.
2827 * gdb.cp/gdb2384.exp: Same.
2828 * gdb.cp/inherit.exp: Same.
2829 * gdb.cp/m-static.exp: Same.
2830 * gdb.cp/meth-typedefs.exp: Same.
2831 * gdb.cp/misc.exp: Same.
2832 * gdb.cp/namespace.exp: Same.
2833 * gdb.cp/non-trivial-retval.exp: Same.
2834 * gdb.cp/overload.exp: Same.
2835 * gdb.cp/pr17132.exp: Same.
2836 * gdb.cp/re-set-overloaded.exp: Same.
2837 * gdb.cp/rvalue-ref-types.exp: Same.
2838 * gdb.cp/templates.exp: Same.
2839
bd5766ec
LM
28402019-11-01 Luis Machado <luis.machado@linaro.org>
2841
2842 PR gdb/25124
2843
2844 * gdb.arch/pr25124.S: New file.
2845 * gdb.arch/pr25124.exp: New file.
2846
165f8965
AB
28472019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.fortran/info-modules.exp: Update expected results, and add
2850 additional tests for 'info module functinos', and 'info module
2851 variables'.
2852 * gdb.fortran/info-types.exp: Update expected results.
2853 * gdb.fortran/info-types.f90: Extend testcase with additional
2854 module variables and functions.
2855
59c35742
AB
28562019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * gdb.fortran/info-modules.exp: New file.
2859 * gdb.fortran/info-types.exp: Build with new file.
2860 * gdb.fortran/info-types.f90: Include and use new module.
2861 * gdb.fortran/info-types-2.f90: New file.
2862
f3fb2519
PW
28632019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2864
2865 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2866 * gdb.base/settings.exp: Test all settings types using
2867 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2868 that now verifies that the value of "maint show" is the same as
2869 returned by the settings functions. Test the type of the
2870 maintenance settings.
2871 * gdb.base/default.exp: Update show_conv_list.
2872
d1e36019
TV
28732019-10-31 Tom de Vries <tdevries@suse.de>
2874
2875 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2876 gdb_test.
2877 * gdb.arch/amd64-disp-step.exp: Same.
2878 * gdb.asm/asm-source.exp: Same.
2879 * gdb.btrace/buffer-size.exp: Same.
2880 * gdb.btrace/cpu.exp: Same.
2881 * gdb.btrace/enable.exp: Same.
2882 * gdb.dwarf2/count.exp: Same.
2883 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2884 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2885 * gdb.fortran/vla-datatypes.exp: Same.
2886 * gdb.fortran/vla-history.exp: Same.
2887 * gdb.fortran/vla-ptype.exp: Same.
2888 * gdb.fortran/vla-value.exp: Same.
2889 * gdb.fortran/whatis_type.exp: Same.
2890 * gdb.guile/guile.exp: Same.
2891 * gdb.multi/tids.exp: Same.
2892 * gdb.python/py-finish-breakpoint.exp: Same.
2893 * gdb.python/py-framefilter.exp: Same.
2894 * gdb.python/py-pp-registration.exp: Same.
2895 * gdb.python/py-xmethods.exp: Same.
2896 * gdb.python/python.exp: Same.
2897 * gdb.server/connect-with-no-symbol-file.exp: Same.
2898 * gdb.server/no-thread-db.exp: Same.
2899 * gdb.server/run-without-local-binary.exp: Same.
2900 * gdb.stabs/weird.exp: Same.
2901 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2902 * gdb.threads/thread-find.exp: Same.
2903 * gdb.threads/tls-shared.exp: Same.
2904 * gdb.threads/tls.exp: Same.
2905 * gdb.threads/wp-replication.exp: Same.
2906 * gdb.trace/ax.exp: Same.
2907 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2908
3d11e68e
TV
29092019-10-31 Tom de Vries <tdevries@suse.de>
2910
2911 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2912 * gdb.ada/array_subscript_addr.exp: Same.
2913 * gdb.ada/arrayidx.exp: Same.
2914 * gdb.ada/arrayparam.exp: Same.
2915 * gdb.ada/arrayptr.exp: Same.
2916 * gdb.ada/boolean_expr.exp: Same.
2917 * gdb.ada/call_pn.exp: Same.
2918 * gdb.ada/complete.exp: Same.
2919 * gdb.ada/fixed_cmp.exp: Same.
2920 * gdb.ada/fun_addr.exp: Same.
2921 * gdb.ada/funcall_param.exp: Same.
2922 * gdb.ada/interface.exp: Same.
2923 * gdb.ada/mod_from_name.exp: Same.
2924 * gdb.ada/null_array.exp: Same.
2925 * gdb.ada/packed_array.exp: Same.
2926 * gdb.ada/packed_tagged.exp: Same.
2927 * gdb.ada/print_chars.exp: Same.
2928 * gdb.ada/print_pc.exp: Same.
2929 * gdb.ada/ptype_arith_binop.exp: Same.
2930 * gdb.ada/ptype_field.exp: Same.
2931 * gdb.ada/ptype_tagged_param.exp: Same.
2932 * gdb.ada/rec_return.exp: Same.
2933 * gdb.ada/ref_tick_size.exp: Same.
2934 * gdb.ada/str_ref_cmp.exp: Same.
2935 * gdb.ada/taft_type.exp: Same.
2936 * gdb.ada/tagged.exp: Same.
2937 * gdb.ada/type_coercion.exp: Same.
2938 * gdb.ada/uninitialized_vars.exp: Same.
2939
60b6ede8
TV
29402019-10-30 Tom de Vries <tdevries@suse.de>
2941
2942 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2943
30baf67b
TV
29442019-10-26 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.base/bigcore.c: Fix typos in comments.
2947 * gdb.base/ctf-ptype.c: Same.
2948 * gdb.base/long_long.c: Same.
2949 * gdb.dwarf2/dw2-op-out-param.S: Same.
2950 * gdb.python/py-evthreads.c: Same.
2951 * gdb.reverse/i387-stack-reverse.c: Same.
2952 * gdb.trace/tfile.c: Same.
2953 * lib/compiler.c: Same.
2954 * lib/compiler.cc: Same.
2955
158da0d1
TV
29562019-10-25 Tom de Vries <tdevries@suse.de>
2957
2958 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2959 gdb_test_multiple calls.
2960 * gdb.reverse/sigall-reverse.exp: Same.
2961 * gdb.reverse/solib-precsave.exp: Same.
2962 * gdb.reverse/solib-reverse.exp: Same.
2963 * gdb.reverse/until-precsave.exp: Same.
2964 * gdb.reverse/until-reverse.exp: Same.
2965
4ccdfbec
TV
29662019-10-24 Tom de Vries <tdevries@suse.de>
2967
2968 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2969 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2970 kfail using -wrap pattern flag and convenience variable
2971 gdb_test_name.
2972
33d569b7
AB
29732019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2974
2975 * gdb.python/py-progspace.exp: Add tests for the
2976 Progspace.block_for_pc method.
2977
4d0b984b
TT
29782019-10-23 Tom Tromey <tom@tromey.com>
2979
2980 * configure: Rebuild.
2981 * aclocal.m4: Use m4_include, not sinclude.
2982
94cb3754
TV
29832019-10-21 Tom de Vries <tdevries@suse.de>
2984
2985 * gdb.base/infcall-nested-structs.c: Add
2986 __attribute__((noinline,noclone)) to all functions.
2987 (call_all): Add missing variable initialization. Simplify return value.
2988 (breakpt): Increment volatile variable, to prevent call from being
2989 optimized out.
2990 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2991
062f1fc1
TV
29922019-10-17 Tom de Vries <tdevries@suse.de>
2993
2994 * gdb.fortran/module.exp: Allow info variables to print info for files
2995 other than module.f90.
2996
0b54364d
AB
29972019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2998
2999 * gdb.fortran/module.exp: Extend with 'info variables' test.
3000
7ff5fae7
AB
30012019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3002
3003 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3004 F77_FOR_TARGET.
3005
d10eccaa
TV
30062019-10-16 Tom de Vries <tdevries@suse.de>
3007
3008 PR tdep/25096
3009 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3010
745ff14e
TV
30112019-10-16 Tom de Vries <tdevries@suse.de>
3012
3013 PR tdep/24104
3014 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3015 Add KFAIL for PR tdep/25096.
3016
03e1ab94
TV
30172019-10-16 Tom de Vries <tdevries@suse.de>
3018
3019 PR testsuite/25059
3020 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3021
b17fcc10
TV
30222019-10-16 Tom de Vries <tdevries@suse.de>
3023
3024 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3025 as signed.
3026
9223170f
SM
30272019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3028
3029 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3030 one instead of increasing timeout.
3031
d6e76313
TV
30322019-10-13 Tom de Vries <tdevries@suse.de>
3033
3034 PR record/25038
3035 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3036 * gdb.reverse/sigall-reverse.exp: Same.
3037 * gdb.reverse/solib-precsave.exp: Same.
3038 * gdb.reverse/solib-reverse.exp: Same.
3039 * gdb.reverse/step-precsave.exp: Same.
3040 * gdb.reverse/until-precsave.exp: Same.
3041 * gdb.reverse/until-reverse.exp: Same.
3042 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3043
6dfc0041
AA
30442019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3045
3046 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3047 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3048 (cmp_struct_05_01, cmp_struct_static_02_01)
3049 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3050 comparisons.
3051
abcf2cc8
TV
30522019-10-10 Tom de Vries <tdevries@suse.de>
3053
3054 PR testsuite/24888
3055 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3056 gnatlink.
3057
a50faaf6
TV
30582019-10-09 Tom de Vries <tdevries@suse.de>
3059
3060 PR testsuite/25048
3061 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3062
60ff3cd7
AB
30632019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3066 exceptions due to missing debug information.
3067
dfee8566
TV
30682019-10-07 Tom de Vries <tdevries@suse.de>
3069
3070 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3071
3d63690a
AB
30722019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3073
3074 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3075 * gdb.base/annota1.exp: Update to use gdb_test_name.
3076
30d1f018
WP
30772019-10-07 Weimin Pan <weimin.pan@oracle.com>
3078
3079 * gdb.base/ctf-whatis.exp: New file.
3080 * gdb.base/ctf-whatis.c: New file.
3081 * gdb.base/ctf-ptype.exp: New file.
3082 * gdb.base/ctf-ptype.c: New file.
3083 * gdb.base/ctf-constvars.exp: New file.
3084 * gdb.base/ctf-constvars.c: New file.
3085 * gdb.base/ctf-cvexpr.exp: New file.
3086
4dbbb47c
TV
30872019-10-04 Tom de Vries <tdevries@suse.de>
3088
3089 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3090 for loop.
3091
77c2dba3
TT
30922019-10-03 Tom Tromey <tom@tromey.com>
3093
3094 PR rust/24976:
3095 * gdb.rust/simple.rs (Union2): New type.
3096 (main): Use Union2.
3097 * gdb.rust/simple.exp: Add test.
3098
179aed7f
AB
30992019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3100
3101 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3102 nested function prefix.
3103
0a4b0913
AB
31042019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3105 Richard Bunt <richard.bunt@arm.com>
3106 Andrew Burgess <andrew.burgess@embecosm.com>
3107
3108 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3109 nested functions.
3110 * gdb.fortran/nested-funcs.f90: Update expected results.
3111 * gdb.fortran/nested-funcs-2.exp: New file.
3112 * gdb.fortran/nested-funcs-2.f90: New file.
3113
082cce05
AB
31142019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.python/py-parameter.exp: Make test names unique.
3117 * gdb.python/py-template.exp: Likewise.
3118 * gdb.python/py-value.exp: Likewise.
3119
2b74ba5a
AB
31202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3121
3122 * gdb.base/break-interp.exp: Reduce test name duplication.
3123 * gdb.base/call-sc.exp: Likewise.
3124 * gdb.base/callfuncs.exp: Likewise.
3125 * gdb.base/charset.exp: Likewise.
3126 * gdb.base/dump.exp: Likewise.
3127 * gdb.base/ena-dis-br.exp: Likewise.
3128 * gdb.base/relational.exp: Likewise.
3129 * gdb.base/step-over-syscall.exp: Likewise.
3130 * gdb.base/structs.exp: Likewise.
3131
58eb20d5
AB
31322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.linespec/explicit.exp: Make test names unique.
3135 * gdb.linespec/ls-errs.exp: Likewise.
3136
4d421147
AB
31372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3138
3139 * gdb.reverse/break-precsave.exp: Make test names unique.
3140 * gdb.reverse/break-reverse.exp: Likewise.
3141 * gdb.reverse/finish-precsave.exp: Likewise.
3142 * gdb.reverse/finish-reverse.exp: Likewise.
3143 * gdb.reverse/machinestate-precsave.exp: Likewise.
3144 * gdb.reverse/machinestate.exp: Likewise.
3145 * gdb.reverse/readv-reverse.exp: Likewise.
3146 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3147 * gdb.reverse/sigall-precsave.exp: Likewise.
3148 * gdb.reverse/sigall-reverse.exp: Likewise.
3149 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3150 * gdb.reverse/watch-precsave.exp: Likewise.
3151 * gdb.reverse/watch-reverse.exp: Likewise.
3152
d8c06f22
AB
31532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.threads/stop-with-handle.c: New file.
3156 * gdb.threads/stop-with-handle.exp: New file.
3157
3a56ed86
TV
31582019-10-03 Tom de Vries <tdevries@suse.de>
3159
3160 PR testsuite/25059
3161 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3162 directory" line to be missing.
3163
42275044
TV
31642019-10-03 Tom de Vries <tdevries@suse.de>
3165
3166 PR testsuite/25059
3167 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3168 type optional.
3169
9ef62df0
AA
31702019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3171
3172 * gdb.python/py-format-string.c (string.h): New include.
3173 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3174 the same value, for endianness-independence.
3175 * gdb.python/py-format-string.exp (default_regexp_dict)
3176 (test_pretty_structs, test_format): Adjust expected output to the
3177 changed initialization.
3178
37f6a7f4
TT
31792019-10-02 Tom Tromey <tromey@adacore.com>
3180
3181 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3182
1d58d6a2
PA
31832019-10-02 Pedro Alves <palves@redhat.com>
3184 Andrew Burgess <andrew.burgess@embecosm.com>
3185
3186 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3187 "print-file-var.h".
3188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3189 (get_version_1): Print this_version_id and its address.
3190 Add extern "C" wrappers around interface functions.
3191 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3192 "print-file-var.h".
3193 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3194 (get_version_2): Print this_version_id and its address.
3195 Add extern "C" wrappers around interface functions.
3196 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3197 <stddef.h> and "print-file-var.h".
3198 Add extern "C" wrappers around interface functions.
3199 [VERSION_ID_MAIN] (this_version_id): Define.
3200 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3201 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3202 up extern "C" blocks.
3203 * gdb.base/print-file-var.exp (test): New, factored out from top
3204 level.
3205 (top level): Test all combinations of attribute hidden or not,
3206 dlopen or not, and this_version_id symbol in main file or not.
3207 Compile tests as both C++ and C, make test names unique.
3208
d770d56f
TT
32092019-10-01 Tom Tromey <tom@tromey.com>
3210
3211 * gdb.base/style.exp: Test "show logging filename".
3212
7f6aba03
TT
32132019-10-01 Tom Tromey <tom@tromey.com>
3214
3215 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3216 * gdb.base/style.exp: Add metadata style test.
3217
14309bb6
TT
32182019-10-01 Tom Tromey <tom@tromey.com>
3219
3220 * gdb.base/style.exp: Test "pwd".
3221
2a3c1174
PA
32222019-10-01 Tom Tromey <tom@tromey.com>
3223
3224 * gdb.base/style.exp: Update tests.
3225
53d666ec
AA
32262019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3227
3228 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3229 'six' to unsigned.
3230 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3231 'five'. Use an all-ones bit pattern for each.
3232 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3233 to its changed values.
3234
4a56a520
TT
32352019-09-30 Tom Tromey <tromey@adacore.com>
3236
3237 * gdb.rust/traits.rs: Disable all warnings.
3238
0df0352a
TV
32392019-09-29 Tom de Vries <tdevries@suse.de>
3240
aac66a4c 3241 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3242
73d9a918
TV
32432019-09-29 Tom de Vries <tdevries@suse.de>
3244
3245 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3246
060b3ab4
TV
32472019-09-27 Tom de Vries <tdevries@suse.de>
3248
3249 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3250
68f7d34d
TV
32512019-09-27 Tom de Vries <tdevries@suse.de>
3252
3253 PR record/23188
3254 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3255
5d63b30a
TT
32562019-09-26 Tom Tromey <tromey@adacore.com>
3257
3258 * gdb.ada/py_taft.exp: New file.
3259 * gdb.ada/py_taft/main.adb: New file.
3260 * gdb.ada/py_taft/pkg.adb: New file.
3261 * gdb.ada/py_taft/pkg.ads: New file.
3262
3d435220
TV
32632019-09-24 Tom de Vries <tdevries@suse.de>
3264
3265 PR gdb/24598
3266 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3267
77d03678
TV
32682019-09-22 Tom de Vries <tdevries@suse.de>
3269
3270 * gdb.base/restore.exp: Allow register variables to be optimized out at
3271 -O0.
3272
abf516c6
UW
32732019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3274
3275 * gdb.arch/spu-info.exp: Remove file.
3276 * gdb.arch/spu-info.c: Remove file.
3277 * gdb.arch/spu-ls.exp: Remove file.
3278 * gdb.arch/spu-ls.c: Remove file.
3279
3280 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3281 * gdb.asm/spu.inc: Remove file.
3282
3283 * gdb.base/dump.exp: Remove support for spu*-*-*.
3284 * gdb.base/stack-checking.exp: Likewise.
3285 * gdb.base/overlays.exp: Likewise.
3286 * gdb.base/ovlymgr.c: Likewise.
3287 * gdb.base/spu.ld: Remove file.
3288
3289 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3290 * gdb.cp/cpexprs.exp: Likewise.
3291 * gdb.cp/exception.exp: Likewise.
3292 * gdb.cp/gdb2495.exp: Likewise.
3293 * gdb.cp/mb-templates.exp: Likewise.
3294 * gdb.cp/pr9167.exp: Likewise.
3295 * gdb.cp/userdef.exp: Likewise.
3296
3297 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3298
3299 * gdb.cell: Remove directory.
3300 * lib/cell.exp: Remove file.
3301
e452e88f
TV
33022019-09-19 Tom de Vries <tdevries@suse.de>
3303
3304 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3305
8a625130
TV
33062019-09-19 Tom de Vries <tdevries@suse.de>
3307
3308 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3309
81dc3ab5
TV
33102019-09-19 Tom de Vries <tdevries@suse.de>
3311
3312 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3313 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3314 (gdb_target_cmd): ... here.
3315 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3316 value 2.
3317
b078f3ac
AB
33182019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3319
3320 * gdb.base/source-dir.exp: Avoid having directory names in test
3321 names.
3322
f1b620e9
MG
33232019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3324
3325 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3326 directory.
3327
67f3ed6a
AB
33282019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3329
3330 * gdb.base/list-missing-source.exp: New file.
3331
d1b70248
TV
33322019-09-14 Tom de Vries <tdevries@suse.de>
3333
3334 PR teststuite/24599
3335 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3336 * lib/ada.exp (gnatmake_version_at_least): New proc.
3337
5fabdcd6
AB
33382019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.base/maint.exp: Use exec_has_index_section.
3341
aa17805f
AB
33422019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.base/maint.exp: Add test for 'maint info sections'.
3345
25e5c209
TV
33462019-09-12 Tom de Vries <tdevries@suse.de>
3347
3348 * gdb.base/store.exp: Allow register variables to be optimized out at
3349 -O0.
3350
4993045d
PW
33512019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3352
3353 * gdb.ada/rdv_wait.exp: Update to new task names.
3354 * gdb.base/task_switch_in_core.exp: Likewise.
3355 * gdb.base/info_sources_base.c: Likewise.
3356
8a516164
TT
33572019-09-10 Tom Tromey <tromey@adacore.com>
3358
3359 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3360
aa391654
TT
33612019-09-10 Tom Tromey <tromey@adacore.com>
3362
3363 * gdb.ada/dgopt.exp: New file.
3364 * gdb.ada/dgopt/x.adb: New file.
3365
8634b462
TT
33662019-09-08 Tom Tromey <tom@tromey.com>
3367
3368 * gdb.tui/resize.exp: Remove setup_xfail.
3369 * gdb.tui/regs.exp: Remove setup_xfail.
3370 * gdb.tui/basic.exp: Remove setup_xfail.
3371
736b0f76
DB
33722019-09-06 David Blaikie <dblaikie@gmail.com>
3373
3374 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3375 * gdb.cp/cplabel.exp: Ditto.
3376 * gdb.linespec/ls-errs.exp: Ditto.
3377
30331a6c
TV
33782019-09-05 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/gdb.exp (cmp_file_string): New proc.
3381 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3382 runto_main. Verify save breakpoints output.
3383
98b0ebab
PW
33842019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3385
3386 * gdb.base/info-var.exp: Test info variables without running
3387 to main, to avoid expect's buffer overflow.
3388
4e962e74
TT
33892019-09-03 Tom Tromey <tromey@adacore.com>
3390
3391 * gdb.ada/bias.exp: New file.
3392 * gdb.ada/bias/bias.adb: New file.
3393 * gdb.ada/print_chars.exp: Add regression test.
3394 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3395 (MC): New variable.
3396
2ea1a07a
SL
33972019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3398
3399 * gdb.base/argv0-symlink.exp: Run only on native target
3400 and local host.
3401
8077c50d
TV
34022019-08-29 Tom de Vries <tdevries@suse.de>
3403
3404 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3405 diverse debug info.
3406 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3407
48352473
TV
34082019-08-28 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.base/info-var.exp: Allow info variables to print info for files
3411 other than info-var-f1.c and info-var-f2.c.
3412
d8f27c60
AB
34132019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.fortran/info-types.exp: Add module.
3416 * gdb.fortran/info-types.f90: Update expected results.
3417
1f20c35e
AB
34182019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * gdb.fortran/info-types.exp: New file.
3421 * gdb.fortran/info-types.f90: New file.
3422 * lib/fortran.exp (fortran_character1): New proc.
3423
4acfdd20
AB
34242019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3427 functions'. Reindent as needed.
3428 * gdb.base/info-var-f1.c: New file.
3429 * gdb.base/info-var-f2.c: New file.
3430 * gdb.base/info-var.exp: New file.
3431 * gdb.base/info-var.h: New file.
3432
5c31b358
TV
34332019-08-26 Tom de Vries <tdevries@suse.de>
3434
3435 PR c++/24852
3436 * gdb.cp/no-libstdcxx-probe.exp: New test.
3437
b694989f
TV
34382019-08-26 Tom de Vries <tdevries@suse.de>
3439
3440 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3441 * tests need to be skipped.
3442 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3443 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3444 mi_skip_libstdcxx_probe_tests.
3445
d9c4ba53
SDJ
34462019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3447
3448 * gdb.python/py-xmethods.exp: Use raw strings when passing
3449 arguments to SimpleXMethodMatcher.
3450
395fad09
TV
34512019-08-22 Tom de Vries <tdevries@suse.de>
3452
3453 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3454 more informative.
3455
26c957f1
PA
34562019-08-21 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.base/with.exp: Test "with" with no arguments.
3459
61f80d5d
TV
34602019-08-21 Tom de Vries <tdevries@suse.de>
3461
3462 * gdb.base/gdb-caching-proc.exp: Sort files.
3463
d7a11d13
TV
34642019-08-20 Tom de Vries <tdevries@suse.de>
3465
3466 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3467 compilation.
3468
34dafe9f
TV
34692019-08-16 Tom de Vries <tdevries@suse.de>
3470
3471 * gdb.base/compare-sections.exp ("after run to main"): Allow
3472 mismatched read-only sections for PIE executables.
3473
398fdd60
TT
34742019-08-16 Tom Tromey <tom@tromey.com>
3475
3476 * lib/tuiterm.exp (_csi_Z): New proc.
3477 * gdb.tui/basic.exp: Update window positions.
3478 * gdb.tui/empty.exp: Update window positions.
3479
d8f9e51c
SL
34802019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3481
3482 * gdb.base/examine-backward.exp: Correct regexp for
3483 "examine 3 bytes backward from ${address_zero}".
3484
3df505f6
TT
34852019-08-15 Tom Tromey <tom@tromey.com>
3486
3487 * gdb.tui/empty.exp: Enable resizing tests.
3488
272560b5
TT
34892019-08-15 Tom Tromey <tromey@adacore.com>
3490
3491 * gdb.ada/char_enum.exp: Add regression tests.
3492 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3493 and '0'.
3494 (Char, Gchar): Update.
3495 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3496
08235187
CB
34972019-08-15 Christian Biesinger <cbiesinger@google.com>
3498
3499 * gdb.python/python.exp: Expect a leading underscore on
3500 GdbOutput{,Error}File.
3501
22a2ab04
SL
35022019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3503
3504 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3505 Windows host.
3506
835b995b
SL
35072019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3508
3509 * gdb.base/batch-preserve-term-settings.exp
3510 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3511
97dd8e07
CB
35122019-08-15 Christian Biesinger <cbiesinger@google.com>
3513
3514 * lib/gdb.exp: When running on a mingw target, replace
3515 /x/ with x:/.
3516
75faf5c4
AH
35172019-08-14 Alan Hayward <alan.hayward@arm.com>
3518
3519 * gdb.arch/aarch64-prologue.c: New test.
3520 * gdb.arch/aarch64-prologue.exp: New file.
3521
abc6c00f
TV
35222019-08-13 Tom de Vries <tdevries@suse.de>
3523
3524 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3525 Thread.
3526
74c2c1f4
SL
35272019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3528
3529 * gdb.python/py-completion.exp: Download the .py file to the host
3530 and use its host pathname. Conditionalize tests that use
3531 tab completion and manipulate files on the build machine.
3532 * gdb.python/py-events.exp: Download the .py file to the host
3533 and use its host pathname.
3534 * gdb.python/py-evsignal.exp: Likewise.
3535 * gdb.python/py-evthreads.exp: Likewise.
3536 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3537 pathname syntax.
3538 * gdb.python/py-framefilter.exp: Download the .py file to the right
3539 place on the host. Match Windows pathname syntax.
3540 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3541 .py file to the host and use its host pathname.
3542 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3543 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3544 build pathname. Skip symlink test on Windows host. Add missing
3545 newline at end of file.
3546 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3547 and use its host pathname.
3548 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3549 * gdb.python/py-section-script.exp: Use host location of binfile
3550 on safe-path. Use correct path separator on Windows host.
3551 Reorder alternatives in gdb_test_multiple to prevent matching
3552 the wrong alternative on success.
3553 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3554
ca2589f3
PP
35552019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3556
3557 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3558 expect the GDB inferior to no longer immediately stop after
3559 being resumed with "signal SIGINT".
3560
020a839d
SL
35612019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3562
3563 * gdb.linespec/break-ask.exp: Generalize regexps to match
3564 Windows pathnames too.
3565
128d6509
TV
35662019-08-08 Tom de Vries <tdevries@suse.de>
3567
3568 PR testsuite/24862
3569 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3570
590042fc
PW
35712019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3572
3573 * gdb.base/style.exp: Update tests for help doc new invariants.
3574 * gdb.base/help.exp: Likewise.
3575
046bebe1
TT
35762019-08-06 Tom Tromey <tom@tromey.com>
3577
3578 * gdb.base/style.exp: Add disassemble test.
3579 * gdb.base/style.c (some_called_function): New function.
3580 (main): Use it.
3581
0b27c27d
CB
35822019-08-05 Christian Biesinger <cbiesinger@google.com>
3583
3584 * gdb.python/py-block.exp: Test dictionary access on blocks.
3585
580f1034
SM
35862019-08-05 Simon Marchi <simon.marchi@efficios.com>
3587
3588 PR gdb/24863
3589 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3590 -list-thread-groups --available test when running under
3591 check-read1.
3592
d86bd7cb
TV
35932019-08-05 Tom de Vries <tdevries@suse.de>
3594
3595 PR testsuite/24863
3596 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3597 * gdb.base/help.exp: Use with_read1_timeout_factor.
3598 * gdb.base/info-macros.exp: Same.
3599 * gdb.cp/nested-types.exp: Same.
3600
a80cf5d8
TV
36012019-08-05 Tom de Vries <tdevries@suse.de>
3602
3603 * lib/gdb.exp (version_at_least): Factor out of ...
3604 (tcl_version_at_least): ... here.
3605 (gdb_compile): Fail if pie results in non-PIE executable.
3606 (readelf_version, readelf_prints_pie): New proc.
3607 (exec_is_pie): Return -1 if unknown.
3608
d0962838
TV
36092019-08-05 Tom de Vries <tdevries@suse.de>
3610
3611 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3612
2252ff3d
SL
36132019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3614
3615 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3616
26655f53
SL
36172019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3618
3619 * lib/completion-support.exp (test_gdb_complete_none): Skip
3620 tab completion tests if no readline support.
3621 (test_gdb_complete_unique_re): Likewise.
3622 (test_gdb_complete_multiple): Likewise.
3623
db4dc13e
PW
36242019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3625
3626 * gdb.base/info_sources.exp: New file.
3627 * gdb.base/info_sources.c: New file.
3628 * gdb.base/info_sources_base.c: New file.
3629
0eba165a
PFC
36302019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3631
3632 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3633 prefix argument.
3634 (test_exit_status): Add prefix argument.
3635
59bd512b
TV
36362019-08-01 Tom de Vries <tdevries@suse.de>
3637
3638 PR testsuite/24863
3639 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3640 calling exp_continue for new thread and thread exited messages.
3641
2a3ad588
TV
36422019-08-01 Tom de Vries <tdevries@suse.de>
3643
3644 PR testsuite/24863
3645 * gdb.base/structs.exp: Fix check-read1 timeout using
3646 gdb_test_sequence.
3647 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3648
117eb594
TV
36492019-08-01 Tom de Vries <tdevries@suse.de>
3650
3651 PR testsuite/24863
3652 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3653 line.
3654
ed591340
TV
36552019-08-01 Tom de Vries <tdevries@suse.de>
3656
3657 PR testsuite/24863
3658 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3659
aa3b6533
TT
36602019-07-30 Tom Tromey <tromey@adacore.com>
3661
3662 * gdb.ada/display_nested.exp: New file.
3663 * gdb.ada/display_nested/foo.adb: New file.
3664 * gdb.ada/display_nested/pack.adb: New file.
3665 * gdb.ada/display_nested/pack.ads: New file.
3666
2906593f
CB
36672019-07-30 Christian Biesinger <cbiesinger@google.com>
3668
3669 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3670 namespace.
3671 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3672
0f575925
TV
36732019-07-30 Tom de Vries <tdevries@suse.de>
3674
3675 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3676 instead.
3677
b13057d9
TV
36782019-07-30 Tom de Vries <tdevries@suse.de>
3679
3680 PR testsuite/24834
3681 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3682 (exec_is_pie): New proc.
3683
5c4dde85
CB
36842019-07-29 Christian Biesinger <cbiesinger@google.com>
3685
3686 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3687
c620ed88
CB
36882019-07-29 Christian Biesinger <cbiesinger@google.com>
3689
3690 * gdb.python/py-objfile.c: Add global and static vars.
3691 * gdb.python/py-objfile.exp: Test new functions Objfile.
3692 lookup_global_symbol and lookup_static_symbol.
3693
3d235706
TT
36942019-07-29 Tom Tromey <tom@tromey.com>
3695
3696 * lib/tuiterm.exp (Term::_csi_@): New proc.
3697 (Term::_csi_X): Don't move cursor.
3698
c7e4c0a6
PW
36992019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3700
3701 * gdb.base/options.exp: Update backtrace - completion to
3702 new option -frame-info.
3703 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3704 Test new 'set print frame-info'. Test backtrace -frame-info
3705 overriding 'set print frame-info'.
3706 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3707 Test new 'set print frame-info'.
3708 Verify consistency of backtrace with and without filters, with and
3709 without -no-filters.
3710 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3711 default.
3712
de28a3b7
TV
37132019-07-29 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3716 no arguments".
3717
507dd60e
TV
37182019-07-29 Tom de Vries <tdevries@suse.de>
3719
3720 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3721 is a substring of the first for "complete non-unique file name".
3722
5beafce9
TV
37232019-07-29 Tom de Vries <tdevries@suse.de>
3724
3725 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3726 with ".*".
3727
2d274232
TV
37282019-07-29 Tom de Vries <tdevries@suse.de>
3729
3730 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3731 Pass prompt_regexp parameter to gdb_test_multiple calls.
3732
9197cd8b
TV
37332019-07-29 Tom de Vries <tdevries@suse.de>
3734
3735 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3736 print registers" regexps.
9197cd8b 3737
b528dae0
TV
37382019-07-29 Tom de Vries <tdevries@suse.de>
3739
3740 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3741
d17725d7
TV
37422019-07-29 Tom de Vries <tdevries@suse.de>
3743
3744 PR gdb/24855
3745 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3746 (skip_python_tests_prompt): Add prompt_regexp argument to
3747 gdb_test_multiple calls.
3748
52b75bf1
TT
37492019-07-27 Tom Tromey <tom@tromey.com>
3750
3751 * gdb.tui/main.exp: New file.
3752
2b1d00c2
TT
37532019-07-27 Tom Tromey <tom@tromey.com>
3754
3755 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3756 optional.
3757 * gdb.tui/empty.exp: New file.
3758
ded631d5
TT
37592019-07-27 Tom Tromey <tom@tromey.com>
3760
3761 * lib/tuiterm.exp (spawn): New proc.
3762 (Term::resize): New proc.
3763 * gdb.tui/resize.exp: New file.
3764
58ac439d
TT
37652019-07-27 Tom Tromey <tom@tromey.com>
3766
3767 * gdb.tui/list.exp: New file.
3768
fe1f56ee
TT
37692019-07-27 Tom Tromey <tom@tromey.com>
3770
3771 * gdb.tui/regs.exp: New file.
3772
f790b310
TT
37732019-07-27 Tom Tromey <tom@tromey.com>
3774
3775 * gdb.tui/basic.exp: Add "layout split" test.
3776
d95fc6ee
TT
37772019-07-27 Tom Tromey <tom@tromey.com>
3778
3779 * gdb.tui/basic.exp: Add "layout asm" test.
3780
c3786b3a
TT
37812019-07-27 Tom Tromey <tom@tromey.com>
3782
3783 * lib/tuiterm.exp: New file.
3784 * gdb.tui/basic.exp: New file.
3785
98a617f8
KB
37862019-07-27 Kevin Buettner <kevinb@redhat.com>
3787
3788 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3789 Enable tests associated with this flag. Adjust regex
3790 referencing "foo_low" to now refer to "foo_cold" instead.
3791
5c076da4
KB
37922019-07-27 Kevin Buettner <kevinb@redhat.com>
3793
3794 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3795 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3796 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3797 foo_cold. Revise comments to match.
3798 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3799 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3800 were wrapped into this proc; Call do_test in loop from outermost
3801 level.
3802 (foo_low): Rename all occurrences to "foo_cold".
3803 (backtrace from baz): New test.
3804 (x2/i foo_cold): New test.
3805 (info line *foo_cold): New test.
3806
1512d3b7
TV
38072019-07-26 Tom de Vries <tdevries@suse.de>
3808
3809 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3810
297989a1
TV
38112019-07-25 Tom de Vries <tdevries@suse.de>
3812
3813 PR testsuite/24830
3814 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3815 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3816 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3817 (skip_libstdcxx_probe_tests): ... here.
3818 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3819
b3b965fb
TV
38202019-07-24 Tom de Vries <tdevries@suse.de>
3821
3822 PR testsuite/24807
3823 * gdb.objc/basicclass.m: Include stdio.h.
3824 * gdb.objc/nondebug.m: Same.
3825 * gdb.objc/objcdecode.m: Same.
3826
4625b4d0
TV
38272019-07-24 Tom de Vries <tdevries@suse.de>
3828
3829 PR testsuite/24612
3830 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3831 additional_flags.
3832
024a5840
TV
38332019-07-24 Tom de Vries <tdevries@suse.de>
3834
3835 PR testsuite/24831
3836 * gdb.multi/tids.exp: Update error messages for info threads.
3837
c76ddaa3
TV
38382019-07-24 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.base/info-types.exp: Allow info types to print info for more than
3841 one file.
3842
9a618ef6
TV
38432019-07-23 Tom de Vries <tdevries@suse.de>
3844
3845 PR testsuite/24842
3846 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3847 gdb_spawn_with_cmdline_opts.
3848
40eadf04
SP
38492019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3850
3851 * gdb.arch/arm-cmse-sgstubs.c: New test.
3852 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3853
5ba29434
TV
38542019-07-23 Tom de Vries <tdevries@suse.de>
3855
3856 PR testsuite/24711
3857 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3858 issuing next command.
3859
a8e9d247
AB
38602019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.ada/info_auto_lang.exp: Update expected results.
3863 * gdb.base/info-types.c: Add additional types to check.
3864 * gdb.base/info-types.exp: Update expected results.
3865
eb86c5e2
AB
38662019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.base/info-types.c: New file.
3869 * gdb.base/info-types.exp: New file.
3870
01e175fe
AB
38712019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3872
3873 * gdb.arch/riscv-bp-infcall.c: New file.
3874 * gdb.arch/riscv-bp-infcall.exp: New file.
3875
6b78c3f8
AB
38762019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3877
3878 PR breakpoints/24541
3879 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3880
da738167
TV
38812019-07-14 Tom de Vries <tdevries@suse.de>
3882
3883 PR testsuite/24760
3884 * gdb.objc/basicclass.exp: Fix unterminated string.
3885
0d4e84ed
AB
38862019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3887 Andrew Burgess <andrew.burgess@embecosm.com>
3888
3889 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3890 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3891 negative bounds.
3892 * gdb.fortran/vla-value.exp: Print elements of an array with
3893 negative bounds.
3894 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3895 testing.
3896
021d8588
AB
38972019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3898
3899 * gdb.base/options.exp (expect_string): Dequote strings in
3900 results.
3901 (test-string): Test strings with different quoting and reindent.
3902
f06f1252
TT
39032019-07-10 Tom Tromey <tromey@adacore.com>
3904
3905 * gdb.ada/mi_ex_cond.exp: Update expected results.
3906 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3907 * gdb.ada/mi_catch_ex.exp: Update expected results.
3908 * gdb.ada/mi_catch_assert.exp: Update expected results.
3909 * gdb.ada/catch_ex.exp (catch_exception_info)
3910 (catch_exception_entry, catch_assert_entry)
3911 (catch_unhandled_entry): Update.
3912 * gdb.ada/catch_assert_if.exp: Update expected results.
3913
b863685d
RB
39142019-07-10 Richard Bunt <richard.bunt@arm.com>
3915 Stephen Roberts <stephen.roberts@arm.com>
3916
3917 * gdb.base/define.exp: Restore original prompt.
3918
cb1e4e32
PA
39192019-07-09 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3922 breakpoints" output.
3923 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3924 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3925 throw" creates breakpoint.
3926 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3927 'type="catchpoint"'.
3928
b58a68fe
PA
39292019-07-09 Pedro Alves <palves@redhat.com>
3930
3931 PR c++/15468
3932 * gdb.cp/except-multi-location-lib.cc: New.
3933 * gdb.cp/except-multi-location-main.cc: New.
3934 * gdb.cp/except-multi-location.exp: New.
3935
0826779b
PW
39362019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3937
3938 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3939 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3940 argument and update callers.
3941
5b0e2db4
AB
39422019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3943
3944 * gdb.arch/amd64-break-on-asm-line.S: New file.
3945 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3946
1f6f6e21
PW
39472019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3948
3949 * gdb.base/printcmds.exp: Test printing C string and
3950 C wide string convenience vars without transiting via the inferior.
3951 Also make test names unique.
3952
ea142fbf
AH
39532019-07-08 Alan Hayward <alan.hayward@arm.com>
3954
5862c886 3955 PR breakpoints/25011
ea142fbf
AH
3956 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3957
213fd9fa
PA
39582019-07-04 Pedro Alves <palves@redhat.com>
3959
3960 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3961 body returned ok(0), break(3) or continue(4).
3962 * gdb.testsuite/foreach_with_prefix.exp: New file.
3963
2b40fda7
AH
39642019-07-04 Alan Hayward <alan.hayward@arm.com>
3965
3966 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3967
a26c8de0
PA
39682019-07-03 Pedro Alves <palves@redhat.com>
3969
3970 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3971 "return -code".
3972
5f4ba3e7
PA
39732019-07-03 Pedro Alves <palves@redhat.com>
3974
3975 PR cli/24732
3976 * gdb.base/shell.exp: Load completion-support.exp.
3977 Adjust expected error output. Add completion tests.
3978
a994424f
PA
39792019-07-03 Pedro Alves <palves@redhat.com>
3980
3981 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3982 string_to_regexp.
3983
3d9be6f5
PA
39842019-07-03 Pedro Alves <palves@redhat.com>
3985
3986 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3987 (expect_integer): Adjust to expect "-string".
3988 (expect_string): New.
3989 (all_options): Expect "-string".
3990 (test-flag, test-boolean): Adjust to expect "-string".
3991 (test-string): New proc.
3992 (top level): Call it.
3993
41fc454c
PA
39942019-07-03 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3997 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3998 the expected output in the success.
3999
b2b2a215
PA
40002019-07-03 Pedro Alves <palves@redhat.com>
4001
4002 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4003 Split one gdb_test_multiple call in two to avoid a race.
4004
fdbc9870
PA
40052019-07-03 Pedro Alves <palves@redhat.com>
4006
4007 * gdb.base/with.c: New file.
4008 * gdb.base/with.exp: New file.
4009
c6ac8931
PA
40102019-07-03 Pedro Alves <palves@redhat.com>
4011
4012 * gdb.base/settings.exp: Replace all references to "maint
4013 test-settings set" with references to "maint set test-settings",
4014 and all references to "maint test-settings show" with references
4015 to "maint show test-settings".
4016
970f9d09
PA
40172019-07-03 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.base/settings.exp (test-string): Adjust expected out when
4020 testing "maint test-settings show filename"
4021
54d66006
PA
40222019-07-02 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/options.exp (test-info-threads): New procedure.
4025 (top level): Call it.
4026
10d06d82
TT
40272019-06-28 Tom Tromey <tromey@adacore.com>
4028
4029 * gdb.dwarf2/ada-linkage-name.c: New file.
4030 * gdb.dwarf2/ada-linkage-name.exp: New file.
4031
3d507ff2
TT
40322019-06-27 Tom Tromey <tromey@adacore.com>
4033
d039f014 4034 PR c++/20020:
3d507ff2
TT
4035 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4036
8af58ffe
TV
40372019-06-26 Tom de Vries <tdevries@suse.de>
4038
4039 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4040
22e21752
TV
40412019-06-26 Tom de Vries <tdevries@suse.de>
4042
4043 * gdb.base/index-cache.exp: Add back missing debug option.
4044
b65b566c
PW
40452019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4046
4047 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4048
5c2c8c69
TV
40492019-06-25 Tom de Vries <tdevries@suse.de>
4050
4051 PR testsuite/24727
4052 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4053
164e3873
TV
40542019-06-24 Tom de Vries <tdevries@suse.de>
4055
4056 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4057
824eacee
TV
40582019-06-24 Tom de Vries <tdevries@suse.de>
4059
4060 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4061 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4062 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4063
385b97d3
TV
40642019-06-24 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4067
c596f180
TV
40682019-06-21 Tom de Vries <tdevries@suse.de>
4069
4070 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4071
b13a7d03
TV
40722019-06-21 Tom de Vries <tdevries@suse.de>
4073
4074 PR testsuite/24518
4075 PR ada/24713
4076 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4077 index.
4078
899277ae
TT
40792019-06-19 Tom Tromey <tromey@adacore.com>
4080
4081 * gdb.ada/length_cond.exp: Add intro comment.
4082
680e1bee
TT
40832019-06-19 Tom Tromey <tromey@adacore.com>
4084
4085 * gdb.ada/length_cond.exp: New file.
4086 * gdb.ada/length_cond/length_cond.adb: New file.
4087 * gdb.ada/length_cond/pck.adb: New file.
4088 * gdb.ada/length_cond/pck.ads: New file.
4089
0ed4690a
TV
40902019-06-18 Tom de Vries <tdevries@suse.de>
4091
4092 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4093
d20ed5fd
TT
40942019-06-18 Tom Tromey <tromey@adacore.com>
4095
4096 * gdb.base/list0.h: Add comment explaining control character.
4097
86e04673
TV
40982019-06-18 Tom de Vries <tdevries@suse.de>
4099
4100 * boards/fission.exp: Break up long debug_flags line.
4101
c4973306
SM
41022019-06-16 Tom de Vries <tdevries@suse.de>
4103
4104 PR gdb/24445
4105 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4106 generated index.
4107
93cb9841
AB
41082019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4109
4110 PR gdb/24686
4111 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4112 improve detection of bug gdb/24541.
4113
399aaebd
SM
41142019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4115
4116 PR gdb/24669
4117 * gdb.base/index-cache.exp (uses_readnow,
4118 expecting_index_cache_use): Define global variable.
4119 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4120 expecting_index_cache_use.
4121
584a927c
AB
41222019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4123 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.fortran/pointers.f90: New file.
4126 * gdb.fortran/print_type.exp: New file.
4127 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4128 * gdb.fortran/vla-type.exp: Likewise.
4129 * gdb.fortran/vla-value.exp: Likewise.
4130 * gdb.mi/mi-vla-fortran.exp: Likewise.
4131
30056ea0
AB
41322019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4135 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4136 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4137 as a stop reason.
4138
ec8e2b6d
AB
41392019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4140
4141 * gdb.base/annota1.exp: Update expected results.
4142 * gdb.cp/annota2.exp: Likewise.
4143 * gdb.cp/annota3.exp: Likewise.
4144
09e4c4e1
AB
41452019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4146
4147 * gdb.base/style-logging.exp: Remove path from test name.
4148
0735b091
TT
41492019-06-14 Tom Tromey <tromey@adacore.com>
4150
4151 PR gdb/24502:
4152 * gdb.base/style-logging.exp: New file.
4153
f5686554
TT
41542019-06-14 Tom Tromey <tromey@adacore.com>
4155
4156 * gdb.base/symfile-warn.exp: New file.
4157 * gdb.base/symfile-warn.c: New file.
4158
a0c1ffed
TT
41592019-06-14 Tom Tromey <tromey@adacore.com>
4160
4161 * gdb.base/annotate-symlink.exp: New file.
4162
f411722c
TT
41632019-06-14 Tom Tromey <tromey@adacore.com>
4164
4165 * gdb.ada/set_wstr.exp: Add reassignment test.
4166
4268ec18
TT
41672019-06-14 Tom Tromey <tromey@adacore.com>
4168
4169 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4170 'unchecked_access and 'unrestricted_access as well.
4171
9a9e394b
TT
41722019-06-14 Tom Tromey <tromey@adacore.com>
4173
4174 PR ada/24539:
4175 * gdb.ada/vla.exp: Update tests.
4176 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4177 pragma.
4178
4c048731
PA
41792019-06-13 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/settings.exp (test-integer): Test junk after
4182 "unlimited".
4183
6665660a
PA
41842019-06-13 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/options.exp (test-thread-apply): New.
4187 (top level): Call it.
4188
5d707134
PA
41892019-06-13 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.base/options.exp (test-frame-apply): New.
4192 (top level): Test print commands with different "frame apply"
4193 prefixes.
4194
e2a689da
PA
41952019-06-13 Pedro Alves <palves@redhat.com>
4196
e79be6e5 4197 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4198 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4199 'max_completions' parameter and handle it.
4200 (test_gdb_completion_offers_commands): New.
4201
90a1ef87
PA
42022019-06-13 Pedro Alves <palves@redhat.com>
4203
4204 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4205
d4c16835
PA
42062019-06-13 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.base/options.exp (test-backtrace): New.
4209 (top level): Call it.
4210
2daf894e
PA
42112019-06-13 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.guile/scm-frame-args.exp: Use "set print
4214 raw-frame-arguments" instead of "set print raw frame-arguments".
4215 * gdb.python/py-frame-args.exp: Likewise.
4216
e6ed716c
PA
42172019-06-13 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.compile/compile.exp: Adjust expected output to option
4220 processing changes.
4221
7d8062de
PA
42222019-06-13 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.base/options.exp: Build executable.
4225 (test-print): New procedure.
4226 (top level): Call it, once for "print" and another for "compile
4227 print".
4228
9d0faba9
PA
42292019-06-13 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.base/options.c: New file.
4232 * gdb.base/options.exp: New file.
4233
dee7b4c8
PA
42342019-06-13 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4237 that "o" is ambiguous.
4238
dca0f6c0
PA
42392019-06-13 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.base/settings.c: New file.
4242 * gdb.base/settings.exp: New file.
4243
ccf46844
PA
42442019-06-13 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/completion.exp: Fix comment typo.
4247
b9a3f842
PA
42482019-06-13 Pedro Alves <palves@redhat.com>
4249
4250 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4251 foo --1" test.
4252
d106773e
PA
42532019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4254
4255 * gdb.fortran/block-data.f: New.
4256 * gdb.fortran/block-data.exp: New.
4257
fea82da0
TV
42582019-06-11 Tom de Vries <tdevries@suse.de>
4259
4260 PR testsuite/24521
4261 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4262 message.
4263
8c2e74f1
TV
42642019-06-11 Tom de Vries <tdevries@suse.de>
4265
4266 PR testsuite/24521
4267 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4268
b49851c8
TV
42692019-06-11 Tom de Vries <tdevries@suse.de>
4270
4271 * boards/readnow.exp: New file.
4272
a7067863
AB
42732019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4274
4275 * gdb.fortran/vla-sizeof.exp: Update expected results.
4276
1a3da2cd
AB
42772019-06-06 Amos Bird <amosbird@gmail.com>
4278
4279 * gdb.base/annota1.exp (thread_switch): Add test for
4280 thread-exited annotation.
4281
3847a7bf
TT
42822019-06-06 Tom Tromey <tromey@adacore.com>
4283
4284 * gdb.base/maint.exp: Expect command started/finished output.
4285
0088ba59
AB
42862019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4287
4288 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4289 comment.
4290 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4291
312617a3
AB
42922019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4295 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4296 * gdb.arch/riscv-unwind-long-insn.c: New file.
4297 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4298
e1f2e1a2
CB
42992019-06-04 Christian Biesinger <cbiesinger@google.com>
4300
d3238f7d 4301 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4302
206584bd
PW
43032019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4304
4305 * lib/gdb.exp (help_list_trailer): New regexp variable
4306 factorizing the help trailer message.
4307 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4308 arg to allow to better factorize various tests.
4309 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4310 (test_prefix_command_help): Use help_list_trailer.
4311 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4312 * gdb.guile/scm-cmd.exp: Likewise.
4313 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4314 * gdb.base/help.exp: Use test_user_defined_class_help.
4315 * gdb.base/style.exp: Add tests for styling of help and apropos.
4316 * lib/gdb-utils.exp (style): Add title and highlight styles.
4317
708dc93e
PW
43182019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4319
4320 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4321 $_shell_exitsignal.
4322 * gdb.base/default.exp: Update for new convenience variables.
4323
f49055a5
TT
43242019-05-29 Tom Tromey <tromey@adacore.com>
4325
4326 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4327 to "break complete ada" test case's regexp.
4328
4330d61d
TT
43292019-05-29 Tom Tromey <tromey@adacore.com>
4330
4331 PR c++/20020:
4332 * gdb.cp/constexpr-field.exp: New file.
4333 * gdb.cp/constexpr-field.cc: New file.
4334
000439d5
TT
43352019-05-29 Tom Tromey <tromey@adacore.com>
4336
4337 * gdb.base/finish.exp (finish_no_print): New proc.
4338 (finish_tests): Call it.
4339
5a01c34c
TV
43402019-05-24 Tom de Vries <tdevries@suse.de>
4341
4342 * gdb.dwarf2/gdb-add-index.exp: New file.
4343
18125b16
TT
43442019-05-22 Tom Tromey <tromey@adacore.com>
4345
4346 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4347 * gdb.base/style.exp: Use "style".
4348 * lib/gdb-utils.exp (style): New proc.
4349
af1a8d03
TV
43502019-05-22 Tom de Vries <tdevries@suse.de>
4351
4352 * gdb.base/align.exp: Require c++11.
4353
e7fe496b
TV
43542019-05-22 Tom de Vries <tdevries@suse.de>
4355
4356 PR testsuite/24586
4357 * gdb.python/py-mi-var-info-path-expression.exp: Call
4358 mi_skip_python_tests to check if python is supported.
4359
8fca4da0
AH
43602019-05-22 Alan Hayward <alan.hayward@arm.com>
4361
4362 * gdb.arch/aarch64-pauth.c: New test.
4363 * gdb.arch/aarch64-pauth.exp: New file.
4364
b7060614
AH
43652019-05-22 Alan Hayward <alan.hayward@arm.com>
4366
4367 * README (Re-running Tests Outside The Testsuite): New section.
4368
669d0468
TV
43692019-05-21 Tom de Vries <tdevries@suse.de>
4370
4371 * gdb.arch/amd64-eval.exp: Require c++11.
4372 * gdb.base/max-depth.exp: Same.
4373 * gdb.compile/compile-cplus-array-decay.exp: Same.
4374 * gdb.cp/meth-typedefs.exp: Same.
4375 * gdb.cp/subtypes.exp: Same.
4376 * gdb.cp/temargs.exp: Same.
4377
ce3ebcaa
AH
43782019-05-21 Alan Hayward <alan.hayward@arm.com>
4379
4380 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4381
34d11c68
AB
43822019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4383
4384 PR gdb/18644
4385 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4386 * gdb.fortran/printing-types.exp: Add new test.
4387 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4388 testing.
4389 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4390 setup_kfail call.
4391
87781e84
AH
43922019-05-17 Alan Hayward <alan.hayward@arm.com>
4393
4394 * README (Running the Testsuite): Change example.
4395 (Testsuite Parameters): Remove TRANSCRIPT.
4396 * lib/gdb.exp: Remove TRANSCRIPT check.
4397
b420b89e
AH
43982019-05-17 Alan Hayward <alan.hayward@arm.com>
4399
4400 * README (Testsuite Parameters): Add replay logging to
4401 GDBSERVER_DEBUG.
4402 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4403 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4404 as a comma separated list.
4405 (gdb_debug_init): Override procedure.
4406
408e9b8b
AH
44072019-05-17 Alan Hayward <alan.hayward@arm.com>
4408
4409 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4410 (gdb_write_cmd_file): New procedure.
4411 * lib/gdbserver-support.exp (gdbserver_start): Call
4412 gdbserver_write_cmd_file.
4413 (gdbserver_write_cmd_file): New procedure.
4414
f9e2e39d
AH
44152019-05-17 Alan Hayward <alan.hayward@arm.com>
4416
4417 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4418 (delete_breakpoints): Likewise.
4419 (gdb_run_cmd): Likewise.
4420 (gdb_start_cmd): Likewise.
4421 (gdb_starti_cmd): Likewise.
4422 (gdb_internal_error_resync): Likewise.
4423 (gdb_test_multiple): Likewise.
4424 (gdb_reinitialize_dir): Likewise.
4425 (default_gdb_exit): Likewise.
4426 (gdb_file_cmd): Mark kill as optional.
4427 (default_gdb_start): Call gdb_stdin_log_init.
4428 (send_gdb): Call gdb_stdin_log_write.
4429 (rerun_to_main): Mark Y as an answer.
4430 (gdb_stdin_log_init): New function.
4431 (gdb_stdin_log_write): Likewise.
4432
81f47ac2
AH
44332019-05-17 Alan Hayward <alan.hayward@arm.com>
4434
4435 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4436 * gdb.base/debug-expr.exp: Likewise.
4437 * gdb.base/foll-fork.exp: Likewise.
4438 * gdb.base/foll-vfork.exp: Likewise.
4439 * gdb.base/fork-print-inferior-events.exp: Likewise.
4440 * gdb.base/gdb-sigterm.exp: Likewise.
4441 * gdb.base/gdbinit-history.exp: Likewise.
4442 * gdb.base/osabi.exp: Likewise.
4443 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4444 * gdb.base/ui-redirect.exp: Likewise.
4445 * gdb.gdb/unittest.exp: Likewise.
4446 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4447 * gdb.mi/mi-watch.exp: Likewise.
4448 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4449 * gdb.mi/user-selected-context-sync.exp: Likewise.
4450 * gdb.python/python.exp: Disable debug test when debugging.
4451 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4453 Likewise.
4454 * gdb.threads/stepi-random-signal.exp: Likewise.
4455
29b52314
AH
44562019-05-17 Alan Hayward <alan.hayward@arm.com>
4457
4458 * Makefile.in: Pass through GDB_DEBUG.
4459 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4460 (gdb,debug): Add board setting.
4461 * lib/gdb.exp (default_gdb_start): Start debugging.
4462 (gdb_debug_enabled): New procedure.
4463 (gdb_debug_init): Likewise.
29b52314
AH
4464
44652019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4466
29b52314
AH
4467 * Makefile.in: Pass through GDB_DEBUG.
4468 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4469 (gdb,debug): Add board setting.
4470 * lib/gdb.exp (default_gdb_start): Start debugging.
4471 (gdb_debug_enabled): New procedure.
4472 (gdb_debug_init): Likewise.
29b52314 4473
ca1285d1
AH
44742019-05-17 Alan Hayward <alan.hayward@arm.com>
4475
4476 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4477
f3a09c80
AH
44782019-05-17 Alan Hayward <alan.hayward@arm.com>
4479
4480 * gdb.base/ui-redirect.exp: Test redirection.
4481
26648588
JV
44822019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4483
4484 * gdb.mi/mi-complete.exp: New file.
4485 * gdb.mi/mi-complete.cc: Likewise.
4486
14237686
AB
44872019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4488
4489 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4490 indexed and sliced arrays, and pointers to arrays.
4491
e7bd7fba
TT
44922019-05-14 Tom Tromey <tromey@adacore.com>
4493
4494 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4495 styling test.
4496
2764128d
TV
44972019-05-14 Tom de Vries <tdevries@suse.de>
4498
4499 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4500 selection entry encoding.
4501
71bed2db
TT
45022019-05-10 Tom Tromey <tromey@adacore.com>
4503
4504 * gdb.ada/info_exc.exp: Add "complete" test.
4505
63b667ad
TV
45062019-05-09 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4509 CU-relative.
4510
9cfd2b89
TV
45112019-05-09 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4514 CU-relative.
4515
2228ef77
XR
45162019-05-08 Joel Brobecker <brobecker@adacore.com>
4517
4518 * gdb.ada/frame_arg_lang.exp: New testcase.
4519 * gdb.ada/frame_arg_lang/bla.adb: New file.
4520 * gdb.ada/frame_arg_lang/pck.ads: New file.
4521 * gdb.ada/frame_arg_lang/pck.adb: New file.
4522 * gdb.ada/frame_arg_lang/foo.c: New file.
4523
80e55b13
TT
45242019-05-08 Tom Tromey <tromey@adacore.com>
4525
4526 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4527
9d3421af
TT
45282019-05-08 Tom Tromey <tromey@adacore.com>
4529
4530 * gdb.base/ptype-offsets.exp: Update tests.
4531
844333e2
TT
45322019-05-08 Tom Tromey <tromey@adacore.com>
4533
4534 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4535 cases.
4536 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4537 "short".
4538
988915ee
TT
45392019-05-08 Tom Tromey <tromey@adacore.com>
4540
4541 * gdb.ada/vla.exp: New file.
4542 * gdb.ada/vla/vla.adb: New file.
4543
7bd55dac
TV
45442019-05-07 Tom de Vries <tdevries@suse.de>
4545
4546 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4547
75f06e9d
TV
45482019-05-07 Tom de Vries <tdevries@suse.de>
4549
4550 PR testsuite/24522
4551 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4552 section.
4553
77e7aaa4
TV
45542019-05-07 Tom de Vries <tdevries@suse.de>
4555
4556 PR testsuite/24522
4557 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4558 .debug_aranges section.
4559
456ba0fa
TV
45602019-05-07 Tom de Vries <tdevries@suse.de>
4561
4562 PR testsuite/24159
4563 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4564
5a56d6a6
TV
45652019-05-06 Tom de Vries <tdevries@suse.de>
4566
4567 * lib/gdb.exp (exec_has_index_section): New proc.
4568 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4569 section.
4570
9d6d4be8
TV
45712019-05-04 Tom de Vries <tdevries@suse.de>
4572
4573 * boards/cc-with-debug-names.exp: New file.
4574
222a8d25
TT
45752019-05-03 Tom Tromey <tromey@adacore.com>
4576
4577 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4578 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4579 * gdb.ada/char_enum.exp: Add test.
4580
0fdfd794
TV
45812019-05-03 Tom de Vries <tdevries@suse.de>
4582
4583 * boards/cc-with-gdb-index.exp: New file.
4584
80062eb9
AB
45852019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.rust/simple.exp: Add new test case.
4588 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4589 (main): Initialise an instance of the new struct.
4590
4504bbde
TT
45912019-05-01 Tom Tromey <tromey@adacore.com>
4592
4593 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4594 record.
4595 (NPR): New variable.
4596 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4597 test.
4598
d48e62f4
TT
45992019-05-01 Tom Tromey <tromey@adacore.com>
4600
4601 * gdb.ada/packed_array_assign.exp: Add packed assignment
4602 regression test.
4603
f59f30f5
TV
46042019-05-01 Tom de Vries <tdevries@suse.de>
4605
4606 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4607
b70bfc54
TV
46082019-05-01 Tom de Vries <tdevries@suse.de>
4609
4610 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4611
15f18d14
AT
46122019-04-30 Ali Tamur <tamur@google.com>
4613
4614 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4615
2ff0a947
TT
46162019-04-30 Tom Tromey <tromey@adacore.com>
4617
4618 * lib/ada.exp (find_ada_tool): New proc.
4619 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4620 * gdb.ada/catch_ex_std.exp: New file.
4621 * gdb.ada/catch_ex_std/foo.adb: New file.
4622 * gdb.ada/catch_ex_std/some_package.adb: New file.
4623 * gdb.ada/catch_ex_std/some_package.ads: New file.
4624
a776957c
TT
46252019-04-30 Tom Tromey <tromey@adacore.com>
4626
4627 PR c++/24470:
4628 * gdb.cp/temargs.cc: Add test code from PR.
4629
bc68014d
AB
46302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4631
4632 * gdb.fortran/vla-datatypes.exp: Update expected results.
4633 * gdb.fortran/vla-ptype.exp: Likewise.
4634 * gdb.fortran/vla-type.exp: Likewise.
4635 * gdb.fortran/vla-value.exp: Likewise.
4636
f1fdc960
AB
46372019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4638
4639 * gdb.fortran/ptr-indentation.exp: Update expected results.
4640 * gdb.fortran/ptype-on-functions.exp: Likewise.
4641 * gdb.fortran/vla-ptr-info.exp: Likewise.
4642 * gdb.fortran/vla-value.exp: Likewise.
4643
bf7a4de1
AB
46442019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4645
4646 * gdb.fortran/ptype-on-functions.exp: New file.
4647 * gdb.fortran/ptype-on-functions.f90: New file.
4648
bbe75b9d
AB
46492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4650
4651 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4652 case void string.
4653
1db455a7
AB
46542019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4655
4656 * gdb.fortran/complex.exp: Expand.
4657 * gdb.fortran/complex.f: Renamed to...
4658 * gdb.fortran/complex.f90: ...this, and extended to add more
4659 complex values.
4660
b6d03bb2
AB
46612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4664 MODULO, CMPLX.
4665
2e62ab40
AB
46662019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4667 Richard Bunt <richard.bunt@arm.com>
4668
4669 * gdb.base/max-depth.c: New file.
4670 * gdb.base/max-depth.exp: New file.
4671 * gdb.python/py-nested-maps.c: New file.
4672 * gdb.python/py-nested-maps.exp: New file.
4673 * gdb.python/py-nested-maps.py: New file.
4674 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4675 (test_all_common): Call test_max_depth.
4676 * gdb.fortran/max-depth.exp: New file.
4677 * gdb.fortran/max-depth.f90: New file.
4678 * gdb.go/max-depth.exp: New file.
4679 * gdb.go/max-depth.go: New file.
4680 * gdb.modula2/max-depth.exp: New file.
4681 * gdb.modula2/max-depth.c: New file.
4682 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4683
d2b584a5
TV
46842019-04-29 Tom de Vries <tdevries@suse.de>
4685
4686 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4687
136afab8
PW
46882019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4689
4690 * gdb.base/callexit.exp: Test may-call-functions off.
4691
725cbb63
KS
46922019-04-25 Keith Seitz <keiths@redhat.com>
4693
4694 PR c++/24367
4695 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4696 (another_incomplete_struct, test_incomplete): New definitions.
4697 (main): Use new definitions.
4698 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4699 functions.
4700
701adfb0
PA
47012019-04-25 Ali Tamur <tamur@google.com>
4702
4703 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4704
82433e3e
SDJ
47052019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4706
4707 PR corefiles/11608
4708 PR corefiles/18187
4709 * gdb.base/coredump-filter-build-id.exp: New file.
4710
dd06d4d6
AH
47112019-04-25 Alan Hayward <alan.hayward@arm.com>
4712
e79be6e5
SM
4713 * Makefile.in: Pass through GDBSERVER_DEBUG.
4714 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4715 (gdbserver,debug): Add board setting.
4716 * gdb.trace/tspeed.exp: Skip when debugging.
4717 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4718 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4719
1670072e
TT
47202019-04-24 Tom Tromey <tromey@adacore.com>
4721
4722 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4723 Rust.
4724
a59240a4
TT
47252019-04-24 Tom Tromey <tromey@adacore.com>
4726
4727 * gdb.arch/amd64-eval.exp: Test bitfield return.
4728 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4729 (class Foo) <return_bitfields>: New method.
4730 (main): Call it.
4731
b907456c
AB
47322019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4733
4734 * gdb.cp/many-args.cc: New file.
4735 * gdb.cp/many-args.exp: New file.
4736
5c565afd
TV
47372019-04-23 Tom de Vries <tdevries@suse.de>
4738
4739 PR gdb/24433
4740 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4741
ba22ff86
AH
47422019-04-23 Alan Hayward <alan.hayward@arm.com>
4743
4744 * gdb.trace/backtrace.exp: Use nopie flag.
4745 * gdb.trace/circ.exp: Likewise.
4746 * gdb.trace/collection.exp: Likewise.
4747 * gdb.trace/ftrace.exp: Likewise.
4748 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4749 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4750 * gdb.trace/qtro.exp: Likewise.
4751 * gdb.trace/read-memory.exp: Likewise.
4752 * gdb.trace/report.exp: Likewise.
4753 * gdb.trace/tfile.exp: Likewise.
4754 * gdb.trace/tfind.exp: Likewise.
4755 * gdb.trace/unavailable.exp: Likewise.
4756
7905fc35
PA
47572019-04-22 Pedro Alves <palves@redhat.com>
4758
4759 * gdb.base/solib-probes-nosharedlibrary.c,
4760 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4761
8ecb59f8
TT
47622019-04-19 Tom Tromey <tromey@adacore.com>
4763
4764 * gdb.ada/ptype_union.c: New file.
4765 * gdb.ada/ptype_union.exp: New file.
4766
62160ec9
TT
47672019-04-19 Tom Tromey <tromey@adacore.com>
4768
4769 PR symtab/24423:
4770 * gdb.base/list0.h (foo): Add a control-l character.
4771
36cd4ba5
TV
47722019-04-18 Tom de Vries <tdevries@suse.de>
4773
4774 PR gdb/24433
4775 * boards/local-board.exp: Set sysroot to "".
4776
b73715df
TV
47772019-04-18 Tom de Vries <tdevries@suse.de>
4778 Pedro Alves <palves@redhat.com>
4779
4780 PR gdb/24454
4781 * gdb.threads/vfork-follow-child-exec.c: New file.
4782 * gdb.threads/vfork-follow-child-exec.exp: New file.
4783 * gdb.threads/vfork-follow-child-exit.c: New file.
4784 * gdb.threads/vfork-follow-child-exit.exp: New file.
4785
4aa866af
LS
47862019-04-15 Leszek Swirski <leszeks@google.com>
4787
4788 * gdb.arch/amd64-eval.cc: New file.
4789 * gdb.arch/amd64-eval.exp: New file.
4790
e5a1a79a
AH
47912019-04-11 Alan Hayward <alan.hayward@arm.com>
4792
4793 * gdb.server/sysroot.c: New test.
4794 * gdb.server/sysroot.exp: New file.
4795 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4796 matching param.
4797
41077b66
AB
47982019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4799
4800 * gdb.base/align.exp: Extend test to cover structures containing
4801 only static fields.
4802
c30391f8
TV
48032019-04-11 Tom de Vries <tdevries@suse.de>
4804
4805 * boards/cc-with-dwz-m.exp: New file.
4806 * boards/cc-with-dwz.exp: New file.
4807 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4808
e242fd12
SM
48092019-04-09 Simon Marchi <simon.marchi@efficios.com>
4810
4811 * gdb.base/start-cpp.exp: New file.
4812 * gdb.base/start-cpp.cc: New file.
4813
2b0c8b01
KB
48142019-04-08 Kevin Buettner <kevinb@redhat.com>
4815
4816 * gdb.python/py-thrhandle.exp: Adjust tests to call
4817 thread_from_handle instead of thread_from_thread_handle.
4818
947210e5
KB
48192019-04-08 Kevin Buettner <kevinb@redhat.com>
4820
4821 * gdb.python/py-thrhandle.exp: Add tests for
4822 gdb.InferiorThread.handle.
4823
d7df6549
AB
48242019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * gdb.python/py-function.exp: Check calling helper function from
4827 all languages.
4828 * lib/gdb.exp (gdb_supported_languages): New proc.
4829
8bdc1658
AB
48302019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4831
4832 * gdb.base/complex-parts.c: New file.
4833 * gdb.base/complex-parts.exp: New file.
4834
05caa1d2
TT
48352019-04-01 Tom Tromey <tromey@adacore.com>
4836
4837 PR symtab/23331:
4838 * gdb.dwarf2/dw2-ranges-main.c: New file.
4839 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4840 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4841
7734102d
EZ
48422019-03-30 Simon Marchi <simark@simark.ca>
4843
4844 * gdb.base/default.exp: Add values for $_gdb_major and
4845 $_gdb_minor.
4846
188e1fa9
TT
48472019-03-29 Tom Tromey <tromey@adacore.com>
4848
4849 * gdb.base/help.exp: Tighten apropos regexp.
4850
2880242d
KS
48512019-03-29 Keith Seitz <keiths@redhat.com>
4852
4853 * gdb.fortran/array-bounds.exp: New file.
4854 * gdb.fortran/array-bounds.f90: New file.
4855
077cad8e
PW
48562019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4857
4858 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4859
80047cfc
PW
48602019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4861
4862 * gdb.multi/hello.c (main): Increase alarm timer.
4863
f489207e
SL
48642019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4865
4866 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4867 factor when no hardware watchpoint support.
4868
c92df149
AH
48692019-03-28 Alan Hayward <alan.hayward@arm.com>
4870 Pedro Alves <palves@redhat.com>
4871
4872 * boards/local-board.exp: set sysroot to /.
4873
933aebfa
AH
48742019-03-27 Alan Hayward <alan.hayward@arm.com>
4875
4876 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4877 in child.
4878
9f9aa852
AB
48792019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4880
4881 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4882 field.
4883 (make_container): Initialise new field.
4884 * gdb.python/py-prettyprint.exp: Add new tests.
4885 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4886 <display_hint>: New method.
4887
3714a195
AB
48882019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4889
4890 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4891 gdb_continue_to_breakpoint more throughout this test.
4892 (run_lang_tests) Supply unique test names, and use
4893 gdb_test_no_output.
4894
18c77628
AB
48952019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4896
4897 * gdb.base/finish-pretty.exp: Update expected results.
4898 * gdb.base/pretty-print.c: New file.
4899 * gdb.base/pretty-print.exp: New file.
4900
9a93502f
PA
49012019-03-25 Pedro Alves <palves@redhat.com>
4902
4903 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4904 move comments outside list. Append '-i "" eof' section.
4905
968aa7ae
AH
49062019-03-22 Alan Hayward <alan.hayward@arm.com>
4907
34a7f2a4 4908 PR testsuite/25016
968aa7ae
AH
4909 * README: Add pie options.
4910 * gdb.base/break-interp.exp: Ensure pie is disabled.
4911 * gdb.base/dump.exp: Likewise.
4912 * lib/gdb.exp (gdb_compile): Add pie option.
4913
4c7d57e7
TT
49142019-03-19 Tom Tromey <tromey@adacore.com>
4915
4916 * gdb.mi/mi2-cli-display.c: New file.
4917 * gdb.mi/mi2-cli-display.exp: New file.
4918
bff8c71f
TT
49192019-03-18 Joel Brobecker <brobecker@adacore.com>
4920 Tom Tromey <tromey@adacore.com>
4921
4922 * gdb.ada/ptype_array/pck.adb: New file.
4923 * gdb.ada/ptype_array/pck.ads: New file.
4924 * gdb.ada/ptype_array/foo.adb: New file.
4925 * gdb.ada/ptype_array.exp: New file.
4926
d085f989
TT
49272019-03-14 Tom Tromey <tromey@adacore.com>
4928
4929 * gdb.base/style.exp: Add "set style sources" test.
4930
b4be1b06
SM
49312019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4932
4933 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4934 * mi-breakpoint-multiple-locations.exp: ... this.
4935 (make_breakpoints_pattern): New proc.
4936 (do_test): Add mi_version parameter, test -break-insert,
4937 -break-info and =breakpoint-created.
4938
7cde5fc2
AB
49392019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * config/default.exp: Remove 'load_lib gdb.exp'.
4942 * config/monitor.exp: Likewise.
4943 * config/sid.exp: Likewise.
4944 * config/sim.exp: Likewise.
4945 * config/slite.exp: Likewise.
4946 * config/unix.exp: Likewise.
4947 * gdb.base/default.exp: Remove unhelpful comment.
4948
efbecbc1
AB
49492019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4950
4951 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4952
0841c79a
AB
49532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4956
4a270568
AB
49572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4958
4959 * gdb.fortran/type-kinds.exp: Update expected results.
4960
067630bd
AB
49612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4962
4963 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4964
3be47f7a
AB
49652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4966
4967 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4968 function.
4969 (test_basic_parsing_of_type_kinds): Expand types tested.
4970 (test_parsing_invalid_type_kinds): New function.
4971
4d00f5d8
AB
49722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4973
4974 * gdb.fortran/intrinsics.exp: New file.
4975 * gdb.fortran/intrinsics.f90: New file.
4976 * gdb.fortran/type-kinds.exp: New file.
4977
c8f91604
AB
49782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4979
4980 * gdb.fortran/dot-ops.exp: New file.
4981
dd9f2c76
AB
49822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4985 Check upper and lower case logical literals.
4986
84ec9724
AB
49872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4988
4989 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4990 Remove duplicate tests.
4991
c3734e09
AH
49922019-03-06 Alan Hayward <alan.hayward@arm.com>
4993
4994 * lib/gdb.exp (builtin_cd): rename of cd.
4995 (cd): Override builtin.
4996
aa3cfbda
RB
49972019-03-06 Richard Bunt <richard.bunt@arm.com>
4998
4999 * gdb.fortran/function-calls.exp: New file.
5000 * gdb.fortran/function-calls.f90: New test.
5001
7b63ad86
RB
50022019-03-04 Richard Bunt <richard.bunt@arm.com>
5003
5004 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5005 on user program standard output.
5006 * gdb.fortran/short-circuit-argument-list.f90: Record function
5007 calls.
5008
01abb042
AH
50092019-02-28 Alan Hayward <alan.hayward@arm.com>
5010
c3734e09
AH
5011 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5012 failure.
01abb042 5013
92137da0
RO
50142019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5015
5016 PR gdb/8527
5017 * gdb.base/interrupt-daemon-attach.c,
5018 gdb.base/interrupt-daemon-attach.exp: New test.
5019
5862844d
PA
50202019-02-27 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/page.exp: Add tests for "set width/height -1".
5023
8ed25214
PA
50242019-02-27 Pedro Alves <palves@redhat.com>
5025
5026 * gdb.base/page.exp: Add tests for "set/show width/height" with
5027 "infinite" values.
5028
6c28e44a
TT
50292019-02-27 Tom Tromey <tromey@adacore.com>
5030
5031 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5032 2.4.
5033 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5034 workaround.
5035
bf9a735e
AB
50362019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5037
5038 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5039 tests for structs with static members.
5040
8791793c
TT
50412019-02-26 Tom Tromey <tromey@adacore.com>
5042
5043 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5044 ValueError, not TypeError.
5045
bc2a507e
KB
50462019-02-26 Kevin Buettner <kevinb@redhat.com>
5047
5048 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5049 call from main program.
5050
e0e7d3bd
JB
50512019-02-23 Joel Brobecker <brobecker@adacore.com>
5052
5053 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5054 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5055 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5056 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5057 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5058
9600246d
KS
50592019-02-22 Keith Seitz <keiths@redhat.com>
5060
5061 PR symtab/23853
5062 * gdb.base/symlink-sourcefile.c: New file.
5063 * gdb.base/symlink-sourcefile.exp: New file.
5064
0c95f9ed
TT
50652019-02-20 Tom Tromey <tom@tromey.com>
5066
5067 * gdb.base/info_qt.exp: Update.
5068
6caa91b6
SM
50692019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5070
5071 * gdb.base/source.exp: Move "error in sourced script" code to
5072 the end.
5073 * gdb.base/source-error.gdb: Move contents to
5074 source-error-1.gdb. Add new code to source source-error-1.gdb.
5075 * gdb.base/source-error-1.gdb: New file, from previous
5076 source-error.gdb.
5077
6506371f
TT
50782019-02-17 Tom Tromey <tom@tromey.com>
5079
5080 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5081 for macro styling.
5082 * gdb.base/style.c (SOME_MACRO): New macro.
5083
a0087920
TT
50842019-02-17 Tom Tromey <tom@tromey.com>
5085
5086 * gdb.base/style.exp: Add line-wrapping tests.
5087 * gdb.base/page.exp: Add test for quitting during pagination.
5088
a2cd4f14
JB
50892019-02-17 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.ada/big_packed_array: New testcase.
5092 * gdb.ada/homonym.exp: Fix incorrect expected output for
5093 "break <homonym__get_value>" test.
5094
9d70ffbc
WP
50952019-02-13 Weimin Pan <weimin.pan@oracle.com>
5096
5097 PR breakpoints/21870
5098 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5099 and prepare_for_testing. Add comment.
5100 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5101 redundant cleanup call. Clean up comment.
5102
01c7ae81
WP
51032019-02-12 Weimin Pan <weimin.pan@oracle.com>
5104
5105 PR breakpoints/21870
5106 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5107 * gdb.arch/aarch64-dbreg-contents.c: New file.
5108
aff29d1c
JB
51092019-02-10 Joel Brobecker <brobecker@adacore.com>
5110
5111 * gdb.ada/mi_ref_changeable: New testcase.
5112
df0da8a2
AH
51132019-02-07 Alan Hayward <alan.hayward@arm.com>
5114
5115 * gdb.base/attach.exp: Add double attach test.
5116
bd447abb
SM
51172019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5118
5119 * lib/gdb.exp (default_gdb_start): Don't match pagination
5120 prompt.
5121 (gdb_init): Set stty_init.
5122
1dbc40b9
TT
51232019-01-27 Tom Tromey <tom@tromey.com>
5124
5125 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5126 skip_python_tests.
5127
353229bf
AH
51282019-01-24 Alan Hayward <alan.hayward@arm.com>
5129
5130 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5131 New structure.
5132 (struct struct_static_02_02): Likewise.
5133 (struct struct_static_02_03): Likewise.
5134 (struct struct_static_02_04): Likewise.
5135 (struct struct_static_04_01): Likewise.
5136 (struct struct_static_04_02): Likewise.
5137 (struct struct_static_04_03): Likewise.
5138 (struct struct_static_04_04): Likewise.
5139 (struct struct_static_06_01): Likewise.
5140 (struct struct_static_06_02): Likewise.
5141 (struct struct_static_06_03): Likewise.
5142 (struct struct_static_06_04): Likewise.
5143 (cmp_struct_static_02_01): Likewise.
5144 (cmp_struct_static_02_02): Likewise.
5145 (cmp_struct_static_02_03): Likewise.
5146 (cmp_struct_static_02_04): Likewise.
5147 (cmp_struct_static_04_01): Likewise.
5148 (cmp_struct_static_04_02): Likewise.
5149 (cmp_struct_static_04_03): Likewise.
5150 (cmp_struct_static_04_04): Likewise.
5151 (cmp_struct_static_06_01): Likewise.
5152 (cmp_struct_static_06_02): Likewise.
5153 (cmp_struct_static_06_03): Likewise.
5154 (cmp_struct_static_06_04): Likewise.
5155 (call_all): Test new structs.
5156 * gdb.base/infcall-nested-structs.exp: Likewise.
5157
73021deb
AH
51582019-01-21 Alan Hayward <alan.hayward@arm.com>
5159 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5160
fc65c7db
AH
51612019-01-21 Alan Hayward <alan.hayward@arm.com>
5162 * gdb.base/stack-protector.c: New test.
5163 * gdb.base/stack-protector.exp: New file.
5164 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5165 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5166 option.
5167 (gdb_compile): Remove stack protector for GCC and prevent
5168 recursion.
5169
c24bdb02
KS
51702019-01-16 Keith Seitz <keiths@redhat.com>
5171
5172 PR gdb/23773
5173 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5174
6f072a10
PFC
51752019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5176
5177 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5178 aliases.
5179 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5180 tests.
5181 * gdb.arch/powerpc-vector-regs.c: New file.
5182 * gdb.arch/powerpc-vector-regs.exp: New file.
5183
a7b8d682
PFC
51842019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5185
5186 * gdb.arch/altivec-regs.exp: Fix the list passed to
5187 gdb_expect_list when testing "info vector".
5188
6eb6fb67
AB
51892019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5190
5191 * gdb.base/style.exp: Don't include path in testname.
5192
b56f80d8
KS
51932019-01-10 Keith Seitz <keiths@redhat.com>
5194
5195 PR gdb/23712
5196 PR symtab/23010
5197 * gdb.dwarf2/multidictionary.exp: New file.
5198
041be526
SM
51992019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5200
5201 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5202 (test_gnuv3_style_demangling): ... this.
5203 (test_lucid_style_demangling): Remove.
5204 (test_arm_style_demangling): Remove.
5205 (test_hp_style_demangling): Remove.
5206 (do_tests): Remove calls to the above.
5207
d820d0c3
AB
52082019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5211 case.
5212
f097f5ad
TT
52132019-01-06 Tom Tromey <tom@tromey.com>
5214
5215 PR gdb/28155:
5216 * gdb.dwarf2/typedef-void-finish.exp: New file.
5217
2cd8cc0b
TT
52182018-12-28 Tom Tromey <tom@tromey.com>
5219 Simon Marchi <simark@simark.ca>
5220
5221 * gdb.base/jit-exec.exp: New file.
5222 * gdb.base/jit-exec.c: New file.
5223 * gdb.base/jit-execd.c: New file.
5224
35fb8261
TT
52252018-12-28 Tom Tromey <tom@tromey.com>
5226
5227 * gdb.base/style.exp: Update test to check for address styling.
5228
47fd17cd
TT
52292018-12-28 Tom Tromey <tom@tromey.com>
5230
5231 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5232 message.
5233
d47032b7
TT
52342018-12-28 Tom Tromey <tom@tromey.com>
5235
5236 * gdb.base/style.exp: Add test for version number styling.
5237
af79b68d
TT
52382018-12-28 Tom Tromey <tom@tromey.com>
5239
5240 * gdb.base/style.exp: Add test for print_address_symbolic.
5241
0bb296cb
TT
52422018-12-28 Tom Tromey <tom@tromey.com>
5243
5244 * gdb.base/style.exp: Add test for breakpoint setting.
5245
80ae2043
TT
52462018-12-28 Tom Tromey <tom@tromey.com>
5247
5248 * gdb.base/style.exp: Add test for variable names.
5249
cbe56571
TT
52502018-12-28 Tom Tromey <tom@tromey.com>
5251
5252 * gdb.base/style.exp: New file.
5253 * gdb.base/style.c: New file.
5254
9162a27c
TT
52552018-12-28 Tom Tromey <tom@tromey.com>
5256
5257 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5258 "dumb".
5259 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5260 the TERM environment variable.
5261
bc543c90
TT
52622018-12-27 Tom Tromey <tom@tromey.com>
5263
5264 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5265 pagination test.
5266
6f0ffe50
AB
52672018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5268
5269 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5270 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5271
b5a1e557
PW
52722018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5273
5274 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5275 Filename a.adb changed to bp_fun_addr.adb.
5276 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5277
6e8b1ab2
JV
52782018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5279
5280 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5281 non-PIE executables.
5282 * README: Mention the gdb,nopie_flag board setting.
5283 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5284 non-PIE executable.
5285 * gdb.arch/amd64-entry-value.exp: Likewise.
5286 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5287 * gdb.arch/i386-float.exp: Likewise.
5288 * gdb.arch/i386-signal.exp: Likewise.
5289 * gdb.mi/mi-reg-undefined.exp: Likewise.
5290
d00a27c5
PM
52912018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5292
5293 PR gdb/23974
5294 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5295
161d081c
PW
52962018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5297
5298 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5299 Update order of results accordingly.
5300
b001de23
AB
53012018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5302
5303 * gdb.base/annota1.exp: Update a test regexp.
5304
99e1a184
AB
53052018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5306
5307 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5308
7a81c1e2
PW
53092018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5310
5311 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5312 (reuse_time): Initialize to REUSE_TIME_CAP.
5313 (check_rc): New function.
5314 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5315 Check pthread_create rc.
5316 (spawner_thread_func): Check pthread_create and pthread_join rc.
5317
73e8dc90
PA
53182018-12-08 Pedro Alves <palves@redhat.com>
5319
5320 * gdb.base/list.exp (test_forward_search): Rename to ...
5321 (test_forward_reverse_search): ... this. Also test reverse-search
5322 and the forward-search alias.
5323
13f2ed32
AB
53242018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5325
5326 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5327 local timeout variable before return, and remove all local timeout
5328 variable entirely.
5329 (gdb_load): Likewise.
5330
64d27cfc
TV
53312018-12-01 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.base/gdb-caching-proc.exp: New file.
5334
f63c03b4
SDJ
53352018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5336
5337 * Makefile.in (TIMESTAMP): New variable.
5338 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5339 command.
5340 (check-single-racy): Likewise.
5341 (check/%.exp): Likewise.
5342 (check-racy/%.exp): Likewise.
5343 (workers/%.worker): Likewise.
5344 (build-perf): Likewise.
5345 (check-perf): Likewise.
5346 * README: Describe new "TS" and "TS_FORMAT" variables.
5347 * print-ts.py: New file.
5348
1c97054b
BF
53492018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5350
5351 PR python/23714
5352 * gdb.python/python.exp: Test command repetition after
5353 gdb.execute.
5354
1871a62d
AB
53552018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5356
5357 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5358 is correctly aligned.
5359
fb5e1ed9
PW
53602018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5361
5362 * gdb.ada/info_auto_lang.exp: New testcase.
5363 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5364 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5365 * gdb.ada/info_auto_lang/some_c.c: New file.
5366
43d397ca
PW
53672018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5368
5369 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5370 FUNC_lang language syntax.
5371
beddd671
PW
53722018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5373
5374 * gdb.base/info_minsym.c: New file.
5375 * gdb.base/info_minsym.exp: New file.
5376
73fc52c4
TT
53772018-11-19 Tom Tromey <tom@tromey.com>
5378
5379 PR rust/23625:
5380 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5381 * gdb.rust/expr.exp: Update expected output. Change one test.
5382
994b876a
TT
53832018-11-19 Tom Tromey <tom@tromey.com>
5384
5385 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5386
6769f276
PA
53872018-11-19 Pedro Alves <palves@redhat.com>
5388
5389 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5390 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5391 see the expected warning.
5392
38a72da0
AH
53932018-11-16 Alan Hayward <alan.hayward@arm.com>
5394
5395 PR gdb/22736:
5396 * gdb.cp/infcall-nodebug-lib.c: New test.
5397 * gdb.cp/infcall-nodebug-main.c: New test.
5398 * gdb.cp/infcall-nodebug.exp: New file.
5399
53a89d6e
SM
54002018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5401
5402 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5403 completer tests.
5404
9325300d
TV
54052018-11-09 Tom de Vries <tdevries@suse.de>
5406
5407 * gdb.base/msym-lang.c: New test.
5408 * gdb.base/msym-lang.exp: New file.
5409 * gdb.base/msym-lang-main.c: New test.
5410
20f0d60d
TT
54112018-11-08 Tom Tromey <tom@tromey.com>
5412
5413 PR gdb/23555:
5414 PR gdb/23838:
5415 * gdb.base/warning.exp: New file.
5416
b5420128
JB
54172018-11-08 Jan Beulich <jbeulich@suse.com>
5418
5419 * testsuite/gdb.arch/i386-avx512.c,
5420 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5421
cd115d61
AB
54222018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5423
5424 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5425 point hardware.
5426
35ee2dc2
AB
54272018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5428
5429 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5430 * gdb.dwarf2/missing-type-name.exp: New file.
5431
31aceee8
TV
54322018-11-06 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.base/many-headers.c: New test.
5435 * gdb.base/many-headers.exp: New file.
5436
109be305
JW
54372018-11-06 Jim Wilson <jimw@sifive.com>
5438
5439 * gdb.base/code_elim.exp: For riscv, set additional_flags
5440 to include -msmall-data-limit=0.
5441
e2b7af72
JB
54422018-11-01 Joel Brobecker <brobecker@adacore.com>
5443
5444 * gdb.ada/watch_minus_l: New testcase.
5445
cdcda965
SM
54462018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5447
5448 * gdb.arch/aix-sighandle.c: New file.
5449 * gdb.arch/aix-sighandle.exp: New file.
5450
92dcebf3
AB
54512018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5452
5453 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5454 registers being unions.
5455
68b9ac18
TV
54562018-10-31 Tom de Vries <tdevries@suse.de>
5457
5458 * lib/valgrind.exp: New file.
5459 (vgdb_start, vgdb_stop): New procs, factored out of ...
5460 * gdb.base/valgrind-bt.exp: ... here, ...
5461 * gdb.base/valgrind-disp-step.exp: ... here and ...
5462 * gdb.base/valgrind-infcall.exp: ... here.
5463
1443936e
TV
54642018-10-31 Tom de Vries <tdevries@suse.de>
5465
5466 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5467
eb77c9df
AB
54682018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 * gdb.dwarf2/void-type.c: New file.
5471 * gdb.dwarf2/void-type.exp: New file.
5472
82b5e646
PW
54732018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5474
5475 * gdb.base/info_qt.c: New file.
5476 * gdb.base/info_qt.exp: New file.
5477
8d619c01
EBM
54782018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5479
5480 * gdb.arch/powerpc-htm-regs.c: New file.
5481 * gdb.arch/powerpc-htm-regs.exp: New file.
5482
f2cf6173
EBM
54832018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5484
5485 * gdb.arch/powerpc-tar.c: New file.
5486 * gdb.arch/powerpc-tar.exp: New file.
5487
7ca18ed6
EBM
54882018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5489
5490 * gdb.arch/powerpc-ppr-dscr.c: New file.
5491 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5492
bfcc0eba
TV
54932018-10-25 Tom de Vries <tdevries@suse.de>
5494
5495 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5496
fe1a5cad
TV
54972018-10-24 Tom de Vries <tdevries@suse.de>
5498
5499 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5500 longer exists error.
5501
a76dc3b7
TV
55022018-10-24 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5505
4df46df7
TV
55062018-10-24 Tom de Vries <tdevries@suse.de>
5507
5508 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5509 --db-attach in valgrind.
5510
0dbfcfff
AB
55112018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5512
5513 * gdb.arch/riscv-reg-aliases.c: New file.
5514 * gdb.arch/riscv-reg-aliases.exp: New file.
5515
b04480b1
AH
55162018-10-19 Alan Hayward <alan.hayward@arm.com>
5517
5518 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5519
2c6ac8d7
AH
55202018-10-19 Alan Hayward <alan.hayward@arm.com>
5521
5522 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5523
2bc69f25
AH
55242018-10-19 Alan Hayward <alan.hayward@arm.com>
5525
5526 * gdb.cp/ovldbreak.exp: Fix regexps.
5527
1f1ae3a3
AH
55282018-10-19 Alan Hayward <alan.hayward@arm.com>
5529
5530 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5531
94c18618
SDJ
55322018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5533
5534 PR cli/23785
5535 * gdb.base/restore.exp: New test to check if "restore" with an
5536 invalid file doesn't segfault.
5537
812cd6eb
TV
55382018-10-18 Tom de Vries <tdevries@suse.de>
5539
5540 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5541 * gdb.ada/excep_handle.exp: Same.
5542 * gdb.ada/mi_string_access.exp: Same.
5543 * gdb.ada/mi_var_union.exp: Same.
5544 * gdb.arch/arc-analyze-prologue.exp: Same.
5545 * gdb.arch/arc-decode-insn.exp: Same.
5546 * gdb.base/readnever.exp: Same.
5547 * gdb.fortran/printing-types.exp: Same.
5548 * gdb.guile/scm-lazy-string.exp: Same.
5549
c4b90788
TV
55502018-10-16 Tom de Vries <tdevries@suse.de>
5551
5552 PR gdb/23730
5553 * gdb.base/catch-follow-exec.c: Add copyright notice.
5554 * gdb.base/catch-follow-exec.exp: Rewrite to use
5555 gdb_spawn_with_cmdline_opts. Require gdb-native.
5556
8bca2978
SL
55572018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5558
5559 * gdb.trace/actions-changed.exp: Check for arch support.
5560 * gdb.trace/actions.exp: Likewise.
5561 * gdb.trace/ax.exp: Likewise.
5562 * gdb.trace/backtrace.exp: Likewise.
5563 * gdb.trace/change-loc.exp: Likewise.
5564 * gdb.trace/deltrace.exp: Likewise.
5565 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5566 * gdb.trace/ftrace.exp: Likewise.
5567 * gdb.trace/infotrace.exp: Check for arch support.
5568 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5569 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5570 * gdb.trace/mi-tsv-changed.exp: Likewise.
5571 * gdb.trace/packetlen.exp: Likewise.
5572 * gdb.trace/passc-dyn.exp: Likewise.
5573 * gdb.trace/passcount.exp: Likewise.
5574 * gdb.trace/pending.exp: Likewise.
5575 * gdb.trace/range-stepping.exp: Check for shlib support.
5576 * gdb.trace/report.exp: Check for arch support.
5577 * gdb.trace/save-trace.exp: Likewise.
5578 * gdb.trace/signal.exp: Check for signal support.
5579 * gdb.trace/tfind.exp: Check for arch support.
5580 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5581 * gdb.trace/trace-common.h: Add comment.
5582 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5583 * gdb.trace/trace-enable-disable.exp: Likewise.
5584 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5585 * gdb.trace/tracecmd.exp: Check for arch support.
5586 * gdb.trace/tspeed.exp: Check for shlib and target support.
5587 * gdb.trace/tstatus.exp: Check for arch support.
5588 * gdb.trace/tsv.exp: Likewise.
5589 * gdb.trace/while-dyn.exp: Likewise.
5590 * gdb.trace/while-stepping.exp: Likewise.
5591 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5592
f9c49bff
SM
55932018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5594
5595 * gdb.trace/tspeed.exp: Remove nowarnings.
5596 (prepare_for_trace_test): Declare "global ipalib".
5597 * gdb.trace/tspeed.c: Include unistd.h.
5598 (main): Remove superfluous printf argument.
5599
d4330bde
SL
56002018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5601
5602 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5603 directory prefix on the filename.
5604
8ecfd7bd
SDJ
56052018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5606
5607 * gdb.gdb/unittest.exp: Update expected message informing that
5608 selftests have been disabled.
5609 * gdb.server/unittest.exp: Likewise.
5610
58bbcd02
TV
56112018-10-09 Tom de Vries <tdevries@suse.de>
5612
5613 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5614 with runto_main.
5615
9f6b697b
WP
56162018-10-08 Weimin Pan <weimin.pan@oracle.com>
5617
5618 PR c++/16841
5619 * gdb.cp/virtbase2.cc: New file.
5620 * gdb.cp/virtbase2.exp: New file.
5621
add5ded5
TT
56222018-10-06 Tom Tromey <tom@tromey.com>
5623
5624 PR python/19399:
5625 * gdb.python/py-inferior.exp: Add architecture test.
5626
f9e48344
TT
56272018-10-06 Tom Tromey <tom@tromey.com>
5628
5629 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5630 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5631
2a8be203
TT
56322018-10-06 Tom Tromey <tom@tromey.com>
5633
5634 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5635 of a "throw" catchpoint.
5636
e04caa70
SDJ
56372018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5638
5639 * gdb.base/info-proc.exp: Update string expected from "help info
5640 proc".
5641
5ca8c39f
TT
56422018-10-04 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5645 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5646 (test_initial_complaints, test_empty_complaints): Update.
5647 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5648
3453e7e4
TT
56492018-10-04 Tom Tromey <tom@tromey.com>
5650
5651 PR cli/19551:
5652 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5653 * lib/gdb.exp (gdb_file_cmd): Update.
5654 * gdb.stabs/weird.exp (print_weird_var): Update.
5655 * gdb.server/solib-list.exp: Update.
5656 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5657 * gdb.mi/mi-cli.exp: Update.
5658 * gdb.linespec/linespec.exp: Update.
5659 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5660 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5661 * gdb.cp/cp-relocate.exp: Update.
5662 * gdb.base/sym-file.exp: Update.
5663 * gdb.base/relocate.exp: Update.
5664 * gdb.base/readnever.exp: Update.
5665 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5666 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5667 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5668 * gdb.base/code_elim.exp: Update.
5669 * gdb.base/break-unload-file.exp (test_break): Update.
5670 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5671 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5672 Update.
5673 * gdb.base/attach.exp (do_attach_tests): Update.
5674 * gdb.base/sepdebug.exp: Update.
5675 * gdb.python/py-section-script.exp: Update.
5676
6afcf761
TT
56772018-10-04 Tom Tromey <tom@tromey.com>
5678
5679 PR cli/22234:
5680 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5681 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5682 output.
5683
fef1b293
TT
56842018-10-04 Tom Tromey <tom@tromey.com>
5685
5686 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5687 set width and height to 0.
5688 (test_command_line_attach_run): Use -quiet.
5689
ca98345e
SL
56902018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5691
5692 * lib/gdb.exp (skip_ifunc_tests): New.
5693 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5694 other compile failures.
5695 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5696
ff34e6ae
SM
56972018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5698
5699 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5700 is_amd64_regs_target.
5701
6bb8890e
AH
57022018-10-01 Alan Hayward <alan.hayward@arm.com>
5703
5704 * gdb.arch/aarch64-sighandler-regs.c: New test.
5705 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5706 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5707
224d30d3
MM
57082018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5709
5710 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5711 assembly.
5712
f67ffa6a
AB
57132018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5714
5715 * gdb.base/frame-selection.exp: New file.
5716 * gdb.base/frame-selection.c: New file.
5717
9fc3183f
AH
57182018-09-27 Alan Hayward <alan.hayward@arm.com>
5719
5720 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5721 pthread barrier.
5722 (main): Likewise.
5723
d354055e
AB
57242018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5725
5726 * gdb.base/large-frame-1.c: New file.
5727 * gdb.base/large-frame-2.c: New file.
5728 * gdb.base/large-frame.exp: New file.
5729 * gdb.base/large-frame.h: New file.
5730
db727370
JL
57312018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5732
5733 PR gdb/20948
5734 * gdb.base/write_mem.exp: New test.
5735 * gdb.base/write_mem.c: Likewise.
5736
ae778caf
TT
57372018-09-23 Tom Tromey <tom@tromey.com>
5738
5739 PR python/18852:
5740 * gdb.python/py-parameter.exp: Add test for parameter that throws
5741 on "set".
5742
fd3ba736
TT
57432018-09-23 Tom Tromey <tom@tromey.com>
5744
5745 PR python/17284:
5746 * gdb.python/py-template.exp (test_template_arg): Add test for
5747 negative template argument number.
5748
39a24317
TT
57492018-09-23 Tom Tromey <tom@tromey.com>
5750
5751 PR python/14062:
5752 * gdb.python/python.exp: Add test for post_event error.
5753
f5769a2c
TT
57542018-09-23 Tom Tromey <tom@tromey.com>
5755
5756 PR python/18170:
5757 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5758 convert pointers to int and long.
5759
1c1e54f6
TT
57602018-09-23 Tom Tromey <tom@tromey.com>
5761
5762 PR python/20126:
5763 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5764 signed-ness conversion tests.
5765
fb4fa946
TT
57662018-09-23 Tom Tromey <tom@tromey.com>
5767
5768 PR python/18352;
5769 * gdb.python/py-value.exp (test_float_conversion): New proc.
5770 Use it.
5771
a466edac
HAQ
57722018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5773
5774 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5775
4ee9b0c5
SL
57762018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5777
5778 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5779 no readline.
5780 * gdb.base/utf8-identifiers.exp: Likewise.
5781 * gdb.cp/cpcompletion.exp: Likewise.
5782 * gdb.linespec/cpcompletion.exp: Likewise.
5783 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5784 * gdb.linespec/cpls-ops.exp: Likewise.
5785
23be8da7
RB
57862018-09-19 Richard Bunt <richard.bunt@arm.com>
5787 Chris January <chris.january@arm.com>
5788
5789 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5790 * gdb.fortran/short-circuit-argument-list.exp: New file.
5791 * gdb.fortran/short-circuit-argument-list.f90: New test.
5792
5031d0ae
SDJ
57932018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5794
5795 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5796 "arch=" keyword when executing "-stack-list-frames".
5797
b4c0d1a4
SDJ
57982018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5799
5800 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5801 "arch=" keyword when executing "-stack-list-frames".
5802
7a6d2b45
SDJ
58032018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5804
5805 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5806 break ada".
5807
8588b356
SM
58082018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5809
5810 PR python/23669
5811 * gdb.python/python.exp: Test gdb.execute("show commands").
5812
65e65158
TT
58132018-09-16 Tom Tromey <tom@tromey.com>
5814
5815 * gdb.base/new-ui.exp (do_execution_tests): Update.
5816 * gdb.base/dbx.exp (test_breakpoints): Update.
5817
bf326452
AH
58182018-09-14 Alan Hayward <alan.hayward@arm.com>
5819
5820 * lib/gdb.exp (gdb_simple_compile): Add proc.
5821 (is_elf_target): Use gdb_simple_compile.
5822 (skip_altivec_tests): Likewise.
5823 (skip_vsx_tests): Likewise.
5824 (skip_tsx_tests): Likewise.
5825 (skip_btrace_tests): Likewise.
5826 (skip_btrace_pt_tests): Likewise.
5827 (gdb_can_simple_compile): Likewise.
5828 (gdb_has_argv0): Likewise.
5829 (gdb_target_symbol_prefix): Likewise.
5830 (target_supports_scheduler_locking): Likewise.
5831
2361b0fb
TT
58322018-09-13 Tom Tromey <tom@tromey.com>
5833
5834 * Makefile.in (TAGS): Recognize proc_with_prefix and
5835 gdb_caching_proc.
5836
0ae1a321
SM
58372018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5838
5839 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5840 method.
5841
a40bf0c2
SM
58422018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5843
5844 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5845 and a few other Inferior properties when the Inferior is no
5846 longer valid.
5847
4a3fe98f
TT
58482018-09-13 Tom Tromey <tom@tromey.com>
5849
5850 PR rust/23650:
5851 * gdb.rust/simple.exp: Add test for enum field access error.
5852
098b2108
TT
58532018-09-13 Tom Tromey <tom@tromey.com>
5854
5855 PR rust/23626:
5856 * gdb.rust/simple.rs (EmptyEnum): New type.
5857 (main): Use it.
5858 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5859
1256af7d
SM
58602018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5861
5862 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5863 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5864 * gdb.python/py-symtab.exp: Update test printing an objfile.
5865
4aa8e6c2
SM
58662018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5867
5868 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5869 object.
5870
c221b2f7
AH
58712018-09-12 Alan Hayward <alan.hayward@arm.com>
5872
5873 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5874 (support_complex_tests): Use gdb_can_simple_compile.
5875 (is_ilp32_target): Likewise.
5876 (is_lp64_target): Likewise.
5877 (is_64_target): Likewise.
5878 (is_amd64_regs_target): Likewise.
5879 (is_aarch32_target): Likewise.
5880 (gdb_int128_helper): Likewise.
5881
6f1107b5
JK
58822018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5883
5884 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5885
1f5d1570
JG
58862018-09-10 Jerome Guitton <guitton@adacore.com>
5887
5888 * gdb.ada/same_component_name: Add test for case of tagged record
5889 with variable-length fields.
5890
cc330e39
XR
58912018-09-10 Xavier Roirand <roirand@adacore.com>
5892
5893 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5894 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5895 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5896 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5897
b9c50e9a
XR
58982018-09-10 Xavier Roirand <roirand@adacore.com>
5899
5900 * gdb.ada/mi_string_access.exp: New testcase.
5901 * gdb.ada/mi_string_access/bar.adb: New file.
5902 * gdb.ada/mi_string_access/pck.adb: New file.
5903 * gdb.ada/mi_string_access/pck.asd: New file.
5904
2963898f
XR
59052018-09-10 Xavier Roirand <roirand@adacore.com>
5906
5907 * gdb.ada/mi_var_union.exp: New testcase.
5908 * gdb.ada/mi_var_union/bar.adb: New file.
5909 * gdb.ada/mi_var_union/pck.adb: New file.
5910 * gdb.ada/mi_var_union/pck.asd: New file.
5911
1aac008f
TT
59122018-09-08 Tom Tromey <tom@tromey.com>
5913
5914 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5915
332cf4c9
TT
59162018-09-08 Tom Tromey <tom@tromey.com>
5917
5918 PR python/16047:
5919 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5920 (register_pretty_printers): Register new printer.
5921 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5922 test.
5923 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5924 (an_int_type3): New global.
5925
424da6cf
JB
59262018-09-08 Joel Brobecker <brobecker@adacore.com>
5927
5928 * gdb.ada/expr_with_funcall: New testcase.
5929
2a62dfa9
JB
59302018-09-08 Joel Brobecker <brobecker@adacore.com>
5931
5932 * gdb.ada/packed_array_assign: New testcase.
5933
96b6697f
AB
59342018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5935
5936 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5937 names, and add test prefixes to make test names unique.
5938
e4a62c65
TV
59392018-09-05 Tom de Vries <tdevries@suse.de>
5940
5941 * gdb.dwarf2/varval.exp: Add test.
5942
dd083ee2
GB
59432018-09-04 Gary Benson <gbenson@redhat.com>
5944
5945 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5946 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5947
aef9346c
TT
59482018-08-31 Tom Tromey <tom@tromey.com>
5949
5950 * gdb.rust/simple.rs: Rename second variable "v".
5951
c67f2e15
AB
59522018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5953
5954 * gdb.base/funcargs.c (use_a): New function.
5955 (recurse): Call use_a.
5956
078a0207
KS
59572018-08-29 Keith Seitz <keiths@redhat.com>
5958
5959 * gdb.compile/compile-cplus-anonymous.cc: New file.
5960 * gdb.compile/compile-cplus-anonymous.exp: New file.
5961 * gdb.compile/compile-cplus-array-decay.cc: New file.
5962 * gdb.compile/compile-cplus-array-decay.exp: New file.
5963 * gdb.compile/compile-cplus-inherit.cc: New file.
5964 * gdb.compile/compile-cplus-inherit.exp: New file.
5965 * gdb.compile/compile-cplus-member.cc: New file.
5966 * gdb.compile/compile-cplus-member.exp: New file.
5967 * gdb.compile/compile-cplus-method.cc: New file.
5968 * gdb.compile/compile-cplus-method.exp: New file.
5969 * gdb.compile/compile-cplus-mod.c: "New" file.
5970 * gdb.compile/compile-cplus-namespace.cc: New file.
5971 * gdb.compile/compile-cplus-namespace.exp: New file.
5972 * gdb.compile/compile-cplus-nested.cc: New file.
5973 * gdb.compile/compile-cplus-nested.exp: New file.
5974 * gdb.compile/compile-cplus-print.c: "New" file.
5975 * gdb.compile/compile-cplus-print.exp: "New" file.
5976 * gdb.compile/compile-cplus-virtual.cc: New file.
5977 * gdb.compile/compile-cplus-virtual.exp: New file.
5978 * gdb.compile/compile-cplus.c: "New" file.
5979 * gdb.compile/compile-cplus.exp: "New" file.
5980 * lib/compile-support.exp: New file.
5981
b0f492b9
GB
59822018-08-16 Gary Benson <gbenson@redhat.com>
5983
5984 PR gdb/13000:
5985 * gdb.base/batch-exit-status.exp: New file.
5986 * gdb.base/batch-exit-status.good-commands: Likewise.
5987 * gdb.base/batch-exit-status.bad-commands: Likewise.
5988
36eb4c5f
AH
59892018-08-29 Alan Hayward <alan.hayward@arm.com>
5990
5991 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5992 (struct struct02): Likewise.
5993 (struct struct03): Likewise.
5994 (struct struct04): Likewise.
5995 (struct struct_01_01): New struct.
5996 (struct struct_01_02): Likewise.
5997 (struct struct_01_03): Likewise.
5998 (struct struct_01_04): Likewise.
5999 (struct struct_02_01): Likewise.
6000 (struct struct_02_02): Likewise.
6001 (struct struct_02_03): Likewise.
6002 (struct struct_02_04): Likewise.
6003 (struct struct_04_01): Likewise.
6004 (struct struct_04_02): Likewise.
6005 (struct struct_04_03): Likewise.
6006 (struct struct_04_04): Likewise.
6007 (struct struct_05_01): Likewise.
6008 (struct struct_05_02): Likewise.
6009 (struct struct_05_03): Likewise.
6010 (struct struct_05_04): Likewise.
6011 (cmp_struct01): Remove function.
6012 (cmp_struct02): Likewise.
6013 (cmp_struct03): Likewise.
6014 (cmp_struct04): Likewise.
6015 (cmp_struct_01_01): Add Function.
6016 (cmp_struct_01_02): Likewise.
6017 (cmp_struct_01_03): Likewise.
6018 (cmp_struct_01_04): Likewise.
6019 (cmp_struct_02_01): Likewise.
6020 (cmp_struct_02_02): Likewise.
6021 (cmp_struct_02_03): Likewise.
6022 (cmp_struct_02_04): Likewise.
6023 (cmp_struct_04_01): Likewise.
6024 (cmp_struct_04_02): Likewise.
6025 (cmp_struct_04_03): Likewise.
6026 (cmp_struct_04_04): Likewise.
6027 (cmp_struct_05_01): Likewise.
6028 (cmp_struct_05_02): Likewise.
6029 (cmp_struct_05_03): Likewise.
6030 (cmp_struct_05_04): Likewise.
6031 (call_all): Add new structs.
6032 * gdb.base/infcall-nested-structs.exp: Likewise.
6033
3bf9c013
JV
60342018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6035
6036 * gdb.python/py-framefilter-mi.exp: Update regexp to
6037 check for "arch" field in frame output.
6038
450d1e88
KB
60392018-08-23 Kevin Buettner <kevinb@redhat.com>
6040
6041 * gdb.dwarf2/dw2-ranges-func.c: New file.
6042 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6043
ae739fe7
SM
60442018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6045
6046 * gdb.base/term.exp: Compare terminal settings with values from
6047 the inferior.
6048 * gdb.base/term.c: Get and set terminal settings.
6049
6d52907e
JV
60502018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6051
6052 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6053 accommodate new "arch" field in frame output.
6054 * gdb.mi/mi-return.exp: Likewise.
6055 * gdb.mi/mi-stack.exp: Likewise.
6056 * gdb.mi/mi-syn-frame.exp: Likewise.
6057 * gdb.mi/user-selected-context-sync.exp: Likewise.
6058
be2d111a
MS
60592018-08-19 Michael Spang <spang@google.com>
6060
6061 PR gdb/11786
6062 * gdb.base/gcore-tls-pie.c: New file.
6063 * gdb.base/gcore-tls-pie.exp: New file.
6064
ae3a7c47
KB
60652018-08-18 Kevin Buettner <kevinb@redhat.com>
6066
6067 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6068 * gdb.dwarf2/varval.c: New file.
6069 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6070
2ecae92e
AH
60712018-08-17 Alan Hayward <alan.hayward@arm.com>
6072
6073 PR gdb/18931
6074 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6075
c1854f1d
KS
60762018-08-16 Keith Seitz <keiths@redhat.com>
6077
6078 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6079 tests expected to pass.
6080
26fb3983
JV
60812018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6082
6083 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6084 -data-disassemble -a.
6085 (test_disassembly_bogus_args): Likewise.
6086
67943c00
AB
60872018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6088
6089 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6090
5ff2bbae
AB
60912018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6092
6093 * gdb.base/vla-optimized-out.exp: Add new test.
6094
e5bbcd0f
AB
60952018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6096
6097 * gdb.base/vla-optimized-out-o3.exp: Delete.
6098 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6099 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6100 deleted tests.
6101
9d4a934c
AB
61022018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6103
6104 PR gdb/18050:
6105 * gdb.server/extended-remote-restart.c: New file.
6106 * gdb.server/extended-remote-restart.exp: New file.
6107
045cf012
SM
61082018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6109
6110 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6111 "set variable index = 42".
6112
87d6a7aa
SM
61132018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6114
6115 * boards/index-cache-gdb.exp: New file.
6116 * gdb.dwarf2/index-cache.exp: New file.
6117 * gdb.dwarf2/index-cache.c: New file.
6118 * gdb.base/maint.exp: Check if we are using the index cache.
6119
96d68bd4
RO
61202018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6121
6122 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6123 MAKEFLAGS.
6124
5a699617
RO
61252018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6126
6127 * dg-extract-results.sh: Move to toplevel contrib.
6128 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6129 * Makefile.in (check-parallel-racy): Likewise.
6130
5bd18990
AB
61312018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6132
6133 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6134 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6135 tests if the target supports scheduler locking.
6136
3fbbcf47
TV
61372018-08-04 Tom de Vries <tdevries@suse.de>
6138
6139 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6140
3e1d3d8c
TT
61412018-08-02 Tom Tromey <tom@tromey.com>
6142
6143 PR symtab/16842.
6144 * gdb.cp/temargs.exp: Test "info address" of a template
6145 parameter.
6146
5abe0f0c
JV
61472018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6148
6149 * gdb.python/py-mi-var-info-path-expression.c: New file.
6150 * gdb.python/py-mi-var-info-path-expression.py: New file.
6151 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6152
fb66cde8
SDJ
61532018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6154
6155 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6156 error after "cannot resolve name" string.
6157
c708f4d2
AB
61582018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6159
6160 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6161 started.
6162 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6163
37cc0cae
TV
61642018-07-28 Tom de Vries <tdevries@suse.de>
6165
6166 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6167
63b4ecf7
TV
61682018-07-26 Tom de Vries <tdevries@suse.de>
6169
6170 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6171
3c3bb058
AB
61722018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6173
6174 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6175 is visible.
6176
9e7f3bbb
TV
61772018-07-26 Tom de Vries <tdevries@suse.de>
6178
6179 PR breakpoints/23366
6180 * gdb.base/catch-follow-exec.c: New test.
6181 * gdb.base/catch-follow-exec.exp: New file.
6182
16f808ec
TV
61832018-07-25 Tom de Vries <tdevries@suse.de>
6184
6185 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6186 vla-optimized-out.c.
6187
d7154a8d
JV
61882018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6189
6190 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6191 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6192
232a0032
TV
61932018-07-20 Tom de Vries <tdevries@suse.de>
6194
6195 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6196 NOCLONE macro.
6197 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6198
fbb1d502
TV
61992018-07-19 Tom de Vries <tdevries@suse.de>
6200
6201 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6202 regular expression.
6203
42dc7699
TV
62042018-07-18 Tom de Vries <tdevries@suse.de>
6205
6206 * gdb.base/vla-optimized-out.c: New test.
6207 * gdb.base/vla-optimized-out.exp: New file.
6208
7f1f7e23
SDJ
62092018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6210
6211 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6212 message "No address associated with hostname" when gdbserver
6213 cannot resolve the hostname.
6214
5759ebb3
PW
62152018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6216
6217 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6218 Add some test prefixes to make tests unique.
6219
3606ccab
PW
62202018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6221
6222 * gdb.base/frameapply.c: New file.
6223 * gdb.base/frameapply.exp: New file.
6224
529c08b2
PW
62252018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6226
6227 * gdb.base/skip.exp: Update expected error message.
6228
c7ab0aef
SDJ
62292018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6230 Jan Kratochvil <jan.kratochvil@redhat.com>
6231 Paul Fertser <fercerpav@gmail.com>
6232 Tsutomu Seki <sekiriki@gmail.com>
6233
6234 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6235 parameter.
6236 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6237 by default.
6238 * boards/native-gdbserver.exp: Likewise.
6239 * gdb.server/run-without-local-binary.exp: Improve regexp used
6240 for detecting when a remote debugging connection succeeds.
6241 * gdb.server/server-connect.exp: New file.
6242 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6243 Do not prefix the port number with ":".
6244 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6245 support for detecting and using it. Add '$debughost_gdbserver'
6246 to the list of arguments used to start gdbserver. Handle case
6247 when gdbserver cannot resolve a network name.
6248
16ff70dd
SDJ
62492018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6250
6251 PR c++/23373
6252 * gdb.base/ptype-offsets.cc (struct static_member): New
6253 struct.
6254 (main) <stmember>: New variable.
6255 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6256 with a static member in it.
6257
3541979f
AB
62582018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6261 watchpoints enabled and disabled.
6262
c8ad9b9a
AB
62632018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6264
6265 * gdb.base/examine-backward.exp: Still run tests around address
6266 0x0, even if address 0x0 is not readable. Update the pattern for
6267 matching address 0x0 in expected output.
6268
e0e5e971
AB
62692018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6270
6271 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6272 malloc/free.
6273
1ea5da02
TV
62742018-07-04 Tom de Vries <tdevries@suse.de>
6275
6276 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6277
471b9d15
MR
62782018-07-02 Maciej W. Rozycki <macro@mips.com>
6279
6280 PR tdep/8282
6281 * gdb.arch/mips-disassembler-options.exp: New test.
6282 * gdb.arch/mips-disassembler-options.s: New test source.
6283
75acb486
PA
62842018-06-29 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.threads/names.exp: Adjust expected "info threads" output.
6287
cd2bb709
PA
62882018-06-29 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.opt/inline-break.exp (line number, address): Add "info
6291 break" tests.
6292
991ff292
PA
62932018-06-29 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6296 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6297 number and address and running to them.
6298
356819b6 62992018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6300
6301 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6302
2512d7ef
JK
63032018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6304
6305 * lib/compiler.c: Remove executable permission flag.
6306
be1b6474
RB
63072018-06-28 Richard Bunt <richard.bunt@arm.com>
6308
6309 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6310 code.
6311 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6312
291f9a96
PT
63132018-06-28 Petr Tesarik <ptesarik@suse.cz>
6314
6315 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6316
ed6dfe51
PT
63172018-06-28 Petr Tesarik <ptesarik@suse.cz>
6318
6319 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6320 address argument is omitted.
6321
d4d429d5
PT
63222018-06-28 Petr Tesarik <ptesarik@suse.cz>
6323
6324 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6325
7ab6656f
OJ
63262018-06-27 Omair Javaid <omair.javaid@linaro.org>
6327
6328 PR gdb/21695
6329 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6330 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6331
a33ccfc7
TT
63322018-06-26 Tom Tromey <tom@tromey.com>
6333
6334 PR rust/22574:
6335 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6336 * gdb.rust/simple.rs (struct SimpleLayout): New.
6337
6d72d289
SM
63382018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6339
6340 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6341 "info registers" output.
6342
8363f9d5
RB
63432018-06-21 Richard Bunt <richard.bunt@arm.com>
6344
6345 * gdb.base/watchpoint-hw-attach.c: New test.
6346 * gdb.base/watchpoint-hw-attach.exp: New file.
6347
f00674fe
SM
63482018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6349
6350 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6351 through /bin/sh.
6352 * boards/dwarf4-gdb-index.exp: Likewise.
6353 * boards/fission-dwp.exp: Likewise.
6354
1d554008
UW
63552018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6356
6357 * gdb.base/float128.exp: Add comment and improved fail message
6358 to the failure case of "print large128" test.
6359
d0ac1c44
SM
63602018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6361
6362 * configure.ac: Remove AC_PREREQ.
6363 * configure: Re-generate.
6364
61b04dd0
PA
63652018-06-19 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6368 (func_extern_caller): New.
6369 (main): Call func_extern_caller.
6370 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6371 logic change.
6372
f63b508a
SM
63732018-06-18 Weimin Pan <weimin.pan@oracle.com>
6374
6375 PR gdb/16841
6376 * gdb.cp/typedef-base.cc: New file.
6377 * gdb.cp/typedef-base.exp: New file.
6378
0fe3a558
TV
63792018-06-18 Tom de Vries <tdevries@suse.de>
6380
6381 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6382
7010835a
AB
63832018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6384 Richard Bunt <Richard.Bunt@arm.com>
6385
6386 * gdb.threads/attach-slow-waitpid.c: New file.
6387 * gdb.threads/attach-slow-waitpid.exp: New file.
6388 * gdb.threads/slow-waitpid.c: New file.
6389
14897d65
PA
63902018-06-14 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/fork-running-state.c: Include <errno.h>.
6393 (exit_if_relative_exits): New.
6394 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6395 exits.
6396 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6397 child exits.
6398
5d9a0608
TV
63992018-06-14 Tom de Vries <tdevries@suse.de>
6400
6401 PR cli/22573
6402 * gdb.base/finish-pretty.c: New test.
6403 * gdb.base/finish-pretty.exp: New file.
6404
11ae5818
PA
64052018-06-14 Pedro Alves <palves@redhat.com>
6406
6407 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6408 gdb's expected startup output.
6409
1d39de44
PA
64102018-06-14 Pedro Alves <palves@redhat.com>
6411
6412 * lib/selftest-support.exp (selftest_setup): Remove inlined
6413 function handling.
6414
70ee0000
TV
64152018-06-14 Tom de Vries <tdevries@suse.de>
6416
6417 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6418 matching of breakpoint printing.
6419
11f4b608
TV
64202018-06-13 Tom de Vries <tdevries@suse.de>
6421
6422 PR testsuite/23269
6423 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6424 (fork_child): ... here, and ...
6425 (fork_parent): ... here.
6426
64272018-06-12 Tom de Vries <tdevries@suse.de>
6428
6429 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6430
9516f85a
AB
64312018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6432 Stephen Roberts <stephen.roberts@arm.com>
6433
6434 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6435 rewrite test to describe action performed, rather than possible
6436 failure.
6437
5045b3d7
GB
64382018-06-08 Gary Benson <gbenson@redhat.com>
6439
6440 * gdb.threads/check-libthread-db.exp: New file.
6441 * gdb.threads/check-libthread-db.c: Likewise.
6442
c61b06a1
TT
64432018-06-05 Tom Tromey <tom@tromey.com>
6444
6445 * gdb.base/default.exp: Update expected "show version" output.
6446
eb6af809
TT
64472018-06-05 Tom Tromey <tom@tromey.com>
6448
6449 PR cli/12326:
6450 * gdb.cp/static-print-quit.exp: Update.
6451 * lib/gdb.exp (pagination_prompt): Update.
6452 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6453 * gdb.python/python.exp: Update.
6454
178d6a63
JB
64552018-06-04 Joel Brobecker <brobecker@adacore.com>
6456
6457 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6458
8e817061
JB
64592018-06-01 Joel Brobecker <brobecker@adacore.com>
6460
6461 * gdb.ada/bp_fun_addr: New testcase.
6462
e86ca25f
TT
64632018-06-01 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6466 results.
6467 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6468 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6469 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6470 * gdb.base/maint.exp (maint_pass_if): Update.
6471
4b2dfa9d
MR
64722018-05-31 Maciej W. Rozycki <macro@mips.com>
6473
6474 * gdb.base/endian.exp: New test.
6475 * gdb.base/endian.c: New test source.
6476
45f25d6c
AB
64772018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6478
6479 PR gdb/23203
6480 * gdb.base/bt-selected-frame.c: New file.
6481 * gdb.base/bt-selected-frame.exp: New file.
6482 * lib/gdb.exp (get_current_frame_number): New function.
6483
d9f6d7f8
MR
64842018-05-24 Maciej W. Rozycki <macro@mips.com>
6485 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.threads/tls-core.c: Include <stdlib.h>
6488 (thread_proc): Call `abort'.
6489 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6490 (tls_core_test): New procedure, bits factored out from ...
6491 (top level): ... here. Test both native cores and gcore cores.
6492
ff1cf532
TT
64932018-05-23 Tom Tromey <tom@tromey.com>
6494
6495 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6496
b98664d3
TT
64972018-05-23 Tom Tromey <tom@tromey.com>
6498
6499 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6500 symfile_complaints.
6501 (test_short_complaints): Likewise.
6502 (test_empty_complaints): Likewise.
6503 (test_initial_complaints): Update.
6504
4e9668d0
TT
65052018-05-23 Tom Tromey <tom@tromey.com>
6506
6507 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6508
43ba33c7
TT
65092018-05-23 Tom Tromey <tom@tromey.com>
6510
6511 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6512 (test_short_complaints): Update.
6513
035522c0
PA
65142018-05-22 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/remote.exp: Only gdb_start after compiling the
6517 testcase. Issue "disconnect" before testing "set remote" command
6518 defaults. Issue clean_restart before running to main.
6519
cc0be08f
PA
65202018-05-22 Pedro Alves <palves@redhat.com>
6521
6522 * gdb.base/remote.exp: Adjust expected output of "show remote
6523 memory-write-packet-size". Add tests for "set remote
6524 memory-write-packet-size 0" and "set remote
6525 memory-write-packet-size fixed/limit".
6526
b1b60145
PA
65272018-05-22 Pedro Alves <palves@redhat.com>
6528
6529 PR gdb/22973
6530 * gdb.base/utf8-identifiers.c: New file.
6531 * gdb.base/utf8-identifiers.exp: New file.
6532
0ec848ad
PFC
65332018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6534
6535 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6536
2c3305f6
PFC
65372018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6538
6539 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6540
ce1e8424
TT
65412018-05-18 Tom Tromey <tom@tromey.com>
6542
6543 * gdb.base/ptype-offsets.exp: Update.
6544
ddfe970e
KS
65452018-05-17 Keith Seitz <keiths@redhat.com>
6546
6547 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6548 in expected breakpoint stop locations.
6549 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6550 move to proper scope to test variable values.
6551 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6552 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6553 New functions.
6554 (main): Call not_inline_func3.
6555 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6556 inline_func1, inline_func2, and inline_func3. Test that when each
6557 breakpoint is hit, GDB properly reports both the stop location
6558 and the backtrace. Repeat tests for temporary breakpoints.
6559
0726fcc6
MR
65602018-05-15 Maciej W. Rozycki <macro@mips.com>
6561
6562 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6563 rather then trying to access it in determining whether the PID
6564 of `gdbserver' could have been retrieved.
6565
8ee22052
AB
65662018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6567
6568 * gdb.arch/amd64-init-x87-values.S: New file.
6569 * gdb.arch/amd64-init-x87-values.exp: New file.
6570
7785df48
JK
65712018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6572
6573 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6574
56bcdbea
TT
65752018-05-04 Tom Tromey <tom@tromey.com>
6576
6577 PR python/22730:
6578 * gdb.python/python.exp: Test multi-line execute.
6579
a913fffb
TT
65802018-05-04 Tom Tromey <tom@tromey.com>
6581
6582 PR python/22731:
6583 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6584
7a2c85f2
TT
65852018-05-04 Tom Tromey <tom@tromey.com>
6586
6587 PR gdb/11750:
6588 * gdb.base/define.exp: Test defining a user command inside a user
6589 command.
6590 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6591
a3b60e45
JK
65922018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6593 Pedro Alves <palves@redhat.com>
6594
6595 PR breakpoints/19806 and support for PR external/20207.
6596 * gdb.base/watchpoint-unaligned.c: New file.
6597 * gdb.base/watchpoint-unaligned.exp: New file.
6598
45fe4a03
AB
65992018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6600
6601 * gdb.base/maint.exp: Make test names unique, use
6602 test_prefix_command_help to test 'help maint info', and remove
6603 repeated test of 'help maint'.
6604
9be2ae8f
TT
66052018-05-04 Tom Tromey <tom@tromey.com>
6606
6607 PR gdb/22619:
6608 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6609 behavior.
6610
11859c31
AB
66112018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6612
6613 * gdb.base/maint.exp: Process output from 'maint print registers'
6614 line at a time.
6615
089a9490
AB
66162018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6617
6618 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6619 timeout.
6620
9b0797e2
AB
66212018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6622
6623 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6624 filter pattern.
6625
f6ac5f3d
PA
66262018-05-02 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6629 to_log_command renames.
6630 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6631
77d3c63b
TT
66322018-05-02 Tom Tromey <tom@tromey.com>
6633
6634 * gdb.python/py-parameter.exp: Set test message.
6635
0489430a
TT
66362018-05-02 Tom Tromey <tom@tromey.com>
6637
6638 PR python/20084:
6639 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6640 PARAM_ZUINTEGER_UNLIMITED tests.
6641
1632f8ba
DR
66422018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6643
6644 PR rust/23124
6645 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6646 when casting.
6647
6d7bb824
TT
66482018-04-30 Tom Tromey <tom@tromey.com>
6649
6650 * gdb.python/py-type.exp: Check align attribute.
6651 * gdb.python/py-type.c: New "aligncheck" global.
6652
007e1530
TT
66532018-04-30 Tom Tromey <tom@tromey.com>
6654
6655 PR exp/17095:
6656 * gdb.dwarf2/dw2-align.exp: New file.
6657 * gdb.cp/align.exp: New file.
6658 * gdb.base/align.exp: New file.
6659 * lib/gdb.exp (gdb_int128_helper): New proc.
6660 (has_int128_c, has_int128_cxx): New caching procs.
6661
6873858b
TT
66622018-04-27 Tom Tromey <tom@tromey.com>
6663
6664 PR rust/22545:
6665 * gdb.rust/simple.exp: Add inclusive range tests.
6666
79188d8d
PA
66672018-04-26 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6670 ifunc breakpoint locations correctly of ifunc breakpoints set
6671 while the program resolves the ifunc.
6672
c7075ad5
PA
66732018-04-26 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/gnu-ifunc-final.c: New file.
6676 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6677 * gdb.base/gnu-ifunc.exp (executable): Delete.
6678 (staticexecutable): Adjust.
6679 (lib_opts, exec_opts): Delete.
6680 (make_binsuffix, build, set-break): New procedures.
6681 (misc_tests): New, with tests factored out from the top level.
6682 (top level): Test different combinations of ifunc resolver name,
6683 resolver with and with debug info, and ifunc target with and
6684 without debug info. Wrap static tests with with_target_prefix.
6685
8388016d
PA
66862018-04-26 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6689 return type" warnings.
6690
249b5733
PA
66912018-04-25 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6694 killed".
6695 * gdb.base/kill-after-signal.exp: Likewise.
6696 * gdb.threads/kill.exp: Likewise.
6697
f67c0c91
SDJ
66982018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6699 Sergio Durigan Junior <sergiodj@redhat.com>
6700 Pedro Alves <palves@redhat.com>
6701
6702 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6703 regexps to expect for '[Inferior ... detached]' as well.
6704 * gdb.base/attach.exp: Likewise.
6705 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6706 "gdb_continue_to_end".
6707 (test_catch_syscall_with_wrong_args): Likewise.
6708 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6709 ']'. Don't set 'verbose' on.
6710 * gdb.base/foll-vfork.exp: Likewise.
6711 * gdb.base/fork-print-inferior-events.c: New file.
6712 * gdb.base/fork-print-inferior-events.exp: New file.
6713 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6714 '[Inferior ... has been killed]' message.
6715 * gdb.base/kill-after-signal.exp: Likewise.
6716 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6717 detach message.
6718 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6719 message.
6720 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6721 regexps to expect for '[Inferior ... detached]' as well.
6722 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6723
0a8ddac4
SM
67242018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6725
6726 PR gdb/23104
6727 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6728
701adfb0
PA
67292018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6730
6731 PR gdb/23095
6732 * gdb.base/break-probes.exp: Pass shlib_load to
6733 prepare_for_testing. Set normal_bp to r_debug_state if target is
6734 bsd.
6735
d27d16bf
RB
67362018-04-19 Richard Bunt <richard.bunt@arm.com>
6737
6738 * gdb.threads/multiple-successive-infcall.c: New test.
6739 * gdb.threads/multiple-successive-infcall.exp: New file.
6740
a037790e
TT
67412018-04-17 Tom Tromey <tom@tromey.com>
6742
6743 * gdb.rust/simple.rs (Union): New type.
6744 (main): New local "u".
6745 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6746
e3a91079
AA
67472018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6748
6749 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6750 number information in output of "whereis" command.
6751 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6752
b744723f
AA
67532018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6754
6755 * gdb.ada/info_types.exp: Adjust expected output to the line
6756 numbers now printed by "info var/func/type".
6757 * gdb.base/completion.exp: Likewise.
6758 * gdb.base/included.exp: Likewise.
6759 * gdb.cp/cp-relocate.exp: Likewise.
6760 * gdb.cp/cplusfuncs.exp: Likewise.
6761 * gdb.cp/namespace.exp: Likewise.
6762 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6763
4a4495d6
MM
67642018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6765
6766 * gdb.btrace/cpu.exp: New.
6767
1d509aa6
MM
67682018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6769
6770 * gdb.base/step-indirect-call-thunk.exp: New.
6771 * gdb.base/step-indirect-call-thunk.c: New.
6772 * gdb.reverse/step-indirect-call-thunk.exp: New.
6773 * gdb.reverse/step-indirect-call-thunk.c: New.
6774
6295b6da
SM
67752018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6776
6777 * gdb.base/pie-fork.c: New file.
6778 * gdb.base/pie-fork.exp: New file.
6779
50146e70
TT
67802018-04-11 Tom Tromey <tom@tromey.com>
6781
6782 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6783
f50d8a2e
PA
67842018-04-10 Pedro Alves <palves@redhat.com>
6785
6786 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6787 exits. Instead loop running forever.
6788 (fork_parent): Run forever too.
6789
a0be7a36
SM
67902018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6791
6792 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6793 mi_continue_to_line.
6794 * gdb.mi/mi-stack.c (callee4): Add comment.
6795
9b73db36
SM
67962018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6797
6798 * gdb.mi/mi-stack.exp: Fix indentation.
6799
c912f608
SM
68002018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6801
6802 PR gdb/22979
6803 * gdb.arch/amd64-osabi.exp: New file.
6804
26540402
SM
68052018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6806
6807 PR gdb/22980
6808 * gdb.base/osabi.exp: New file.
6809
121ad66c 68102018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6811
6812 * gdb.cp/static-typedef-print.exp: New file.
6813 * gdb.cp/static-typedef-print.cc: New file.
6814
3fcded8f
JB
68152018-03-27 Joel Brobecker <brobecker@adacore.com>
6816
6817 * gdb.ada/varsize_limit: New testcase.
6818
59cc4834
JB
68192018-03-27 Joel Brobecker <brobecker@adacore.com>
6820
6821 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6822
6823 * gdb.ada/notcplusplus: New testcase.
6824
6825 * gdb.base/c-linkage-name.c: New file.
6826 * gdb.base/c-linkage-name.exp: New testcase.
6827
4ca59a9f
TT
68282018-03-26 Tom Tromey <tom@tromey.com>
6829
6830 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6831 * gdb.python/py-framefilter.py (name_error): New global.
6832 (ErrorInName.function): Use name_error.
6833
978d6c75
TT
68342018-03-26 Tom Tromey <tom@tromey.com>
6835
6836 PR backtrace/15582:
6837 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6838
b7fee5a3
KS
68392018-03-23 Keith Seitz <keiths@redhat.com>
6840
6841 PR c++/22968
6842 * gdb.cp/subtypes.exp: New file.
6843 * gdb.cp/subtypes.h: New file.
6844 * gdb.cp/subtypes.cc: New file.
6845 * gdb.cp/subtypes-2.cc: New file.
6846
376be529
AB
68472018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6848
6849 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6850 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6851 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6852 -nostartfiles when compiling the test. Confirm that all registers
6853 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6854
066cfa98
AB
68552018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6856
6857 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6858 option, syntax was wrong anyway.
6859 * gdb.arch/arm-disp-step.exp: Likewise.
6860 * gdb.arch/sparc64-regs.exp: Likewise.
6861 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6862 option, syntax was wrong anyway, switch to use
6863 prepare_for_testing.
6864 * gdb.arch/i386-disp-step.exp: Likewise.
6865
079670b9
AA
68662018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6867
6868 * gdb.ada/exec_changed.exp: Replace "target_info exists
6869 use_gdb_stub" by "use_gdb_stub".
6870 * gdb.ada/start.exp: Likewise.
6871 * gdb.base/async-shell.exp: Likewise.
6872 * gdb.base/attach-pie-misread.exp: Likewise.
6873 * gdb.base/attach-wait-input.exp: Likewise.
6874 * gdb.base/break-entry.exp: Likewise.
6875 * gdb.base/break-interp.exp: Likewise.
6876 * gdb.base/dprintf-detach.exp: Likewise.
6877 * gdb.base/nostdlib.exp: Likewise.
6878 * gdb.base/solib-nodir.exp: Likewise.
6879 * gdb.base/statistics.exp: Likewise.
6880 * gdb.base/testenv.exp: Likewise.
6881 * gdb.mi/mi-exec-run.exp: Likewise.
6882 * gdb.mi/mi-start.exp: Likewise.
6883 * gdb.multi/dummy-frame-restore.exp: Likewise.
6884 * gdb.multi/multi-arch-exec.exp: Likewise.
6885 * gdb.multi/multi-arch.exp: Likewise.
6886 * gdb.multi/tids.exp: Likewise.
6887 * gdb.multi/watchpoint-multi.exp: Likewise.
6888 * gdb.python/py-events.exp: Likewise.
6889 * gdb.threads/attach-into-signal.exp: Likewise.
6890 * gdb.threads/attach-stopped.exp: Likewise.
6891 * gdb.threads/threadapply.exp: Likewise.
6892 * lib/selftest-support.exp: Likewise.
6893
26d6cec4
AA
68942018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6895
6896 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6897
4ee89e90
SR
68982018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6899
6900 * gdb.perf/template-breakpoints.cc: New file.
6901 * gdb.perf/template-breakpoints.exp: New file.
6902 * gdb.perf/template-breakpoints.py: New file.
6903
92630041
TT
69042018-03-19 Tom Tromey <tom@tromey.com>
6905
6906 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6907 y0.
6908 * gdb.rust/simple.exp: Test bare identifier form of struct
6909 initializer.
6910
76727919
TT
69112018-03-19 Tom Tromey <tom@tromey.com>
6912
6913 * gdb.gdb/observer.exp: Remove.
6914
194ed413
AA
69152018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6916
6917 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6918 "qualified" option when setting breakpoints.
6919 * gdb.trace/backtrace.exp: Likewise.
6920 * gdb.trace/circ.exp: Likewise.
6921 * gdb.trace/collection.exp: Likewise.
6922 * gdb.trace/disconnected-tracing.exp: Likewise.
6923 * gdb.trace/ftrace-lock.exp: Likewise.
6924 * gdb.trace/ftrace.exp: Likewise.
6925 * gdb.trace/infotrace.exp: Likewise.
6926 * gdb.trace/packetlen.exp: Likewise.
6927 * gdb.trace/passc-dyn.exp: Likewise.
6928 * gdb.trace/qtro.exp: Likewise.
6929 * gdb.trace/read-memory.exp: Likewise.
6930 * gdb.trace/report.exp: Likewise.
6931 * gdb.trace/signal.exp: Likewise.
6932 * gdb.trace/status-stop.exp: Likewise.
6933 * gdb.trace/strace.exp: Likewise.
6934 * gdb.trace/tfind.exp: Likewise.
6935 * gdb.trace/trace-break.exp: Likewise.
6936 * gdb.trace/trace-condition.exp: Likewise.
6937 * gdb.trace/trace-mt.exp: Likewise.
6938 * gdb.trace/tstatus.exp: Likewise.
6939 * gdb.trace/tsv.exp: Likewise.
6940 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6941 * gdb.trace/unavailable.exp: Likewise.
6942 * gdb.trace/while-dyn.exp: Likewise.
6943
8b067d2c
AA
69442018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6945
6946 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6947 that libinproctrace is copied to the target.
6948
3ae9ce5d
TT
69492018-03-14 Tom Tromey <tom@tromey.com>
6950
6951 PR cli/14977:
6952 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6953 a null pointer.
6954 * gdb.base/wchar.exp: Likewise.
6955
b8c2339b
TT
69562018-03-14 Tom Tromey <tom@tromey.com>
6957
6958 PR cli/19918:
6959 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6960 flag.
6961
4872dc46
SM
69622018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6963
6964 PR gdb/22841
6965 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6966 "target" to remote_exec.
6967
e4fe3756
SM
69682018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6969
6970 PR gdb/22841
6971 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6972 ${board}_upload): Remove.
6973
e95a97d4
AA
69742018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6975
6976 * gdb.cp/watch-cp.cc: New test.
6977 * gdb.cp/watch-cp.exp: New file.
6978
dbbb1059
AB
69792018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6980
6981 * gdb.base/infcall-nested-structs.exp: New file.
6982 * gdb.base/infcall-nested-structs.c: New file.
6983 * gdb.base/float.exp: Add riscv support.
6984
ecc054c0
TP
69852018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6986
6987 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6988 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6989
25e3c82c
SDJ
69902018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6991
6992 * gdb.server/abspath.exp: New file.
6993 * lib/gdb.exp (with_cwd): New procedure.
6994
3083294d
SM
69952018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6996
6997 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6998 use it.
6999 (gdb_is_target_remote_prompt): New proc.
7000 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7001 (gdb_is_target_native): Pass prompt parameter to
7002 gdb_is_target_1.
7003
3275ef47
SM
70042018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7005
7006 * gdb.base/load-command.c: New file.
7007 * gdb.base/load-command.exp: New file.
7008 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7009 (gdb_is_target_1): ...this, and generalize for other targets
7010 than just remote.
7011 (gdb_is_target_remote): Use gdb_is_target_1.
7012 (gdb_is_target_native): use gdb_is_target_1.
7013
6893c19a
TT
70142018-02-26 Tom Tromey <tom@tromey.com>
7015
7016 PR python/16497:
7017 * gdb.python/py-framefilter.exp: Update test.
7018
2ddeaf8a
TT
70192018-02-26 Tom Tromey <tom@tromey.com>
7020
7021 * gdb.dwarf2/variant.c: New file.
7022 * gdb.dwarf2/variant.exp: New file.
7023
c9317f21
TT
70242018-02-26 Tom Tromey <tom@tromey.com>
7025
7026 * gdb.rust/simple.exp: Accept more possible results in enum test.
7027
6f6d0c26
SM
70282018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7029
7030 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7031 parentheses.
7032
11b03145
MR
70332018-02-23 Maciej W. Rozycki <macro@mips.com>
7034
7035 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7036 name of a variable: $actual_linejj -> $actual_line.
7037
54a27fe5
JB
70382018-02-21 John Baldwin <jhb@FreeBSD.org>
7039
7040 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7041
de65820c
MM
70422018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7043
7044 * gdb.btrace/buffer-size.exp: Do not force BTS.
7045
980548fd
PA
70462018-02-14 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7049 getting a "Quit".
7050
c4e12631
MM
70512018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7052
7053 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7054 Fix test name.
7055
c2e0e465
SM
70562018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7057
7058 * gdb.cp/m-static.exp: Check type of optimized out static
7059 member.
7060
f7216783
AB
70612018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7062
7063 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7064 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7065
0625771b
LS
70662018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7067 Leszek Swirski <leszeks@google.com>
7068
7069 * gdb.python/py-prettyprint.c
7070 (struct to_string_returns_value_inner,
7071 struct to_string_returns_value_wrapper): New.
7072 (main): Add tsrvw variable.
7073 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7074 ToStringReturnsValueWrapper): New classes.
7075 (register_pretty_printers): Register new pretty-printers.
7076 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7077 recursive pretty printer.
7078 * gdb.python/py-mi.exp: Likewise.
7079
59498c30
LS
70802018-02-01 Leszek Swirski <leszeks@google.com>
7081
7082 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7083 functions with the same name as an include file are parsed
7084 correctly.
7085
d4d38844
YQ
70862018-02-01 Yao Qi <yao.qi@linaro.org>
7087
7088 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7089 "\[^\r\n\]*".
7090
07e5f5cf
NP
70912018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7092
7093 * gdb.arch/powerpc-prologue-frame.s: New file.
7094 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7095 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7096
929b5ad4
JB
70972018-01-31 Joel Brobecker <brobecker@adacore.com>
7098
7099 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7100
e671cd59
PA
71012018-01-30 Pedro Alves <palves@redhat.com>
7102
7103 PR gdb/13211
7104 * gdb.base/interrupt-daemon.c: New.
7105 * gdb.base/interrupt-daemon.exp: New.
7106 * gdb.multi/multi-term-settings.c: New.
7107 * gdb.multi/multi-term-settings.exp: New.
7108
fc413dc4
JB
71092018-01-30 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.base/break.exp: Save the location where the breakpoint
7112 on break.c:47 was actually inserted when debugging the version
7113 compiled at -O2 and use it in the expected output of the "info
7114 break" test performed soon after.
7115
5c319bb2
PA
71162018-01-22 Pedro Alves <palves@redhat.com>
7117 Sergio Durigan Junior <sergiodj@redhat.com>
7118
7119 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7120 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7121
a9e40818
JB
71222018-01-22 Joel Brobecker <brobecker@adacore.com>
7123
7124 * gdb.base/break-include.c, gdb.base/break-include.inc,
7125 gdb.base/break-include.exp: New files.
7126 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7127 line number now being the actual line number where the breakpoint
7128 was inserted.
7129 * gdb.mi/mi-break.exp: Likewise.
7130 * gdb.mi/mi-reverse.exp: Likewise.
7131 * gdb.mi/mi-simplerun.exp: Ditto.
7132
e707fc44
AB
71332018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7134
7135 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7136 varobj.
7137 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7138
ae451627
AB
71392018-01-21 Don Breazeal <donb@codesourcery.com>
7140 Andrew Burgess <andrew.burgess@embecosm.com>
7141
7142 * gdb.mi/basics.c: Add new global.
7143 * gdb.mi/mi-frame-regs.exp: New file.
7144 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7145 case.
7146
b1b189e0
AB
71472018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7148
7149 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7150 non-parameter, and on an unknown symbol.
7151
fcfcc376
TT
71522018-01-19 Tom Tromey <tom@tromey.com>
7153
7154 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7155 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7156
634c1c31
AA
71572018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7158
7159 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7160 setrlimit and chdir to int.
7161
d6ad07fd
AA
71622018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7163
7164 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7165 function.
7166 (my_tend): Likewise.
7167 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7168 rationale of avoiding FP- and vector instructions.
7169
adf8243b
RK
71702018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7171
7172 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7173 "info reg" with "\[ \t\]*".
7174 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7175 "\[ \t\]+".
7176 * gdb.arch/s390-multiarch.exp: Ditto.
7177 * gdb.base/pc-fp.exp: Ditto.
7178 * gdb.reverse/i386-precsave.exp: Ditto.
7179 * gdb.reverse/i386-reverse.exp: Ditto.
7180 * gdb.reverse/i387-env-reverse.exp: Ditto.
7181 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7182
dcc06925
AA
71832018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7184
7185 * lib/gdb.exp (gdb_compile): Re-enable use of
7186 universal_compile_options for languages other than Rust.
7187
25d4fd80
AA
71882018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7189
7190 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7191
ee7f689e 71922018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7193
7194 PR gdb/16577
7195 * gdb.base/solib-vanish.exp: New.
7196 * gdb.base/solib-vanish-main.c: New.
7197 * gdb.base/solib-vanish-lib1.c: New.
7198 * gdb.base/solib-vanish-lib2.c: New.
7199
d8447b6b
YQ
72002018-01-17 Yao Qi <yao.qi@linaro.org>
7201
7202 * gdb.compile/compile.exp: Match the address printed for
7203 frame in the output of command "bt".
7204
86d6a90c
TT
72052018-01-15 Tom Tromey <tom@tromey.com>
7206
7207 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7208 compute sp_reg.
7209
cbcdb1aa
AB
72102018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7211
7212 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7213 to prepare.
7214 (prepare): Return 0 on error, 1 on success.
7215
eea61984
PA
72162018-01-12 Pedro Alves <palves@redhat.com>
7217
7218 * gdb.base/continue-after-aborted-step-over.c: New.
7219 * gdb.base/continue-after-aborted-step-over.exp: New.
7220
6181e9c2
SM
72212018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7222
7223 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7224 options when not creating an executable.
7225
3cada740
PA
72262018-01-11 Pedro Alves <palves@redhat.com>
7227
7228 PR remote/22597
7229 * gdb.server/stop-reply-no-thread.c: New file.
7230 * gdb.server/stop-reply-no-thread.exp: New file.
7231
c63d3e8d
PA
72322018-01-10 Pedro Alves <palves@redhat.com>
7233
7234 PR gdb/22670
7235 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7236 functions too. Test setting breakpoints and printing C functions
7237 with no debug info too.
7238 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7239
d4c2a405
PA
72402018-01-10 Pedro Alves <palves@redhat.com>
7241
7242 PR gdb/22670
7243 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7244 a fail.
7245
8825213e
PA
72462018-01-10 Pedro Alves <palves@redhat.com>
7247
7248 PR gdb/22670
7249 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7250
605fd3c6
YQ
72512018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7252
7253 * gdb.server/unittest.exp: Match the output in non-development
7254 mode.
7255
1e5ded6c
YQ
72562018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7257
7258 * gdb.gdb/unittest.exp: Match output in non-development mode.
7259
30066b0b
JB
72602018-01-08 Joel Brobecker <brobecker@adacore.com>
7261
7262 * gdb.ada/access_tagged_param.exp: Relax expected output
7263 for value of "ObjL" in "continue" to pck.inspect breakpoint
7264 test.
7265
04bafb1e
XR
72662018-01-08 Joel Brobecker <brobecker@adacore.com>
7267
9f86398b
JB
7268 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7269 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7270
e379cee6
PA
72712018-01-05 Pedro Alves <palves@redhat.com>
7272
7273 PR gdb/18653
7274 * gdb.base/libsegfault.exp: New.
7275
de63c46b
PA
72762018-01-05 Joel Brobecker <brobecker@adacore.com>
7277
7278 PR gdb/22670
7279 * gdb.ada/access_tagged_param.exp: New file.
7280 * gdb.ada/access_tagged_param/foo.adb: New file.
7281
f98fc17b
PA
72822018-01-05 Pedro Alves <palves@redhat.com>
7283
7284 PR gdb/22670
7285 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7286 exercise lower case too, and to exercise both full matching and
7287 wild matching.
7288
342f8240
JB
72892018-01-05 Joel Brobecker <brobecker@adacore.com>
7290
7291 * gdb.ada/rename_subscript_param: New testcase.
7292
7150d33c
JG
72932018-01-05 Jerome Guitton <guitton@adacore.com>
7294
7295 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7296
cc0e770c
JB
72972018-01-05 Joel Brobecker <brobecker@adacore.com>
7298
7299 * gdb.ada/convvar_comp: New testcase.
7300
672a41aa 73012018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7302
7303 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7304 (My_Table): New global variable.
7305 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7306
7365ec2f
JB
73072018-01-04 Joel Brobecker <brobecker@adacore.com>
7308
7309 PR gdb/22670
7310 * gdb.ada/maint_with_ada: New testcase.
7311
289483b6
JB
73122018-01-04 Joel Brobecker <brobecker@adacore.com>
7313
7314 PR gdb/22670
7315 * gdb.ada/bp_c_mixed_case: New testcase.
7316
344420da
JB
73172018-01-04 Joel Brobecker <brobecker@adacore.com>
7318
7319 PR gdb/22670
7320 * gdb.ada/complete.exp: Add "complete break ada" test.
7321
66fc87a0
JB
73222018-01-04 Joel Brobecker <brobecker@adacore.com>
7323
7324 PR gdb/22670
7325 * gdb.ada/info_addr_mixed_case: New testcase.
7326
9f757bf7
XR
73272018-01-03 Xavier Roirand <roirand@adacore.com>
7328
7329 * gdb.ada/excep_handle.exp: New testcase.
7330 * gdb.ada/excep_handle/foo.adb: New file.
7331 * gdb.ada/excep_handle/pck.ads: New file.
7332
bd570f80
JB
73332018-01-03 Joel Brobecker <brobecker@adacore.com>
7334
7335 * gdb.base/step-line.c: Add extra empty line in copyright header.
7336 * gdb.base/step-line.inp: Likewise.
7337
9fe561ab
JB
73382018-01-02 Joel Brobecker <brobecker@adacore.com>
7339
7340 * gdb.ada/dyn_stride.exp: Add slice test.
7341
a405673c
JB
73422018-01-02 Joel Brobecker <brobecker@adacore.com>
7343
7344 * gdb.ada/dyn_stride: New testcase.
7345
cef0f868
SH
73462017-12-27 Stafford Horne <shorne@gmail.com>
7347
7348 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7349 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7350
b67d92b0
SH
73512017-12-27 Stafford Horne <shorne@gmail.com>
7352
7353 * gdb.base/reggroups.c: New file.
7354 * gdb.base/reggroups.exp: New file.
7355
eccab96d
JB
73562017-12-18 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.dwarf2/ada-valprint-error.c: New file.
7359 * gdb.dwarf2/ada-valprint-error.exp: New file.
7360
0e2da9f0
JB
73612017-12-18 Joel Brobecker <brobecker@adacore.com>
7362
7363 * gdb.ada/assign_arr: New testcase.
7364
cb923fcc
XR
73652017-12-18 Xavier Roirand <roirand@adacore.com>
7366
7367 * gdb.ada/funcall_ptr: New testcase.
7368
7c161838
SDJ
73692017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7370
7371 PR cli/16224
7372 * gdb.base/ptype-offsets.cc: New file.
7373 * gdb.base/ptype-offsets.exp: New file.
7374
1af17fd9
YQ
73752017-12-15 Yao Qi <yao.qi@linaro.org>
7376
7377 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7378 if XML is disabled.
7379
828d5846
XR
73802017-12-15 Xavier Roirand <roirand@adacore.com>
7381
7382 * gdb.ada/same_component_name: New testcase.
7383
79e8fcaa
JB
73842017-12-14 Joel Brobecker <brobecker@adacore.com>
7385
7386 * gdb.ada/str_binop_equal: New testcase.
7387
e05fa6f9
JB
73882017-12-14 Joel Brobecker <brobecker@adacore.com>
7389
7390 * gdb.ada/task_switch_in_core: New testcase.
7391
b89641ba
SM
73922017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7393
7394 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7395 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7396 call test_bkpt_qualified.
7397 (test_bkpt_qualified): New proc.
7398
6892d2e4
PA
73992017-12-13 Pedro Alves <palves@redhat.com>
7400
7401 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7402 Tighten regexp by matching with an anchor.
7403
a22ecf70
PA
74042017-12-13 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7407 ("expression with namespace"): New set of tests.
7408 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7409 (Nested::Test_NS::qux): New.
7410 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7411 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7412
9937536c
JB
74132017-12-13 Joel Brobecker <brobecker@adacore.com>
7414
7415 * gdb.base/server-del-break.c: New file.
7416 * gdb.base/server-del-break.exp: New file.
7417
fe49c6f5
SH
74182017-12-12 Stafford Horne <shorne@gmail.com>
7419
7420 * gdb.xml/tdesc-regs.exp: Add or1k support.
7421
c3d18620
SH
74222017-12-12 Stafford Horne <shorne@gmail.com>
7423
7424 * gdb.base/bp-permanent.c: Define nop of or1k.
7425
c5f9cfc8
JB
74262017-12-11 Joel Brobecker <brobecker@adacore.com>
7427
7428 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7429 output with components being reordered.
7430
a9c135fc
JB
74312017-12-11 Joel Brobecker <brobecker@adacore.com>
7432
7433 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7434 output with components being reordered.
7435
927aa2e7
JK
74362017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7437 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/maint.exp (check for .gdb_index): Check also for
7440 .debug_names.
7441 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7442 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7443 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7444 (.gdb_index used after symbol reloading): Support also .debug_names.
7445 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7446
f17d9474
YQ
74472017-12-08 Yao Qi <yao.qi@linaro.org>
7448
7449 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7450 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7451
a0de8c21
YQ
74522017-12-08 Yao Qi <yao.qi@linaro.org>
7453
7454 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7455 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7456
a738ea1d
YQ
74572017-12-08 Yao Qi <yao.qi@linaro.org>
7458
7459 * gdb.arch/aarch64-tagged-pointer.c: New file.
7460 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7461
1cd9a73b
SDJ
74622017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7463
7464 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7465 "int".
7466
fa6eb693
KS
74672017-12-07 Keith Seitz <keiths@redhat.com>
7468
7469 PR breakpoints/22569
7470 * gdb.linespec/ls-errs.exp: Change expected result of "break
7471 -source this file has spaces.c -line 3".
7472 Check that an explicit source file followed by whitespace is
7473 identified as an invalid explicit location.
7474
883fd55a
KS
74752017-12-07 Keith Seitz <keiths@redhat.com>
7476
7477 * gdb.cp/nested-types.cc: New file.
7478 * gdb.cp/nested-types.exp: New file.
7479 * lib/cp-support.exp: Load data-structures.exp library.
7480 (debug_cp_test_ptype_class): New global.
7481 (cp_ptype_class_verbose, next_line): New procedures.
7482 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7483 Add and document new return value.
7484 Switch the list of lines to a queue.
7485 Add support for new `type' key for nested type definitions.
7486 Add debugging/troubleshooting messages.
7487 * lib/data-structures.exp: New file.
7488
ec72db3e
SM
74892017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7490
7491 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7492 with proc_with_prefix, don't use with_test_prefix.
7493
99598d71
TT
74942017-12-07 Tom Tromey <tom@tromey.com>
7495
7496 * gdb.base/break.exp: Add test for empty "commands".
7497
a8806230
YQ
74982017-12-07 Yao Qi <yao.qi@linaro.org>
7499
7500 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7501 malloc and catch syscall.
7502
824cc835
PM
75032017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7504
e79be6e5 7505 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7506 tests for explicit locations.
7507
7cc244de
PA
75082017-12-06 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7511 force-disabling XML descriptions.
7512
50a1fdd5
PA
75132017-12-04 Pedro Alves <palves@redhat.com>
7514
7515 PR gdb/22499
7516 * gdb.arch/amd64-disp-step-avx.S: New file.
7517 * gdb.arch/amd64-disp-step-avx.exp: New file.
7518
f0fb2488
PA
75192017-12-03 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7522 and <string.h>.
7523 (parent_function): Print distinct messages when waitpid fails, or
7524 the child exits with a signal, or the child exits for an unhandled
7525 reason.
7526 * gdb.threads/process-dies-while-detaching.exp
7527 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7528 it. Wait for both inferior output and GDB's prompt. Use an
7529 indirect spawn id list.
7530 (do_detach): New parameter 'child_exit'. Use it to compute
7531 expected inferior output.
7532 (test_detach, test_detach_watch, test_detach_killed_outside):
7533 Adjust to pass down the expected child exit kind.
7534
97cbe998
SDJ
75352017-12-01 Joel Brobecker <brobecker@adacore.com>
7536 Sergio Durigan Junior <sergiodj@redhat.com>
7537 Pedro Alves <palves@redhat.com>
7538
7539 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7540
40fc416f
SDJ
75412017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7542
7543 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7544 to 'symbol-file' and 'add-symbol-file' can be
7545 position-independent.
7546
1cc75e92
YQ
75472017-12-01 Yao Qi <yao.qi@linaro.org>
7548
7549 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7550 the URL in copyright header.
7551 * gdb.arch/aarch64-fp.exp: Likewise.
7552 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7553 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7554 * gdb.base/expand-psymtabs.exp: Likewise.
7555 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7556 * gdb.fortran/common-block.exp: Likewise.
7557 * gdb.fortran/common-block.f90: Likewise.
7558 * gdb.fortran/logical.exp: Likewise.
7559 * gdb.fortran/vla-datatypes.f90: Likewise.
7560 * gdb.fortran/vla-sub.f90: Likewise.
7561
875fb7a7
JB
75622017-11-30 Joel Brobecker <brobecker@adacore.com>
7563
7564 * gdb.ada/repeat_dyn: New testcase.
7565
6f14765f
UW
75662017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7567
7568 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7569 Update for changed thread numbering.
7570 * gdb.cell/bt.exp: Update for changed GDB output.
7571
f1af7b94
SM
75722017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7573
7574 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7575 setting isremote by hand.
7576 * boards/dwarf4-gdb-index.exp: Likewise.
7577 * boards/fission.exp: Likewise.
7578 * boards/stabs.exp: Likewise.
7579
e3919f3e
PA
75802017-11-30 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.linespec/cpls-ops.exp
7583 (check_explicit_skips_function_argument): Extract the underlying
7584 type of size_t instead of hardcoding it.
7585
bd69330d
PA
75862017-11-29 Pedro Alves <palves@redhat.com>
7587
7588 PR c++/19436
7589 * gdb.linespec/cpls-abi-tag.cc: New file.
7590 * gdb.linespec/cpls-abi-tag.exp: New file.
7591
a20714ff
PA
75922017-11-29 Pedro Alves <palves@redhat.com>
7593
7594 * gdb.base/langs.exp: Use -qualified.
7595 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7596 it.
7597 * gdb.cp/namespace.exp: Use -qualified.
7598 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7599 (overload-3, template-overload, template-ret-type, const-overload)
7600 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7601 procedures.
7602 (test_driver): Call them.
7603 * gdb.cp/save-bp-qualified.cc: New.
7604 * gdb.cp/save-bp-qualified.exp: New.
7605 * gdb.linespec/explicit.exp: Test -qualified.
7606 * lib/completion-support.exp (completion::explicit_opts_list): Add
7607 "-qualified".
7608 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7609
f6f1d339
PM
76102017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7611
7612 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7613
02ca603a
TT
76142017-11-29 Tom Tromey <tom@tromey.com>
7615
7616 * gdb.base/relocate.exp: Update invalid argument test.
7617 Add new tests for invalid arguments.
7618
ed6c0bfb
TP
76192017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7620
7621 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7622 Return 0 as a long.
7623 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7624
f106e10e
TP
76252017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7626
7627 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7628 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7629 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7630 func ().
7631 * gdb.cp/shadow.cc (B.func): Return 0.
7632
10329bb2
JB
76332017-11-27 Joel Brobecker <brobecker@adacore.com>
7634
7635 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7636 expected output in gdb_expect call to allow the exception
7637 message to be present as well. Fix syntax confusion to avoid
7638 TCL thinking that exception_name is an array.
7639
617cd4bc
UW
76402017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7641
7642 * gdb.arch/spu-info.c: Include <unistd.h>.
7643 (do_signal_test): Fix broken calls to write.
7644 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7645 Fix checks for empty mailboxes. Update signal tests for corrected
7646 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7647 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7648 * gdb.cell/arch.exp: Use standard_output_file.
7649 * gdb.cell/break.exp: Likewise.
7650 * gdb.cell/bt.exp: Likewise.
7651 * gdb.cell/core.exp: Likewise.
7652 * gdb.cell/dwarfaddr.exp: Likewise.
7653 * gdb.cell/ea-cache.exp: Likewise.
7654 * gdb.cell/ea-standalone.exp: Likewise.
7655 * gdb.cell/f-regs.exp: Likewise.
7656 * gdb.cell/fork.exp: Likewise.
7657 * gdb.cell/gcore.exp: Likewise.
7658 * gdb.cell/mem-access.exp: Likewise.
7659 * gdb.cell/ptype.exp: Likewise.
7660 * gdb.cell/registers.exp: Likewise.
7661 * gdb.cell/sizeof.exp: Likewise.
7662 * gdb.cell/solib-symbol.exp: Likewise.
7663 * gdb.cell/solib.exp: Likewise.
617cd4bc 7664
a81aaca0
PA
76652017-11-25 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.base/complete-empty.exp: New file.
7668 * gdb.base/completion.exp: Adjust.
7669
6a3c6ee4
PA
76702017-11-25 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.linespec/cpls-ops.cc: New file.
7673 * gdb.linespec/cpls-ops.exp: New file.
7674 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7675 factored out from ...
7676 (test_complete_prefix_range): ... this.
7677
8955eb2d
PA
76782017-11-24 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.linespec/cpcompletion.exp: New file.
7681 * gdb.linespec/cpls-hyphen.cc: New file.
7682 * gdb.linespec/cpls.cc: New file.
7683 * gdb.linespec/cpls2.cc: New file.
7684 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7685 test to use test_gdb_complete_unique. Add label completion,
7686 keyword completion and explicit location completion tests.
7687 * lib/completion-support.exp: New file.
7688
e547c119
JB
76892017-11-24 Joel Brobecker <brobecker@adacore.com>
7690
7691 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7692 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7693 when hitting an exception catchpoint.
7694
7c3c1aa8
YQ
76952017-11-22 Yao Qi <yao.qi@linaro.org>
7696
7697 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7698
41bd68f5
SM
76992017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7700
7701 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7702 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7703 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7704
1daad298
YQ
77052017-11-22 Yao Qi <yao.qi@linaro.org>
7706
7707 * gdb.base/info-os.exp: Pass pthreads.
7708 * gdb.multi/multi-attach.exp: Likewise.
7709
88465e87
YQ
77102017-11-22 Yao Qi <yao.qi@linaro.org>
7711
7712 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7713 compiler.
7714
dc196b23
YQ
77152017-11-22 Yao Qi <yao.qi@linaro.org>
7716
7717 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7718 * gdb.base/break-interp.exp: Likewise.
7719 * gdb.base/jit-attach-pie.exp: Likewise.
7720
2400729e
UW
77212017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7722
7723 * gdb.base/float128.c (large128): New variable.
7724 * gdb.base/float128.exp: Add test to print largest __float128 value.
7725
7a26362d
UW
77262017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7727
7728 * gdb.arch/vsx-regs.exp: Update register content checks.
7729
ed0f4273
UW
77302017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7731
7732 * gdb.arch/ppc-longdouble.exp: New file.
7733 * gdb.arch/ppc-longdouble.c: Likewise.
7734
a25d69c6
PA
77352017-11-21 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7738
73fcf641
PA
77392017-11-20 Pedro Alves <palves@redhat.com>
7740
7741 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7742 (long_double_typedef): New typedefs.
7743 Use DEF on double and long double.
7744 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7745 cases.
7746 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7747 and 'long_double_ptr_same_size' locals. Use them to decide
7748 whether cast from array/function to float is valid/invalid.
7749
71a3c369
TT
77502017-11-17 Tom Tromey <tom@tromey.com>
7751
7752 * gdb.rust/traits.rs: New file.
7753 * gdb.rust/traits.exp: New file.
7754
ced9779b
JB
77552017-11-17 Joel Brobecker <brobecker@adacore.com>
7756
7757 * gdb.ada/minsyms: New testcase.
7758
a0922d80
PA
77592017-11-16 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7762 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7763
ea04e54c
PA
77642017-11-16 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7767 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7768
e849ea89
PA
77692017-11-16 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.server/reconnect-ctrl-c.c: New file.
7772 * gdb.server/reconnect-ctrl-c.exp: New file.
7773
d8ae99a7
PM
77742017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7775
7776 * gdb.python/py-rbreak.exp: New file.
7777 * gdb.python/py-rbreak.c: New file.
7778 * gdb.python/py-rbreak-func2.c: New file.
7779
968a13f8
PA
77802017-11-16 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7783 pattern.
7784 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7785 GDB.
7786
71774bc9
SM
77872017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7788
7789 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7790 regex.
7791
ddbb44cf
SM
77922017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7793
7794 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7795 test names.
7796
584a564f
PA
77972017-11-09 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7800 factored out from ...
7801 (top level): ... here, and adjusted to avoid expecting beyond the
7802 prompt in a single gdb_test_multiple.
7803
5ed7a928
PA
78042017-11-09 Pedro Alves <palves@redhat.com>
7805
7806 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7807 output.
7808 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7809 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7810 * gdb.server/ext-run.exp ("kill" test): Likewise.
7811 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7812
a60e0738
PA
78132017-11-09 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7816 match till end of line.
7817
2c88253f
PA
78182017-11-09 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7821
c7a38517
PA
78222017-11-09 Pedro Alves <palves@redhat.com>
7823
7824 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7825 New procedures, factored out from ...
7826 (top level): ... here, and adjusted to avoid expecting beyond the
7827 prompt in one go.
7828
f29f4b6b
PA
78292017-11-09 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7832 output. Fix '?' match.
7833
286acbb5
JB
78342017-11-08 Joel Brobecker <brobecker@adacore.com>
7835
7836 * gdb.ada/scoped_watch: New testcase.
7837 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7838 which is actually correct.
7839 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7840 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7841
62d7ae92
PA
78422017-11-08 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.gdb/complaints.exp (test_initial_complaints)
7845 (test_serial_complaints, test_short_complaints): Call
7846 complaint_internal instead of complaint.
7847
280ca31f
DT
78482017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7849
7850 * gdb.threads/tls-core.c: New file.
7851 * gdb.threads/tls-core.exp: Likewise.
7852
b5ec771e
PA
78532017-11-08 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7856 (p Exported_Capitalized): New test.
7857 (p exported_capitalized): New test.
7858
a02b41a7
PA
78592017-11-07 Pedro Alves <palves@redhat.com>
7860
7861 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7862
95e95a6d
PA
78632017-11-07 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7866 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7867 (disable_invalid, disable_inverted, disable_negative): New
7868 procedures.
7869 ("bad numbers"): New set of tests.
7870
cee62dbd
PA
78712017-11-07 Pedro Alves <palves@redhat.com>
7872
7873 * gdb.cp/ena-dis-br-range.exp: Add tests.
7874
cc638e86
PA
78752017-11-07 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7878
d0fe4701
XR
78792017-11-07 Xavier Roirand <roirand@adacore.com>
7880 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/ena-dis-br.exp: Add reference to
7883 gdb.cp/ena-dis-br-range.exp.
7884 * gdb.cp/ena-dis-br-range.exp: New file.
7885 * gdb.cp/ena-dis-br-range.cc: New file.
7886
46f67f80
PA
78872017-11-06 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.base/attach-non-pgrp-leader.c: New.
7890 * gdb.base/attach-non-pgrp-leader.exp: New.
7891
726e1356
PA
78922017-11-06 Pedro Alves <palves@redhat.com>
7893
7894 * configure.ac: No longer check for termio.h and sgtty.h.
7895 * configure: Regenerate.
7896 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7897 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7898 Remove termio and sgtty code.
7899
50ab6ace
YQ
79002017-11-03 Yao Qi <yao.qi@linaro.org>
7901
7902 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7903 in GDB is disabled.
7904
8e68731c
YQ
79052017-11-03 Yao Qi <yao.qi@linaro.org>
7906
7907 * gdb.python/py-thrhandle.exp: Skip it if python is not
7908 enabled.
7909
3a87ae65
SM
79102017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7911
7912 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7913 as a breakpoint command.
7914
484d8d36
MD
79152017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7916
7917 PR python/21213
7918 * gdb.python/py-infthread.exp: Test calling
7919 InferiorThread.inferior () multiple times in a row.
7920
4a27f119
KS
79212017-10-27 Keith Seitz <keiths@redhat.com>
7922
7923 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7924 Test "info break" for every inlined function breakpoint.
7925
bb11dd58
YQ
79262017-10-27 Yao Qi <yao.qi@linaro.org>
7927
7928 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7929
a43f3893
PF
79302017-10-26 Patrick Frants <osscontribute@gmail.com>
7931
7932 * gdb.cp/classes.exp (test_static_members): Test printing
7933 Outer::instance.
7934 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7935 (Inner::instance, Outer::instance): New.
7936
792ccf00
PA
79372017-10-24 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7940 extra console" test in two stages.
7941
eb2bfbad
PA
79422017-10-24 Pedro Alves <palves@redhat.com>
7943
7944 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7945
1f75a651
PA
79462017-10-24 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7949 loop.
7950
779990d9
PA
79512017-10-24 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7954 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7955
ad9b8f5d
PA
79562017-10-24 Pedro Alves <palves@redhat.com>
7957
7958 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7959 parameter and handle it. Don't output read value in test name.
7960
fee6da6e
PA
79612017-10-24 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7964 custom test name.
7965
10389c2c
PA
79662017-10-24 Pedro Alves <palves@redhat.com>
7967
7968 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7969 include the unstable output directory name in the test's name.
7970 (initial_setup_simple) <'set args'>: Use custom test name.
7971
a80e65a9
PA
79722017-10-24 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7975 with explicit test name.
7976
15763a09
PA
79772017-10-20 Pedro Alves <palves@redhat.com>
7978
7979 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7980 'wait -i'. Use gdb_assert and remote_close.
7981
49a4ce2e
AB
79822017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7983
7984 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7985 number from variable rather than hard-coded.
7986
a75868f5
PA
79872017-10-19 Pedro Alves <palves@redhat.com>
7988
7989 * gdb.base/long-inferior-output.c: New file.
7990 * gdb.base/long-inferior-output.exp: New file.
7991
c8ba13ad
KS
79922017-11-18 Keith Seitz <keiths@redhat.com>
7993
7994 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7995 method.
7996 (main): Call it.
7997 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7998 Add additional user-defined conversion operator tests.
7999
b27de576
PA
80002017-10-17 Pedro Alves <palves@redhat.com>
8001
8002 * boards/native-stdio-gdbserver.exp: Load "local-board".
8003
8484c955
PA
80042017-10-17 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/quit-live.c: New file.
8007 * gdb.base/quit-live.exp: New file.
8008
83d5a34d
KS
80092017-10-16 Keith Seitz <keiths@redhat.com>
8010
8011 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8012 (class_with_protected_typedef, class_with_private_typedef)
8013 (struct_with_public_typedef, struct_with_protected_typedef)
8014 (struct_with_private_typedef): New classes/structs.
8015 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8016 typedefs and access specifiers.
8017
739b3f1d
PA
80182017-10-16 Pedro Alves <palves@redhat.com>
8019 Simon Marchi <simon.marchi@polymtl.ca>
8020
8021 * README (Local vs Remote vs Native): New section.
8022 * boards/local-board.exp: New file, with bits factored out from
8023 ...
8024 * boards/native-extended-gdbserver.exp: ... here. Load
8025 "local-board".
8026 * boards/native-gdbserver.exp: Load "local-board".
8027 (${board}_spawn, ${board}_exec): Delete.
8028 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8029 ...
8030 * boards/stdio-gdbserver-base.exp: ... this new file.
8031 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8032 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8033 procedure.
8034 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8035 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8036 stdio_gdbserver_command.
8037 (${board}_get_remote_address, ${board}_get_comm_port)
8038 (${board}_download, ${board}_upload): Delete.
8039 (get_target_remote_pipe_cmd): New.
8040
fe68b953
SM
80412017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8042
8043 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8044 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8045 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8046 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8047 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8048 remove with_test_prefix.
8049
300b6685
PA
80502017-10-13 Pedro Alves <palves@redhat.com>
8051
8052 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8053 * gdb.base/annota1.exp: Use it instead of is_remote.
8054 * gdb.base/annota3.exp: Use it instead of is_remote.
8055 * gdb.cp/annota2.exp: Use it instead of is_remote.
8056 * gdb.cp/annota3.exp: Use it instead of is_remote.
8057 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8058
50500caf
PA
80592017-10-13 Pedro Alves <palves@redhat.com>
8060
8061 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8062 (test_num_test_vars, run_and_count_vars, find_env)
8063 (test_set_unset_env, test_inherit_env_var): New procedures.
8064 (top level): Use them.
8065
dad0c6d2
PA
80662017-10-13 Pedro Alves <palves@redhat.com>
8067
8068 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8069 also skip on stub-like targets.
8070
8b0553c1
PA
80712017-10-13 Pedro Alves <palves@redhat.com>
8072
8073 PR gdb/22293
8074 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8075 (top level): Move some tests to ...
8076 (test_not_found): ... this new procedure.
8077 (top level): Call it.
8078
7594f623
PA
80792017-10-13 Pedro Alves <palves@redhat.com>
8080
8081 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8082 expect different "info terminal" output if testing with a
8083 non-native target.
8084
ebe3b402
PA
80852017-10-13 Pedro Alves <palves@redhat.com>
8086 Simon Marchi <simon.marchi@polymtl.ca>
8087
8088 PR python/12966
8089 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8090
42f1b161
PA
80912017-10-13 Pedro Alves <palves@redhat.com>
8092
8093 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8094 already.
8095
8d6ef72b
PA
80962017-10-13 Pedro Alves <palves@redhat.com>
8097
8098 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8099 is_remote.
8100
d7bcd5b8
PA
81012017-10-13 Pedro Alves <palves@redhat.com>
8102
8103 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8104 is_remote.
8105
df479dc6
PA
81062017-10-13 Pedro Alves <palves@redhat.com>
8107
8108 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8109 is set.
8110 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8111 instead of is_remote.
8112
23fb630a
PA
81132017-10-13 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8116 (top level): Add comment.
8117
cc77b1dc
PA
81182017-10-13 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.base/remote.exp (top level): Fix comment typo and add
8121 missing return.
8122
27c9e813
PA
81232017-10-13 Pedro Alves <palves@redhat.com>
8124 Simon Marchi <simon.marchi@polymtl.ca>
8125
8126 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8127 calls and add comments. Skip test if use_gdb_stub is set.
8128 (top level): Use "set cwd" command instead of "cd" command.
8129
5e830d98
PA
81302017-10-13 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8133 is_remote target check.
8134
f5ca0032
PA
81352017-10-13 Pedro Alves <palves@redhat.com>
8136
8137 * gdb.base/scope.exp: Use build_executable + clean_restart +
8138 gdb_file_cmd instead of prepare_for_testing and no longer skip
8139 "before run" tests on is_remote target boards. Update comments.
8140 * boards/native-extended-gdbserver.exp
8141 (extended_gdbserver_load_last_file): New, factored out from ...
8142 (gdb_load): ... this. Move further below and add comment.
8143 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8144
8aed1c0d
PA
81452017-10-12 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/attach.exp: Remove references to gdb64.
8148 * gdb.base/dbx.exp: Remove references to gdb64.
8149
cfa34c87
SM
81502017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8151 Pedro Alves <palves@redhat.com>
8152
8153 * gdb.base/label.exp: Remove is_remote target check.
8154
9192b7de
PA
81552017-10-12 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/auvx.exp (coredir): Update comment.
8158 (top level) <core_works>: Use "set cwd" command instead of "cd"
8159 command.
8160
6bf0052d
PA
81612017-10-12 Pedro Alves <palves@redhat.com>
8162 Simon Marchi <simon.marchi@polymtl.ca>
8163
8164 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8165 target boards.
8166
e48ef82d
PA
81672017-10-12 Pedro Alves <palves@redhat.com>
8168 Simon Marchi <simon.marchi@polymtl.ca>
8169
8170 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8171 Instead skip if there's any gdb_protocol set.
8172
8d7aea57
SM
81732017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8174 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8177
30440677
PA
81782017-10-12 Pedro Alves <palves@redhat.com>
8179 Simon Marchi <simon.marchi@polymtl.ca>
8180
8181 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8182 instead of on dejagnu remote boards.
8183
4e04f045 81842017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8185 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8186
8187 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8188 checks. Use build_executable + clean_restart instead of
8189 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8190 of enabling non-stop after starting gdb.
8191
871a186e
PA
81922017-10-12 Pedro Alves <palves@redhat.com>
8193
8194 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8195 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8196 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8197 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8198
56d704da
AK
81992017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8200
8201 * gdb.arch/arc-tdesc-cpu.exp: New file.
8202 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8203
2f20e312
SM
82042017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8205
8206 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8207
65630365
PA
82082017-10-10 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8211 expect CLI output.
8212
bf469271
PA
82132017-10-10 Pedro Alves <palves@redhat.com>
8214
8215 * lib/selftest-support.exp (selftest_setup): Update for
8216 captured_command_loop's prototype change.
8217
777a42f1
PA
82182017-10-09 Pedro Alves <palves@redhat.com>
8219
8220 Test both arch1=>arch2 and arch2=>arch1.
8221
8222 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8223 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8224 factored out to...
8225 (append_arch1_options, append_arch2_options, append_arch_options)
8226 (build_executables): New procedures.
8227 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8228 local.
8229 (top level): Add new 'first_arch' testing axis.
8230
cbd2b4e3
PA
82312017-10-09 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8234 (barrier): New.
8235 (thread_start, all_started): New functions.
8236 (main): Spawn new thread and wait until it is scheduled.
8237 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8238 option.
8239 (do_test): Add 'selected_thread' parameter. Run to all_started
8240 instead of main. Explicitly set the breakpoint at main. Switch
8241 to the SELECTED_THREAD thread.
8242 (top level): Test handling the exec event with either the main
8243 thread or the second thread selected.
8244
5c9e4427
PA
82452017-10-09 Pedro Alves <palves@redhat.com>
8246
8247 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8248 logic. Move STOP marker after the value checks.
8249 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8250 regexp.
8251
b3b7c423
SL
82522017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8253
8254 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8255
3b4b2f16
UW
82562017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8257
8258 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8259 integer-to-dfp conversion.
8260 * gdb.base/dfp-test.exp: Likewise.
8261
5cd63fda
PA
82622017-10-04 Pedro Alves <palves@redhat.com>
8263
8264 * gdb.multi/hangout.c: Include <unistd.h>.
8265 (hangout_loop): New function.
8266 (main): Call alarm. Call hangout_loop in a loop.
8267 * gdb.multi/hello.c: Include <unistd.h>.
8268 (hello_loop): New function.
8269 (main): Call alarm. Call hangout_loop in a loop.
8270 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8271 inferior with the other selected.
8272
4c71c105
SM
82732017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8274
8275 * gdb.mi/list-thread-groups-available.exp: New file.
8276 * gdb.mi/list-thread-groups-available.c: New file.
8277
bc3b087d
SDJ
82782017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8279
8280 * gdb.base/set-cwd.exp: Make it available on
8281 native-extended-gdbserver.
8282
d092c5a2
SDJ
82832017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8284
8285 * gdb.base/set-cwd.c: New file.
8286 * gdb.base/set-cwd.exp: Likewise.
8287
45320ffa
TT
82882017-10-02 Tom Tromey <tom@tromey.com>
8289
8290 PR rust/22236:
8291 * gdb.rust/simple.rs (main): New variable "fslice".
8292 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8293
b3e3859b
TT
82942017-10-02 Tom Tromey <tom@tromey.com>
8295
8296 * gdb.rust/simple.exp: Test ptype of a slice.
8297
01af5e0d
TT
82982017-10-02 Tom Tromey <tom@tromey.com>
8299
8300 * gdb.rust/simple.exp: Test index of slice.
8301
a9bbfbd8
TT
83022017-09-27 Tom Tromey <tom@tromey.com>
8303
8304 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8305
df8899e5
TP
83062017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8307 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/compare-sections.exp (get value of read-only section): Read
8310 as unsigned value.
8311 (corrupt read-only section): Likewise and don't set written if patching
8312 failed.
8313
757bf54b
KB
83142017-09-21 Kevin Buettner <kevinb@redhat.com>
8315
8316 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8317 files.
8318
06871ae8
PA
83192017-09-20 Pedro Alves <palves@redhat.com>
8320
8321 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8322 symbol names in gdb's output.
8323 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8324
e5f25bc5
PA
83252017-09-20 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8328 Rename to ...
8329 (test_list_ambiguous_symbol): ... this and add a symbol name
8330 parameter. Adjust.
8331 (test_list_ambiguous_function): Reimplement on top of
8332 test_list_ambiguous_symbol and also test listing ambiguous
8333 variables.
8334 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8335 (ambiguous_fun): ... this.
8336 (ambiguous_var): New.
8337 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8338 (ambiguous_fun): ... this.
8339 (ambiguous_var): New.
8340
4e5a4f58
JB
83412017-09-19 John Baldwin <jhb@FreeBSD.org>
8342
8343 * gdb.base/starti.c: New file.
8344 * gdb.base/starti.exp: New file.
8345 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8346
26e53f3e
PA
83472017-09-14 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8350 (top level): Use it instead of runto.
8351
cb791d59
TT
83522017-09-11 Tom Tromey <tom@tromey.com>
8353
8354 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8355
7c96f8c1
TT
83562017-09-11 Tom Tromey <tom@tromey.com>
8357
8358 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8359 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8360
469412dd
CW
83612017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8362
8363 * gdb.fortran/printing-types.exp: New file.
8364 * gdb.fortran/printing-types.exp: New file.
8365
e0f86435
BH
83662017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8367
8368 * gdb.fortran/vla-ptype.exp: Fix typos.
8369 * gdb.fortran/vla-value.exp: Same.
8370
9e9af4be
BH
83712017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8372
8373 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8374 * gdb.mi/mi-var-child-f.exp: Likewise.
8375 * gdb.mi/mi-vla-fortran.exp: Likewise.
8376
a5ad232b 83772017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8378 Christoph Weinmann <christoph.t.weinmann@intel.com>
8379 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8380
8381 * gdb.fortran/ptr-indentation.f90: New file.
8382 * gdb.fortran/ptr-indentation.exp: New file.
8383
5aec60eb
TT
83842017-09-05 Tom Tromey <tom@tromey.com>
8385
8386 PR gdb/22010:
8387 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8388
8f8f8152
TP
83892017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8390
8391 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8392
fbd1b771
JK
83932017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * gdb.threads/tls-nodebug-pie.c: New file.
8396 * gdb.threads/tls-nodebug-pie.exp: New file.
8397
5eb5f850
TT
83982017-09-05 Tom Tromey <tom@tromey.com>
8399
8400 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8401 for rust.
8402
ae780a21
SM
84032017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8404
8405 * gdb.multi/multi-arch-exec.exp: Test with different
8406 "follow-exec-mode" settings.
8407 (do_test): New procedure.
8408
3693fdb3
PA
84092017-09-04 Pedro Alves <palves@redhat.com>
8410
8411 * gdb.base/func-static.c (S::method const, S::method volatile)
8412 (S::method volatile const): New methods.
8413 (c_s, v_s, cv_s): New instances.
8414 (main): Call method() on them.
8415 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8416 (cannot_resolve): New procedure.
8417 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8418 print-quote-unquoted columns.
8419 (do_test): Test printing each scope too.
8420
e68cb8e0
PA
84212017-09-04 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/local-static.exp: Also test with
8424 class::method::variable wholly quoted.
8425 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8426
858be34c
PA
84272017-09-04 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/local-static.c: New.
8430 * gdb.base/local-static.cc: New.
8431 * gdb.base/local-static.exp: New.
8432
46a4882b
PA
84332017-09-04 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.asm/asm-source.exp: Add casts to int.
8436 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8437 (dataglobal64_1, dataglobal64_2): New globals.
8438 * gdb.base/nodebug.exp: Test different expressions involving the
8439 new globals, with print, whatis and ptype. Add casts to int.
8440 * gdb.base/solib-display.exp: Add casts to int.
8441 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8442 * gdb.cp/m-static.exp: Add cast to int.
8443 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8444 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8445 tls variable with no debug info without a cast. Test with a cast
8446 to int too.
8447 * gdb.trace/entry-values.exp: Add casts.
8448
2c5a2be1
PA
84492017-09-04 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/nodebug.exp: Test that ptype's error about functions
8452 with unknown return type includes the function name too.
8453
7022349d
PA
84542017-09-04 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8457 return type of munmap in infcall.
8458 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8459 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8460 type of ftell in infcall.
8461 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8462 type of getpid in infcall.
8463 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8464 infcall.
8465 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8466 Bail on failure to extract the pid.
8467 * gdb.base/nodebug.c: #include <stdint.h>.
8468 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8469 New functions.
8470 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8471 Change expected output of print/whatis/ptype with functions with
8472 no debug info. Test all supported languages. Call
8473 test_call_promotion.
8474 * gdb.compile/compile.exp: Adjust expected output to expect
8475 warning.
8476 * gdb.threads/siginfo-threads.exp: Likewise.
8477
54990598
PA
84782017-09-04 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8481 "prototypes". Test calling float functions via prototyped and
8482 unprototyped function pointers.
8483 (perform_all_tests): New parameter "prototypes". Pass it down.
8484 (top level): Pass down "prototypes" parameter to
8485 perform_all_tests.
8486
34d16ea2
SM
84872017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8488
8489 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8490 Test with nested loops.
8491
9521ecda
SM
84922017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8493
8494 * gdb.base/commands.exp: Call the new procedures.
8495 (loop_break_test, loop_continue_test): New procedures.
8496
80a65e9b
SM
84972017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8498
8499 * gdb.base/commands.exp: Call new procedure.
8500 (define_if_without_arg_test): New procedure.
8501
e439fa14
PA
85022017-09-04 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/list-ambiguous.exp: New file.
8505 * gdb.base/list-ambiguous0.c: New file.
8506 * gdb.base/list-ambiguous1.c: New file.
8507 * gdb.base/list.exp (test_list_range): Adjust expected output.
8508
0a2dde4a
SDJ
85092017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8510
8511 * gdb.base/share-env-with-gdbserver.c: New file.
8512 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8513
5e89eb3a
SM
85142017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8515
8516 * gdb.base/commands.exp (gdbvar_simple_if_test,
8517 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8518 progvar_simple_if_test, progvar_simple_while_test,
8519 progvar_complex_if_while_test, user_defined_command_test,
8520 user_defined_command_args_eval,
8521 user_defined_command_args_stack_test,
8522 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8523 temporary_breakpoint_commands,
8524 gdb_test_no_prompt, redefine_hook_test,
8525 redefine_backtrace_test): Remove "global gdb_prompt".
8526
fd437cbc
SM
85272017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8528
8529 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8530 New proc, call it from toplevel.
8531
87215ad1
SDJ
85322017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8533
8534 PR remote/21852
8535 * gdb.server/normal.c: New file, copied from gdb.base.
8536 * gdb.server/run-without-local-binary.exp: New file.
8537
58afddc6
WP
85382017-08-07 Weimin Pan <weimin.pan@oracle.com>
8539
8540 * gdb.arch/sparc64-adi.exp: New file.
8541 * gdb.arch/sparc64-adi.c: New file.
8542
5277199a
PA
85432017-08-22 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8546 (top level): Add "list all overloads" tests.
8547
14278e1f
TT
85482017-08-22 Tom Tromey <tom@tromey.com>
8549
8550 * gdb.gdb/xfullpath.exp: Remove.
8551
bf223d3e
PA
85522017-08-21 Pedro Alves <palves@redhat.com>
8553
8554 PR gdb/19487
8555 * gdb.base/symbol-alias.c: New.
8556 * gdb.base/symbol-alias2.c: New.
8557 * gdb.base/symbol-alias.exp: New.
8558
c973d0aa
PA
85592017-08-21 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/dfp-test.c
8562 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8563 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8564 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8565 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8566 * gdb.base/whatis-ptype-typedefs.c: New.
8567 * gdb.base/whatis-ptype-typedefs.exp: New.
8568 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8569 (an_int, an_int_type, an_int_type2): New globals.
8570 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8571 involving typedefs and cast expressions.
8572 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8573 (lookup_typedefs_function): New.
8574 (typedefs_pretty_printers_dict): New.
8575 (top level): Register lookup_typedefs_function in
8576 gdb.pretty_printers.
8577
6d580b63
YQ
85782017-08-18 Yao Qi <yao.qi@linaro.org>
8579
8580 * gdb.server/unittest.exp: New.
8581
206726fb
SDJ
85822017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8583
8584 PR gdb/21954
8585 * gdb.base/environ.exp: Add test to check if 'unset environment'
8586 works.
8587
bf0ec4c2
AA
85882017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8589
8590 * lib/gdb.exp (universal_compile_options): New caching proc.
8591 (gdb_compile): Suppress GCC's coloring of messages.
8592
d6382fff
TT
85932017-08-14 Tom Tromey <tom@tromey.com>
8594
8595 PR gdb/21675:
8596 * gdb.base/printcmds.exp (test_radices): New function.
8597 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8598 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8599 * lib/gdb.exp (get_integer_valueof): Use p/d.
8600
c2c2dd9f
SM
86012017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8602
8603 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8604 characters.
8605
fdffd6f4
TT
86062017-08-05 Tom Tromey <tom@tromey.com>
8607
8608 * gdb.rust/simple.exp: Allow String to appear in a different
8609 namespace.
8610
27d41eac
YQ
86112017-07-26 Yao Qi <yao.qi@linaro.org>
8612
8613 * gdb.gdb/unittest.exp: Invoke command
8614 "maintenance check xml-descriptions".
8615
031ed05d
AA
86162017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8617
8618 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8619 calling context.
8620 (hex128): Drop erroneous calculation of parameters.
8621
dcd27ddf
SM
86222017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8623
8624 * gdb.python/py-unwind.exp: Disable stack protection when
8625 building test file.
8626
47e77640
PA
86272017-07-20 Pedro Alves <palves@redhat.com>
8628
8629 * gdb.base/default.exp (set language): Adjust expected output.
8630
62d2a18a
PA
86312017-07-20 Pedro Alves <palves@redhat.com>
8632
8633 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8634 (test_minsym): ... this, and make static.
8635 (get_pck__foo__bar__minsym): Rename to ...
8636 (get_test_minsym): ... this.
8637 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8638 symbol names and comments.
8639 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8640 (get_test_minsym): ... this.
8641 (pck__foo__bar__minsym__2): Rename to ...
8642 (test_minsym): ... this.
8643 (main): Adjust.
8644
c45ec17c
PA
86452017-07-17 Pedro Alves <palves@redhat.com>
8646
8647 * gdb.base/completion.exp: Adjust expected output.
8648 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8649 the completer works.
8650
c6756f62
PA
86512017-07-17 Pedro Alves <palves@redhat.com>
8652
8653 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8654
5bd68487
AB
86552017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8656
8657 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8658
8880f2a9
TT
86592017-07-14 Tom Tromey <tom@tromey.com>
8660
8661 PR rust/21764:
8662 * gdb.rust/simple.exp: Add tests.
8663
65547233
TT
86642017-07-14 Tom Tromey <tom@tromey.com>
8665
8666 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8667
8f14146e
PA
86682017-07-14 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.linespec/base/one/thefile.cc (z1): New function.
8671 * gdb.linespec/base/two/thefile.cc (z2): New function.
8672 * gdb.linespec/linespec.exp: Add tests.
8673
b4365d02
AB
86742017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8675
8676 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8677 to mi_create_breakpoint.
8678
5d2cbaa5
AB
86792017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8680
8681 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8682 mi_create_breakpoint.
8683
11cb5716
IB
86842017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8685
8686 * gdb.dlang/demangle.exp: Update for demangling changes.
8687
03278692
TT
86882017-07-09 Tom Tromey <tom@tromey.com>
8689
8690 * gdb.dwarf2/shortpiece.exp: New file.
8691
33c5cd75
DB
86922017-07-06 David Blaikie <dblaikie@gmail.com>
8693
8694 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8695 built from fissiont-multi-cu{1,2}.c.
8696 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8697 except putting 'main' and 'func' in separate CUs in the same DWO file.
8698 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8699 test.
8700 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8701 test.
8702
8455d262
PA
87032017-07-06 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.python/py-unwind.exp: Test flushregs.
8706
dc4bde35
SDJ
87072017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8708
8709 PR cli/21688
8710 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8711 tests for alias commands and trailing whitespace.
8712
51ed89aa
SDJ
87132017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8714
8715 PR cli/21688
8716 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8717 procedure. Call it.
8718
eb17d413
PA
87192017-06-29 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.base/printcmds.exp: Add tests.
8722
41664b45
DG
87232017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8724
8725 PR gdb/21337
8726 * gdb.base/reread-readsym.exp: New file.
8727 * gdb.base/reread-readsym.c: New file.
8728
75312ae3
KB
87292017-06-21 Kevin Buettner <kevinb@redhat.com>
8730
8731 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8732 subpattern.
8733
66953522
PB
87342017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8735
8736 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8737 extended mnemonic.
8738 * gdb.arch/powerpc-power9.s: Likewise.
8739
5524b525
AA
87402017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8741
8742 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8743 on 32-bit x86 targets. Exploit is_*_target macros where
8744 appropriate.
8745
03c8af18
AA
87462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8747
8748 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8749 register pieces.
8750
3bf31011
AA
87512017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8752
8753 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8754 located in one or more DWARF pieces.
8755
805acca0
AA
87562017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8757
8758 * lib/gdb.exp (get_endianness): New proc.
8759 * gdb.arch/aarch64-fp.exp: Use it.
8760 * gdb.arch/altivec-regs.exp: Likewise.
8761 * gdb.arch/e500-regs.exp: Likewise.
8762 * gdb.arch/vsx-regs.exp: Likewise.
8763 * gdb.base/dump.exp: Likewise.
8764 * gdb.base/funcargs.exp: Likewise.
8765 * gdb.base/gnu_vector.exp: Likewise.
8766 * gdb.dwarf2/formdata16.exp: Likewise.
8767 * gdb.dwarf2/implptrpiece.exp: Likewise.
8768 * gdb.dwarf2/nonvar-access.exp: Likewise.
8769 * gdb.python/py-inferior.exp: Likewise.
8770 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8771
e9352324
AA
87722017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8773
8774 PR gdb/21226
8775 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8776 stack value pieces are taken from the LSB end.
8777
d5d1163e
AA
87782017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779
8780 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8781 variable at nonzero offset.
8782
0567c986
AA
87832017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8784
8785 * gdb.dwarf2/var-access.c: New file.
8786 * gdb.dwarf2/var-access.exp: New test.
8787 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8788
973e9aab
TT
87892017-06-12 Tom Tromey <tom@tromey.com>
8790
8791 * gdb.dwarf2/formdata16.exp: Add tests.
8792
d9109c80
TT
87932017-06-12 Tom Tromey <tom@tromey.com>
8794
8795 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8796
30a25466
TT
87972017-06-12 Tom Tromey <tom@tromey.com>
8798
8799 PR exp/16225:
8800 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8801 * gdb.arch/vsx-regs.exp: Update tests.
8802 * gdb.arch/s390-vregs.exp (hex128): New proc.
8803 Update test.
8804 * gdb.arch/altivec-regs.exp: Update tests.
8805
aefd8b33
SDJ
88062017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8807
8808 * gdb.base/startup-with-shell.c: New file.
8809 * gdb.base/startup-with-shell.exp: Likewise.
8810
2090129c
SDJ
88112017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8812
8813 * gdb.server/non-existing-program.exp: Update regex in order to
8814 reflect the fact that gdbserver is now using fork_inferior (with a
8815 shell) to startup the inferior.
8816
8e86a419
SM
88172017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8818
8819 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8820 support function calls from GDB.
8821
e6cf65f2
TT
88222017-05-21 Tom Tromey <tom@tromey.com>
8823
8824 PR rust/21466:
8825 * gdb.rust/unsized.exp: New file.
8826 * gdb.rust/unsized.rs: New file.
8827
43cc5389
TT
88282017-05-19 Tom Tromey <tom@tromey.com>
8829
8830 PR rust/21484:
8831 * gdb.rust/watch.exp: New file.
8832 * gdb.rust/watch.rs: New file.
8833
ec8df234
TT
88342017-05-18 Tom Tromey <tom@tromey.com>
8835
8836 * gdb.rust/simple.exp: Allow Box to be qualified.
8837
3e3e7fae
TP
88382017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8839
8840 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8841
59cc050d
PA
88422017-05-18 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/fileio.c (test_write, test_read, test_close)
8845 (test_fstat): Don't print 'ret' in the fail path.
8846
c8f6abd1
PA
88472017-05-18 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8850 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8851 (test_system, test_rename, test_unlink, test_time): Change
8852 prototypes.
8853 * gdb.base/fileio.exp (stop_msg): Adjust.
8854
d2a03b77
PA
88552017-05-18 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.base/fileio.c (null_str): New global.
8858 (test_stat): Use it.
8859 * gdb.base/fileio.exp: Remove nowarnings.
8860
0d5c6999
YQ
88612017-05-17 Yao Qi <yao.qi@linaro.org>
8862
8863 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8864
21873064
YQ
88652017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8866
8867 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8868 argument command.
8869 (top-level): Invoke test_set_inferior_tty.
8870
d512d31c
PA
88712017-05-04 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8874 Add parens to print call for Python 3.
8875
90cef2ed
KS
88762017-05-03 Keith Seitz <keiths@redhat.com>
8877
8878 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8879 (main): Call it.
8880
14f819c8
TW
88812017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8882
8883 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8884 to prev and next.
8885
913aeadd
TW
88862017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8887
8888 * gdb.python/py-record-btrace.exp: Remove test for
8889 gdb.BtraceInstruction.error.
8890
a3be24ad
TW
88912017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8892
8893 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8894
ae20e79a
TW
88952017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8896
8897 * gdb.python/py-record-btrace-threads.c: New file.
8898 * gdb.python/py-record-btrace-threads.exp: New file.
8899
45ce1b47
SDJ
89002017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8901
8902 PR testsuite/8595
8903 * gdb.base/environ.exp: Make test available in all architectures.
8904 Move bits related to "info program" testing to
8905 gdb.base/info-program.exp. Rewrite tests to use the two new
8906 procedures mentione below.
8907 (test_set_show_env_var) New procedure.
8908 (test_set_show_env_var_equal): Likewise.
8909 * gdb.base/info-program.exp: New file.
8910
e15c3eb4
KS
89112017-04-27 Keith Seitz <keiths@redhat.com>
8912
8913 * gdb.cp/oranking.cc (test15): New function.
8914 (main): Call test15 and declare additional variables for testing.
8915 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8916 "p foo101('abc')" tests.
8917 Add tests for cv qualifier overloads.
8918 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8919 "lvalue reference overload" test.
8920 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8921 "print value of f1 on Child&& in f2" test.
8922
3a3fd0fd
PA
89232017-04-19 Pedro Alves <palves@redhat.com>
8924
8925 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8926 procedure.
8927 (top level): Call it.
8928 * lib/gdb.exp (gdb_define_cmd): New procedure.
8929
53375380
PA
89302017-04-12 Pedro Alves <palves@redhat.com>
8931
8932 PR gdb/21323
8933 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8934 (wchar): New global.
8935 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8936 (do_test_wide_char, wide_char_types_no_program, top level): Add
8937 wchar_t testing.
8938
53e710ac
PA
89392017-04-12 Pedro Alves <palves@redhat.com>
8940
8941 PR c++/21323
8942 * gdb.cp/wide_char_types.c: New file.
8943 * gdb.cp/wide_char_types.exp: New file.
8944
0ad9d8c7
SDJ
89452017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8946
8947 PR gdb/21352
8948 * gdb.trace/tsv.exp: Add test for "tsave -r".
8949
b1b45502
IB
89502017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8951
8952 * gdb.dlang/watch-loc.c: New file.
8953 * gdb.dlang/watch-loc.exp: New file.
8954
ec13808e
JK
89552017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8956
8957 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8958
fe5f7374
AK
89592017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8960
8961 * gdb.arch/arc-analyze-prologue.S: New file.
8962 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8963
eea78757
AK
89642017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8965
8966 * gdb.arch/arc-decode-insn.S: New file.
8967 * gdb.arch/arc-decode-insn.exp: Likewise.
8968
5badf10a
IR
89692017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8970
8971 PR tdep/20928
8972 * gdb.arch/sparc64-regs.exp: New file.
8973 * gdb.arch/sparc64-regs.S: Likewise.
8974
cee59b3f
TW
89752017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8976
8977 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8978 and memory view on Python 3.
8979
c0f55cc6
AV
89802017-03-20 Artemiy Volkov <artemiyv@acm.org>
8981 Keith Seitz <keiths@redhat.com>
8982
8983 PR gdb/14441
8984 * gdb.cp/demangle.exp: Add rvalue reference tests.
8985 * gdb.cp/rvalue-ref-casts.cc: New file.
8986 * gdb.cp/rvalue-ref-casts.exp: New file.
8987 * gdb.cp/rvalue-ref-overload.cc: New file.
8988 * gdb.cp/rvalue-ref-overload.exp: New file.
8989 * gdb.cp/rvalue-ref-params.cc: New file.
8990 * gdb.cp/rvalue-ref-params.exp: New file.
8991 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8992 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8993 * gdb.cp/rvalue-ref-types.cc: New file.
8994 * gdb.cp/rvalue-ref-types.exp: New file.
8995 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8996 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8997
51457a05
MAL
89982017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8999
9000 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9001 New procedure.
9002
5b291c04
MAL
90032017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9004
9005 * lib/mi-support.exp (mi_gdb_test): Add additional message
9006 for unexpected output.
9007
59a56148
AA
90082017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9009
9010 * gdb.base/examine-backward.c (Barrier): New character array
9011 constant, to ensure that TestStrings is preceded by a string
9012 terminator.
9013
7942e96e
AA
90142017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9015
9016 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9017 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9018 and implicit pointer into such a location.
9019
6ebac3fb
DE
90202017-03-16 Doug Evans <dje@google.com>
9021
9022 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9023
ec3b243d
TP
90242017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9025
9026 * gdb.cp/m-static.exp: Fix expectation for prototype of
9027 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9028
90292017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9030
9031 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9032 * gdb.guile/scm-lazy-string.c: New file.
9033 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9034 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9035 for pointer, array, typedef lazy strings.
9036
2cc36e25 90372017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9038
9039 PR python/17728, python/18439, python/18779
9040 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9041 * gdb.python/py-lazy-string.c (pointer): New typedef.
9042 (main): New locals ptr, array, typedef_ptr.
9043 * gdb.python/py-value.exp: Move lazy string tests to ...
9044 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9045 array, typedef lazy strings.
ec3b243d 9046
0efcde63
AK
90472017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9048
9049 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9050 Add optional 'test' parameter.
9051
7978d7c3
SM
90522017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9053
9054 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9055 Skip for versions of DejaGnu < 1.5.
9056
896c0c1e
SM
90572017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9058
9059 * lib/gdb.exp (dejagnu_version): New proc.
9060 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9061 Use dejagnu_version.
9062
5f4d1085
KS
90632017-03-10 Keith Seitz <keiths@redhat.com>
9064
9065 PR c++/8128
9066 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9067 type from destructor regexps.
9068 Add a branch which actually passes the test.
9069 Adjust "ptype t5i" test names.
9070
1de05205
PA
90712017-03-08 Pedro Alves <palves@redhat.com>
9072
9073 * gdb.base/step-over-exit.exp: Add explicit test message.
9074
c65d6b55
PA
90752017-03-08 Pedro Alves <palves@redhat.com>
9076
9077 PR gdb/18360
9078 * gdb.threads/interrupt-while-step-over.c: New file.
9079 * gdb.threads/interrupt-while-step-over.exp: New file.
9080
2e86a283
PA
90812017-03-08 Pedro Alves <palves@redhat.com>
9082
9083 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9084 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9085
25dcbff6
PA
90862017-03-08 Pedro Alves <palves@redhat.com>
9087
9088 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9089 PKRU as not supported as a PASS.
9090
dc9366eb
PA
90912017-03-08 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9094 prefix instead of $binfile1/$binfile2.
9095 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9096 in test message.
9097 * gdb.python/py-completion.exp: Use "load python file" as test
9098 messages instead of unstable path names.
9099
6e5d74e7
PA
91002017-03-08 Pedro Alves <palves@redhat.com>
9101 Jan Kratochvil <jan.kratochvil@redhat.com>
9102
9103 PR cli/21218
9104 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9105 New proc.
9106 (top level): Call it.
9107
9753a2f6
PA
91082017-03-08 Pedro Alves <palves@redhat.com>
9109
9110 PR tui/21216
9111 * gdb.tui/tui-nl-filtered-output.exp: New file.
9112
1a4dd9dd
PA
91132017-03-08 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.base/completion.exp: Move TUI completion tests to ...
9116 * gdb.tui/completion.exp: ... this new file.
9117
7cbbff33
PA
91182017-03-08 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/tui-disasm-long-lines.c,
9121 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9122 gdb.base/tui-layout.exp: Move to ...
9123 * gdb.tui/: ... this new directory.
9124
5f6fd321
PA
91252017-03-07 Pedro Alves <palves@redhat.com>
9126
9127 * gdb.base/tui-layout.c: New file.
9128 * gdb.base/tui-layout.exp: New file.
9129
44959fa8
PA
91302017-03-07 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.base/tui-layout.c: Rename to ...
9133 * gdb.base/tui-disasm-long-lines.c: ... this.
9134 * gdb.base/tui-layout.exp: Rename to ...
9135 * gdb.base/tui-disasm-long-lines.exp: ... this.
9136
f8c4e718
PA
91372017-03-07 Pedro Alves <palves@redhat.com>
9138
9139 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9140
6dbb839a 91412017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9142
9143 * i386-mpx-call.c: New file.
9144 * i386-mpx-call.exp: New file.
9145
65b48a81
PB
91462017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9147
9148 * gdb.arch/powerpc-power.exp: Delete test.
9149 * gdb.arch/powerpc-power.s: Likewise.
9150 * gdb.disasm/disassembler-options.exp: New test.
9151 * gdb.arch/powerpc-altivec.exp: Likewise.
9152 * gdb.arch/powerpc-altivec.s: Likewise.
9153 * gdb.arch/powerpc-altivec2.exp: Likewise.
9154 * gdb.arch/powerpc-altivec2.s: Likewise.
9155 * gdb.arch/powerpc-altivec3.exp: Likewise.
9156 * gdb.arch/powerpc-altivec3.s: Likewise.
9157 * gdb.arch/powerpc-power7.exp: Likewise.
9158 * gdb.arch/powerpc-power7.s: Likewise.
9159 * gdb.arch/powerpc-power8.exp: Likewise.
9160 * gdb.arch/powerpc-power8.s: Likewise.
9161 * gdb.arch/powerpc-power9.exp: Likewise.
9162 * gdb.arch/powerpc-power9.s: Likewise.
9163 * gdb.arch/powerpc-vsx.exp: Likewise.
9164 * gdb.arch/powerpc-vsx.s: Likewise.
9165 * gdb.arch/powerpc-vsx2.exp: Likewise.
9166 * gdb.arch/powerpc-vsx2.s: Likewise.
9167 * gdb.arch/powerpc-vsx3.exp: Likewise.
9168 * gdb.arch/powerpc-vsx3.s: Likewise.
9169 * gdb.arch/arm-disassembler-options.exp: Likewise.
9170 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9171 * gdb.arch/s390-disassembler-options.exp: Likewise.
9172
17cd4947
LM
91732017-02-23 Luis Machado <lgustavo@codesourcery.com>
9174
9175 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9176 (check_supported_features): ... this. Changed return type to void.
9177 (supports_rdseed): New static global.
9178 (rdseed): Check supports_rdseed.
9179 (initialize): Call check_supported_features.
9180
2039d74e
EBM
91812017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9182
9183 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9184 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9185 and lqarx/stqcx.
9186 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9187 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9188
a51d7ecf
EBM
91892017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9190
9191 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9192 uppercase.
9193
0224619f
JK
91942017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9195
9196 * gdb.dwarf2/formdata16.c: New file.
9197 * gdb.dwarf2/formdata16.exp: New file.
9198 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9199
216f72a1
JK
92002017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9203 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9204 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9205 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9206 DW_AT_GNU_*.
9207
43988095
JK
92082017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9209
9210 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9211
99e8a4f9
SDJ
92122017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9213
9214 PR gdb/21164
9215 * gdb.base/maint.exp: Add testcases for when the commands do
9216 not have arguments.
9217
b58a8c0c
TP
92182017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9219
9220 * gdb.cp/chained-calls.exp: Use p instead of P.
9221
4e746bb6
TW
92222017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9223
9224 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9225 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9226
3f77c769
TT
92272017-02-14 Tom Tromey <tom@tromey.com>
9228
9229 PR python/13598:
9230 * gdb.python/py-events.exp: Add before_prompt event tests.
9231
075beec0
AA
92322017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9233
9234 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9235
bf5f525c
LM
92362017-02-13 Luis Machado <lgustavo@codesourcery.com>
9237
9238 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9239 (main): Call my_unique_function_name.
9240 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9241 completion of patterns with a single match.
9242 Add missing -re switches to gdb_test_multiple calls.
9243
13a66184
LM
92442017-02-13 Luis Machado <lgustavo@codesourcery.com>
9245
9246 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9247 return if core file is not recognized.
9248
26a06916
SM
92492017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9250
9251 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9252 and extra UIs.
9253
b761ca9e
SM
92542017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9255
9256 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9257 proc_with_prefix.
9258
b964bee0
TT
92592017-02-10 Tom Tromey <tom@tromey.com>
9260
9261 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9262
18da0c51
MG
92632017-02-10 Martin Galvan <martingalvan@sourceware.org>
9264
9265 PR gdb/21122
9266 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9267
604c4576
JG
92682017-02-08 Jerome Guitton <guitton@adacore.com>
9269
9270 * gdb.base/define.exp: Add test for command abbreviations
9271 in define.
9272
20b477a7
LM
92732017-02-06 Luis Machado <lgustavo@codesourcery.com>
9274
9275 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9276 * gdb.reverse/insn-reverse-x86.c: New file.
9277
3f7b46f2
IR
92782017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9279
9280 PR tdep/20936
9281 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9282
f0fd41c1
TT
92832017-02-03 Tom Tromey <tom@tromey.com>
9284
9285 PR rust/21097:
9286 * gdb.rust/simple.exp: Add new tests.
9287
5be5dbf0
PA
92882017-02-02 Pedro Alves <palves@redhat.com>
9289
9290 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9291 tests.
9292
7346ef59
AA
92932017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9294
9295 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9296 taking a 2-byte value out of a 4-byte DWARF implicit value on
9297 big-endian targets.
9298 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9299 logic. Add test cases for DW_OP_implicit.
9300
787f0025
MM
93012017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9302
9303 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9304
68777c29
MM
93052017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9306
9307 * gdb.btrace/enable.exp: Call gdb_exit before
9308 skip_gdbserver_tests.
9309
0a1c7e28
MM
93102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9313 GDBFLAGS.
9314
b5ac99b0
MM
93152017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9316
9317 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9318 the test is skipped.
9319 * gdb.btrace/data.exp: Likewise.
9320 * gdb.btrace/delta.exp: Likewise.
9321 * gdb.btrace/dlopen.exp: Likewise.
9322 * gdb.btrace/enable-running.exp: Likewise.
9323 * gdb.btrace/enable.exp: Likewise.
9324 * gdb.btrace/exception.exp: Likewise.
9325 * gdb.btrace/function_call_history.exp: Likewise.
9326 * gdb.btrace/gcore.exp: Likewise.
9327 * gdb.btrace/instruction_history.exp: Likewise.
9328 * gdb.btrace/multi-thread-step.exp: Likewise.
9329 * gdb.btrace/nohist.exp: Likewise.
9330 * gdb.btrace/non-stop.exp: Likewise.
9331 * gdb.btrace/reconnect.exp: Likewise.
9332 * gdb.btrace/record_goto-step.exp: Likewise.
9333 * gdb.btrace/record_goto.exp: Likewise.
9334 * gdb.btrace/rn-dl-bind.exp: Likewise.
9335 * gdb.btrace/segv.exp: Likewise.
9336 * gdb.btrace/step.exp: Likewise.
9337 * gdb.btrace/stepi.exp: Likewise.
9338 * gdb.btrace/tailcall-only.exp: Likewise.
9339 * gdb.btrace/tailcall.exp: Likewise.
9340 * gdb.btrace/tsx.exp: Likewise.
9341 * gdb.btrace/unknown_functions.exp: Likewise.
9342 * gdb.btrace/vdso.exp: Likewise.
9343
cd4007e4
MM
93442017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9345
9346 * gdb.btrace/enable-running.c: New.
9347 * gdb.btrace/enable-running.exp: New.
9348
2735833d
WT
93492017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9350
9351 * gdb.arch/amd64-gs_base.c: New file.
9352 * gdb.arch/amd64-gs_base.exp: New file.
9353
b51e1e94
LM
93542017-01-26 Luis Machado <lgustavo@codesourcery.com>
9355
9356 * lib/memory.exp: Remove spurious empty newlines.
9357
72ca0410
SM
93582017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9359
9360 * gdb.python/py-bad-printers.exp: Load python file using "source".
9361 * gdb.python/py-events.exp: Likewise.
9362 * gdb.python/py-evsignal.exp: Likewise.
9363 * gdb.python/py-evthreads.exp: Likewise.
9364 * gdb.python/py-frame-args.exp: Likewise.
9365 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9366 * gdb.python/py-framefilter-mi.exp: Likewise.
9367 * gdb.python/py-framefilter.exp: Likewise.
9368 * gdb.python/py-mi.exp: Likewise.
9369 * gdb.python/py-pp-maint.exp: Likewise.
9370 * gdb.python/py-pp-registration.exp: Likewise.
9371 * gdb.python/py-prettyprint.exp: Likewise.
9372 (run_lang_tests): Likewise.
9373 * gdb.python/py-typeprint.exp: Likewise.
9374
e309aa65
LM
93752017-01-26 Luis Machado <lgustavo@codesourcery.com>
9376
9377 * lib/memory.exp: New file.
9378 * lib/gdb.exp: Load memory.exp.
9379 * gdb.base/memattr.exp (delete_memory): Move proc to
9380 lib/memory.exp and rename to delete_memory_regions.
9381 Replace delete_memory with delete_memory_regions.
9382 Cleanup memory regions before tests.
9383 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9384 before tests.
9385
515aff23
LM
93862017-01-26 Luis Machado <lgustavo@codesourcery.com>
9387
9388 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9389 files.
9390 (initialize): New function conditionally defined.
9391 (testcases): Move within conditional block.
9392 (main): Call initialize.
9393 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9394 of gdb.reverse/insn-reverse.c.
9395 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9396 gdb.reverse/insn-reverse.c.
9397
d8b49cf0
YQ
93982017-01-26 Yao Qi <yao.qi@linaro.org>
9399
9400 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9401 disassemble on address 0.
9402
f13a9a0c
YQ
94032017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9404 Yao Qi <yao.qi@linaro.org>
9405
9406 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9407 * gdb.dwarf2/implptr-64bit.S: Remove.
9408 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9409 variables in caller's context. Add DW_OP_implicit_value.
9410
5ac95241
YQ
94112017-01-25 Yao Qi <yao.qi@linaro.org>
9412
9413 * lib/dwarf.exp (Dwarf::_location): Handle
9414 DW_OP_GNU_implicit_pointer with proper size.
9415
23e82930
LM
94162017-01-20 Luis Machado <lgustavo@codesourcery.com>
9417
9418 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9419 and add untested calls.
9420
d334ae25
LM
94212017-01-20 Luis Machado <lgustavo@codesourcery.com>
9422
9423 * gdb.python/python.exp: Check line number against what GDB thinks
9424 the line number is for func1.
9425
f5e6296e
IB
94262017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9427
9428 * gdb.dlang/debug-expr.exp: New file.
9429
5b362f04
LM
94302016-12-23 Luis Machado <lgustavo@codesourcery.com>
9431
9432 Fix test names for the following files:
9433
9434 * gdb.ada/exec_changed.exp
9435 * gdb.ada/info_types.exp
9436 * gdb.arch/aarch64-atomic-inst.exp
9437 * gdb.arch/aarch64-fp.exp
9438 * gdb.arch/altivec-abi.exp
9439 * gdb.arch/altivec-regs.exp
9440 * gdb.arch/amd64-byte.exp
9441 * gdb.arch/amd64-disp-step.exp
9442 * gdb.arch/amd64-dword.exp
9443 * gdb.arch/amd64-entry-value-inline.exp
9444 * gdb.arch/amd64-entry-value-param.exp
9445 * gdb.arch/amd64-entry-value-paramref.exp
9446 * gdb.arch/amd64-entry-value.exp
9447 * gdb.arch/amd64-i386-address.exp
9448 * gdb.arch/amd64-invalid-stack-middle.exp
9449 * gdb.arch/amd64-invalid-stack-top.exp
9450 * gdb.arch/amd64-optimout-repeat.exp
9451 * gdb.arch/amd64-prologue-skip.exp
9452 * gdb.arch/amd64-prologue-xmm.exp
9453 * gdb.arch/amd64-stap-special-operands.exp
9454 * gdb.arch/amd64-stap-wrong-subexp.exp
9455 * gdb.arch/amd64-tailcall-cxx.exp
9456 * gdb.arch/amd64-tailcall-noret.exp
9457 * gdb.arch/amd64-tailcall-ret.exp
9458 * gdb.arch/amd64-tailcall-self.exp
9459 * gdb.arch/amd64-word.exp
9460 * gdb.arch/arm-bl-branch-dest.exp
9461 * gdb.arch/arm-disp-step.exp
9462 * gdb.arch/arm-neon.exp
9463 * gdb.arch/arm-single-step-kernel-helper.exp
9464 * gdb.arch/avr-flash-qualifier.exp
9465 * gdb.arch/disp-step-insn-reloc.exp
9466 * gdb.arch/e500-abi.exp
9467 * gdb.arch/e500-regs.exp
9468 * gdb.arch/ftrace-insn-reloc.exp
9469 * gdb.arch/i386-avx512.exp
9470 * gdb.arch/i386-bp_permanent.exp
9471 * gdb.arch/i386-byte.exp
9472 * gdb.arch/i386-cfi-notcurrent.exp
9473 * gdb.arch/i386-disp-step.exp
9474 * gdb.arch/i386-dr3-watch.exp
9475 * gdb.arch/i386-float.exp
9476 * gdb.arch/i386-gnu-cfi.exp
9477 * gdb.arch/i386-mpx-map.exp
9478 * gdb.arch/i386-mpx-sigsegv.exp
9479 * gdb.arch/i386-mpx-simple_segv.exp
9480 * gdb.arch/i386-mpx.exp
9481 * gdb.arch/i386-permbkpt.exp
9482 * gdb.arch/i386-prologue.exp
9483 * gdb.arch/i386-signal.exp
9484 * gdb.arch/i386-size-overlap.exp
9485 * gdb.arch/i386-unwind.exp
9486 * gdb.arch/i386-word.exp
9487 * gdb.arch/mips-fcr.exp
9488 * gdb.arch/powerpc-d128-regs.exp
9489 * gdb.arch/powerpc-stackless.exp
9490 * gdb.arch/ppc64-atomic-inst.exp
9491 * gdb.arch/s390-stackless.exp
9492 * gdb.arch/s390-tdbregs.exp
9493 * gdb.arch/s390-vregs.exp
9494 * gdb.arch/sparc-sysstep.exp
9495 * gdb.arch/thumb-bx-pc.exp
9496 * gdb.arch/thumb-singlestep.exp
9497 * gdb.arch/thumb2-it.exp
9498 * gdb.arch/vsx-regs.exp
9499 * gdb.asm/asm-source.exp
9500 * gdb.base/a2-run.exp
9501 * gdb.base/advance.exp
9502 * gdb.base/all-bin.exp
9503 * gdb.base/anon.exp
9504 * gdb.base/args.exp
9505 * gdb.base/arithmet.exp
9506 * gdb.base/async-shell.exp
9507 * gdb.base/async.exp
9508 * gdb.base/attach-pie-noexec.exp
9509 * gdb.base/attach-twice.exp
9510 * gdb.base/auto-load.exp
9511 * gdb.base/bang.exp
9512 * gdb.base/bitfields.exp
9513 * gdb.base/break-always.exp
9514 * gdb.base/break-caller-line.exp
9515 * gdb.base/break-entry.exp
9516 * gdb.base/break-inline.exp
9517 * gdb.base/break-on-linker-gcd-function.exp
9518 * gdb.base/break-probes.exp
9519 * gdb.base/break.exp
9520 * gdb.base/breakpoint-shadow.exp
9521 * gdb.base/call-ar-st.exp
9522 * gdb.base/call-sc.exp
9523 * gdb.base/call-signal-resume.exp
9524 * gdb.base/call-strs.exp
9525 * gdb.base/callfuncs.exp
9526 * gdb.base/catch-fork-static.exp
9527 * gdb.base/catch-gdb-caused-signals.exp
9528 * gdb.base/catch-load.exp
9529 * gdb.base/catch-signal-fork.exp
9530 * gdb.base/catch-signal.exp
9531 * gdb.base/catch-syscall.exp
9532 * gdb.base/charset.exp
9533 * gdb.base/checkpoint.exp
9534 * gdb.base/chng-syms.exp
9535 * gdb.base/code-expr.exp
9536 * gdb.base/code_elim.exp
9537 * gdb.base/commands.exp
9538 * gdb.base/completion.exp
9539 * gdb.base/complex.exp
9540 * gdb.base/cond-expr.exp
9541 * gdb.base/condbreak.exp
9542 * gdb.base/consecutive.exp
9543 * gdb.base/continue-all-already-running.exp
9544 * gdb.base/coredump-filter.exp
9545 * gdb.base/corefile.exp
9546 * gdb.base/dbx.exp
9547 * gdb.base/debug-expr.exp
9548 * gdb.base/define.exp
9549 * gdb.base/del.exp
9550 * gdb.base/disabled-location.exp
9551 * gdb.base/disasm-end-cu.exp
9552 * gdb.base/disasm-optim.exp
9553 * gdb.base/display.exp
9554 * gdb.base/duplicate-bp.exp
9555 * gdb.base/ena-dis-br.exp
9556 * gdb.base/ending-run.exp
9557 * gdb.base/enumval.exp
9558 * gdb.base/environ.exp
9559 * gdb.base/eu-strip-infcall.exp
9560 * gdb.base/eval-avoid-side-effects.exp
9561 * gdb.base/eval-skip.exp
9562 * gdb.base/exitsignal.exp
9563 * gdb.base/expand-psymtabs.exp
9564 * gdb.base/filesym.exp
9565 * gdb.base/find-unmapped.exp
9566 * gdb.base/finish.exp
9567 * gdb.base/float.exp
9568 * gdb.base/foll-exec-mode.exp
9569 * gdb.base/foll-exec.exp
9570 * gdb.base/foll-fork.exp
9571 * gdb.base/fortran-sym-case.exp
9572 * gdb.base/freebpcmd.exp
9573 * gdb.base/func-ptr.exp
9574 * gdb.base/func-ptrs.exp
9575 * gdb.base/funcargs.exp
9576 * gdb.base/gcore-buffer-overflow.exp
9577 * gdb.base/gcore-relro-pie.exp
9578 * gdb.base/gcore-relro.exp
9579 * gdb.base/gcore.exp
9580 * gdb.base/gdb1090.exp
9581 * gdb.base/gdb11530.exp
9582 * gdb.base/gdb11531.exp
9583 * gdb.base/gdb1821.exp
9584 * gdb.base/gdbindex-stabs.exp
9585 * gdb.base/gdbvars.exp
9586 * gdb.base/hbreak.exp
9587 * gdb.base/hbreak2.exp
9588 * gdb.base/included.exp
9589 * gdb.base/infcall-input.exp
9590 * gdb.base/inferior-died.exp
9591 * gdb.base/infnan.exp
9592 * gdb.base/info-macros.exp
9593 * gdb.base/info-os.exp
9594 * gdb.base/info-proc.exp
9595 * gdb.base/info-shared.exp
9596 * gdb.base/info-target.exp
9597 * gdb.base/infoline.exp
9598 * gdb.base/interp.exp
9599 * gdb.base/interrupt.exp
9600 * gdb.base/jit-reader.exp
9601 * gdb.base/jit-simple.exp
9602 * gdb.base/kill-after-signal.exp
9603 * gdb.base/kill-detach-inferiors-cmd.exp
9604 * gdb.base/label.exp
9605 * gdb.base/langs.exp
9606 * gdb.base/ldbl_e308.exp
9607 * gdb.base/line-symtabs.exp
9608 * gdb.base/linespecs.exp
9609 * gdb.base/list.exp
9610 * gdb.base/long_long.exp
9611 * gdb.base/longest-types.exp
9612 * gdb.base/maint.exp
9613 * gdb.base/max-value-size.exp
9614 * gdb.base/memattr.exp
9615 * gdb.base/mips_pro.exp
9616 * gdb.base/morestack.exp
9617 * gdb.base/moribund-step.exp
9618 * gdb.base/multi-forks.exp
9619 * gdb.base/nested-addr.exp
9620 * gdb.base/nextoverexit.exp
9621 * gdb.base/noreturn-finish.exp
9622 * gdb.base/noreturn-return.exp
9623 * gdb.base/nostdlib.exp
9624 * gdb.base/offsets.exp
9625 * gdb.base/opaque.exp
9626 * gdb.base/pc-fp.exp
9627 * gdb.base/permissions.exp
9628 * gdb.base/print-symbol-loading.exp
9629 * gdb.base/prologue-include.exp
9630 * gdb.base/psymtab.exp
9631 * gdb.base/ptype.exp
9632 * gdb.base/random-signal.exp
9633 * gdb.base/randomize.exp
9634 * gdb.base/range-stepping.exp
9635 * gdb.base/readline-ask.exp
9636 * gdb.base/recpar.exp
9637 * gdb.base/recurse.exp
9638 * gdb.base/relational.exp
9639 * gdb.base/restore.exp
9640 * gdb.base/return-nodebug.exp
9641 * gdb.base/return.exp
9642 * gdb.base/run-after-attach.exp
9643 * gdb.base/save-bp.exp
9644 * gdb.base/scope.exp
9645 * gdb.base/sect-cmd.exp
9646 * gdb.base/set-lang-auto.exp
9647 * gdb.base/set-noassign.exp
9648 * gdb.base/setvar.exp
9649 * gdb.base/sigall.exp
9650 * gdb.base/sigbpt.exp
9651 * gdb.base/siginfo-addr.exp
9652 * gdb.base/siginfo-infcall.exp
9653 * gdb.base/siginfo-obj.exp
9654 * gdb.base/siginfo.exp
9655 * gdb.base/signals-state-child.exp
9656 * gdb.base/signest.exp
9657 * gdb.base/sigstep.exp
9658 * gdb.base/sizeof.exp
9659 * gdb.base/skip.exp
9660 * gdb.base/solib-corrupted.exp
9661 * gdb.base/solib-nodir.exp
9662 * gdb.base/solib-search.exp
9663 * gdb.base/stack-checking.exp
9664 * gdb.base/stale-infcall.exp
9665 * gdb.base/stap-probe.exp
9666 * gdb.base/start.exp
9667 * gdb.base/step-break.exp
9668 * gdb.base/step-bt.exp
9669 * gdb.base/step-line.exp
9670 * gdb.base/step-over-exit.exp
9671 * gdb.base/step-over-syscall.exp
9672 * gdb.base/step-resume-infcall.exp
9673 * gdb.base/step-test.exp
9674 * gdb.base/store.exp
9675 * gdb.base/structs3.exp
9676 * gdb.base/sym-file.exp
9677 * gdb.base/symbol-without-target_section.exp
9678 * gdb.base/term.exp
9679 * gdb.base/testenv.exp
9680 * gdb.base/ui-redirect.exp
9681 * gdb.base/until.exp
9682 * gdb.base/unwindonsignal.exp
9683 * gdb.base/value-double-free.exp
9684 * gdb.base/vla-datatypes.exp
9685 * gdb.base/vla-ptr.exp
9686 * gdb.base/vla-sideeffect.exp
9687 * gdb.base/volatile.exp
9688 * gdb.base/watch-cond-infcall.exp
9689 * gdb.base/watch-cond.exp
9690 * gdb.base/watch-non-mem.exp
9691 * gdb.base/watch-read.exp
9692 * gdb.base/watch-vfork.exp
9693 * gdb.base/watchpoint-cond-gone.exp
9694 * gdb.base/watchpoint-delete.exp
9695 * gdb.base/watchpoint-hw-hit-once.exp
9696 * gdb.base/watchpoint-hw.exp
9697 * gdb.base/watchpoint-stops-at-right-insn.exp
9698 * gdb.base/watchpoints.exp
9699 * gdb.base/wchar.exp
9700 * gdb.base/whatis-exp.exp
9701 * gdb.btrace/buffer-size.exp
9702 * gdb.btrace/data.exp
9703 * gdb.btrace/delta.exp
9704 * gdb.btrace/dlopen.exp
9705 * gdb.btrace/enable.exp
9706 * gdb.btrace/exception.exp
9707 * gdb.btrace/function_call_history.exp
9708 * gdb.btrace/gcore.exp
9709 * gdb.btrace/instruction_history.exp
9710 * gdb.btrace/nohist.exp
9711 * gdb.btrace/reconnect.exp
9712 * gdb.btrace/record_goto-step.exp
9713 * gdb.btrace/record_goto.exp
9714 * gdb.btrace/rn-dl-bind.exp
9715 * gdb.btrace/segv.exp
9716 * gdb.btrace/step.exp
9717 * gdb.btrace/stepi.exp
9718 * gdb.btrace/tailcall-only.exp
9719 * gdb.btrace/tailcall.exp
9720 * gdb.btrace/tsx.exp
9721 * gdb.btrace/unknown_functions.exp
9722 * gdb.btrace/vdso.exp
9723 * gdb.compile/compile-ifunc.exp
9724 * gdb.compile/compile-ops.exp
9725 * gdb.compile/compile-print.exp
9726 * gdb.compile/compile-setjmp.exp
9727 * gdb.cp/abstract-origin.exp
9728 * gdb.cp/ambiguous.exp
9729 * gdb.cp/annota2.exp
9730 * gdb.cp/annota3.exp
9731 * gdb.cp/anon-ns.exp
9732 * gdb.cp/anon-struct.exp
9733 * gdb.cp/anon-union.exp
9734 * gdb.cp/arg-reference.exp
9735 * gdb.cp/baseenum.exp
9736 * gdb.cp/bool.exp
9737 * gdb.cp/breakpoint.exp
9738 * gdb.cp/bs15503.exp
9739 * gdb.cp/call-c.exp
9740 * gdb.cp/casts.exp
9741 * gdb.cp/chained-calls.exp
9742 * gdb.cp/class2.exp
9743 * gdb.cp/classes.exp
9744 * gdb.cp/cmpd-minsyms.exp
9745 * gdb.cp/converts.exp
9746 * gdb.cp/cp-relocate.exp
9747 * gdb.cp/cpcompletion.exp
9748 * gdb.cp/cpexprs.exp
9749 * gdb.cp/cplabel.exp
9750 * gdb.cp/cplusfuncs.exp
9751 * gdb.cp/cpsizeof.exp
9752 * gdb.cp/ctti.exp
9753 * gdb.cp/derivation.exp
9754 * gdb.cp/destrprint.exp
9755 * gdb.cp/dispcxx.exp
9756 * gdb.cp/enum-class.exp
9757 * gdb.cp/exception.exp
9758 * gdb.cp/exceptprint.exp
9759 * gdb.cp/expand-psymtabs-cxx.exp
9760 * gdb.cp/expand-sals.exp
9761 * gdb.cp/extern-c.exp
9762 * gdb.cp/filename.exp
9763 * gdb.cp/formatted-ref.exp
9764 * gdb.cp/fpointer.exp
9765 * gdb.cp/gdb1355.exp
9766 * gdb.cp/gdb2495.exp
9767 * gdb.cp/hang.exp
9768 * gdb.cp/impl-this.exp
9769 * gdb.cp/infcall-dlopen.exp
9770 * gdb.cp/inherit.exp
9771 * gdb.cp/iostream.exp
9772 * gdb.cp/koenig.exp
9773 * gdb.cp/local.exp
9774 * gdb.cp/m-data.exp
9775 * gdb.cp/m-static.exp
9776 * gdb.cp/mb-ctor.exp
9777 * gdb.cp/mb-inline.exp
9778 * gdb.cp/mb-templates.exp
9779 * gdb.cp/member-name.exp
9780 * gdb.cp/member-ptr.exp
9781 * gdb.cp/meth-typedefs.exp
9782 * gdb.cp/method.exp
9783 * gdb.cp/method2.exp
9784 * gdb.cp/minsym-fallback.exp
9785 * gdb.cp/misc.exp
9786 * gdb.cp/namelessclass.exp
9787 * gdb.cp/namespace-enum.exp
9788 * gdb.cp/namespace-nested-import.exp
9789 * gdb.cp/namespace.exp
9790 * gdb.cp/nextoverthrow.exp
9791 * gdb.cp/no-dmgl-verbose.exp
9792 * gdb.cp/non-trivial-retval.exp
9793 * gdb.cp/noparam.exp
9794 * gdb.cp/nsdecl.exp
9795 * gdb.cp/nsimport.exp
9796 * gdb.cp/nsnested.exp
9797 * gdb.cp/nsnoimports.exp
9798 * gdb.cp/nsrecurs.exp
9799 * gdb.cp/nsstress.exp
9800 * gdb.cp/nsusing.exp
9801 * gdb.cp/operator.exp
9802 * gdb.cp/oranking.exp
9803 * gdb.cp/overload-const.exp
9804 * gdb.cp/overload.exp
9805 * gdb.cp/ovldbreak.exp
9806 * gdb.cp/ovsrch.exp
9807 * gdb.cp/paren-type.exp
9808 * gdb.cp/parse-lang.exp
9809 * gdb.cp/pass-by-ref.exp
9810 * gdb.cp/pr-1023.exp
9811 * gdb.cp/pr-1210.exp
9812 * gdb.cp/pr-574.exp
9813 * gdb.cp/pr10687.exp
9814 * gdb.cp/pr12028.exp
9815 * gdb.cp/pr17132.exp
9816 * gdb.cp/pr17494.exp
9817 * gdb.cp/pr9067.exp
9818 * gdb.cp/pr9167.exp
9819 * gdb.cp/pr9631.exp
9820 * gdb.cp/printmethod.exp
9821 * gdb.cp/psmang.exp
9822 * gdb.cp/psymtab-parameter.exp
9823 * gdb.cp/ptype-cv-cp.exp
9824 * gdb.cp/ptype-flags.exp
9825 * gdb.cp/re-set-overloaded.exp
9826 * gdb.cp/ref-types.exp
9827 * gdb.cp/rtti.exp
9828 * gdb.cp/scope-err.exp
9829 * gdb.cp/shadow.exp
9830 * gdb.cp/smartp.exp
9831 * gdb.cp/static-method.exp
9832 * gdb.cp/static-print-quit.exp
9833 * gdb.cp/temargs.exp
9834 * gdb.cp/templates.exp
9835 * gdb.cp/try_catch.exp
9836 * gdb.cp/typedef-operator.exp
9837 * gdb.cp/typeid.exp
9838 * gdb.cp/userdef.exp
9839 * gdb.cp/using-crash.exp
9840 * gdb.cp/var-tag.exp
9841 * gdb.cp/virtbase.exp
9842 * gdb.cp/virtfunc.exp
9843 * gdb.cp/virtfunc2.exp
9844 * gdb.cp/vla-cxx.exp
9845 * gdb.disasm/t01_mov.exp
9846 * gdb.disasm/t02_mova.exp
9847 * gdb.disasm/t03_add.exp
9848 * gdb.disasm/t04_sub.exp
9849 * gdb.disasm/t05_cmp.exp
9850 * gdb.disasm/t06_ari2.exp
9851 * gdb.disasm/t07_ari3.exp
9852 * gdb.disasm/t08_or.exp
9853 * gdb.disasm/t09_xor.exp
9854 * gdb.disasm/t10_and.exp
9855 * gdb.disasm/t11_logs.exp
9856 * gdb.disasm/t12_bit.exp
9857 * gdb.disasm/t13_otr.exp
9858 * gdb.dlang/circular.exp
9859 * gdb.dwarf2/arr-stride.exp
9860 * gdb.dwarf2/arr-subrange.exp
9861 * gdb.dwarf2/atomic-type.exp
9862 * gdb.dwarf2/bad-regnum.exp
9863 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9864 * gdb.dwarf2/callframecfa.exp
9865 * gdb.dwarf2/clztest.exp
9866 * gdb.dwarf2/corrupt.exp
9867 * gdb.dwarf2/data-loc.exp
9868 * gdb.dwarf2/dup-psym.exp
9869 * gdb.dwarf2/dw2-anon-mptr.exp
9870 * gdb.dwarf2/dw2-anonymous-func.exp
9871 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9872 * gdb.dwarf2/dw2-bad-unresolved.exp
9873 * gdb.dwarf2/dw2-basic.exp
9874 * gdb.dwarf2/dw2-canonicalize-type.exp
9875 * gdb.dwarf2/dw2-case-insensitive.exp
9876 * gdb.dwarf2/dw2-common-block.exp
9877 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9878 * gdb.dwarf2/dw2-compressed.exp
9879 * gdb.dwarf2/dw2-const.exp
9880 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9881 * gdb.dwarf2/dw2-cu-size.exp
9882 * gdb.dwarf2/dw2-dup-frame.exp
9883 * gdb.dwarf2/dw2-entry-value.exp
9884 * gdb.dwarf2/dw2-icycle.exp
9885 * gdb.dwarf2/dw2-ifort-parameter.exp
9886 * gdb.dwarf2/dw2-inline-break.exp
9887 * gdb.dwarf2/dw2-inline-param.exp
9888 * gdb.dwarf2/dw2-intercu.exp
9889 * gdb.dwarf2/dw2-intermix.exp
9890 * gdb.dwarf2/dw2-lexical-block-bare.exp
9891 * gdb.dwarf2/dw2-linkage-name-trust.exp
9892 * gdb.dwarf2/dw2-minsym-in-cu.exp
9893 * gdb.dwarf2/dw2-noloc.exp
9894 * gdb.dwarf2/dw2-op-call.exp
9895 * gdb.dwarf2/dw2-op-out-param.exp
9896 * gdb.dwarf2/dw2-opt-structptr.exp
9897 * gdb.dwarf2/dw2-param-error.exp
9898 * gdb.dwarf2/dw2-producer.exp
9899 * gdb.dwarf2/dw2-ranges-base.exp
9900 * gdb.dwarf2/dw2-ref-missing-frame.exp
9901 * gdb.dwarf2/dw2-reg-undefined.exp
9902 * gdb.dwarf2/dw2-regno-invalid.exp
9903 * gdb.dwarf2/dw2-restore.exp
9904 * gdb.dwarf2/dw2-restrict.exp
9905 * gdb.dwarf2/dw2-single-line-discriminators.exp
9906 * gdb.dwarf2/dw2-strp.exp
9907 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9908 * gdb.dwarf2/dw2-unresolved.exp
9909 * gdb.dwarf2/dw2-var-zero-addr.exp
9910 * gdb.dwarf2/dw4-sig-types.exp
9911 * gdb.dwarf2/dwz.exp
9912 * gdb.dwarf2/dynarr-ptr.exp
9913 * gdb.dwarf2/enum-type.exp
9914 * gdb.dwarf2/gdb-index.exp
9915 * gdb.dwarf2/implptr-64bit.exp
9916 * gdb.dwarf2/implptr-optimized-out.exp
9917 * gdb.dwarf2/implptr.exp
9918 * gdb.dwarf2/implref-array.exp
9919 * gdb.dwarf2/implref-const.exp
9920 * gdb.dwarf2/implref-global.exp
9921 * gdb.dwarf2/implref-struct.exp
9922 * gdb.dwarf2/mac-fileno.exp
9923 * gdb.dwarf2/main-subprogram.exp
9924 * gdb.dwarf2/member-ptr-forwardref.exp
9925 * gdb.dwarf2/method-ptr.exp
9926 * gdb.dwarf2/missing-sig-type.exp
9927 * gdb.dwarf2/nonvar-access.exp
9928 * gdb.dwarf2/opaque-type-lookup.exp
9929 * gdb.dwarf2/pieces-optimized-out.exp
9930 * gdb.dwarf2/pieces.exp
9931 * gdb.dwarf2/pr10770.exp
9932 * gdb.dwarf2/pr13961.exp
9933 * gdb.dwarf2/staticvirtual.exp
9934 * gdb.dwarf2/subrange.exp
9935 * gdb.dwarf2/symtab-producer.exp
9936 * gdb.dwarf2/trace-crash.exp
9937 * gdb.dwarf2/typeddwarf.exp
9938 * gdb.dwarf2/valop.exp
9939 * gdb.dwarf2/watch-notconst.exp
9940 * gdb.fortran/array-element.exp
9941 * gdb.fortran/charset.exp
9942 * gdb.fortran/common-block.exp
9943 * gdb.fortran/complex.exp
9944 * gdb.fortran/derived-type-function.exp
9945 * gdb.fortran/derived-type.exp
9946 * gdb.fortran/logical.exp
9947 * gdb.fortran/module.exp
9948 * gdb.fortran/multi-dim.exp
9949 * gdb.fortran/nested-funcs.exp
9950 * gdb.fortran/print-formatted.exp
9951 * gdb.fortran/subarray.exp
9952 * gdb.fortran/vla-alloc-assoc.exp
9953 * gdb.fortran/vla-datatypes.exp
9954 * gdb.fortran/vla-history.exp
9955 * gdb.fortran/vla-ptr-info.exp
9956 * gdb.fortran/vla-ptype-sub.exp
9957 * gdb.fortran/vla-ptype.exp
9958 * gdb.fortran/vla-sizeof.exp
9959 * gdb.fortran/vla-type.exp
9960 * gdb.fortran/vla-value-sub-arbitrary.exp
9961 * gdb.fortran/vla-value-sub-finish.exp
9962 * gdb.fortran/vla-value-sub.exp
9963 * gdb.fortran/vla-value.exp
9964 * gdb.fortran/whatis_type.exp
9965 * gdb.go/chan.exp
9966 * gdb.go/handcall.exp
9967 * gdb.go/hello.exp
9968 * gdb.go/integers.exp
9969 * gdb.go/methods.exp
9970 * gdb.go/package.exp
9971 * gdb.go/strings.exp
9972 * gdb.go/types.exp
9973 * gdb.go/unsafe.exp
9974 * gdb.guile/scm-arch.exp
9975 * gdb.guile/scm-block.exp
9976 * gdb.guile/scm-breakpoint.exp
9977 * gdb.guile/scm-cmd.exp
9978 * gdb.guile/scm-disasm.exp
9979 * gdb.guile/scm-equal.exp
9980 * gdb.guile/scm-frame-args.exp
9981 * gdb.guile/scm-frame-inline.exp
9982 * gdb.guile/scm-frame.exp
9983 * gdb.guile/scm-iterator.exp
9984 * gdb.guile/scm-math.exp
9985 * gdb.guile/scm-objfile.exp
9986 * gdb.guile/scm-ports.exp
9987 * gdb.guile/scm-symbol.exp
9988 * gdb.guile/scm-symtab.exp
9989 * gdb.guile/scm-value-cc.exp
9990 * gdb.guile/types-module.exp
9991 * gdb.linespec/break-ask.exp
9992 * gdb.linespec/cpexplicit.exp
9993 * gdb.linespec/explicit.exp
9994 * gdb.linespec/keywords.exp
9995 * gdb.linespec/linespec.exp
9996 * gdb.linespec/ls-dollar.exp
9997 * gdb.linespec/ls-errs.exp
9998 * gdb.linespec/skip-two.exp
9999 * gdb.linespec/thread.exp
10000 * gdb.mi/mi-async.exp
10001 * gdb.mi/mi-basics.exp
10002 * gdb.mi/mi-break.exp
10003 * gdb.mi/mi-catch-load.exp
10004 * gdb.mi/mi-cli.exp
10005 * gdb.mi/mi-cmd-param-changed.exp
10006 * gdb.mi/mi-console.exp
10007 * gdb.mi/mi-detach.exp
10008 * gdb.mi/mi-disassemble.exp
10009 * gdb.mi/mi-eval.exp
10010 * gdb.mi/mi-file-transfer.exp
10011 * gdb.mi/mi-file.exp
10012 * gdb.mi/mi-fill-memory.exp
10013 * gdb.mi/mi-inheritance-syntax-error.exp
10014 * gdb.mi/mi-linespec-err-cp.exp
10015 * gdb.mi/mi-logging.exp
10016 * gdb.mi/mi-memory-changed.exp
10017 * gdb.mi/mi-read-memory.exp
10018 * gdb.mi/mi-record-changed.exp
10019 * gdb.mi/mi-reg-undefined.exp
10020 * gdb.mi/mi-regs.exp
10021 * gdb.mi/mi-return.exp
10022 * gdb.mi/mi-reverse.exp
10023 * gdb.mi/mi-simplerun.exp
10024 * gdb.mi/mi-solib.exp
10025 * gdb.mi/mi-stack.exp
10026 * gdb.mi/mi-stepi.exp
10027 * gdb.mi/mi-syn-frame.exp
10028 * gdb.mi/mi-until.exp
10029 * gdb.mi/mi-var-block.exp
10030 * gdb.mi/mi-var-child.exp
10031 * gdb.mi/mi-var-cmd.exp
10032 * gdb.mi/mi-var-cp.exp
10033 * gdb.mi/mi-var-display.exp
10034 * gdb.mi/mi-var-invalidate.exp
10035 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10036 * gdb.mi/mi-vla-fortran.exp
10037 * gdb.mi/mi-watch.exp
10038 * gdb.mi/mi2-var-child.exp
10039 * gdb.mi/user-selected-context-sync.exp
10040 * gdb.modula2/unbounded-array.exp
10041 * gdb.multi/dummy-frame-restore.exp
10042 * gdb.multi/multi-arch-exec.exp
10043 * gdb.multi/multi-arch.exp
10044 * gdb.multi/tids.exp
10045 * gdb.multi/watchpoint-multi.exp
10046 * gdb.opencl/callfuncs.exp
10047 * gdb.opencl/convs_casts.exp
10048 * gdb.opencl/datatypes.exp
10049 * gdb.opencl/operators.exp
10050 * gdb.opencl/vec_comps.exp
10051 * gdb.opt/clobbered-registers-O2.exp
10052 * gdb.opt/inline-break.exp
10053 * gdb.opt/inline-bt.exp
10054 * gdb.opt/inline-cmds.exp
10055 * gdb.opt/inline-locals.exp
10056 * gdb.pascal/case-insensitive-symbols.exp
10057 * gdb.pascal/floats.exp
10058 * gdb.pascal/gdb11492.exp
10059 * gdb.python/lib-types.exp
10060 * gdb.python/py-arch.exp
10061 * gdb.python/py-as-string.exp
10062 * gdb.python/py-bad-printers.exp
10063 * gdb.python/py-block.exp
10064 * gdb.python/py-breakpoint-create-fail.exp
10065 * gdb.python/py-breakpoint.exp
10066 * gdb.python/py-caller-is.exp
10067 * gdb.python/py-cmd.exp
10068 * gdb.python/py-explore-cc.exp
10069 * gdb.python/py-explore.exp
10070 * gdb.python/py-finish-breakpoint.exp
10071 * gdb.python/py-finish-breakpoint2.exp
10072 * gdb.python/py-frame-args.exp
10073 * gdb.python/py-frame-inline.exp
10074 * gdb.python/py-frame.exp
10075 * gdb.python/py-framefilter-mi.exp
10076 * gdb.python/py-infthread.exp
10077 * gdb.python/py-lazy-string.exp
10078 * gdb.python/py-linetable.exp
10079 * gdb.python/py-mi-events.exp
10080 * gdb.python/py-mi-objfile.exp
10081 * gdb.python/py-mi.exp
10082 * gdb.python/py-objfile.exp
10083 * gdb.python/py-pp-integral.exp
10084 * gdb.python/py-pp-maint.exp
10085 * gdb.python/py-pp-re-notag.exp
10086 * gdb.python/py-pp-registration.exp
10087 * gdb.python/py-recurse-unwind.exp
10088 * gdb.python/py-strfns.exp
10089 * gdb.python/py-symbol.exp
10090 * gdb.python/py-symtab.exp
10091 * gdb.python/py-sync-interp.exp
10092 * gdb.python/py-typeprint.exp
10093 * gdb.python/py-unwind-maint.exp
10094 * gdb.python/py-unwind.exp
10095 * gdb.python/py-value-cc.exp
10096 * gdb.python/py-xmethods.exp
10097 * gdb.reverse/amd64-tailcall-reverse.exp
10098 * gdb.reverse/break-precsave.exp
10099 * gdb.reverse/break-reverse.exp
10100 * gdb.reverse/consecutive-precsave.exp
10101 * gdb.reverse/consecutive-reverse.exp
10102 * gdb.reverse/finish-precsave.exp
10103 * gdb.reverse/finish-reverse-bkpt.exp
10104 * gdb.reverse/finish-reverse.exp
10105 * gdb.reverse/fstatat-reverse.exp
10106 * gdb.reverse/getresuid-reverse.exp
10107 * gdb.reverse/i386-precsave.exp
10108 * gdb.reverse/i386-reverse.exp
10109 * gdb.reverse/i386-sse-reverse.exp
10110 * gdb.reverse/i387-env-reverse.exp
10111 * gdb.reverse/i387-stack-reverse.exp
10112 * gdb.reverse/insn-reverse.exp
10113 * gdb.reverse/machinestate-precsave.exp
10114 * gdb.reverse/machinestate.exp
10115 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10116 * gdb.reverse/pipe-reverse.exp
10117 * gdb.reverse/readv-reverse.exp
10118 * gdb.reverse/recvmsg-reverse.exp
10119 * gdb.reverse/rerun-prec.exp
10120 * gdb.reverse/s390-mvcle.exp
10121 * gdb.reverse/step-precsave.exp
10122 * gdb.reverse/step-reverse.exp
10123 * gdb.reverse/time-reverse.exp
10124 * gdb.reverse/until-precsave.exp
10125 * gdb.reverse/until-reverse.exp
10126 * gdb.reverse/waitpid-reverse.exp
10127 * gdb.reverse/watch-precsave.exp
10128 * gdb.reverse/watch-reverse.exp
10129 * gdb.rust/generics.exp
10130 * gdb.rust/methods.exp
10131 * gdb.rust/modules.exp
10132 * gdb.rust/simple.exp
10133 * gdb.server/connect-with-no-symbol-file.exp
10134 * gdb.server/ext-attach.exp
10135 * gdb.server/ext-restart.exp
10136 * gdb.server/ext-wrapper.exp
10137 * gdb.server/file-transfer.exp
10138 * gdb.server/server-exec-info.exp
10139 * gdb.server/server-kill.exp
10140 * gdb.server/server-mon.exp
10141 * gdb.server/wrapper.exp
10142 * gdb.stabs/exclfwd.exp
10143 * gdb.stabs/gdb11479.exp
10144 * gdb.threads/clone-new-thread-event.exp
10145 * gdb.threads/corethreads.exp
10146 * gdb.threads/current-lwp-dead.exp
10147 * gdb.threads/dlopen-libpthread.exp
10148 * gdb.threads/gcore-thread.exp
10149 * gdb.threads/sigstep-threads.exp
10150 * gdb.threads/watchpoint-fork.exp
10151 * gdb.trace/actions-changed.exp
10152 * gdb.trace/backtrace.exp
10153 * gdb.trace/change-loc.exp
10154 * gdb.trace/circ.exp
10155 * gdb.trace/collection.exp
10156 * gdb.trace/disconnected-tracing.exp
10157 * gdb.trace/ftrace.exp
10158 * gdb.trace/mi-trace-frame-collected.exp
10159 * gdb.trace/mi-trace-unavailable.exp
10160 * gdb.trace/mi-traceframe-changed.exp
10161 * gdb.trace/mi-tsv-changed.exp
10162 * gdb.trace/no-attach-trace.exp
10163 * gdb.trace/passc-dyn.exp
10164 * gdb.trace/qtro.exp
10165 * gdb.trace/range-stepping.exp
10166 * gdb.trace/read-memory.exp
10167 * gdb.trace/save-trace.exp
10168 * gdb.trace/signal.exp
10169 * gdb.trace/status-stop.exp
10170 * gdb.trace/tfile.exp
10171 * gdb.trace/trace-break.exp
10172 * gdb.trace/trace-buffer-size.exp
10173 * gdb.trace/trace-condition.exp
10174 * gdb.trace/tracefile-pseudo-reg.exp
10175 * gdb.trace/tstatus.exp
10176 * gdb.trace/unavailable.exp
10177 * gdb.trace/while-dyn.exp
10178 * gdb.trace/while-stepping.exp
10179
34c41c68
DE
101802016-12-22 Doug Evans <xdje42@gmail.com>
10181
10182 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10183 and msymbols.
10184
16e69324
YQ
101852016-12-19 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10188 (test_with_self): Don't call do_steps_and_nexts, and remove
10189 code about stepping into xmalloc.
10190
f94f411b
YQ
101912016-12-09 Yao Qi <yao.qi@linaro.org>
10192
10193 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10194
101952016-12-09 Yao Qi <yao.qi@linaro.org>
10196
10197 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10198
f1b5deee
PA
101992016-12-09 Pedro Alves <palves@redhat.com>
10200
10201 * gdb.base/all-architectures-0.exp: New file.
10202 * gdb.base/all-architectures-1.exp: New file.
10203 * gdb.base/all-architectures-2.exp: New file.
10204 * gdb.base/all-architectures-3.exp: New file.
10205 * gdb.base/all-architectures-4.exp: New file.
10206 * gdb.base/all-architectures-5.exp: New file.
10207 * gdb.base/all-architectures-6.exp: New file.
10208 * gdb.base/all-architectures-7.exp: New file.
10209 * gdb.base/all-architectures.exp.in: New file.
10210
364ca42e
YQ
102112016-12-09 Yao Qi <yao.qi@linaro.org>
10212
10213 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10214
107c2d62
LM
102152016-12-02 Luis Machado <lgustavo@codesourcery.com>
10216
10217 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10218 possible.
10219 Remove useless pattern-matching code.
10220
df3ee9ca
PA
102212016-12-02 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10224 procedure.
10225 (top level): Call it.
10226
ec835369
PA
102272016-12-02 Pedro Alves <palves@redhat.com>
10228
10229 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10230 New procedure.
10231 (top level): Call it.
10232
01770bbd
PA
102332016-12-02 Pedro Alves <palves@redhat.com>
10234
10235 PR cli/20559
10236 * gdb.base/commands.exp (user_defined_command_args_eval): New
10237 procedure.
10238 (top level): Call it.
10239
008459ea
LM
102402016-12-02 Luis Machado <lgustavo@codesourcery.com>
10241
10242 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10243 timeout handling.
10244
0c1b455e
TT
102452016-12-02 Tom Tromey <tom@tromey.com>
10246
10247 * gdb.dwarf2/main-subprogram.c: New file.
10248 * gdb.dwarf2/main-subprogram.exp: New file.
10249
018572b8
LM
102502016-12-01 Luis Machado <lgustavo@codesourcery.com>
10251
10252 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10253 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10254 gdb_test_no_output for a couple of cases.
10255 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10256
84c93cd5
LM
102572016-12-01 Luis Machado <lgustavo@codesourcery.com>
10258
10259 Fix test names and standardize compilation error messages throughout
10260 the following files:
10261
10262 * gdb.ada/start.exp
10263 * gdb.arch/alpha-step.exp
10264 * gdb.arch/e500-prologue.exp
10265 * gdb.arch/ftrace-insn-reloc.exp
10266 * gdb.arch/gdb1291.exp
10267 * gdb.arch/gdb1431.exp
10268 * gdb.arch/gdb1558.exp
10269 * gdb.arch/i386-dr3-watch.exp
10270 * gdb.arch/i386-sse-stack-align.exp
10271 * gdb.arch/ia64-breakpoint-shadow.exp
10272 * gdb.arch/pa-nullify.exp
10273 * gdb.arch/powerpc-aix-prologue.exp
10274 * gdb.arch/thumb-bx-pc.exp
10275 * gdb.base/annota1.exp
10276 * gdb.base/annota3.exp
10277 * gdb.base/arrayidx.exp
10278 * gdb.base/assign.exp
10279 * gdb.base/attach.exp
10280 * gdb.base/auxv.exp
10281 * gdb.base/bang.exp
10282 * gdb.base/bfp-test.exp
10283 * gdb.base/bigcore.exp
10284 * gdb.base/bitfields2.exp
10285 * gdb.base/break-fun-addr.exp
10286 * gdb.base/break-probes.exp
10287 * gdb.base/call-rt-st.exp
10288 * gdb.base/callexit.exp
10289 * gdb.base/catch-fork-kill.exp
10290 * gdb.base/charset.exp
10291 * gdb.base/checkpoint.exp
10292 * gdb.base/comprdebug.exp
10293 * gdb.base/constvars.exp
10294 * gdb.base/coredump-filter.exp
10295 * gdb.base/cursal.exp
10296 * gdb.base/cvexpr.exp
10297 * gdb.base/detach.exp
10298 * gdb.base/display.exp
10299 * gdb.base/dmsym.exp
10300 * gdb.base/dprintf-pending.exp
10301 * gdb.base/dso2dso.exp
10302 * gdb.base/dtrace-probe.exp
10303 * gdb.base/dump.exp
10304 * gdb.base/enum_cond.exp
10305 * gdb.base/exe-lock.exp
10306 * gdb.base/exec-invalid-sysroot.exp
10307 * gdb.base/execl-update-breakpoints.exp
10308 * gdb.base/exprs.exp
10309 * gdb.base/fileio.exp
10310 * gdb.base/find.exp
10311 * gdb.base/finish.exp
10312 * gdb.base/fixsection.exp
10313 * gdb.base/foll-vfork.exp
10314 * gdb.base/frame-args.exp
10315 * gdb.base/gcore.exp
10316 * gdb.base/gdb1250.exp
10317 * gdb.base/global-var-nested-by-dso.exp
10318 * gdb.base/gnu-ifunc.exp
10319 * gdb.base/hashline1.exp
10320 * gdb.base/hashline2.exp
10321 * gdb.base/hashline3.exp
10322 * gdb.base/hbreak-in-shr-unsupported.exp
10323 * gdb.base/huge.exp
10324 * gdb.base/infcall-input.exp
10325 * gdb.base/info-fun.exp
10326 * gdb.base/info-shared.exp
10327 * gdb.base/jit-simple.exp
10328 * gdb.base/jit-so.exp
10329 * gdb.base/jit.exp
10330 * gdb.base/jump.exp
10331 * gdb.base/label.exp
10332 * gdb.base/lineinc.exp
10333 * gdb.base/logical.exp
10334 * gdb.base/longjmp.exp
10335 * gdb.base/macscp.exp
10336 * gdb.base/miscexprs.exp
10337 * gdb.base/new-ui-echo.exp
10338 * gdb.base/new-ui-pending-input.exp
10339 * gdb.base/new-ui.exp
10340 * gdb.base/nodebug.exp
10341 * gdb.base/nofield.exp
10342 * gdb.base/offsets.exp
10343 * gdb.base/overlays.exp
10344 * gdb.base/pending.exp
10345 * gdb.base/pointers.exp
10346 * gdb.base/pr11022.exp
10347 * gdb.base/printcmds.exp
10348 * gdb.base/prologue.exp
10349 * gdb.base/ptr-typedef.exp
10350 * gdb.base/realname-expand.exp
10351 * gdb.base/relativedebug.exp
10352 * gdb.base/relocate.exp
10353 * gdb.base/remote.exp
10354 * gdb.base/reread.exp
10355 * gdb.base/return2.exp
10356 * gdb.base/savedregs.exp
10357 * gdb.base/sep.exp
10358 * gdb.base/sepdebug.exp
10359 * gdb.base/sepsymtab.exp
10360 * gdb.base/set-inferior-tty.exp
10361 * gdb.base/setshow.exp
10362 * gdb.base/shlib-call.exp
10363 * gdb.base/sigaltstack.exp
10364 * gdb.base/siginfo-addr.exp
10365 * gdb.base/signals.exp
10366 * gdb.base/signull.exp
10367 * gdb.base/sigrepeat.exp
10368 * gdb.base/so-impl-ld.exp
10369 * gdb.base/solib-display.exp
10370 * gdb.base/solib-overlap.exp
10371 * gdb.base/solib-search.exp
10372 * gdb.base/solib-symbol.exp
10373 * gdb.base/structs.exp
10374 * gdb.base/structs2.exp
10375 * gdb.base/symtab-search-order.exp
10376 * gdb.base/twice.exp
10377 * gdb.base/unload.exp
10378 * gdb.base/varargs.exp
10379 * gdb.base/watchpoint-solib.exp
10380 * gdb.base/watchpoint.exp
10381 * gdb.base/whatis.exp
10382 * gdb.base/wrong_frame_bt_full.exp
10383 * gdb.btrace/dlopen.exp
10384 * gdb.cell/ea-standalone.exp
10385 * gdb.cell/ea-test.exp
10386 * gdb.cp/dispcxx.exp
10387 * gdb.cp/gdb2384.exp
10388 * gdb.cp/method2.exp
10389 * gdb.cp/nextoverthrow.exp
10390 * gdb.cp/pr10728.exp
10391 * gdb.disasm/am33.exp
10392 * gdb.disasm/h8300s.exp
10393 * gdb.disasm/mn10300.exp
10394 * gdb.disasm/sh3.exp
10395 * gdb.dwarf2/dw2-dir-file-name.exp
10396 * gdb.fortran/complex.exp
10397 * gdb.fortran/library-module.exp
10398 * gdb.guile/scm-pretty-print.exp
10399 * gdb.guile/scm-symbol.exp
10400 * gdb.guile/scm-type.exp
10401 * gdb.guile/scm-value.exp
10402 * gdb.linespec/linespec.exp
10403 * gdb.mi/gdb701.exp
10404 * gdb.mi/gdb792.exp
10405 * gdb.mi/mi-breakpoint-changed.exp
10406 * gdb.mi/mi-dprintf-pending.exp
10407 * gdb.mi/mi-dprintf.exp
10408 * gdb.mi/mi-exit-code.exp
10409 * gdb.mi/mi-pending.exp
10410 * gdb.mi/mi-solib.exp
10411 * gdb.mi/new-ui-mi-sync.exp
10412 * gdb.mi/pr11022.exp
10413 * gdb.mi/user-selected-context-sync.exp
10414 * gdb.opt/solib-intra-step.exp
10415 * gdb.python/py-events.exp
10416 * gdb.python/py-finish-breakpoint.exp
10417 * gdb.python/py-mi.exp
10418 * gdb.python/py-prettyprint.exp
10419 * gdb.python/py-shared.exp
10420 * gdb.python/py-symbol.exp
10421 * gdb.python/py-template.exp
10422 * gdb.python/py-type.exp
10423 * gdb.python/py-value.exp
10424 * gdb.reverse/solib-precsave.exp
10425 * gdb.reverse/solib-reverse.exp
10426 * gdb.server/solib-list.exp
10427 * gdb.stabs/weird.exp
10428 * gdb.threads/reconnect-signal.exp
10429 * gdb.threads/stepi-random-signal.exp
10430 * gdb.trace/actions.exp
10431 * gdb.trace/ax.exp
10432 * gdb.trace/backtrace.exp
10433 * gdb.trace/change-loc.exp
10434 * gdb.trace/deltrace.exp
10435 * gdb.trace/ftrace-lock.exp
10436 * gdb.trace/ftrace.exp
10437 * gdb.trace/infotrace.exp
10438 * gdb.trace/mi-tracepoint-changed.exp
10439 * gdb.trace/packetlen.exp
10440 * gdb.trace/passcount.exp
10441 * gdb.trace/pending.exp
10442 * gdb.trace/range-stepping.exp
10443 * gdb.trace/report.exp
10444 * gdb.trace/stap-trace.exp
10445 * gdb.trace/tfind.exp
10446 * gdb.trace/trace-break.exp
10447 * gdb.trace/trace-condition.exp
10448 * gdb.trace/trace-enable-disable.exp
10449 * gdb.trace/trace-mt.exp
10450 * gdb.trace/tracecmd.exp
10451 * gdb.trace/tspeed.exp
10452 * gdb.trace/tsv.exp
10453 * lib/perftest.exp
10454
fb9feb35
LM
104552016-12-01 Luis Machado <lgustavo@codesourcery.com>
10456
10457 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10458 with gdb_test_no_output.
10459 Use command as test name.
10460
cd2ddb6c
LM
104612016-12-01 Luis Machado <lgustavo@codesourcery.com>
10462
10463 Fix test names starting with uppercase throughout the files.
10464
10465 * gdb.ada/assign_1.exp
10466 * gdb.ada/boolean_expr.exp
10467 * gdb.base/arrayidx.exp
10468 * gdb.base/del.exp
10469 * gdb.base/gcore-buffer-overflow.exp
10470 * gdb.base/testenv.exp
10471 * gdb.compile/compile.exp
10472 * gdb.python/py-framefilter-invalidarg.exp
10473 * gdb.python/py-framefilter.exp
10474
bb95117e
LM
104752016-12-01 Luis Machado <lgustavo@codesourcery.com>
10476
10477 Fix test names starting with uppercase throughout the files.
10478
10479 * gdb.ada/array_return.exp
10480 * gdb.ada/expr_delims.exp
10481 * gdb.ada/mi_dyn_arr.exp
10482 * gdb.ada/mi_interface.exp
10483 * gdb.ada/mi_var_array.exp
10484 * gdb.ada/watch_arg.exp
10485 * gdb.arch/alpha-step.exp
10486 * gdb.arch/altivec-regs.exp
10487 * gdb.arch/e500-regs.exp
10488 * gdb.arch/powerpc-d128-regs.exp
10489 * gdb.base/arrayidx.exp
10490 * gdb.base/break.exp
10491 * gdb.base/checkpoint.exp
10492 * gdb.base/debug-expr.exp
10493 * gdb.base/dmsym.exp
10494 * gdb.base/radix.exp
10495 * gdb.base/sepdebug.exp
10496 * gdb.base/testenv.exp
10497 * gdb.base/watch_thread_num.exp
10498 * gdb.base/watchpoint-cond-gone.exp
10499 * gdb.cell/break.exp
10500 * gdb.cell/ea-cache.exp
10501 * gdb.compile/compile.exp
10502 * gdb.cp/gdb2495.exp
10503 * gdb.gdb/selftest.exp
10504 * gdb.gdb/xfullpath.exp
10505 * gdb.go/hello.exp
10506 * gdb.go/integers.exp
10507 * gdb.objc/basicclass.exp
10508 * gdb.pascal/hello.exp
10509 * gdb.pascal/integers.exp
10510 * gdb.python/py-breakpoint.exp
10511 * gdb.python/py-cmd.exp
10512 * gdb.python/py-linetable.exp
10513 * gdb.python/py-xmethods.exp
10514 * gdb.python/python.exp
10515 * gdb.reverse/consecutive-precsave.exp
10516 * gdb.reverse/finish-precsave.exp
10517 * gdb.reverse/i386-precsave.exp
10518 * gdb.reverse/machinestate-precsave.exp
10519 * gdb.reverse/sigall-precsave.exp
10520 * gdb.reverse/solib-precsave.exp
10521 * gdb.reverse/step-precsave.exp
10522 * gdb.reverse/until-precsave.exp
10523 * gdb.reverse/watch-precsave.exp
10524 * gdb.threads/leader-exit.exp
10525 * gdb.threads/pthreads.exp
10526 * gdb.threads/wp-replication.exp
10527 * gdb.trace/actions.exp
10528 * gdb.trace/mi-tsv-changed.exp
10529 * gdb.trace/tsv.exp
10530
de97fdd4
LM
105312016-12-01 Luis Machado <lgustavo@codesourcery.com>
10532
10533 Fix test names starting with uppercase throughout the files.
10534
10535 * gdb.arch/i386-bp_permanent.exp
10536 * gdb.arch/i386-gnu-cfi.exp
10537 * gdb.base/disasm-end-cu.exp
10538 * gdb.base/macscp.exp
10539 * gdb.base/pending.exp
10540 * gdb.base/watch_thread_num.exp
10541 * gdb.cp/exception.exp
10542 * gdb.cp/gdb2495.exp
10543 * gdb.cp/local.exp
10544 * gdb.python/py-evsignal.exp
10545 * gdb.python/python.exp
10546 * gdb.trace/tracecmd.exp
10547
9f058c10
LM
105482016-12-01 Luis Machado <lgustavo@codesourcery.com>
10549
10550 Fix test names starting with uppercase throughout the files.
10551
10552 * gdb.base/charset.exp
10553 * gdb.base/eval.exp
10554 * gdb.base/multi-forks.exp
10555 * gdb.guile/scm-progspace.exp
10556 * gdb.opencl/datatypes.exp
10557 * gdb.python/py-block.exp
10558 * gdb.python/py-function.exp
10559 * gdb.python/py-symbol.exp
10560 * gdb.python/py-symtab.exp
10561 * gdb.python/py-xmethods.exp
10562 * gdb.reverse/break-precsave.exp
10563 * gdb.reverse/break-reverse.exp
10564 * gdb.reverse/consecutive-precsave.exp
10565 * gdb.reverse/consecutive-reverse.exp
10566 * gdb.reverse/finish-precsave.exp
10567 * gdb.reverse/finish-reverse-bkpt.exp
10568 * gdb.reverse/finish-reverse.exp
10569 * gdb.reverse/fstatat-reverse.exp
10570 * gdb.reverse/getresuid-reverse.exp
10571 * gdb.reverse/i386-precsave.exp
10572 * gdb.reverse/i386-reverse.exp
10573 * gdb.reverse/i386-sse-reverse.exp
10574 * gdb.reverse/i387-stack-reverse.exp
10575 * gdb.reverse/insn-reverse.exp
10576 * gdb.reverse/machinestate-precsave.exp
10577 * gdb.reverse/machinestate.exp
10578 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10579 * gdb.reverse/pipe-reverse.exp
10580 * gdb.reverse/readv-reverse.exp
10581 * gdb.reverse/recvmsg-reverse.exp
10582 * gdb.reverse/rerun-prec.exp
10583 * gdb.reverse/s390-mvcle.exp
10584 * gdb.reverse/sigall-precsave.exp
10585 * gdb.reverse/sigall-reverse.exp
10586 * gdb.reverse/solib-precsave.exp
10587 * gdb.reverse/solib-reverse.exp
10588 * gdb.reverse/step-precsave.exp
10589 * gdb.reverse/step-reverse.exp
10590 * gdb.reverse/time-reverse.exp
10591 * gdb.reverse/until-precsave.exp
10592 * gdb.reverse/until-reverse.exp
10593 * gdb.reverse/waitpid-reverse.exp
10594 * gdb.reverse/watch-precsave.exp
10595 * gdb.reverse/watch-reverse.exp
10596
cdc7edd7
LM
105972016-12-01 Luis Machado <lgustavo@codesourcery.com>
10598
10599 Fix test names starting with uppercase throughout the files.
10600
10601 * gdb.arch/i386-mpx-simple_segv.exp
10602 * gdb.arch/i386-mpx.exp
10603 * gdb.arch/i386-permbkpt.exp
10604 * gdb.arch/pa-nullify.exp
10605 * gdb.arch/powerpc-d128-regs.exp
10606 * gdb.arch/vsx-regs.exp
10607 * gdb.base/bfp-test.exp
10608 * gdb.base/break.exp
10609 * gdb.base/breakpoint-shadow.exp
10610 * gdb.base/callfuncs.exp
10611 * gdb.base/charset.exp
10612 * gdb.base/commands.exp
10613 * gdb.base/completion.exp
10614 * gdb.base/dfp-test.exp
10615 * gdb.base/echo.exp
10616 * gdb.base/ending-run.exp
10617 * gdb.base/eval.exp
10618 * gdb.base/expand-psymtabs.exp
10619 * gdb.base/float128.exp
10620 * gdb.base/floatn.exp
10621 * gdb.base/foll-exec-mode.exp
10622 * gdb.base/gdb1056.exp
10623 * gdb.base/gdb11531.exp
10624 * gdb.base/kill-after-signal.exp
10625 * gdb.base/multi-forks.exp
10626 * gdb.base/overlays.exp
10627 * gdb.base/pending.exp
10628 * gdb.base/sepdebug.exp
10629 * gdb.base/testenv.exp
10630 * gdb.base/valgrind-db-attach.exp
10631 * gdb.base/watch_thread_num.exp
10632 * gdb.base/watchpoint-cond-gone.exp
10633 * gdb.base/watchpoint.exp
10634 * gdb.base/watchpoints.exp
10635 * gdb.cp/arg-reference.exp
10636 * gdb.cp/baseenum.exp
10637 * gdb.cp/operator.exp
10638 * gdb.cp/shadow.exp
10639 * gdb.dwarf2/dw2-op-out-param.exp
10640 * gdb.dwarf2/dw2-reg-undefined.exp
10641 * gdb.go/chan.exp
10642 * gdb.go/hello.exp
10643 * gdb.go/integers.exp
10644 * gdb.go/methods.exp
10645 * gdb.go/package.exp
10646 * gdb.guile/scm-parameter.exp
10647 * gdb.guile/scm-progspace.exp
10648 * gdb.guile/scm-value.exp
10649 * gdb.mi/mi-pending.exp
10650 * gdb.mi/user-selected-context-sync.exp
10651 * gdb.multi/multi-attach.exp
10652 * gdb.multi/tids.exp
10653 * gdb.opt/clobbered-registers-O2.exp
10654 * gdb.pascal/floats.exp
10655 * gdb.pascal/integers.exp
10656 * gdb.python/py-block.exp
10657 * gdb.python/py-events.exp
10658 * gdb.python/py-parameter.exp
10659 * gdb.python/py-symbol.exp
10660 * gdb.python/py-symtab.exp
10661 * gdb.python/py-type.exp
10662 * gdb.python/py-value.exp
10663 * gdb.python/py-xmethods.exp
10664 * gdb.python/python.exp
10665 * gdb.reverse/break-precsave.exp
10666 * gdb.reverse/consecutive-precsave.exp
10667 * gdb.reverse/finish-precsave.exp
10668 * gdb.reverse/i386-precsave.exp
10669 * gdb.reverse/machinestate-precsave.exp
10670 * gdb.reverse/sigall-precsave.exp
10671 * gdb.reverse/solib-precsave.exp
10672 * gdb.reverse/step-precsave.exp
10673 * gdb.reverse/until-precsave.exp
10674 * gdb.reverse/watch-precsave.exp
10675 * gdb.server/ext-attach.exp
10676 * gdb.server/ext-restart.exp
10677 * gdb.server/ext-run.exp
10678 * gdb.server/ext-wrapper.exp
10679 * gdb.stabs/gdb11479.exp
10680 * gdb.stabs/weird.exp
10681 * gdb.threads/attach-many-short-lived-threads.exp
10682 * gdb.threads/kill.exp
10683 * gdb.threads/watchpoint-fork.exp
10684
bc6c7af4
LM
106852016-12-01 Luis Machado <lgustavo@codesourcery.com>
10686
10687 Fix test names starting with uppercase throughout all the files below.
10688
10689 * gdb.ada/array_return.exp
10690 * gdb.ada/catch_ex.exp
10691 * gdb.ada/info_exc.exp
10692 * gdb.ada/mi_catch_ex.exp
10693 * gdb.ada/mi_dyn_arr.exp
10694 * gdb.ada/mi_ex_cond.exp
10695 * gdb.ada/mi_exc_info.exp
10696 * gdb.ada/mi_interface.exp
10697 * gdb.ada/mi_task_arg.exp
10698 * gdb.ada/mi_task_info.exp
10699 * gdb.ada/mi_var_array.exp
10700 * gdb.arch/alpha-step.exp
10701 * gdb.arch/amd64-disp-step.exp
10702 * gdb.arch/arm-disp-step.exp
10703 * gdb.arch/disp-step-insn-reloc.exp
10704 * gdb.arch/e500-prologue.exp
10705 * gdb.arch/ftrace-insn-reloc.exp
10706 * gdb.arch/gdb1558.exp
10707 * gdb.arch/i386-bp_permanent.exp
10708 * gdb.arch/i386-disp-step.exp
10709 * gdb.arch/i386-float.exp
10710 * gdb.arch/i386-gnu-cfi.exp
10711 * gdb.arch/ia64-breakpoint-shadow.exp
10712 * gdb.arch/mips16-thunks.exp
10713 * gdb.arch/pa-nullify.exp
10714 * gdb.arch/powerpc-aix-prologue.exp
10715 * gdb.arch/powerpc-power.exp
10716 * gdb.arch/ppc-dfp.exp
10717 * gdb.arch/s390-tdbregs.exp
10718 * gdb.arch/spu-info.exp
10719 * gdb.arch/spu-ls.exp
10720 * gdb.arch/thumb-bx-pc.exp
10721 * gdb.base/advance.exp
10722 * gdb.base/annota-input-while-running.exp
10723 * gdb.base/arrayidx.exp
10724 * gdb.base/asmlabel.exp
10725 * gdb.base/async.exp
10726 * gdb.base/attach-wait-input.exp
10727 * gdb.base/auto-connect-native-target.exp
10728 * gdb.base/batch-preserve-term-settings.exp
10729 * gdb.base/bfp-test.exp
10730 * gdb.base/bigcore.exp
10731 * gdb.base/bp-permanent.exp
10732 * gdb.base/break-always.exp
10733 * gdb.base/break-fun-addr.exp
10734 * gdb.base/break-idempotent.exp
10735 * gdb.base/break-main-file-remove-fail.exp
10736 * gdb.base/break-probes.exp
10737 * gdb.base/break-unload-file.exp
10738 * gdb.base/break.exp
10739 * gdb.base/call-ar-st.exp
10740 * gdb.base/call-rt-st.exp
10741 * gdb.base/call-sc.exp
10742 * gdb.base/call-signal-resume.exp
10743 * gdb.base/call-strs.exp
10744 * gdb.base/callexit.exp
10745 * gdb.base/callfuncs.exp
10746 * gdb.base/catch-gdb-caused-signals.exp
10747 * gdb.base/catch-signal-siginfo-cond.exp
10748 * gdb.base/catch-syscall.exp
10749 * gdb.base/compare-sections.exp
10750 * gdb.base/cond-eval-mode.exp
10751 * gdb.base/condbreak-call-false.exp
10752 * gdb.base/consecutive-step-over.exp
10753 * gdb.base/cursal.exp
10754 * gdb.base/disabled-location.exp
10755 * gdb.base/disasm-end-cu.exp
10756 * gdb.base/display.exp
10757 * gdb.base/double-prompt-target-event-error.exp
10758 * gdb.base/dprintf-bp-same-addr.exp
10759 * gdb.base/dprintf-detach.exp
10760 * gdb.base/dprintf-next.exp
10761 * gdb.base/dprintf-non-stop.exp
10762 * gdb.base/dprintf-pending.exp
10763 * gdb.base/dso2dso.exp
10764 * gdb.base/ending-run.exp
10765 * gdb.base/enum_cond.exp
10766 * gdb.base/examine-backward.exp
10767 * gdb.base/exe-lock.exp
10768 * gdb.base/exec-invalid-sysroot.exp
10769 * gdb.base/execl-update-breakpoints.exp
10770 * gdb.base/execution-termios.exp
10771 * gdb.base/fileio.exp
10772 * gdb.base/fixsection.exp
10773 * gdb.base/foll-exec-mode.exp
10774 * gdb.base/foll-exec.exp
10775 * gdb.base/fork-running-state.exp
10776 * gdb.base/frame-args.exp
10777 * gdb.base/fullpath-expand.exp
10778 * gdb.base/func-ptr.exp
10779 * gdb.base/gcore-relro-pie.exp
10780 * gdb.base/gdb1090.exp
10781 * gdb.base/gdb1555.exp
10782 * gdb.base/global-var-nested-by-dso.exp
10783 * gdb.base/gnu-ifunc.exp
10784 * gdb.base/hbreak-in-shr-unsupported.exp
10785 * gdb.base/hbreak-unmapped.exp
10786 * gdb.base/hook-stop.exp
10787 * gdb.base/infcall-input.exp
10788 * gdb.base/info-fun.exp
10789 * gdb.base/info-shared.exp
10790 * gdb.base/interrupt-noterm.exp
10791 * gdb.base/jit-so.exp
10792 * gdb.base/jit.exp
10793 * gdb.base/line-symtabs.exp
10794 * gdb.base/list.exp
10795 * gdb.base/longjmp.exp
10796 * gdb.base/macscp.exp
10797 * gdb.base/max-value-size.exp
10798 * gdb.base/nodebug.exp
10799 * gdb.base/nofield.exp
10800 * gdb.base/overlays.exp
10801 * gdb.base/paginate-after-ctrl-c-running.exp
10802 * gdb.base/paginate-bg-execution.exp
10803 * gdb.base/paginate-inferior-exit.exp
10804 * gdb.base/pending.exp
10805 * gdb.base/pr11022.exp
10806 * gdb.base/printcmds.exp
10807 * gdb.base/ptr-typedef.exp
10808 * gdb.base/ptype.exp
10809 * gdb.base/randomize.exp
10810 * gdb.base/range-stepping.exp
10811 * gdb.base/realname-expand.exp
10812 * gdb.base/relativedebug.exp
10813 * gdb.base/remote.exp
10814 * gdb.base/savedregs.exp
10815 * gdb.base/sepdebug.exp
10816 * gdb.base/set-noassign.exp
10817 * gdb.base/shlib-call.exp
10818 * gdb.base/shreloc.exp
10819 * gdb.base/sigaltstack.exp
10820 * gdb.base/sigbpt.exp
10821 * gdb.base/siginfo-addr.exp
10822 * gdb.base/siginfo-obj.exp
10823 * gdb.base/siginfo-thread.exp
10824 * gdb.base/signest.exp
10825 * gdb.base/signull.exp
10826 * gdb.base/sigrepeat.exp
10827 * gdb.base/skip.exp
10828 * gdb.base/so-impl-ld.exp
10829 * gdb.base/solib-corrupted.exp
10830 * gdb.base/solib-disc.exp
10831 * gdb.base/solib-display.exp
10832 * gdb.base/solib-overlap.exp
10833 * gdb.base/solib-search.exp
10834 * gdb.base/solib-symbol.exp
10835 * gdb.base/source-execution.exp
10836 * gdb.base/sss-bp-on-user-bp-2.exp
10837 * gdb.base/sss-bp-on-user-bp.exp
10838 * gdb.base/stack-checking.exp
10839 * gdb.base/stale-infcall.exp
10840 * gdb.base/step-break.exp
10841 * gdb.base/step-line.exp
10842 * gdb.base/step-over-exit.exp
10843 * gdb.base/step-test.exp
10844 * gdb.base/structs.exp
10845 * gdb.base/sym-file.exp
10846 * gdb.base/symtab-search-order.exp
10847 * gdb.base/term.exp
10848 * gdb.base/type-opaque.exp
10849 * gdb.base/unload.exp
10850 * gdb.base/until-nodebug.exp
10851 * gdb.base/until.exp
10852 * gdb.base/unwindonsignal.exp
10853 * gdb.base/watch-cond.exp
10854 * gdb.base/watch-non-mem.exp
10855 * gdb.base/watch_thread_num.exp
10856 * gdb.base/watchpoint-reuse-slot.exp
10857 * gdb.base/watchpoint-solib.exp
10858 * gdb.base/watchpoint.exp
10859 * gdb.btrace/dlopen.exp
10860 * gdb.cell/arch.exp
10861 * gdb.cell/break.exp
10862 * gdb.cell/bt.exp
10863 * gdb.cell/core.exp
10864 * gdb.cell/data.exp
10865 * gdb.cell/dwarfaddr.exp
10866 * gdb.cell/ea-cache.exp
10867 * gdb.cell/ea-standalone.exp
10868 * gdb.cell/ea-test.exp
10869 * gdb.cell/f-regs.exp
10870 * gdb.cell/fork.exp
10871 * gdb.cell/gcore.exp
10872 * gdb.cell/mem-access.exp
10873 * gdb.cell/ptype.exp
10874 * gdb.cell/registers.exp
10875 * gdb.cell/sizeof.exp
10876 * gdb.cell/solib-symbol.exp
10877 * gdb.cell/solib.exp
10878 * gdb.compile/compile-tls.exp
10879 * gdb.cp/exception.exp
10880 * gdb.cp/gdb2495.exp
10881 * gdb.cp/local.exp
10882 * gdb.cp/mb-inline.exp
10883 * gdb.cp/mb-templates.exp
10884 * gdb.cp/pr10687.exp
10885 * gdb.cp/pr9167.exp
10886 * gdb.cp/scope-err.exp
10887 * gdb.cp/templates.exp
10888 * gdb.cp/virtfunc.exp
10889 * gdb.dwarf2/dw2-dir-file-name.exp
10890 * gdb.dwarf2/dw2-single-line-discriminators.exp
10891 * gdb.fortran/complex.exp
10892 * gdb.fortran/library-module.exp
10893 * gdb.guile/guile.exp
10894 * gdb.guile/scm-cmd.exp
10895 * gdb.guile/scm-frame-inline.exp
10896 * gdb.guile/scm-objfile.exp
10897 * gdb.guile/scm-pretty-print.exp
10898 * gdb.guile/scm-symbol.exp
10899 * gdb.guile/scm-type.exp
10900 * gdb.guile/scm-value.exp
10901 * gdb.linespec/keywords.exp
10902 * gdb.linespec/ls-errs.exp
10903 * gdb.linespec/macro-relative.exp
10904 * gdb.linespec/thread.exp
10905 * gdb.mi/mi-breakpoint-changed.exp
10906 * gdb.mi/mi-dprintf-pending.exp
10907 * gdb.mi/mi-fullname-deleted.exp
10908 * gdb.mi/mi-logging.exp
10909 * gdb.mi/mi-pending.exp
10910 * gdb.mi/mi-solib.exp
10911 * gdb.mi/new-ui-mi-sync.exp
10912 * gdb.mi/user-selected-context-sync.exp
10913 * gdb.multi/dummy-frame-restore.exp
10914 * gdb.multi/multi-arch-exec.exp
10915 * gdb.multi/remove-inferiors.exp
10916 * gdb.multi/watchpoint-multi-exit.exp
10917 * gdb.opt/solib-intra-step.exp
10918 * gdb.perf/backtrace.exp
10919 * gdb.perf/single-step.exp
10920 * gdb.perf/skip-command.exp
10921 * gdb.perf/skip-prologue.exp
10922 * gdb.perf/solib.exp
10923 * gdb.python/lib-types.exp
10924 * gdb.python/py-as-string.exp
10925 * gdb.python/py-bad-printers.exp
10926 * gdb.python/py-block.exp
10927 * gdb.python/py-breakpoint.exp
10928 * gdb.python/py-cmd.exp
10929 * gdb.python/py-events.exp
10930 * gdb.python/py-evthreads.exp
10931 * gdb.python/py-finish-breakpoint.exp
10932 * gdb.python/py-finish-breakpoint2.exp
10933 * gdb.python/py-frame-inline.exp
10934 * gdb.python/py-frame.exp
10935 * gdb.python/py-inferior.exp
10936 * gdb.python/py-infthread.exp
10937 * gdb.python/py-mi.exp
10938 * gdb.python/py-objfile.exp
10939 * gdb.python/py-pp-maint.exp
10940 * gdb.python/py-pp-registration.exp
10941 * gdb.python/py-prettyprint.exp
10942 * gdb.python/py-recurse-unwind.exp
10943 * gdb.python/py-shared.exp
10944 * gdb.python/py-symbol.exp
10945 * gdb.python/py-symtab.exp
10946 * gdb.python/py-template.exp
10947 * gdb.python/py-type.exp
10948 * gdb.python/py-unwind-maint.exp
10949 * gdb.python/py-unwind.exp
10950 * gdb.python/py-value.exp
10951 * gdb.python/python.exp
10952 * gdb.reverse/finish-reverse-bkpt.exp
10953 * gdb.reverse/insn-reverse.exp
10954 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10955 * gdb.reverse/solib-precsave.exp
10956 * gdb.reverse/solib-reverse.exp
10957 * gdb.stabs/gdb11479.exp
10958 * gdb.stabs/weird.exp
10959 * gdb.threads/fork-child-threads.exp
10960 * gdb.threads/fork-plus-threads.exp
10961 * gdb.threads/fork-thread-pending.exp
10962 * gdb.threads/forking-threads-plus-breakpoint.exp
10963 * gdb.threads/hand-call-in-threads.exp
10964 * gdb.threads/interrupted-hand-call.exp
10965 * gdb.threads/linux-dp.exp
10966 * gdb.threads/local-watch-wrong-thread.exp
10967 * gdb.threads/next-while-other-thread-longjmps.exp
10968 * gdb.threads/non-ldr-exit.exp
10969 * gdb.threads/pending-step.exp
10970 * gdb.threads/print-threads.exp
10971 * gdb.threads/process-dies-while-detaching.exp
10972 * gdb.threads/process-dies-while-handling-bp.exp
10973 * gdb.threads/pthreads.exp
10974 * gdb.threads/queue-signal.exp
10975 * gdb.threads/reconnect-signal.exp
10976 * gdb.threads/signal-command-handle-nopass.exp
10977 * gdb.threads/signal-command-multiple-signals-pending.exp
10978 * gdb.threads/signal-delivered-right-thread.exp
10979 * gdb.threads/signal-sigtrap.exp
10980 * gdb.threads/sigthread.exp
10981 * gdb.threads/staticthreads.exp
10982 * gdb.threads/stepi-random-signal.exp
10983 * gdb.threads/thread-unwindonsignal.exp
10984 * gdb.threads/thread_check.exp
10985 * gdb.threads/thread_events.exp
10986 * gdb.threads/tid-reuse.exp
10987 * gdb.threads/tls-nodebug.exp
10988 * gdb.threads/tls-shared.exp
10989 * gdb.threads/tls-so_extern.exp
10990 * gdb.threads/tls.exp
10991 * gdb.threads/wp-replication.exp
10992 * gdb.trace/actions-changed.exp
10993 * gdb.trace/actions.exp
10994 * gdb.trace/backtrace.exp
10995 * gdb.trace/change-loc.exp
10996 * gdb.trace/collection.exp
10997 * gdb.trace/deltrace.exp
10998 * gdb.trace/disconnected-tracing.exp
10999 * gdb.trace/entry-values.exp
11000 * gdb.trace/ftrace-lock.exp
11001 * gdb.trace/ftrace.exp
11002 * gdb.trace/infotrace.exp
11003 * gdb.trace/mi-trace-frame-collected.exp
11004 * gdb.trace/mi-trace-unavailable.exp
11005 * gdb.trace/mi-traceframe-changed.exp
11006 * gdb.trace/mi-tracepoint-changed.exp
11007 * gdb.trace/mi-tsv-changed.exp
11008 * gdb.trace/no-attach-trace.exp
11009 * gdb.trace/packetlen.exp
11010 * gdb.trace/passc-dyn.exp
11011 * gdb.trace/passcount.exp
11012 * gdb.trace/pending.exp
11013 * gdb.trace/pr16508.exp
11014 * gdb.trace/qtro.exp
11015 * gdb.trace/range-stepping.exp
11016 * gdb.trace/read-memory.exp
11017 * gdb.trace/report.exp
11018 * gdb.trace/save-trace.exp
11019 * gdb.trace/signal.exp
11020 * gdb.trace/stap-trace.exp
11021 * gdb.trace/status-stop.exp
11022 * gdb.trace/strace.exp
11023 * gdb.trace/tfile.exp
11024 * gdb.trace/tfind.exp
11025 * gdb.trace/trace-break.exp
11026 * gdb.trace/trace-condition.exp
11027 * gdb.trace/trace-enable-disable.exp
11028 * gdb.trace/trace-mt.exp
11029 * gdb.trace/tracecmd.exp
11030 * gdb.trace/tracefile-pseudo-reg.exp
11031 * gdb.trace/tspeed.exp
11032 * gdb.trace/tstatus.exp
11033 * gdb.trace/tsv.exp
11034 * gdb.trace/unavailable.exp
11035 * gdb.trace/while-dyn.exp
11036 * gdb.trace/while-stepping.exp
11037 * lib/gdb-guile.exp
11038 * lib/gdb.exp
11039 * lib/mi-support.exp
11040 * lib/pascal.exp
11041 * lib/perftest.exp
11042 * lib/prelink-support.exp
11043 * lib/selftest-support.exp
11044
ad02e4fe
SM
110452016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11046
11047 * Makefile.in: Include disable-implicit-rules.mk.
11048
22347e55
AA
110492016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11050
11051 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11052 non-byte-aligned bit fields.
11053
da5b30da
AA
110542016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11055
11056 PR gdb/12616
11057 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11058 respects the DW_AT_data_bit_offset attribute.
11059
b593ecca
SM
110602016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11061
11062 * gdb.base/default.exp: Fix output of "set language".
11063
3b165252
SM
110642016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11065
11066 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11067 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11068 make.
11069 * configure.ac: Remove checks for the make program.
11070 * configure: Re-generate.
11071
1a2f3d7f
KB
110722016-11-16 Kevin Buettner <kevinb@redhat.com>
11073
11074 * gdb.python/py-recurse-unwind.c (main): Add loop.
11075 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11076 to read_register() and gdb.parse_and_eval(). Make each code
11077 call a separate case that can be individually tested.
11078 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11079 proc. Call cont_and_backtrace for each of the code paths that
11080 we want to test in the unwinder.
11081
b7f38fda
AA
110822016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11083
11084 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11085 the definition of struct S.
11086
1f8db343
CM
110872016-11-11 Catherine Moore <clm@codesourcery.com>
11088
11089 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11090
fad0c9fb
PA
110912016-11-09 Pedro Alves <palves@redhat.com>
11092
11093 * gdb.base/commands.exp (runto_or_return): New procedure.
11094 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11095 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11096 (progvar_simple_while_test, progvar_complex_if_while_test)
11097 (if_while_breakpoint_command_test)
11098 (infrun_breakpoint_command_test, breakpoint_command_test)
11099 (user_defined_command_test, watchpoint_command_test)
11100 (test_command_prompt_position, redefine_hook_test)
11101 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11102 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11103 multi_line_input and multi_line. Remove gdb_expect and
11104 gdb_stop_suppressing_tests uses.
11105 * lib/gdb.exp (valnum_re): New global.
11106 (multi_line_input): New procedure.
11107
8354c62c
SM
111082016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11109
11110 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11111 Remove.
11112 (test_setup): Define with proc_with_prefix.
11113 (test_cli_inferior): Likewise.
11114 (test_cli_thread): Likewise.
11115 (test_cli_frame): Likewise.
11116 (test_cli_select_frame): Likewise.
11117 (test_cli_up_down): Likewise.
11118 (test_mi_thread_select): Likewise.
11119 (test_mi_stack_select_frame): Likewise.
11120 (test_cli_in_mi_inferior): Likewise.
11121 (test_cli_in_mi_thread): Likewise.
11122 (test_cli_in_mi_frame): Likewise.
11123 (top level): Do not use with_test_prefix_procname.
11124
64f367a2
PA
111252016-11-09 Pedro Alves <palves@redhat.com>
11126
11127 * gdb.base/commands.exp (gdbvar_simple_if_test)
11128 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11129 (progvar_simple_if_test, progvar_simple_while_test)
11130 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11131 (infrun_breakpoint_command_test, breakpoint_command_test)
11132 (user_defined_command_test, watchpoint_command_test)
11133 (test_command_prompt_position, deprecated_command_test)
11134 (bp_deleted_in_command, temporary_breakpoint_commands)
11135 (stray_arg0_test, source_file_with_indented_comment)
11136 (recursive_source_test, if_commands_test)
11137 (error_clears_commands_left, redefine_hook_test)
11138 (redefine_backtrace_test): Use proc_with_prefix.
11139 * lib/gdb.exp (proc_with_prefix): New proc.
11140
0bb65f1e
AA
111412016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11142
11143 * gdb.base/tui-layout.c: New file.
11144 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11145 disassembly window contains very long lines.
11146
7353f247
TT
111472016-11-08 Tom Tromey <tom@tromey.com>
11148
11149 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11150 depend on Python 2.
11151
30a7bb83
TT
111522016-11-08 Tom Tromey <tom@tromey.com>
11153
11154 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11155 New method.
11156
cdf5a07c
MG
111572016-10-29 Manish Goregaokar <manish@mozilla.com>
11158
2806dc7e 11159 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11160
51a789c3
MG
111612016-10-27 Manish Goregaokar <manish@mozilla.com>
11162
2806dc7e
PA
11163 * gdb.rust/simple.rs: Add test for univariant enums without
11164 discriminants and for encoded struct-like enums.
51a789c3 11165
f610ab6d
PA
111662016-10-28 Pedro Alves <palves@redhat.com>
11167
11168 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11169 gdb_test_multiple, tighten regexps and match symtabs and line
11170 tables incrementally.
11171
b129b0ca
LM
111722016-10-28 Luis Machado <lgustavo@codesourcery.com>
11173
11174 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11175 general.
11176
ecf45d2c
SL
111772016-10-25 Luis Machado <lgustavo@codesourcery.com>
11178
11179 * gdb.base/exec-invalid-sysroot.exp: New file.
11180
b8d38ee4
JK
111812016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11182
11183 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11184
f90fd8c2
JK
111852016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11188
2d2476aa
MR
111892016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11190
2806dc7e
PA
11191 * gdb.base/killed-outside.exp: Remove $options from a call to
11192 `prepare_for_testing'.
2d2476aa 11193
e42b25a0
SM
111942016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11195
11196 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11197 Change test message.
11198
3ccdb432
SM
111992016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11200
11201 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11202 Update comment.
11203
5bad3170
SM
112042016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11205
11206 * gdb.trace/mi-trace-save.exp: New file.
11207
5ad9dba7
YQ
112082016-10-13 Yao Qi <yao.qi@linaro.org>
11209
11210 * gdb.base/code_elim.exp (get_var_address): Remove.
11211 * gdb.base/relocate.exp: Likewise.
11212 * gdb.base/shreloc.exp: Likewise.
11213 * lib/gdb.exp (get_var_address): New.
11214
62df7e21
YQ
112152016-10-13 Yao Qi <yao.qi@linaro.org>
11216
11217 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11218 floating point tests if $skip_float_test is false.
11219
4dac951e
LM
112202016-10-12 Luis Machado <lgustavo@codesourcery.com>
11221
11222 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11223 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11224 argc values.
11225 Add 1 to argc so we guarantee distinct initial/modified argc values.
11226
8f1a8fc4
JK
112272016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11228
11229 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11230
16c85b5d
JK
112312016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11232
11233 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11234 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11235 * gdb.arch/vsx-regs.exp: Likewise.
11236
1d0e042a
YQ
112372016-10-07 Yao Qi <yao.qi@linaro.org>
11238
11239 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11240
68dadef5
MM
112412016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11242
11243 * gdb.python/python.exp: Test decode_line("*0").
11244
33fa2c6e
DE
112452016-10-06 Doug Evans <dje@google.com>
11246
11247 * gdb.python/py-value.exp (test_value_creation): Add test for large
11248 unsigned 64-bit value.
11249
9c37b5ae
TT
112502016-10-06 Tom Tromey <tom@tromey.com>
11251
11252 * gdb.compile/compile.exp: Change java tests to rust.
11253 * gdb.base/setshow.exp: Change java tests to rust.
11254 * gdb.base/default.exp: Remove java from language list.
11255 * README (Examples): Update language example.
11256 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11257 test.
11258 * lib/gdb.exp (skip_java_tests): Remove.
11259 * lib/java.exp: Remove.
11260 * gdb.java: Remove.
11261
78b86327
MR
112622016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11263
11264 * gdb.arch/mips-fcr.exp: New test.
11265 * gdb.arch/mips-fcr.c: Source for the new test.
11266
7470adbb
MR
112672016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11268
11269 * gdb.base/solib-disc.exp: Use `standard_output_file'
11270 throughout.
11271
4a556533
PA
112722016-10-06 Pedro Alves <palves@redhat.com>
11273
11274 * gdb.base/jit-simple-dl.c: New file.
11275 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11276 * gdb.base/jit-simple.c: ... this.
11277 * gdb.base/jit-simple.exp (jit_run): Delete.
11278 (build_jit): New proc.
11279 (jit_test_reread): Recompile either the main program or the shared
11280 library, depending on what is being tested. Skip changing address
11281 if caller wants to. Compare before/after addresses. If testing
11282 standalone, explicitly load the binary. Test "maint info
11283 breakpoints".
11284 (top level): Add "standalone vs shared lib" and "change address"
11285 vs "same address" axes.
11286
5a122fbc
PA
112872016-10-06 Pedro Alves <palves@redhat.com>
11288
11289 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11290 call.
11291 (jit_run): Delete.
11292 (jit_test_reread): Use with_test_prefix. Reload the main binary
11293 explicitly. Compare the before/after addresses of the JIT
11294 descriptor.
11295
ee8da4b8
DE
112962016-08-15 Doug Evans <dje@google.com>
11297
11298 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11299 for single bitfields is bool.
11300 * gdb.xml/tdesc-regs.exp: Ditto.
11301
f389f6fe
JK
113022016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11303
11304 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11305
fdebf1a4
YQ
113062016-10-05 Yao Qi <yao.qi@linaro.org>
11307
11308 * lib/gdb.exp (support_complex_tests): Return zero if
11309 gdb_skip_float_test return true.
11310
9c36d954 113112016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11312 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11313
11314 PR gdb/20487
11315 * gdb.mi/user-selected-context-sync.exp: New file.
11316 * gdb.mi/user-selected-context-sync.c: New file.
11317
4034d0ff 113182016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11319 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11320
11321 PR gdb/20487
11322 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11323 =thread-select-event check.
11324
a4297203
PB
113252016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11326
11327 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11328 the compulsory L operand changes.
11329 * gdb.arch/powerpc-power.s: Likewise.
11330
bb805577
JK
113312016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11332
11333 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11334 * gdb.base/jit-attach-pie.c: New file.
11335 * gdb.base/jit-attach-pie.exp: New file.
11336
6d61dee5
PA
113372016-09-28 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.base/infcall-input.c: New file.
11340 * gdb.base/infcall-input.exp: New file.
11341
f73842fc
YQ
113422016-09-22 Yao Qi <yao.qi@linaro.org>
11343
11344 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11345 (gdb_exit): Rename it to ...
11346 (gdbserver_gdb_exit): ... Close GDBserver.
11347 (gdb_exit): New proc, call gdbserver_gdb_exit.
11348 (mi_gdb_exit): Likewise.
11349
90681dab
YQ
113502016-09-22 Yao Qi <yao.qi@linaro.org>
11351
11352 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11353 path.
11354 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11355 Remove duplication.
11356
9c211fd8
YQ
113572016-09-22 Yao Qi <yao.qi@linaro.org>
11358
11359 * lib/gdbserver-support.exp: Check the existence of
11360 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11361
ad0a504f
AK
113622016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11363
11364 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11365
36cf1806
TT
113662016-09-21 Tom Tromey <tom@tromey.com>
11367
11368 PR gdb/20604:
11369 * gdb.base/quit.exp: New file.
11370
74172ecf
SM
113712016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11372
11373 * .gitignore: New file.
11374
3d0ec882
MR
113752016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11376
11377 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11378 throughout.
11379
8193adea
AA
113802016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11381
11382 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11383
d41a5c09
JK
113842016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * gdb.cp/casts.cc (decltype): Move it ...
11387 (main): ... with its call to ...
11388 * gdb.cp/casts03.cc: ... a new file.
11389 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11390
d2dfe700
JK
113912016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11392
11393 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11394
e2a92b16
PB
113952016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11396
11397 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11398 and sync up the test with tests in gas/testsuite/gas/ppc.
11399 * gdb.arch/powerpc-power.exp: Likewise.
11400
49b4de64
JK
114012016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11402
11403 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11404
2c29df25
SDJ
114052016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11406 Jan Kratochvil <jan.kratochvil@redhat.com>
11407
11408 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11409 make m1's definition to be different from m2's. Use 'dummy' as an
11410 argument for probe 'two'.
11411
cc3c2846
JB
114122016-09-10 Jon Beniston <jon@beniston.com>
11413
11414 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11415 for sim target.
11416
e1b2624a
AA
114172016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11418
11419 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11420 variable declaration.
11421 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11422 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11423 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11424 received HWCAP as its argument.
11425
4295e285
PA
114262016-09-06 Pedro Alves <palves@redhat.com>
11427
11428 * gdb.base/new-ui-pending-input.c: New file.
11429 * gdb.base/new-ui-pending-input.exp: New file.
11430 * gdb.exp (clear_gdb_spawn_id): New procedure.
11431 (with_spawn_id): Check whether gdb_spawn_id exists before
11432 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11433 on exit.
11434
00d5215e
UW
114352016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11436
11437 * gdb.base/float128.c: New file.
11438 * gdb.base/float128.exp: Likewise.
11439 * gdb.base/floatn.c: Likewise.
11440 * gdb.base/floatn.exp: Likewise.
11441
a9ff5f12
UW
114422016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11443
11444 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11445
f245535c
PA
114462016-09-05 Pedro Alves <palves@redhat.com>
11447
11448 PR backtrace/19927
11449 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11450 unwinders are immediately called as side effect of "source" or
11451 "disable unwinder" commands.
11452 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11453
ae9cf263
YQ
114542016-09-02 Yao Qi <yao.qi@linaro.org>
11455
11456 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11457 is true and $type is "float" or "double".
11458
27aba047
YQ
114592016-09-02 Yao Qi <yao.qi@linaro.org>
11460
11461 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11462 true.
11463 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11464 * gdb.base/call-rt-st.exp: Likewise.
11465 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11466 return value instead of gdb,skip_float_test.
11467 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11468 (do_function_calls): Use its return value instead of
11469 gdb,skip_float_test.
11470 * gdb.base/finish.exp: Likewise.
11471 * gdb.base/funcargs.exp: Likewise.
11472 * gdb.base/return.exp: Likewise.
11473 * gdb.base/return2.exp: Likewise.
11474 * gdb.base/varargs.exp: Likewise.
11475 * lib/gdb.exp (gdb_skip_float_test): Change it to
11476 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11477
5af962df
AA
114782016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11479
11480 * gdb.multi/tids.exp: Test "thread apply all".
11481
7fac6910
JK
114822016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11483
11484 * gdb.base/default.exp (tty): Remove.
11485
bb1fe4ac
KB
114862016-08-24 Kevin Buettner <kevinb@redhat.com>
11487
2806dc7e
PA
11488 * gdb.python/py-recurse-unwind.c: New file.
11489 * gdb.python/py-recurse-unwind.py: New file.
11490 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11491
0a1ddfa6
SM
114922016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11493
11494 * gdb.base/set-inferior-tty.exp: New file.
11495 * gdb.base/set-inferior-tty.c: New file.
11496
d9de1fe3
PA
114972016-08-23 Pedro Alves <palves@redhat.com>
11498
11499 PR gdb/20494
11500 * gdb.base/new-ui-echo.c: New file.
11501 * gdb.base/new-ui-echo.exp: New file.
11502
e9d9abd7
YQ
115032016-08-23 Yao Qi <yao.qi@linaro.org>
11504
11505 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11506 gdbserver_spawn.
11507 * gdb.server/connect-without-multi-process.exp (do_test):
11508 Likewise.
11509
3589529e
YQ
115102016-08-23 Yao Qi <yao.qi@linaro.org>
11511
11512 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11513 standalone_txt. Delete gdb_txt and standalone_txt on host
11514 and target. Spawn the binary on target. Copy files from
11515 target to host.
11516
6bb90213
PA
115172016-08-22 Pedro Alves <palves@redhat.com>
11518
11519 PR gdb/20505
11520 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11521 with_test_prefix. Factor out bits to ...
11522 (test_no_vdso): ... this new procedure.
11523
20c2c024
CL
115242016-08-19 Carl Love <cel@us.ibm.com>
11525
11526 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11527 maintaining separate logic for constructing the output path.
11528 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11529 * gdb.arch/ppc-dfp.exp: Likewise.
11530 * gdb.arch/ppc-fp.exp: Likewise.
11531 * gdb.arch/vsx-regs.exp: Likewise.
11532 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11533 binprefix for generating the additional binary files.
11534
0646e07d
PA
115352016-08-19 Pedro Alves <palves@redhat.com>
11536
11537 * gdb.trace/mi-trace-frame-collected.exp
11538 (test_trace_frame_collected): On x32, expect two registers.
11539
46da9242
CL
115402016-08-18 Carl Love <cel@us.ibm.com>
11541
11542 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11543 and sync up the test with tests in gas/testsuite/gas/ppc.
11544 * gdb.arch/powerpc-power.exp: Likewise.
11545
eb2332d7
SM
115462016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11547
11548 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11549 expected error message.
11550
63c61e04
SM
115512016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11552
11553 * gdb.multi/remove-inferiors.exp: New file.
11554 * gdb.multi/remove-inferiors.c: New file.
11555
7b17065f
YQ
115562016-08-12 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11559 argument list.
11560
01d3dedf
PA
115612016-08-10 Pedro Alves <palves@redhat.com>
11562
11563 PR gdb/19187
11564 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11565 setup_kfails.
11566
3eb7562a
PA
115672016-08-09 Pedro Alves <palves@redhat.com>
11568 Simon Marchi <simon.marchi@ericsson.com>
11569
11570 PR gdb/20418
11571 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11572 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11573
80614914
PA
115742016-08-09 Pedro Alves <palves@redhat.com>
11575
11576 PR mi/20431
11577 * gdb.mi/mi-cmd-error.exp: New file.
11578
f348d89a
PA
115792016-08-09 Pedro Alves <palves@redhat.com>
11580
11581 PR gdb/18653
11582 * gdb.base/signals-state-child.c: New file.
11583 * gdb.base/signals-state-child.exp: New file.
11584 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11585
e5ca03b4
PA
115862016-08-09 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11589
282a0691
TT
115902016-08-03 Tom Tromey <tom@tromey.com>
11591
11592 PR python/18565:
11593 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11594
41bfcd63
YQ
115952016-08-01 Yao Qi <yao.qi@linaro.org>
11596
11597 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11598 variable mode to "multi-process" if $multi_process is 1, otherwise
11599 set it to "single-process".
11600
e3465b24
YQ
116012016-08-01 Yao Qi <yao.qi@linaro.org>
11602
11603 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11604 * gdb.cp/cpexprs.exp: Likewise.
11605 * gdb.cp/m-static.exp: Likewise.
11606
0b31a4bc
TT
116072016-07-26 Tom Tromey <tom@tromey.com>
11608
11609 PR python/20190:
11610 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11611 test.
11612
e0461dbb
MM
116132016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11614
11615 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11616 selecting assembly source files.
11617 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11618 assembly source files.
11619 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11620 assembly source files.
11621 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11622 selecting assembly source files.
11623
8194e927
SM
116242016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11625
11626 * gdb.base/new-ui.exp (do_test_invalid_args): New
11627 procedure.
11628
c0272db5
TW
116292016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11630
11631 * gdb.btrace/reconnect.c: New file.
11632 * gdb.btrace/reconnect.exp: New file.
11633
e3487908
GKB
116342016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11635
11636 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11637 to test_catch_syscall_group.
11638 (test_catch_syscall_group): New.
11639
12df5c00
TT
116402016-07-21 Tom Tromey <tom@tromey.com>
11641
11642 * gdb.rust/simple.rs (main): Use empty struct expression.
11643 * gdb.rust/simple.exp: Add tests for empty struct expression.
11644
bae62ee2
YQ
116452016-07-21 Yao Qi <yao.qi@linaro.org>
11646
11647 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11648 if gdb_skip_xml_test is true on some targets.
11649
b1b53fb3
YQ
116502016-07-21 Yao Qi <yao.qi@linaro.org>
11651
11652 * gdb.server/solib-list.exp: Unset last_loaded_file.
11653
027d97f8
JK
116542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11657 "step into captured_main (args)".
11658
7674d381
JK
116592016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11660
11661 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11662
72b5d099
JK
116632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11664
11665 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11666
1f960ced
PA
116672016-07-19 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11670 * gdb.opt/inline-bt.exp: Likewise.
11671 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11672 additional_flags=-Winline.
11673 * gdb.opt/inline-locals.exp: Likewise.
11674 * gdb.opt/inline-markers.c (ATTR): Define.
11675 (inlined_fn): Use it.
11676
f25827c1
YQ
116772016-07-19 Yao Qi <yao.qi@linaro.org>
11678
11679 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11680 (test_with_self): Remove some code. Remove argument executable.
11681 (top-level): Use do_self_tests.
11682
37539ebe
DB
116832016-07-15 Zachary Welch <zwelch@codesourcery.com>
11684 Don Breazeal <donb@codesourcery.com>
11685
11686 * gdb.base/maint.exp: Escape paths used in regular expressions.
11687 * gdb.stabs/weird.exp: Likewise.
11688
dac790e1
TT
116892016-07-13 Tom Tromey <tom@tromey.com>
11690
11691 PR python/15620, PR python/18620:
11692 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11693 (test_bkpt_events): New procs.
11694
93daf339
TT
116952016-07-13 Tom Tromey <tom@tromey.com>
11696
11697 PR python/17698:
11698 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11699 test.
11700 (test_watchpoints): Likewise.
11701 (test_bkpt_pending): New proc.
11702
6571a381
TT
117032016-07-13 Tom Tromey <tom@tromey.com>
11704
11705 PR cli/18053:
11706 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11707 completion test.
11708
e8732474
JK
117092016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11710
11711 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11712 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11713 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11714 f_label.
11715 (g): Rename g_end_lbl to g_label.
11716 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11717 low_pc and high_pc.
11718 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11719
e0f3fd7c
TT
117202016-07-12 Tom Tromey <tom@tromey.com>
11721
11722 PR python/19293:
11723 * gdb.python/py-unwind-maint.exp: Update tests.
11724
3cfe46b6
YQ
117252016-07-12 Yao Qi <yao.qi@linaro.org>
11726
11727 * lib/selftest-support.exp (selftest_setup): Match the output
11728 when captured_main is inlined.
11729
4f19a0e6
WT
117302016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11731
11732 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11733 New variables.
11734 (print this%a, print this%b, print this): New tests.
11735 * gdb.fortran/derived-types.f90 (this): New object and
11736 initialization.
11737
986cf455
SM
117382016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11739
11740 * gdb.ada/arraydim.exp: Remove extra directory level in build
11741 directory.
11742
f0464b23
SM
117432016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11744
11745 * lib/ada.exp: Remove extra directory level in build directory.
11746 * gdb.ada/cond_lang.exp: Likewise.
11747 * gdb.ada/exec_changed.exp: Likewise.
11748 * gdb.ada/lang_switch.exp: Likewise.
11749
42d94011
MG
117502016-07-06 Manish Goregaokar <manish@mozilla.com>
11751
2806dc7e
PA
11752 * simple.rs: Add test for raw pointer subscripting.
11753 * simple.exp: Add test expectations.
42d94011 11754
647c264c
YQ
117552016-07-05 Yao Qi <yao.qi@linaro.org>
11756
11757 * gdb.mi/mi-reverse.exp: Match =record-started output.
11758
20aa2c60
PA
117592016-07-01 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11762 procedure.
11763 (jit_reader_test): Test the jit reader's unwinder.
11764 * gdb.base/jithost.c (jit_function_00_code): New global.
11765 (main): Use memcpy to fill in the mmapped code, instead of poking
11766 bytes manually here.
11767 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11768 value.
11769 (read_debug_info): Save the function's range.
11770 (read_sp): New function.
11771 (unwind_frame): Use it. Also unwind RBP.
11772 (get_frame_id): Use read_sp.
11773 (gdb_init_reader): Use calloc instead of malloc.
11774 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11775 parameter. Use gdb_test_multiple.
11776
ced2dffb
PA
117772016-07-01 Pedro Alves <palves@redhat.com>
11778 Antoine Tremblay <antoine.tremblay@ericsson.com>
11779
11780 * gdb.threads/process-dies-while-detaching.c: New file.
11781 * gdb.threads/process-dies-while-detaching.exp: New file.
11782
63000888
PA
117832016-07-01 Pedro Alves <palves@redhat.com>
11784
11785 * gdb.multi/watchpoint-multi-exit.c: New file.
11786 * gdb.multi/watchpoint-multi-exit.exp: New file.
11787
038d4868
PA
117882016-06-30 Pedro Alves <palves@redhat.com>
11789
11790 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11791 unset inferior_spawn_id.
11792
994e9c83
PA
117932016-06-30 Pedro Alves <palves@redhat.com>
11794
11795 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11796 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11797
e5653468
YQ
117982016-06-29 Yao Qi <yao.qi@linaro.org>
11799
11800 * gdb.base/return.c: Add copyright header.
11801
803b47e5
TT
118022016-06-29 Tom Tromey <tom@tromey.com>
11803
11804 PR python/20129:
11805 * gdb.python/py-framefilter.exp: Add tests for setting priority
11806 and disabling of non-existent frame filter.
11807
28244707
YQ
118082016-06-29 Yao Qi <yao.qi@linaro.org>
11809
11810 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11811 0x0f07ff.
11812
a31d2f06
YQ
118132016-06-28 Yao Qi <yao.qi@linaro.org>
11814
11815 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11816 triplets. Start gdb, execute catch syscall, and continue. Check
11817 gdb's output to determine catch syscall is supported.
11818
921d8f54
MG
118192016-06-27 Manish Goregaokar <manish@mozilla.com>
11820
25d49b86
PA
11821 * gdb.rust/simple.rs: Add test for returning unit in a function.
11822 * gdb.rust/simple.exp: Add expectation for functions returning
11823 unit.
921d8f54 11824
f4952523
PMR
118252016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11826
11827 * gdb.python/py-breakpoint-create-fail.c,
11828 gdb.python/py-breakpoint-create-fail.exp,
11829 gdb.python/py-breakpoint-create-fail.py: New testcase.
11830
fccb08f8
MG
118312016-06-25 Manish Goregaokar <manish@mozilla.com>
11832
11833 PR gdb/20239
11834 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11835 * gdb.rust/simple.exp: Add test expectations for new NonZero
11836 tests.
fccb08f8 11837
6b850546
DT
118382016-06-24 David Taylor <dtaylor@emc.com>
11839
11840 * gdb.base/offsets.exp: New file.
11841 * gdb.base/offsets.c: New file.
11842
17621150
TT
118432016-06-23 Tom Tromey <tom@tromey.com>
11844
11845 PR gdb/16483:
11846 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11847 before any filters are loaded.
11848
04d59df6
WT
118492016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11850
11851 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11852 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11853 structs.
11854 * gdb.fortran/derived-type-function.exp: New file.
11855 * gdb.fortran/derived-type-function.f90: New file.
11856
11857
ac69f786
PA
118582016-06-21 Pedro Alves <palves@redhat.com>
11859
11860 * gdb.base/new-ui.exp: New file.
11861 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11862 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11863 (with_spawn_id): New procedure.
11864
49940788
PA
118652016-06-21 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.mi/mi-exec-run.exp: New file.
11868
ef274d26
PA
118692016-06-21 Pedro Alves <palves@redhat.com>
11870
11871 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11872 breakpoint command's output on the main UI.
11873 (test_break): New procedure, factored out from calls in the top
11874 level.
11875 (top level): Use foreach_with_prefix to test MI as main UI and as
11876 separate UI.
11877
468afe6c
PA
118782016-06-21 Pedro Alves <palves@redhat.com>
11879
11880 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11881 (test_awatch_creation_and_listing)
11882 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11883 Remove 'type' parameter.
11884 (test_watchpoint_all): New parameter mi_mode. Remove
11885 with_test_prefix.
11886 (top level): Use foreach_with_prefix, and add main/separate UI MI
11887 testing axis.
11888
51f77c37
PA
118892016-06-21 Pedro Alves <palves@redhat.com>
11890
11891 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11892 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11893 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11894 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11895 (gdb_main_spawn_id, mi_spawn_id): Declare and
11896 comment.
11897 (mi_create_inferior_pty): New procedure,
11898 factored out from default_mi_gdb_start.
11899 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11900 procedures.
11901 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11902 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11903 Use mi_create_inferior_pty.
11904 (mi_gdb_start): Use eval to pass down args list.
11905
8980e177
PA
119062016-06-21 Pedro Alves <palves@redhat.com>
11907
11908 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11909 * gdb.opt/inline-cmds.exp: Add MI tests.
11910
f38d3ad1
PA
119112016-06-21 Pedro Alves <palves@redhat.com>
11912
11913 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11914
45db7c09
PA
119152016-06-21 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11918 (top level): Use it instead of mi_execute_to.
11919
5a069ab3
PA
119202016-06-21 Pedro Alves <palves@redhat.com>
11921
11922 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11923 (cont_handler_str): New.
11924 (signal_stop_handler): Set stop_handler_str instead of printing to
11925 stdout.
11926 (continue_handler): Set cont_handler_str instead of printing to
11927 stdout.
11928 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11929 mi_send_resuming_command. Print stop_handler_str and
11930 cont_handler_str instead of expecting the python events print
11931 directly.
11932
2838cc1d
SD
119332016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11934
11935 * gdb.base/jit-reader.exp: New file.
11936 * gdb.base/jithost.c: New file.
11937 * gdb.base/jithost.h: New file.
11938 * gdb.base/jitreader.c : New file.
11939 * gdb.base/jit-protocol.h: New file.
11940
21a77091
YQ
119412016-06-17 Yao Qi <yao.qi@linaro.org>
11942
11943 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11944 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11945 and detach-on-fork. Adjust tests.
11946 (top level): Invoke break_cond_on_syscall with combinations of
11947 syscall, follow-fork-mode and detach-on-fork.
11948
f50bf8e5
YQ
119492016-06-17 Yao Qi <yao.qi@linaro.org>
11950
11951 * gdb.base/step-over-exit.c: New.
11952 * gdb.base/step-over-exit.exp: New.
11953
a28d8e50
YTL
119542016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11955
11956 * gdb.base/float.exp: Add target check for nds32*-*-*.
11957 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11958
cad8e26d
AB
119592016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11960
11961 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11962 for unsupported target features.
11963 * gdb.base/call-rt-st.exp: Likewise.
11964 * gdb.base/call-sc.exp: Likewise.
11965 * gdb.base/call-signal-resume.exp: Likewise.
11966 * gdb.base/call-strs.exp: Likewise.
11967 * gdb.base/callexit.exp: Likewise.
11968 * gdb.base/callfuncs.exp: Likewise.
11969 * gdb.base/nodebug.exp: Likewise.
11970 * gdb.base/printcmds.exp: Likewise.
11971 * gdb.base/ptype.exp: Likewise.
11972 * gdb.base/structs.exp: Likewise.
11973 * gdb.base/unwindonsignal.exp: Likewise.
11974 * gdb.cp/gdb2495.exp: Likewise.
11975 * gdb.cp/templates.exp: Likewise.
11976 * gdb.cp/virtfunc.exp: Likewise.
11977 * gdb.threads/hand-call-in-threads.exp: Likewise.
11978 * gdb.threads/interrupted-hand-call.exp: Likewise.
11979 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11980
347dc102
TT
119812016-06-10 Tom Tromey <tom@tromey.com>
11982
11983 PR rust/20110:
11984 * gdb.rust/expr.exp: Add test for integer constant larger than
11985 i32.
11986
5e13cf25
BH
119872016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11988
11989 * gdb.fortran/nested-funcs.exp: New.
11990 * gdb.fortran/nested-funcs.f90: New.
11991
bb556f1f
TK
119922016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11993
11994 * gdb.base/examine-backward.c: New file.
11995 * gdb.base/examine-backward.exp: New file.
11996
38b022b4
SM
119972016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11998
11999 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12000 matching.
12001
1b40ec05
TT
120022016-06-02 Tom Tromey <tom@tromey.com>
12003
12004 PR python/18984:
12005 * gdb.python/py-shared.exp: Add solib_name test.
12006
193bd378
SM
120072016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12008
12009 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12010
3326303b
MG
120112016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12012
12013 PR c++/19893
12014 * gdb.dwarf2/implref.exp: Rename to...
12015 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12016 * gdb.dwarf2/implref-array.c: New file.
12017 * gdb.dwarf2/implref-array.exp: Likewise.
12018 * gdb.dwarf2/implref-global.c: Likewise.
12019 * gdb.dwarf2/implref-global.exp: Likewise.
12020 * gdb.dwarf2/implref-struct.c: Likewise.
12021 * gdb.dwarf2/implref-struct.exp: Likewise.
12022
825c8ef2
AT
120232016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12024
12025 * gdb.trace/trace-condition.exp: Add 64bit tests.
12026
2320162a
AT
120272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12028
12029 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12030 bits types.
12031 (main): Adapt to 8 to 64 bits types.
12032 * gdb.trace/trace-condition.exp: Add new tests.
12033
a7818233
AT
120342016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12035
12036 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12037
0d336466
AT
120382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12039
12040 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12041 Move condition tests...
12042 * gdb.trace/trace-condition.exp: Here.
12043
7faeb45a
AT
120442016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12045
12046 * gdb.trace/trace-condition.exp: Add counter-case tests.
12047
e385593e
JK
120482016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12049
12050 PR c++/15231
12051 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12052 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12053
744608cc
PA
120542016-05-27 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12057 New procedure.
12058 (top level): Call it, and bail out of DejaGnu is known to be bad.
12059
ac775bf4
AB
120602016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12061
12062 * gdb.base/whatis.c: Extend the test case.
12063 * gdb.base/whatis.exp: Add additional tests.
12064
2bbad2ea
BH
120652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12066
12067* gdb.fortran/type.f90: Add pointer variable.
12068* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12069
8b70175d
BH
120702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12071
12072 * gdb.fortran/vla-type.exp: Fix testcase name.
12073
86d8a848
BH
120742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12075
12076 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12077
e188eb36
BH
120782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12079
12080 * gdb.fortran/type.f90: Add nested structures.
12081 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12082 * gdb.fortran/derived-type.exp: Adapt expected output.
12083 * gdb.fortran/vla-type.exp: Adapt expected output.
12084
9b2db1fd
BH
120852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12086
12087 * gdb.fortran/whatis_type.exp: Adapt expected output.
12088
72b17055
BH
120892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12090
12091 * gdb.fortran/print_type.exp: Fix expected output.
12092 * gdb.fortran/whatis_type.exp: Fix expected output.
12093
3cd81d8d
BH
120942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12095
12096 * gdb.fortran/whatis_type.exp: Use multi_line.
12097
ddae9462
TT
120982016-05-24 Tom Tromey <tom@tromey.com>
12099
12100 PR python/17386:
12101 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12102 use value as an index.
12103
1957f6b8
TT
121042016-05-23 Tom Tromey <tom@tromey.com>
12105
12106 PR python/17981:
12107 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12108 no-breakpoint case.
12109
026a9174
PA
121102016-05-24 Pedro Alves <palves@redhat.com>
12111
12112 PR gdb/19828
12113 * gdb.threads/clone-attach-detach.c: New file.
12114 * gdb.threads/clone-attach-detach.exp: New file.
12115
e70a7231
FR
121162016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12117
12118 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12119
0f6ed0e0
TT
121202016-05-23 Tom Tromey <tom@tromey.com>
12121
12122 PR python/19438, PR python/18393:
12123 * gdb.python/py-progspace.exp: Add "dir" test.
12124 * gdb.python/py-objfile.exp: Add "dir" test.
12125
ffd19d61
YQ
121262016-05-23 Yao Qi <yao.qi@linaro.org>
12127
12128 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12129 * gdb.arch/thumb2-it.exp: Likewise.
12130
9e8f9b05
SM
121312016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12132
12133 * gdb.mi/mi-threads-interrupt.c: New file.
12134 * gdb.mi/mi-threads-interrupt.exp: New file.
12135
61c6156d
SM
121362016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12137
12138 PR gdb/18077
12139 * gdb.mi/mi-async-run.exp: New file.
12140 * gdb.mi/mi-async-run.c: New file.
12141
67218854
TT
121422016-05-17 Tom Tromey <tom@tromey.com>
12143 Manish Goregaokar <manishsmail@gmail.com>
12144
12145 * lib/rust-support.exp: New file.
12146 * lib/gdb.exp (skip_rust_tests): New proc.
12147 (build_executable_from_specs): Handle rust.
12148 * lib/future.exp (gdb_find_rustc): New proc.
12149 (gdb_default_target_compile): Handle rust.
12150 * gdb.rust/expr.exp: New file.
12151 * gdb.rust/generics.exp: New file.
12152 * gdb.rust/generics.rs: New file.
12153 * gdb.rust/methods.exp: New file.
12154 * gdb.rust/methods.rs: New file.
12155 * gdb.rust/modules.exp: New file.
12156 * gdb.rust/modules.rs: New file.
12157 * gdb.rust/simple.exp: New file.
12158 * gdb.rust/simple.rs: New file.
12159
c44af4eb
TT
121602016-05-17 Tom Tromey <tom@tromey.com>
12161
12162 * gdb.base/default.exp (set language): Add rust.
12163
dcd1f979
TT
121642016-05-17 Tom Tromey <tom@tromey.com>
12165
12166 * gdb.gdb/unittest.exp: New file.
12167
155b7f57
YQ
121682016-05-16 Yao Qi <yao.qi@linaro.org>
12169
12170 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12171 shell_prompt. Update shell_prompt_re.
12172
8ddd5a6c
DE
121732016-05-12 Doug Evans <dje@google.com>
12174
12175 PR symtab/19999
12176 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12177 $options when building executable.
12178 * gdb.dwarf2/fission-loclists-pie.S: New file.
12179 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12180
02e370d9
SM
121812016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12182
12183 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12184 of [is_remote target],
12185
8929ad8b
SM
121862016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12187
12188 * lib/gdb.exp (use_gdb_stub): New procedure.
12189
6c447423
DE
121902016-05-03 Yunlian Jiang <yunlian@google.com>
12191 Doug Evans <dje@google.com>
12192
12193 PR symtab/19914
12194 * gdb.dwarf2/dwp-sepdebug.c: New file.
12195 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12196
444e826c
SM
121972016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12198
12199 * gdb.base/detach.exp: Remove is_remote check.
12200
740feeaa
SM
122012016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12202
12203 * gdb.base/annota-input-while-running.exp: Don't check for
12204 [is_remote target]. Enable annotations after running to main.
12205 Remove unused "set test..." line.
12206
9080ac9d
SM
122072016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12208
12209 * gdb.trace/trace-enable-disable.exp: New file.
12210 * gdb.trace/trace-enable-disable.c: New file.
12211
952ebca5
SM
122122016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12213
12214 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12215 use it in info sharedlibrary test.
12216 * gdb.trace/ftrace-lock.exp: Likewise.
12217 * gdb.trace/ftrace.exp: Likewise.
12218 * gdb.trace/range-stepping.exp: Likewise.
12219 * gdb.trace/trace-break.exp: Likewise.
12220 * gdb.trace/trace-condition.exp: Likewise.
12221 * gdb.trace/trace-mt.exp: Likewise.
12222
d9019901
SM
122232016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12224
12225 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12226 (gdb_load_shlib): ... this.
12227 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12228 gdb_load_shlib.
12229 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12230 * gdb.base/ctxobj.exp: Likewise.
12231 * gdb.base/dprintf-pending.exp: Likewise.
12232 * gdb.base/dso2dso.exp: Likewise.
12233 * gdb.base/fixsection.exp: Likewise.
12234 * gdb.base/gcore-relro.exp: Likewise.
12235 * gdb.base/gdb1555.exp: Likewise.
12236 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12237 * gdb.base/gnu-ifunc.exp: Likewise.
12238 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12239 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12240 * gdb.base/pending.exp: Likewise.
12241 * gdb.base/print-file-var.exp: Likewise.
12242 * gdb.base/print-symbol-loading.exp: Likewise.
12243 * gdb.base/shlib-call.exp: Likewise.
12244 * gdb.base/shreloc.exp: Likewise.
12245 * gdb.base/so-impl-ld.exp: Likewise.
12246 * gdb.base/solib-disc.exp: Likewise.
12247 * gdb.base/solib-nodir.exp: Likewise.
12248 * gdb.base/solib-overlap.exp: Likewise.
12249 * gdb.base/solib-symbol.exp: Likewise.
12250 * gdb.base/solib-weak.exp (do_test): Likewise.
12251 * gdb.base/sym-file.exp: Likewise.
12252 * gdb.base/symtab-search-order.exp: Likewise.
12253 * gdb.base/type-opaque.exp: Likewise.
12254 * gdb.base/unload.exp: Likewise.
12255 * gdb.base/watchpoint-solib.exp: Likewise.
12256 * gdb.compile/compile.exp: Likewise.
12257 * gdb.cp/gdb2384.exp: Likewise.
12258 * gdb.cp/infcall-dlopen.exp: Likewise.
12259 * gdb.cp/re-set-overloaded.exp: Likewise.
12260 * gdb.fortran/library-module.exp: Likewise.
12261 * gdb.opt/solib-intra-step.exp: Likewise.
12262 * gdb.python/py-finish-breakpoint.exp: Likewise.
12263 * gdb.python/py-shared.exp: Likewise.
12264 * gdb.reverse/solib-precsave.exp: Likewise.
12265 * gdb.reverse/solib-reverse.exp: Likewise.
12266 * gdb.server/solib-list.exp: Likewise.
12267 * gdb.threads/dlopen-libpthread.exp: Likewise.
12268 * gdb.threads/tls-shared.exp: Likewise.
12269 * gdb.threads/tls-so_extern.exp: Likewise.
12270 * gdb.trace/change-loc.exp: Likewise.
12271 * gdb.trace/ftrace-lock.exp: Likewise.
12272 * gdb.trace/ftrace.exp: Likewise.
12273 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12274 * gdb.trace/pending.exp: Likewise.
12275 * gdb.trace/range-stepping.exp: Likewise.
12276 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12277 (strace_info_marker): Likewise.
12278 (strace_probe_marker): Likewise.
12279 (strace_trace_on_same_addr): Likewise.
12280 (strace_trace_on_diff_addr): Likewise.
12281 * gdb.trace/trace-break.exp: Likewise.
12282 * gdb.trace/trace-condition.exp: Likewise.
12283 * gdb.trace/trace-mt.exp: Likewise.
12284
fca4cfd9
SM
122852016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12286
12287 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12288 result of gdb_remote_download.
12289 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12290 * gdb.base/dso2dso.exp: Likewise.
12291 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12292 * gdb.base/print-file-var.exp: Likewise.
12293 * gdb.base/shlib-call.exp: Likewise.
12294 * gdb.base/shreloc.exp: Likewise.
12295 * gdb.base/solib-overlap.exp: Likewise.
12296 * gdb.base/solib-weak.exp (do_test): Likewise.
12297 * gdb.base/unload.exp: Likewise.
12298
11cf4ffb
YQ
122992016-04-27 Yao Qi <yao.qi@linaro.org>
12300
12301 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12302 exists.
12303
3e2e34f8
KB
123042016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12305
12306 * vla-type.exp: Print structure from toplevel.
12307
8f07e298
BH
123082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12309
12310 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12311 of dynamic types.
12312 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12313 of dynamic types.
12314
9920b434
BH
123152016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12316
12317 * gdb.fortran/vla-type.f90: New file.
12318 * gdb.fortran/vla-type.exp: New file.
12319
f3abeff5
YQ
123202016-04-25 Yao Qi <yao.qi@linaro.org>
12321
12322 * gdb.base/branch-to-self.c: New file.
12323 * gdb.base/branch-to-self.exp: New file.
12324
0a5d52f0
YQ
123252016-04-22 Yao Qi <yao.qi@linaro.org>
12326
12327 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12328 more after $hex.
12329
495346f6
YQ
123302016-04-22 Yao Qi <yao.qi@linaro.org>
12331
12332 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12333 * gdb.base/annota3.exp: Likewise.
12334
4a7e075c
YQ
123352016-04-22 Yao Qi <yao.qi@linaro.org>
12336
12337 * gdb.reverse/step-precsave.exp: Do one step and test program
12338 stops in "callee" and do multiple steps until program goes out
12339 of "callee".
12340 * gdb.reverse/step-reverse.exp: Likewise.
12341
5b061e98
YQ
123422016-04-22 Yao Qi <yao.qi@linaro.org>
12343
12344 * gdb.trace/signal.exp: Also pass if
12345 $tracepoint_hits($i) > $iterations.
12346
5c5dc57f
YQ
123472016-04-22 Yao Qi <yao.qi@linaro.org>
12348
12349 * gdb.trace/signal.c: New file.
12350 * gdb.trace/signal.exp: New file.
12351
a55411b9
DE
123522016-04-19 Doug Evans <xdje42@gmail.com>
12353
12354 * gdb.base/bad-file.exp: New file.
12355
a22df60a
MG
123562016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12357
12358 * gdb.dwarf2/implref.exp: New file.
12359
0c13f7e5
BH
123602016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12361
12362 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12363 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12364 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12365 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12366 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12367 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12368 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12369 * lib/fortran.exp (fortran_int4): New procedure.
12370 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12371 (fortran_logical4): Likewise.
12372
9b9b09e9
BH
123732016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12374
12375 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12376
a14d1f4d
BH
123772016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12378
12379 * lib/compiler.c: Add Intel specific preprocessor macros.
12380 * lib/compiler.cc: Likewise.
25d49b86 12381
7d49b1d0
LM
123822016-04-13 Luis Machado <lgustavo@codesourcery.com>
12383
12384 * gdb.server/connect-with-no-symbol-file.c: New file.
12385 * gdb.server/connect-with-no-symbol-file.exp: New file.
12386
8392fa22
SM
123872016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12388
12389 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12390
8c4c4aeb
SM
123912016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12392
12393 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12394 standard output directory.
12395
45e3745e
AT
123962016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12397
12398 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12399
e26b7e41
MM
124002016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12401
12402 * gdb.btrace/instruction_history.c (loop): Add declaration.
12403
8ce09462
AT
124042016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12405
12406 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12407
2e88a1ea
SM
124082016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12409
12410 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12411 parentheses to print.
12412 (continue_handler): Likewise.
12413
f48e22e3
SM
124142016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12415
12416 * gdb.server/solib-list.exp: Remove is_remote check.
12417 Pass shlib= to gdb_compile. Don't link shared library with
12418 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12419 Run binary filename through "readlink -f" on the target.
12420
096be756
PA
124212016-04-08 Pedro Alves <palves@redhat.com>
12422
12423 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12424 interpreter filename as argument to gdbserver_spawn.
12425 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12426 Return empty if $last_loaded_file does not exist.
12427
06500533
JK
124282016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12429
12430 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12431 * gdb.base/jit-main.c: Use exit after usage.
12432
2d35e871
JK
124332016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12434
12435 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12436 GDBHISTSIZE prior to the tests.
12437 * gdb.base/gdbinit-history.exp: Likewise.
12438
124392016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12440
12441 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12442 instead of build_executable. Use gdb_load_shlibs.
12443
c8064e7e
YQ
124442016-04-07 Yao Qi <yao.qi@linaro.org>
12445
12446 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12447 Execute "si" command.
12448
bde47561
YQ
124492016-04-07 Yao Qi <yao.qi@linaro.org>
12450
12451 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12452 number instead of the comments on some line.
12453
b16f8a3b
DB
124542016-04-06 Don Breazeal <donb@codesourcery.com>
12455
12456 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12457 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12458
c2f901df
SM
124592016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12460
12461 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12462 standard_output_file. Remove unused binfile variable.
12463
ac17fda0
CU
124642016-04-05 Catalin Udma <catalin.udma@freescale.com>
12465
12466 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12467 * gdb.python/py-mi-objfile.exp: Match "list main" output
12468 in console format.
12469
03a8c4df
SM
124702016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12471
12472 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12473 absolute.
12474
6e774b13
SM
124752016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12476
12477 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12478 absolute.
12479 * gdb.trace/ftrace.exp: Likewise.
12480 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12481 targets as well.
12482 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12483 (gdb_load_shlibs): Copy libraries to test directory when testing
12484 natively. Only set solib-search-path if testing remotely.
12485 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12486
7817ea46
SM
124872016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12488
12489 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12490 gdb_download. Use it even if the target is not remote.
12491 * gdb.base/jit.exp (compile_jit_test): Likewise.
12492 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12493 output directory if the destination board is local, otherwise use
12494 the standard remote_download from DejaGnu.
12495 (gdb_download): Remove.
12496 (gdb_load_shlibs): Use gdb_remote_download instead of
12497 gdb_download.
12498 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12499 Use gdb_remote_download instead of gdb_download. Use it even if
12500 the target is not remote.
12501 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12502 instead of gdb_download.
12503
7beb7f68
SM
125042016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12505
12506 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12507 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12508 run.
12509
cc63428a
AV
125102016-04-01 Artemiy Volkov <artemiyv@acm.org>
12511
12512 PR gdb/19820
12513 * gdb.base/printcmds.exp: Add artificial arrays tests.
12514
64cdf930
PA
125152016-03-31 Pedro Alves <palves@redhat.com>
12516
12517 PR gdb/19858
12518 * gdb.base/jit-main.c: Include unistd.h.
12519 (ATTACH): Define to 0 if not already defined.
12520 (wait_for_gdb, mypid): New globals.
12521 (WAIT_FOR_GDB): New macro.
12522 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12523 some breakpoint locations.
12524 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12525 New procedures.
12526 (one_jit_test): Add REATTACH parameter, and handle it. Use
12527 continue_to_test_location.
12528 (top level): Test attach, and adjusts calls to one_jit_test.
12529
40dea8cb
PA
125302016-03-31 Pedro Alves <palves@redhat.com>
12531
12532 PR gdb/19858
12533 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12534 BINSUFFIX parameter, and handle it.
12535 (top level): Adjust calls compile_jit_test.
12536
e7ea3ec7
CU
125372016-03-31 Catalin Udma <catalin.udma@freescale.com>
12538
12539 PR python/19743
12540 * gdb.python/py-mi-events-gdb.py: New file.
12541 * gdb.python/py-mi-events.c: New file.
12542 * gdb.python/py-mi-events.exp: New file.
12543
e6359af3
YQ
125442016-03-30 Yao Qi <yao.qi@linaro.org>
12545
12546 * gdb.reverse/until-precsave.exp: Match function name only.
12547 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12548 Move malloc to a condition block.
12549 * gdb.reverse/until-reverse.exp: Match function name only.
12550
a4105d04
MK
125512016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12552
12553 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12554 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12555 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12556 variable for GPR 0 instead of assuming it is register 0.
12557 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12558 * lib/trace-support.exp: Add s390 registers.
12559
bfa6adb9
YQ
125602016-03-29 Yao Qi <yao.qi@linaro.org>
12561
12562 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12563
1e6697ea
YQ
125642016-03-24 Yao Qi <yao.qi@linaro.org>
12565
12566 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12567 test message.
12568
64bcd522
AA
125692016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12570
12571 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12572 maintaining separate logic for constructing the output path.
12573
7868401b
DB
125742016-03-16 Don Breazeal <donb@codesourcery.com>
12575
12576 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12577 Retry fork and waitpid on interrupted system call errors.
12578 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12579 Use with_timeout_factor to increase timeout by factor of 10.
12580
1cafadb4
DB
125812016-03-15 Don Breazeal <donb@codesourcery.com>
12582
12583 * gdb.cp/scope-err.cc: New test program.
12584 * gdb.cp/scope-err.exp: New test script.
12585 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12586 lines and "set breakpoint here" comment.
12587 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12588 Fixed some whitespace and format issues.
12589 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12590 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12591
81516450
DE
125922016-03-15 Doug Evans <dje@google.com>
12593
12594 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12595 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12596 All callers updated. Add tests for enums, mixed flags register.
12597
aa52b601
DE
125982016-03-15 Doug Evans <dje@google.com>
12599
12600 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12601 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12602
fa4ff313
SM
126032016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12604
12605 * gdb.base/default.exp: Add $_as_string to the list of expected
12606 convenience functions.
12607
f2403c39
AB
126082016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12609
12610 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12611
f2f3ccb9
SM
126122016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12613
12614 * gdb.python/py-as-string.exp: New file.
12615 * gdb.python/py-as-string.c: New file.
12616
00dbd492
PA
126172016-03-09 Pedro Alves <palves@redhat.com>
12618
12619 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12620 signal" -> "Thread NN received signal" output change.
12621 * gdb.threads/ia64-sigill.exp: Likewise.
12622 * gdb.threads/linux-dp.exp: Likewise.
12623 * gdb.threads/manythreads.exp: Likewise.
12624 * gdb.threads/pending-step.exp: Likewise.
12625 * gdb.threads/print-threads.exp: Likewise.
12626 * gdb.threads/sigstep-threads.exp: Likewise.
12627 * gdb.threads/staticthreads.exp: Likewise.
12628 * gdb.threads/tls.exp: Likewise.
12629
1e6697ea
YQ
126302016-03-09 Pedro Alves <palves@redhat.com>
12631
12632 * gdb.base/command-line-input.exp: New file.
12633
b04fd3be
MK
126342016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12635
12636 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12637 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12638 * gdb.trace/pending.exp: Accept leading dot before function name.
12639 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12640 * lib/trace-support.exp: Set registers for ppc.
12641
98fa59e9
MK
126422016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12643
12644 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12645 use it for disassembly; accept .main in addition to main in backtrace.
12646
f77198c8
MK
126472016-03-09 Wei-cheng Wang <cole945@gmail.com>
12648 Marcin Kościelnicki <koriakin@0x04.net>
12649
12650 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12651 (gdb_recursion_test_ptr): New global variable.
12652 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12653 gdb_recursion_test.
12654 (gdb_c_test): Ditto.
12655
ba84e0da
MK
126562016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12657
12658 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12659 ordering.
12660
4366d36e
MK
126612016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12662
12663 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12664 (bar): Add bar_start_lbl label.
12665 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12666 of foo/bar for emitting DWARF and tracing.
12667
5eb264df
SDJ
126682016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12669
12670 * analyze-racy-logs.py: Set executable bit.
12671
fb6a751f
SDJ
126722016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12673
12674 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12675 (CHECK_TARGET_TMP): Likewise.
12676 (check-single-racy): New rule.
12677 (check-parallel-racy): Likewise.
12678 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12679 (do-check-parallel-racy): New rule.
12680 (check-racy/%.exp): Likewise.
12681 * README (Racy testcases): New section.
12682 * analyze-racy-logs.py: New file.
12683
bdf7e230
DE
126842016-03-03 Doug Evans <dje@google.com>
12685
12686 * gdb.base/skip.exp: Use with_test_prefix.
12687
4719d415
YQ
126882016-03-03 Yao Qi <yao.qi@linaro.org>
12689
12690 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12691 Invoke step_over_syscall "clone" and break_cond_on_syscall
12692 "clone".
12693 * gdb.base/step-over-clone.c: New file.
12694
ea507862
YQ
126952016-03-03 Yao Qi <yao.qi@linaro.org>
12696
12697 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12698 code format.
12699
8fc8cbda
YQ
127002016-03-03 Yao Qi <yao.qi@linaro.org>
12701
12702 * gdb.base/disp-step-fork.c: Rename to ...
12703 * gdb.base/step-over-fork.c: ... it. New file.
12704 * gdb.base/disp-step-vfork.c: Rename to ...
12705 * gdb.base/step-over-vfork.c: ... it. New file.
12706 * gdb.base/disp-step-syscall.exp: Rename to ...
12707 * gdb.base/step-over-syscall.exp: ... it. New file.
12708 (disp_step_cross_syscall): Rename to ...
12709 (step_over_syscall): ... it.
12710
92fa70b0
YQ
127112016-03-03 Yao Qi <yao.qi@linaro.org>
12712
12713 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12714 If target supports condition evaluation on target, invoke
12715 break_cond_on_syscall for fork and vfork.
12716
e197ad3c
YQ
127172016-03-03 Yao Qi <yao.qi@linaro.org>
12718
12719 * gdb.base/disp-step-syscall.exp: Don't invoke
12720 support_displaced_stepping.
12721 (disp_step_cross_syscall): Test with displaced stepping off and
12722 on if supported.
12723
0b47da9f
YQ
127242016-03-03 Yao Qi <yao.qi@linaro.org>
12725
12726 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12727 proc.
12728 (setup): New proc.
12729 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12730 and setup.
12731
065ab6dc
BH
127322016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12733
12734 * gdb.fortran/vla-history.exp: Remove breakpoint.
12735
07e448ad 127362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12737
25d49b86
PA
12738 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12739 exceeds timeout.
07e448ad 12740
9ac2d526 127412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12742
25d49b86
PA
12743 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12744 breakpoint.
9ac2d526 12745
17807369
BH
127462016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12747
12748 * gdb.mi/vla.f90: Nullify pointer after declaration.
12749
86e501af
PA
127502016-03-01 Pedro Alves <palves@redhat.com>
12751
12752 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12753
1e903e32
PA
127542016-03-01 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12757 before anything else.
12758 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12759 _GNU_SOURCE here.
12760 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12761 before anything else.
12762 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12763
6ccb54e2
PA
127642016-03-01 Pedro Alves <palves@redhat.com>
12765
12766 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12767
30ca9da1
YQ
127682016-03-01 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12771 prepare_for_testing.
12772
dc856b38
YQ
127732016-03-01 Yao Qi <yao.qi@linaro.org>
12774
12775 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12776
4a932159
AA
127772016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12780 manually constructing the output path.
12781
f2489477
AA
127822016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12783
12784 * gdb.arch/s390-stackless.S: New.
12785 * gdb.arch/s390-stackless.exp: New.
12786
38899f16
IB
127872016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12788
12789 * gdb.dlang/circular.c: New file.
12790 * gdb.dlang/circular.exp: New file.
12791
9fde51ed
YQ
127922016-02-26 Yao Qi <yao.qi@linaro.org>
12793
12794 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12795 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12796 (testcases): Update.
12797
ce90fefe
YQ
127982016-02-26 Yao Qi <yao.qi@linaro.org>
12799
12800 * gdb.reverse/aarch64.c: Rename to ...
12801 * gdb.reverse/insn-reverse.c: ... it.
12802 * gdb.reverse/aarch64.exp: Rename to ...
12803 * gdb.reverse/insn-reverse.exp: ... it.
12804
3263bceb
YQ
128052016-02-26 Yao Qi <yao.qi@linaro.org>
12806
12807 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12808 (testcase_ftype): New.
12809 (testcases): New array.
12810 (n_testcases): New.
12811 (main): Call each element in testcases.
12812 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12813 (read_testcase): New.
12814 Do the tests in a loop.
12815
6cb59ff1
YQ
128162016-02-25 Yao Qi <yao.qi@linaro.org>
12817
12818 * gdb.base/branches.c: Remove.
12819
ae91f625
MK
128202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12821
12822 PR gdb/13808
12823 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12824
678b48b7
MK
128252016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12826
12827 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12828
7337a6f2
MK
128292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12830
12831 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12832 change x86_64 call_insn to 'callq'.
12833
861ca91f
AT
128342016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12835
12836 * gdb.trace/tfile-avx.c: Move to...
12837 * gdb.trace/tracefile-pseudo-reg.c: Here.
12838 * gdb.trace/tfile-avx.exp: Move to...
12839 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12840
bf74e428
GB
128412016-02-24 Gary Benson <gbenson@redhat.com>
12842
12843 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12844 message on attach.
12845
cce0e923
DE
128462016-02-23 Doug Evans <dje@google.com>
12847
12848 * gdb.base/skip.c (test_skip): New function.
12849 (end_test_skip_file_and_function): New function.
12850 (test_skip_file_and_function): New function.
12851 * gdb.base/skip1.c (test_skip): New function.
12852 (skip1_test_skip_file_and_function): New function.
12853 * gdb.base/skip.exp: Add tests for new skip options.
12854 * gdb.base/skip-solib.exp: Update expected output.
12855 * gdb.perf/skip-command.cc: New file.
12856 * gdb.perf/skip-command.exp: New file.
12857 * gdb.perf/skip-command.py: New file.
12858
4000e47e
MK
128592016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12860
12861 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12862 info registers pattern.
12863
24f75ead
IB
128642016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12865
12866 * lib/future.exp: Add D support.
12867 (gdb_find_gdc): New proc.
12868 (gdb_default_target_compile): Add D support.
12869
fbb7bcbe
WW
128702016-02-18 Wei-cheng Wang <cole945@gmail.com>
12871
12872 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12873 user+system time.
12874 (trace_speed_test): Determine the iteration count for a time
12875 between 15..30 seconds.
12876
012b3a21
WT
128772016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12878
12879 * gdb.arch/i386-mpx-sigsegv.c: New file.
12880 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12881 * gdb.arch/i386-mpx-simple_segv.c: New file.
12882 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12883
2d5189bd
YQ
128842016-02-18 Yao Qi <yao.qi@linaro.org>
12885
12886 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12887 Don't call setup_kfail.
12888
40fb20d0
YQ
128892016-02-18 Yao Qi <yao.qi@linaro.org>
12890
12891 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12892 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12893
21b1f8d2
DE
128942016-02-16 Doug Evans <dje@google.com>
12895
12896 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12897 * gdb.base/skip1.c: Ditto.
12898 * gdb.base/skip.exp: Whitespace cleanup.
12899
4041ed77
DB
129002016-02-16 Don Breazeal <donb@codesourcery.com>
12901
12902 PR remote/19496
12903 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12904 Remove kfail for PR remote/19496.
12905
c4ef31bf
SM
129062016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * lib/gdb.exp (standard_temp_file): Return a path specific to
12909 the runtest invocation.
12910
266b65b3
SM
129112016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12912
12913 * gdb.trace/save-trace.exp: Change relative path to be in the
12914 standard output directory.
12915
a7a0a6a9
JK
129162016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12917
12918 * gdb.arch/i386-prologue.c: Add missing prototypes.
12919
c99dbb42
JK
129202016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12923 * gdb.arch/i386-prologue.exp: Likewise.
12924 * gdb.arch/i386-size.exp: Likewise.
12925
aa480355
SM
129262016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12927
12928 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12929 define object file path.
12930 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12931 file path.
12932 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12933 standard_output_file to define binfile.
12934
ba881f50
JK
129352016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12936
12937 Fix compatibility with recent gfortran-5.3.1.
12938 * gdb.fortran/vla-history.exp (print vla1 allocated)
12939 (print vla2 allocated, print $2, print $3): Remove
12940 (print $4): Rename to ...
12941 (print $2): ... here.
12942 (print $9): Rename to ...
12943 (print $5): ... here.
12944 (print $10): Rename to ...
12945 (print $6): ... here.
12946 * gdb.fortran/vla.f90: Add pvla initialization.
12947
e9fb005c
JK
129482016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12949
12950 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12951 New test.
12952 * gdb.fortran/vla-value-sub.exp: Likewise.
12953
e44e00ff
MK
129542016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12955
12956 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12957
97e94151
SM
129582016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12959
12960 * i386-biarch-core.exp: Define corefile using
12961 standard_output_file.
12962
01113bc1
YQ
129632016-02-12 Yao Qi <yao.qi@linaro.org>
12964
12965 * gdb.arch/arm-single-step-kernel-helper.c: New.
12966 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12967
33b4777c
MM
129682016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12969
12970 * gdb.btrace/tailcall-only.exp: New.
12971 * gdb.btrace/tailcall-only.c: New.
12972 * gdb.btrace/x86_64-tailcall-only.S: New.
12973 * gdb.btrace/i686-tailcall-only.S: New.
12974
acc23c11
PA
129752016-02-11 Pedro Alves <palves@redhat.com>
12976
12977 * README (Parallel testing): Add missing double quotes.
12978
e352bf0a
PA
129792016-02-11 Pedro Alves <palves@redhat.com>
12980
12981 * README (Parallel testing): New section.
12982 (GDB_PARALLEL): Rewrite.
12983 (FORCE_PARALLEL): Document.
12984
9f5fed78
MK
129852016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12986
12987 * gdb.trace/tfile-avx.c: New test.
12988 * gdb.trace/tfile-avx.exp: New test.
12989
9ef9e6a6
KS
129902016-02-09 Keith Seitz <keiths@redhat.com>
12991
12992 PR breakpoints/19546
12993 * gdb.base/infcall-exec.c: New file.
12994 * gdb.base/infcall-exec2.c: New file.
12995 * gdb.base/infcall-exec.exp: New file.
12996
a96e36da
KS
129972016-02-09 Keith Seitz <keiths@redhat.com>
12998
12999 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13000 (toplevel): Call test_bkpt_address.
13001
9f61929f
KS
130022016-02-09 Keith Seitz <keiths@redhat.com>
13003
13004 PR python/19506
13005 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13006 (toplevel): Call test_bkpt_address.
13007
1e94266c
SM
130082016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13009
13010 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13011 to AC_OUTPUT.
13012 * configure: Regenerate.
13013
2a7f3dff
PA
130142016-02-09 Pedro Alves <palves@redhat.com>
13015
13016 PR breakpoints/19548
13017 * gdb.base/execl-update-breakpoints.c (some_function): New
13018 function.
13019 (main): Call it.
13020 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13021 Tighten expected GDB output.
13022
2151ccc5
SM
130232016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13024
13025 * Makefile.in (ALL_SUBDIRS): Remove.
13026 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13027 (distclean maintainer-clean realclean): Likewise.
13028 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13029 * configure: Regenerate.
13030 * gdb.ada/Makefile.in: Delete.
13031 * gdb.arch/Makefile.in: Likewise.
13032 * gdb.asm/Makefile.in: Likewise.
13033 * gdb.base/Makefile.in: Likewise.
13034 * gdb.btrace/Makefile.in: Likewise.
13035 * gdb.cell/Makefile.in: Likewise.
13036 * gdb.compile/Makefile.in: Likewise.
13037 * gdb.cp/Makefile.in: Likewise.
13038 * gdb.disasm/Makefile.in: Likewise.
13039 * gdb.dlang/Makefile.in: Likewise.
13040 * gdb.dwarf2/Makefile.in: Likewise.
13041 * gdb.fortran/Makefile.in: Likewise.
13042 * gdb.gdb/Makefile.in: Likewise.
13043 * gdb.go/Makefile.in: Likewise.
13044 * gdb.guile/Makefile.in: Likewise.
13045 * gdb.java/Makefile.in: Likewise.
13046 * gdb.linespec/Makefile.in: Likewise.
13047 * gdb.mi/Makefile.in: Likewise.
13048 * gdb.modula2/Makefile.in: Likewise.
13049 * gdb.multi/Makefile.in: Likewise.
13050 * gdb.objc/Makefile.in: Likewise.
13051 * gdb.opencl/Makefile.in: Likewise.
13052 * gdb.opt/Makefile.in: Likewise.
13053 * gdb.pascal/Makefile.in: Likewise.
13054 * gdb.perf/Makefile.in: Likewise.
13055 * gdb.python/Makefile.in: Likewise.
13056 * gdb.reverse/Makefile.in: Likewise.
13057 * gdb.server/Makefile.in: Likewise.
13058 * gdb.stabs/Makefile.in: Likewise.
13059 * gdb.threads/Makefile.in: Likewise.
13060 * gdb.trace/Makefile.in: Likewise.
13061 * gdb.xml/Makefile.in: Likewise.
13062 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13063 GDB_PARALLEL.
13064 (standard_output_file): Remove check for GDB_PARALLEL, always
13065 return path in outputs/$subdir/$testname.
13066
437277d4
SM
130672016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13068
13069 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13070 (site.exp): Assign abs_srcdir to tcl's srcdir.
13071
31d913c7
YQ
130722016-02-04 Yao Qi <yao.qi@linaro.org>
13073
13074 * gdb.base/foll-exec-mode.c: Include limits.h.
13075 (main): Add parameters argc and argv. Get directory from
13076 argv[0].
13077 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13078 compilation.
13079 * gdb.base/foll-exec.c: Include limits.h.
13080 (main): Add parameters argc and argv.
13081 Get directory from argv[0].
13082 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13083 Adjust tests on the number of lines as source code changed.
13084 * gdb.base/foll-vfork-exit.c: Include limits.h.
13085 (main): Add one line of statement before vfork.
13086 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13087 (main): Add parameters argc and argv. Get directory from
13088 argv[0].
13089 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13090 (setup_gdb): Set tbreak to skip some source lines.
13091 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13092 (main): Add parameters argc and argv. Get directory from
13093 argv[0].
13094 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13095 compilation.
13096 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13097 (main): Add parameters argc and argv. Get directory from
13098 argv[0].
13099 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13100 compilation.
13101
9482b9fb
DE
131022016-02-01 Doug Evans <dje@google.com>
13103
13104 * gdb.base/skip.exp: Clean up multiple references to same test name.
13105
6b2e4f10
PA
131062016-02-01 Pedro Alves <palves@redhat.com>
13107
ccb6afd6 13108 PR remote/19496
6b2e4f10
PA
13109 * gdb.threads/forking-threads-plus-breakpoint.exp
13110 (displaced_stepping_supported): New global.
13111 (probe_displaced_stepping_support): New procedure.
13112 (do_test): Add 'displaced' parameter, and use it.
13113 (top level): Check for displaced stepping support. Add displaced
13114 stepping on/off testing axis.
13115
37a8db1a
AB
131162016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13117
13118 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13119 pointer. Don't perform further tests on the unassociated pointer
13120 if the first test fails.
13121
5fdf6324
AB
131222016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13123
13124 * gdb.base/max-value-size.c: New file.
13125 * gdb.base/max-value-size.exp: New file.
13126 * gdb.base/huge.exp: Disable max-value-size for this test.
13127
935c6144
IB
131282016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13129
13130 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13131
7fe8399d
YQ
131322016-01-28 Yao Qi <yao.qi@linaro.org>
13133
13134 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13135
a2077e25
PA
131362016-01-25 Pedro Alves <palves@redhat.com>
13137
13138 PR threads/19461
13139 * gdb.base/fork-running-state.c: New file.
13140 * gdb.base/fork-running-state.exp: New file.
13141
1d2736d4
PA
131422016-01-25 Pedro Alves <palves@redhat.com>
13143
13144 PR gdb/19494
13145 * gdb.base/catch-fork-kill.c: New file.
13146 * gdb.base/catch-fork-kill.exp: New file.
13147
f1da4b11
PA
131482016-01-25 Pedro Alves <palves@redhat.com>
13149
13150 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13151 Delete, moved to lib/gdb.exp.
13152 * gdb.threads/forking-threads-plus-breakpoint.exp
13153 (foreach_with_prefix): Likewise.
13154 * gdb.threads/process-dies-while-handling-bp.exp
13155 (foreach_with_prefix): Likewise.
13156 * lib/gdb.exp (foreach_with_prefix): New procedure.
13157
45f38546
MK
131582016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13159
13160 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13161 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13162
dc29a1ce
MK
131632016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13164
13165 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13166 endian targets.
13167
092127d7
JK
131682016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13169 Pedro Alves <palves@redhat.com>
13170
13171 Fix testsuite compatibility with Guile.
13172 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13173 number.
13174
31d765d3
JK
131752016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 Fix testsuite compatibility with Guile.
13178 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13179 (thread 1): New test for backtrace through signal handler.
13180
1ac78c04
YQ
131812016-01-22 Yao Qi <yao.qi@linaro.org>
13182
13183 PR testsuite/19491
13184 * gdb.base/multi-forks.c: Include
13185 ../lib/unbuffer_output.c
13186 (main): Call gdb_unbuffer_output.
13187
4f5946a8
DE
131882016-01-21 Doug Evans <dje@google.com>
13189
13190 * lib/ada.exp (gdb_compile_ada): Fix typo.
13191
305e13e6
JB
131922016-01-21 Joel Brobecker <brobecker@adacore.com>
13193
13194 * gdb.base/break-fun-addr.exp: New file.
13195 * gdb.base/break-fun-addr1.c: New file.
13196 * gdb.base/break-fun-addr2.c: New file.
13197
5f5dfff6
SM
131982016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13199
13200 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13201 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13202 enum flag values.
13203
fd356fa2
AA
132042016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13205
13206 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13207 when GDB can not set the vector return value. Add more comments
13208 for clarification.
13209
9df22175
AT
132102016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13211
13212 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13213 command.
13214
41d1845e
SM
132152016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13216
13217 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13218
01ac6840
SM
132192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13220
13221 * Makefile.in (check-single): Pass --status to runtest.
13222 (check/%.exp): Likewise.
13223
132242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13225
13226 * Makefile.in (check-parallel): Propagate return code from make
13227 do-check-parallel.
13228
bd0a71fa
MK
132292016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13230
13231 * gdb.trace/ftrace.exp: Fix expected message on continue.
13232 * gdb.trace/pending.exp: Fix expected message on continue.
13233 * gdb.trace/trace-break.exp: Fix expected message on continue.
13234
8bcbad33
SM
132352016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13236
13237 * lib/gdb.exp (gdb_test): Remove unused global references.
13238
f303dbd6
PA
132392016-01-18 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.base/async-shell.exp: Adjust expected output.
13242 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13243 * gdb.base/siginfo-thread.exp: Adjust expected output.
13244 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13245 * gdb.java/jnpe.exp: Adjust expected output.
13246 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13247 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13248 * gdb.threads/leader-exit.exp: Adjust expected output.
13249 * gdb.threads/manythreads.exp: Adjust expected output.
13250 * gdb.threads/pthreads.exp: Adjust expected output.
13251 * gdb.threads/schedlock.exp: Adjust expected output.
13252 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13253 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13254 expected output.
13255 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13256 output.
13257 * gdb.threads/sigthread.exp: Adjust expected output.
13258 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13259
b2789696
YQ
132602016-01-18 Yao Qi <yao.qi@linaro.org>
13261
13262 * gdb.guile/scm-section-script.c: Replace @progbits with
13263 %progbits.
13264 * gdb.python/py-section-script.c: Likewise.
13265
71ef29a8
PA
132662016-01-15 Pedro Alves <palves@redhat.com>
13267
13268 * gdb.multi/tids.exp: Test star wildcard ranges.
13269
3f5b7598
PA
132702016-01-15 Pedro Alves <palves@redhat.com>
13271
13272 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13273 command from "thread apply" invocation.
13274 (thr_apply_info_thr_invalid): Default the expected output to the
13275 input tid list.
13276 (top level): Add tests that use convenience variables. Add tests
13277 for "thread apply" with a valid TID list, but missing the command.
13278
663f6d42
PA
132792016-01-13 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.base/default.exp: Expect $_gthread as well.
13282 * gdb.multi/tids.exp: Test $_gthread.
13283 * gdb.threads/thread-specific.exp: Test $_gthread.
13284
c84f6bbf
PA
132852016-01-13 Pedro Alves <palves@redhat.com>
13286
13287 * gdb.multi/tids.exp: Test "info threads -gid".
13288
22a02324
PA
132892016-01-13 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13292 Breakpoint.thread.
13293 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13294
5d5658a1
PA
132952016-01-07 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.base/break.exp: Adjust to output changes.
13298 * gdb.base/hbreak2.exp: Likewise.
13299 * gdb.base/sepdebug.exp: Likewise.
13300 * gdb.base/watch_thread_num.exp: Likewise.
13301 * gdb.linespec/keywords.exp: Likewise.
13302 * gdb.multi/info-threads.exp: Likewise.
13303 * gdb.threads/thread-find.exp: Likewise.
13304 * gdb.multi/tids.c: New file.
13305 * gdb.multi/tids.exp: New file.
13306
84654457
PA
133072016-01-13 Pedro Alves <palves@redhat.com>
13308
13309 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13310
e3940304
PA
133112016-01-13 Pedro Alves <palves@redhat.com>
13312
13313 * gdb.base/default.exp: Expect $_inferior as well.
13314 * gdb.multi/base.exp: Test $_inferior.
13315
a911d87a
PA
133162016-01-13 Pedro Alves <palves@redhat.com>
13317
13318 PR breakpoints/19388
13319 * gdb.base/catch-signal-siginfo-cond.c: New file.
13320 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13321
82075af2
JS
133222016-01-12 Josh Stone <jistone@redhat.com>
13323 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13324
13325 * gdb.base/catch-syscall.c (do_execve): New variable.
13326 (main): Conditionally trigger an execve.
13327 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13328 (test_catch_syscall_execve): New, check entry/return across execve.
13329 (do_syscall_tests): Call test_catch_syscall_execve.
13330
e46eeedd
PA
133312016-01-12 Pedro Alves <palves@redhat.com>
13332
13333 * gdb.base/random-signal.exp (do_test): New procedure, with body
13334 of testcase moved in.
13335
01d8c27e
JK
133362016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13337 Pedro Alves <palves@redhat.com>
13338
13339 * gdb.base/funcargs.exp (finish from indirectly called function):
13340 Reintroduce the case for 'First'.
13341
9a706302
JK
133422016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13343 Pedro Alves <palves@redhat.com>
13344
13345 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13346 (tcatch_vfork_then_child_follow_exec)
13347 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13348 identification.
13349
c0ecb95f
JK
133502016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13351
13352 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13353 and repeats to unlimited.
13354 * gdb.python/py-value.exp: Likewise.
13355 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13356 and repeats to unlimited.
13357
6cfc1fcb
JK
133582016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13359
13360 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13361 and reordering the functions.
13362 * gdb.multi/hangout.c: Likewise.
13363 * gdb.multi/hello.c: Likewise.
13364
582a1b00
SM
133652016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13366
13367 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13368 absolute.
13369 (SingleStatisticTestResult.report): Use dict.keys instead of
13370 dict.iterkeys.
13371
79bc59cb
PA
133722016-01-06 Pedro Alves <palves@redhat.com>
13373
13374 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13375
43368e1d
MM
133762016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13377
13378 * gdb.btrace/dlopen.exp: New.
13379 * gdb.btrace/dlopen.c: New.
13380 * gdb.btrace/dlopen-dso.c: New.
13381
79fad5b8
SL
133822015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13383
13384 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13385 PATTERN argument is optional.
13386
ab8314b3
JB
133872015-12-24 Joel Brobecker <brobecker@adacore.com>
13388
13389 * lib/ada.exp (target_compile_ada_from_dir): New function.
13390 (gdb_compile_ada): Reimplement avoiding the use of project files.
13391 * gdb.ada/gnat_ada.gpr: Delete.
13392 * gdb.ada/cond_lang.exp: Adjust test to make path before
13393 filename optional.
13394 * gdb.ada/small_reg_param.exp: Likewise.
13395
fe33faff
SM
133962015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13397
13398 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13399
6d265cb4
TP
134002015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13401
13402 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13403 case.
13404
10125099
SM
134052015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13406
13407 * gdb.base/break.exp: Remove dead code.
13408 * gdb.base/sepdebug.exp: Likewise.
13409
3ca22649
SM
134102015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13411
13412 * gdb.asm/asm-source.exp: Remove HP-UX references.
13413 * gdb.base/annota1.exp: Likewise.
13414 * gdb.base/annota3.exp: Likewise.
13415 * gdb.base/attach.exp: Likewise.
13416 * gdb.base/bigcore.exp: Likewise.
13417 * gdb.base/break.exp: Likewise.
13418 * gdb.base/call-ar-st.exp: Likewise.
13419 * gdb.base/callfuncs.exp: Likewise.
13420 * gdb.base/catch-fork-static.exp: Likewise.
13421 * gdb.base/display.exp: Likewise.
13422 * gdb.base/foll-exec-mode.exp: Likewise.
13423 * gdb.base/foll-exec.exp: Likewise.
13424 * gdb.base/foll-fork.exp: Likewise.
13425 * gdb.base/foll-vfork.exp: Likewise.
13426 * gdb.base/funcargs.exp: Likewise.
13427 * gdb.base/hbreak2.exp: Likewise.
13428 * gdb.base/inferior-died.exp: Likewise.
13429 * gdb.base/interrupt.exp: Likewise.
13430 * gdb.base/multi-forks.exp: Likewise.
13431 * gdb.base/nodebug.exp: Likewise.
13432 * gdb.base/sepdebug.exp: Likewise.
13433 * gdb.base/solib1.c: Likewise.
13434 * gdb.base/step-test.exp: Likewise.
13435 * gdb.mi/non-stop.c: Likewise.
13436 * gdb.mi/pthreads.c: Likewise.
13437 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13438 * gdb.threads/pthreads.c: Likewise.
13439 * gdb.threads/staticthreads.exp: Likewise.
13440 * lib/future.exp: Likewise.
13441 * lib/gdb.exp: Likewise.
13442 * gdb.base/so-indr-cl.c: Remove.
13443 * gdb.base/so-indr-cl.exp: Likewise.
13444 * gdb.base/solib.c: Likewise.
13445 * gdb.base/solib.exp: Likewise.
13446 * gdb.base/solib2.c: Likewise.
13447
b6304613
SM
134482015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13449
13450 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13451 * gdb.base/call-ar-st.exp: Likewise.
13452 * gdb.base/callfuncs.exp: Likewise.
13453 * gdb.base/condbreak.exp: Likewise.
13454 * gdb.base/constvars.exp: Likewise.
13455 * gdb.base/hbreak2.exp: Likewise.
13456 * gdb.base/langs.exp: Likewise.
13457 * gdb.base/list.exp: Likewise.
13458 * gdb.base/long_long.exp: Likewise.
13459 * gdb.base/ptype.exp: Likewise.
13460 * gdb.base/scope.exp: Likewise.
13461 * gdb.base/signals.exp: Likewise.
13462 * gdb.base/so-impl-ld.exp: Likewise.
13463 * gdb.base/varargs.exp: Likewise.
13464 * gdb.base/volatile.exp: Likewise.
13465 * gdb.base/whatis.exp: Likewise.
13466 * gdb.cp/cplusfuncs.exp: Likewise.
13467 * gdb.cp/inherit.exp: Likewise.
13468 * gdb.cp/local.exp: Likewise.
13469 * gdb.cp/member-ptr.exp: Likewise.
13470 * gdb.cp/method.exp: Likewise.
13471 * gdb.cp/overload.exp: Likewise.
13472 * gdb.cp/templates.exp: Likewise.
13473 * gdb.stabs/weird.exp: Likewise.
13474 * lib/compiler.c: Likewise.
13475 * lib/compiler.cc: Likewise.
13476 * lib/cp-support.exp: Likewise.
13477 * lib/gdb.exp: Likewise.
13478
bf401b07
SM
134792015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13480
13481 * configure.ac: Remove HP-UX case.
13482 * configure: Regenerate.
13483
aff9c0f8
SM
134842015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13485
13486 * lib/gdb.exp (gdb_compile): Add function doc.
13487
a6904d5a
PA
134882015-12-17 Pedro Alves <palves@redhat.com>
13489
13490 PR threads/19354
13491 * gdb.multi/info-threads.exp: New file.
13492
a22279dd
YQ
134932015-12-15 Yao Qi <yao.qi@linaro.org>
13494
13495 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13496 is aarch64*-*-*.
13497
0588c796
SL
134982015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13499
13500 * gdb.base/history-duplicates.exp: Skip if no readline support.
13501
5d978e17
SL
135022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13503
13504 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13505
7e763b86
SL
135062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13507
13508 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13509
87a3a92c
SL
135102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13511
13512 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13513 ctrl-C if nointerrupts target property is set.
13514 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13515 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13516 * gdb.base/paginate-bg-execution.exp: Likewise.
13517 * gdb.base/paginate-execution-startup.exp: Likewise.
13518 * gdb.base/random-signal.exp: Likewise.
13519 * gdb.base/range-stepping.exp: Likewise.
13520 * gdb.cp/annota2.exp: Likewise.
13521 * gdb.cp/annota3.exp: Likewise.
13522 * gdb.gdb/selftest.exp: Likewise.
13523 * gdb.threads/continue-pending-status.exp: Likewise.
13524 * gdb.threads/leader-exit.exp: Likewise.
13525 * gdb.threads/manythreads.exp: Likewise.
13526 * gdb.threads/pthreads.exp: Likewise.
13527 * gdb.threads/schedlock.exp: Likewise.
13528 * gdb.threads/sigthread.exp: Likewise.
13529
a8f077dc
DB
135302015-12-11 Don Breazeal <donb@codesourcery.com>
13531
13532 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13533 remote.
13534 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13535 * gdb.base/foll-exec.exp (main): Enable for target remote.
13536 * gdb.base/foll-fork.exp (main): Likewise.
13537 * gdb.base/foll-vfork.exp (main): Likewise.
13538 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13539 (proc continue_to_exit_bp_loc): Use clean_restart.
13540 * gdb.base/pie-execl.exp (main): Disable for target remote.
13541 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13542 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13543 * gdb.threads/execl.exp (main): Likewise.
13544 * gdb.threads/fork-child-threads.exp (main): Likewise.
13545 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13546 remote.
13547 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13548 remote.
13549 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13550 pid.tid style ptids, instead of just tid.
13551 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13552 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13553 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13554 ptids, instead of just tid.
13555
3b2464a8
AB
135562015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13557
13558 * gdb.base/list.exp (test_list_forward): Add end of file error
13559 test.
13560 (test_repeat_list_command): Add end of file error test.
13561 (test_list_backwards): Add beginning of file error test.
13562
a0def019
AB
135632015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13564
13565 * gdb.base/list.exp (test_list_invalid_args): New function,
13566 defined, and called.
13567
5c000dff
AB
135682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13569
13570 * gdb.base/list.exp (test_list): Make test names unique.
13571
f1637ebe
YQ
135722015-12-11 Yao Qi <yao.qi@linaro.org>
13573
13574 * gdb.base/coremaker2.c: Remove.
13575
36d6fc0a
PA
135762015-12-10 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.multi/base.exp: Remove stale "spaces" references.
13579
762f7747
PA
135802015-12-10 Pedro Alves <palves@redhat.com>
13581
13582 * gdb.multi/base.exp: Don't use nowarnings.
13583 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13584 * gdb.multi/hangout.c: Include stdio.h.
13585 * gdb.multi/hello.c: Include stdlib.h.
13586 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13587 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13588 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13589
28d2bfb9
AB
135902015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13591
13592 * gdb.dwarf2/dw2-ranges-base.c: New file.
13593 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13594 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13595 support additional line table, and debug ranges generation.
13596 (Dwarf::ranges): New function, generate .debug_ranges.
13597 (Dwarf::lines): Support generating simple line table programs.
13598 (Dwarf::assemble): Initialise new namespace variables.
13599
5fc2beac
KB
136002015-12-09 Kevin Buettner <kevinb@redhat.com>
13601
13602 * gdb.base/async.exp (proc test_background): Add case for
13603 asynchronous execution not supported.
13604
1c35a88f
LM
136052015-12-09 Luis Machado <lgustavo@codesourcery.com>
13606
13607 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13608 format and change test names to make them unique.
13609
b593e3d9
RK
136102015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13611 Pedro Alves <pedro@redhat.com>
13612
13613 PR gdb/18702
13614 Add checking of floatformats setup on x86_64 hosts.
13615 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13616 (smallval, bigval): New labels/constants.
13617 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13618 float" after loading bigval and smallval.
13619
d72413e6
PMR
136202015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13621
13622 * gdb.ada/fun_overload_menu.exp: New testcase.
13623 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13624
ece66d65
JS
136252015-12-04 Josh Stone <jistone@redhat.com>
13626
13627 * gdb.base/catch-fork-static.exp: New.
13628
41d0efca
YQ
136292015-12-03 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.base/sizeof.c: Don't include stdio.h and
13632 ../lib/unbuffer_output.c.
13633 (main): New variable 'size' and 'value'. Remove printf and
13634 gdb_unbuffer_output. Assign return value to size and value.
13635 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13636 at the beginning.
13637 (check_sizeof): Check the result by printing variable 'size'.
13638 (check_valueof): Check the result by printing variable 'value'.
13639
99fd02d9
YQ
136402015-12-01 Yao Qi <yao.qi@linaro.org>
13641
13642 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13643 for aarch64*-*-linux* target.
13644
f2faf941
PA
136452015-11-30 Pedro Alves <palves@redhat.com>
13646
13647 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13648
04bf20c5
PA
136492015-11-30 Pedro Alves <palves@redhat.com>
13650
13651 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13652 Handle non-stop mode vCont replies.
13653
09df4675
PA
136542015-11-30 Pedro Alves <palves@redhat.com>
13655
13656 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13657 prepare_for_testing. Start gdb with "set non-stop on" appended to
13658 GDBFLAGS. Lax expected stop output.
13659
58b584af
YQ
136602015-11-27 Yao Qi <yao.qi@linaro.org>
13661
13662 * gdb.arch/arm-neon.exp: New.
13663 * gdb.arch/arm-neon.c: New.
13664
dfcb77a8
YQ
136652015-11-27 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13668
88e8ec1b
YQ
136692015-11-27 Yao Qi <yao.qi@linaro.org>
13670
13671 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13672 frames-invalid annotation.
13673
bfde72c2
YQ
136742015-11-27 Yao Qi <yao.qi@linaro.org>
13675
13676 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13677
f6512a69
SM
136782015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13679
13680 * gdb.threads/names.exp: New file.
13681 * gdb.threads/names.c: New file.
13682 * README: Mention gdb,no_thread_names.
13683
46a3515b
MM
136842015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13685
13686 PR 19297
13687 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13688 support" error.
13689
62147a22
PA
136902015-11-24 Pedro Alves <palves@redhat.com>
13691
13692 PR 17539
13693 * gdb.base/display.exp: Expect displays to be sorted in ascending
13694 order. Use multi_line.
13695 * gdb.base/solib-display.exp: Likewise.
13696
2f341b6e
PA
136972015-11-24 Pedro Alves <palves@redhat.com>
13698
13699 PR 17539
25d49b86
PA
13700 * gdb.base/display.exp: Expect displays to be sorted in ascending
13701 order. Use multi_line.
13702 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13703
7e0aa6aa
PA
137042015-11-24 Pedro Alves <palves@redhat.com>
13705
13706 PR 17539
13707 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13708 threads in ascending order.
13709 * gdb.base/foll-fork.exp: Likewise.
13710 * gdb.base/foll-vfork.exp: Likewise.
13711 * gdb.base/multi-forks.exp: Likewise.
13712 * gdb.mi/mi-nonstop.exp: Likewise.
13713 * gdb.mi/mi-nsintrall.exp: Likewise.
13714 * gdb.multi/base.exp: Likewise.
13715 * gdb.multi/multi-arch.exp: Likewise.
13716 * gdb.python/py-inferior.exp: Likewise.
13717 * gdb.threads/break-while-running.exp: Likewise.
13718 * gdb.threads/execl.exp: Likewise.
13719 * gdb.threads/gcore-thread.exp: Likewise.
13720 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13721 * gdb.threads/kill.exp: Likewise.
13722 * gdb.threads/linux-dp.exp: Likewise.
13723 * gdb.threads/multiple-step-overs.exp: Likewise.
13724 * gdb.threads/next-bp-other-thread.exp: Likewise.
13725 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13726 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13727 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13728 * gdb.threads/thread-find.exp: Likewise.
13729 * gdb.threads/tls.exp: Likewise.
13730 * lib/mi-support.exp (mi_reverse_list): Delete.
13731 (mi_check_thread_states): No longer reverse list.
13732
2cc57ad8
PA
137332015-11-24 Pedro Alves <palves@redhat.com>
13734
13735 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13736 use lowercase.
13737
c93e8391
SM
137382015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13739
13740 * gdb.trace/actions.c: Include trace-common.h.
13741 (main): Add a location for a fast tracepoint.
13742 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13743 the normal tracepoints.
13744 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13745
045ccf91
SM
137462015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13747
13748 * save-trace.exp: Factor out code to these...
13749 (gdb_save_tracepoints): New.
13750 (gdb_load_tracepoints): New.
13751 (do_save_load_test): New.
13752
5506f9f6
KB
137532015-11-23 Kevin Buettner <kevinb@redhat.com>
13754
13755 * gdb.base/asmlabel.exp: New test.
13756 * gdb.base/asmlabel.c: New test case.
13757
16c3b12f
JB
137582015-11-23 Joel Brobecker <brobecker@adacore.com>
13759
13760 * gdb.base/wrong_frame_bt_full-main.c: New file.
13761 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13762 * gdb.base/wrong_frame_bt_full.exp: New file.
13763
155bfbd3
JB
137642015-11-23 Joel Brobecker <brobecker@adacore.com>
13765
13766 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13767
bb097445
JM
137682015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13769
206853a0 13770 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13771 pstate register when comparing registers values in
13772 sparc64-*-linux-gnu targets to avoid spurious differences.
13773
9c88ed8f
JM
137742015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13775
206853a0 13776 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13777
96161e25
SL
137782015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13779
13780 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13781 as type argument to gdb_compile.
13782 * gdb.base/nested-subp2.exp: Likewise.
13783 * gdb.base/nested-subp3.exp: Likewise.
13784
340c2830
DV
137852015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13786
13787 * lib/dwarf.exp (_note): Fix left shift of negative value.
13788 * gdb.trace/trace-condition.exp: Likewise.
13789
c1862d0f
YQ
137902015-11-13 Yao Qi <yao.qi@linaro.org>
13791
13792 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13793 comments about d10v.
13794 (test_scalar_returns): Likewise.
13795 * gdb.base/d10v.ld: Remove.
13796 * gdb.base/overlays.exp: Remove the target triplet checking for
13797 d10v-*-*.
13798 * gdb.base/structs.exp (test_struct_returns): Remove the
13799 comments about d10v.
13800 (test_struct_calls): Likewise.
13801
77ae9c19
YQ
138022015-11-13 Yao Qi <yao.qi@linaro.org>
13803
13804 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13805 * gdb.base/gnu_vector.c: Don't include stdio.h.
13806 (main): Don't print res and call add_some_intvecs.
13807
430e004e
MK
138082015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13809
13810 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13811 macro.
13812 (func5): Removed.
13813 (func4): Use FAST_TRACEPOINT_LABEL.
13814 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13815 macro.
13816 (func): Removed.
13817 (thread_function): Use FAST_TRACEPOINT_LABEL.
13818 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13819 (func): Remove.
13820 (marker): Use FAST_TRACEPOINT_LABEL.
13821 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13822 (pendfunc1): Remove.
13823 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13824 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13825 (foo): Remove.
13826 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13827 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13828 macro.
13829 (func): Remove.
13830 (marker): Use FAST_TRACEPOINT_LABEL.
13831 * gdb.trace/trace-common.h: New header.
13832 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13833 macro.
13834 (func): Remove.
13835 (marker): Use FAST_TRACEPOINT_LABEL.
13836 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13837 (func): Remove.
13838 (thread_function): Use FAST_TRACEPOINT_LABEL.
13839
6e7675a7
MK
138402015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13841
13842 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13843 in front.
13844 * gdb.trace/change-loc.exp: Use global pcreg definition.
13845 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13846 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13847 in front.
13848 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13849 * gdb.trace/pending.exp: Likewise.
13850 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13851 * gdb.trace/trace-break.exp: Likewise.
13852 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13853 in front.
13854 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13855 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13856 in front.
13857 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13858
dddc0e16
JB
138592015-11-09 Joel Brobecker <brobecker@adacore.com>
13860
13861 * gdb.ada/fin_fun_out: New testcase.
13862
c6f0b406
KB
138632015-11-07 Kevin Buettner <kevinb@redhat.com>
13864
13865 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13866 value associated with DW_AT_byte_size.
13867 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13868 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13869 DW_AT_upper_bound.
13870
f01dcfd9
KB
138712015-11-07 Kevin Buettner <kevinb@redhat.com>
13872
13873 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13874 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13875 version.
13876 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13877 gdb.dwarf2/dw2-canonicalize-type.exp,
13878 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13879 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13880 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13881 provided by gdb_target_symbol_prefix_flags_asm.
13882 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13883 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13884 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13885 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13886 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13887 macros where needed). Use this macro for symbols which require
13888 the prefix provided by SYMBOL_PREFIX.
13889
2223449a
KB
138902015-11-05 Kevin Buettner <kevinb@redhat.com>
13891
13892 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13893 New procs.
13894 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13895 representing expressions, of more than one list element.
13896 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13897 to prepend linker symbol prefix to f.
13898 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13899 table_1 and table_2.
13900 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13901 Likewise, for f and g.
13902 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13903 for ptr.
13904 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13905 for main.
13906 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13907 table_1_ptr and table_2_ptr.
13908
6f2f1a3a
JK
139092015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13910 Joel Brobecker <brobecker@adacore.com>
13911
13912 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13913
566c56c9
MK
139142015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13915
13916 * gdb.reverse/s390-mvcle.c: New test.
13917 * gdb.reverse/s390-mvcle.exp: New file.
13918 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13919
d5f0636b
MK
139202015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13921
13922 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13923
7ad8b86c
MK
139242015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13925
13926 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13927 reaching marker2.
13928 * gdb.reverse/getresuid-reverse.exp: Likewise.
13929 * gdb.reverse/pipe-reverse.exp: Likewise.
13930 * gdb.reverse/readv-reverse.exp: Likewise.
13931 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13932 * gdb.reverse/time-reverse.exp: Likewise.
13933 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13934
4081c0f1
YQ
139352015-10-30 Yao Qi <yao.qi@linaro.org>
13936
13937 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13938 (empty_cycle): Remove.
13939 (main): Don't call empty_cycle. Don't use watch_count_done.
13940 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13941 empty_cycle. Rewrite the code counting HW watchpoints.
13942
452b4ba5
MK
139432015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13944
13945 * gdb.reverse/fstatat-reverse.c: New test.
13946 * gdb.reverse/fstatat-reverse.exp: New file.
13947 * gdb.reverse/getresuid-reverse.c: New test.
13948 * gdb.reverse/getresuid-reverse.exp: New file.
13949 * gdb.reverse/pipe-reverse.c: New test.
13950 * gdb.reverse/pipe-reverse.exp: New file.
13951 * gdb.reverse/readv-reverse.c: New test.
13952 * gdb.reverse/readv-reverse.exp: New file.
13953 * gdb.reverse/recvmsg-reverse.c: New test.
13954 * gdb.reverse/recvmsg-reverse.exp: New file.
13955 * gdb.reverse/time-reverse.c: New test.
13956 * gdb.reverse/time-reverse.exp: New file.
13957 * gdb.reverse/waitpid-reverse.c: New test.
13958 * gdb.reverse/waitpid-reverse.exp: New file.
13959
5e2e7507
JK
139602015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13961
13962 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13963
0fde2c53
DE
139642015-10-26 Doug Evans <dje@google.com>
13965
13966 PR symtab/17391
13967 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13968 * gdb.dwarf2/bad-regnum.c: New file.
13969 * gdb.dwarf2/bad-regnum.exp: New file.
13970
1a70ae97
DE
139712015-10-26 Doug Evans <dje@google.com>
13972
13973 PR python/18938
13974 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13975 file.
13976
27dc26ab
JK
139772015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13980 for a change by "Mention language in compile error message".
13981
bed91f4d
SM
139822015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13983
13984 PR python/18073
13985 * gdb.python/py-type.c (C::a_method): New.
13986 (C::a_const_method): New.
13987 (C::a_static_method): New.
13988 (a_function): New.
13989 * gdb.python/py-type.exp (test_fields): Test getting fields
13990 from function and method.
13991
3f2f83dd
KB
139922015-10-21 Keven Boell <keven.boell@intel.com>
13993
13994 * gdb.fortran/vla-alloc-assoc.exp: New file.
13995 * gdb.fortran/vla-datatypes.exp: New file.
13996 * gdb.fortran/vla-datatypes.f90: New file.
13997 * gdb.fortran/vla-history.exp: New file.
13998 * gdb.fortran/vla-ptype-sub.exp: New file.
13999 * gdb.fortran/vla-ptype.exp: New file.
14000 * gdb.fortran/vla-sizeof.exp: New file.
14001 * gdb.fortran/vla-sub.f90: New file.
14002 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14003 * gdb.fortran/vla-value-sub-finish.exp: New file.
14004 * gdb.fortran/vla-value-sub.exp: New file.
14005 * gdb.fortran/vla-value.exp: New file.
14006 * gdb.fortran/vla-ptr-info.exp: New file.
14007 * gdb.mi/mi-vla-fortran.exp: New file.
14008 * gdb.mi/vla.f90: New file.
14009
27145d50
SL
140102015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14011
14012 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14013 of hardwired timeout value.
14014
5f3ff4f8
JK
140152015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14016 Pedro Alves <palves@redhat.com>
14017
14018 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14019 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14020
bfd09d20
JS
140212015-10-19 Josh Stone <jistone@redhat.com>
14022
14023 * gdb.base/catch-syscall.c: Include <sched.h>.
14024 (unknown_syscall): New variable.
14025 (main): Trigger a vfork and an unknown syscall.
14026 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14027 (unknown_syscall_number): Likewise.
14028 (check_call_to_syscall): Accept an optional syscall pattern.
14029 (check_return_from_syscall): Likewise.
14030 (check_continue): Likewise.
14031 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14032 (test_catch_syscall_skipping_return): New test toggling off 'catch
14033 syscall' to step over the syscall return, then toggling back on.
14034 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14035 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14036 (do_syscall_tests): Call test_catch_syscall_without_args and
14037 test_catch_syscall_mid_vfork.
14038 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14039 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14040
b32b93c6
AS
140412015-10-19 Andrew Stubbs <ams@codesourcery.com>
14042
14043 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14044 print g_vE): Add new pass patterns.
14045 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14046 print various symbol names for vptr fields.
14047
9d622bda
AB
140482015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14049
14050 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14051 results.
14052
0fd8ac1c
YQ
140532015-10-12 Yao Qi <yao.qi@linaro.org>
14054
14055 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14056
34240514
YQ
140572015-10-12 Yao Qi <yao.qi@linaro.org>
14058
14059 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14060 is aarch64*-*-linux*.
14061
8240f442
YQ
140622015-10-12 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14065 (can_relocate_bcond_true): ... it.
14066 (can_relocate_bcond_false): New function.
14067 (foo): Likewise.
14068 (can_relocate_bl): Likewise.
14069 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14070 can_relocate_bl.
14071
2520f728
PMR
140722015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14073
14074 * gdb.base/nested-addr.c: New file.
14075 * gdb.base/nested-addr.exp: New testcase.
14076
abcef95a
MM
140772015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14078
14079 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14080 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14081 its output. Ignore the output of "record goto begin" and instead
14082 check that GDB is replaying.
14083
145e3ddb
PA
140842015-10-09 Pedro Alves <palves@redhat.com>
14085
14086 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14087 (top level): Use it in the run with no args test.
14088
d5d8c4e1
IB
140892015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14090
14091 * gdb.dlang/properties.exp: New file.
14092
06e635ef
SL
140932015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14094
14095 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14096 whether or not address 0x1000 is mapped on the target.
14097
e019fd1d
SM
140982015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14099
14100 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14101 build.
14102
77ba2a67
MM
141032015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14104
14105 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14106 instruction-history test.
14107
c60eb31f
DE
141082015-09-28 Doug Evans <dje@google.com>
14109
14110 * gdb.base/gcore.c (array_func): Add reference to static_array.
14111
9a3c8263
SM
141122015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14113
14114 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14115 source line.
14116
9720e656
SL
141172015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14118
14119 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14120 short or char as base type.
14121
938d3bf2
SL
141222015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14123
14124 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14125 to allow any size enum.
14126
e6c2c623
PMR
141272015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14128
14129 * gdb.ada/array_ptr_renaming.exp: New testcase.
14130 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14131 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14132
06da0f77
PL
141332015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14134
14135 * gdb.trace/ftrace-lock.c: New file.
14136 * gdb.trace/ftrace-lock.exp: New file.
14137
4f51c22a
PL
141382015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14139
14140 * gdb.arch/insn-reloc.c: New file.
14141 * gdb.arch/ftrace-insn-reloc.exp: New file.
14142
7041adf4
PL
141432015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14144
14145 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14146 instruction.
14147 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14148 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14149 * gdb.trace/range-stepping.c: Likewise.
14150 * gdb.trace/trace-break.c: Likewise.
14151 * gdb.trace/trace-mt.c (thread_function): Likewise.
14152 * gdb.trace/ftrace.c (marker): Likewise.
14153 * gdb.trace/trace-condition.c (marker): Likewise.
14154 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14155 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14156 is_aarch64_target.
14157
015d2e7e
DE
141582015-09-18 Doug Evans <xdje42@gmail.com>
14159
14160 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14161 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14162
26b188a2
SL
141632015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14164
14165 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14166 the breakpoint.
14167
79dc332b
SL
141682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14169
14170 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14171 the pending breakpoint. Remove timeout override for "Run till
14172 MI pending breakpoint on pendfunc3 on thread 2" test.
14173
f57929f2
SL
141742015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14175
14176 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14177 filename pattern.
14178
3f469b17
SL
141792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14180
14181 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14182 in breakpoint filename pattern.
14183
515b89b3
SL
141842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14185
7800dbe4
SL
14186 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14187
141882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14189
515b89b3
SL
14190 * gdb.linespec/explicit.exp: Check for readline support for
14191 tab-completion tests. Fix obvious typo.
14192
d2939ba2
MM
141932015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14194
14195 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14196 and replay.
14197
cbb55fa7
MM
141982015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14199
14200 * gdb.btrace/non-stop.c: New.
14201 * gdb.btrace/non-stop.exp: New.
14202
43691ca1
PL
142032015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14204 Yao Qi <yao.qi@linaro.org>
14205
14206 * gdb.trace/trace-condition.c: New file.
14207 * gdb.trace/trace-condition.exp: New file.
14208
d78908cf
WW
142092015-09-16 Wei-cheng Wang <cole945@gmail.com>
14210
14211 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14212 for testing bytecode compilation.
14213
1ed415e2
PA
142142015-09-16 Pedro Alves <palves@redhat.com>
14215 Sandra Loosemore <sandra@codesourcery.com>
14216
14217 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14218 (SECONDS): Redefine.
14219 (main): Call pthread_kill and alarm early.
14220 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14221 support.
14222 (test): If the target can't hardware step and doesn't support
14223 displaced stepping, increase the timeout.
14224
d136eff5
PA
142252015-09-16 Pedro Alves <palves@redhat.com>
14226
14227 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14228 (enable_debug): New procedures.
14229 (test): Use them. Bail out if waiting for threads fails.
14230 (top level): Bail out if a test fails.
14231
991f019c
YQ
142322015-09-16 Yao Qi <yao.qi@linaro.org>
14233
14234 * gdb.asm/asm-source.exp: Set asm-arch for
14235 aarch64*-*-* target.
14236 * gdb.asm/aarch64.inc: New file.
14237
bfca584f
PMR
142382015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14239
14240 * gdb.ada/array_of_variable_length.exp: New testcase.
14241 * gdb.ada/array_of_variable_length/foo.adb: New file.
14242 * gdb.ada/array_of_variable_length/pck.adb: New file.
14243 * gdb.ada/array_of_variable_length/pck.ads: New file.
14244
b326e587
DE
142452015-09-15 Doug Evans <dje@google.com>
14246
14247 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14248 of function static local variable.
14249
5382cfab
PW
142502015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14251
14252 * gdb.threads/tls-so_extern.exp: New test file.
14253 * gdb.threads/tls-so_extern.c: New test file.
14254 * gdb.threads/tls-so_extern_main.c: New test file.
14255
141c5cc4
JK
142562015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14257
14258 * gdb.opt/solib-intra-step-lib.c: New file.
14259 * gdb.opt/solib-intra-step-main.c: New file.
14260 * gdb.opt/solib-intra-step.exp: New file.
14261
d15dcecd
PA
142622015-09-15 Pedro Alves <palves@redhat.com>
14263
14264 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14265 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14266
4c2f2a79
PA
142672015-09-14 Pedro Alves <palves@redhat.com>
14268
14269 * gdb.base/hook-stop-continue.c: Delete.
14270 * gdb.base/hook-stop-continue.exp: Delete.
14271 * gdb.base/hook-stop-frame.c: Delete.
14272 * gdb.base/hook-stop-frame.exp: Delete.
14273 * gdb.base/hook-stop.c: New file.
14274 * gdb.base/hook-stop.exp: New file.
14275
919e6dbe
PMR
142762015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14277
14278 * gdb.ada/access_to_packed_array.exp: New testcase.
14279 * gdb.ada/access_to_packed_array/foo.adb: New file.
14280 * gdb.ada/access_to_packed_array/pack.adb: New file.
14281 * gdb.ada/access_to_packed_array/pack.ads: New file.
14282
157280a4
MM
142832015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14284
14285 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14286 buffer size test.
14287
2fd33e94
DB
142882015-09-11 Don Breazeal <donb@codesourcery.com>
14289
14290 * gdb.base/foll-exec.c: Add copyright header. Fix
14291 formatting issues.
14292 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14293 (do_exec_tests): Use clean_restart in place of zap_session,
14294 and for test initialization. Fix formatting issues. Use
14295 fail in place of perror.
14296 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14297 an expect statement to match an expression with output from
14298 the program under debug.
14299 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14300 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14301 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14302 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14303 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14304
e70b6e8e
DE
143052015-09-09 Doug Evans <dje@google.com>
14306
14307 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14308
7a551a51
DE
143092015-09-09 Doug Evans <dje@google.com>
14310
14311 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14312
4c666f84
DE
143132015-09-09 Doug Evans <dje@google.com>
14314
14315 * gdb.base/savedregs.exp: Fix typo.
14316
243a9253
PA
143172015-09-09 Pedro Alves <palves@redhat.com>
14318
14319 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14320
c0fa8fbd
SL
143212015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14322
14323 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14324 command actually switches threads. Give up on remaining
14325 tests if target fails to stop at breakpoint.
14326
cd7c1778
PMR
143272015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14328
14329 * gdb.ada/funcall_char.exp: New testcase.
14330 * gdb.ada/funcall_char/foo.adb: New file.
14331
dc5c8746
PMR
143322015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14333
14334 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14335 expected outputs. Add two testcases for completing ambiguous
14336 functions.
14337 * gdb.ada/complete/aux_pck.adb: New file.
14338 * gdb.ada/complete/aux_pck.ads: New file.
14339 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14340 Ambiguous_Func functions.
14341 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14342 * gdb.ada/complete/pck.adb: Likewise.
14343
4e83a1e7
UW
143442015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14345
14346 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14347 failures to run the test program under GDB.
14348
8ce74153
LM
143492015-08-26 Luis Machado <lgustavo@codesourcery.com>
14350
14351 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14352 to C.
14353
e9756d52
PP
143542015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14355
14356 * gdb.base/run-after-attach.exp: New test file.
14357 * gdb.base/run-after-attach.c: New test file.
14358
8d37573b
DB
143592015-08-26 Don Breazeal <donb@codesourcery.com>
14360
14361 * gdb.base/foll-exec-2.c: New test program.
14362 * gdb.base/foll-exec-2.exp: New test.
14363
63e43d3a
PMR
143642015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14365
14366 * gdb.base/nested-subp1.exp: New file.
14367 * gdb.base/nested-subp1.c: New file.
14368 * gdb.base/nested-subp2.exp: New file.
14369 * gdb.base/nested-subp2.c: New file.
14370 * gdb.base/nested-subp3.exp: New file.
14371 * gdb.base/nested-subp3.c: New file.
14372
3d40fbb5
PA
143732015-08-24 Pedro Alves <palves@redhat.com>
14374
14375 * gdb.server/connect-without-multi-process.c: New file.
14376 * gdb.server/connect-without-multi-process.exp: New file.
14377
4422ac93
LM
143782015-08-24 Luis Machado <lgustavo@codesourcery.com>
14379
14380 * gdb.opt/inline-markers.c: Make z int.
14381
91dddb86
LM
143822015-08-24 Luis Machado <lgustavo@codesourcery.com>
14383
14384 * gdb.opt/inline-markers.c: Make z volatile.
14385
a48847ee
LM
143862015-08-24 Luis Machado <lgustavo@codesourcery.com>
14387
14388 * gdb.opt/inline-bt.c: New volatile global z.
14389 * gdb.opt/inline-cmds.c: Likewise.
14390 * gdb.opt/inline-locals.c: Likewise.
14391 * gdb.opt/inline-markers.c: New extern global z.
14392 (marker): Use z.
14393 (inline_fn): Likewise.
14394
0ebbc52b
PA
143952015-08-24 Pedro Alves <palves@redhat.com>
14396
14397 * config/m32r-stub.exp: Remove file.
14398 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14399 * gdb.base/call-rt-st.exp: Likewise.
14400 * gdb.base/call-strs.exp: Likewise.
14401 * gdb.base/default.exp: Remove references to h8300-*-hms and
14402 *-*-udi*.
14403 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14404
77c365df
AA
144052015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14406
14407 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14408 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14409 and "return" use KFAIL when GDB can not read/write the vector
14410 return value.
14411
4313b8c0
GB
144122015-08-21 Gary Benson <gbenson@redhat.com>
14413
14414 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14415
0e433b32
PA
144162015-08-20 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.server/solib-list.exp: No longer expect an interior stop in
14419 non-stop mode.
14420
221e1a37
PA
144212015-08-20 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.server/connect-stopped-target.c: New file.
14424 * gdb.server/connect-stopped-target.exp: New file.
14425
40e3ad0e
PA
144262015-08-20 Pedro Alves <palves@redhat.com>
14427
14428 * gdb.dwarf2/comp-unit-lang.exp: New file.
14429 * gdb.dwarf2/comp-unit-lang.c: New file.
14430
af39b327
PMR
144312015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14432
14433 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14434 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14435
7d45c7c3 144362015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14437
7d45c7c3
KB
14438 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14439 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14440
4d6cceb4
DE
144412015-08-18 Doug Evans <dje@google.com>
14442 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14443
14444 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14445 skip_python_tests. New arg prompt_regexp.
14446 (skip_python_tests): New function.
14447 * lib/mi-support.exp (mi_skip_python_tests): New function.
14448 * gdb.python/py-mi-objfile-gdb.py: New file.
14449 * gdb.python/py-mi-objfile.c: New file.
14450 * gdb.python/py-mi-objfile.exp: New file.
14451
ad89c2aa
KS
144522015-08-17 Keith Seitz <keiths@redhat.com>
14453
14454 * gdb.linespec/explicit.exp: Move strace test from here ...
14455 * gdb.trace/strace.exp: ... to here.
14456
e3ae3c43
PP
144572015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14458
14459 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14460 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14461
604b2636
DE
144622015-08-14 Doug Evans <xdje42@gmail.com>
14463
14464 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14465 inferior before selecting a new file.
14466
6ff0ba5f
DE
144672015-08-14 Doug Evans <xdje42@gmail.com>
14468
14469 * gdb.mi/mi-disassemble.exp: Update.
14470 * gdb.base/disasm-optim.S: New file.
14471 * gdb.base/disasm-optim.c: New file.
14472 * gdb.base/disasm-optim.h: New file.
14473 * gdb.base/disasm-optim.exp: New file.
14474
9ca98f92
KS
144752015-08-14 Keith Seitz <keiths@redhat.com>
14476
14477 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14478 "evaluated-by".
14479
52bbc560
JB
144802015-08-13 Joel Brobecker <brobecker@adacore.com>
14481
14482 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14483
5d8c3ed3
PMR
144842015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14485
14486 * gdb.ada/fun_renaming.exp: New testcase.
14487 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14488 * gdb.ada/fun_renaming/pack.adb: New file.
14489 * gdb.ada/fun_renaming/pack.ads: New file.
14490
ea8812bc
KS
144912015-08-12 Keith Seitz <keiths@redhat.com>
14492
14493 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14494 gdb_get_line_number.
14495
4dafcdeb
JB
144962015-08-12 Joel Brobecker <brobecker@adacore.com>
14497
14498 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14499 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14500 gdb.base/dso2dso.exp: New files.
14501
5ba32597
SDJ
145022015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14503 Pedro Alves <palves@redhat.com>
14504 Keith Seitz <keiths@redhat.com>
14505
14506 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14507 GDBFLAGS.
14508
b6dafabf
PP
145092015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14510
14511 * gdb.base/gdbhistsize-history.exp
14512 (test_histsize_history_setting): Use save_vars.
14513 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14514 Use save_vars.
14515 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14516 * gdb.base/readline.exp: Use save_vars.
14517
abe8e607
PP
145182015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14519
14520 * lib/gdb.exp (save_vars): New proc.
14521
629500fa
KS
145222015-08-11 Keith Seitz <keiths@redhat.com>
14523
14524 * gdb.base/help.exp: Update help_breakpoint_text.
14525
eb8c4e2e
KS
145262015-08-11 Keith Seitz <keiths@redhat.com>
14527
14528 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14529 (at toplevel): Call test_explicit_breakpoints.
14530 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14531 breakpoints.
14532 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14533 breakpoint conditions, "-cond".
14534
87f0e720
KS
145352015-08-11 Keith Seitz <keiths@redhat.com>
14536
14537 * gdb.linespec/3explicit.c: New file.
14538 * gdb.linespec/cpexplicit.cc: New file.
14539 * gdb.linespec/cpexplicit.exp: New file.
14540 * gdb.linespec/explicit.c: New file.
14541 * gdb.linespec/explicit.exp: New file.
14542 * gdb.linespec/explicit2.c: New file.
14543 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14544 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14545 before using in the matching pattern.
14546 Clarify that `prefix' is a regular expression.
14547
f00aae0f
KS
145482015-08-11 Keith Seitz <keiths@redhat.com>
14549
14550 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14551 test.
14552 Add tests for missing ",FMT" and ",".
14553
e27852be
DE
145542015-08-10 Doug Evans <dje@google.com>
14555 Keith Seitz <keiths@redhat.com>
14556
14557 PR gdb/17960
14558 * gdb.base/completion.exp: Add location completer tests.
14559
7f03bd92
PA
145602015-08-07 Pedro Alves <palves@redhat.com>
14561
14562 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14563 tests here.
14564 (top level): Run do_test with and without displaced stepping.
14565
3fc8eb30
PA
145662015-08-07 Pedro Alves <palves@redhat.com>
14567
14568 * gdb.base/valgrind-disp-step.c: New file.
14569 * gdb.base/valgrind-disp-step.exp: New file.
14570
d4569d7b
PA
145712015-08-07 Pedro Alves <palves@redhat.com>
14572
14573 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14574 Delete function.
14575 (main): Add alarm. Run an infinite loop instead of calling
14576 wait_threads.
14577 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14578 comment.
14579 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14580 Delete function.
14581 (main): Add alarm. Run an infinite loop instead of calling
14582 wait_threads.
14583 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14584 comment.
14585
e1316e60
PA
145862015-08-07 Pedro Alves <palves@redhat.com>
14587
14588 * gdb.base/checkpoint-ns.exp: New file.
14589 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14590 standard_testfile.
14591
da8c46d2
MM
145922015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14593
14594 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14595 * gdb.btrace/instruction_history.exp: Update.
14596 * gdb.btrace/tsx.exp: New.
14597 * gdb.btrace/tsx.c: New.
14598
de1c2c52
PA
145992015-08-06 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14602 increase timeout.
14603 * gdb.reverse/until-precsave.exp: Bump timeouts.
14604
782e0bf4
PA
146052015-08-06 Pedro Alves <palves@redhat.com>
14606
14607 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14608
83e97ed0
PA
146092015-08-06 Pedro Alves <palves@redhat.com>
14610
14611 PR gdb/18749
14612 * gdb.threads/process-dies-while-handling-bp.c: New file.
14613 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14614
863d01bd
PA
146152015-08-06 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14618 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14619
0a39bb32
PA
146202015-08-05 Pedro Alves <palves@redhat.com>
14621
14622 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14623 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14624
ee2d2b10
SL
146252015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14626
14627 * gdb.base/bp-permanent.exp: Report test as unsupported if
14628 the target cannot stop at the permanent breakpoint.
14629
4e1bdb00
DE
146302015-08-03 Doug Evans <dje@google.com>
14631
14632 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14633 10000.
14634
3d338901
DE
146352015-08-03 Doug Evans <dje@google.com>
14636
14637 * Makefile.in (workers/%.worker, build-perf): New rule.
14638 (GDB_PERFTEST_MODE): New variable.
14639 (check-perf): Use it.
14640 (clean): Clean up gdb.perf parallel build subdirs.
14641 * lib/build-piece.exp: New file.
14642 * lib/gdb.exp (make_gdb_parallel_path): New function
14643 (standard_output_file, standard_temp_file): Call it.
14644 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14645 of $GDB_PARALLEL.
14646 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14647
af061d3e
DE
146482015-08-03 Doug Evans <dje@google.com>
14649
8e1afc81 14650 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14651 (LOG_FILE_NAME): New global.
14652 (TextReporter.__init__): Initialize self.txt_sum.
14653 (TextReporter.report): Add support for multiple data-points.
14654 Move report to perftest.sum, put raw data in perftest.log.
14655 (TextReporter.start): Open sum and log files.
14656 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14657 * gdb.perf/lib/perftest/testresult.py
14658 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14659
2c8c5d37
PA
146602015-07-31 Pedro Alves <palves@redhat.com>
14661
14662 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14663 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14664 kill_wait_spawned_process instead of explicit "kill -9".
14665 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14666 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14667 kill_wait_spawned_process.
14668 * gdb.base/attach-twice.exp: Likewise.
14669 * gdb.base/attach.exp: Likewise.
14670 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14671 gdb_test_multiple.
14672 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14673 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14674 kill_wait_spawned_process.
14675 * gdb.base/valgrind-infcall.exp: Likewise.
14676 * gdb.multi/multi-attach.exp: Likewise.
14677 * gdb.python/py-prompt.exp: Likewise.
14678 * gdb.python/py-sync-interp.exp: Likewise.
14679 * gdb.server/ext-attach.exp: Likewise.
14680 * gdb.threads/attach-into-signal.exp (corefunc): Use
14681 spawn_wait_for_attach, spawn_id_get_pid and
14682 kill_wait_spawned_process.
14683 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14684 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14685 spawn_id_get_pid and kill_wait_spawned_process.
14686 * gdb.threads/attach-stopped.exp (corefunc): Use
14687 spawn_wait_for_attach, spawn_id_get_pid and
14688 kill_wait_spawned_process.
14689 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14690 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14691 kill_wait_spawned_process instead of explicit "kill -9".
14692 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14693 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14694 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14695 processes. Don't map cygwin/windows pids here. Now returns a
14696 spawn id list.
14697
032a0fca
SL
146982015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14699
14700 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14701 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14702 correct patch.
14703
61a934ca
SL
147042015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14705
14706 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14707
4bc4d428
SL
147082015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14709
14710 Reapply:
14711 2014-05-21 Mark Wielaard <mjw@redhat.com>
14712
14713 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14714
998d452a
PA
147152015-07-30 Pedro Alves <palves@redhat.com>
14716
14717 * linux-low.c (handle_extended_wait): Set the child's last
14718 reported status to TARGET_WAITKIND_STOPPED.
14719
69dde7dc
PA
147202015-07-30 Pedro Alves <palves@redhat.com>
14721
14722 PR threads/18600
14723 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14724 only shows inferior 1.
14725
4dd63d48
PA
147262015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14727 Pedro Alves <palves@redhat.com>
14728
14729 PR threads/18600
14730 * gdb.threads/fork-plus-threads.c: New file.
14731 * gdb.threads/fork-plus-threads.exp: New file.
14732
d618e4c5
PP
147332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14734
14735 * gdb.base/batch-preserve-term-settings.exp
14736 (test_terminal_settings_preserved_after_cli_exit): Use
14737 send_quit_command.
14738
1eef6428
PA
147392015-07-29 Pedro Alves <palves@redhat.com>
14740 Don Breazeal <donb@codesourcery.com>
14741
14742 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14743 output from both inferior_spawn_id and gdb_spawn_id.
14744
7da5b897
SDJ
147452015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14746
14747 * gdb.threads/attach-into-signal.exp (corefunc): Use
14748 with_test_prefix on nested loops, uniquefying the test messages.
14749
dac804df
SDJ
147502015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14751
14752 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14753 commit.
14754
06265e53
PP
147552015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14756
14757 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14758 New proc.
14759 (test_terminal_settings_preserved_after_sigterm): New test.
14760
18206ca3
PP
147612015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14762
14763 * gdb.base/batch-preserve-term-settings.exp
14764 (test_terminal_settings_preserved_after_cli_exit): New test.
14765
90074d11
PP
147662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14767
14768 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14769 manipulation of saved_gdbflags.
14770 (test_terminal_settings_preserved): Remove global declaration of
14771 the unused variable pagination_prompt. Remove manipulation of
14772 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14773 GDBFLAGS.
14774
eb1a7902
PA
147752015-07-29 Pedro Alves <palves@redhat.com>
14776
14777 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14778
8b75dd3b
PA
147792015-07-29 Pedro Alves <palves@redhat.com>
14780
14781 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14782 at the top.
14783
dedad4e3
PA
147842015-07-29 Pedro Alves <palves@redhat.com>
14785
14786 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14787 (main): Call gdb_unbuffer_output.
14788 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14789 (main): Call gdb_unbuffer_output.
14790 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792 * gdb.base/call-strs.exp: Adjust to step over the
14793 gdb_unbuffer_output call.
14794 * gdb.base/catch-gdb-caused-signals.c: Include
14795 "../lib/unbuffer_output.c".
14796 (main): Call gdb_unbuffer_output.
14797 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14798 (main): Call gdb_unbuffer_output.
14799 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14800 (main): Call gdb_unbuffer_output.
14801 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14802 (main): Call gdb_unbuffer_output.
14803 * gdb.base/shlib-call.exp: Adjust to step over the
14804 gdb_unbuffer_output call.
14805 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14806 (main): Call gdb_unbuffer_output.
14807 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14808 (main): Call gdb_unbuffer_output.
14809 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14810 (main): Rename to ...
14811 (test): ... this.
14812 (main): Reimplement.
14813 * gdb.base/varargs.exp: Run to test instead of to main.
14814 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14815 (main): Call gdb_unbuffer_output.
14816
58789a91
PA
148172015-07-29 Pedro Alves <palves@redhat.com>
14818
14819 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14820 factore out from mi_continue_dprintf. For call-style dprintfs,
14821 expect dprintf output out of $inferior_spawn_id.
14822 (mi_continue_dprintf): Use mi_expect_dprintf.
14823 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14824 (main): Call gdb_unbuffer_output.
14825
e8376742
PA
148262015-07-29 Pedro Alves <palves@redhat.com>
14827
14828 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14829 (default_mi_gdb_start): Set inferior_spawn_id instead of
14830 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14831 gdb_spawn_id.
14832 (mi_gdb_test): Always expect inferior output from both
14833 $inferior_spawn_id and $gdb_spawn_id.
14834
08280010
PA
148352015-07-29 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14838 send_inferior and $inferior_spawn_id.
14839
4d30e432
PA
148402015-07-29 Pedro Alves <palves@redhat.com>
14841
14842 * gdb.gdb/complaints.exp (test_initial_complaints)
14843 (test_serial_complaints, test_short_complaints): Use
14844 gdb_test_stdio.
14845 (test_empty_complaint): Handle $inferior_spawn_id !=
14846 $gdb_spawn_id.
14847
0d30a335
PA
148482015-07-29 Pedro Alves <palves@redhat.com>
14849
14850 * gdb.base/varargs.exp: Use gdb_test_stdio.
14851
39413b29
PA
148522015-07-29 Pedro Alves <palves@redhat.com>
14853
14854 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14855
7cb000a9
PA
148562015-07-29 Pedro Alves <palves@redhat.com>
14857
14858 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14859
d7b8ac82
PA
148602015-07-29 Pedro Alves <palves@redhat.com>
14861
14862 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14863 parameter into two new parameters, "inf_result" and "gdb_result".
14864 Expect inferior output and gdb output from $inferior_spawn_id and
14865 $gdb_spawn_id, respectively. Adjust all callers.
14866
789c3a0c
PA
148672015-07-29 Pedro Alves <palves@redhat.com>
14868
14869 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14870 of gdb_test_sequence.
14871
77e760c3
PA
148722015-07-29 Pedro Alves <palves@redhat.com>
14873
14874 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14875 (saw_spurious_output): Expect inferior output from
14876 $inferior_spawn_id. Use gdb_test_stdio.
14877
8396d2cd
PA
148782015-07-29 Pedro Alves <palves@redhat.com>
14879
14880 * gdb.base/dprintf.exp: Use standard_testfile. Change
14881 prepare_for_testing call.
14882 (srcfile): Don't set.
14883 (restart): New procedure.
14884 (test_dprintf): New procecure, use to continue over dprintfs.
14885 (test_call, test_agent): New procedures, tests moved here.
14886 Restart gdb and recreate dprintfs. Adjust expected output.
14887
2051d61f
PA
148882015-07-29 Pedro Alves <palves@redhat.com>
14889
14890 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14891
452397af
PA
148922015-07-29 Pedro Alves <palves@redhat.com>
14893
14894 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14895
8aed9555
PA
148962015-07-29 Pedro Alves <palves@redhat.com>
14897
14898 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14899 gdb_test_stdio.
14900
188a61b4
PA
149012015-07-29 Pedro Alves <palves@redhat.com>
14902
14903 * lib/gdb.exp (gdb_test_stdio): New procedure.
14904
12264a45
PA
149052015-07-29 Pedro Alves <palves@redhat.com>
14906
14907 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14908
23ffc893
PA
149092015-07-29 Pedro Alves <palves@redhat.com>
14910
14911 * gdb.base/call-signal-resume.exp: Remove check for
14912 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14913 * gdb.base/unwindonsignal.exp: Likewise.
14914 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14915 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14916
65566918
PA
149172015-07-29 Pedro Alves <palves@redhat.com>
14918
14919 * gdb.base/siginfo-addr.c (pass): New function.
14920 (handler): Call it iff si_addr is correct.
14921 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14922 Set a breakpoint at "pass" and continue to it.
14923
d60a9221
SDJ
149242015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14925
14926 * gdb.python/py-objfile.exp: Make some tests have unique names.
14927 * gdb.python/py-pp-registration.exp: Likewise.
14928
bde40b8f
PA
149292015-07-28 Pedro Alves <palves@redhat.com>
14930
14931 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14932
13e1dec8
SM
149332015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14934
14935 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14936
da33c9a7
SM
149372015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14938
14939 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14940
077836f7
PP
149412015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14942
14943 * gdb.base/gdb-sigterm-2.exp: New test.
14944
b8cc7b2e
DE
149452015-07-25 Doug Evans <xdje42@gmail.com>
14946
14947 Revert:
14948 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14949 (workers/%.worker, build-perf): New rule.
14950 (GDB_PERFTEST_MODE): New variable.
14951 (check-perf): Use it.
14952 (clean): Clean up gdb.perf parallel build subdirs.
14953 * lib/build-piece.exp: New file.
14954 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14955 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14956 name.
14957 (standard_temp_file): Ditto.
14958 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14959 of $GDB_PARALLEL.
14960
c8bd4544
DE
149612015-07-24 Doug Evans <dje@google.com>
14962
14963 * gdb.perf/lib/perftest/utils.py: New file.
14964 * gdb.perf/gm-hello.cc: New file.
14965 * gdb.perf/gm-pervasive-typedef.cc: New file.
14966 * gdb.perf/gm-pervasive-typedef.h: New file.
14967 * gdb.perf/gm-std.cc: New file.
14968 * gdb.perf/gm-std.h: New file.
14969 * gdb.perf/gm-use-cerr.cc: New file.
14970 * gdb.perf/gm-utils.h: New file.
14971 * gdb.perf/gmonster-null-lookup.py: New file.
14972 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14973 * gdb.perf/gmonster-print-cerr.py: New file.
14974 * gdb.perf/gmonster-ptype-string.py: New file.
14975 * gdb.perf/gmonster-runto-main.py: New file.
14976 * gdb.perf/gmonster-select-file.py: New file.
14977 * gdb.perf/gmonster1-null-lookup.exp: New file.
14978 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14979 * gdb.perf/gmonster1-print-cerr.exp: New file.
14980 * gdb.perf/gmonster1-ptype-string.exp: New file.
14981 * gdb.perf/gmonster1-runto-main.exp: New file.
14982 * gdb.perf/gmonster1-select-file.exp: New file.
14983 * gdb.perf/gmonster1.cc: New file.
14984 * gdb.perf/gmonster1.exp: New file.
14985 * gdb.perf/gmonster2-null-lookup.exp: New file.
14986 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14987 * gdb.perf/gmonster2-print-cerr.exp: New file.
14988 * gdb.perf/gmonster2-ptype-string.exp: New file.
14989 * gdb.perf/gmonster2-runto-main.exp: New file.
14990 * gdb.perf/gmonster2-select-file.exp: New file.
14991 * gdb.perf/gmonster2.cc: New file.
14992 * gdb.perf/gmonster2.exp: New file.
14993
6eab34f3
DE
149942015-07-24 Doug Evans <dje@google.com>
14995
14996 * gdb.perf/README: New file.
14997 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14998 * lib/gen-perf-test.exp: New file.
14999
63738bfd
DE
150002015-07-24 Doug Evans <dje@google.com>
15001
15002 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15003 (PerfTest::startup): New function.
15004 (PerfTest::run): Return result of calling body.
15005 (PerfTest::assemble): Rewrite.
15006 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15007 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15008 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15009 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15010 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15011
7b606f95
DE
150122015-07-24 Doug Evans <dje@google.com>
15013
15014 * lib/gdb.exp (clean_restart): Make executable optional.
15015
a97b16b8
DE
150162015-07-24 Doug Evans <dje@google.com>
15017
15018 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15019 compiler_info references.
15020 * gdb.cp/temargs.exp: Ditto.
15021 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15022 (get_compiler_info): Early exit if already computed. Set compiler_info
15023 to "unknown" if there was a problem.
15024 (test_compiler_info): Add function comment. Call get_compiler_info.
15025
35baa57f
DE
150262015-07-24 Doug Evans <dje@google.com>
15027
15028 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15029 (workers/%.worker, build-perf): New rule.
15030 (GDB_PERFTEST_MODE): New variable.
15031 (check-perf): Use it.
15032 (clean): Clean up gdb.perf parallel build subdirs.
15033 * lib/build-piece.exp: New file.
15034 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15035 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15036 name.
15037 (standard_temp_file): Ditto.
15038 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15039 of $GDB_PARALLEL.
15040
6ebea266
DE
150412015-07-24 Doug Evans <dje@google.com>
15042
15043 * lib/future.exp (gdb_default_target_compile): New option
15044 "early_flags".
15045 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15046 --as-needed.
15047
1e76a7e9
SDJ
150482015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15049
15050 * gdb.base/catch-syscall.exp: Call gdb_exit before
15051 gdb_skip_xml_test.
15052
5068630a
PA
150532015-07-24 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.python/py-events.exp: Accept output between the stop event
15056 and the prompt.
15057 * gdb.python/py-evsignal.exp: Likewise.
15058 * gdb.python/py-evthreads.exp: Likewise.
15059
77598427
PA
150602015-07-24 Pedro Alves <palves@redhat.com>
15061
15062 PR gdb/18717
15063 * gdb.threads/non-ldr-exit.c: New file.
15064 * gdb.threads/non-ldr-exit.exp: New file.
15065
11e6c98f
YQ
150662015-07-24 Yao Qi <yao.qi@linaro.org>
15067
15068 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15069 restarting process.
15070
51aee833
YQ
150712015-07-24 Yao Qi <yao.qi@linaro.org>
15072
15073 * gdb.server/ext-restart.exp: New file.
15074
8cfe207c
YQ
150752015-07-24 Yao Qi <yao.qi@linaro.org>
15076
15077 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15078 argument options.
15079 * gdb.server/ext-wrapper.exp: New file.
15080
cc12ce38
DE
150812015-07-23 Doug Evans <dje@google.com>
15082
15083 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15084 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15085
d0d84780
PMR
150862015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15087
15088 * gdb.ada/var_arr_typedef.exp: New testcase.
15089 * gdb.ada/var_arr_typedef/pack.adb: New file.
15090 * gdb.ada/var_arr_typedef/pack.ads: New file.
15091 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15092
8b558f79
JB
150932015-07-20 Joel Brobecker <brobecker@adacore.com>
15094
15095 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15096
775a3298
JK
150972015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15098
15099 * gdb.arch/i386-biarch-core.exp: Replace istarget
15100 by "complete set gnutarget". Remove expectation for the "core-file"
15101 command.
15102
db1ff28b
JK
151032015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15104
15105 Revert the previous commit:
15106 Tests for validate symbol file using build-id.
15107
0a94970d
JK
151082015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15109
15110 Tests for validate symbol file using build-id.
15111 * gdb.base/solib-mismatch-lib.c: New file.
15112 * gdb.base/solib-mismatch-libmod.c: New file.
15113 * gdb.base/solib-mismatch.c: New file.
15114 * gdb.base/solib-mismatch.exp: New file.
15115
03346981
SL
151162015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15117
15118 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15119 nios2-*-linux*.
15120 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15121 * gdb.base/siginfo.exp: Likewise.
15122 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15123
42422cc7
PL
151242015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15125
15126 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15127 Move it to ...
15128 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15129 ... here.
15130 * gdb.trace/range-stepping.exp: Check that the target supports
15131 range stepping.
15132
cfa68bae
JK
151332015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15134
15135 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15136
8ffdba26
PA
151372015-07-14 Pedro Alves <palves@redhat.com>
15138
15139 * gdb.base/killed-outside.exp: New file.
15140 * gdb.base/killed-outside.c: New file.
15141
218a5a11
JK
151422015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15143
15144 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15145 (n at main): New.
15146 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15147
e03ed3c6
AA
151482015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15149
15150 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15151 infcall tests instead of setting up for KFAIL.
15152
485668e5
MM
151532015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15154
15155 * gdb.btrace/record_goto-step.exp: New.
15156
08464196
JK
151572015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15158
15159 PR compile/18484
15160 * gdb.compile/compile.c (struct struct_type): Add volatile to
15161 selffield's type.
15162 * gdb.compile/compile.exp
15163 (compile code struct_object.selffield = &struct_object): Skip further
15164 struct_object tests if this one xfails.
15165
bcf5c1d9
RC
151662015-07-08 Robert O'Callahan <robert@ocallahan.org>
15167
15168 PR exp/18617
15169 * gdb.trace/ax.exp: Add test.
15170
4931af25
YQ
151712015-07-07 Yao Qi <yao.qi@linaro.org>
15172
15173 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15174 instead of istarget "aarch64*-*-*".
15175 * gdb.arch/aarch64-fp.exp: Likewise.
15176 * gdb.base/float.exp: Likewise.
15177 * gdb.reverse/aarch64.exp: Likewise.
15178 * lib/gdb.exp (is_aarch64_target): New proc.
15179
9fcf688e
YQ
151802015-07-07 Yao Qi <yao.qi@linaro.org>
15181
15182 * lib/gdb.exp (is_aarch32_target): New proc.
15183 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15184 instead of "istarget "arm*-*-*"".
15185 * gdb.arch/arm-disp-step.exp: Likewise.
15186 * gdb.arch/thumb-bx-pc.exp: Likewise.
15187 * gdb.arch/thumb-prologue.exp: Likewise.
15188 * gdb.arch/thumb-singlestep.exp: Likewise.
15189 * gdb.base/disp-step-syscall.exp: Likewise.
15190 * gdb.base/float.exp: Likewise.
15191
fbd8d50d
YQ
151922015-07-07 Yao Qi <yao.qi@linaro.org>
15193
15194 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15195 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15196
71be1fdc
YQ
151972015-07-07 Yao Qi <yao.qi@linaro.org>
15198
15199 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15200 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15201 if it exists.
15202 * gdb.multi/multi-arch.exp: Likewise.
15203
3e221d36
SM
152042015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15205
15206 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15207 print.
15208
d441430b
YQ
152092015-07-07 Yao Qi <yao.qi@linaro.org>
15210
15211 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15212
06f810bd
MG
152132015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15214
15215 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15216 '[' and ']' characters.
15217
5e61e7c0
IB
152182015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15219
15220 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15221
28bf096c
PA
152222015-06-29 Pedro Alves <palves@redhat.com>
15223
15224 PR threads/18127
15225 * gdb.threads/hand-call-new-thread.c: New file.
15226 * gdb.threads/hand-call-new-thread.c: New file.
15227
ee93cd5e
KS
152282015-06-26 Keith Seitz <keiths@redhat.com>
15229 Doug Evans <dje@google.com>
15230
15231 PR 16253
15232 * gdb.cp/var-tag-2.cc: New file.
15233 * gdb.cp/var-tag-3.cc: New file.
15234 * gdb.cp/var-tag-4.cc: New file.
15235 * gdb.cp/var-tag.cc: New file.
15236 * gdb.cp/var-tag.exp: New file.
15237
fc637f04
PP
152382015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15239
15240 * gdb.base/history-duplicates.exp: New test.
15241
2e52ae68
PP
152422015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15243
15244 * gdb.base/completion.exp: Test the completion of the "focus"
15245 command.
15246
6e22494e
JK
152472015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15248
15249 * gdb.arch/amd64-prologue-skip.S: New file.
15250 * gdb.arch/amd64-prologue-skip.exp: New file.
15251
bf7b9cd9
SM
152522015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15253
15254 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15255 is_address_zero_readable check.
15256
201e8dfd
PB
152572015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15258
15259 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15260 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15261
5cd867b4
YQ
152622015-06-24 Yao Qi <yao.qi@linaro.org>
15263
15264 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15265 linux targets.
15266
4d7be007
YQ
152672015-06-24 Yao Qi <yao.qi@linaro.org>
15268
15269 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15270 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15271 * gdb.base/siginfo-thread.exp: Likewise.
15272
07fcd301
YQ
152732015-06-22 Yao Qi <yao.qi@linaro.org>
15274
15275 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15276
52042a00
YQ
152772015-06-22 Yao Qi <yao.qi@linaro.org>
15278
15279 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15280 aarch64*-*-*.
15281 (skip_hw_watchpoint_tests): Likewise.
15282
74bd41ce
PP
152832015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15284
15285 * gdb.base/gdbinit-history.exp: Test the interaction between
15286 setting GDBHISTSIZE and setting the history size via .gdbinit.
15287
bc460514
PP
152882015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15289
15290 PR gdb/16999
15291 * gdb.base/gdbhistsize-history.exp: New test.
15292
b58c513b
PP
152932015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15294
15295 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15296 with GDBHISTSIZE.
15297 * gdb.base/readline.exp: Likewise.
15298
92046791
YQ
152992015-06-17 Yao Qi <yao.qi@linaro.org>
15300
15301 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15302 line.
15303
2093d2d3
PP
153042015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15305
15306 * gdb.base/gdbinit-history.exp: Add test case to check that
15307 an unlimited history file does not get truncated on exit.
15308
e6c693af
AA
153092015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15310
15311 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15312 (VECTOR): New macro. Use it...
15313 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15314 ...for these typedefs.
15315 (int8, char1, int1, double1): New typedefs.
15316 (struct just_int2, struct two_int2): New structures.
15317 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15318 (add_structvecs, add_singlevecs): New functions.
15319 (main): Call add_some_intvecs twice.
15320 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15321 the compile and exit upon failure. Try compiling for the "native"
15322 architecture. Test inferior function calls with vector arguments
15323 and vector return value handling with "finish" and "return".
15324
c74f7d1c
JT
153252015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15326
15327 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15328 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15329 PE file.
15330 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15331
98aa42ee
AT
153322015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15333
15334 PR breakpoints/16465
15335 * gdb.mi/mi-dprintf-pending.c: New file.
15336 * gdb.mi/mi-dprintf-pending.exp: New test.
15337 * gdb.mi/mi-dprintf-pendshr.c: New file.
15338
7d73c23c 153392015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15340 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15341
15342 * gdb.arch/i386-mpx-map.c: New file.
15343 * gdb.arch/i386-mpx-map.exp: New File.
15344
153452015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15346
15347 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15348 * gdb.arch/i386-mpx.exp: Indentation fixed.
15349
153502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15351
15352 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15353 function and improved indentation.
15354 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15355 gdb_test_multiple. Added additional tests to skip the test.
15356
153572015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15358
15359 * gdb.arch/i386-avx512.c: Change path in include file.
15360 * gdb.arch/i386-avx512.exp: Change include dir path
15361 compilation flag.
15362 * gdb.arch/i386-mpx.c: Change path in include file.
15363 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15364 flag.
15365
d5eba19a
JK
153662015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15367
15368 * gdb.compile/compile-print.exp (compile print *vararray@3)
15369 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15370
7f361056
JK
153712015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15372
15373 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15374 (do not keep jit in memory): ... this.
15375 (expect 5): Change it to ...
15376 (expect no 5): ... this.
15377
3b462ec2
SM
153782015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15379
15380 PR gdb/15564
15381 * gdb.mi/mi-detach.exp: New file.
15382
e0619de6
JK
153832015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15384
15385 PR symtab/18392
15386 * gdb.arch/amd64-tailcall-self.S: New file.
15387 * gdb.arch/amd64-tailcall-self.c: New file.
15388 * gdb.arch/amd64-tailcall-self.exp: New file.
15389
e970cb34
DB
153902015-05-28 Don Breazeal <donb@codesourcery.com>
15391
15392 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15393 tests for remote targets by checking is_target_gdbserver.
15394
b2e2f908
DE
153952015-05-27 Doug Evans <dje@google.com>
15396
15397 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15398 * gdb.dwarf2/opaque-type-lookup.c: New file.
15399 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15400
82c7be31
DE
154012015-05-26 Doug Evans <dje@google.com>
15402
15403 * gdb.cp/iostream.cc: New file.
15404 * gdb.cp/iostream.exp: New file.
15405
b4f54984
DE
154062015-05-26 Doug Evans <dje@google.com>
15407
15408 * gdb.dwarf2/dw2-op-call.exp: Update.
15409 * gdb.dwarf2/dw4-sig-types.exp: Update.
15410 * gdb.dwarf2/implptr.exp: Update.
15411 * gdb.mi/mi-cmd-param-changed.exp: Update.
15412
4ea6efe9
DE
154132015-05-26 Doug Evans <dje@google.com>
15414
15415 * gdb.python/py-lazy-string.c: New file.
15416 * gdb.python/py-lazy-string.exp: New file.
15417 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15418 (main): Update. Add estring3.
15419 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15420 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15421
f6bb7db3
YQ
154222015-05-26 Omair Javaid <omair.javaid@linaro.org>
15423 Yao Qi <yao.qi@linaro.org>
15424
15425 * gdb.reverse/aarch64.c: New.
15426 * gdb.reverse/aarch64.exp: New.
15427
a81bfbd0
OJ
154282015-05-26 Omair Javaid <omair.javaid@linaro.org>
15429
25d49b86
PA
15430 * lib/gdb.exp (supports_process_record): Return true for
15431 aarch64*-linux*.
a81bfbd0
OJ
15432 (supports_reverse): Likewise.
15433
158bf1b4
PP
154342015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15435
15436 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15437 Use with_test_prefix.
15438
a0145030
AB
154392015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15440
15441 * gdb.base/completion.exp: Add test for completion of layout
15442 names.
15443
ebe3b578
AB
154442015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15445
15446 * lib/gdb.exp (skip_tui_tests): New proc.
15447 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15448
84204ed7
PA
154492015-05-19 Pedro Alves <palves@redhat.com>
15450
15451 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15452 Save the whole env array instead of just HOME. Unset HISTSIZE in
15453 the environment while testing. Restore whole environment
15454 afterwards.
15455
37442ce1
DE
154562015-05-16 Doug Evans <xdje42@gmail.com>
15457
15458 * gdb.guile/scm-ports.c: New file.
15459 * gdb.guile/scm-ports.exp: Add memory port tests.
15460
36de76f9
JK
154612015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15462
15463 * gdb.compile/compile-print.c: New file.
15464 * gdb.compile/compile-print.exp: New file.
15465
3a9558c4
JK
154662015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15467
15468 * gdb.compile/compile-ops.exp: Cast param to void.
15469 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15470 (compile code struct_object.selffield = &struct_object): Add xfail.
15471
aa715135
JG
154722015-05-15 Joel Brobecker <brobecker@adacore.com>
15473
15474 * gdb.ada/arr_enum_with_gap: New testcase.
15475
931e5bc3
JG
154762015-05-15 Joel Brobecker <brobecker@adacore.com>
15477
15478 * gdb.ada/byte_packed_arr: New testcase.
15479
9cd4d857
JB
154802015-05-15 Joel Brobecker <brobecker@adacore.com>
15481
15482 * gdb.ada/pckd_neg: New testcase.
15483
ebfd00d2
PP
154842015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15485
15486 PR gdb/17820
15487 * gdb.base/gdbinit-history.exp: New test.
15488 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15489 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15490
4c082a81
SC
154912015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15492
15493 * gdb.python/py-xmethods.cc: Enhance test case.
15494 * gdb.python/py-xmethods.exp: New tests.
15495 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15496 function.
15497 (B_indexoper): Likewise.
15498 (global_dm_list) : Add new xmethod worker functions.
15499
f7797074
SDJ
155002015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15501
15502 * gdb.base/coredump-filter.exp: Correctly unset
15503 "coredump_var_addr" array.
15504
a4674e4e
PA
155052015-05-08 Pedro Alves <palves@redhat.com>
15506
15507 * gdb.server/non-existing-program.exp: Unset spawn_id.
15508
df2eb078
SC
155092015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15510
15511 PR python/18291
15512 * gdb.python/py-xmethods.exp: Add tests.
15513
422349a3
YQ
155142015-05-08 Yao Qi <yao.qi@linaro.org>
15515
15516 PR gdb/18208
15517 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15518 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15519 function set_coredump_filter, and remove remote_exec call.
15520 Remove argument ipid. Callers update.
15521 (top level): Don't get inferior's PID.
15522
63fc80ce
AA
155232015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15524
15525 * gdb.base/watch_thread_num.exp: Skip test on targets without
15526 access watchpoints.
15527
80ad801e
PA
155282015-05-06 Pedro Alves <palves@redhat.com>
15529
15530 PR server/18081
15531 * gdb.server/non-existing-program.exp: New file.
15532
0fa7fe50
JB
155332015-05-05 Joel Brobecker <brobecker@adacore.com>
15534
15535 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15536
3ea89b92
PMR
155372015-05-05 Joel Brobecker <brobecker@adacore.com>
15538
15539 * gdb.ada/out_of_line_in_inlined: New testcase.
15540
87b8eff0
JB
155412015-05-05 Joel Brobecker <brobecker@adacore.com>
15542
15543 * gdb.ada/var_rec_arr: New testcase.
15544
5fccc635
YQ
155452015-04-30 Yao Qi <yao.qi@linaro.org>
15546
15547 * gdb.base/break-idempotent.exp: If
15548 skip_hw_watchpoint_multi_tests returns true, skip the tests
15549 on "rwatch" and "awatch".
15550
42d38f42
YQ
155512015-04-30 Yao Qi <yao.qi@linaro.org>
15552
15553 * gdb.base/relativedebug.exp: Invoke gdb command
15554 "info sharedlibrary", and if libc.so doesn't have debug info,
15555 skip the test.
15556
2ce1cdbf
DE
155572015-04-29 Doug Evans <dje@google.com>
15558
15559 * gdb.python/py-xmethods.exp: Add ptype tests.
15560 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15561 get_result_type method.
15562
f24a38c5
LM
155632015-04-29 Luis Machado <lgustavo@codesourcery.com>
15564
15565 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15566 the target does not support hardware watchpoints.
15567
ecbf2b3c
LM
155682015-04-29 Luis Machado <lgustavo@codesourcery.com>
15569
15570 * gdb.base/break-always.exp: Abort testing if writing to memory
15571 causes an error.
15572
34f5f757
DE
155732015-04-28 Doug Evans <dje@google.com>
15574
15575 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15576 * gdb.python/py-pp-registration.exp: ... here. New file.
15577 * gdb.python/py-pp-registration.c: New file.
15578 * gdb.python/py-pp-registration.py: New file.
15579
69b4374a
DE
155802015-04-28 Doug Evans <dje@google.com>
15581
15582 * gdb.python/py-bad-printers.c: New file.
15583 * gdb.python/py-bad-printers.py: New file.
15584 * gdb.python/py-bad-printers.exp: New file.
15585
59fb7612
SS
155862015-04-28 Sasha Smundak <asmundak@google.com>
15587
15588 * gdb.python/py-type.exp: New test.
15589
2631b16a
AW
155902015-04-28 Andy Wingo <wingo@igalia.com>
15591
15592 * gdb.python/py-parameter.exp:
15593 * gdb.guile/scm-parameter.exp: Escape the path that we are
15594 matching against, as it might contain characters that are special
15595 to regular expressions.
15596
460efde1
JB
155972015-04-27 Joel Brobecker <brobecker@adacore.com>
15598
15599 * gdb.ada/rec_comp: New testcase.
15600
2d369d8e
SDJ
156012015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15602
15603 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15604 before using it.
15605
cf75d6c3
AB
156062015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15607
15608 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15609 new tests for verilog output.
15610
8dbe7ca5
YQ
156112015-04-24 Yao Qi <yao.qi@linaro.org>
15612
15613 * boards/remote-gdbserver-on-localhost.exp: New file.
15614
4ef9fb2f
PA
156152015-04-23 Pedro Alves <palves@redhat.com>
15616
15617 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15618 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15619 "end of file", remove $inferior_spawn_id from the indirect list.
15620
0a803169
PA
156212015-04-23 Pedro Alves <palves@redhat.com>
15622
15623 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15624
749ef8f8
PA
156252015-04-23 Pedro Alves <palves@redhat.com>
15626
15627 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15628 on $any_spawn_id instead of only on $gdb_spawn_id.
15629
8aae4344
PM
156302015-04-21 Pierre Muller <muller@sourceware.org>
15631
15632 PR pascal/17815
15633 * lib/pascal.exp (gpc_compile): Add new option "class".
15634 (fpc_compile): Likewise.
15635 * gdb.pascal/case-insensitive-symbols.pas: New file.
15636 * gdb.pascal/case-insensitive-symbols.exp: New file.
15637
1586c8fb
GB
156382015-04-20 Gary Benson <gbenson@redhat.com>
15639
15640 * gdb.base/attach.exp: Fix three extended remote failures.
15641
1b6e6f5c
GB
156422015-04-17 Gary Benson <gbenson@redhat.com>
15643
15644 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15645 the main executable over the remote protocol.
15646
e797481d
PA
156472015-04-16 Pedro Alves <palves@redhat.com>
15648
15649 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15650 a new gdbserver if gdbserver_reconnect_p is set.
15651
1ca99c42
PA
156522015-04-16 Pedro Alves <palves@redhat.com>
15653
15654 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15655 is set, don't exit gdbserver.
15656
af9fd6f8
AA
156572015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15658
15659 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15660 appropriate .insn, such that an older assembler can be used.
15661 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15662 the z/Architecture instruction set on 31-bit targets as well.
15663
04ff1e61
AA
156642015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15665
15666 * gdb.go/handcall.exp: Remove all logic related to the first
15667 breakpoint and rely on go_runto_main instead.
15668 * gdb.go/strings.exp: Likewise.
15669 * gdb.go/unsafe.exp: Likewise.
15670 * gdb.go/hello.exp: Likewise. Also rename the remaining
15671 breakpoint marker to "breakpoint 1".
15672 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15673 * gdb.go/strings.go: Likewise.
15674 * gdb.go/unsafe.go: Likewise.
15675 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15676 "set breakpoint 2 here" and rename the remaining breakpoint marker
15677 to "breakpoint 1".
15678
40d2f8d6
SM
156792015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15680
15681 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15682 if itertools.imap is not present.
15683 * gdb.python/py-objfile.exp: Add parentheses.
15684 * gdb.python/py-type.exp: Same.
15685 * gdb.python/py-unwind-maint.py: Same.
15686
8cbc97c6
YQ
156872015-04-15 Yao Qi <yao.qi@linaro.org>
15688
15689 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15690 of ":$ptr_size" and set its form explicitly.
15691
45fd756c
YQ
156922015-04-15 Pedro Alves <palves@redhat.com>
15693 Yao Qi <yao.qi@linaro.org>
15694
15695 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15696 timeout by factor of 4.
15697 (test_regular_watch): Likewise.
15698 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15699 * gdb.reverse/sigall-reverse.exp: Likewise.
15700 * gdb.reverse/until-precsave.exp: Likewise.
15701 * lib/gdb.exp (with_timeout_factor): New proc.
15702 (gdb_expect): Move some code to ...
15703 (get_largest_timeout): ... here. New procedure.
15704
9e811bc3
LM
157052015-04-14 Luis Machado <lgustavo@codesourcery.com>
15706
15707 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15708
0ff6fcb2
LM
157092015-04-13 Luis Machado <lgustavo@codesourcery.com>
15710
15711 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15712 to write to the .text section.
15713
7578d5f7
LM
157142015-04-13 Luis Machado <lgustavo@codesourcery.com>
15715
15716 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15717 Handle the case of targets that do not provide PID information.
15718
2efe15c4
YQ
157192015-04-13 Yao Qi <yao.qi@linaro.org>
15720
15721 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15722 and use expect instead of gdb_expect.
15723
8cd8f2f8
SDJ
157242015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15725
15726 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15727 "coredump_var_addr" to avoid naming conflict with other testcases.
15728
9ee41772
PA
157292015-04-10 Pedro Alves <palves@redhat.com>
15730
15731 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15732 gdb_test_sequence and gdb_assert.
15733
07473109
PA
157342015-04-10 Pedro Alves <palves@redhat.com>
15735
15736 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15737 test messages that don't include the breakpoint address.
15738
de3db44c
YQ
157392015-04-10 Yao Qi <yao.qi@linaro.org>
15740
15741 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15742 false for some offset and width combinations which aren't
15743 supported by linux kernel.
15744
c79d856c
PA
157452015-04-10 Pedro Alves <palves@redhat.com>
15746
15747 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15748 procedure, factored out from ...
15749 (top level): ... here. Add "set displaced-stepping" testing axis.
15750 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15751 parameter "displaced". Use it.
15752 (top level): Use foreach and add "set displaced-stepping" testing
15753 axis.
15754
ebc90b50
PA
157552015-04-10 Pedro Alves <palves@redhat.com>
15756
15757 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15758 Remove comment.
15759 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15760 both the address of the instruction that triggers the watchpoint
15761 and the address of the instruction immediately after, and use
15762 those addresses for the test. Fix comment.
15763
8f572e5c
PA
157642015-04-10 Pedro Alves <palves@redhat.com>
15765
15766 * gdb.base/sigstep.exp (breakpoint_to_handler)
15767 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15768 Test "backtrace" in handler.
15769 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15770 (top level): Add new "displaced" test axis to
15771 breakpoint_to_handler, breakpoint_to_handler_entry and
15772 breakpoint_over_handler.
15773
8d707a12
PA
157742015-04-10 Pedro Alves <palves@redhat.com>
15775
15776 PR gdb/18216
15777 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15778
ef713951
YQ
157792015-04-10 Yao Qi <yao.qi@linaro.org>
15780
15781 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15782 (test_add_rn_pc): New function.
15783 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15784 (top level): Invoke test_add_rn_pc.
15785
906d60cf
PA
157862015-04-10 Pedro Alves <palves@redhat.com>
15787
15788 PR gdb/13858
15789 * gdb.base/step-over-no-symbols.exp: New file.
15790
f2983cc3
AW
157912015-04-09 Andy Wingo <wingo@igalia.com>
15792
15793 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15794 after the Python tests.
15795
6d62641c
SDJ
157962015-04-08 Keith Seitz <keiths@redhat.com>
15797
15798 PR python/16699
15799 * gdb.python/py-completion.exp: New tests for completion.
15800 * gdb.python/py-completion.py (CompleteLimit1): New class.
15801 (CompleteLimit2): Likewise.
15802 (CompleteLimit3): Likewise.
15803 (CompleteLimit4): Likewise.
15804 (CompleteLimit5): Likewise.
15805 (CompleteLimit6): Likewise.
15806 (CompleteLimit7): Likewise.
15807
f3770638
PA
158082015-04-08 Pedro Alves <palves@redhat.com>
15809
15810 PR gdb/18214
15811 PR gdb/18216
15812 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15813 function.
15814 (main): Install it as SIGUSR1 handler.
15815 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15816 parameter. Always use "setup" as prefix. Toggle "set
15817 displaced-stepping" off/on depending on global. Don't switch to
15818 thread 1 here.
15819 (top level): Add displaced stepping "off/on" test axis. Update
15820 "setup" calls. Wrap each subtest with with_test_prefix. Test
15821 continuing with a queued signal in each thread.
15822
4496bed7
PA
158232015-04-08 Pedro Alves <palves@redhat.com>
15824
15825 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15826 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15827 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15828 Return early if running to main fails.
15829 * gdb.trace/while-stepping.exp: Likewise.
15830
b97fde92
PA
158312015-04-07 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15834 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15835 interact with inferior program.
15836
f71c18e7
PA
158372015-04-07 Pedro Alves <palves@redhat.com>
15838
15839 * lib/gdb.exp (inferior_spawn_id): New global.
15840 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15841 spawn id after processing the user code.
15842 (default_gdb_start): Set inferior_spawn_id.
15843 (send_inferior): New procedure.
15844 * lib/gdbserver-support.exp (gdbserver_start): Set
15845 inferior_spawn_id.
15846 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15847
6423214f
PA
158482015-04-07 Pedro Alves <palves@redhat.com>
15849
15850 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15851 * lib/gdbserver-support.exp (gdbserver_start): Make
15852 $server_spawn_id global.
15853 (gdbserver_start): Don't wait for gdbserver's spawn id with
15854 expect_background.
15855 (close_gdbserver): New procedure.
15856 (gdb_exit): Rename the default version and reimplement.
15857
71c0ee8c
PA
158582015-04-07 Pedro Alves <palves@redhat.com>
15859
72f4393d 15860 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15861 append the substituted item, not the original item.
15862
203bc29b
PA
158632015-04-07 Pedro Alves <palves@redhat.com>
15864
15865 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15866 gdb_expect.
15867
508a3ddf
PA
158682015-04-07 Pedro Alves <palves@redhat.com>
15869
15870 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15871 output appearing once only.
15872
9f6dbe2b
PA
158732015-04-07 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15876 that doesn't expect anything. Return early if running to main
15877 fails.
15878
337532fa
YQ
158792015-04-07 Yao Qi <yao.qi@linaro.org>
15880
15881 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15882 (child_function): Call alarm.
15883 (main): Move call to alarm into the loop.
15884 * gdb.threads/non-stop-fair-events.exp: Build program with
15885 -DTIMEOUT=$timeout.
15886
01b622d4
DE
158872015-04-06 Doug Evans <xdje42@gmail.com>
15888
15889 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15890 Fix dest parameter to board_info.
15891 (fpc_compile): Ditto.
15892 (gdb_compile_pascal): Rename dest arg to destfile.
15893
961f4160
PMR
158942015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15895
15896 * gdb.ada/funcall_ref.exp: New file.
15897 * gdb.ada/funcall_ref/foo.adb: New file.
15898
cafda597
YQ
158992015-04-02 Yao Qi <yao.qi@linaro.org>
15900
15901 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15902 is remote.
15903
fed040c6
GB
159042015-04-02 Gary Benson <gbenson@redhat.com>
15905
15906 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15907
d11916aa
SS
159082015-04-01 Sasha Smundak <asmundak@google.com>
15909
15910 * gdb.python/py-unwind-maint.c: New file.
15911 * gdb.python/py-unwind-maint.exp: New test.
15912 * gdb.python/py-unwind-maint.py: New file.
15913 * gdb.python/py-unwind.c: New file.
15914 * gdb.python/py-unwind.exp: New test.
15915 * gdb.python/py-unwind.py: New test.
15916
a1471180
PA
159172015-04-01 Pedro Alves <palves@redhat.com>
15918
15919 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15920 to fail instead of non-existent $test.
15921
0bbeccb1
PA
159222015-04-01 Pedro Alves <palves@redhat.com>
15923
15924 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15925 GDBFLAGS if not empty.
15926
3c724c8c
PMR
159272015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15928
15929 * gdb.ada/complete.exp: Remove "multi_line".
15930 * gdb.ada/info_exc.exp: Remove "multi_line".
15931 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15932 * gdb.ada/ptype_field.exp: Remove "multi_line".
15933 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15934 * gdb.ada/tagged.exp: Remove "multi_line".
15935 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15936 [multi_line ...]
15937 * gdb.btrace/delta.exp: Likewise.
15938 * gdb.btrace/exception.exp: Likewise.
15939 * gdb.btrace/function_call_history.exp: Likewise.
15940 * gdb.btrace/instruction_history.exp: Likewise.
15941 * gdb.btrace/nohist.exp: Likewise.
15942 * gdb.btrace/record_goto.exp: Likewise.
15943 * gdb.btrace/segv.exp: Likewise.
15944 * gdb.btrace/stepi.exp: Likewise.
15945 * gdb.btrace/tailcall.exp: Likewise.
15946 * gdb.btrace/unknown_functions.exp: Likewise.
15947 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15948 * lib/gdb.exp: Add the "multi_line" helper.
15949
4eec2deb
PA
159502015-04-01 Pedro Alves <palves@redhat.com>
15951
15952 * gdb.threads/tid-reuse.c: New file.
15953 * gdb.threads/tid-reuse.exp: New file.
15954
df8411da
SDJ
159552015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15956
15957 PR corefiles/16092
15958 * gdb.base/coredump-filter.c: New file.
15959 * gdb.base/coredump-filter.exp: Likewise.
15960
6ef37366
PM
159612015-03-27 Petr Machata <pmachata@redhat.com>
15962
15963 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15964 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15965 (Dwarf::assemble): Initialize them.
15966 (Dwarf::lines): New function.
15967
7ec911b0
JT
159682015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15969
15970 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15971 SYMBOL_PREFIX for x86_64-*-cygwin.
15972
ff908ebf
AW
159732015-03-26 Andy Wingo <wingo@igalia.com>
15974
15975 PR symtab/18148
15976 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15977 const_value but not a location.
15978 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15979 location defined in non-main CUs are visible.
15980
6d5f0679
YQ
159812015-03-26 Yao Qi <yao.qi@linaro.org>
15982
15983 PR testsuite/18139
15984 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15985 Add a line number entry for the same line.
15986 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15987 Add a line number entry for the same line.
15988
2898689b
YQ
159892015-03-26 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15992 .int 0.
15993 (func): Likewise. Add .Lfunc_1 label.
15994 Use .Lfunc_1 label.
15995 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15996 .int 0.
15997 (func): Likewise.
15998 Use .Lfunc_1 label.
15999
85180498
YQ
160002015-03-26 Yao Qi <yao.qi@linaro.org>
16001
16002 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16003 Call gdb_compile instead to compile each .s files without debug
16004 information.
16005
8aa08a8d
YQ
160062015-03-26 Yao Qi <yao.qi@linaro.org>
16007
16008 * gdb.base/savedregs.exp (process_saved_regs): Make
16009 "Saved registers:" optional in the pattern.
16010
66849923
MM
160112015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16012
16013 * gdb.btrace/next.exp: Merged into step.exp.
16014 * gdb.btrace/finish.exp: Merged into step.exp.
16015 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16016 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16017 "record goto" and checking the exact replay position.
16018 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16019 check for "Recording format" in "info record" output.
16020 * gdb.btrace/record_goto.exp: Choose test file based on target.
16021 * gdb.btrace/x86-record_goto.S: Renamed into ...
16022 * gdb.btrace/x86_64-record_goto.S: ... this.
16023 * gdb.btrace/i686-record_goto.S: New.
16024 * gdb.btrace/x86-tailcall.S: Renamed into ...
16025 * gdb.btrace/x86_64-tailcall.S: ... this.
16026 * gdb.btrace/i686-tailcall.S: New.
16027 * gdb.btrace/x86-tailcall.c: Renamed into ...
16028 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16029 separate statements. Update test.
16030 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16031 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16032 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16033 * gdb.btrace/tailcall.exp: Choose test file based on target.
16034 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16035
11cc1b74
MM
160362015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16037
16038 * gdb.btrace/exception.exp: Increase BTS buffer size.
16039
a25d8bf9
PA
160402015-03-24 Pedro Alves <palves@redhat.com>
16041
16042 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16043
856e7dd6
PA
160442015-03-24 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.threads/schedlock.exp (test_step): No longer expect that
16047 "set scheduler-locking step" with "next" over a function call runs
16048 threads unlocked.
16049
ad235a41
AT
160502015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16051
16052 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16053
15630549
AT
160542015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16055
16056 PR breakpoints/16466
16057 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16058 * gdb.mi/mi-pending.c (thread_func): New function.
16059 (int main): Add threading support required.
16060 * gdb.mi/mi-pending.exp: Add tests for this issue.
16061 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16062 (pendfunc2): Remove stdio dependency.
16063 * gdb.mi/mi-pendshr2.c: New file.
16064
693dca06
KS
160652015-03-23 Keith Seitz <keiths@redhat.com>
16066
16067 * gdb.linespec/keywords.c: New file.
16068 * gdb.linespec/keywords.exp: New file.
16069
7e993ebf
KS
160702015-03-23 Keith Seitz <keiths@redhat.com>
16071
16072 PR gdb/18021
16073 * gdb.dwarf2/staticvirtual.exp: New test.
16074
bc23328c
JK
160752015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16076
16077 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16078 * README: Remove HP-UX and gdb.hp.
16079 (configuration):
16080 * configure: Regenerate.
16081 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16082 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16083 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16084 gdb.hp/gdb.defects/Makefile.
16085 * gdb.hp/Makefile.in: File deleted.
16086 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16087 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16088 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16089 * gdb.hp/gdb.aCC/run.c: File deleted.
16090 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16091 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16092 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16093 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16094 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16095 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16096 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16097 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16098 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16099 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16100 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16101 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16102 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16103 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16104 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16105 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16106 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16107 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16108 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16109 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16110 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16111 * gdb.hp/gdb.compat/average.c: File deleted.
16112 * gdb.hp/gdb.compat/sum.c: File deleted.
16113 * gdb.hp/gdb.compat/xdb.c: File deleted.
16114 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16115 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16116 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16117 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16118 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16119 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16120 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16121 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16122 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16123 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16124 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16125 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16126 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16127 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16128 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16129 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16130 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16131 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16132 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16133 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16134 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16135 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16136 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16137 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16138 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16139 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16140 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16141 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16142 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16143 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16144 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16145 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16146 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16147 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16148 * gdb.hp/tools/odump: File deleted.
16149
8bf3b159
PA
161502015-03-19 Pedro Alves <palves@redhat.com>
16151
16152 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16153 (saw_thread_3): New globals.
16154 (top level): Increment them when an event for the corresponding
16155 thread is seen.
16156 (no thread starvation): New test.
16157
eb54c8bf
PA
161582015-03-19 Pedro Alves <palves@redhat.com>
16159
16160 * gdb.threads/continue-pending-status.c: New file.
16161 * gdb.threads/continue-pending-status.exp: New file.
16162
32d2e5d6
PA
161632015-03-18 Pedro Alves <palves@redhat.com>
16164
16165 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16166 Use gdb_is_target_remote instead of is_remote. Use
16167 gdb_test_multiple instead of gdb_expect. Exit early if
16168 gdb_test_multiple hits its internal matches. Tighten stepi tests
16169 expected output. Fail on exit with any signal, instead of just
16170 SIGILL.
16171
f68f11b7
YQ
161722015-03-18 Yao Qi <yao.qi@linaro.org>
16173
16174 PR tdep/18107
16175 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16176 variable.
16177 * gdb.base/catch-syscall.exp: Don't skip it on
16178 aarch64*-*-linux* target. Remove elements in all_syscalls.
16179 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16180 target.
16181 (setup_all_syscalls): New proc.
16182
ca5fd19b
YQ
161832015-03-16 Yao Qi <yao.qi@linaro.org>
16184
16185 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16186 (top level): Skip tests if valid_addr_p returns false for
16187 $cmd1 or $cmd2.
16188
85642ba0
AW
161892015-03-11 Andy Wingo <wingo@igalia.com>
16190
16191 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16192
e03f9645
YQ
161932015-03-11 Yao Qi <yao.qi@linaro.org>
16194
16195 * gdb.base/catch-syscall.exp: Fix typo in comments.
16196
5d0962b2
YQ
161972015-03-11 Yao Qi <yao.qi@linaro.org>
16198
16199 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16200
b2df3cef
PA
162012015-03-09 Pedro Alves <palves@redhat.com>
16202
16203 * dg-extract-results.py: Delete.
16204
ef878e53
PA
162052015-03-09 Pedro Alves <palves@redhat.com>
16206
16207 Merge dg-extract-results.sh from GCC upstream (r218843).
16208
16209 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16210 * dg-extract-results.sh: Use --text with grep to avoid issues with
16211 binary files. Fall back to cat -v, if that doesn't work.
16212
9494d219
PA
162132015-03-05 Pedro Alves <palves@redhat.com>
16214
16215 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16216
a8d9763a
SM
162172015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16218
16219 * lib/mi-support.exp (mi_expect_interrupt): Accept
16220 alternative event for when in all-stop mode.
16221
be9957b8
PA
162222015-03-04 Pedro Alves <palves@redhat.com>
16223
16224 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16225
d57be0f4 162262015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16227
16228 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16229
c214c7cf
AA
162302015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16231
16232 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16233 regexps for GDB's current line display, accept a hex address
16234 preceding the line number.
16235
6d74a497
AA
162362015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16237
16238 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16239 the 'arch1' variable for "s390*-linux*" targets.
16240
511aee7c
PA
162412015-03-04 Pedro Alves <palves@redhat.com>
16242
16243 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16244 (main): Pass missing retval argument to pthread_join call.
16245
95e50b27
PA
162462015-03-02 Pedro Alves <palves@redhat.com>
16247
16248 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16249 (top level): Call do_test with non-stop as well.
16250
28054d69
PA
162512015-03-02 Pedro Alves <palves@redhat.com>
16252
16253 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16254 -1.
16255
4fa5d7b4
AA
162562015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16257
16258 * gdb.arch/s390-vregs.exp: New test.
16259 * gdb.arch/s390-vregs.S: New file.
16260
97c18565
PA
162612015-02-27 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16264 call to catch_command_errors.
16265 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16266 catch_command_errors.
16267
a37bfa30
PA
162682015-02-27 Pedro Alves <palves@redhat.com>
16269
16270 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16271 "true" for boolean result.
16272 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16273 prototype of main.
16274
6f98576f
PA
162752015-02-27 Pedro Alves <palves@redhat.com>
16276
16277 * lib/unbuffer_output.c: New file.
16278 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16279 (main): Call gdb_unbuffer_output.
16280
eba5ab56
YQ
162812015-02-27 Yao Qi <yao.qi@linaro.org>
16282
16283 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16284 target.
16285
0def5aaa
DE
162862015-02-26 Doug Evans <dje@google.com>
16287
16288 * gdb.cp/class2.cc (Dbase, D): New classes.
16289 (main): New local delta.
16290 * gdb.cp/class2.exp: Test printing delta.
16291 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16292 (dynbar): New global.
16293 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16294
081a1c2c
JK
162952015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16296
16297 * gdb.compile/compile-ifunc.c: New file.
16298 * gdb.compile/compile-ifunc.exp: New file.
16299
2f41223f
AT
163002015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16301
16302 * gdb.base/structs.exp: Check for correct struct on finish.
16303
03eddd80
YQ
163042015-02-26 Yao Qi <yao.qi@linaro.org>
16305
16306 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16307 is zero.
16308
80c57053
JK
163092015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16310
16311 * gdb.arch/cordic.ko.bz2: New file.
16312 * gdb.arch/cordic.ko.debug.bz2: New file.
16313 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16314
21613c12
YQ
163152015-02-25 Yao Qi <yao.qi@linaro.org>
16316
16317 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16318 aarch64*-*-* target.
16319
d8b901ed
PA
163202015-02-23 Pedro Alves <palves@redhat.com>
16321
16322 * lib/gdb.exp (delete_breakpoints): Rewrite using
16323 gdb_test_multiple.
16324
e5b85ead
PA
163252015-02-23 Pedro Alves <palves@redhat.com>
16326
16327 * gdb.base/info-os.c: Include stdlib.h.
16328
85c3a371
DE
163292015-02-22 Doug Evans <xdje42@gmail.com>
16330
16331 PR symtab/17855
16332 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16333 is read after symbols have been re-read.
16334 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16335 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16336
96553a0c
DE
163372015-02-21 Doug Evans <dje@google.com>
16338
16339 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16340
97a0c697
JK
163412015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16342
16343 PR corefiles/17808
16344 * gdb.arch/i386-biarch-core.core.bz2: New file.
16345 * gdb.arch/i386-biarch-core.exp: New file.
16346
a47cd6e9
PA
163472015-02-21 Pedro Alves <palves@redhat.com>
16348
16349 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16350 runto_main fails.
16351
c5facdc4
PA
163522015-02-20 Pedro Alves <palves@redhat.com>
16353
16354 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16355 info probes.
16356
2db9a427
PA
163572015-02-20 Pedro Alves <palves@redhat.com>
16358
16359 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16360
60fb7e9e
PA
163612015-02-20 Pedro Alves <palves@redhat.com>
16362
16363 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16364 clean_restart before gdb_target_supports_trace.
16365
5c5019c2
PA
163662015-02-20 Pedro Alves <palves@redhat.com>
16367
16368 PR threads/18006
16369 * gdb.threads/clone-thread_db.c: New file.
16370 * gdb.threads/clone-thread_db.exp: New file.
16371
c9587f88
AT
163722015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16373
16374 PR breakpoints/16812
16375 * gdb.base/catch-gdb-caused-signals.c: New file.
16376 * gdb.base/catch-gdb-caused-signals.exp: New file.
16377
f6a88844
JM
163782015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16379
16380 * configure: Regenerated.
16381 * configure.ac: Use GDB_AC_TRANSFORM.
16382 * aclocal.m4: sinclude ../transform.m4.
16383
497c491b
JM
163842015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16385
16386 * lib/dtrace.exp: New file.
16387 * gdb.base/dtrace-probe.exp: Likewise.
16388 * gdb.base/dtrace-probe.d: Likewise.
16389 * gdb.base/dtrace-probe.c: Likewise.
16390 * lib/pdtrace.in: Likewise.
16391 * configure.ac: Output variables with the transformed names of
16392 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16393 * configure: Regenerated.
16394
03e98035
JM
163952015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16396
16397 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16398 expected message when trying to access $_probe_* convenience
16399 variables while not on a probe.
16400
63cc30e9
JK
164012015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16402
16403 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16404
0703599a
PA
164052015-02-11 Pedro Alves <pedro@codesourcery.com>
16406
16407 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16408 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16409
7e60a48e
DE
164102015-02-10 Doug Evans <xdje42@gmail.com>
16411
16412 * lib/gdb.exp (gdb_load): Always return a result.
16413
01b088bc
PA
164142015-02-10 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.threads/signal-sigtrap.c: New file.
16417 * gdb.threads/signal-sigtrap.exp: New file.
16418
b05ec7a5
AT
164192015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16420
16421 * gdb.trace/no-attach-trace.c: New file.
16422 * gdb.trace/no-attach-trace.exp: New file.
16423
a2c2acaf
MW
164242015-02-09 Mark Wielaard <mjw@redhat.com>
16425
16426 * gdb.dwarf2/atomic.c: New file.
16427 * gdb.dwarf2/atomic-type.exp: Likewise.
16428
31fd9caa
MM
164292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16430
16431 * gdb.btrace/buffer-size.exp: Update "info record" output.
16432 * gdb.btrace/delta.exp: Update "info record" output.
16433 * gdb.btrace/enable.exp: Update "info record" output.
16434 * gdb.btrace/finish.exp: Update "info record" output.
16435 * gdb.btrace/instruction_history.exp: Update "info record" output.
16436 * gdb.btrace/next.exp: Update "info record" output.
16437 * gdb.btrace/nexti.exp: Update "info record" output.
16438 * gdb.btrace/step.exp: Update "info record" output.
16439 * gdb.btrace/stepi.exp: Update "info record" output.
16440 * gdb.btrace/nohist.exp: Update "info record" output.
16441
d33501a5
MM
164422015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16443
16444 * gdb.btrace/buffer-size: New.
16445
f4abbc16
MM
164462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16447
16448 * gdb.btrace/delta.exp: Update "info record" output.
16449 * gdb.btrace/enable.exp: Update "info record" output.
16450 * gdb.btrace/finish.exp: Update "info record" output.
16451 * gdb.btrace/instruction_history.exp: Update "info record" output.
16452 * gdb.btrace/next.exp: Update "info record" output.
16453 * gdb.btrace/nexti.exp: Update "info record" output.
16454 * gdb.btrace/step.exp: Update "info record" output.
16455 * gdb.btrace/stepi.exp: Update "info record" output.
16456 * gdb.btrace/nohist.exp: Update "info record" output.
16457
b9d61307
SM
164582015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16459
16460 PR gdb/15678
16461 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16462
e584fdbc
PA
164632015-02-06 Pedro Alves <palves@redhat.com>
16464
16465 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16466 macro.
16467 (seconds_left, again): New globals.
16468 (main): Wait seconds_left in a 1-second sleep loop instead of
16469 sleeping 180 seconds. If 'again' is set, reset the seconds
16470 counter.
16471 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16472 'again' in the inferior before detaching. Print the seconds left.
16473 (options): New global.
16474 (top level): Build program with -DTIMEOUT=$timeout.
16475
77f41761
PA
164762015-02-06 Pedro Alves <palves@redhat.com>
16477
16478 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16479 determine how many seconds to pass to 'alarm'.
16480 * gdb.base/gdb-sigterm.exp (top level): Build program with
16481 -DTIMEOUT=$timeout.
16482 (do_test): Return success/failure indication. Add more verbose
16483 logging. Don't fail if 200 single steps are seen. Instead, fail
16484 when the test times out.
16485 (passes): New global.
16486 (top level): Break the testing loop if testing fails on any
16487 iteration. Use gdb_assert.
16488
b9394193
DB
164892015-02-04 Don Breazeal <donb@codesourcery.com>
16490
16491 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16492 and initialize them.
16493 (ipc_cleanup): New function.
16494 (main): Don't declare shmid, semid, and msqid. Add a call to
16495 atexit so that we call ipc_cleanup on exit.
16496
42d9e528
PA
164972015-02-04 Pedro Alves <palves@redhat.com>
16498
16499 * boards/native-extended-gdbserver.exp: Remove any target variant
16500 specifications from the board name before clearing the isremote
16501 flag from board_info.
16502
ae6ae975
DE
165032015-01-31 Doug Evans <xdje42@gmail.com>
16504
16505 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16506
cfb069a8
GB
165072015-01-31 Gary Benson <gbenson@redhat.com>
16508
16509 * gdb.base/completion.exp: Disable completion limiting for
16510 existing tests. Add new tests to check completion limiting.
16511 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16512
5dd31d79
DE
165132015-01-31 Doug Evans <xdje42@gmail.com>
16514
16515 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16516
9f050062
DE
165172015-01-31 Doug Evans <xdje42@gmail.com>
16518
16519 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16520 entries. Duplicate file section script entries.
16521 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16522 inlined entries. Add test for safe-path rejection.
16523 * gdb.python/py-section-script.c: Add duplicate inlined section script
16524 entries. Duplicate file section script entries.
16525 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16526 inlined entries. Add test for safe-path rejection.
16527
df25ebbd
JB
165282015-01-29 Joel Brobecker <brobecker@adacore.com>
16529
16530 * gdb.ada/disc_arr_bound: New testcase.
16531
4a0ca9ec
JB
165322015-01-29 Joel Brobecker <brobecker@adacore.com>
16533
16534 * gdb.ada/mi_var_array: New testcase.
16535
3a8b707a
DE
165362015-01-27 Doug Evans <dje@google.com>
16537
16538 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16539 Add test for objfile.filename, objfile.username after objfile
16540 has been unloaded.
16541
f8313f6e
JB
165422015-01-26 Joel Brobecker <brobecker@adacore.com>
16543
16544 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16545 the second test to print the name attribute of value
16546 returned by the call to gdb.lookup_type, and adjust
16547 the expected output accordingly.
16548
37bc665e
MW
165492015-01-25 Mark Wielaard <mjw@redhat.com>
16550
16551 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16552 * gdb.base/disp-step-fork.c: Include unistd.h.
16553 * gdb.base/siginfo-obj.c: Include stdio.h.
16554 * gdb.base/siginfo-thread.c: Likewise.
16555 * gdb.mi/non-stop.c: Include unistd.h.
16556 * gdb.mi/nsthrexec.c: Include stdio.h.
16557 * gdb.mi/pthreads.c: Include unistd.h.
16558 * gdb.modula2/unbounded1.c (main): Declare returns int.
16559 * gdb.reverse/consecutive-reverse.c: Likewise.
16560 * gdb.threads/create-fail.c: Include unistd.h.
16561 * gdb.threads/killed.c: Likewise.
16562 * gdb.threads/linux-dp.c: Likewise.
16563 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16564 * gdb.threads/non-ldr-exc-2.c: Likewise.
16565 * gdb.threads/non-ldr-exc-3.c: Likewise.
16566 * gdb.threads/non-ldr-exc-4.c: Likewise.
16567 * gdb.threads/pthreads.c: Include unistd.h.
16568 (main): Declare returns int.
16569 * gdb.threads/tls-main.c (foo): New declaration.
16570 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16571
f7e5394d
SM
165722015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16573
16574 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16575 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16576
743649fd
MW
165772015-01-15 Mark Wielaard <mjw@redhat.com>
16578
16579 * gdb.base/noreturn-return.c: New file.
16580 * gdb.base/noreturn-return.exp: New file.
16581 * gdb.base/noreturn-finish.c: New file.
16582 * gdb.base/noreturn-finish.exp: New file.
16583
198297aa
PA
165842015-01-23 Pedro Alves <palves@redhat.com>
16585
16586 * gdb.threads/continue-pending-after-query.c: New file.
16587 * gdb.threads/continue-pending-after-query.exp: New file.
16588
717cf30c
AG
165892015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16590 Simon Marchi <simon.marchi@ericsson.com>
16591
16592 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16593 * gdb.base/valgrind-db-attach.exp: Same.
16594 * gdb.base/valgrind-infcall.exp: Same.
16595 * lib/mi-support.exp (default_mi_gdb_start): Same.
16596 * lib/prompt.exp (default_prompt_gdb_start): Same.
16597 * lib/gdb.exp (default_gdb_spawn): Same.
16598 (gdb_interact): New.
16599
16600
4b62a76e
JK
166012015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16602
16603 * gdb.compile/compile.exp (pointer to jit function): New test.
16604
b4cdae6f
WW
166052015-01-17 Wei-cheng Wang <cole945@gmail.com>
16606
16607 * lib/gdb.exp (supports_process_record): Return true for
16608 powerpc*-*-linux*.
16609 (supports_reverse): Likewise.
16610
d221e7ef
DB
166112015-01-15 Don Breazeal <donb@codesourcery.com>
16612
16613 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16614 instead of checking whether the target board is remote and
16615 use spawn_wait_for_attach instead of exec/sleep.
16616 * gdb.base/attach-twice.exp: Likewise.
16617
bafffb51
JB
166182015-01-15 Joel Brobecker <brobecker@adacore.com>
16619
16620 * gdb.ada/var_arr_attrs: New testcase.
16621
5589af0e
PA
166222015-01-14 Pedro Alves <palves@redhat.com>
16623 Joel Brobecker <brobecker@adacore.com>
16624
16625 PR gdb/17525
16626 * gdb.base/bp-cmds-execution-x-script.c: New file.
16627 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16628 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16629
6c400b59
PA
166302015-01-14 Pedro Alves <palves@redhat.com>
16631
16632 PR cli/17828
16633 * gdb.base/batch-preserve-term-settings.c: New file.
16634 * gdb.base/batch-preserve-term-settings.exp: New file.
16635
e02c96a7
DE
166362015-01-13 Doug Evans <dje@google.com>
16637
16638 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16639 binary.
16640
576fd14c
JB
166412015-01-13 Joel Brobecker <brobecker@adacore.com>
16642
16643 * Makefile.in (clean mostlyclean): Do not delete *.py.
16644
04dccad0
JB
166452015-01-13 Joel Brobecker <brobecker@adacore.com>
16646
16647 * gdb.python/py-lookup-type.exp: New file.
16648
3d230f71
PA
166492015-01-12 Pedro Alves <palves@redhat.com>
16650
16651 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16652 restore GDBFLAGS before returning.
16653
7e67715d
JK
166542015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16655
16656 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16657 is_amd64_regs_target and is_x86_like_target.
16658
f2e0d4b4
DE
166592015-01-11 Doug Evans <xdje42@gmail.com>
16660
16661 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16662 is given without an explicit form.
16663 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16664 attributes.
16665 * gdb.dwarf/corrupt.exp: Ditto.
16666 * gdb.dwarf2/enum-type.exp: Ditto.
16667 * gdb.trace/entry-values.exp: Ditto.
16668 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16669
439250fb
DE
166702015-01-11 Doug Evans <xdje42@gmail.com>
16671
16672 PR gdb/15830
16673 * gdb.base/maint.exp: Remove references to "maint demangle".
16674 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16675 Add tests for explicitly specifying language to demangle.
16676 * gdb.dlang/demangle.exp: Ditto.
16677
ede9f622
PA
166782015-01-09 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.threads/non-stop-fair-events.c: New file.
16681 * gdb.threads/non-stop-fair-events.exp: New file.
16682
a7b796db
PA
166832015-01-09 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16686 the global scope. Set a breakpoint after all threads are started
16687 rather than stepping over two source lines. Expect the prompt.
16688 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16689 global.
16690 (NUM): Now 15.
16691 (main): Use threads_started_barrier to wait for all threads to
16692 start. Main thread no longer calls thread_function. Exit after
16693 180 seconds.
16694 (loop): New function.
16695 (thread_function): Wait on threads_started_barrier barrier. Call
16696 'loop' at each iteration.
16697 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16698 threads have started, instead of hardcoding number of "next"
16699 steps. Use an access watchpoint instead of a write watchpoint.
16700
9665ffdd
PA
167012015-01-09 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16704 (thread_func): Wait on barrier.
16705 (main): Wait for all threads to start before stopping GDB.
16706 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16707 global.
16708 (thread1_func, thread2_func): Wait on barrier.
16709 (main): Wait for all threads to start before stopping GDB.
16710 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16711 New global.
16712 (thread1_func, thread2_func): Wait on barrier.
16713 (main): Wait for all threads to start before stopping GDB.
16714
c945a99f
PA
167152015-01-09 Pedro Alves <palves@redhat.com>
16716
16717 * gdb.threads/attach-many-short-lived-threads.c: New file.
16718 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16719
c1a747c1
PA
167202014-01-09 Pedro Alves <palves@redhat.com>
16721
16722 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16723 instead of to thread 2.
16724 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16725 Add barrier around each pthread_create call instead of around all
16726 calls.
16727 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16728 Set a break on thread_function and have the child threads hit it
16729 one at at a time.
16730
60b3033e
PA
167312015-01-09 Pedro Alves <palves@redhat.com>
16732
16733 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16734 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16735 false.
16736 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16737 checking whether the target board is remote.
16738 * gdb.multi/multi-attach.exp: Likewise.
16739 * gdb.python/py-sync-interp.exp: Likewise.
16740 * gdb.server/ext-attach.exp: Likewise.
16741 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16742 tests that need to attach, instead of checking whether the target
16743 board is remote at the top of the file.
16744
acc018ac
YQ
167452015-01-08 Yao Qi <yao@codesourcery.com>
16746
16747 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16748
50a18af8
JK
167492015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16750
16751 Fix testcase compilation.
16752 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16753
8503d6e1
JB
167542015-01-06 Joel Brobecker <brobecker@adacore.com>
16755
16756 * gdb.python/py-type.exp: Add a couple test about empty
16757 array creation, and negative-length array creation.
16758
cc73dbcc
DE
167592015-01-02 Doug Evans <xdje42@gmail.com>
16760
16761 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16762
0300bbc7
DE
167632015-01-02 Doug Evans <dje@google.com>
16764
16765 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16766
9d85a0ec
YQ
167672014-12-29 Yao Qi <yao@codesourcery.com>
16768
16769 * gdb.trace/entry-values.exp: Update comments. Rename variable
16770 bar_call_foo to returned_from_foo.
16771
87186c6a
MMN
167722014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16773
16774 PR gdb/17394
16775 * gdb.linespec/break-asm-file.c: New file.
16776 * gdb.linespec/break-asm-file.exp: New file.
16777 * gdb.linespec/break-asm-file0.s: New file.
16778 * gdb.linespec/break-asm-file1.s: New file.
16779
1bab7383
YQ
167802014-12-18 Nigel Stephens <nigel@mips.com>
16781 Maciej W. Rozycki <macro@codesourcery.com>
16782
16783 * gdb.base/float.exp: Handle the new output from "info float" on
16784 MIPS targets.
16785
1bc1068a
JK
167862014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16787
16788 Fix MinGW compilation.
16789 * gdb.compile/compile-ops.exp: Update untested message if
16790 !skip_compile_feature_tests.
16791 * gdb.compile/compile-setjmp.exp: Likewise.
16792 * gdb.compile/compile-tls.exp: Likewise.
16793 * gdb.compile/compile.exp: Likewise.
16794 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16795 supported on this host".
16796
b6615d10
DE
167972014-12-16 Doug Evans <xdje42@gmail.com>
16798
16799 * boards/stabs.exp: New file.
16800
25dda427
AA
168012014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16802
16803 * gdb.base/completion.exp: Adjust to format changes of "maint
16804 print user-registers".
16805
bf330350
CU
168062014-12-16 Catalin Udma <catalin.udma@freescale.com>
16807
16808 PR server/17457
16809 * gdb.arch/aarch64-fp.c: New file.
16810 * gdb.arch/aarch64-fp.exp: New file.
16811
395cf596
SDJ
168122014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16813
16814 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16815 r210637, r210913, r211666, r215400, r215817).
16816
16817 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16818 * dg-extract-results.py: New file.
16819 * dg-extract-results.sh: Use it if the environment seems
16820 suitable.
16821
16822 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16823
16824 * dg-extract-results.py (parse_run): Handle warnings that
16825 are printed before a test harness is run.
16826
16827 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16828
16829 * dg-extract-results.py (Named): Remove __cmp__ method.
16830 (output_variation): Use a key to sort variation.harnesses.
16831
16832 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16833
16834 * dg-extract-results.py: For Python 3, force sys.stdout to
16835 handle surrogate escape sequences.
16836 (safe_open): New function.
16837 (output_segment, main): Use it.
16838
16839 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16840
16841 * dg-extract-results.py (Prog.result_re): Include options
16842 in test name.
16843
16844 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16845
16846 * dg-extract-results.py (output_variation): Always sort if
16847 do_sum.
16848
e882ef3c
SM
168492014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16850
16851 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16852 as long as we get pagination notifications.
16853
4992aa20
JM
168542014-12-15 Jason Merrill <jason@redhat.com>
16855
16856 * Makefile.in (check-gdb.%): Restore.
16857 * README: Mention it.
16858
c1b5a1a6
JB
168592014-12-13 Joel Brobecker <brobecker@adacore.com>
16860
16861 * gdb.ada/str_uninit: New testcase.
16862
5537b577
JK
168632014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16864
16865 PR symtab/17642
16866 * gdb.base/vla-stub-define.c: New file.
16867 * gdb.base/vla-stub.c: New file.
16868 * gdb.base/vla-stub.exp: New file.
16869
bb2ec1b3
TT
168702014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16871 Jan Kratochvil <jan.kratochvil@redhat.com>
16872 Tom Tromey <tromey@redhat.com>
16873
16874 * configure.ac: Add gdb.compile/.
16875 * configure: Regenerate.
16876 * gdb.compile/Makefile.in: New file.
16877 * gdb.compile/compile-ops.exp: New file.
16878 * gdb.compile/compile-ops.c: New file.
16879 * gdb.compile/compile-tls.c: New file.
16880 * gdb.compile/compile-tls.exp: New file.
16881 * gdb.compile/compile-constvar.S: New file.
16882 * gdb.compile/compile-constvar.c: New file.
16883 * gdb.compile/compile-mod.c: New file.
16884 * gdb.compile/compile-nodebug.c: New file.
16885 * gdb.compile/compile-setjmp-mod.c: New file.
16886 * gdb.compile/compile-setjmp.c: New file.
16887 * gdb.compile/compile-setjmp.exp: New file.
16888 * gdb.compile/compile-shlib.c: New file.
16889 * gdb.compile/compile.c: New file.
16890 * gdb.compile/compile.exp: New file.
16891 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16892
4ff709eb
TT
168932014-12-12 Tom Tromey <tromey@redhat.com>
16894
16895 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16896 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16897
6dddd6a5
DE
168982014-12-12 Doug Evans <dje@google.com>
16899
16900 * lib/gdb-python.exp (get_python_valueof): New function.
16901 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16902
71c24708
AA
169032014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16904
16905 * gdb.base/completion.exp: Add test for completion of "info
16906 registers ".
16907
3e29f34a
MR
169082014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16909
16910 * gdb.base/func-ptrs.c: New file.
16911 * gdb.base/func-ptrs.exp: New file.
16912
fc126975
SM
169132014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16914
16915 PR breakpoints/17012
16916 * gdb.base/dprintf-detach.c: New file.
16917 * gdb.base/dprintf-detach.exp: New file.
16918
0a46d518
SM
169192014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16920
16921 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16922 * lib/gdb.exp (target_is_gdbserver): New procedure.
16923
a0be3e44
DE
169242014-12-08 Doug Evans <dje@google.com>
16925
16926 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16927
df1b803a
YQ
169282014-12-05 Yao Qi <yao@codesourcery.com>
16929
16930 * gdb.guile/scm-error.exp: Remove the third argument to
16931 gdb_remote_download.
16932 * gdb.guile/scm-frame-args.exp: Likewise.
16933 * gdb.guile/scm-section-script.exp: Likewise.
16934
ddb9f679
YQ
169352014-12-05 Yao Qi <yao@codesourcery.com>
16936
16937 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16938
86e4ed39
DE
169392014-12-04 Doug Evans <dje@google.com>
16940
16941 * gdb.python/py-objfile.exp: Add tests for
16942 objfile.add_separate_debug_file.
16943
7c50a931
DE
169442014-12-04 Doug Evans <dje@google.com>
16945
16946 * lib/gdb.exp (get_build_id): New function.
16947 (build_id_debug_filename_get): Rewrite to use it.
16948 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16949
621661e3
MR
169502014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16951
16952 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16953 `method(long)', not just 0x0.
16954 * gdb.cp/nsalias.exp: Align code labels to 4.
16955 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16956 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16957 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16958 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16959 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16960 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16961
29f0c3b7
DE
169622014-12-02 Doug Evans <dje@google.com>
16963
e1e061e7 16964 PR symtab/17602
29f0c3b7 16965 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16966 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16967 * gdb.cp/anon-ns.exp: Update.
16968
162078c8
NB
169692014-12-02 Nick Bull <nicholaspbull@gmail.com>
16970
16971 * gdb.python/py-events.py (inferior_call_handler): New.
16972 (register_changed_handler, memory_changed_handler): New.
16973 (test_events.invoke): Register new handlers.
16974 * gdb.python/py-events.exp: Add tests for inferior call,
16975 memory_changed and register_changed events.
16976
fdb09caf
AA
169772014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16978
16979 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16980 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16981 if the linker doesn't understand this.
16982
55cfb2c4
SM
169832014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16984
16985 * gdb.python/python.exp: Change expected reply to help().
16986
9e8cd6df
YQ
169872014-12-01 Yao Qi <yao@codesourcery.com>
16988
16989 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16990 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16991 * configure: Re-generated.
16992
6c659fc2
SC
169932014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16994
16995 * gdb.cp/chained-calls.cc: New file.
16996 * gdb.cp/chained-calls.exp: New file.
16997 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16998
d7fc3181
SM
169992014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17000
17001 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17002 * gdb.dwarf2/symtab-producer.exp: Same.
17003 * gdb.gdb/python-interrupts.exp: Same.
17004 * gdb.gdb/python-selftest.exp: Same.
17005 * gdb.python/py-linetable.exp: Same.
17006 * gdb.python/py-type.exp: Same.
17007 * gdb.python/py-value-cc.exp: Same.
17008 * gdb.python/py-value.exp: Same.
17009
10e79639
YQ
170102014-11-28 Yao Qi <yao@codesourcery.com>
17011
17012 * gdb.base/break-probes.exp: Match library name prefixed with
17013 sysroot.
17014
f28a0564
SM
170152014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17016
17017 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17018 test expected output. Add parentheses for the call to print.
17019 Remove L suffix from integers.
17020
3fe1ce1d
DE
170212014-11-26 Doug Evans <dje@google.com>
17022
17023 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17024
84429e27
YQ
170252014-11-22 Yao Qi <yao@codesourcery.com>
17026
17027 * gdb.trace/entry-values.c: Remove asms.
17028 (foo): Add foo_label.
17029 (bar): Add bar_label.
17030 * gdb.trace/entry-values.exp: Remove code computing foo's
17031 length and bar's length.
17032 (Dwarf::assemble): Invoke function_range for bar and use
17033 MACRO_AT_func for foo.
17034
26741859
YQ
170352014-11-22 Yao Qi <yao@codesourcery.com>
17036
17037 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17038 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17039 Use .Lgcc43_procstart instead of gcc43.
17040
45e44d27
JB
170412014-11-21 Joel Brobecker <brobecker@adacore.com>
17042
17043 * gdb.ada/n_arr_bound: New testcase.
17044
458c8db8
SDJ
170452014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17046
17047 PR breakpoints/10737
17048 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17049 test_catch_syscall_multi_arch.
17050 (test_catch_syscall_multi_arch): New function.
17051
43f3e411
DE
170522014-11-20 Doug Evans <xdje42@gmail.com>
17053
17054 * gdb.base/maint.exp: Update expected output.
17055
0d7b2549
AA
170562014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17057
17058 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17059 4-byte instruction on S390.
17060
8908fca5
JB
170612014-11-19 Joel Brobecker <brobecker@adacore.com>
17062
17063 * gdb.ada/arr_arr: New testcase.
17064
4a46959e
JB
170652014-11-19 Joel Brobecker <brobecker@adacore.com>
17066
17067 * gdb.ada/pkd_arr_elem: New Testcase.
17068
470e2f4e
LM
170692014-11-18 Luis Machado <lgustavo@codesourcery.com>
17070
17071 * gdb.reverse/break-precsave: Expect completion message for
17072 core file reads.
17073 * gdb.reverse/consecutive-precsave.exp: Likewise.
17074 * gdb.reverse/finish-precsave.exp: Likewise.
17075 * gdb.reverse/i386-precsave.exp: Likewise.
17076 * gdb.reverse/machinestate-precsave.exp: Likewise.
17077 * gdb.reverse/sigall-precsave.exp: Likewise.
17078 * gdb.reverse/solib-precsave.exp: Likewise.
17079 * gdb.reverse/step-precsave.exp: Likewise.
17080 * gdb.reverse/until-precsave.exp: Likewise.
17081 * gdb.reverse/watch-precsave.exp: Likewise.
17082
a267f3ad
AA
170832014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17084
17085 * gdb.base/bp-permanent.c: Include unistd.h.
17086 * gdb.python/py-framefilter-mi.c (main): Add return type.
17087 * gdb.python/py-framefilter.c (main): Likewise.
17088 * gdb.trace/actions-changed.c (main): Likewise.
17089
12084a9a
AA
170902014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17091
17092 * gdb.mi/until.c: Add eye-catchers.
17093 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17094 line numbers.
17095
dc7e1a77
AA
170962014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17097
17098 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17099 function header variants in break1.c.
17100 * gdb.base/ena-dis-br.exp: Likewise.
17101 * gdb.base/hbreak2.exp: Likewise.
17102 * gdb.reverse/until-precsave.exp: Drop references to removed
17103 non-prototype function header variants in ur1.c.
17104 * gdb.reverse/until-reverse.exp: Likewise.
17105
41c77605
PM
171062014-11-17 Petr Machata <pmachata@redhat.com>
17107
17108 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17109 ${_cu_offset_size} bytes abbrev offset.
17110
34248c3a
DE
171112014-11-15 Doug Evans <xdje42@gmail.com>
17112
17113 PR symtab/17559
17114 * gdb.base/line-symtabs.exp: New file.
17115 * gdb.base/line-symtabs.c: New file.
17116 * gdb.base/line-symtabs.h: New file.
17117
646da059
YQ
171182014-11-14 Yao Qi <yao@codesourcery.com>
17119
17120 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17121 (func): Add label func_label.
17122 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17123 Replace low_pc and high_pc with MACRO_AT_range.
17124 Replace name, low_pc and high_pc with MACRO_AT_func.
17125
9301ebe6
YQ
171262014-11-14 Yao Qi <yao@codesourcery.com>
17127
17128 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17129 Replace name, low_pc and high_pc with MACRO_AT_func.
17130
f166b542
YQ
171312014-11-14 Yao Qi <yao@codesourcery.com>
17132
17133 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17134 produce debug information.
17135 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17136
0f6e71e3
YQ
171372014-11-14 Yao Qi <yao@codesourcery.com>
17138
17139 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17140 object and get function length.
17141 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17142 with MACRO_AT_func.
17143 (top-level): Replace gdb_compile and clean_restart with
17144 prepare_for_testing.
17145 * gdb.dwarf2/main.c (main): Add label main_label.
17146
876c4df9
YQ
171472014-11-14 Yao Qi <yao@codesourcery.com>
17148
17149 * lib/dwarf.exp (function_range): New procedure.
17150 (Dwarf::_handle_macro_at_func): New procedure.
17151 (Dwarf::_handle_macro_at_range): New procedure.
17152 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17153
02ad9cf1
YQ
171542014-11-14 Yao Qi <yao@codesourcery.com>
17155
17156 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17157 (_handle_attribute): New procedure.
17158
a59add0c
AA
171592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17160
17161 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17162 * gdb.base/call-sc.c (zed): Likewise.
17163 * gdb.base/checkpoint.c (main): Likewise.
17164 * gdb.base/dump.c (main): Likewise.
17165 * gdb.base/gcore.c (main): Likewise.
17166 * gdb.base/huge.c (main): Likewise.
17167 * gdb.base/multi-forks.c (main): Likewise.
17168 * gdb.base/pr10179-a.c (main): Likewise.
17169 * gdb.base/savedregs.c (main): Likewise.
17170 * gdb.base/sigaltstack.c (main): Likewise.
17171 * gdb.base/siginfo.c (main): Likewise.
17172 * gdb.base/structs.c (zed): Likewise.
17173 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17174 * gdb.mi/mi-syn-frame.c (main): Likewise.
17175 * gdb.mi/until.c (foo, main): Likewise.
17176 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17177 * gdb.base/solib-weak.c (foo): Declare.
17178 * gdb.base/attach-twice.c: Include stdio.h.
17179 * gdb.base/weaklib1.c: Likewise.
17180 * gdb.base/weaklib2.c: Likewise.
17181 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17182 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17183 unistd.h.
17184 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17185 * gdb.mi/mi-exit-code.c: Likewise.
17186 * gdb.base/break-interp-lib.c: Include string.h.
17187 * gdb.base/coremaker.c: Likewise.
17188 * gdb.base/testenv.c: Likewise.
17189 * gdb.python/py-finish-breakpoint.c: Likewise.
17190 * gdb.base/inferior-died.c: Include sys/wait.h.
17191 * gdb.base/fileio.c: Include time.h.
17192 * gdb.base/async-shell.c: Include unistd.h.
17193 * gdb.base/dprintf-non-stop.c: Likewise.
17194 * gdb.base/info-os.c: Likewise.
17195 * gdb.mi/mi-console.c: Likewise.
17196 * gdb.mi/watch-nonstop.c: Likewise.
17197 * gdb.python/py-events.c: Likewise.
17198 * gdb.base/async.c (baz): Move up before its invocation.
17199 * gdb.base/code_elim2.c (my_global_func): Likewise.
17200 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17201 * gdb.base/advance.c (func2): Likewise.
17202
3b5d5997
AA
172032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17204
17205 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17206 variant.
17207 * gdb.base/annota3.c: Likewise.
17208 * gdb.base/async.c: Likewise.
17209 * gdb.base/average.c: Likewise.
17210 * gdb.base/call-ar-st.c: Likewise.
17211 * gdb.base/call-rt-st.c: Likewise.
17212 * gdb.base/call-sc.c: Likewise.
17213 * gdb.base/call-strs.c: Likewise.
17214 * gdb.base/ending-run.c: Likewise.
17215 * gdb.base/execd-prog.c: Likewise.
17216 * gdb.base/exprs.c: Likewise.
17217 * gdb.base/foll-exec.c: Likewise.
17218 * gdb.base/foll-fork.c: Likewise.
17219 * gdb.base/foll-vfork.c: Likewise.
17220 * gdb.base/funcargs.c: Likewise.
17221 * gdb.base/gcore.c: Likewise.
17222 * gdb.base/jump.c: Likewise.
17223 * gdb.base/langs0.c: Likewise.
17224 * gdb.base/langs1.c: Likewise.
17225 * gdb.base/langs2.c: Likewise.
17226 * gdb.base/mips_pro.c: Likewise.
17227 * gdb.base/nodebug.c: Likewise.
17228 * gdb.base/opaque0.c: Likewise.
17229 * gdb.base/opaque1.c: Likewise.
17230 * gdb.base/recurse.c: Likewise.
17231 * gdb.base/run.c: Likewise.
17232 * gdb.base/scope0.c: Likewise.
17233 * gdb.base/scope1.c: Likewise.
17234 * gdb.base/setshow.c: Likewise.
17235 * gdb.base/setvar.c: Likewise.
17236 * gdb.base/shmain.c: Likewise.
17237 * gdb.base/shr1.c: Likewise.
17238 * gdb.base/shr2.c: Likewise.
17239 * gdb.base/sigall.c: Likewise.
17240 * gdb.base/signals.c: Likewise.
17241 * gdb.base/so-indr-cl.c: Likewise.
17242 * gdb.base/solib2.c: Likewise.
17243 * gdb.base/structs.c: Likewise.
17244 * gdb.base/sum.c: Likewise.
17245 * gdb.base/vforked-prog.c: Likewise.
17246 * gdb.base/watchpoint.c: Likewise.
17247 * gdb.reverse/shr2.c: Likewise.
17248 * gdb.reverse/until-reverse.c: Likewise.
17249 * gdb.reverse/ur1.c: Likewise.
17250 * gdb.reverse/watch-reverse.c: Likewise.
17251
066a77c5
AA
172522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17253
17254 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17255 variant.
17256 * gdb.base/sepdebug.exp: Drop references to removed code.
17257
4f204ea5
AA
172582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17259
17260 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17261 variant. Preserve original line numbering.
17262 * gdb.base/list1.c: Likewise.
17263
3b377a3a
AA
172642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17265
17266 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17267 variant.
17268 * gdb.base/break1.c: Likewise.
17269 * gdb.base/break.exp: Drop references to removed code.
17270
e444df73
AA
172712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17272
17273 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17274 variant.
17275
8008f2a7
AA
172762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17277
17278 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17279
a5a06887
AA
172802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17281
17282 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17283 logic into perform_all_tests() and invoke it with and without
17284 function header prototypes.
17285 (do_function_calls): Remove conditional XFAIL for PR 5318.
17286 (rerun_and_prepare): Remove duplicate code.
17287 (perform_all_tests): New. Main logic moved here.
17288
44dba9b9
AA
172892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17290
17291 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17292 code guarded by #ifdef NO_PROTOTYPES.
17293 (t_double_many_args): Likewise.
17294 (DEF_FUNC_MANY_ARGS_1): Likewise.
17295 (DEF_FUNC_VALUES_1): Likewise.
17296 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17297 guarded by #ifdef PROTOTYPES.
17298
d1fbcd56
AA
172992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17300
17301 * gdb.mi/mi-console.c: Add eye-catcher.
17302 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17303 instead of literal line number.
17304
b0e59b8f
AA
173052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17306
17307 * gdb.base/shr2.c: Add eye-catcher.
17308 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17309 line number.
17310
78f98cca
AA
173112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17312
17313 * gdb.base/jump.c: Add eye-catchers.
17314 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17315 numbers.
17316
58fa2af0
AA
173172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17318
17319 * gdb.base/execd-prog.c: Add eye-catchers.
17320 * gdb.base/foll-exec.c: Likewise.
17321 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17322 line numbers.
17323
04e5059b
AA
173242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17325
17326 * gdb.base/ending-run.c: Add eye-catchers.
17327 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17328 literal line numbers.
17329
dbfdb174
AA
173302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17331
17332 * gdb.base/call-rt-st.c: Add eye-catchers.
17333 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17334 literal line numbers.
17335
888a2ade
AA
173362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17337
17338 * gdb.base/call-ar-st.c: Add eye-catchers.
17339 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17340 literal line numbers.
17341
6acc2dde
AA
173422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17343
17344 * gdb.base/average.c: Add eye-catchers.
17345 * gdb.base/sum.c: Likewise.
17346 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17347 regexps dynamically.
17348
9ecfcd1d
AA
173492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17350
17351 * gdb.base/solib1.c: Add eye-catchers.
17352 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17353 literal line numbers.
17354
78708b7c
PA
173552014-11-12 Pedro Alves <palves@redhat.com>
17356
17357 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17358 leader has exited.
17359
af48d08f
PA
173602014-11-12 Pedro Alves <palves@redhat.com>
17361
17362 * gdb.arch/i386-bp_permanent.c: New file.
17363 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17364 (srcfile): Set to i386-bp_permanent.c.
17365 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17366 that stepi does not execute the 'leave' instruction, instead of
17367 testing it does execute.
17368 * gdb.base/bp-permanent.c: New file.
17369 * gdb.base/bp-permanent.exp: New file.
17370
af3768e9
DE
173712014-11-10 Doug Evans <xdje42@gmail.com>
17372
17373 PR symtab/17564
17374 * gdb.base/symtab-search-order.exp: New file.
17375 * gdb.base/symtab-search-order.c: New file.
17376 * gdb.base/symtab-search-order-1.c: New file.
17377 * gdb.base/symtab-search-order-shlib-1.c: New file.
17378
9de00a4a
PA
173792014-11-07 Pedro Alves <palves@redhat.com>
17380
17381 PR gdb/17511
17382 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17383 i?86-*-linux*.
17384
e0f52461
SC
173852014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17386
17387 PR c++/17494
17388 * gdb.cp/pr17494.cc: New file.
17389 * gdb.cp/pr17494.exp: New file.
17390
6ce8c980
YQ
173912014-11-02 Yao Qi <yao@codesourcery.com>
17392
17393 * gdb.python/python.exp: Get working directory and match the
17394 output of "set extended-prompt \\w " with it.
17395
02be9a71
DE
173962014-10-30 Doug Evans <dje@google.com>
17397
17398 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17399 in objfiles.
17400 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17401 in progspaces.
17402
3bdff46b
LM
174032014-10-30 Janis Johnson <janisjo@codesourcery.com>
17404
17405 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17406 * gdb.base/realname-expand.exp: Likewise.
17407 * gdb.linespec/macro-relative.exp: Likewise.
17408
ab917dfb
PA
174092014-10-29 Pedro Alves <palves@redhat.com>
17410
17411 PR gdb/17408
17412 * gdb.threads/schedlock.c (some_function): New function.
17413 (call_function): New global.
17414 (MAYBE_CALL_SOME_FUNCTION): New macro.
17415 (thread_function): Call it.
17416 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17417 and use it instead of a global counter. Adjust all callers.
17418 (get_current_thread): Use "find current thread" for test message
17419 here rather than having all callers pass down the same string.
17420 (goto_loop): New procedure, factored out from ...
17421 (my_continue): ... this.
17422 (step_ten_loops): Change parameter from test message to command to
17423 use. Adjust.
17424 (list_count): Delete global.
17425 (check_result): New procedure, factored out from duplicate top
17426 level code.
17427 (continue tests): Wrap in with_test_prefix.
17428 (test_step): New procedure, factored out from duplicate top level
17429 code.
17430 (top level): Test "step" in combination with all scheduler-locking
17431 modes. Test "next" in combination with all scheduler-locking
17432 modes, and in combination with stepping over a function call or
17433 not.
17434 * gdb.threads/next-bp-other-thread.c: New file.
17435 * gdb.threads/next-bp-other-thread.exp: New file.
17436
d3d4baed
PA
174372014-10-29 Pedro Alves <palves@redhat.com>
17438
17439 PR python/17372
17440 * gdb.python/python.exp: Test a multi-line command that spawns
17441 interactive Python.
17442 * gdb.base/multi-line-starts-subshell.exp: New file.
17443
563e8d85
YQ
174442014-10-29 Yao Qi <yao@codesourcery.com>
17445
17446 * gdb.base/fileio.exp: Make directories on host.
17447
0ea4d52e
YQ
174482014-10-29 Yao Qi <yao@codesourcery.com>
17449
17450 * gdb.base/fileio.c (test_write): Close the file.
17451
7f5ef605
PA
174522014-10-28 Pedro Alves <palves@redhat.com>
17453
17454 PR gdb/12623
17455 * gdb.base/sigstep.c (no_handler): New global.
17456 (main): If 'no_handler is true, set the signal handlers to
17457 SIG_IGN.
17458 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17459 with_sw_watch and no_handler parameters. Handle them.
17460 (top level) <stepping over handler when stopped at a breakpoint
17461 test>: Add a test axis for testing with a software watchpoint, and
17462 another for testing with the signal handler set to SIG_IGN.
17463 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17464 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17465
abbdbd03
PA
174662014-10-28 Pedro Alves <palves@redhat.com>
17467
17468 PR gdb/17511
17469 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17470 * gdb.base/sigstep.exp (other_handler_location): New global.
17471 (advance): Support stepping into the signal handler, and running
17472 commands while in the handler.
17473 (in_handler_map): New global.
17474 (top level): In the advance test, add combinations for getting
17475 into the handler with stepping commands, and for running commands
17476 in the handler. Add comment descripting the advancei tests.
17477
1df4399f
PA
174782014-10-28 Pedro Alves <palves@redhat.com>
17479
17480 * gdb.base/sigstep.exp: Use build_executable instead of
17481 prepare_for_testing.
17482 (top level): Move code that starts GDB, runs to main and creates a
17483 display to ...
17484 (restart): ... this new procedure.
17485 (top level): Move backtrace from signal handler test to ...
17486 (validate_backtrace): ... this new procedure.
17487 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17488 with_test_prefix. Always restart GDB.
17489 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17490 with_test_prefix. Always restart GDB. No need to delete
17491 breakpoints after the test.
17492 (test_skip_handler): Remove prefix parameter.
17493 (skip_over_handler, breakpoint_to_handler)
17494 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17495 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17496 restart GDB. No need to delete breakpoints after the test.
17497 (top level): Use foreach to call the test procedures with
17498 different commands.
17499
a5b6e449
PA
175002014-10-28 Pedro Alves <palves@redhat.com>
17501
17502 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17503 instead of GNATS numbers.
17504 * gdb.base/sigbpt.exp: Likewise.
17505 * gdb.base/siginfo.exp: Likewise.
17506 * gdb.base/sigstep.exp: Likewise.
17507
e5f8a7cc
PA
175082014-10-27 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.base/sigstep.c (dummy): New global.
17511 (main): Issue a couple writes to the new global.
17512 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17513 procedures.
17514 (skip_over_handler): Use test_skip_handler.
17515 (top level): Call skip_over_handler for stepi and nexti too.
17516 (breakpoint_over_handler): Use test_skip_handler.
17517 (top level): Call breakpoint_over_handler for stepi and nexti too.
17518
763905a3
YQ
175192014-10-27 Yao Qi <yao@codesourcery.com>
17520
17521 * gdb.trace/tfile.c (adjust_function_address)
17522 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17523 function descriptor.
17524
6f259a23
DB
175252014-10-24 Don Breazeal <donb@codesourcery.com>
17526
17527 * gdb.base/foll-fork.exp (test_follow_fork,
17528 catch_fork_child_follow): Check for updated fork messages emitted
17529 from infrun.c.
17530 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17531 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17532 vfork_and_exec_child_follow_through_step): Check for updated vfork
17533 messages emitted from infrun.c.
17534
09dd9a69
PA
175352014-10-24 Pedro Alves <palves@redhat.com>
17536
17537 * gdb.base/corefile.exp: Remove references to ultrix.
17538 * gdb.base/interrupt.exp: Likewise.
17539 * gdb.base/whatis.exp: Likewise.
17540 * gdb.gdb/selftest.exp: Likewise.
17541 * gdb.threads/manythreads.exp: Likewise.
17542 * gdb.threads/print-threads.exp: Likewise.
17543 * gdb.threads/pthreads.exp:: Likewise.
17544 * gdb.threads/schedlock.exp: Likewise.
17545
3433cfa5
SC
175462014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17547
17548 * gdb.cp/non-trivial-retval.cc: Add a test case.
17549 * gdb.cp/non-trivial-retval.exp: Add a test.
17550
092f880b
YQ
175512014-10-20 Yao Qi <yao@codesourcery.com>
17552
17553 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17554 * gdb.python/py-objfile-script-gdb.py: New file.
17555 * gdb.python/py-objfile-script.exp: Update reference to
17556 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17557 of remote_download. Remove the dest file.
17558
acbdb7f3
YQ
175592014-10-20 Yao Qi <yao@codesourcery.com>
17560
17561 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17562 * gdb.base/step-line.exp: Likewise.
17563 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17564 * gdb.dwarf2/dw2-basic.exp: Likewise.
17565 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17566 * gdb.dwarf2/dw2-filename.exp: Likewise.
17567 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17568 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17569 * gdb.dwarf2/dw2-producer.exp: Likewise.
17570 * gdb.dwarf2/mac-fileno.exp: Likewise.
17571 * gdb.python/py-frame-args.exp: Likewise.
17572 * gdb.python/py-framefilter.exp: Likewise.
17573 * gdb.python/py-mi.exp: Likewise.
17574 * gdb.python/py-objfile-script.exp: Likewise
17575 * gdb.python/py-pp-integral.exp: Likewise.
17576 * gdb.python/py-pp-re-notag.exp: Likewise.
17577 * gdb.python/py-prettyprint.exp: Likewise.
17578 * gdb.python/py-section-script.exp: Likewise.
17579 * gdb.python/py-typeprint.exp: Likewise.
17580 * gdb.python/py-xmethods.exp: Likewise.
17581 * gdb.stabs/weird.exp: Likewise.
17582 * gdb.xml/tdesc-regs.exp: Likewise.
17583
bd286a29
KCY
175842014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17585
17586 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17587 (out_cu): Use addr_len for the size of addresses.
17588 (out_line): Likewise. Size DW_LNE_set_address instruction
17589 according to addr_len.
17590 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17591 (FUNC): Add START_INSNS to definition.
17592
673dc4a0
YQ
175932014-10-18 Yao Qi <yao@codesourcery.com>
17594
17595 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17596 gdb_has_argv0 return true.
17597 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17598 check [target_info exists noargs], check [gdb_has_argv0]
17599 instead.
17600 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17601 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17602 procedures.
17603
4ffbba72
DE
176042014-10-17 Doug Evans <dje@google.com>
17605
17606 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17607 event.
17608 * gdb.python/py-events.py: Add clear_objfiles event.
17609
d096d8c1
DE
176102014-10-17 Doug Evans <dje@google.com>
17611
17612 * gdb.python/py-objfile.exp: Test progspace attribute.
17613
a80db015
LM
176142014-10-17 Luis Machado <lgustavo@codesourcery.com>
17615
17616 * gdb.guile/scm-breakpoint.exp: Do not assume any
17617 directory separators when matching source file paths.
17618 * gdb.python/py-breakpoint.exp: Likewise.
17619 * gdb.reverse/break-precsave.exp: Likewise.
17620 * gdb.reverse/break-reverse.exp: Likewise.
17621 * gdb.reverse/consecutive-precsave.exp: Likewise.
17622 * gdb.reverse/finish-precsave.exp: Likewise.
17623 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17624 * gdb.reverse/finish-reverse.exp: Likewise.
17625 * gdb.reverse/i386-precsave.exp: Likewise.
17626 * gdb.reverse/i387-env-reverse.exp: Likewise.
17627 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17628 * gdb.reverse/machinestate-precsave.exp: Likewise.
17629 * gdb.reverse/machinestate.exp: Likewise.
17630 * gdb.reverse/sigall-precsave.exp: Likewise.
17631 * gdb.reverse/solib-precsave.exp: Likewise.
17632 * gdb.reverse/step-precsave.exp: Likewise.
17633 * gdb.reverse/until-precsave.exp: Likewise.
17634 * gdb.reverse/watch-precsave.exp: Likewise.
17635 * gdb.reverse/watch-reverse.exp: Likewise.
17636
b22089ab
YQ
176372014-10-17 Yao Qi <yao@codesourcery.com>
17638
17639 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17640 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17641
6c4486e6
PA
176422014-10-17 Pedro Alves <palves@redhat.com>
17643
17644 PR gdb/17471
17645 * gdb.base/bg-execution-repeat.c: New file.
17646 * gdb.base/bg-execution-repeat.exp: New file.
17647
0ff33695
PA
176482014-10-17 Pedro Alves <palves@redhat.com>
17649
17650 PR gdb/17300
17651 * gdb.base/continue-all-already-running.c: New file.
17652 * gdb.base/continue-all-already-running.exp: New file.
17653
6fdebc3d
PA
176542014-10-17 Pedro Alves <palves@redhat.com>
17655
17656 PR gdb/17472
17657 * gdb.base/annota-input-while-running.c: New file.
17658 * gdb.base/annota-input-while-running.exp: New file.
17659
32a8097b
PA
176602014-10-17 Pedro Alves <palves@redhat.com>
17661
17662 * gdb.base/callfuncs.exp: emove references to osf.
17663 * gdb.base/sigall.exp: Likewise.
17664 * gdb.gdb/selftest.exp: Likewise.
17665 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17666 * gdb.mi/non-stop.c: Likewise.
17667 * gdb.mi/pthreads.c: Likewise.
17668 * gdb.reverse/sigall-precsave.exp: Likewise.
17669 * gdb.reverse/sigall-reverse.exp: Likewise.
17670 * gdb.threads/pthreads.c: Likewise.
17671 * gdb.threads/pthreads.exp: Likewise.
17672
7a3517ff
YQ
176732014-10-17 Yao Qi <yao@codesourcery.com>
17674
17675 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17676 check 'target_info exists noargs'.
17677 (test_command_prompt_position): Likewise.
17678 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17679 Remove "set args".
17680 (progvar_simple_while_test): Likewise.
17681 (progvar_complex_if_while_test): Likewise.
17682 (if_while_breakpoint_command_test): Likewise.
17683 (infrun_breakpoint_command_test): Likewise.
17684 (breakpoint_command_test): Likewise.
17685 (watchpoint_command_test): Likewise.
17686 (bp_deleted_in_command_test): Likewise.
17687 (temporary_breakpoint_commands): Likewise.
17688
bb99c472
YQ
176892014-10-16 Yao Qi <yao@codesourcery.com>
17690
17691 * gdb.base/remotetimeout.exp: Remove noargs checking.
17692
7c16b83e
PA
176932014-10-15 Pedro Alves <palves@redhat.com>
17694
17695 PR breakpoints/9649
17696 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17697 * gdb.base/breakpoint-in-ro-region.exp
17698 (probe_target_hardware_step): New procedure.
17699 (top level): Probe hardware stepping and hardware breakpoint
17700 support. Test stepping through a read-only region, with both
17701 "breakpoint auto-hw" on and off and both "always-inserted" on and
17702 off.
17703
35a49624
IB
177042014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17705
17706 * gdb.dlang/demangle.exp: Update for demangling changes.
17707
2d1c107c
SC
177082014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17709
17710 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17711 * gdb.cp/non-trivial-retval.exp: Add new tests.
17712
778811d5
SC
177132014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17714
17715 PR c++/13403
17716 PR c++/15154
17717 * gdb.cp/non-trivial-retval.cc: New file.
17718 * gdb.cp/non-trivial-retval.exp: New file.
17719
10c5f0a8
YQ
177202014-10-15 Yao Qi <yao@codesourcery.com>
17721
17722 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17723 remote host.
17724
65d7b369
YQ
177252014-10-15 Yao Qi <yao@codesourcery.com>
17726
17727 * gdb.python/py-symbol.exp: Match file base name if host is
17728 remote, otherwise match file name with dir name.
17729 * gdb.python/py-symtab.exp: Likewise.
17730 * gdb.python/python.exp: Likewise.
17731
46dc1394
YQ
177322014-10-15 Yao Qi <yao@codesourcery.com>
17733
17734 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17735 pattern.
17736 * gdb.python/py-symtab.exp: Likewise.
17737 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17738 locationn.
17739
c40cc657
JB
177402014-10-14 Joel Brobecker <brobecker@adacore.com>
17741
17742 * gdb.ada/addr_arith: New testcase.
17743
2abf49e1
MR
177442014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17745
17746 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17747 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17748 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17749 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17750
f7088df3
SDJ
177512014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17752
17753 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17754 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17755 * gdb.arch/stap-eval-lang-ada.exp: New file.
17756
4dc06805
YQ
177572014-10-14 Yao Qi <yao@codesourcery.com>
17758
17759 * gdb.mi/mi-var-child.c (nothing1): New function.
17760 (nothing2): New function.
17761 (do_children_tests): Set function pointers by nothing1 and
17762 nothing2.
17763 * gdb.mi/mi-var-child.exp: Step over new added statements.
17764 Update test to match the new output.
17765 * gdb.mi/var-cmd.c (nothing1): New function.
17766 (nothing2): New function.
17767 (do_children_tests): Set function pointers by nothing1 and
17768 nothing2.
17769 * gdb.mi/mi-var-display.exp: Update test to match output.
17770 Step to the line specified by $line_dct_nothing.
17771 Increase the number of lines to step.
17772
46a93de2
YQ
177732014-10-14 Yao Qi <yao@codesourcery.com>
17774
17775 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17776 tests.
17777 * gdb.mi/mi2-var-child.exp: Likewise.
17778
14ea52ee
DE
177792014-10-13 Doug Evans <dje@google.com>
17780
17781 * gdb.python/py-objfile.exp: Change name of file name test.
17782
e5c6e92b
DE
177832014-10-13 Doug Evans <dje@google.com>
17784
17785 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17786 from the start of the CU.
17787
c780cc2f
JK
177882014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17789 Yao Qi <yao@codesourcery.com>
17790
17791 Fix "save breakpoints" for "catch" command.
17792 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17793 Remove -nonewline. Match also the added "main" line.
17794
99894e11
JK
177952014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17796
17797 Fix "save breakpoints" for "disable $bpnum" command.
17798 * gdb.base/save-bp.c (main): Add label.
17799 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17800
6e1ac5a3
JK
178012014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17802
17803 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17804
754dd2b0
YQ
178052014-10-11 Yao Qi <yao@codesourcery.com>
17806
17807 * gdb.server/server-kill.exp: Execute command
17808 "set remote trace-status-packet on" before "tstatus".
17809
f90183d7
YQ
178102014-10-11 Yao Qi <yao@codesourcery.com>
17811
17812 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17813 (main): Call getppid.
17814 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17815 and continue to it. Read variable "server_pid".
17816
bf40a607
YQ
178172014-10-11 Yao Qi <yao@codesourcery.com>
17818
17819 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17820
052ca370
YQ
178212014-10-11 Yao Qi <yao@codesourcery.com>
17822
17823 * gdb.threads/thread-find.exp: Don't execute command
17824 "info threads".
17825 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17826 * gdb.threads/linux-dp.exp: Don't check the condition
17827 $threads_created equals to zero.
17828
3831839c
PA
178292014-10-10 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.base/bigcore.exp: Remove references to IRIX.
17832 * gdb.base/funcargs.exp: Likewise.
17833 * gdb.base/interrupt.exp: Likewise.
17834 * gdb.base/mips_pro.exp: Likewise.
17835 * gdb.base/nodebug.exp: Likewise.
17836 * gdb.base/setvar.exp: Likewise.
17837 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17838
8b9a549d
PA
178392014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17840 Pedro Alves <palves@redhat.com>
17841
17842 PR symtab/14466
17843 * gdb.base/vdso-warning.c: New file.
17844 * gdb.base/vdso-warning.exp: New file.
17845
d48ba5e8
DE
178462014-10-02 Doug Evans <dje@google.com>
17847
17848 * gdb.base/structs.c (main): Don't run forever.
17849
2278c276
PA
178502014-10-02 Pedro Alves <palves@redhat.com>
17851
17852 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17853 (top level) <stop threads 1, stop threads 2>: Use it.
17854
b57bacec
PA
178552014-10-02 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.threads/break-while-running.exp (test): Add new
17858 'update_thread_list' argument. Skip "info threads" if false.
17859 (top level): Add new 'update_thread_list' axis.
17860
13fd3ff3
PA
178612014-10-02 Pedro Alves <palves@redhat.com>
17862
17863 PR breakpoints/17431
17864 * gdb.base/execl-update-breakpoints.c: New file.
17865 * gdb.base/execl-update-breakpoints.exp: New file.
17866
0fec99e8
PA
178672014-10-01 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.base/breakpoint-in-ro-region.c: New file.
17870 * gdb.base/breakpoint-in-ro-region.exp: New file.
17871
2ddf4301
SM
178722014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17873
17874 * gdb.mi/mi-exit-code.exp: New file.
17875 * gdb.mi/mi-exit-code.c: New file.
17876
6a5f3f43
YQ
178772014-09-30 Yao Qi <yao@codesourcery.com>
17878
17879 * lib/prelink-support.exp (build_executable_own_libs): Error if
17880 the target isn't native.
17881
345bcc73
YQ
178822014-09-30 Yao Qi <yao@codesourcery.com>
17883
17884 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17885 false.
17886
a25a5a45
PA
178872014-09-22 Pedro Alves <palves@redhat.com>
17888
17889 * gdb.threads/break-while-running.exp: New file.
17890 * gdb.threads/break-while-running.c: New file.
17891
00ba3162
YQ
178922014-09-19 Yao Qi <yao@codesourcery.com>
17893
17894 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17895 Invoke test. Restart GDB with --readnow and invoke test again.
17896
c3b7b696
YQ
178972014-09-19 Yao Qi <yao@codesourcery.com>
17898
17899 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17900 proc set_breakpoint_on_gcd_function. Invoke
17901 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17902 invoke set_breakpoint_on_gcd_function again.
17903
2b4fd423
DE
179042014-09-18 Doug Evans <dje@google.com>
17905
17906 * gdb.dwarf2/symtab-producer.exp: New file.
17907
a5947601
SDJ
179082014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17909
17910 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17911 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17912 * gdb.base/global-var-nested-by-dso.c: Likewise.
17913 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17914
91c19059
SDJ
179152014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17916 Pedro Alves <palves@redhat.com>
17917
17918 * gdb.base/watch-bitfields.exp: Pass string other than test file
17919 name to prepare_for_testing.
17920 (watch): New procedure.
17921 (expect_watchpoint): Use with_test_prefix.
17922 (top level): Factor out tests to ...
17923 (test_watch_location, test_regular_watch): ... these new
17924 procedures, and use with_test_prefix and gdb_continue_to_end.
17925
bb9d5f81
PP
179262014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17927
17928 PR breakpoints/12526
17929 * gdb.base/watch-bitfields.exp: New file.
17930 * gdb.base/watch-bitfields.c: New file.
17931
635856f5
PA
179322014-09-16 Pedro Alves <palves@redhat.com>
17933
17934 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17935 software and hardware addresses, not software address against
17936 itself.
17937
7280ceea
PA
179382014-09-16 Pedro Alves <palves@redhat.com>
17939
17940 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17941 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17942
428b16bd
PA
179432014-09-16 Pedro Alves <palves@redhat.com>
17944
17945 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17946 files.
17947 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17948 "*-*-vxworks*" throughout.
17949 * gdb.base/break.exp: Likewise.
17950 * gdb.base/default.exp: Likewise.
17951 * gdb.base/scope.exp: Likewise.
17952 * gdb.base/sepdebug.exp: Likewise.
17953 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17954 throughout.
17955 * gdb.base/run.c: Likewise.
17956 * gdb.base/sepdebug.c: Likewise.
17957 * gdb.hp/gdb.aCC/run.c: Likewise.
17958 * gdb.reverse/until-reverse.c: Likewise.
17959 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17960
666d413c
YQ
179612014-09-16 Yao Qi <yao@codesourcery.com>
17962
17963 * boards/local-remote-host-native.exp: New file.
17964
57cbd724
DE
179652014-09-14 Doug Evans <xdje42@gmail.com>
17966
17967 * gdb.threads/queue-signal.c (thread_count): New variable.
17968 (thread_count_mutex, thread_count_condvar): New variables.
17969 (incr_thread_count, wait_all_threads_running): New functions.
17970 (main): Wait for all threads to be in their thread functions.
17971
81219e53
DE
179722014-09-13 Doug Evans <xdje42@gmail.com>
17973
17974 * gdb.threads/queue-signal.c: New file.
17975 * gdb.threads/queue-signal.exp: New file.
17976
3714cea7
DE
179772014-09-13 Doug Evans <xdje42@gmail.com>
17978
17979 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17980 be consistent with what default_gdb_init uses.
17981 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17982 the plain text of the prompt. Add some logging printfs.
17983 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17984
fa43b1d7
PA
179852014-09-12 Pedro Alves <palves@redhat.com>
17986
17987 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17988 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17989 * gdb.arch/i386-size-overlap.exp: Likewise.
17990 * gdb.arch/i386-size.exp: Likewise.
17991 * gdb.arch/i386-unwind.exp: Likewise.
17992 * gdb.base/a2-run.exp: Likewise.
17993 * gdb.base/break.exp: Likewise.
17994 * gdb.base/charset.exp: Likewise.
17995 * gdb.base/chng-syms.exp: Likewise.
17996 * gdb.base/commands.exp: Likewise.
17997 * gdb.base/dbx.exp: Likewise.
17998 * gdb.base/find.exp: Likewise.
17999 * gdb.base/funcargs.exp: Likewise.
18000 * gdb.base/jit-simple.exp: Likewise.
18001 * gdb.base/reread.exp: Likewise.
18002 * gdb.base/sepdebug.exp: Likewise.
18003 * gdb.base/step-bt.exp: Likewise.
18004 * gdb.cp/mb-inline.exp: Likewise.
18005 * gdb.cp/mb-templates.exp: Likewise.
18006 * gdb.objc/basicclass.exp: Likewise.
18007 * gdb.threads/killed.exp: Likewise.
18008
9d9bf2df
EBM
180092014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18010
18011 PR tdep/17379
18012 * gdb.arch/powerpc-stackless.S: New file.
18013 * gdb.arch/powerpc-stackless.exp: New file.
18014
1cf2f1b0
JK
180152014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18016
18017 * gdb.base/attach.c: Include unistd.h.
18018 (main): Call alarm. Add label postloop.
18019 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18020 gdb_breakpoint, gdb_continue_to_breakpoint.
18021 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18022
98880d46
PA
180232014-09-11 Pedro Alves <palves@redhat.com>
18024
18025 PR gdb/17347
18026 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18027 * gdb.base/attach.exp (test_command_line_attach_run): New
18028 procedure.
18029 (top level): Call it.
18030
4c92ff2c
PA
180312014-09-11 Pedro Alves <palves@redhat.com>
18032
18033 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18034 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18035 (do_command_attach_tests): Use spawn_wait_for_attach.
18036 * gdb.base/solib-overlap.exp: Likewise.
18037 * gdb.multi/multi-attach.exp: Likewise.
18038 * gdb.python/py-prompt.exp: Likewise.
18039 * gdb.python/py-sync-interp.exp: Likewise.
18040 * gdb.server/ext-attach.exp: Likewise.
18041
3adc1a7d
GKB
180422014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18043
18044 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18045 command in testcase. Simplify testcase.
18046
96334934
JB
180472014-09-10 Joel Brobecker <brobecker@adacore.com>
18048
18049 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18050
eb479039
JB
180512014-09-10 Joel Brobecker <brobecker@adacore.com>
18052
18053 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18054
deede10c
JB
180552014-09-10 Joel Brobecker <brobecker@adacore.com>
18056
18057 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18058
7828a5f5
JB
180592014-09-10 Joel Brobecker <brobecker@adacore.com>
18060
18061 * gdb.dwarf2/dynarr-ptr.c: New file.
18062 * gdb.dwarf2/dynarr-ptr.exp: New file.
18063
33aeebcf
MR
180642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18065
18066 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18067 of 30 rather than hardcoding 120 for a slow test case. Take the
18068 `gdb,timeout' target setting into account for this calculation.
18069 Don't extend the timeout for the test cases that don't need it.
18070
7b415901
MR
180712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18072
18073 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18074 a factor of 2 for a slow test case. Take the `gdb,timeout'
18075 target setting into account for this calculation.
18076 * gdb.reverse/until-precsave.exp: Increase the timeout by
18077 a factor of 15 and 3 respectively rather than adding 120
18078 for a pair of slow test cases. Take the `gdb,timeout'
18079 target setting into account for this calculation.
18080
4a40f85a
MR
180812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18082
18083 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18084 timeout, don't pass one down to gdb_expect.
18085 (gdb_expect): Rework timeout selection.
18086
09635af7
MR
180872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18088
18089 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18090 exception on timeout.
18091 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18092 (gdbserver_start_extended): Catch any `gdbserver_start' error
18093 exceptions.
18094 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18095 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18096 `gdbserver_gdb_load' error exceptions.
18097
2bdd10b7
MR
180982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18099
18100 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18101 120 on waiting for the TCP socket to open.
18102
316935f0
DE
181032014-09-09 Doug Evans <xdje42@gmail.com>
18104
18105 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18106 _caller_matches, _any_caller_is, _any_caller_matches.
18107
83740597
DE
181082014-09-09 Doug Evans <xdje42@gmail.com>
18109
18110 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18111
4c122fc3
YQ
181122014-09-09 Yao Qi <yao@codesourcery.com>
18113
18114 * gdb.mi/mi-var-display.exp: Set print symbol off.
18115
a9f116cb
GKB
181162014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18117
18118 PR gdb/17035
18119 * gdb.base/commands.exp: Add tests to verify user-defined
18120 commands with empty bodies.
18121 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18122 python commands in `show user command`.
18123 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18124 scheme commands in `show user command`.
18125
c75bd3a2
JK
181262014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18127
18128 PR python/17355
18129 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18130 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18131 * gdb.python/py-framefilter-invalidarg.exp: New file.
18132 * gdb.python/py-framefilter-invalidarg.py: New file.
18133
faa42425
DE
181342014-09-06 Doug Evans <xdje42@gmail.com>
18135
18136 PR 15276
18137 * gdb.python/py-caller-is.c: New file.
18138 * gdb.python/py-caller-is.exp: New file.
18139
474ca4f6
SDJ
181402014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18141
18142 PR gdb/17235
18143 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18144 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18145
eb0b0463
SDJ
181462014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18147
18148 PR fortran/17237
18149 * gdb.fortran/print-formatted.exp: New file.
18150 * gdb.fortran/print-formatted.f90: Likewise.
18151
5f3b99cf
SS
181522014-09-03 Sasha Smundak <asmundak@google.com>
18153
18154 * gdb.python/py-frame.exp: Test Frame.read_register.
18155
7d793aa9
SDJ
181562014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18157
18158 PR python/16699
18159 * gdb.python/py-completion.exp: New file.
18160 * gdb.python/py-completion.py: Likewise.
18161
fb0576e9
DE
181622014-08-28 Doug Evans <dje@google.com>
18163
18164 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18165 eax,etc. are live with values set by gdb and thus the compiler can't
18166 use them.
18167 * gdb.arch/i386-pseudo.c (main): Ditto.
18168
ee92b0dd
DE
181692014-08-27 Doug Evans <dje@google.com>
18170
18171 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18172
6649db35
DE
181732014-08-25 Doug Evans <dje@google.com>
18174
18175 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18176 (main): Ditto.
18177
564b7600
DE
181782014-08-25 Doug Evans <dje@google.com>
18179
18180 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18181
3881fb67
YQ
181822014-08-24 Yao Qi <yao@codesourcery.com>
18183
18184 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18185 symbol off.
18186 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18187
a05a36a5
DE
181882014-08-22 Doug Evans <dje@google.com>
18189
18190 PR 17276
18191 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18192 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18193 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18194
7c343b48
YQ
181952014-08-22 Yao Qi <yao@codesourcery.com>
18196
18197 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18198 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18199 * gdb.python/python.exp: Likewise. Use .py file on the host
18200 instead of the build.
18201
22fd09ae
JK
182022014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18203
18204 * gdb.threads/gcore-stale-thread.c: New file.
18205 * gdb.threads/gcore-stale-thread.exp: New file.
18206
a8454a7c
PA
182072014-08-21 Pedro Alves <palves@redhat.com>
18208
18209 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18210 * gdb.base/gcore-relro-pie.exp: Likewise.
18211 * gdb.base/gcore-relro.exp: Likewise.
18212 * gdb.base/gcore.exp: Likewise.
18213 * gdb.base/print-symbol-loading.exp: Likewise.
18214 * gdb.threads/gcore-thread.exp: Likewise.
18215 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18216
2a31c623
PA
182172014-08-20 Pedro Alves <palves@redhat.com>
18218 Jan Kratochvil <jan.kratochvil@redhat.com>
18219
18220 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18221 configure.
18222 (EXPECT): Handle READ1 being set.
18223 (all): Depend on EXTRA_RULES.
18224 (check-read1, expect-read1, read1.so, read1): New rules.
18225 * README (Testsuite Parameters): Document the READ1 make variable.
18226 (Race detection): New section.
18227 * configure: Regenerate.
18228 * configure.ac: If build==host==target, and running under a
18229 GNU/glibc system, add read1 to the extra Makefile rules.
18230 (EXTRA_RULES): AC_SUBST it.
18231 * lib/read1.c: New file.
18232
d36430db
JB
182332014-08-20 Joel Brobecker <brobecker@adacore.com>
18234
18235 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18236 the handling of variables declared as a typedef to an array
18237 which a DW_AT_data_location attribute.
18238
9a0dc9e3
PA
182392014-08-19 Andrew Burgess <aburgess@broadcom.com>
18240 Pedro Alves <palves@redhat.com>
18241
18242 PR symtab/14604
18243 PR symtab/14605
18244 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18245 gdb_test.
18246
0718a8da
PA
182472014-08-19 Pedro Alves <palves@redhat.com>
18248
18249 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18250
13b448cd
YQ
182512014-08-19 Yao Qi <yao@codesourcery.com>
18252
18253 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18254 right line.
18255
1cbf5077
DB
182562014-08-18 David Blaikie <dblaikie@gmail.com>
18257
18258 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18259
bf0fae19
JB
182602014-08-18 Joel Brobecker <brobecker@adacore.com>
18261
18262 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18263 attribute in array range.
18264
3c8c5dcc
JB
182652014-08-18 Joel Brobecker <brobecker@adacore.com>
18266
18267 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18268
e66d4446
SC
182692014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18270
18271 PR c++/17132
18272 * gdb.cp/pr17132.cc: New file.
18273 * gdb.cp/pr17132.exp: New file.
18274
940df408
SC
182752014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18276
18277 * gdb.python/py-xmethods.py (A_getarrayind)
18278 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18279 Use 'print' with function call syntax.
18280 (E_method_matcher.match): Fix tab vs space indentation mixup.
18281
ebcc6c3a
YQ
182822014-08-15 Yao Qi <yao@codesourcery.com>
18283
18284 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18285 false.
18286
775e0f04
YQ
182872014-08-15 Yao Qi <yao@codesourcery.com>
18288
18289 * gdb.cp/casts.exp: Set print symbol off.
18290 * gdb.cp/class2.exp: Likewise.
18291 * gdb.cp/overload.exp: Likewise.
18292 * gdb.cp/templates.exp: Likewise.
18293
d769e349
DE
182942014-08-11 Doug Evans <dje@google.com>
18295
18296 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18297 (test_load_shlib): Update.
18298
20c6f1e1
YQ
182992014-08-09 Yao Qi <yao@codesourcery.com>
18300
18301 * gdb.base/display.exp: Invoke is_address_zero_readable.
18302 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18303 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18304 * gdb.base/hbreak-unmapped.exp: Return if
18305 is_address_zero_readable returns true.
18306 * gdb.base/signest.exp: Likewise.
18307 * gdb.base/signull.exp: Likewise.
18308 * gdb.base/sigbpt.exp: Likewise.
18309 * gdb.guile/scm-disasm.exp: Do the test if
18310 is_address_zero_readable returns false.
18311 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18312 * gdb.python/py-arch.exp: Likewise.
18313 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18314 * lib/gdb.exp (is_address_zero_readable): New proc.
18315
5792e8e3
YQ
183162014-08-09 Yao Qi <yao@codesourcery.com>
18317
18318 PR testsuite/13443
18319 * gdb.mi/mi-var-display.exp: Make test messages unique.
18320
3cecbbbe
TT
183212014-08-04 Tom Tromey <tromey@redhat.com>
18322
18323 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18324 target 0".
18325
00b51ff5
TT
183262014-08-04 Tom Tromey <tromey@redhat.com>
18327
18328 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18329 "target_resume".
18330
6908c509
JB
183312014-08-01 Joel Brobecker <brobecker@adacore.com>
18332
18333 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18334 inner_vla_struct_object_size.
18335 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18336 as xfail.
18337
cc6563d2
PA
183382014-07-30 Pedro Alves <palves@redhat.com>
18339
18340 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18341 comment.
18342
7e09a223
YQ
183432014-07-29 Yao Qi <yao@codesourcery.com>
18344
18345 PR gdb/17206
18346 * gdb.base/until-nodebug.exp: New.
18347
7ebdbe92
DE
183482014-07-28 Doug Evans <xdje42@gmail.com>
18349
18350 PR guile/17203
18351 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18352 previously existing parameter, and previously ambiguously spelled
18353 parameter.
18354
fdb1adc6
WN
183552014-07-28 Will Newton <will.newton@linaro.org>
18356
18357 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18358
186fcde0
DE
183592014-07-26 Ludovic Courtès <ludo@gnu.org>
18360 Doug Evans <xdje42@gmail.com>
18361
18362 PR guile/17146
18363 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18364
70509625
PA
183652014-07-25 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.threads/signal-command-handle-nopass.c: New file.
18368 * gdb.threads/signal-command-handle-nopass.exp: New file.
18369 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18370 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18371 * gdb.threads/signal-delivered-right-thread.c: New file.
18372 * gdb.threads/signal-delivered-right-thread.exp: New file.
18373
c3f814a1
PA
183742014-07-25 Pedro Alves <palves@redhat.com>
18375
18376 * gdb.base/double-prompt-target-event-error.exp
18377 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18378 match.
18379 (cancel_pagination_in_target_event): Rework double prompt
18380 detection.
18381 * gdb.base/paginate-after-ctrl-c-running.exp
18382 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18383 <return>' match.
18384 * gdb.base/paginate-bg-execution.exp
18385 (test_bg_execution_pagination_return)
18386 (test_bg_execution_pagination_cancel): Remove '-notransfer
18387 <return>' matches.
18388 * gdb.base/paginate-execution-startup.exp
18389 (test_fg_execution_pagination_return)
18390 (test_fg_execution_pagination_cancel): Remove '-notransfer
18391 <return>' matches.
18392 * gdb.base/paginate-inferior-exit.exp
18393 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18394 match.
18395 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18396 * lib/gdb.exp (pagination_prompt): Run text through
18397 string_to_regexp.
18398 (gdb_test_multiple): Match $pagination_prompt instead of
18399 "<return>".
18400 (string_to_regexp): Move to lib/gdb-utils.exp.
18401
e214cf6c
JK
184022014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18403
18404 * gdb.arch/amd64-entry-value-paramref.S: New file.
18405 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18406 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18407 * gdb.arch/amd64-optimout-repeat.S: New file.
18408 * gdb.arch/amd64-optimout-repeat.c: New file.
18409 * gdb.arch/amd64-optimout-repeat.exp: New file.
18410
17d0c5c8
JK
184112014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18412
18413 PR gdb/17170
18414 * gdb.base/statistics.exp: New file.
18415
b8b8facf
DE
184162014-07-17 Doug Evans <dje@google.com>
18417
74b49205 18418 PR gdb/17170
b8b8facf
DE
18419 * gdb.base/maint.exp: Update testing of per-command stats.
18420
1b5d0ab3
PA
184212014-07-16 Pedro Alves <palves@redhat.com>
18422
18423 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18424 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18425 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18426 (tfile_write_buf): New functions.
18427 (add_memory_block): Rewrite using the above.
18428 (adjust_function_address): New function.
18429 (FUNCTION_ADDRESS): New macro.
18430 (write_basic_trace_file): Remove short_x local, and use
18431 tfile_write_16. Change type of func_addr local to unsigned long
18432 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18433 here. Cast argument of add_memory_block to char pointer.
18434 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18435 (main): Remove parameters.
18436 * gdb.trace/tfile.exp: Remove nowarnings.
18437
4d974e88
SM
184382014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18439
18440 * gdb.base/debug-expr.exp: Test string evaluation with
18441 "debug expression" on.
18442
41e99568
PA
184432014-07-15 Pedro Alves <palves@redhat.com>
18444
18445 * gdb.base/reread.exp: Use clean_restart.
18446
487d9753
PL
184472014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18448
18449 * gdb.arch/avr-flash-qualifer.c: New.
18450 * gdb.arch/avr-flash-qualifer.exp: New.
18451
cc1c52ad
PA
184522014-07-14 Pedro Alves <palves@redhat.com>
18453
18454 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18455 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18456
1e973570
PA
184572014-07-14 Pedro Alves <palves@redhat.com>
18458
18459 * gdb.base/double-prompt-target-event-error.c: New file.
18460 * gdb.base/double-prompt-target-event-error.exp: New file.
18461
93d6eb10
PA
184622014-07-14 Pedro Alves <palves@redhat.com>
18463
18464 PR gdb/17072
18465 * gdb.base/paginate-inferior-exit.c: New file.
18466 * gdb.base/paginate-inferior-exit.exp: New file.
18467
0017922d
PA
184682014-07-14 Pedro Alves <palves@redhat.com>
18469
18470 PR gdb/17072
18471 * gdb.base/paginate-bg-execution.c: New file.
18472 * gdb.base/paginate-bg-execution.exp: New file.
18473
94696ad3
PA
184742014-07-14 Pedro Alves <palves@redhat.com>
18475
18476 PR gdb/17072
18477 * gdb.base/paginate-execution-startup.c: New file.
18478 * gdb.base/paginate-execution-startup.exp: New file.
18479 * lib/gdb.exp (pagination_prompt): New global.
18480 (default_gdb_spawn): New procedure, factored out from
18481 default_gdb_spawn.
18482 (default_gdb_start): Adjust to call default_gdb_spawn.
18483 (gdb_spawn): New procedure.
18484
bd293940
PA
184852014-07-14 Pedro Alves <palves@redhat.com>
18486
18487 * lib/gdb.exp (gdb_assert): New procedure.
18488 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18489
c933f875
PA
184902014-07-14 Pedro Alves <palves@redhat.com>
18491
18492 * gdb.base/execution-termios.c: New file.
18493 * gdb.base/execution-termios.exp: New file.
18494
d98b7a16
TT
184952014-07-14 Tom Tromey <tromey@redhat.com>
18496
18497 * gdb.cp/vla-cxx.cc: New file.
18498 * gdb.cp/vla-cxx.exp: New file.
18499
548740d6
TT
185002014-07-14 Tom Tromey <tromey@redhat.com>
18501
18502 * gdb.reverse/rerun-prec.c: New file.
18503 * gdb.reverse/rerun-prec.exp: New file.
18504
a25eb028
MR
185052014-07-12 Maciej W. Rozycki <macro@mips.com>
18506 Maciej W. Rozycki <macro@codesourcery.com>
18507
18508 * lib/gdb-utils.exp: New file.
18509 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18510 inline `gdb_init_command' processing.
18511 (gdb_start_cmd): Likewise.
18512 * lib/mi-support.exp (mi_run_cmd): Likewise.
18513 * README: Document `gdb_init_command' and `gdb_init_commands'.
18514
218c2655
JK
185152014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18516
18517 Fix false FAIL running under a very long directory name.
18518 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18519 and "set print elements 10000". Twice.
18520
5401fde3
YQ
185212014-07-11 Yao Qi <yao@codesourcery.com>
18522
18523 * gdb.base/exprs.exp: "set print symbol off".
18524
e76126e8
PA
185252014-07-11 Pedro Alves <palves@redhat.com>
18526
18527 * gdb.threads/kill.c: New file.
18528 * gdb.threads/kill.exp: New file.
18529
2d6f0de6
YQ
185302014-07-10 Yao Qi <yao@codesourcery.com>
18531
18532 * gdb.trace/tfile.c (write_basic_trace_file)
18533 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18534 address written to trace file.
18535
7180e04a
PA
185362014-07-09 Pedro Alves <palves@redhat.com>
18537
18538 * gdb.base/attach-wait-input.exp: New file.
18539 * gdb.base/attach-wait-input.c: New file.
18540
9a9a7608
AB
185412014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18542
18543 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18544 setting up test structures.
18545 (main): Call new test function.
18546 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18547 test function, continue into test function and walk test
18548 structures.
18549
161ac41e
YQ
185502014-07-02 Yao Qi <yao@codesourcery.com>
18551
18552 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18553 'bar_start' at the beginning of functions 'foo' and 'bar'
18554 respectively.
18555 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18556 instead of 'foo' and 'bar'.
18557
1f267ae3
MM
185582014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18559
18560 * gdb.btrace/segv.exp: New.
18561 * gdb.btrace/segv.c: New.
18562
2b239efb
LM
185632014-07-02 Luis Machado <lgustavo@codesourcery.com>
18564
18565 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18566 instruction.
18567
cf363f18
MW
185682014-06-30 Mark Wielaard <mjw@redhat.com>
18569
18570 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18571 vulture, vilify, villar): New volatile array constants.
18572 (vindictive, vegetation): New const volatile array constants.
18573 * gdb.base/volatile.exp: Test volatile and const volatile array
18574 types.
18575
aebf9d24
AA
185762014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18577
18578 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18579 target lacks support for awatch, rwatch, or hbreak.
18580
b67a2c6f
YQ
185812014-06-27 Yao Qi <yao@codesourcery.com>
18582
18583 * gdb.multi/dummy-frame-restore.exp: New.
18584 * gdb.multi/dummy-frame-restore.c: New.
18585
aef92902
MM
185862014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18587
18588 * gdb.btrace/gcore.exp: New.
18589
8e9db26e
PA
185902014-06-23 Pedro Alves <palves@redhat.com>
18591
18592 * gdb.base/watchpoint-reuse-slot.c: New file.
18593 * gdb.base/watchpoint-reuse-slot.exp: New file.
18594
70afc5b7
SC
185952014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18596
18597 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18598 progspace's filename in 'info', 'enable' and 'disable' command
18599 tests.
18600
b972bd9c
JK
186012014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18602
18603 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18604 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18605 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18606
125f8a3d
GB
186072014-06-20 Gary Benson <gbenson@redhat.com>
18608
18609 * gdb.arch/i386-avx.exp: Fix include file location.
18610 * gdb.arch/i386-sse.exp: Likewise.
18611
3ed9baed
IB
186122014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18613
18614 * gdb.dlang/expression.exp: New file.
18615
034f788c
PA
186162014-06-19 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18619 out from ...
18620 (top level): ... here. Iterate running tests under different
18621 scheduler-locking settings.
18622
45371d0c
LM
186232014-06-18 Luis Machado <lgustavo@codesourcery.com>
18624
18625 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18626 to DW_FORM_addr and use non-zero addresses.
18627
5d376983
SC
186282014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18629
18630 PR gdb/17017
18631 * gdb.python/py-xmethods.cc: Add global function call counters and
18632 increment them in their respective functions. Remove "cout"
18633 statements.
18634 * gdb.python/py-xmethods.exp: Make tests check the global function
18635 call counters instead of depending on inferior IO.
18636
a1aa2221
LM
186372014-06-18 Don Breazeal <donb@codesourcery.com>
18638
18639 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18640 Deleted procedure.
18641 (explicit_fork_parent_follow): Deleted procedure.
18642 (explicit_fork_child_follow): Deleted procedure.
18643 (test_follow_fork): New procedure.
18644 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18645 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18646 procedure calls.
18647
0fc05997
YQ
186482014-06-17 Yao Qi <yao@codesourcery.com>
18649
18650 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18651 CP1252.
18652
70795c52
LM
186532014-06-17 Luis Machado <lgustavo@codesourcery.com>
18654
18655 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18656 Initialize ptr and S explicitly.
18657 (skip_type_update_when_not_use_rtti_test): Likewise.
18658
6be47f0c
KS
186592014-06-16 Keith Seitz <keiths@redhat.com>
18660
18661 PR mi/15863
18662 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18663 the inferior is started.
18664
d03de421
PA
186652014-06-16 Pedro Alves <palves@redhat.com>
18666
18667 * gdb.base/break-main-file-remove-fail.c: New file.
18668 * gdb.base/break-main-file-remove-fail.exp: New file.
18669 * gdb.base/break-unload-file.exp: Use build_executable instead of
18670 prepare_for_testing.
18671 (test_break): New parameter "initial_load". Handle it.
18672 (top level): Add initial_load cmdline/file axis.
18673
f9579b99
TT
186742014-06-12 Tom Tromey <tromey@redhat.com>
18675
18676 * gdb.base/completion.exp: Don't use directory name in test.
18677
3657956b
GB
186782014-06-09 Gary Benson <gbenson@redhat.com>
18679
18680 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18681 separate the always-available ANSI-standard signals from the
18682 signals that require checking.
18683 (main): Likewise.
18684 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18685 Likewise.
18686 (main): Likewise.
18687
4186eb54
KS
186882014-06-07 Keith Seitz <keiths@redhat.com>
18689
18690 Revert:
18691 PR c++/16253
18692 * gdb.cp/var-tag.cc: New file.
18693 * gdb.cp/var-tag.exp: New file.
18694 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18695 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18696 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18697 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18698
25326a28 186992014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18700
18701 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18702
829155c9
PA
187032014-06-06 Pedro Alves <palves@redhat.com>
18704
18705 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18706 in target debug output instead of looking at RSP packets,
18707 disabling the test on any target that uses hardware stepping.
18708 Update comments.
18709
61c8d22e
PA
187102014-06-06 Pedro Alves <palves@redhat.com>
18711
18712 * gdb.base/break-unload-file.exp: Fix typo.
18713
d9a47287
YQ
187142014-06-06 Yao Qi <yao@codesourcery.com>
18715
18716 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18717 from "jit_function" to "^jit_function".
18718
e5e01dbf
YQ
187192014-06-06 Yao Qi <yao@codesourcery.com>
18720
18721 * gdb.base/async.c (foo): Add one statement.
18722 * gdb.base/async.exp: Get the next instruction address and
18723 match the output of "nexti" by instruction address. Match
18724 the hex address in the output of "finish".
18725
73ba372c
GB
187262014-06-06 Gary Benson <gbenson@redhat.com>
18727
18728 * gdb.base/call-signals.c: Remove preprocessor conditionals
18729 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18730 SIGSEGV and SIGTERM.
18731 * gdb.base/sigall.c: Likewise.
18732 * gdb.base/unwindonsignal.c: Likewise.
18733 * gdb.reverse/sigall-reverse.c: Likewise.
18734
831517df
YQ
187352014-06-06 Yao Qi <yao@codesourcery.com>
18736
18737 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18738 readable, skip the test.
18739
b8b91e98
YQ
187402014-06-06 Yao Qi <yao@codesourcery.com>
18741
18742 * gdb.threads/staticthreads.c (thread_function): Move the line
18743 setting breakpoint on forward.
18744 * gdb.threads/staticthreads.exp: Update comments.
18745
fb934770
LC
187462014-06-05 Ludovic Courtès <ludo@gnu.org>
18747
18748 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18749 "history-append! type error".
18750
6ef284bd
SM
187512014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18752
18753 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18754 erroneous dprintf expected input.
18755
a872e241
DE
187562014-06-04 Doug Evans <xdje42@gmail.com>
18757
18758 * gdb.guile/scm-generics.exp: Delete.
18759
16f691fb
DE
187602014-06-04 Doug Evans <xdje42@gmail.com>
18761
18762 * gdb.guile/scm-breakpoint.exp: Update.
18763 Add tests for breakpoint registration.
18764
012370f6
TT
187652014-06-04 Tom Tromey <tromey@redhat.com>
18766
18767 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18768 VLA-in-union.
18769 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18770 inner_vla_struct, vla_union types. Initialize objects of those
18771 types and compute their sizes.
18772
9f5a4cef
HZ
187732014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18774 Hui Zhu <hui@codesourcery.com>
18775
18776 * gdb.base/fileio.exp: Add test for shell not available as well as
18777 available.
18778 * gdb.base/fileio.c (test_system): Check for shell twice.
18779
90a45c4d
YQ
187802014-06-04 Yao Qi <yao@codesourcery.com>
18781
18782 * gdb.base/auto-connect-native-target.exp: Remove redundant
18783 space from the regexp pattern.
18784
70017e41
YQ
187852014-06-04 Yao Qi <yao@codesourcery.com>
18786
18787 * gdb.base/default.exp: Replace "child" with "native" in
18788 regexp pattern.
18789
883964a7
SC
187902014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18791
18792 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18793 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18794 * gdb.python/py-xmethods.py: Python script supporting the
18795 new testcase and tests.
18796
ef370185
JB
187972014-06-03 Joel Brobecker <brobecker@adacore.com>
18798 Pedro Alves <palves@redhat.com>
18799
18800 PR breakpoints/17000
18801 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18802 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18803
1e2ccb61
BM
188042014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18805
18806 * gdb.base/subst.exp: Add tests to verify partial path matching
18807 output.
18808
c6ec5ab2
PA
188092014-06-03 Pedro Alves <palves@redhat.com>
18810
18811 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18812 target that doesn't use software single-stepping.
18813
835c559f
PA
188142014-06-03 Pedro Alves <palves@redhat.com>
18815
18816 PR breakpoints/17000
18817 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18818 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18819
06eb1586
DE
188202014-06-02 Doug Evans <xdje42@gmail.com>
18821
18822 * gdb.guile/scm-parameter.exp: New file.
18823
e698b8c4
DE
188242014-06-02 Doug Evans <xdje42@gmail.com>
18825
18826 * gdb.guile/scm-cmd.c: New file.
18827 * gdb.guile/scm-cmd.exp: New file.
18828
ded03782
DE
188292014-06-02 Doug Evans <xdje42@gmail.com>
18830
18831 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18832 pretty-printer lookup.
18833 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18834 (make-pp_s-printer): Call it.
18835 (make-pretty-printer-from-dict): New function.
18836 (lookup-pretty-printer-maker-from-dict): New function.
18837 (*pretty-printer*): Simplify.
18838 (make-objfile-pp_s-printer): New function.
18839 (install-objfile-pretty-printers!): New function.
18840 (make-progspace-pp_s-printer): New function.
18841 (install-progspace-pretty-printers!): New function.
18842 * gdb.guile/scm-progspace.c: New file.
18843 * gdb.guile/scm-progspace.exp: New file.
18844
41fac0cf
PA
188452014-06-02 Pedro Alves <palves@redhat.com>
18846
18847 * gdb.base/dprintf-bp-same-addr.c: New file.
18848 * gdb.base/dprintf-bp-same-addr.exp: New file.
18849
96ae5695
EBM
188502014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18851
18852 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18853 * gdb.arch/powerpc-power.s: Likewise.
18854
da02b3a8
JB
188552014-06-02 Joel Brobecker <brobecker@adacore.com>
18856
18857 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18858
c72b2e7b
YQ
188592014-06-01 Yao Qi <yao@codesourcery.com>
18860
18861 * gdb.base/watchpoint.exp (test_watch_location): Check null
18862 pointer can be dereferenced. If not, do the test, otherwise
18863 skip it.
18864
53e8a631
AB
188652014-05-30 Andrew Burgess <aburgess@broadcom.com>
18866
18867 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18868 results.
18869 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18870
938f0e2f
AB
188712014-05-30 Andrew Burgess <aburgess@broadcom.com>
18872
18873 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18874 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18875 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18876 * gdb.arch/amd64-invalid-stack-top.c: New file.
18877 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18878
9ba6657a
PA
188792014-05-30 Pedro Alves <palves@redhat.com>
18880
18881 PR breakpoints/17000
18882 * gdb.base/sss-bp-on-user-bp.c: New file.
18883 * gdb.base/sss-bp-on-user-bp.exp: New file.
18884
522c09bf
DB
188852014-05-30 David Blaikie <dblaikie@gmail.com>
18886
18887 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18888 gnu_inline semantics via attribute.
18889 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18890 source explicitly specifies the required semantics.
18891
bf4ef81e
MR
188922014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18893
18894 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18895
329ea579
PA
188962014-05-29 Pedro Alves <palves@redhat.com>
18897 Tom Tromey <tromey@redhat.com>
18898
18899 * gdb.base/async-shell.exp: Don't enable target-async.
18900 * gdb.base/async.exp
18901 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18902 parameter. Adjust.
18903 (top level): Don't test with "target-async".
18904 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18905 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18906 * gdb.base/inferior-died.exp: Don't enable target-async.
18907 * gdb.base/interrupt-noterm.exp: Likewise.
18908 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18909 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18910 * gdb.mi/mi-nonstop.exp: Likewise.
18911 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18912 * gdb.mi/mi-nsintrall.exp: Likewise.
18913 * gdb.mi/mi-nsmoribund.exp: Likewise.
18914 * gdb.mi/mi-nsthrexec.exp: Likewise.
18915 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18916 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18917 * gdb.python/py-evsignal.exp: Don't enable target-async.
18918 * gdb.python/py-evthreads.exp: Likewise.
18919 * gdb.python/py-prompt.exp: Likewise.
18920 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18921 * gdb.server/solib-list.exp: Don't enable target-async.
18922 * gdb.threads/thread-specific-bp.exp: Likewise.
18923 * lib/mi-support.exp: Adjust to use mi-async.
18924
fd664c91
PA
189252014-05-29 Pedro Alves <palves@redhat.com>
18926
18927 PR gdb/13860
18928 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18929 reason, even in sync mode.
18930
251bde03
PA
189312014-05-29 Pedro Alves <palves@redhat.com>
18932 Hui Zhu <hui@codesourcery.com>
18933
18934 PR PR15693
18935 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18936 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18937 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18938 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18939
7f3c0343
JB
189402014-05-28 Joel Brobecker <brobecker@adacore.com>
18941
18942 * config/monitor.exp (gdb_target_monitor): Replace use of
18943 "set remotebaud" by "set serial baud".
18944
b2715b27
AW
189452014-05-26 Andy Wingo <wingo@igalia.com>
18946
18947 * gdb.guile/scm-breakpoint.exp:
18948 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18949 properties instead of gdb-object-properties.
18950
498a4489
YQ
189512014-05-26 Yao Qi <yao@codesourcery.com>
18952
18953 * gdb.server/no-thread-db.exp: Specify source file name
18954 explicitly when setting a breakpoint.
18955
589fdceb
MM
189562014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18957
18958 * gdb.btrace/vdso.c: New.
18959 * gdb.btrace/vdso.exp: New.
18960
e9089e05
MM
189612014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18962
18963 * gdb.base/gcore.exp (capture_command_output): Move ...
18964 * lib/gdb.exp (capture_command_output): ... here.
18965
67b5c0c1
MM
189662014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18967
18968 * gdb.btrace/data.exp: Test memory access during btrace replay.
18969
a2199296
SM
189702014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18971
18972 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18973
17b2616c
PA
189742014-05-21 Pedro Alves <palves@redhat.com>
18975
18976 PR gdb/13860
18977 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18978 (top level): Test that output related to execution commands is
18979 sent to the console with CLI commands, but not with MI commands.
18980 Test that breakpoint events are always mirrored to the console.
18981 Also expect the new source line to be output after a "next" in
18982 async mode too. Make it a pass/fail test.
18983 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18984 output.
18985 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18986
5166082f
PA
189872014-05-21 Pedro Alves <palves@redhat.com>
18988
18989 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18990 Use them to test variations of "list" after reaching a breakpoint.
18991 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18992 Test "list" with listsize 10 after reaching a breakpoint.
18993 * gdb.python/python.exp (decode_line current location line
18994 number): Adjust expected line number.
18995
2f25d70f
SM
189962014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18997
18998 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18999 behavior for $args, pass it directly to "run".
19000
ff604a67
MR
190012014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19002
19003 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19004 30000 to 65536.
19005
6a3cb8e8
PA
190062014-05-21 Pedro Alves <palves@redhat.com>
19007
19008 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19009 auto-connect-native-target off".
19010 * gdb.base/auto-connect-native-target.c: New file.
19011 * gdb.base/auto-connect-native-target.exp: New file.
19012
4ebfc96e
PA
190132014-05-21 Pedro Alves <palves@redhat.com>
19014
19015 * gdb.base/default.exp: Test "target native" instead of "target
19016 child".
19017
36d46afb
MW
190182014-05-21 Mark Wielaard <mjw@redhat.com>
19019
19020 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19021
5876f503
JK
190222014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19023
19024 Fix TLS access for -static -pthread.
19025 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19026 <HAVE_TLS> (thread_function, main): Initialize it.
19027 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19028 Add clean_restart.
19029 <$have_tls != "">: Check TLSVAR.
19030
0256a6ac
PA
190312014-05-21 Pedro Alves <palves@redhat.com>
19032
19033 * gdb.base/dcache-line-read-error.c: New.
19034 * gdb.base/dcache-line-read-error.exp: New.
19035
936d2992
PA
190362014-05-20 Pedro Alves <palves@redhat.com>
19037
19038 * gdb.base/compare-sections.c: New file.
19039 * gdb.base/compare-sections.exp: New file.
19040
802e8e6d
PA
190412014-05-20 Pedro Alves <palves@redhat.com>
19042
19043 * gdb.base/break-idempotent.c: New file.
19044 * gdb.base/break-idempotent.exp: New file.
19045
e59fa00f
MM
190462014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19047
19048 * gdb.btrace/nohist.exp: New.
19049
8b696e31
YQ
190502014-05-20 Yao Qi <yao@codesourcery.com>
19051
19052 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19053 gdb.reverse directory and gdb_reverse_timeout exists in board
19054 setting.
19055 * README: Document gdb_reverse_timeout.
19056
73c9764f
YQ
190572014-05-20 Yao Qi <yao@codesourcery.com>
19058
19059 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19060 'test_file_name'. Treat args as a string instead of a list.
19061 (gdb_init): Rename argument 'args' by 'test_file_name'.
19062
f1f4348a
JK
190632014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19064
19065 * gdb.arch/powerpc-power.exp: New file.
19066 * gdb.arch/powerpc-power.s: New file.
19067
0dbe70ce
DE
190682014-05-16 Doug Evans <dje@google.com>
19069
19070 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19071 * gdb.base/completion.exp: Check that all expected files exist
19072 before doing file completion.
0dbe70ce 19073
8d551b02
DE
190742014-05-16 Doug Evans <dje@google.com>
19075
19076 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19077 Update.
19078 (do_syscall_tests_without_xml): Update.
19079
73eb7709
PA
190802014-05-16 Pedro Alves <palves@redhat.com>
19081
19082 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19083 instead of "unknown output after running".
19084
3fae92fc
YQ
190852014-05-16 Yao Qi <yao@codesourcery.com>
19086
19087 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19088 file1.txt from host at the end.
19089 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19090
c2b2ccc5
DE
190912014-05-15 Doug Evans <dje@google.com>
19092
19093 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19094 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19095 loading file. Add test for TU lookup.
19096
8c217a4b
SM
190972014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19098
19099 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19100 calling "-exec-arguments" or "set args" before running the
19101 inferior.
19102
3deb39c6
SM
191032014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19104
19105 * lib/mi-support.exp (mi_expect_stop): Expect message for
19106 inferiors that exit with non-zero exit code.
19107
71a79f8c
YQ
191082014-05-14 Yao Qi <yao@codesourcery.com>
19109
19110 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19111 match absolute path on remote host.
19112 (test_file_list_exec_source_files): Remove "/" from the
19113 pattern.
19114
f23fcd46
YQ
191152014-05-14 Yao Qi <yao@codesourcery.com>
19116
19117 * boards/local-remote-host-notty.exp (${board}_file): New
19118 proc.
19119
9404b58f
KM
191202014-05-07 Kyle McMartin <kyle@redhat.com>
19121
19122 Pushed by Joel Brobecker <brobecker@adacore.com>.
19123 * gdb.arch/aarch64-atomic-inst.c: New file.
19124 * gdb.arch/aarch64-atomic-inst.exp: New file.
19125
5e45f04c
YQ
191262014-05-07 Yao Qi <yao@codesourcery.com>
19127
19128 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19129 in current context" too.
19130
c888a17d
KS
191312014-05-05 Keith Seitz <keiths@redhat.com>
19132
19133 * gdb.linespec/ls-dollar.exp: Add test for linespec
19134 file:convenience_variable.
19135
290a839c
YQ
191362014-05-05 Yao Qi <yao@codesourcery.com>
19137
19138 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19139 traceframes into tfile and ctf trace files. Read data from
19140 trace file and test collected data.
19141 (gdb_collect_locals_test): Likewise.
19142 (gdb_unavailable_registers_test): Likewise.
19143 (gdb_unavailable_floats): Likewise.
19144 (gdb_collect_globals_test): Likewise.
19145 (top-level): Append "ctf" to trace_file_targets if GDB
19146 supports.
19147
b5262cd0
YQ
191482014-05-05 Yao Qi <yao@codesourcery.com>
19149
19150 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19151 code to ...
19152 (gdb_collect_args_test_1): ... it. New proc.
19153 (gdb_collect_locals_test): Move some code to ...
19154 (gdb_collect_locals_test_1): ... it. New proc.
19155 (gdb_unavailable_registers_test): Move some code to ...
19156 (gdb_unavailable_registers_test_1): ... it. New proc.
19157 (gdb_unavailable_floats): Move some code to ...
19158 (gdb_unavailable_floats_1): ... it. New proc.
19159
30a1e6cc
SDJ
191602014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19161
19162 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19163 probes to test for bitness recognition.
19164 * gdb.arch/amd64-stap-optional-prefix.exp
19165 (test_probe_value_without_reg): New procedure.
19166 Add code to test for different kinds of bitness.
19167
f33da99a
SDJ
191682014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19169
19170 PR breakpoints/16889
19171 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19172 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19173
5b80f00d
PA
191742014-05-01 Pedro Alves <palves@redhat.com>
19175
19176 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19177 gdb_file_cmd if no file is specified.
19178 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19179 last_loaded_file to set the remote exec-file.
19180
f8c2a73c
PA
191812014-05-01 Pedro Alves <palves@redhat.com>
19182
19183 * boards/local-remote-host.exp: New file.
19184
be6e8ac7
PA
191852014-05-01 Pedro Alves <palves@redhat.com>
19186
19187 * boards/local-remote-host.exp: Rename to ...
19188 * boards/local-remote-host-notty.exp: ... this.
19189
cac0dc8f
JB
191902014-04-28 Joel Brobecker <brobecker@adacore.com>
19191
19192 * gdb.ada/dyn_arrayidx: New testcase.
19193
9730e6cc
YQ
191942014-04-26 Yao Qi <yao@codesourcery.com>
19195
19196 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19197 and compute the length of function main. Save it in
19198 $main_length.
19199 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19200 (top-level): Use gdb_compile to compile objects into
19201 executable and restart GDB. Remove invocation to
19202 prepare_for_testing.
19203
7ae1a6a6
PA
192042014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19205 Pedro Alves <palves@redhat.com>
19206
19207 PR server/16255
19208 * gdb.multi/multi-attach.c: New file.
19209 * gdb.multi/multi-attach.exp: New file.
19210
4082afcc
PA
192112014-04-25 Pedro Alves <palves@redhat.com>
19212
19213 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19214 user.
19215 (top level): Test that "set remote conditional-breakpoints-packet
19216 off" works as intended.
19217 * gdb.base/dprintf.exp: Test that "set remote
19218 breakpoint-commands-packet off" works as intended.
19219 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19220 New function.
19221 (top level): Call it.
19222 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19223 remote fast-tracepoints-packet off" works as intended.
19224 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19225 * lib/gdb.exp (gdb_is_target_remote): ... here.
19226
2abc3f8d
DB
192272014-04-24 David Blaikie <dblaikie@gmail.com>
19228
19229 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19230 ensure clang would not discard them.
19231 * gdb.base/gdbvars.c: Ditto.
19232 * gdb.base/memattr.c: Ditto.
19233 * gdb.base/whatis.c: Ditto.
19234 * gdb.python/py-prettyprint.c: Ditto.
19235 * gdb.trace/actions.c: Ditto.
19236 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19237 ensure clang would not discard it.
19238
bfd39632
DB
192392014-04-24 David Blaikie <dblaikie@gmail.com>
19240
19241 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19242 clang to emit the full definition of type required by the test
19243 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19244
22842ff6
DB
192452014-04-24 David Blaikie <dblaikie@gmail.com>
19246
19247 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19248 coax Clang into emitting the definition of the type.
19249 * gdb.cp/pr10728-x.h (y): Ditto.
19250 * gdb.cp/pr10728-y.cc (y): Ditto.
19251
c2e827ad
DB
192522014-04-24 David Blaikie <dblaikie@gmail.com>
19253
19254 * gdb.base/label.exp: XFAIL label related tests under Clang.
19255 * gdb.cp/cplabel.exp: Ditto.
19256 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19257 under Clang those using labels.
19258
4c2d33e7
YQ
192592014-04-25 Yao Qi <yao@codesourcery.com>
19260
19261 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19262 double_label.
19263 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19264 partial_label and double_label.
19265
56083b99
DB
192662014-04-24 David Blaikie <dblaikie@gmail.com>
19267
19268 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19269
25d4e99d
DB
192702014-04-24 David Blaikie <dblaikie@gmail.com>
19271
19272 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19273 of the function to work across GCC and Clang.
19274 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19275 pointer types (const void ** const V void **).
19276
01f9f808
MS
192772014-04-24 Michael Sturm <michael.sturm@mintel.com>
19278 Walfred Tedeschi <walfred.tedeschi@intel.com>
19279
19280 * Makefile.in (EXECUTABLES): Added i386-avx512.
19281 * gdb.arch/i386-avx512.c: New file.
19282 * gdb.arch/i386-avx512.exp: Likewise.
19283
4b48d439
KS
192842014-04-23 Keith Seitz <keiths@redhat.com>
19285
19286 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19287 (mi_make_breakpoint_table): New procedure.
19288 (mi_create_breakpoint): Use mi_make_breakpoint
19289 and return the result.
19290 (mi_make_breakpoint): New procedure.
19291 (mi_build_kv_pairs): New procedure.
19292
19293 * gdb.mi/mi-break.exp: Remove unused globals,
19294 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19295 All callers updated.
19296 * gdb.mi/mi-dprintf.exp: Use variable to track command
19297 number.
19298 Update all callers of mi_create_breakpoint and use
19299 mi_make_breakpoint_table.
19300 Remove any unused global variables.
19301 * gdb.mi/mi-nonstop.exp: Likewise.
19302 * gdb.mi/mi-nsintrall.exp: Likewise.
19303 * gdb.mi/mi-nsmoribund.exp: Likewise.
19304 * gdb.mi/mi-nsthrexec.exp: Likewise.
19305 * gdb.mi/mi-reverse.exp: Likewise.
19306 * gdb.mi/mi-simplerun.exp: Likewise.
19307 * gdb.mi/mi-stepn.exp: Likewise.
19308 * gdb.mi/mi-syn-frame.exp: Likewise.
19309 * gdb.mi/mi-until.exp: Likewise.
19310 * gdb.mi/mi-var-cp.exp: Likewise.
19311 * gdb.mi/mi-var-display.exp: Likewise.
19312 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19313 * gdb.mi/mi2-var-child.exp: Likewise.
19314 * gdb.mi/mi-vla-c99.exp: Likewise.
19315 * lib/mi-support.exp: Likewise.
19316
19317 From Ian Lance Taylor <iant@cygnus.com>:
19318 * lib/gdb.exp (parse_args): New procedure.
19319
08351840
PA
193202014-04-23 Pedro Alves <palves@redhat.com>
19321
19322 * gdb.base/break-unload-file.c: New file.
19323 * gdb.base/break-unload-file.exp: New file.
19324 * gdb.base/sym-file-lib.c (baz): New function.
19325 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19326 field.
19327 (load): Store the segment's mapped size.
19328 (unload): New function.
19329 (unload_shlib): New function.
19330 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19331 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19332 set a breakpoint at baz, and call it.
19333 * gdb.base/sym-file.exp: New tests for stale breakpoint
19334 instructions.
19335
076855f9
PA
193362014-04-23 Pedro Alves <palves@redhat.com>
19337
19338 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19339 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19340 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19341 * gdb.base/hbreak-unmapped.c: New file.
19342 * gdb.base/hbreak-unmapped.exp: New file.
19343 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19344 * lib/gdb.exp (gdb_is_target_remote): ... here.
19345
483805cf
PA
193462014-04-22 Pedro Alves <palves@redhat.com>
19347
19348 * gdb.base/consecutive-step-over.c: New file.
19349 * gdb.base/consecutive-step-over.exp: New file.
19350
06d97543
PA
193512014-04-22 Pedro Alves <palves@redhat.com>
19352
19353 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19354 instead of send_gdb/gdb_expect.
19355
b4429ea2
YQ
193562014-04-22 Yao Qi <yao@codesourcery.com>
19357
19358 * lib/trace-support.exp (generate_tracefile): New procedure.
19359 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19360 return 0.
19361 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19362 if generate_tracefile returns 1.
19363
51d48146
PA
193642014-04-18 Tom Tromey <palves@redhat.com>
19365 Pedro alves <tromey@redhat.com>
19366
19367 PR backtrace/15558
19368 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19369 with a backtrace limit.
19370 * gdb.python/py-frame-inline.exp: Test running to an inline
19371 function with a backtrace limit, and printing the newest frame.
19372 * gdb.python/py-frame-inline.c (main): Call f.
19373
bd1dce5f
MS
193742014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19375
19376 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19377
40d1a503
MS
193782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19379
19380 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19381 Drop prefix from unsupported source file path.
19382
389b98f7
YQ
193832014-04-17 Yao Qi <yao@codesourcery.com>
19384
19385 * lib/gdb.exp (with_target_charset): New proc.
19386 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19387 with_target_charset.
19388 (test_print_strings): Likewise.
19389 (test_repeat_bytes): Likewise.
19390 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19391 for some tests.
19392
22869d73
KS
193932014-04-16 Keith Seitz <keiths@redhat.com>
19394
19395 PR gdb/15827
19396 * gdb.dwarf2/corrupt.c: New file.
19397 * gdb.dwarf2/corrupt.exp: New file.
19398
c4f87ca6
KS
193992014-04-16 Keith Seitz <keiths@redhat.com>
19400
19401 PR c++/16597
19402 * gdb.cp/namelessclass.cc: New file.
19403 * gdb.cp/namelessclass.exp: New file.
19404 * gdb.cp/namelessclass.S: New file.
19405
ab19de87
DE
194062014-04-16 Doug Evans <dje@google.com>
19407
19408 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19409 Add comment.
19410 (gdbserver_default_get_comm_port): New function.
19411 (gdbserver_start): Check if board file provided
19412 "gdbserver,get_comm_port" and use it if so.
19413 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19414 (gdb,socketport): Set to "stdio".
19415 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19416 (stdio_gdbserver_template): Delete.
19417 (${board}_get_remote_address): Update.
19418 (${board}_build_remote_cmd): Delete.
19419 (${board}_get_comm_port): New function.
19420 (${board}_spawn): Update.
19421 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19422 Delete.
19423 (${board}_get_remote_address): Update.
19424 (${board}_get_comm_port): New function.
19425
fc98a809
AB
194262014-04-16 Andrew Burgess <aburgess@broadcom.com>
19427
19428 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19429 appearing in any order.
19430
87fd9e6e
DE
194312014-04-15 Doug Evans <dje@google.com>
19432
19433 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19434 uninitialized value of "description".
19435
099fc3ea
KS
194362014-04-15 Keith Seitz <keiths@redhat.com>
19437
19438 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19439 Remove unused globals.
19440 (test_running_the_program): Likewise.
19441 (test_controlled_execution): Likewise.
19442 (test_controlling_breakpoints): Likewise.
19443 (test_program_termination): Likewise.
19444
5da151d4
KS
194452014-04-15 Keith Seitz <keiths@redhat.com>
19446
19447 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19448 unused globals.
19449 (test_rbreak_creation_and_listing): Likewise.
19450 (test_ignore_count): Likewise.
19451 (test_error): Likewise.
19452
35e5d2f0
PA
194532014-04-15 Pedro Alves <palves@redhat.com>
19454
19455 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19456 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19457 sym-file-loader.c.
19458 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19459 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19460 to sym-file-loader.c.
19461 (struct library): Forward declare.
19462 (load_shlib, lookup_function): Change prototypes.
19463 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19464 (translate_offset): Remove declarations.
19465 (get_text_addr): New declaration.
19466 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19467 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19468 sym-file-loader.h.
19469 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19470 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19471 here from sym-file-loader.h.
19472 (struct library): New structure.
19473 (load_shlib, lookup_function): Change prototypes and adjust to
19474 work with a struct library.
19475 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19476 (translate_offset): Make static.
19477 (get_text_addr): New function.
19478 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19479
eb4c1710
PA
194802014-04-15 Pedro Alves <palves@redhat.com>
19481
19482 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19483
2d1baf52
PA
194842014-04-15 Pedro Alves <palves@redhat.com>
19485
19486 * gdb.base/sym-file-loader.c: Include <limits.h>.
19487 (SELF_LINK): New define.
19488 (get_origin): New function.
19489 (load_shlib): Use it.
19490 * gdb.base/sym-file.exp: Don't early return if the target is
19491 remote. Use runto_main, and issue fail is that fails. Use
19492 gdb_load_shlibs.
19493 (shlib_name): Delete.
19494 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19495
7dd6df01
PA
194962014-04-15 Pedro Alves <palves@redhat.com>
19497
19498 * gdb.base/sym-file.exp: Remove regex characters from test
19499 message. Don't refer to breakpoint numbers in test messages.
19500
b50c8614
KS
195012014-04-14 Keith Seitz <keiths@redhat.com>
19502
19503 PR c++/16253
19504 * gdb.cp/var-tag.cc: New file.
19505 * gdb.cp/var-tag.exp: New file.
19506 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19507 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19508 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19509 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19510
3d567982
TT
195112014-04-14 Tom Tromey <tromey@redhat.com>
19512
19513 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19514 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19515 type.
19516 * gdb.cp/enum-class.exp: New file.
19517 * gdb.cp/enum-class.cc: New file.
19518
0626fc76
TT
195192014-04-14 Tom Tromey <tromey@redhat.com>
19520
19521 * gdb.dwarf2/enum-type.exp: New file.
19522
dca325b3
SA
195232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19524
19525 * gdb.mi/mi-vla-c99.exp: New file.
19526 * gdb.mi/vla.c: New file.
19527
5854b38a
SA
195282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19529
19530 * gdb.base/vla-datatypes.c: New file.
19531 * gdb.base/vla-datatypes.exp: New file.
19532
463bb957
SA
195332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19534
19535 * gdb.base/vla-ptr.c: New file.
19536 * gdb.base/vla-ptr.exp: New file.
19537
3dd170be
SA
195382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19539
19540 * gdb.dwarf2/count.exp: New file.
19541
5ecaaa66
SA
195422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19543
19544 * gdb.base/vla-sideeffect.c: New file.
19545 * gdb.base/vla-sideeffect.exp: New file.
19546
41f1ada5
DB
195472014-04-14 David Blaikie <dblaikie@gmail.com>
19548
19549 * gdb.mi/non-stop.c: Add return value for non-void function return
19550 statement.
19551 * gdb.threads/staticthreads.c: Ditto.
19552
0be03e84
DE
195532014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19554 Doug Evans <xdje42@gmail.com>
19555
19556 * gdb.guile/scm-value.c: Improve test case.
19557 * gdb.guile/scm-value.exp: Add new test.
19558
f180a1fb
DB
195592014-04-11 David Blaikie <dblaikie@gmail.com>
19560
19561 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19562 override Clang's default.
19563
6b662e19
JB
195642014-04-11 Joel Brobecker <brobecker@adacore.com>
19565
19566 Revert the following changes (regressions):
19567
19568 * gdb.base/vla-sideeffect.c: New file.
19569 * gdb.base/vla-sideeffect.exp: New file.
19570
19571 * gdb.dwarf2/count.exp: New file.
19572
19573 * gdb.base/vla-multi.c: New file.
19574 * gdb.base/vla-multi.exp: New file.
19575
19576 * gdb.base/vla-ptr.c: New file.
19577 * gdb.base/vla-ptr.exp: New file.
19578
19579 * gdb.base/vla-datatypes.c: New file.
19580 * gdb.base/vla-datatypes.exp: New file.
19581
19582 * gdb.mi/mi-vla-c99.exp: New file.
19583 * gdb.mi/vla.c: New file.
19584
245a5f0b
KS
195852014-04-11 Keith Seitz <keiths@redhat.com>
19586
19587 PR c++/16675
19588 * gdb.cp/cpsizeof.exp: New file.
19589 * gdb.cp/cpsizeof.cc: New file.
19590
58a84dcf
SA
195912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19592
191a8a90
JB
19593 * gdb.mi/mi-vla-c99.exp: New file.
19594 * gdb.mi/vla.c: New file.
58a84dcf 19595
c8655f75
SA
195962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19597
19598 * gdb.base/vla-datatypes.c: New file.
19599 * gdb.base/vla-datatypes.exp: New file.
19600
024e13b4
SA
196012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19602
19603 * gdb.base/vla-ptr.c: New file.
19604 * gdb.base/vla-ptr.exp: New file.
19605
1a237e0e
SA
196062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19607
19608 * gdb.base/vla-multi.c: New file.
19609 * gdb.base/vla-multi.exp: New file.
19610
504f3432
SA
196112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19612
19613 * gdb.dwarf2/count.exp: New file.
19614
3bce8237
SA
196152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19616
191a8a90
JB
19617 * gdb.base/vla-sideeffect.c: New file.
19618 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19619
322f9c21
YQ
196202014-04-11 Yao Qi <yao@codesourcery.com>
19621
19622 * gdb.base/completion.exp: Check file exists before running tests
19623 on file completion.
19624
d708bcd1
PA
196252014-04-10 Pedro Alves <palves@redhat.com>
19626
19627 * gdb.base/cond-eval-mode.c: New file.
19628 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19629 prepare_for_testing to build the new file. Check result of
19630 runto_main.
19631 (test_break, test_watch): New procedures.
19632 (top level): Use them.
19633
ae1d2761
PM
196342014-04-08 Pierre Muller <muller@sourceware.org>
19635
19636 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19637 Ctrl-V use for mingw hosts.
19638
7af389b8
SC
196392014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19640
19641 * gdb.python/py-value.c: Improve test case.
19642 * gdb.python/py-value.exp: Add new test.
19643
5e703181
DE
196442014-04-07 David Blaikie <dblaikie@gmail.com>
19645
19646 * lib/compiler.c: Identify the clang compiler.
19647 * lib/compiler.cc: Ditto.
19648
9810b410
YQ
196492014-04-03 Yao Qi <yao@codesourcery.com>
19650
19651 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19652
98d1b8dc
AB
196532014-04-01 Anton Blanchard <anton@samba.org>
19654
19655 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19656 messages unique.
19657
3114cea1
AB
196582014-04-01 Anton Blanchard <anton@samba.org>
19659
19660 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19661 prepare_for_testing.
19662
62f7182c
AB
196632014-04-01 Anton Blanchard <anton@samba.org>
19664
19665 * gdb.arch/ppc64-atomic-inst.c: Remove.
19666 * gdb.arch/ppc64-atomic-inst.S: New file.
19667 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19668
770e7fc7
DE
196692014-03-31 Doug Evans <dje@google.com>
19670
19671 * gdb.base/print-symbol-loading-lib.c: New file.
19672 * gdb.base/print-symbol-loading-main.c: New file.
19673 * gdb.base/print-symbol-loading.exp: New file.
19674
46e2bafa
YQ
196752014-03-31 Yao Qi <yao@codesourcery.com>
19676
19677 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19678
8776cfe9
JB
196792014-03-28 Joel Brobecker <brobecker@adacore.com>
19680
19681 * gdb.ada/mi_dyn_arr: New testcase.
19682
5d1ef361
DE
196832014-03-27 Doug Evans <dje@google.com>
19684
19685 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19686
b5bee914
YQ
196872014-03-27 Yao Qi <yao@codesourcery.com>
19688
19689 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19690 if target is nios2-*-*.
19691
0d4d0e77
YQ
196922014-03-26 Yao Qi <yao@codesourcery.com>
19693
19694 * lib/gdb.exp (readline_is_used): New proc.
19695 * gdb.base/completion.exp: Move tests on command complete up.
19696 Skip the rest of tests if readline is not used.
19697 * gdb.ada/complete.exp: Skp the test if readline is not
19698 used.
19699 * gdb.base/filesym.exp: Likewise.
19700 * gdb.base/macscp.exp: Likewise.
19701 * gdb.base/readline-ask.exp: Likewise.
19702 * gdb.base/readline.exp: Likewise.
19703 * gdb.python/py-cmd.exp: Likewise.
19704 * gdb.trace/tfile.exp: Likewise.
19705
29361eee
YQ
197062014-03-26 Yao Qi <yao@codesourcery.com>
19707
19708 * gdb.base/macscp.exp: Fix code format issues.
19709
bc9a5525
UW
197102014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19711
19712 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19713 * gdb.asm/powerpc64le.inc: New file.
19714
d3839ede
PA
197152014-03-25 Pedro Alves <palves@redhat.com>
19716 Doug Evans <dje@google.com>
19717
19718 * gdb.base/source-execution.c: New file.
19719 * gdb.base/source-execution.exp: New file.
19720 * gdb.base/source-execution.gdb: New file.
19721
01672a57
DE
197222014-03-24 Doug Evans <dje@google.com>
19723
19724 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19725 using fission.
19726
88bbeca9
HZ
197272014-03-24 Hui Zhu <hui@codesourcery.com>
19728 Pedro Alves <palves@redhat.com>
19729
19730 PR breakpoints/16101
19731 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19732 test pass/fail messages. Detect missing support for dprintf when
19733 breakpoints are actually inserted.
19734 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19735 breakpoints are actually inserted.
19736 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19737 fails.
19738
d2348791
JK
197392014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19740
19741 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19742
feef67ab
DE
197432014-03-22 Doug Evans <xdje42@gmail.com>
19744
19745 * gdb.python/python.exp (python not supported): Verify multi-line
19746 python command issues an error.
25d743f9 19747 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19748 guile command issues an error.
feef67ab 19749
ecebef6a
MR
197502014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19751
19752 * gdb.threads/thread-specific.exp: Handle the lack of usable
19753 $this_breakpoint and $this_thread.
19754
ccdd1909
HZ
197552014-03-21 Hui Zhu <hui@codesourcery.com>
19756
19757 * gdb.base/attach.exp (do_command_attach_tests): New.
19758
beb460e8
PA
197592014-03-20 Tom Tromey <tromey@redhat.com>
19760 Pedro Alves <palves@redhat.com>
19761
19762 PR cli/15718
19763 * gdb.base/condbreak-call-false.c: New file.
19764 * gdb.base/condbreak-call-false.exp: New file.
19765
40acf43a
PA
197662014-03-20 Pedro Alves <palves@redhat.com>
19767
19768 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19769 Delete.
19770 (block_signals, unblock_signals): Delete.
19771 (child_function_2, main): Remove references to deleted variable
19772 and functions.
19773
9f5e1e02
PA
197742014-03-20 Pedro Alves <palves@redhat.com>
19775
19776 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19777 Use pthread_kill to signal thread 2.
19778 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19779 Adjust to make the test send itself a signal rather than using the
19780 host's "kill" command.
19781
99619bea
PA
197822014-03-20 Pedro Alves <palves@redhat.com>
19783
19784 * gdb.threads/multiple-step-overs.c: New file.
19785 * gdb.threads/multiple-step-overs.exp: New file.
19786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19787 Adjust expected infrun debug output.
19788
2adfaa28
PA
197892014-03-20 Pedro Alves <palves@redhat.com>
19790
19791 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19792 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19793
31e77af2
PA
197942014-03-20 Pedro Alves <palves@redhat.com>
19795
19796 PR breakpoints/7143
19797 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19798 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19799 of gdb_test_multiple.
19800 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19801 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19802
b9f437de
PA
198032014-03-20 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19806 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19807
05adc73e
PA
198082014-03-19 Pedro Alves <palves@redhat.com>
19809
19810 * gdb.base/async.exp: Remove early return.
19811
6048b950
PA
198122014-03-19 Pedro Alves <palves@redhat.com>
19813
19814 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19815
8bcfb00a
PA
198162014-03-19 Pedro Alves <palves@redhat.com>
19817
19818 * gdb.base/async.exp (test_background): Expect \r\n after
19819 "completed." in the fail pattern.
19820
884e37dc
PA
198212014-03-19 Pedro Alves <palves@redhat.com>
19822
19823 * gdb.base/async.exp (test_background): New procedure.
19824 Use it for all background execution command tests.
19825
148e57e2
PA
198262014-03-19 Pedro Alves <palves@redhat.com>
19827
19828 * gdb.base/async.exp: Use prepare_for_testing.
19829
f48088c7
PA
198302014-03-19 Pedro Alves <palves@redhat.com>
19831
19832 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19833 the same line.
19834
e2f6c966
PA
198352014-03-19 Pedro Alves <palves@redhat.com>
19836
19837 * gdb.base/async.c (main): Add "jump here" and "until here" line
19838 marker comments.
19839 * gdb.base/async.exp (jump_here): New global.
19840 (jump& test): Use it.
19841 (until_here): New global.
19842 (until& test): Use it.
19843
c30568d4
PA
198442014-03-19 Pedro Alves <palves@redhat.com>
19845
19846 * gdb.base/async.exp: Don't frob gdb_protocol.
19847
0172b6a7
DE
198482014-03-18 Doug Evans <xdje42@gmail.com>
19849
19850 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19851 Fix spelling of exec-done-display.
19852
06c868a8
JK
198532014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19854
19855 PR gdb/15358
19856 * gdb.base/gdb-sigterm.c: New file.
19857 * gdb.base/gdb-sigterm.exp: New file.
19858
0c7e1a46
PA
198592014-03-18 Pedro Alves <palves@redhat.com>
19860
19861 PR gdb/13860
19862 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19863 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19864 solib-event.
19865
f7c77d93
JB
198662014-03-17 Joel Brobecker <brobecker@adacore.com>
19867
19868 * gdb.ada/pckd_arr_ren: New testcase.
19869
5a1e8c7a
DE
198702014-03-13 Doug Evans <xdje42@gmail.com>
19871
19872 PR guile/16612
19873 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19874 collect after discarding symbols.
19875
350e1a76
DE
198762014-03-13 Ludovic Courtès <ludo@gnu.org>
19877 Doug Evans <xdje42@gmail.com>
19878
19879 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19880 to history survives a gc.
19881
a69900ae
PA
198822014-03-13 Pedro Alves <palves@redhat.com>
19883
19884 * gdb.base/default.exp: Don't test "target procfs".
19885
5db9f0bd
PA
198862014-03-13 Pedro Alves <palves@redhat.com>
19887
19888 * gdb.base/default.exp: Update "target child" and "target procfs"
19889 tests to not expect "Unix".
19890
b3ccfe11
TT
198912014-03-12 Tom Tromey <tromey@redhat.com>
19892
19893 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19894 New procs. Add target-async tests.
19895 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19896 Add target-async tests.
19897
646f4417
AA
198982014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19899
19900 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19901 'func_start' and 'func_end' for the beginning and end of the
19902 function code, respectively.
19903 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19904 'func_end' instead of 'func' and 'main'.
19905
288c211f
AA
199062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19907
19908 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19909 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19910 generate the debug info assembler source.
19911
e0c0f156
AA
199122014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19913
19914 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19915 * gdb.dwarf2/arr-subrange.exp: Likewise.
19916 * gdb.dwarf2/dwz.exp: Likewise.
19917 * gdb.dwarf2/method-ptr.exp: Likewise.
19918 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19919 * gdb.dwarf2/subrange.exp: Likewise.
19920 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19921 * gdb.dwarf2/implptrpiece.exp: Likewise.
19922 * gdb.dwarf2/nostaticblock.exp: Likewise.
19923
0e5c4555
AA
199242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19925
19926 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19927 directory to absolute path name arguments.
19928
5ec18f2b
JG
199292014-03-10 Joel Brobecker <brobecker@adacore.com>
19930
19931 * gdb.ada/tagged_access: New testcase.
19932
847fc4f2
MM
199332014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19934
19935 * gdb.btrace/data.exp: Update expected output.
19936
cc3da688
YQ
199372014-03-06 Yao Qi <yao@codesourcery.com>
19938
19939 * gdb.trace/pr16508.exp: New file.
19940
0f26cec1
PA
199412014-03-05 Pedro Alves <palves@redhat.com>
19942
19943 PR gdb/16575
19944 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19945 procedure.
19946 (top level): Adjust to use it. Add tests that exercise breakpoint
19947 interaction with the code-cache.
19948
7a5a839f
LC
199492014-02-26 Ludovic Courtès <ludo@gnu.org>
19950
19951 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19952 test for 'history-append!'.
19953
31aa7e4e
JB
199542014-02-26 Joel Brobecker <brobecker@adacore.com>
19955
19956 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19957 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19958 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19959 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19960 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19961 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19962
1b588015
JB
199632014-02-26 Joel Brobecker <brobecker@adacore.com>
19964
19965 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19966 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19967 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19968
55426c9d
JB
199692014-02-26 Joel Brobecker <brobecker@adacore.com>
19970
19971 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19972
dc53a7ad
JB
199732014-02-26 Joel Brobecker <brobecker@adacore.com>
19974
19975 * gdb.dwarf2/arr-stride.c: New file.
19976 * gdb.dwarf2/arr-stride.exp: New file.
19977
12ab52e9
PA
199782014-02-26 Pedro Alves <palves@redhat.com>
19979
19980 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19981 that won't ever trigger. Make sure that GDB reports the correct
19982 breakpoint that caused the stop.
19983
849c862e
JK
199842014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19985
19986 PR gdb/16626
19987 * gdb.base/auto-load-script: New file.
19988 * gdb.base/auto-load.c: New file.
19989 * gdb.base/auto-load.exp: New file.
19990
71b7d793
JK
19991 PR gdb/16626
19992 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19993
e2f0d509
JK
199942014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19995
19996 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19997 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19998
50cc37c8
DE
199992014-02-24 Doug Evans <dje@google.com>
20000
20001 * lib/gdb.exp (run_on_host): Log error output if program fails.
20002
ea4758f2
PA
200032014-02-21 Pedro Alves <palves@redhat.com>
20004
20005 * gdb.threads/step-after-sr-lock.c: Rename to ...
20006 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20007 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20009 ... this.
20010
d7b30f67
SDJ
200112014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20012
20013 PR tdep/16397
20014 * gdb.arch/amd64-stap-special-operands.exp: New file.
20015 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20016 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20017 * gdb.arch/amd64-stap-triplet.S: Likewise.
20018 * gdb.arch/amd64-stap-triplet.c: Likewise.
20019
83deb43f
JB
200202014-02-20 Joel Brobecker <brobecker@adacore.com>
20021
20022 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20023 in .section pseudo-op.
20024
adde2bff
DE
200252014-02-20 lin zuojian <manjian2006@gmail.com>
20026 Joel Brobecker <brobecker@adacore.com>
20027 Doug Evans <xdje42@gmail.com>
20028
20029 PR symtab/16581
20030 * gdb.dwarf2/dw2-icycle.S: New file.
20031 * gdb.dwarf2/dw2-icycle.c: New file.
20032 * gdb.dwarf2/dw2-icycle.exp: New file.
20033
f7bd0f78
SC
200342014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20035
20036 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20037 operations on gdb.Value objects.
20038 * gdb.python/py-value-cc.exp: Add new test to test operations on
20039 gdb.Value objects.
20040
c17ef0d5
DE
200412014-02-18 Doug Evans <dje@google.com>
20042
20043 * Makefile.in (TESTS): New variable.
20044 (expanded_tests, expanded_tests_or_none): New variables
20045 (check-single): Pass $(expanded_tests_or_none) to runtest.
20046 (check-parallel): Only run tests in $(TESTS) if non-empty.
20047 (check/no-matching-tests-found): New rule.
20048 * README: Document TESTS makefile variable.
20049
5dd3176f
DE
200502014-02-18 Doug Evans <dje@google.com>
20051
20052 * Makefile.in (check-parallel): rm -rf outputs temp.
20053
0b10be4f
JK
200542014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20055
20056 Fix "ERROR: no fileid for" in the testsuite.
20057 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20058
85f224e7
DE
200592014-02-12 Doug Evans <dje@google.com>
20060
20061 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20062 (MISCELLANEOUS): New variable.
20063 (clean): rm -rf $(MISCELLANEOUS).
20064 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20065 dwp live in the same directory as symlinks, with each symlink pointed
20066 to a differently named file in a different directory.
20067
149b30ff
DE
200682014-02-11 Doug Evans <dje@google.com>
20069
20070 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20071 of Tcl file commands.
20072
1dfdac32
MK
200732014-02-10 Mark Kettenis <kettenis@gnu.org>
20074
20075 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20076 "kill -SIGUSR1 -1".
20077
aa4fb036
JB
200782014-02-10 Joel Brobecker <brobecker@adacore.com>
20079
20080 * gdb.ada/tick_length_array_enum_idx: New testcase.
20081
ed3ef339
DE
200822014-02-10 Doug Evans <xdje42@gmail.com>
20083
20084 * configure.ac (AC_OUTPUT): Add gdb.guile.
20085 * configure: Regenerate.
20086 * lib/gdb-guile.exp: New file.
20087 * lib/gdb.exp (get_target_charset): New function.
20088 * gdb.base/help.exp: Update expected output from "apropos apropos".
20089 * gdb.guile/Makefile.in: New file.
20090 * gdb.guile/guile.exp: New file.
20091 * gdb.guile/scm-arch.c: New file.
20092 * gdb.guile/scm-arch.exp: New file.
20093 * gdb.guile/scm-block.c: New file.
20094 * gdb.guile/scm-block.exp: New file.
20095 * gdb.guile/scm-breakpoint.c: New file.
20096 * gdb.guile/scm-breakpoint.exp: New file.
20097 * gdb.guile/scm-disasm.c: New file.
20098 * gdb.guile/scm-disasm.exp: New file.
20099 * gdb.guile/scm-equal.c: New file.
20100 * gdb.guile/scm-equal.exp: New file.
20101 * gdb.guile/scm-error.exp: New file.
20102 * gdb.guile/scm-error.scm: New file.
20103 * gdb.guile/scm-frame-args.c: New file.
20104 * gdb.guile/scm-frame-args.exp: New file.
20105 * gdb.guile/scm-frame-args.scm: New file.
20106 * gdb.guile/scm-frame-inline.c: New file.
20107 * gdb.guile/scm-frame-inline.exp: New file.
20108 * gdb.guile/scm-frame.c: New file.
20109 * gdb.guile/scm-frame.exp: New file.
20110 * gdb.guile/scm-generics.exp: New file.
20111 * gdb.guile/scm-gsmob.exp: New file.
20112 * gdb.guile/scm-iterator.c: New file.
20113 * gdb.guile/scm-iterator.exp: New file.
20114 * gdb.guile/scm-math.c: New file.
20115 * gdb.guile/scm-math.exp: New file.
20116 * gdb.guile/scm-objfile-script-gdb.in: New file.
20117 * gdb.guile/scm-objfile-script.c: New file.
20118 * gdb.guile/scm-objfile-script.exp: New file.
20119 * gdb.guile/scm-objfile.c: New file.
20120 * gdb.guile/scm-objfile.exp: New file.
20121 * gdb.guile/scm-ports.exp: New file.
20122 * gdb.guile/scm-pretty-print.c: New file.
20123 * gdb.guile/scm-pretty-print.exp: New file.
20124 * gdb.guile/scm-pretty-print.scm: New file.
20125 * gdb.guile/scm-section-script.c: New file.
20126 * gdb.guile/scm-section-script.exp: New file.
20127 * gdb.guile/scm-section-script.scm: New file.
20128 * gdb.guile/scm-symbol.c: New file.
20129 * gdb.guile/scm-symbol.exp: New file.
20130 * gdb.guile/scm-symtab-2.c: New file.
20131 * gdb.guile/scm-symtab.c: New file.
20132 * gdb.guile/scm-symtab.exp: New file.
20133 * gdb.guile/scm-type.c: New file.
20134 * gdb.guile/scm-type.exp: New file.
20135 * gdb.guile/scm-value-cc.cc: New file.
20136 * gdb.guile/scm-value-cc.exp: New file.
20137 * gdb.guile/scm-value.c: New file.
20138 * gdb.guile/scm-value.exp: New file.
20139 * gdb.guile/source2.scm: New file.
20140 * gdb.guile/types-module.cc: New file.
20141 * gdb.guile/types-module.exp: New file.
20142
7026a7c1
YQ
201432014-02-10 Yao Qi <yao@codesourcery.com>
20144
20145 PR testsuite/16543
20146 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20147 * configure: Regenerated.
20148 * Makefile.in: New file.
20149
6c466447
AS
201502014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20151
20152 * gdb.python/py-framefilter.exp: Fix typo.
20153
6e854735
YQ
201542014-02-08 Yao Qi <yao@codesourcery.com>
20155
20156 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20157 that no =breakpoint-modified is emitted when breakpoints are
20158 modified through MI commands.
20159
d137e6dc
PA
201602014-02-07 Pedro Alves <pedro@codesourcery.com>
20161 Pedro Alves <palves@redhat.com>
20162
20163 * gdb.threads/step-after-sr-lock.c: New file.
20164 * gdb.threads/step-after-sr-lock.exp: New file.
20165
b5ee5a50
PA
201662014-02-07 Pedro Alves <palves@redhat.com>
20167
20168 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20169
3c77faf3
JK
201702014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20171
20172 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20173 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20174
6dddc817
DE
201752014-02-06 Doug Evans <xdje42@gmail.com>
20176
20177 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20178 output.
20179
20180 * gdb.gdb/python-interrupts.exp: New file.
20181
de7b2893
YQ
201822014-02-05 Yao Qi <yao@codesourcery.com>
20183
20184 * gdb.trace/report.exp (use_collected_data): Test the output
20185 of "info threads" and "info inferiors".
20186
66d032ac
YQ
201872014-02-05 Yao Qi <yao@codesourcery.com>
20188
20189 Revert this patch:
20190
20191 2013-05-24 Yao Qi <yao@codesourcery.com>
20192
20193 * gdb.trace/tfile.exp: Test inferior and thread.
20194
591a12a1
UW
201952014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20196
20197 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20198 on a function.
20199 * gdb.base/step-bt.c: Call hello via function pointer to make
20200 sure its first instruction is executed on powerpc64le-linux.
20201
0ff3e01f
UW
202022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20203
20204 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20205
084ee545
UW
202062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20207
20208 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20209 of the test patterns for use on little-endian systems.
20210
6ed14ff3
UW
202112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20212
20213 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20214 (decimal_vector): Fix for little-endian.
20215
401e27fd
JM
202162014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20217
20218 * gdb.arch/sparc-sysstep.exp: New file.
20219 * gdb.arch/sparc-sysstep.c: Likewise.
20220
20221 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20222
8b924729
EBM
202232014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20224
20225 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20226
fb151210
JB
202272014-01-23 Tom Tromey <tromey@redhat.com>
20228
20229 * gdb.ada/array_char_idx: New testcase.
20230
0740f8d8
TT
202312014-01-23 Tom Tromey <tromey@redhat.com>
20232
20233 PR python/16487:
20234 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20235 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20236 classes.
20237
21909fa1
TT
202382014-01-23 Tom Tromey <tromey@redhat.com>
20239
20240 PR python/16491:
20241 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20242 string from an inferior frame.
20243 * gdb.python/py-framefilter-mi.exp: Update.
20244
87ce2a04
DE
202452014-01-22 Doug Evans <dje@google.com>
20246
20247 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20248
237b092b
AA
202492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20250
20251 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20252
d674a709
AA
202532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20254
20255 * gdb.trace/entry-values.exp: Remove excess space character from
20256 regex patterns. Handle s390 call instruction.
20257
20fa3390
AA
202582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20259
20260 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20261 define "*_start" label. Make "name" static.
20262 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20263 ${name} by references to ${name}_start.
20264
78466714
AA
202652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20266
20267 * gdb.base/info-macros.exp: Remove "debug" from the compile
20268 options.
20269
ec9f644a
IB
202702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20271
20272 * gdb.dlang/demangle.exp: New file.
20273
94b1b47e
IB
202742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20275
20276 * gdb.dlang/primitive-types.exp: New file.
20277
7f420862
IB
202782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20279
20280 * configure.ac: Create gdb.dlang/Makefile.
20281 * configure: Regenerate.
20282 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20283 * gdb.dlang/Makefile.in: New file.
20284 * lib/d-support.exp: New file.
20285 * lib/gdb.exp (skip_d_tests): New proc.
20286
52834460
MM
202872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20288
20289 * gdb.btrace/delta.exp: Check reverse stepi.
20290 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20291 * gdb.btrace/finish.exp: New.
20292 * gdb.btrace/next.exp: New.
20293 * gdb.btrace/nexti.exp: New.
20294 * gdb.btrace/record_goto.c: Add comments.
20295 * gdb.btrace/step.exp: New.
20296 * gdb.btrace/stepi.exp: New.
20297 * gdb.btrace/multi-thread-step.c: New.
20298 * gdb.btrace/multi-thread-step.exp: New.
20299 * gdb.btrace/rn-dl-bind.c: New.
20300 * gdb.btrace/rn-dl-bind.exp: New.
20301 * gdb.btrace/data.c: New.
20302 * gdb.btrace/data.exp: New.
20303 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20304
6e07b1d2
MM
203052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20306
20307 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20308 * gdb.btrace/exception.exp: Update.
20309 * gdb.btrace/instruction_history.exp: Update.
20310 * gdb.btrace/record_goto.exp: Update.
20311 * gdb.btrace/tailcall.exp: Update.
20312 * gdb.btrace/unknown_functions.exp: Update.
20313 * gdb.btrace/delta.exp: New.
20314
0b722aec
MM
203152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20316
20317 * gdb.btrace/record_goto.exp: Add backtrace test.
20318 * gdb.btrace/tailcall.exp: Add backtrace test.
20319
066ce621
MM
203202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20321
20322 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20323 * gdb.btrace/record_goto.c: New.
20324 * gdb.btrace/record_goto.exp: New.
20325 * gdb.btrace/x86-record_goto.S: New.
20326
0688d04e
MM
203272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20328
20329 * gdb.btrace/function_call_history.exp: Update tests.
20330 * gdb.btrace/instruction_history.exp: Update tests.
20331
8710b709
MM
203322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20333
20334 * gdb.btrace/function_call_history.exp: Fix expected field
20335 order for "record function-call-history".
20336 Add new tests for "record function-call-history /c".
20337 * gdb.btrace/exception.cc: New.
20338 * gdb.btrace/exception.exp: New.
20339 * gdb.btrace/tailcall.exp: New.
20340 * gdb.btrace/x86-tailcall.S: New.
20341 * gdb.btrace/x86-tailcall.c: New.
20342 * gdb.btrace/unknown_functions.c: New.
20343 * gdb.btrace/unknown_functions.exp: New.
20344 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20345
5de9129b
MM
203462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20347
20348 * gdb.btrace/instruction_history.exp: Update.
20349 * gdb.btrace/function_call_history.exp: Update.
20350
23a7fe75
MM
203512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20352
20353 * gdb.btrace/function_call_history.exp: Fix expected function
20354 trace.
20355 * gdb.btrace/instruction_history.exp: Initialize traced.
20356 Remove traced_functions.
20357
724c7dd8
MM
203582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20359
20360 * gdb.btrace/function_call_history.exp: Update
20361 * gdb.btrace/instruction_history.exp: Update.
20362
6d78d93b
MM
203632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20364
20365 * gdb.btrace/enable.exp: Update expected text.
20366
93a360cc
OJ
203672014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20368
20369 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20370 bytes.
20371
3772b53f
MR
203722014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20373
20374 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20375
596662fa
OJ
203762014-01-15 Omair Javaid <omair.javaid@linaro.org>
20377
20378 * lib/gdb.exp (supports_process_record): Return true for
20379 arm*-linux*. (supports_reverse): Likewise.
20380
b5b08fb4
SC
203812014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20382
20383 PR python/15464
20384 PR python/16113
20385 * gdb.python/py-type.c: Enhance test case.
20386 * gdb.python/py-value-cc.cc: Likewise
20387 * gdb.python/py-type.exp: Add new tests.
20388 * gdb.python/py-value-cc.exp: Likewise
20389
52d7fb13
AA
203902014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20391 Pedro Alves <palves@redhat.com>
20392
20393 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20394 Make "name" extern.
20395 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20396 references to ${name}_start by references to ${name}.
20397
a2cd8cfe
JB
203982014-01-10 Joel Brobecker <brobecker@adacore.com>
20399
20400 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20401
4e23fced
JB
204022014-01-10 Joel Brobecker <brobecker@adacore.com>
20403
20404 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20405
c6a9e42c
PA
204062014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20407 Pedro Alves <palves@redhat.com>
20408
20409 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20410 mi_gdb_target_load.
c6a9e42c 20411
b7ea362b
PA
204122014-01-08 Pedro Alves <palves@redhat.com>
20413
20414 * gdb.threads/reconnect-signal.c: New file.
20415 * gdb.threads/reconnect-signal.exp: New file.
20416
5e3f4fab
EBM
204172014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20418
20419 * gdb.base/source-dir.exp: New file.
20420
79301218
JB
204212014-01-07 Joel Brobecker <brobecker@adacore.com>
20422
20423 * gdb.ada/mi_interface: New testcase.
20424
8e355c5d
JB
204252014-01-07 Joel Brobecker <brobecker@adacore.com>
20426
20427 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20428 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20429 gdb.ada/pp-rec-component/pck.ads: New files.
20430
c0d48811
JB
204312014-01-07 Joel Brobecker <brobecker@adacore.com>
20432
20433 * gdb.python/py-pp-integral.c: New file.
20434 * gdb.python/py-pp-integral.py: New file.
20435 * gdb.python/py-pp-integral.exp: New file.
20436
17b609c3 20437For older changes see ChangeLog-1993-2013.
c906108c 20438\f
8d8cb839
EZ
20439;; Local Variables:
20440;; mode: change-log
20441;; left-margin: 8
20442;; fill-column: 74
20443;; version-control: never
20444;; End:
902f2ccb 20445
b811d2c2 20446 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20447 Copying and distribution of this file, with or without modification,
20448 are permitted provided the copyright notice and this notice are preserved.
This page took 4.70553 seconds and 4 git commands to generate.