]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
87f83f20
SL
12020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2 Hafiz Abid Qadeer <abidh@codesourcery.com>
3
4 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
5 file sent to remote host.
6 (top level): Allow int32_t as type of 32-bit register.
7
37ab8655
TV
82020-06-19 Tom de Vries <tdevries@suse.de>
9
10 * lib/gdb.exp (gdb_note): New proc.
11 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
12 (gdb_default_target_compile): ... here. Only call
13 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
14 (use_gdb_compile): Change to array.
15 (toplevel): Update sets of use_gdb_compile to specify language.
16 Warn about default_target_compile override. Store dejagnu's version
17 of default_target_compile in dejagnu_default_target_compile.
18
a8a56685
TV
192020-06-18 Tom de Vries <tdevries@suse.de>
20
21 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
22 (default_gdb_init): ... here.
23
581bea2c
SL
242020-06-17 Sandra Loosemore <sandra@codesourcery.com>
25
26 Fix TUI support checks in gdb.tui tests.
27
28 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
29 just say UNSUPPORTED.
30 * gdb.tui/corefile-run.exp: Likewise.
31 * gdb.tui/empty.exp: Likewise.
32 * gdb.tui/list-before.exp: Likewise.
33 * gdb.tui/list.exp: Likewise.
34 * gdb.tui/main.exp: Likewise.
35 * gdb.tui/regs.exp: Likewise.
36 * gdb.tui/resize.exp: Likewise.
37 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
38 * gdb.tui/tui-layout-asm.exp: Likewise.
39 * gdb.tui/tui-missing-src.exp: Likewise.
40 * gdb.tui/winheight.exp: Likewise.
41 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
42
05e682e3
SL
432020-06-17 Sandra Loosemore <sandra@codesourcery.com>
44
45 Fix TCL error in gdb.python/py-format-string.exp.
46
47 * gdb.python/py-format-string.exp: Move test for python support
48 earlier, out of function body.
49
efb763a5
SM
502020-06-15 Simon Marchi <simon.marchi@efficios.com>
51
52 * gdb.base/index-cache-load-twice.c: New.
53 * gdb.base/index-cache-load-twice.exp: New.
54
43327b20
KS
552020-06-17 Keith Seitz <keiths@redhat.com>
56
99cf27cf 57 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
58 when executing "gdb --configuration".
59
081e778c
TV
602020-06-17 Tom de Vries <tdevries@suse.de>
61
62 * lib/gdb.exp (gdb_tcl_unknown): New proc.
63 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
64 conditional on presence of gdb_tcl_unknown.
65 (gdb_finish): Make override undo conditional on presence of
66 gdb_tcl_unknown.
67
d2d1ea20
TT
682020-06-16 Tom Tromey <tom@tromey.com>
69
70 * gdb.python/tui-window.py (failwin): New function. Register it
71 as a TUI window type.
72 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
73
c802e8a7
GB
742020-06-16 Gary Benson <gbenson@redhat.com>
75
76 * gdb.python/py-nested-maps.c (create_map): Add missing return
77 value.
78 (create_map_map): Likewise.
79
ff08abb8
TBA
802020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
81
82 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
83 variable.
84 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
85 and use the already-defined 'options' variable.
86
a29d5112
AB
872020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
88 Tom de Vries <tdevries@suse.de>
89
90 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
91 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
92 (gdb_setup_known_globals): New proc.
93 (gdb_cleanup_globals): New proc.
94 * lib/gdb.exp (load_lib): New override proc.
95 (gdb_stdin_log_init): Set var in_file as persistent global.
96 * lib/pascal.exp (gdb_stdin_log_init): Set vars
97 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
98 fpc_compiler as persistent global.
99
8c74a764
TV
1002020-06-12 Tom de Vries <tdevries@suse.de>
101
102 * lib/tuiterm.exp (spawn): Rename to ...
103 (tui_spawn): ... this.
104 (toplevel): Move rename of spawn ...
105 (gdb_init_tuiterm): ... here. New proc.
106 (gdb_finish_tuiterm): New proc.
107 * lib/gdb.exp (gdb_finish_hooks): New global var.
108 (gdb_finish): Handle gdb_finish_hooks.
109 (tuiterm_env): New proc.
110 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
111 tuiterm_env.
112 * gdb.tui/basic.exp: Same.
113 * gdb.tui/corefile-run.exp: Same.
114 * gdb.tui/empty.exp: Same.
115 * gdb.tui/list-before.exp: Same.
116 * gdb.tui/list.exp: Same.
117 * gdb.tui/main.exp: Same.
118 * gdb.tui/new-layout.exp: Same.
119 * gdb.tui/regs.exp: Same.
120 * gdb.tui/resize.exp: Same.
121 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
122 * gdb.tui/tui-layout-asm.exp: Same.
123 * gdb.tui/tui-missing-src.exp: Same.
124 * gdb.tui/winheight.exp: Same.
125
26783bce
TV
1262020-06-12 Tom de Vries <tdevries@suse.de>
127
128 PR testsuite/26110
129 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
130 (gdb_finish): Reinstall dejagnu's override of ::unknown.
131
2b4e6a3f
TT
1322020-06-11 Tom Tromey <tom@tromey.com>
133
134 PR gdb/18318:
135 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
136 floating point tests.
137
2f33032a
KS
1382020-06-11 Keith Seitz <keiths@redhat.com>
139
140 PR gdb/21356
141 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
142 vla_struct.
143 Add new struct vla_typedef and union vla_typedef_union and
144 corresponding instantiation objects.
145 Initialize new objects.
146 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
147 and vla_typedef_union_object.
148 Fixup type for vla_struct_object.
149
a8baf0a3
TV
1502020-06-11 Tom de Vries <tdevries@suse.de>
151
152 * lib/gdb.exp (with_override): New proc, factored out of ...
153 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
154
7ab96794
TV
1552020-06-10 Tom de Vries <tdevries@suse.de>
156
157 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
158
cab5c3b7
SM
1592020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
160
161 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
162 parameter, update callers.
163
f8c41851
SM
1642020-06-04 Simon Marchi <simon.marchi@efficios.com>
165
166 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
167 * gdb.dwarf2/share-psymtabs-bt.c: New file.
168 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
169
1c07a73f
TV
1702020-06-04 Tom de Vries <tdevries@suse.de>
171
172 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
173
95146b5d
TV
1742020-06-04 Tom de Vries <tdevries@suse.de>
175
176 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
177 exp_continue.
178
0cfcd4f0
TV
1792020-06-04 Tom de Vries <tdevries@suse.de>
180
181 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
182
f9b5d5ea
TV
1832020-06-03 Tom de Vries <tdevries@suse.de>
184
185 PR symtab/26046
186 * gdb.cp/breakpoint-locs-2.cc: New test.
187 * gdb.cp/breakpoint-locs.cc: New test.
188 * gdb.cp/breakpoint-locs.exp: New file.
189 * gdb.cp/breakpoint-locs.h: New test.
190
5144dfba
TV
1912020-06-03 Tom de Vries <tdevries@suse.de>
192
193 PR testsuite/25609
194 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
195 value of global verbose.
196 * gdb.base/jit-elf.exp: Same.
197 * gdb.base/jit-reader.exp: Same.
198
621eacdf
TV
1992020-06-02 Tom de Vries <tdevries@suse.de>
200
201 * gdb.dwarf2/multidictionary.exp: Don't use
202 gdb_spawn_with_cmdline_opts.
203
1313c56e
AB
2042020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
205
206 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
207 use_header case.
208 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
209 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
210 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
211 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
212 * gdb.dwarf2/dw2-inline-header.c: New file.
213 * gdb.dwarf2/dw2-inline-header.h: New file.
214
f68f85b5
PA
2152020-05-30 Pedro Alves <palves@redhat.com>
216
217 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
218 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
219
678048e8
GB
2202020-05-29 Gary Benson <gbenson@redhat.com>
221
222 * gdb.compile/compile-cplus.exp (additional_flags): Also
223 set when building with clang.
224 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
225 when building with clang.
226
9fcafd23
GB
2272020-05-29 Gary Benson <gbenson@redhat.com>
228
229 * gdb.arch/i386-avx.exp (additional_flags): Also set when
230 building with clang.
231 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
232
735d5a07
GB
2332020-05-29 Gary Benson <gbenson@redhat.com>
234
235 * gdb.cp/koenig.exp (prepare_for_testing): Add
236 additional_flags=-Wno-unused-comparison.
237 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
238
4ad2c6a0
GB
2392020-05-28 Gary Benson <gbenson@redhat.com>
240
241 * gdb.base/sigaltstack.c (catcher): Add default case to switch
242 statement.
243
09fe663e
GB
2442020-05-28 Gary Benson <gbenson@redhat.com>
245
246 * gdb.cp/classes.exp (prepare_for_testing): Add
247 additional_flags=-Wno-deprecated-register.
248 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
249 * gdb.cp/misc.exp: Likewise.
250
cee00f17
GB
2512020-05-28 Gary Benson <gbenson@redhat.com>
252
253 * gdb.linespec/cpls-ops.cc (dummy): New static global.
254 (test_op_new::operator new): Add return statement.
255 (test_op_new_array::operator new[]): Likewise.
256
636edd00
PA
2572020-05-27 Pedro Alves <palves@redhat.com>
258
259 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
260 check. Use test_gdb_complete_unique instead of
261 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
262 test_gdb_complete_multiple instead of
263 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
264
c2b75043
LM
2652020-05-27 Luis Machado <luis.machado@linaro.org>
266
267 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
268 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
269 * gdb.arch/arm-disassembler-options.exp: Likewise.
270 * gdb.arch/arm-disp-step.exp: Likewise.
271 * gdb.arch/thumb-prologue.exp: Likewise.
272 * gdb.base/async.exp: Likewise.
273 * gdb.base/auxv.exp: Likewise.
274 * gdb.base/complex-parts.exp: Likewise.
275 * gdb.base/ena-dis-br.exp: Likewise.
276 * gdb.base/foll-exec.exp: Likewise.
277 * gdb.base/permissions.exp: Likewise.
278 * gdb.base/relocate.exp: Likewise.
279 * gdb.base/return2.exp: Likewise.
280 * gdb.base/sigbpt.exp: Likewise.
281 * gdb.base/siginfo-obj.exp: Likewise.
282 * gdb.cp/converts.exp: Likewise.
283 * gdb.cp/exceptprint.exp: Likewise.
284 * gdb.cp/inherit.exp: Likewise.
285 * gdb.cp/nsnoimports.exp: Likewise.
286 * gdb.cp/virtbase2.exp: Likewise.
287 * gdb.mi/mi-var-cmd.exp: Likewise.
288 * gdb.mi/var-cmd.c: Likewise.
289
53a47a3e
TT
2902020-05-26 Tom Tromey <tromey@adacore.com>
291
292 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
293
0bc2354b
TT
2942020-05-26 Tom Tromey <tromey@adacore.com>
295
296 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
297 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
298 type.
299 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
300 variable.
301
0db49895
CBG
3022020-05-26 Christian Biesinger <cbiesinger@google.com>
303
304 * Makefile.in: Use = instead of == for the test command
305 for portability.
306
40d22035
TV
3072020-05-26 Tom de Vries <tdevries@suse.de>
308
309 * gdb.base/gold-gdb-index-2.c: New test.
310 * gdb.base/gold-gdb-index.c: New test.
311 * gdb.base/gold-gdb-index.exp: New file.
312 * gdb.base/gold-gdb-index.h: New test.
313
043e2e02
TV
3142020-05-25 Tom de Vries <tdevries@suse.de>
315
316 * boards/gold-gdb-index.exp: New file.
317
462f72c5
SM
3182020-05-25 Simon Marchi <simon.marchi@efficios.com>
319
320 * boards/simavr.exp: New file.
321
6cf66e76
SM
3222020-05-25 Simon Marchi <simon.marchi@efficios.com>
323
324 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
325 * gdb.base/inferior-args.exp: New file.
326 * gdb.base/inferior-args.c: New file.
327
75d04512
SM
3282020-05-25 Simon Marchi <simon.marchi@efficios.com>
329
330 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
331 inferior_args. Pass it to gdb_reload.
332 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
333 inferior_args.
334 (gdb_reload): Add inferior_args argument.
335 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
336 pass it to gdbserver_run.
337 * boards/native-gdbserver.exp: Do not set noargs.
338 * boards/native-extended-gdbserver.exp (gdb_reload): Add
339 inferior_args argument.
340 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
341 * gdb.base/a2-run.exp: Check for use_gdb_stub.
342 * gdb.base/args.exp: Likewise.
343
42cf1844
TV
3442020-05-25 Tom de Vries <tdevries@suse.de>
345
346 * lib/gdb.exp (exec_is_pie): Add comment.
347
8f7d38ef
TV
3482020-05-25 Tom de Vries <tdevries@suse.de>
349
350 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
351 instead of $binfile in the untested message.
352
465e1b0f
TV
3532020-05-25 Tom de Vries <tdevries@suse.de>
354
355 PR testsuite/26031
356 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
357
3c5a0e02
TV
3582020-05-25 Tom de Vries <tdevries@suse.de>
359
360 * boards/gold.exp: New file.
361
0a4f5f8c
TT
3622020-05-23 Tom Tromey <tom@tromey.com>
363
364 * gdb.base/style.exp: Remove completion styling test.
365 * lib/gdb-utils.exp (style): Remove completion styles.
366
eca1f90c
TT
3672020-05-23 Tom Tromey <tom@tromey.com>
368
369 * gdb.base/style.exp: Add completion styling test.
370 * lib/gdb-utils.exp (style): Add completion styles.
371
7c13f4e8
AB
3722020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.base/annota1.exp: Update expected results.
375 * gdb.cp/annota2.exp: Update expected results, remove duplicate
376 test name.
377 * gdb.cp/annota3.exp: Update expected results.
378
41977d16
SM
3792020-05-20 Simon Marchi <simon.marchi@efficios.com>
380
381 PR gdb/26016
382 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
383 against MAP_FAILED.
384 * gdb.base/coremaker.c (mmapdata): Likewise.
385 * gdb.base/jit-reader-host.c (main): Likewise.
386 * gdb.base/sym-file-loader.c (load): Likewise.
387 (load_shlib): Likewise.
388
b4757f2e
TT
3892020-05-20 Tom Tromey <tromey@adacore.com>
390
391 * gdb.ada/array_char_idx.exp: Recognize initialized array.
392
9a0bacfb
TV
3932020-05-20 Tom de Vries <tdevries@suse.de>
394
395 PR symtab/25833
396 * gdb.base/with-mf-inc.c: New test.
397 * gdb.base/with-mf-main.c: New test.
398 * gdb.base/with-mf.exp: New file.
399
76571211
TT
4002020-05-19 Tom Tromey <tromey@adacore.com>
401
402 * gdb.rust/simple.exp: Restore missing test result.
403
4cd9f3d5
TV
4042020-05-19 Tom de Vries <tdevries@suse.de>
405
406 * gdb.base/gdb-caching-proc.exp: Fix typo.
407
7d874253
TT
4082020-05-19 Tom Tromey <tromey@adacore.com>
409
410 * gdb.rust/simple.exp: Add some test descriptions.
411 (test_one_slice): Use with_test_prefix.
412
1d727695
TV
4132020-05-18 Tom de Vries <tdevries@suse.de>
414
415 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
416
7f32a4d5
PA
4172020-05-17 Pedro Alves <palves@redhat.com>
418
419 PR gdb/25741
420 * gdb.base/hw-sw-break-same-address.exp: New file.
421
7cfd74cf
PA
4222020-05-16 Pedro Alves <palves@redhat.com>
423
424 * gdb.multi/multi-re-run.exp (test_re_run): Switch
425 LAST_LOADED_FILE accordingly.
426
57b4f16e
PW
4272020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
428
429 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
430
7c05caf7
PW
4312020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
432
433 * gdb.base/help.exp: Test apropos and help for commands
434 having aliases. Fixed comments not starting with an
435 upper-case letter or not finishing with a dot.
436
7aa1b46f
PW
4372020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
438
3b3aaacb
PW
439 * gdb.base/alias.exp: Update help output check.
440
57b4f16e 4412020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 442
7aa1b46f
PW
443 * gdb.base/default.exp: Update output following fixes.
444
0605465f
PW
4452020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
446
447 * gdb.base/alias.exp: Test aliases starting with a prefix of
448 another alias.
449
86e4e63d
GB
4502020-05-15 Gary Benson <gbenson@redhat.com>
451
452 * gdb.base/info-os.c (main): Add return statement.
453 * gdb.base/info_minsym.c (minsym_fun): Likewise.
454 * gdb.base/large-frame-2.c (func): Likewise.
455 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
456 * gdb.base/pr10179-b.c (foo2): Likewise.
457 * gdb.base/valgrind-disp-step.c (foo): Likewise.
458 * gdb.base/watch-cond.c (func): Likewise.
459 * gdb.multi/goodbye.c (verylongfun): Likewise.
460 * gdb.multi/hello.c (commonfun): Likewise.
461 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
462 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
463 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
464 Likewise.
465 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
466 * gdb.threads/interrupt-while-step-over.c (child_function):
467 Likewise.
468 * gdb.trace/actions-changed.c (end): Likewise.
469
163df4df
GB
4702020-05-15 Gary Benson <gbenson@redhat.com>
471
472 * gdb.opencl/callfuncs.exp: Report when test skipped.
473 * gdb.opencl/convs_casts.exp: Likewise.
474 * gdb.opencl/datatypes.exp: Likewise.
475 * gdb.opencl/operators.exp: Likewise.
476 * gdb.opencl/vec_comps.exp: Likewise.
477
6dbc505a
TV
4782020-05-15 Tom de Vries <tdevries@suse.de>
479
480 * gdb.base/align.exp.in: Rename to ...
481 * gdb.base/align.exp.tcl: ... this.
482 * gdb.base/align-c++.exp: Update.
483 * gdb.base/align-c.exp: Update.
484 * gdb.base/all-architectures.exp.in: Rename to ...
485 * gdb.base/all-architectures.exp: ... this.
486 * gdb.base/all-architectures-0.exp: Update.
487 * gdb.base/all-architectures-1.exp: Update.
488 * gdb.base/all-architectures-2.exp: Update.
489 * gdb.base/all-architectures-3.exp: Update.
490 * gdb.base/all-architectures-4.exp: Update.
491 * gdb.base/all-architectures-5.exp: Update.
492 * gdb.base/all-architectures-6.exp: Update.
493 * gdb.base/all-architectures-7.exp: Update.
494 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
495 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
496 * gdb.base/infcall-nested-structs-c++.exp: Update.
497 * gdb.base/infcall-nested-structs-c.exp: Update.
498 * gdb.base/info-types.exp.in: Rename to ...
499 * gdb.base/info-types.exp.tcl: ... this.
500 * gdb.base/info-types-c++.exp: Update.
501 * gdb.base/info-types-c.exp: Update.
502 * gdb.base/max-depth.exp.in: Rename to ...
503 * gdb.base/max-depth.exp.tcl: ... this.
504 * gdb.base/max-depth-c++.exp: Update.
505 * gdb.base/max-depth-c.exp: Update.
506 * gdb.cp/cpexprs.exp.in: Rename to ...
507 * gdb.cp/cpexprs.exp.tcl: ... this.
508 * gdb.cp/cpexprs-debug-types.exp: Update.
509 * gdb.cp/cpexprs.exp: Update.
510 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
511 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
512 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
513 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
514 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
515 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
516 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
517 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
518 * gdb.dwarf2/clang-debug-names-2.exp: Update.
519 * gdb.dwarf2/clang-debug-names.exp: Update.
520
d1034d78
AB
5212020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
522
523 * lib/check-test-names.exp: Remove code that prevents this file
524 loading when tests are run in parallel.
525
3c5c3649
PA
5262020-05-15 Pedro Alves <palves@redhat.com>
527
528 * gdb.multi/multi-kill.exp (start_inferior): Remove
529 'testpid' parameter. Refer to namespace variable directly.
530 (testpid): Declare as namespace variable.
531
272c36b8
PA
5322020-05-15 Pedro Alves <palves@redhat.com>
533
534 * gdb.multi/multi-kill.exp: Wrap in namespace.
535 (start_inferior): Add TESTPID parameter. Use it instead of the
536 testpid global.
537 (top level): Define empty TESTPID array, and pass it down to
538 start_inferior.
539
02eba61a
TV
5402020-05-14 Tom de Vries <tdevries@suse.de>
541
542 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
543 output.
544
971a3747
TV
5452020-05-14 Tom de Vries <tdevries@suse.de>
546
547 * gdb.base/align.exp: Split into ...
548 * gdb.base/align.exp.in: ...
549 * gdb.base/align-c++.exp: ...
550 * gdb.base/align-c.exp: ... these.
551 * gdb.base/infcall-nested-structs.exp: Split into ...
552 * gdb.base/infcall-nested-structs.exp.in: ...
553 * gdb.base/infcall-nested-structs-c++.exp: ...
554 * gdb.base/infcall-nested-structs-c.exp: ... these.
555 * gdb.base/info-types.exp: Split into ...
556 * gdb.base/info-types.exp.in: ...
557 * gdb.base/info-types-c++.exp: ...
558 * gdb.base/info-types-c.exp: ... these.
559 * gdb.base/max-depth.exp: Split into ...
560 * gdb.base/max-depth.exp.in: ...
561 * gdb.base/max-depth-c++.exp: ...
562 * gdb.base/max-depth-c.exp: ... these.
563 * gdb.cp/infcall-nodebug.exp: Split into ...
564 * gdb.cp/infcall-nodebug.exp.in: ...
565 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
566 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
567 * gdb.cp/infcall-nodebug-c-d0.exp: ...
568 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
569
a05575d3
TBA
5702020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
571 Pedro Alves <palves@redhat.com>
572
573 * gdb.multi/multi-exit.c: New file.
574 * gdb.multi/multi-exit.exp: New file.
575 * gdb.multi/multi-kill.c: New file.
576 * gdb.multi/multi-kill.exp: New file.
577
6ad82919
TBA
5782020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
579
580 * gdb.base/annota1.exp: Update the expected output.
581 * gdb.cp/annota2.exp: Ditto.
582
843f4d93
AB
5832020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
584
585 * lib/check-test-names.exp: Disable when testing is being run in
586 parallel.
587
c7c66341
TV
5882020-05-12 Tom de Vries <tdevries@suse.de>
589
590 * gdb.base/jit-elf.exp: Fix string concat.
591
1b59ca1c
TV
5922020-05-12 Tom de Vries <tdevries@suse.de>
593
594 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
595 messages.
596
b4991d29
TV
5972020-05-12 Tom de Vries <tdevries@suse.de>
598
599 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
600
dbb0ab10
TV
6012020-05-12 Tom de Vries <tdevries@suse.de>
602
603 * gdb.ada/catch_ex.exp: Use with_test_prefix.
604 * gdb.ada/mi_catch_ex.exp: Same.
605 * gdb.ada/mi_catch_ex_hand.exp: Same.
606
7549fed8
TV
6072020-05-12 Tom de Vries <tdevries@suse.de>
608
609 * gdb.fortran/complex.exp: Use with_test_prefix.
610
af2d5cd8
TV
6112020-05-12 Tom de Vries <tdevries@suse.de>
612
613 * gdb.trace/passcount.exp: Fix test-names.
614
7c121311
TV
6152020-05-12 Tom de Vries <tdevries@suse.de>
616
617 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
618
c9f3b40e
TV
6192020-05-12 Tom de Vries <tdevries@suse.de>
620
621 * gdb.gdb/complaints.exp: Use with_test_prefix.
622 * gdb.xml/tdesc-regs.exp: Same.
623 * gdb.opt/inline-locals.exp: Fix test name.
624
111b33f0
TV
6252020-05-12 Tom de Vries <tdevries@suse.de>
626
627 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
628 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
629 * gdb.dwarf2/implref-struct.exp: Same.
630 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
631 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
632
ebf47080
SM
6332020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
634
635 * gdb.base/jit-so.exp (one_jit_test): Change test name.
636
d30dcd12
AB
6372020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * lib/check-test-names.exp (all_test_names): New module variable.
640 (counts): Add 'duplicates' field.
641 (_check_duplicates): New procedure.
642 (check): Also check for duplicates.
643 (do_log_summary): Print duplicates count.
644 (do_reset_vars): Reset counter for duplicate test names, and
645 discard all know test names.
646
34584c09
AB
6472020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
648
649 * lib/gdb.exp: Include check-test-names.exp library.
650 * lib/check-test-names.exp: New file.
651
e0002117
TV
6522020-05-11 Tom de Vries <tdevries@suse.de>
653
654 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
655
53f539a3
KS
6562020-05-11 Keith Seitz <keiths@redhat.com>
657
658 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
659
113ee09a
TV
6602020-05-11 Tom de Vries <tdevries@suse.de>
661
662 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
663 * gdb.cp/cpexprs.exp.in: .. here.
664 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
665 cpexprs.exp.
666
ba3e70b0
KS
6672020-05-11 Keith Seitz <keiths@redhat.com>
668
669 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
670 test names.
671 * gdb.ada/arrayptr.exp: Likewise.
672 * gdb.ada/assign_arr.exp: Likewise.
673 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
674 * gdb.ada/bp_on_var.exp: Likewise.
675 * gdb.ada/call_pn.exp: Likewise.
676 * gdb.ada/complete.exp: Likewise.
677 * gdb.ada/fun_overload_menu.exp: Likewise.
678 * gdb.ada/funcall_param.exp: Likewise.
679 * gdb.ada/funcall_ref.exp: Likewise.
680 * gdb.ada/packed_array_assign.exp: Likewise.
681 * gdb.ada/same_component_name.exp: Likewise.
682 * gdb.ada/type_coercion.exp: Likewise.
683 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
684 * gdb.ada/variant_record_packed_array.exp: Likewise.
685
3ee6bb11
TV
6862020-05-11 Tom de Vries <tdevries@suse.de>
687
688 PR symtab/25941
689 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
690 out of ...
691 * gdb.dwarf2/clang-debug-names.exp: ... here.
692 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
693 clang-debug-names.exp.in.
694 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
695 * gdb.dwarf2/clang-debug-names-2.c: New test.
696
86cd6bc8
AKS
6972020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
698
699 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
700 (fortran_runto_main): New Proc, fortran version of runto_main.
701 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
702 * gdb.fortran/array-bounds.exp: Likewise.
703 * gdb.fortran/array-slices.exp: Likewise.
704 * gdb.fortran/block-data.exp: Likewise.
705 * gdb.fortran/charset.exp: Likewise.
706 * gdb.fortran/common-block.exp: Likewise.
707 * gdb.fortran/complex.exp: Likewise.
708 * gdb.fortran/derived-type-function.exp: Likewise.
709 * gdb.fortran/derived-type.exp: Likewise.
710 * gdb.fortran/info-modules.exp: Likewise.
711 * gdb.fortran/info-types.exp: Likewise.
712 * gdb.fortran/intrinsics.exp: Likewise.
713 * gdb.fortran/library-module.exp: Likewise.
714 * gdb.fortran/logical.exp: Likewise.
715 * gdb.fortran/max-depth.exp: Likewise.
716 * gdb.fortran/module.exp: Likewise.
717 * gdb.fortran/multi-dim.exp: Likewise.
718 * gdb.fortran/nested-funcs.exp: Likewise.
719 * gdb.fortran/print-formatted.exp: Likewise.
720 * gdb.fortran/print_type.exp: Likewise.
721 * gdb.fortran/printing-types.exp: Likewise.
722 * gdb.fortran/ptr-indentation.exp: Likewise.
723 * gdb.fortran/ptype-on-functions.exp: Likewise.
724 * gdb.fortran/subarray.exp: Likewise.
725 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
726 * gdb.fortran/vla-datatypes.exp: Likewise.
727 * gdb.fortran/vla-history.exp: Likewise.
728 * gdb.fortran/vla-ptr-info.exp: Likewise.
729 * gdb.fortran/vla-ptype-sub.exp: Likewise.
730 * gdb.fortran/vla-ptype.exp: Likewise.
731 * gdb.fortran/vla-sizeof.exp: Likewise.
732 * gdb.fortran/vla-type.exp: Likewise.
733 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
734 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
735 * gdb.fortran/vla-value-sub.exp: Likewise.
736 * gdb.fortran/vla-value.exp: Likewise.
737 * gdb.fortran/whatis_type.exp: Likewise.
738 * gdb.mi/mi-var-child-f.exp: Likewise.
739
6dc55ce9 7402020-05-09 Tom de Vries <tdevries@suse.de>
741
742 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
743
283cb58c
TV
7442020-05-08 Tom de Vries <tdevries@suse.de>
745
746 * gdb.dwarf2/clang-debug-names.c: New test.
747 * gdb.dwarf2/clang-debug-names.exp: New file.
748
ac4a4f1c
SM
7492020-05-06 Simon Marchi <simon.marchi@efficios.com>
750
751 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
752 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
753
24fe640b
TV
7542020-05-06 Tom de Vries <tdevries@suse.de>
755
756 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
757 breakpoint is at a "recommended breakpoint location".
758 * gdb.reverse/consecutive-reverse.exp: Same.
759
0d8683a3
TV
7602020-05-06 Tom de Vries <tdevries@suse.de>
761
762 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
763 address.
764
b8983c46
TV
7652020-05-06 Tom de Vries <tdevries@suse.de>
766
767 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
768
abf6d805
TV
7692020-05-06 Tom de Vries <tdevries@suse.de>
770
771 * gdb.base/store.exp (check_set, up_set): Allowing missing location
772 info for r.
773
0fc2a808
TV
7742020-05-06 Tom de Vries <tdevries@suse.de>
775
776 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
777 necessary.
778
873dd427
TV
7792020-05-06 Tom de Vries <tdevries@suse.de>
780
781 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
782 void.
783
7c99e7e2
TV
7842020-05-06 Tom de Vries <tdevries@suse.de>
785
786 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
787 of ...
788 * gdb.base/async.exp: ... here.
789 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
790 "recommended breakpoint location".
791
6173d6a6
TV
7922020-05-06 Tom de Vries <tdevries@suse.de>
793
794 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
795
6015a067
TV
7962020-05-04 Tom de Vries <tdevries@suse.de>
797
798 * gdb.base/async.exp: Check whether instruction addresses are a
799 "recommended breakpoint location".
800
3b6acaee
TT
8012020-05-03 Tom Tromey <tom@tromey.com>
802
803 * gdb.base/sepdebug.exp: Remove "catch" test.
804 * gdb.base/break.exp: Remove "catch" test.
805 * gdb.base/default.exp: Update expected output.
806
5beb4d17
TV
8072020-05-02 Tom de Vries <tdevries@suse.de>
808
809 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
810 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
811 * gdb.arch/i386-mpx-map.exp: Same.
812 * gdb.arch/i386-mpx-sigsegv.exp: Same.
813 * gdb.arch/i386-mpx-simple_segv.exp: Same.
814 * gdb.arch/i386-mpx.exp: Same.
815
8caf140d
TV
8162020-05-02 Tom de Vries <tdevries@suse.de>
817
818 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
819
693196cb
TV
8202020-05-01 Tom de Vries <tdevries@suse.de>
821
822 * gdb.ada/operator_bp.exp: Allow more than required amount of
823 breakpoint.
824
53ae0aa9
TV
8252020-05-01 Tom de Vries <tdevries@suse.de>
826
827 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
828
ee9d1e5f
HD
8292020-04-30 Hannes Domani <ssbssa@yahoo.de>
830
831 PR gdb/18706
832 * gdb.cp/stub-array-size.cc: New test.
833 * gdb.cp/stub-array-size.exp: New file.
834 * gdb.cp/stub-array-size.h: New test.
835 * gdb.cp/stub-array-size2.cc: New test.
836
d5cf82c0
HD
8372020-04-30 Hannes Domani <ssbssa@yahoo.de>
838
839 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
840 output to the new format.
841
42e165c3
SM
8422020-04-29 Simon Marchi <simon.marchi@efficios.com>
843
844 * gdb.base/break.exp: Use with_test_prefix.
845
6e4e3fe1
TV
8462020-04-29 Tom de Vries <tdevries@suse.de>
847
848 * lib/gdb.exp (debug_types): New proc.
849 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
850 * gdb.python/py-symtab.exp: Same.
851
d642b692
HD
8522020-04-29 Hannes Domani <ssbssa@yahoo.de>
853
854 PR gdb/17320
855 * gdb.base/pretty-array.c: New test.
856 * gdb.base/pretty-array.exp: New file.
857
ea90f227
TV
8582020-04-29 Tom de Vries <tdevries@suse.de>
859
860 PR symtab/25889
861 * gdb.cp/cpexprs.exp: Adapt for inclusion.
862 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
863 and include cpexprs.exp.
864
a65189c9
TV
8652020-04-28 Mark Williams <mark@myosotissp.com>
866
867 PR gdb/24480
868 * dw4-toplevel-types.exp: Test for top level types.
869 * dw4-toplevel-types.cc: Test for top level types.
870
32d1f47a
TBA
8712020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
872
873 * gdb.threads/stop-with-handle.exp: Fix typo in comment
874 (theads -> threads).
875
56a4f5a1
TV
8762020-04-28 Tom de Vries <tdevries@suse.de>
877
878 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
879
0b2f8a3b
TV
8802020-04-28 Tom de Vries <tdevries@suse.de>
881
882 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
883
5390c717
TV
8842020-04-28 Tom de Vries <tdevries@suse.de>
885
886 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
887
15cd93d0
TV
8882020-04-28 Tom de Vries <tdevries@suse.de>
889
890 * gdb.dwarf2/main-foo.c: New test.
891 * gdb.dwarf2/struct-with-sig.exp: New file.
892
d472f0fb
TV
8932020-04-25 Tom de Vries <tdevries@suse.de>
894
895 * boards/debug-types.exp: New file.
896
8d840e05
AB
8972020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
900
bcfe6157
TT
9012020-04-24 Tom Tromey <tom@tromey.com>
902
903 PR symtab/12707:
904 * gdb.python/py-symbol.exp: Update expected results for
905 linkage_name test.
906 * gdb.cp/print-demangle.exp: New file.
907 * gdb.base/c-linkage-name.exp: Fix test.
908 * gdb.guile/scm-symbol.exp: Update expected results for
909 linkage_name test.
910
f049a313
TT
9112020-04-24 Tom Tromey <tom@tromey.com>
912
913 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
914 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
915 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
916 assembler.
917
7cf28874
TV
9182020-04-24 Tom de Vries <tdevries@suse.de>
919
920 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
921 C++.
922
dac2fef7
TT
9232020-04-24 Tom Tromey <tromey@adacore.com>
924
925 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
926 values.
927 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
928 values. Update test for minimal encodings.
929 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
930 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
931 values. Update test for minimal encodings.
932
1acda803
TT
9332020-04-24 Tom Tromey <tromey@adacore.com>
934
935 PR python/23662:
936 * gdb.ada/variant.exp: Add Python checks.
937 * gdb.rust/simple.exp: Add dynamic type checks.
938
adfb9815
TT
9392020-04-24 Tom Tromey <tromey@adacore.com>
940
941 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
942 Make array type matching more lax.
943 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
944 * gdb.ada/mi_variant.exp: New file.
945 * gdb.ada/mi_variant/pck.ads: New file.
946 * gdb.ada/mi_variant/pkg.adb: New file.
947 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
948 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
949
7d79de9a
TT
9502020-04-24 Tom Tromey <tromey@adacore.com>
951
952 * gdb.ada/variant.exp: Add dynamic field offset tests.
953 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
954 * gdb.ada/variant/pkg.adb: Add new variables.
955
f8e89861
TT
9562020-04-24 Tom Tromey <tromey@adacore.com>
957
958 * gdb.ada/variant.exp: New file
959 * gdb.ada/variant/pkg.adb: New file
960 * gdb.ada/variant/pck.adb: New file
961
86e887ae
TV
9622020-04-24 Tom de Vries <tdevries@suse.de>
963
964 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
965
88428775
TV
9662020-04-24 Tom de Vries <tdevries@suse.de>
967
968 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
969 flags.
970
4e86f6e7
TV
9712020-04-24 Tom de Vries <tdevries@suse.de>
972
973 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
974
2016d3e6
TV
9752020-04-24 Tom de Vries <tdevries@suse.de>
976
977 * lib/gdb.exp (default_gdb_start): Handle eof.
978 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
979 failure.
980 * gdb.base/readnever.exp: Handle clean_restart failure.
981
70bc38f5
TV
9822020-04-23 Tom de Vries <tdevries@suse.de>
983
984 * gdb.base/decl-before-def.exp: Run to main and print a again.
985
de82891c
TV
9862020-04-23 Tom de Vries <tdevries@suse.de>
987
988 * gdb.base/decl-before-def-decl.c: New test.
989 * gdb.base/decl-before-def-def.c: New test.
990 * gdb.base/decl-before-def.exp: New file.
991
96038148
TV
9922020-04-23 Tom de Vries <tdevries@suse.de>
993
994 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
995
54ac3df1
TV
9962020-04-22 Tom de Vries <tdevries@suse.de>
997
998 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
999 debug_info_offset.
1000 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1001 before $objsfile in the line line.
1002
714534e1
TV
10032020-04-22 Tom de Vries <tdevries@suse.de>
1004
1005 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1006
16a7dbf4
MS
10072020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1008
1009 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1010 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1011 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1012 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1013 * gdb.base/jit-protocol.h: Update definitions to match all usage
1014 contexts.
1015
10162020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1017
1018 * gdb.base: Rename all jit related test and source files.
1019
10202020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1021
1022 * gdb.base/jit-reader.exp: Relax register output check.
1023
317d2668
TV
10242020-04-22 Tom de Vries <tdevries@suse.de>
1025
1026 PR symtab/25764
1027 * gdb.base/psym-external-decl-2.c: New test.
1028 * gdb.base/psym-external-decl.c: New test.
1029 * gdb.base/psym-external-decl.exp: New file.
1030 * gdb.threads/tls.exp: Add PR25807 kfail.
1031
eea9e357
TV
10322020-04-22 Tom de Vries <tdevries@suse.de>
1033
1034 PR symtab/25801
1035 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1036 in "info source" output.
1037
3d5afab3
TV
10382020-04-22 Tom de Vries <tdevries@suse.de>
1039
1040 PR symtab/25700
1041 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1042 symtab for imported_unit.c.
1043
b32102f6
GB
10442020-04-21 Gary Benson <gbenson@redhat.com>
1045
1046 * gdb.base/advance.c (func): New argument, to match call site.
1047 (func2, func3): Add return statements.
1048
d43b7a2d
TBA
10492020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1050
1051 * gdb.multi/run-only-second-inf.c: New file.
1052 * gdb.multi/run-only-second-inf.exp: New file.
1053
d89edf9b
MM
10542020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1055
1056 * gdb.btrace/multi-inferior.c: New test.
1057 * gdb.btrace/multi-inferior.exp: New file.
1058
1a476b6d
MM
10592020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1060
1061 * gdb.btrace/enable-new-thread.c: New test.
1062 * gdb.btrace/enable-new-thread.exp: New file.
1063
4778a5f8
TV
10642020-04-21 Tom de Vries <tdevries@suse.de>
1065
1066 PR gdb/25471
1067 * gdb.threads/killed-outside.c: New test.
1068 * gdb.threads/killed-outside.exp: New file.
1069
9b2c992c
GB
10702020-04-20 Gary Benson <gbenson@redhat.com>
1071
1072 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1073 * gdb.base/nested-subp2.exp: Likewise.
1074 * gdb.base/nested-subp3.exp: Likewise.
1075
b5d1d6f7
GB
10762020-04-20 Gary Benson <gbenson@redhat.com>
1077
1078 * gdb.base/nested-subp1.exp: Disable test when using clang.
1079 * gdb.base/nested-subp2.exp: Likewise.
1080 * gdb.base/nested-subp3.exp: Likewise.
1081
25230285
GB
10822020-04-20 Gary Benson <gbenson@redhat.com>
1083
1084 * gdb.cp/exception.cc: Fix compilation error with clang.
1085
fa93cc8f
GB
10862020-04-20 Gary Benson <gbenson@redhat.com>
1087
809730f3 1088 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1089
e0c45f30
GB
10902020-04-20 Gary Benson <gbenson@redhat.com>
1091
1092 * gdb.base/jit-main.c: Fix compilation error with clang.
1093
4ddfec93
KR
10942020-04-17 Kamil Rytarowski <n54@gmx.com>
1095
1096 * gdb.base/attach-twice.c: Include "sys/types.h".
1097 (PTRACE_ATTACH): Add fallback definition.
1098 (main): Pass `0' to the 4th argument of `ptrace'.
1099
2bed205e
KR
11002020-04-17 Kamil Rytarowski <n54@gmx.com>
1101
1102 * gdb.base/fork-running-state.c: Include "signal.h".
1103
0743fc83
TT
11042020-04-17 Tom Tromey <tromey@adacore.com>
1105
1106 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1107 Update tests.
1108 * gdb.btrace/cpu.exp: Update tests.
1109 * gdb.base/maint.exp: Update tests.
1110 * gdb.base/default.exp: Update tests.
1111 * gdb.base/completion.exp: Update tests.
1112
efba5c23
TV
11132020-04-16 Tom de Vries <tdevries@suse.de>
1114
1115 PR symtab/25791
1116 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1117 (ensure_gdb_index): and factor out and move ...
1118 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1119 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1120
d191d716
TV
11212020-04-16 Tom de Vries <tdevries@suse.de>
1122
1123 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1124 loading exec.
1125
99f1bc6a
AB
11262020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1127
1128 * gdb.base/many-completions.exp: New file.
1129
194d088f
TV
11302020-04-14 Tom de Vries <tdevries@suse.de>
1131
1132 PR symtab/25718
1133 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1134
c1a66c06
TV
11352020-04-14 Tom de Vries <tdevries@suse.de>
1136
1137 PR symtab/25720
1138 * gdb.base/maint-expand-symbols-header-file.c: New test.
1139 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1140 * gdb.base/maint-expand-symbols-header-file.h: New test.
1141
21b0982c
AB
11422020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1143
1144 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1145 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1146 get_func_info.
1147 (get_func_info): Delete.
1148 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1149 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1150 * lib/dwarf.exp (get_func_info): New function.
1151
dd1cab06
TV
11522020-04-13 Tom de Vries <tdevries@suse.de>
1153
1154 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1155 to what find_gnatmake does.
1156
71ea2b6b
TV
11572020-04-10 Tom de Vries <tdevries@suse.de>
1158
1159 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1160 -readnow.
1161
bdfc1e8a
TV
11622020-04-10 Tom de Vries <tdevries@suse.de>
1163
1164 PR cli/25808
1165 * gdb.base/style.c: Add leading newlines.
1166 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1167 Check listing of main's one-line body.
1168
14ca8ecf
TV
11692020-04-08 Tom de Vries <tdevries@suse.de>
1170
1171 * lib/gdb.exp (psymtabs_p): New proc.
1172 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1173 importing unit" unsupported if there are no partial symbols.
1174
e21d048f
TV
11752020-04-08 Tom de Vries <tdevries@suse.de>
1176
1177 PR testsuite/25760
1178 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1179
25c11aca
TV
11802020-04-07 Tom de Vries <tdevries@suse.de>
1181
1182 PR symtab/25796
1183 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1184
5707e24b
TV
11852020-04-07 Tom de Vries <tdevries@suse.de>
1186
1187 * gdb.base/check-psymtab.c: New test.
1188 * gdb.base/check-psymtab.exp: New file.
1189
6ee448cc
TT
11902020-04-06 Tom Tromey <tromey@adacore.com>
1191
1192 * gdb.ada/variant-record/proc.adb: New file.
1193 * gdb.ada/variant-record/value.adb: New file.
1194 * gdb.ada/variant-record/value.s: New file.
1195 * gdb.ada/variant-record.exp: New file.
1196
9e7c9a03
HD
11972020-04-03 Hannes Domani <ssbssa@yahoo.de>
1198
1199 PR gdb/25325
1200 * gdb.cp/typed-enum.cc: New test.
1201 * gdb.cp/typed-enum.exp: New file.
1202
c90d28ac
AB
12032020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1206 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1207 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1208 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1209 * gdb.opt/inline-small-func.c: New file.
1210 * gdb.opt/inline-small-func.exp: New file.
1211 * gdb.opt/inline-small-func.h: New file.
1212
34e9a9fa
AB
12132020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1214
1215 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1216 function.
1217
6a354911
AB
12182020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * lib/dwarf.exp (function_range): Allow compiler options to be
1221 specified.
1222
880d9777
TV
12232020-04-02 Tom de Vries <tdevries@suse.de>
1224
1225 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1226 __attribute__((always_inline)).
1227 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1228
f32682ea
TV
12292020-04-02 Tom de Vries <tdevries@suse.de>
1230
1231 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1232 (gdbserver_gdb_exit): ... here. Add timeout warning.
1233 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1234 (connect_target_extended_remote): Append new server_spawn_id to
1235 server_spawn_ids.
1236 (cleanup): New proc.
1237 (setup, <toplevel>): Call cleanup.
1238
d3214198
TV
12392020-04-02 Tom de Vries <tdevries@suse.de>
1240
1241 * gdb.base/main-psymtab.exp: New file.
1242
cc77ed24
TV
12432020-04-02 Tom de Vries <tdevries@suse.de>
1244
1245 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1246
3638a098
TT
12472020-04-01 Tom Tromey <tom@tromey.com>
1248
1249 * gdb.base/complex-parts.exp: Add type tests.
1250
c34e8714
TT
12512020-04-01 Tom Tromey <tom@tromey.com>
1252
1253 * gdb.base/complex-parts.exp: Add arithmetic tests.
1254
981c08ce
TT
12552020-04-01 Tom Tromey <tom@tromey.com>
1256
1257 * gdb.compile/compile.exp: Update.
1258 * gdb.compile/compile-cplus.exp: Update.
1259 * gdb.base/varargs.exp: Update.
1260 * gdb.base/floatn.exp: Update.
1261 * gdb.base/endianity.exp: Update.
1262 * gdb.base/callfuncs.exp (do_function_calls): Update.
1263 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1264 (complex_float_integral_args): Update.
1265 * gdb.base/complex.exp: Update.
1266 * gdb.base/complex-parts.exp: Update.
1267
3d1cfd43
TT
12682020-04-01 Tom Tromey <tromey@adacore.com>
1269
1270 * gdb.rust/union.rs: New file.
1271 * gdb.rust/union.exp: New file.
1272 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1273 (main): Update.
1274 * gdb.rust/simple.exp: Move union tests to union.exp.
1275
e033dfa9
TT
12762020-04-01 Tom Tromey <tromey@adacore.com>
1277
1278 * gdb.rust/simple.rs (main): Remove "y0".
1279
53cccef1
TBA
12802020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1281
1282 * gdb.multi/stop-all-on-exit.c: New test.
1283 * gdb.multi/stop-all-on-exit.exp: New file.
1284
60e22c1e
HD
12852020-04-01 Hannes Domani <ssbssa@yahoo.de>
1286
1287 PR gdb/24789
1288 * gdb.cp/misc.cc: Add integer reference variable.
1289 * gdb.cp/misc.exp: Add test.
1290
e139a727
TBA
12912020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1292
1293 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1294 scenario to cover execution until the end and also the case
1295
16b0db75
TV
12962020-03-31 Tom de Vries <tdevries@suse.de>
1297
1298 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1299 c. Use "maint info symtabs" to check symtab expansion.
1300
c0502da6
TV
13012020-03-30 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1304 unsupported.
1305 (verify_psymtab_expanded): Move ...
1306 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1307 test.
1308 (readnow): New proc.
1309
5935fd15
AB
13102020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1311
1312 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1313 with $hex.
1314
1773be9e
TT
13152020-03-20 Tom Tromey <tromey@adacore.com>
1316
1317 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1318
70304be9
TT
13192020-03-20 Tom Tromey <tromey@adacore.com>
1320
1321 * gdb.ada/sub_variant/subv.adb: New file.
1322 * gdb.ada/sub_variant.exp: New file.
1323
0dd7b8f7
TV
13242020-03-20 Tom de Vries <tdevries@suse.de>
1325
1326 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1327 first break fails.
1328 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1329
cada5fc9
AB
13302020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1331
1332 * gdb.server/exit-multiple-threads.c: New file.
1333 * gdb.server/exit-multiple-threads.exp: New file.
1334
6b8c53f2
AB
13352020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1336
1337 * gdb.fortran/mixed-lang-stack.c: New file.
1338 * gdb.fortran/mixed-lang-stack.cpp: New file.
1339 * gdb.fortran/mixed-lang-stack.exp: New file.
1340 * gdb.fortran/mixed-lang-stack.f90: New file.
1341
19a2740f
AB
13422020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1343
1344 * gdb.linespec/cp-completion-aliases.cc: New file.
1345 * gdb.linespec/cp-completion-aliases.exp: New file.
1346
d8c8b848
TV
13472020-03-19 Tom de Vries <tdevries@suse.de>
1348
1349 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1350 more precise.
1351
a9933ccf
TV
13522020-03-18 Tom de Vries <tdevries@suse.de>
1353
1354 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1355 * gdb.dwarf2/break-inline-psymtab.c: New test.
1356 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1357
2f89101f
TV
13582020-03-16 Tom de Vries <tdevries@suse.de>
1359
1360 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1361 cache_verify and cache_verify_proc.
1362
6b9374f1
TV
13632020-03-15 Tom de Vries <tdevries@suse.de>
1364
1365 * gdb.server/solib-list.exp: Handle
1366 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1367
eaeaf44c
TV
13682020-03-15 Tom de Vries <tdevries@suse.de>
1369
1370 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1371 objfiles".
1372
3293bbaf
TT
13732020-03-14 Tom Tromey <tom@tromey.com>
1374
1375 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1376
ab44624c
TV
13772020-03-14 Tom de Vries <tdevries@suse.de>
1378
1379 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1380
54c43825
TV
13812020-03-14 Tom de Vries <tdevries@suse.de>
1382
1383 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1384 result in line-by-line fashion.
1385
2ac70237
TV
13862020-03-14 Tom de Vries <tdevries@suse.de>
1387
1388 * lib/gdb.exp (supports_statement_frontiers): New proc.
1389 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1390
09546b56
TV
13912020-03-14 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.base/printcmds.exp: Add missing quoting for "print
1394 teststring2".
1395
a1f6a07c
TT
13962020-03-13 Tom Tromey <tom@tromey.com>
1397
1398 * gdb.base/printcmds.exp (test_print_strings): Add regression
1399 test.
1400 * gdb.base/printcmds.c (charptr): New typedef.
1401 (teststring2): New global.
1402
1b83d09c
AB
14032020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1404
1405 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1406 full path in the test name.
1407 (test_ld): Add some with_test_prefix blocks to make test names
1408 unique.
1409
2d61316c
TV
14102020-03-13 Tom de Vries <tdevries@suse.de>
1411
1412 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1413
2e9145ac
TV
14142020-03-13 Tom de Vries <tdevries@suse.de>
1415
1416 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1417
96c7f873
TV
14182020-03-13 Tom de Vries <tdevries@suse.de>
1419
1420 PR symtab/25646
1421 * gdb.dwarf2/imported-unit.exp: Add test.
1422
49ba92c0
TV
14232020-03-13 Tom de Vries <tdevries@suse.de>
1424
1425 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1426 (var1, var2): New variable.
1427 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1428 matching symbols.
1429
301b21e0
TV
14302020-03-13 Tom de Vries <tdevries@suse.de>
1431
1432 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1433 (Term::command): Use prompt prefix.
1434 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1435 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1436 command_no_prompt_prefix instead of prefix.
1437 * gdb.tui/tui-layout-asm.exp: Same.
1438
3f512721
SM
14392020-03-12 Simon Marchi <simon.marchi@efficios.com>
1440
1441 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1442
40310f30
SM
14432020-03-12 Simon Marchi <simon.marchi@efficios.com>
1444
1445 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1446 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1447 on" while stepping over the test instruction, match printed
1448 message.
1449
09252140
TV
14502020-03-12 Tom de Vries <tdevries@suse.de>
1451
1452 * gdb.base/info-types.exp: Use exp_continue during matching of output
1453 of "info types".
1454
14e9c72c
TV
14552020-03-12 Tom de Vries <tdevries@suse.de>
1456
1457 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1458
e515d67e
TV
14592020-03-12 Tom de Vries <tdevries@suse.de>
1460
1461 * gdb.fortran/module.exp: Use exp_continue during matching of output
1462 of "info variable -n".
1463
307eafd8
TV
14642020-03-12 Tom de Vries <tdevries@suse.de>
1465
1466 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1467 gdb.dwarf2/dw2-ranges-base.c.
1468
9a2de3fc
TV
14692020-03-12 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1472 in presence of GLIBC debuginfo.
1473
3217502e
TV
14742020-03-12 Tom de Vries <tdevries@suse.de>
1475
1476 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1477 $core.
1478
1281424c
TV
14792020-03-12 Tom de Vries <tdevries@suse.de>
1480
1481 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1482 more precise.
1483
038b97fc
SM
14842020-03-11 Simon Marchi <simon.marchi@efficios.com>
1485
1486 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1487 from Unix to Windows path.
1488
5308d1e7
TV
14892020-03-11 Tom de Vries <tdevries@suse.de>
1490
1491 * gdb.ada/minsyms.exp: Set language to ada.
1492
f870f78f
TV
14932020-03-11 Tom de Vries <tdevries@suse.de>
1494
1495 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1496
5a13315d
TV
14972020-03-11 Tom de Vries <tdevries@suse.de>
1498
1499 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1500
976862ed
TT
15012020-03-11 Tom Tromey <tromey@adacore.com>
1502
1503 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1504
7462c383
TV
15052020-03-11 Tom de Vries <tdevries@suse.de>
1506
1507 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1508
1c6c46a0
TV
15092020-03-11 Tom de Vries <tdevries@suse.de>
1510
1511 * gdb.base/break-interp.exp: Limit verbose scope.
1512
44f41bb7
TV
15132020-03-11 Tom de Vries <tdevries@suse.de>
1514
1515 * gdb.fortran/logical.f90: Define variable with character type.
1516 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1517
b76f3a42
TV
15182020-03-11 Tom de Vries <tdevries@suse.de>
1519
1520 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1521
1c33af77
TV
15222020-03-11 Tom de Vries <tdevries@suse.de>
1523
1524 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1525 symtabs.
1526
8c95582d
AB
15272020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1528 Bernd Edlinger <bernd.edlinger@hotmail.de>
1529
1530 * gdb.cp/step-and-next-inline.cc: New file.
1531 * gdb.cp/step-and-next-inline.exp: New file.
1532 * gdb.cp/step-and-next-inline.h: New file.
1533 * gdb.dwarf2/dw2-is-stmt.c: New file.
1534 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1535 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1536 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1537 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1538
cecf8547
AB
15392020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1542 is-stmt flag in the line table.
1543
0ba678c9
TV
15442020-03-09 Tom de Vries <tdevries@suse.de>
1545
1546 * lib/gdb.exp (cached_file): Create cache dir.
1547
72fbdf83
TV
15482020-03-07 Tom de Vries <tdevries@suse.de>
1549
1550 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1551 * gdb.cp/rvalue-ref-params.exp: Same.
1552
436b5e99
TV
15532020-03-06 Tom de Vries <tdevries@suse.de>
1554
1555 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1556 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1557
09f2921c
TV
15582020-03-06 Tom de Vries <tdevries@suse.de>
1559
1560 * README: Fix "the the".
1561 * gdb.base/dprintf.exp: Same.
1562
50a3cc5d
TV
15632020-03-05 Tom de Vries <tdevries@suse.de>
1564
1565 * gdb.base/maint.exp: Update "main print statistics" expected output.
1566
0a709cba
AKS
15672020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1568
1569 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1570 (fortran_int8): Likewise.
1571 (fortran_real4): Likewise.
1572 (fortran_real8): Likewise.
1573 (fortran_complex4): Likewise.
1574 (fortran_logical4): Likewise.
1575 (fortran_character1): Likewise.
1576
5e5d66b6
AB
15772020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1580 printed as true.
1581
7b973adc
SDJ
15822020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1583
1584 * gdb.base/printcmds.exp: Add test to verify printf of a
1585 variable holding an address.
1586
478e490a
TV
15872020-03-03 Tom de Vries <tdevries@suse.de>
1588
1589 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1590
1ef44e86
TV
15912020-03-03 Tom de Vries <tdevries@suse.de>
1592
1593 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1594 gdb_test_multiple call.
1595
b98cc2cf
TV
15962020-03-03 Tom de Vries <tdevries@suse.de>
1597
1598 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1599 gdb_test_multiple calls.
1600
63e163f2
AB
16012020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.base/default.exp: Remove test of 'set history filename'.
1604 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1605 filename to the empty string.
1606 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1607 and GDBHISTSIZE.
1608
24ed6739
AB
16092020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1610
1611 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1612 disabled.
1613
590003dc
TV
16142020-03-02 Pedro Alves <palves@redhat.com>
1615 Tom de Vries <tdevries@suse.de>
1616
1617 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1618 -prompt prefix, before user_code argument. Add -lbl option likewise.
1619 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1620 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1621 argument.
1622 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1623 have "\r\n" at start-of-line, instead of at end-of-line.
1624
f5e46084
SM
16252020-02-28 Simon Marchi <simon.marchi@efficios.com>
1626
1627 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1628 libinproctrace.so.
1629
f7a7000d
LM
16302020-02-28 Luis Machado <luis.machado@linaro.org>
1631
1632 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1633 to "p/x".
1634
718e0816
LM
16352020-02-28 Luis Machado <luis.machado@linaro.org>
1636
1637 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1638 asm/ptrace.h and error.h.
1639
13c3a74a
TV
16402020-02-28 Tom de Vries <tdevries@suse.de>
1641
1642 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1643 (struct wrapper, do_something, mundane/symada__cS): Move ...
1644 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1645 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1646 Update "print symada__cS before partial symtab expansion" regexp.
1647 Update breakpoint location. Flush symbol cache after expansion.
1648
85d2d5bb
LM
16492020-02-28 Luis Machado <luis.machado@linaro.org>
1650
1651 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1652
3608f86c
TV
16532020-02-27 Tom de Vries <tdevries@suse.de>
1654
1655 * config/sid.exp: Remove unused globals.
1656 * gdb.base/attach.exp: Same.
1657 * gdb.base/catch-load.exp: Same.
1658 * gdb.base/dbx.exp: Same.
1659 * lib/gdb.exp: Same.
1660 * lib/mi-support.exp: Same.
1661 * lib/prompt.exp: Same.
1662
c8d4f6df
TV
16632020-02-27 Tom de Vries <tdevries@suse.de>
1664
1665 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1666 not set.
1667
0d79cdc4
AM
16682020-02-26 Aaron Merey <amerey@redhat.com>
1669
1670 * gdb.debuginfod: New directory for debuginfod tests.
1671 * gdb.debuginfod/main.c: New test file.
1672 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1673
0dce4280
TV
16742020-02-26 Tom de Vries <tdevries@suse.de>
1675
1676 PR gdb/25603
1677 * gdb.base/persistent-lang.cc: New test.
1678 * gdb.base/persistent-lang.exp: New file.
1679
9e80cfa1
AB
16802020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1681
1682 * gdb.fortran/derived-type-striding.exp: Add a new test.
1683 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1684 new test.
1685
2078dbb2
AB
16862020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1687
1688 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1689 names.
1690
70d49700
TV
16912020-02-25 Tom de Vries <tdevries@suse.de>
1692
1693 PR go/18926
1694 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1695
a88ef40d
TV
16962020-02-24 Tom de Vries <tdevries@suse.de>
1697
1698 PR gdb/25592
1699 * gdb.base/info-locals-unused-static-var.c: New test.
1700 * gdb.base/info-locals-unused-static-var.exp: New file.
1701
01b1af32
TT
17022020-02-22 Tom Tromey <tom@tromey.com>
1703
1704 * gdb.python/tui-window.exp: New file.
1705 * gdb.python/tui-window.py: New file.
1706
7c043ba6
TT
17072020-02-22 Tom Tromey <tom@tromey.com>
1708
1709 PR tui/17850:
1710 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1711 tests.
1712
c22fef7e
TT
17132020-02-22 Tom Tromey <tom@tromey.com>
1714
1715 * gdb.tui/new-layout.exp: Add sub-layout tests.
1716
ee325b61
TT
17172020-02-22 Tom Tromey <tom@tromey.com>
1718
1719 * gdb.tui/new-layout.exp: New file.
1720
3f0cbb04
TT
17212020-02-22 Tom Tromey <tom@tromey.com>
1722
1723 * gdb.rust/rust-style.rs: New file.
1724 * gdb.rust/rust-style.exp: New file.
1725 * gdb.base/style.exp: Test structure printing.
1726 * gdb.base/style.c (struct some_struct): New type.
1727 (enum etype): New type.
1728 (struct_value): New global.
1729
75525152
TV
17302020-02-21 Tom de Vries <tdevries@suse.de>
1731
1732 PR go/18926
1733 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1734 Remove blanket xfails. Use message argument for gdb_breakpoint.
1735 Make continuing to breakpoint test conditional on setting breakpoint.
1736 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1737 DW_AT_name attribute. Add xfail for GCC PR93866.
1738
bd360d30
AB
17392020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1740
1741 * gdb.dwarf2/cpp-linkage-name.c: New file.
1742 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1743
c7adb09f 17442020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1745
1746 * lib/gdb.exp (gdb_wrapper_init): Reset
1747 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1748 not exist.
1749
a9c79803
TV
17502020-02-20 Tom de Vries <tdevries@suse.de>
1751
1752 PR go/17018
1753 * gdb.go/hello.exp: Copy ...
1754 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1755 print of st to print value of global definition. Add xfail for GCC
1756 PR93844.
1757 * gdb.go/hello.exp: Remove printing of st before definition.
1758 * gdb.go/hello.go: Copy ...
1759 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1760 to st.
1761 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1762
d7445728
TV
17632020-02-20 Tom de Vries <tdevries@suse.de>
1764
1765 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1766 (gdb_simple_compile): Handle compile_flags go by using .go extension
1767 for source file.
1768 * gdb.go/chan.exp: Use support_go_compile.
1769 * gdb.go/handcall.exp: Same.
1770 * gdb.go/hello.exp: Same.
1771 * gdb.go/integers.exp: Same.
1772 * gdb.go/max-depth.exp: Same.
1773 * gdb.go/methods.exp: Same.
1774 * gdb.go/package.exp: Same.
1775 * gdb.go/strings.exp: Same.
1776 * gdb.go/types.exp: Same.
1777 * gdb.go/unsafe.exp: Same.
1778
c9c41e6d
TV
17792020-02-19 Tom de Vries <tdevries@suse.de>
1780
1781 * gdb.python/lib-types.exp: Make xfail more strict.
1782
f20ff837
TV
17832020-02-19 Tom de Vries <tdevries@suse.de>
1784
1785 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1786
08410482
DE
17872020-02-19 Doug Evans <dje@google.com>
1788
1789 PR rust/25535
1790 * gdb.rust/simple.exp: Add test.
1791 * gdb.rust/simple.rs: Add test.
1792
623563f7
TV
17932020-02-19 Tom de Vries <tdevries@suse.de>
1794
1795 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1796 output line-by-line.
1797
d3308cfd
TV
17982020-02-19 Tom de Vries <tdevries@suse.de>
1799
1800 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1801
86cbc5dc
TV
18022020-02-19 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1805 prelink.
1806
9db2b96b
TV
18072020-02-19 Tom de Vries <tdevries@suse.de>
1808
1809 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1810 (gdb_do_cache): Use gdb_do_cache_wrap.
1811 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1812
89e2fdc5
TV
18132020-02-19 Tom de Vries <tdevries@suse.de>
1814
1815 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1816 gdb_compile option.
1817
373d7ac0
SM
18182020-02-18 Simon Marchi <simon.marchi@efficios.com>
1819
1820 * gdb.base/printcmds.exp (test_print_enums): Update expected
1821 output.
1822
b29a2df0
SM
18232020-02-18 Simon Marchi <simon.marchi@efficios.com>
1824
1825 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1826 for "unknown".
1827
6740f0cc
SM
18282020-02-18 Simon Marchi <simon.marchi@efficios.com>
1829
1830 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1831 enumerator.
1832
edd45eb0
SM
18332020-02-18 Simon Marchi <simon.marchi@efficios.com>
1834
1835 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1836 FE_, add FE_NONE.
1837 (three): Update.
1838 (enum flag_enum_without_zero): New enum.
1839 (flag_enum_without_zero): New variable.
1840 (enum not_flag_enum): New enum.
1841 (three_not_flag): New variable.
1842 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1843 (test_print_enums): Add more tests for printing flag enums.
1844
d4295de4
TV
18452020-02-18 Tom de Vries <tdevries@suse.de>
1846
1847 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1848 (gdb_compile_ada): ... here.
1849 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1850 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1851
f251f505
TT
18522020-02-14 Tom Tromey <tom@tromey.com>
1853
1854 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1855 build directory.
1856 * boards/gdbserver-base.exp: Update path to gdbserver.
1857
8f432634
TV
18582020-02-13 Tom de Vries <tdevries@suse.de>
1859
1860 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1861
92b6eaf7
TV
18622020-02-13 Tom de Vries <tdevries@suse.de>
1863
1864 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1865 are missing.
1866
f3b0f7fe
TV
18672020-02-13 Tom de Vries <tdevries@suse.de>
1868
1869 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1870 call.
1871
f6be8713
SDJ
18722020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1873
1874 PR tui/25126
1875 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1876 * gdb.base/cached-source-file.c: New file.
1877 * gdb.base/cached-source-file.exp: New file.
1878
b2770d5e
TV
18792020-02-11 Tom de Vries <tdevries@suse.de>
1880
1881 PR testsuite/25488
1882 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1883
44f6938e
TV
18842020-02-10 Tom de Vries <tdevries@suse.de>
1885
1886 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1887
5f0e2eb7
MR
18882020-02-10 Maciej W. Rozycki <macro@wdc.com>
1889
1890 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1891 and $after_addr are both integers before making a comparison.
1892
46ce2b6f
TV
18932020-02-09 Tom de Vries <tdevries@suse.de>
1894
1895 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1896 command output and paste it into gdb.log. If any, paste catch message
1897 to gdb.log.
1898
5abbbe1d
TT
18992020-02-07 Tom Tromey <tromey@adacore.com>
1900
1901 PR breakpoints/24915:
1902 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1903
1d5d29e7
SV
19042020-02-06 Shahab Vahedi <shahab@synopsys.com>
1905
1906 * gdb.tui/tui-missing-src.exp: Add the "missing source
1907 file" test for the TUI.
1908
b0999b9b
AB
19092020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1910
1911 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1912 including a port number in the output.
1913
c3b149eb
AKS
19142020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1915
1916 * lib/fortran.exp (fortran_int4): Handle clang.
1917 (fortran_int8): Likewise.
1918 (fortran_real4): Likewise.
1919 (fortran_real8): Likewise.
1920 (fortran_complex4): Likewise.
1921 (fortran_logical4): Likewise.
1922 (fortran_character1): Likewise.
1923
f8dcc90b
TV
19242020-02-04 Tom de Vries <tdevries@suse.de>
1925
1926 * README (Race detection): Add note.
1927
f90ac7c2
TV
19282020-02-04 Tom de Vries <tdevries@suse.de>
1929
1930 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1931
780636ae
TV
19322020-02-04 Tom de Vries <tdevries@suse.de>
1933
1934 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1935
5d2e1193
RA
19362020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1937
1938 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1939 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1940 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1941 blttar, bnetarl.
1942 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1943 binary for blttar, bnetarl.
1944 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1945 wait instruction. Delete ldmx test.
1946 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1947
e409c542
AKS
19482020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1949
1950 * gdb.fortran/array-bounds-high.exp: New file.
1951 * gdb.fortran/array-bounds-high.f90: New file.
1952
b0029748
LD
19532020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1954
1955 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1956 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1957
195a8287
TV
19582020-02-01 Tom de Vries <tdevries@suse.de>
1959
1960 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1961
42330a68
AB
19622020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1963
1964 PR tui/9765
1965 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1966 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1967
b62a8028
LM
19682020-01-29 Luis Machado <luis.machado@linaro.org>
1969
1970 * gdb.arch/aarch64-brk-patterns.c: New source file.
1971 * gdb.arch/aarch64-brk-patterns.exp: New test.
1972
5f440116
TBA
19732020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1974
1975 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1976 GCC/Clang version.
1977 * gdb.cp/pass-by-ref.exp: Ditto.
1978
ee2a6fc6
TV
19792020-01-29 Tom de Vries <tdevries@suse.de>
1980
1981 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1982 * gdb.threads/watchpoint-fork-mt.c: Same.
1983 * gdb.threads/watchpoint-fork-parent.c: Same.
1984 * gdb.threads/watchpoint-fork-st.c: Same.
1985 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1986
16b10d6e
LM
19872020-01-27 Luis Machado <luis.machado@linaro.org>
1988
1989 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1990 sitting at a syscall instruction when we hit the syscall function's
1991 breakpoint.
1992 Check PC against one obtained with the x command.
1993 Validate syscall number.
1994 (step_over_syscall): Don't continue to the syscall instruction if
1995 we're already there.
1996
b1468492
PW
19972020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1998
1999 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2000
7ffa82e1
AB
20012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2002
2003 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2004 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2005
3d92a3e3
AB
20062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2007
2008 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2009 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2010
94a72be7
AB
20112020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2012
2013 * gdb.base/maint.exp: Update line table parsing test.
2014 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2015
53af73bf
PA
20162020-01-24 Pedro Alves <palves@redhat.com>
2017
2018 PR gdb/25410
2019 * gdb.multi/multi-re-run-1.c: New.
2020 * gdb.multi/multi-re-run-2.c: New.
2021 * gdb.multi/multi-re-run.exp: New.
2022
1ba1ac88
AB
20232020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2024
2025 PR gdb/23718
2026 * gdb.server/server-kill-python.exp: New file.
2027
f3364a6d
AB
20282020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2029
2030 * gdb.server/multi-ui-errors.c: New file.
2031 * gdb.server/multi-ui-errors.exp: New file.
2032
733d0a67
AB
20332020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2034
2035 PR tui/9765
2036 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2037
4f13c1c0
TT
20382020-01-19 Tom Tromey <tom@tromey.com>
2039
2040 * gdb.tui/main.exp: Add check for plain "file".
2041
40c94099
CB
20422020-01-16 Christian Biesinger <cbiesinger@google.com>
2043
2044 * lib/gdb.exp: Fix spelling error (seperatelly).
2045
ff47f4f0
TT
20462020-01-14 Tom Tromey <tom@tromey.com>
2047
2048 PR symtab/12535:
2049 * gdb.python/python.exp: Test decode_line with empty string
2050 argument.
2051
717c684d
BE
20522020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2053
2054 * gdb.base/skip-inline.exp: Extend test.
2055
44e4c775
AB
20562020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2057
2058 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2059 * gdb.dwarf2/dw2-bad-elf.c: New file.
2060 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2061
d93c6db7
AB
20622020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2063
2064 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2065 _line_saw_file.
2066
9a6d629c
AB
20672020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2070 border.
2071
d9ebdab7
TBA
20722020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2073
2074 * gdb.multi/multi-target.exp (setup): Factor out "info
2075 connections" and "info inferiors" tests to ...
2076 (test_info_inferiors): ... this new procedure.
2077 (top level): Run new "info-inferiors" tests.
2078
f3c469b9
PA
20792020-01-10 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.server/bkpt-other-inferior.exp: New file.
2082
121b3efd
PA
20832020-01-10 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2086 of "add-inferior".
2087 * gdb.base/quit-live.exp: Likewise.
2088 * gdb.base/remote-exec-file.exp: Likewise.
2089 * gdb.guile/scm-progspace.exp: Likewise.
2090 * gdb.linespec/linespec.exp: Likewise.
2091 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2092 * gdb.mi/user-selected-context-sync.exp: Likewise.
2093 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2094 "info inferiors" tests.
2095 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2096 "add-inferior".
2097 * gdb.multi/watchpoint-multi.exp: Likewise.
2098 * gdb.python/py-inferior.exp: Likewise.
2099 * gdb.server/extended-remote-restart.exp: Likewise.
2100 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2101 "info inferiors".
2102 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2103 * gdb.trace/report.exp: Likewise.
2104
1dadb1dd
PA
21052020-01-10 Pedro Alves <palves@redhat.com>
2106
2107 * gdb.multi/multi-target.c: New file.
2108 * gdb.multi/multi-target.exp: New file.
2109 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2110 mode requested, but remote does not support non-stop".
2111
78f2c40a
PA
21122020-01-10 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2115 disconnect before reconnecting.
2116
e7af6c70
TBA
21172020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2118 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.server/connect-without-multi-process.exp: Also test
2121 continuing to end.
2122
acdf84a6
PA
21232020-01-10 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.base/remote-exec-file.exp: New file.
2126
873657b9
PA
21272020-01-10 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2130 output.
2131 * gdb.threads/async.c: New.
2132 * gdb.threads/async.exp: New.
2133 * gdb.multi/tids-gid-reset.c: New.
2134 * gdb.multi/tids-gid-reset.exp: New.
2135
7f0ae84c
GB
21362020-01-10 George Barrett <bob@bob131.so>
2137
2138 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2139 to help in finding the image relocation offset.
2140 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2141 options in arguments.
2142 (stap_test_no_debuginfo): Likewise.
2143 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2144 test variants.
2145 (stap_test): Add null semaphore relocation test.
2146
47e9d49d
GB
21472020-01-10 George Barrett <bob@bob131.so>
2148
2149 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2150 * gdb.base/stap-probe.exp: Likewise.
2151 (stap_test): Pass argument as an additional flag.
2152 (stap_test_no_debuginfo): Likewise.
2153 (stap_test): Check `info probes stap' output for semaphore
2154 addresses if the test binary is supposed to have them.
2155
f5a7c406
AB
21562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.tui/basic.exp: Add more scrolling tests.
2159
9ae6bf64
TT
21602020-01-09 Tom Tromey <tom@tromey.com>
2161
2162 PR tui/18932:
2163 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2164 meangingful value.
2165 (Term::command, Term::resize): Update.
2166 * gdb.tui/basic.exp: Add scrolling test.
2167
b2efe70c
AB
21682020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2169
2170 * gdb.tui/tui-layout-asm.exp: New file.
2171
3804da7e
AB
21722020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2173
2174 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2175
b40aa28f
AB
21762020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2177
2178 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2179 (Term::enter_tui): Use Term::prepare_for_tui.
2180
63ffd7c9
AB
21812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2182
2183 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2184 called.
2185
3be966f6
AB
21862020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2187
2188 * gdb.base/skip.exp: Fix race condition in test.
2189
153d79c4
AB
21902020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2191
2192 * gdb.base/backtrace.c: New file.
2193 * gdb.base/backtrace.exp: New file.
2194
f2302a34
AB
21952020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2198
6ec1d75e
PW
21992020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2200
2201 * gdb.base/style.exp: Test that warnings are styled.
2202
c296cbe6
BE
22032019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2204
2205 * gdb.base/line65535.exp: New file.
2206 * gdb.base/line65535.c: New file.
2207
b28a729d
SM
22082019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2209
2210 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2211 * lib/gnat_debug_info_test.adb: New file.
2212 * gdb.ada/ptype_tagged_param.exp: Use
2213 gnat_runtime_has_debug_info, expect a different output if
2214 runtime does not have debug info.
2215
7f2d7a0d
SM
22162019-12-20 Simon Marchi <simon.marchi@efficios.com>
2217
2218 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2219 (another) quote in test name.
2220
f3bce483
SM
22212019-12-20 Simon Marchi <simon.marchi@efficios.com>
2222
2223 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2224 Add quote in test name.
2225
c855a912
TBA
22262019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2227
2228 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2229 directory instead.
2230 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2231 * gdb.cp/pass-by-ref-2.cc: New file.
2232 * gdb.cp/pass-by-ref-2.exp: New file.
2233
fc9d2d72
TT
22342019-12-20 Tom Tromey <tom@tromey.com>
2235
2236 * gdb.tui/list-before.exp: New file.
2237
77b97e00
TT
22382019-12-20 Tom Tromey <tom@tromey.com>
2239
2240 * gdb.tui/list.exp: Check for source on initial listing.
2241
f69656d0
TT
22422019-12-11 Tom Tromey <tromey@adacore.com>
2243
2244 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2245 Add crlf test.
2246
99a55965
SM
22472019-12-18 Simon Marchi <simon.marchi@efficios.com>
2248
2249 * gdb.base/default.exp: Update value of $_gdb_major.
2250
5024637f
BE
22512019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2252
2253 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2254
b63634be
BE
22552019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2256
2257 * gdb.base/skip.exp: Whitespace fix.
2258
45d73523
BE
22592019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2260
2261 * gdb.base/skip-inline.c: New file.
2262 * gdb.base/skip-inline.exp: New file.
2263
d043f8c8
SM
22642019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2265
2266 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2267 jit_function_00 to jit_function_stack_mangle.
2268 * gdb.base/jithost.c (jit_function_t): Rename to...
2269 (jit_function_stack_mangle_t): ... this.
2270 (jit_function_add_t): New typedef.
2271 (jit_function_00_code): Rename to...
2272 (jit_function_stack_mangle_code): ... this, make static.
2273 (jit_function_add_code): New.
2274 (main): Generate "add" function and call it. Adjust to changes
2275 in jithost_abi.
2276 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2277 (struct jithost_abi) <begin, end>: Remove fields.
2278 <object, function_stack_mangle, function_add>: New fields.
2279 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2280 code_end>: Remove fields.
2281 <func_stack_mangle>: New field.
2282 (read_debug_info): Adjust to renaming, create block for "add"
2283 function.
2284 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2285
873de05c
TT
22862019-12-11 Tom Tromey <tom@tromey.com>
2287
2288 * gdb.tui/resize.exp: Fix regexp.
2289 * gdb.tui/regs.exp: Fix regexps.
2290 * gdb.tui/main.exp: Fix regexp.
2291
3d979945
TT
22922019-12-11 Tom Tromey <tom@tromey.com>
2293
2294 * gdb.tui/resize.exp: Update.
2295 * gdb.tui/empty.exp (layouts): Update.
2296
2192a9d3
TT
22972019-12-11 Tom Tromey <tom@tromey.com>
2298
2299 * gdb.tui/regs.exp: Update.
2300 * gdb.tui/empty.exp (layouts): Update.
2301 * gdb.tui/basic.exp: Update.
2302 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2303
d8edc8b7
PW
23042019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2305
2306 * gdb.base/options.exp: Add -raw-values in the print completion list.
2307 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2308
4c12d936
KB
23092019-12-10 Kevin Buettner <kevinb@redhat.com>
2310
2311 * gdb.threads/omp-par-scope.c: New file.
2312 * gdb/threads/omp-par-scope.exp: New file.
2313
26b911fb
KB
23142019-12-10 Kevin Buettner <kevinb@redhat.com>
2315
bb47f919
KB
2316 * lib/gdb.exp (support_nested_function_tests): New proc.
2317
23182019-12-10 Kevin Buettner <kevinb@redhat.com>
2319
2320 * lib/gdb.exp (gdb_compile_openmp): New proc.
2321 (build_executable_from_specs): Add an "openmp" option.
2322 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2323
6c71eb7d
TT
23242019-12-10 Tom Tromey <tromey@adacore.com>
2325
2326 * gdb.ada/unchecked_union.exp: New file.
2327 * gdb.ada/unchecked_union/pck.adb: New file.
2328 * gdb.ada/unchecked_union/pck.ads: New file.
2329 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2330 * gdb-utils.exp (string_to_regexp): Also quote "?".
2331
bac7c5cf
GB
23322019-12-10 George Barrett <bob@bob131.so>
2333
2334 Test scripted probe breakpoints.
2335 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2336 * gdb.python/py-breakpoint.c (main): Likewise.
2337 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2338 specifier test.
2339 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2340
330f1d38
TBA
23412019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2342
2343 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2344 an rvalue parameter.
2345 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2346 parameter.
2347
b43315e2
AB
23482019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2349
2350 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2351 modules.
2352
54f73dad
AB
23532019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2356 broken version of GCC.
2357
d57cbee9
AB
23582019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2361 sym-info-cmds library.
2362 * gdb.fortran/info-types.exp: Likewise.
2363 * lib/sym-info-cmds.exp: New file.
2364
c14aab8c
TV
23652019-12-08 Tom de Vries <tdevries@suse.de>
2366
2367 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2368
aa2d5a42
KS
23692019-12-07 Keith Seitz <keiths@redhat.com>
2370
2371 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2372 * gdb.base/corefile-buildid-shlib.c: New file.
2373 * gdb.base/corefile-buildid.c: New file.
2374 * gdb.base/corefile-buildid.exp: New file.
2375
93e55f0a
TV
23762019-12-06 Tom de Vries <tdevries@suse.de>
2377
2378 * gdb.dwarf2/varval.exp: Add decl before def test.
2379
c7d12402
TBA
23802019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2381
2382 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2383
06acc08f
TBA
23842019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2385
2386 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2387 CV and reference conversion for overload resolution.
2388 * gdb.cp/rvalue-ref-overload.exp: Test it.
2389
e0fad1ea
PW
23902019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2391
2392 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2393 * gdb.base/frameapply.exp: Test faas without command.
2394
8d70a9f0
AB
23952019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2396
2397 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2398 Fortran tests.
2399 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2400 order.
2401
36c8fb93
AB
24022019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2403
2404 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2405 casting to type with no kind specified.
2406 (test_basic_parsing_of_type_kinds): Additional tests for types
2407 with no kind specified, and add tests for single/double
2408 precision/complex types.
2409
4139ff00
TT
24102019-12-04 Tom Tromey <tromey@adacore.com>
2411
2412 * gdb.base/endianity.c (struct other) <x>: New field.
2413 (main): Initialize it.
2414 * gdb.base/endianity.exp: Update.
2415
a05cf17a
TT
24162019-12-04 Tom Tromey <tromey@adacore.com>
2417
2418 * gdb.ada/scalar_storage/storage.adb: New file.
2419 * gdb.ada/scalar_storage/pck.adb: New file.
2420 * gdb.ada/scalar_storage/pck.ads: New file.
2421 * gdb.ada/scalar_storage.exp: New file.
2422
103a685e
TT
24232019-12-04 Tom Tromey <tromey@adacore.com>
2424
2425 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2426 (main): Initialize it.
2427 * gdb.base/endianity.exp: Update.
2428
c2512106
AB
24292019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2430
2431 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2432
293b38d6
AB
24332019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2434
2435 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2436 -symbol-info-module-functions and -symbol-info-module-variables.
2437
216a7e6b
AB
24382019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2439
2440 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2441
5bbd8269
AB
24422019-12-01 Richard Bunt <richard.bunt@arm.com>
2443 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * gdb.fortran/derived-type-striding.exp: New file.
2446 * gdb.fortran/derived-type-striding.f90: New file.
2447 * gdb.fortran/array-slices.exp: New file.
2448 * gdb.fortran/array-slices.f90: New file.
2449
be09caf1
PW
24502019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2451
2452 * gdb.base/define.exp: Test . in command names.
2453 * gdb.base/setshow.exp: Update test, as . is now part of
2454 command name.
2455
643c0cbe
PW
24562019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2457
2458 * gdb.base/define-prefix.exp: New file.
2459
dcdec678
AB
24602019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2463 compile.
2464 (skip_btrace_pt_tests): Likewise.
2465
640ab947
AB
24662019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2467
2468 * gdb.fortran/info-modules.exp: Compile source files in correct
2469 order.
2470
d22670f0
KB
24712019-11-27 Kevin Buettner <kevinb@redhat.com>
2472
2473 * gdb.dwarf2/imported-unit.exp: New file.
2474 * gdb.dwarf2/imported-unit.c: New file.
2475
db5960b4
AB
24762019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2477
2478 * gdb.mi/mi-fortran-modules-2.f90: New file.
2479 * gdb.mi/mi-fortran-modules.exp: New file.
2480 * gdb.mi/mi-fortran-modules.f90: New file.
2481
7dc42066
AB
24822019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2483
2484 * gdb.mi/mi-sym-info-1.c: New file.
2485 * gdb.mi/mi-sym-info-2.c: New file.
2486 * gdb.mi/mi-sym-info.exp: New file.
2487
0dfeecca
TT
24882019-11-22 Tom Tromey <tromey@adacore.com>
2489
2490 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2491 * gdb.ada/tasks/foo.adb: Add another stopping location.
2492
34877895
PJ
24932019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2494
2495 * gdb.base/endianity.c: New test.
2496 * gdb.base/endianity.exp: New file.
2497
2e84f897
LD
24982019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2499
2500 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2501
65d1cd5f
TV
25022019-11-21 Tom de Vries <tdevries@suse.de>
2503
2504 PR gdb/24956
2505 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2506
4f22c3f4
SDJ
25072019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2508
2509 * gdb.python/py-progspace.exp: Add missing parentheses on some
2510 'print' commands.
2511
9f6ad286
TT
25122019-11-19 Tom Tromey <tom@tromey.com>
2513
2514 * gdb.tui/winheight.exp: New file.
2515
0b8dbf3f
AB
25162019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2517
2518 * gdb.base/ctf-whatis.c: Delete.
2519 * gdb.base/ctf-whatis.exp: Delete.
2520 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2521
f833b7a7
AB
25222019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2523
2524 * gdb.base/ctf-cvexpr.exp: Delete.
2525 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2526
30d0a636
AB
25272019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2528
2529 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2530 the compiler. Clean up header comment a little.
2531 * gdb.base/ctf-ptype.exp: Likewise.
2532 * gdb.base/ctf-whatis.exp: Likewise.
2533 * lib/gdb.exp (skip_ctf_tests): New proc.
2534
494409bb
SDJ
25352019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2536
2537 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2538 * gdb.tui/corefile-run.exp: New file.
2539
55708e99
TT
25402019-11-14 Tom Tromey <tromey@adacore.com>
2541
2542 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2543 regression tests.
2544
45e42163
TT
25452019-11-12 Tom Tromey <tom@tromey.com>
2546
2547 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2548 after any command. Expect prompt after WAIT_FOR is seen.
2549 (enter_tui): Enable resize messages.
2550 (command): Expect command in output.
2551 (get_line): Avoid error when cursor appears to be off-screen.
2552 (dump_screen): Include screen size in title.
2553 (_do_resize): New proc, from "resize".
2554 (resize): Rewrite. Do resize in two steps.
2555 * gdb.tui/empty.exp (layouts): Fix entries.
2556 (check_boxes): Remove xfail.
2557 (check_text): Dump screen on failure.
2558
086baaf1
AB
25592019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * gdb.python/py-symbol.exp: Add test for
2562 gdb.lookup_static_symbols.
2563
09ff83af
AB
25642019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * gdb.python/py-symbol.c: Declare and call function from new
2567 py-symbol-2.c file.
2568 * gdb.python/py-symbol.exp: Compile both source files, and add new
2569 tests for gdb.lookup_static_symbol.
2570 * gdb.python/py-symbol-2.c: New file.
2571
11af934b
TV
25722019-11-02 Tom de Vries <tdevries@suse.de>
2573
2574 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2575 * gdb.base/anon.exp: Same.
2576 * gdb.base/auto-connect-native-target.exp: Same.
2577 * gdb.base/call-ar-st.exp: Same.
2578 * gdb.base/catch-syscall.exp: Same.
2579 * gdb.base/commands.exp: Same.
2580 * gdb.base/default.exp: Same.
2581 * gdb.base/display.exp: Same.
2582 * gdb.base/float.exp: Same.
2583 * gdb.base/foll-fork.exp: Same.
2584 * gdb.base/help.exp: Same.
2585 * gdb.base/info-macros.exp: Same.
2586 * gdb.base/info-proc.exp: Same.
2587 * gdb.base/info-target.exp: Same.
2588 * gdb.base/long_long.exp: Same.
2589 * gdb.base/macscp.exp: Same.
2590 * gdb.base/memattr.exp: Same.
2591 * gdb.base/nofield.exp: Same.
2592 * gdb.base/pointers.exp: Same.
2593 * gdb.base/printcmds.exp: Same.
2594 * gdb.base/ptype.exp: Same.
2595 * gdb.base/restore.exp: Same.
2596 * gdb.base/return.exp: Same.
2597 * gdb.base/scope.exp: Same.
2598 * gdb.base/set-noassign.exp: Same.
2599 * gdb.base/setshow.exp: Same.
2600 * gdb.base/shlib-call.exp: Same.
2601 * gdb.base/signals.exp: Same.
2602 * gdb.base/sigstep.exp: Same.
2603 * gdb.base/skip.exp: Same.
2604 * gdb.base/solib-symbol.exp: Same.
2605 * gdb.base/stap-probe.exp: Same.
2606 * gdb.base/step-line.exp: Same.
2607 * gdb.base/step-test.exp: Same.
2608 * gdb.base/style.exp: Same.
2609 * gdb.base/varargs.exp: Same.
2610 * gdb.base/vla-datatypes.exp: Same.
2611 * gdb.base/vla-ptr.exp: Same.
2612 * gdb.base/vla-sideeffect.exp: Same.
2613 * gdb.base/volatile.exp: Same.
2614 * gdb.base/watch-cond-infcall.exp: Same.
2615 * gdb.base/watchpoint.exp: Same.
2616
e96ec2ba
TV
26172019-11-02 Tom de Vries <tdevries@suse.de>
2618
2619 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2620 * gdb.cp/cpexprs.exp: Same.
2621 * gdb.cp/except-multi-location.exp: Same.
2622 * gdb.cp/exceptprint.exp: Same.
2623 * gdb.cp/gdb2384.exp: Same.
2624 * gdb.cp/inherit.exp: Same.
2625 * gdb.cp/m-static.exp: Same.
2626 * gdb.cp/meth-typedefs.exp: Same.
2627 * gdb.cp/misc.exp: Same.
2628 * gdb.cp/namespace.exp: Same.
2629 * gdb.cp/non-trivial-retval.exp: Same.
2630 * gdb.cp/overload.exp: Same.
2631 * gdb.cp/pr17132.exp: Same.
2632 * gdb.cp/re-set-overloaded.exp: Same.
2633 * gdb.cp/rvalue-ref-types.exp: Same.
2634 * gdb.cp/templates.exp: Same.
2635
bd5766ec
LM
26362019-11-01 Luis Machado <luis.machado@linaro.org>
2637
2638 PR gdb/25124
2639
2640 * gdb.arch/pr25124.S: New file.
2641 * gdb.arch/pr25124.exp: New file.
2642
165f8965
AB
26432019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2644
2645 * gdb.fortran/info-modules.exp: Update expected results, and add
2646 additional tests for 'info module functinos', and 'info module
2647 variables'.
2648 * gdb.fortran/info-types.exp: Update expected results.
2649 * gdb.fortran/info-types.f90: Extend testcase with additional
2650 module variables and functions.
2651
59c35742
AB
26522019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2653
2654 * gdb.fortran/info-modules.exp: New file.
2655 * gdb.fortran/info-types.exp: Build with new file.
2656 * gdb.fortran/info-types.f90: Include and use new module.
2657 * gdb.fortran/info-types-2.f90: New file.
2658
f3fb2519
PW
26592019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2660
2661 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2662 * gdb.base/settings.exp: Test all settings types using
2663 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2664 that now verifies that the value of "maint show" is the same as
2665 returned by the settings functions. Test the type of the
2666 maintenance settings.
2667 * gdb.base/default.exp: Update show_conv_list.
2668
d1e36019
TV
26692019-10-31 Tom de Vries <tdevries@suse.de>
2670
2671 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2672 gdb_test.
2673 * gdb.arch/amd64-disp-step.exp: Same.
2674 * gdb.asm/asm-source.exp: Same.
2675 * gdb.btrace/buffer-size.exp: Same.
2676 * gdb.btrace/cpu.exp: Same.
2677 * gdb.btrace/enable.exp: Same.
2678 * gdb.dwarf2/count.exp: Same.
2679 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2680 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2681 * gdb.fortran/vla-datatypes.exp: Same.
2682 * gdb.fortran/vla-history.exp: Same.
2683 * gdb.fortran/vla-ptype.exp: Same.
2684 * gdb.fortran/vla-value.exp: Same.
2685 * gdb.fortran/whatis_type.exp: Same.
2686 * gdb.guile/guile.exp: Same.
2687 * gdb.multi/tids.exp: Same.
2688 * gdb.python/py-finish-breakpoint.exp: Same.
2689 * gdb.python/py-framefilter.exp: Same.
2690 * gdb.python/py-pp-registration.exp: Same.
2691 * gdb.python/py-xmethods.exp: Same.
2692 * gdb.python/python.exp: Same.
2693 * gdb.server/connect-with-no-symbol-file.exp: Same.
2694 * gdb.server/no-thread-db.exp: Same.
2695 * gdb.server/run-without-local-binary.exp: Same.
2696 * gdb.stabs/weird.exp: Same.
2697 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2698 * gdb.threads/thread-find.exp: Same.
2699 * gdb.threads/tls-shared.exp: Same.
2700 * gdb.threads/tls.exp: Same.
2701 * gdb.threads/wp-replication.exp: Same.
2702 * gdb.trace/ax.exp: Same.
2703 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2704
3d11e68e
TV
27052019-10-31 Tom de Vries <tdevries@suse.de>
2706
2707 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2708 * gdb.ada/array_subscript_addr.exp: Same.
2709 * gdb.ada/arrayidx.exp: Same.
2710 * gdb.ada/arrayparam.exp: Same.
2711 * gdb.ada/arrayptr.exp: Same.
2712 * gdb.ada/boolean_expr.exp: Same.
2713 * gdb.ada/call_pn.exp: Same.
2714 * gdb.ada/complete.exp: Same.
2715 * gdb.ada/fixed_cmp.exp: Same.
2716 * gdb.ada/fun_addr.exp: Same.
2717 * gdb.ada/funcall_param.exp: Same.
2718 * gdb.ada/interface.exp: Same.
2719 * gdb.ada/mod_from_name.exp: Same.
2720 * gdb.ada/null_array.exp: Same.
2721 * gdb.ada/packed_array.exp: Same.
2722 * gdb.ada/packed_tagged.exp: Same.
2723 * gdb.ada/print_chars.exp: Same.
2724 * gdb.ada/print_pc.exp: Same.
2725 * gdb.ada/ptype_arith_binop.exp: Same.
2726 * gdb.ada/ptype_field.exp: Same.
2727 * gdb.ada/ptype_tagged_param.exp: Same.
2728 * gdb.ada/rec_return.exp: Same.
2729 * gdb.ada/ref_tick_size.exp: Same.
2730 * gdb.ada/str_ref_cmp.exp: Same.
2731 * gdb.ada/taft_type.exp: Same.
2732 * gdb.ada/tagged.exp: Same.
2733 * gdb.ada/type_coercion.exp: Same.
2734 * gdb.ada/uninitialized_vars.exp: Same.
2735
60b6ede8
TV
27362019-10-30 Tom de Vries <tdevries@suse.de>
2737
2738 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2739
30baf67b
TV
27402019-10-26 Tom de Vries <tdevries@suse.de>
2741
2742 * gdb.base/bigcore.c: Fix typos in comments.
2743 * gdb.base/ctf-ptype.c: Same.
2744 * gdb.base/long_long.c: Same.
2745 * gdb.dwarf2/dw2-op-out-param.S: Same.
2746 * gdb.python/py-evthreads.c: Same.
2747 * gdb.reverse/i387-stack-reverse.c: Same.
2748 * gdb.trace/tfile.c: Same.
2749 * lib/compiler.c: Same.
2750 * lib/compiler.cc: Same.
2751
158da0d1
TV
27522019-10-25 Tom de Vries <tdevries@suse.de>
2753
2754 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2755 gdb_test_multiple calls.
2756 * gdb.reverse/sigall-reverse.exp: Same.
2757 * gdb.reverse/solib-precsave.exp: Same.
2758 * gdb.reverse/solib-reverse.exp: Same.
2759 * gdb.reverse/until-precsave.exp: Same.
2760 * gdb.reverse/until-reverse.exp: Same.
2761
4ccdfbec
TV
27622019-10-24 Tom de Vries <tdevries@suse.de>
2763
2764 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2765 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2766 kfail using -wrap pattern flag and convenience variable
2767 gdb_test_name.
2768
33d569b7
AB
27692019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2770
2771 * gdb.python/py-progspace.exp: Add tests for the
2772 Progspace.block_for_pc method.
2773
4d0b984b
TT
27742019-10-23 Tom Tromey <tom@tromey.com>
2775
2776 * configure: Rebuild.
2777 * aclocal.m4: Use m4_include, not sinclude.
2778
94cb3754
TV
27792019-10-21 Tom de Vries <tdevries@suse.de>
2780
2781 * gdb.base/infcall-nested-structs.c: Add
2782 __attribute__((noinline,noclone)) to all functions.
2783 (call_all): Add missing variable initialization. Simplify return value.
2784 (breakpt): Increment volatile variable, to prevent call from being
2785 optimized out.
2786 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2787
062f1fc1
TV
27882019-10-17 Tom de Vries <tdevries@suse.de>
2789
2790 * gdb.fortran/module.exp: Allow info variables to print info for files
2791 other than module.f90.
2792
0b54364d
AB
27932019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2794
2795 * gdb.fortran/module.exp: Extend with 'info variables' test.
2796
7ff5fae7
AB
27972019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2798
2799 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2800 F77_FOR_TARGET.
2801
d10eccaa
TV
28022019-10-16 Tom de Vries <tdevries@suse.de>
2803
2804 PR tdep/25096
2805 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2806
745ff14e
TV
28072019-10-16 Tom de Vries <tdevries@suse.de>
2808
2809 PR tdep/24104
2810 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2811 Add KFAIL for PR tdep/25096.
2812
03e1ab94
TV
28132019-10-16 Tom de Vries <tdevries@suse.de>
2814
2815 PR testsuite/25059
2816 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2817
b17fcc10
TV
28182019-10-16 Tom de Vries <tdevries@suse.de>
2819
2820 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2821 as signed.
2822
9223170f
SM
28232019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2824
2825 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2826 one instead of increasing timeout.
2827
d6e76313
TV
28282019-10-13 Tom de Vries <tdevries@suse.de>
2829
2830 PR record/25038
2831 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2832 * gdb.reverse/sigall-reverse.exp: Same.
2833 * gdb.reverse/solib-precsave.exp: Same.
2834 * gdb.reverse/solib-reverse.exp: Same.
2835 * gdb.reverse/step-precsave.exp: Same.
2836 * gdb.reverse/until-precsave.exp: Same.
2837 * gdb.reverse/until-reverse.exp: Same.
2838 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2839
6dfc0041
AA
28402019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2841
2842 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2843 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2844 (cmp_struct_05_01, cmp_struct_static_02_01)
2845 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2846 comparisons.
2847
abcf2cc8
TV
28482019-10-10 Tom de Vries <tdevries@suse.de>
2849
2850 PR testsuite/24888
2851 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2852 gnatlink.
2853
a50faaf6
TV
28542019-10-09 Tom de Vries <tdevries@suse.de>
2855
2856 PR testsuite/25048
2857 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2858
60ff3cd7
AB
28592019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2860
2861 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2862 exceptions due to missing debug information.
2863
dfee8566
TV
28642019-10-07 Tom de Vries <tdevries@suse.de>
2865
2866 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2867
3d63690a
AB
28682019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2869
2870 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2871 * gdb.base/annota1.exp: Update to use gdb_test_name.
2872
30d1f018
WP
28732019-10-07 Weimin Pan <weimin.pan@oracle.com>
2874
2875 * gdb.base/ctf-whatis.exp: New file.
2876 * gdb.base/ctf-whatis.c: New file.
2877 * gdb.base/ctf-ptype.exp: New file.
2878 * gdb.base/ctf-ptype.c: New file.
2879 * gdb.base/ctf-constvars.exp: New file.
2880 * gdb.base/ctf-constvars.c: New file.
2881 * gdb.base/ctf-cvexpr.exp: New file.
2882
4dbbb47c
TV
28832019-10-04 Tom de Vries <tdevries@suse.de>
2884
2885 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2886 for loop.
2887
77c2dba3
TT
28882019-10-03 Tom Tromey <tom@tromey.com>
2889
2890 PR rust/24976:
2891 * gdb.rust/simple.rs (Union2): New type.
2892 (main): Use Union2.
2893 * gdb.rust/simple.exp: Add test.
2894
179aed7f
AB
28952019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2896
2897 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2898 nested function prefix.
2899
0a4b0913
AB
29002019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2901 Richard Bunt <richard.bunt@arm.com>
2902 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2905 nested functions.
2906 * gdb.fortran/nested-funcs.f90: Update expected results.
2907 * gdb.fortran/nested-funcs-2.exp: New file.
2908 * gdb.fortran/nested-funcs-2.f90: New file.
2909
082cce05
AB
29102019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2911
2912 * gdb.python/py-parameter.exp: Make test names unique.
2913 * gdb.python/py-template.exp: Likewise.
2914 * gdb.python/py-value.exp: Likewise.
2915
2b74ba5a
AB
29162019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2917
2918 * gdb.base/break-interp.exp: Reduce test name duplication.
2919 * gdb.base/call-sc.exp: Likewise.
2920 * gdb.base/callfuncs.exp: Likewise.
2921 * gdb.base/charset.exp: Likewise.
2922 * gdb.base/dump.exp: Likewise.
2923 * gdb.base/ena-dis-br.exp: Likewise.
2924 * gdb.base/relational.exp: Likewise.
2925 * gdb.base/step-over-syscall.exp: Likewise.
2926 * gdb.base/structs.exp: Likewise.
2927
58eb20d5
AB
29282019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2929
2930 * gdb.linespec/explicit.exp: Make test names unique.
2931 * gdb.linespec/ls-errs.exp: Likewise.
2932
4d421147
AB
29332019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2934
2935 * gdb.reverse/break-precsave.exp: Make test names unique.
2936 * gdb.reverse/break-reverse.exp: Likewise.
2937 * gdb.reverse/finish-precsave.exp: Likewise.
2938 * gdb.reverse/finish-reverse.exp: Likewise.
2939 * gdb.reverse/machinestate-precsave.exp: Likewise.
2940 * gdb.reverse/machinestate.exp: Likewise.
2941 * gdb.reverse/readv-reverse.exp: Likewise.
2942 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2943 * gdb.reverse/sigall-precsave.exp: Likewise.
2944 * gdb.reverse/sigall-reverse.exp: Likewise.
2945 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2946 * gdb.reverse/watch-precsave.exp: Likewise.
2947 * gdb.reverse/watch-reverse.exp: Likewise.
2948
d8c06f22
AB
29492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2950
2951 * gdb.threads/stop-with-handle.c: New file.
2952 * gdb.threads/stop-with-handle.exp: New file.
2953
3a56ed86
TV
29542019-10-03 Tom de Vries <tdevries@suse.de>
2955
2956 PR testsuite/25059
2957 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2958 directory" line to be missing.
2959
42275044
TV
29602019-10-03 Tom de Vries <tdevries@suse.de>
2961
2962 PR testsuite/25059
2963 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2964 type optional.
2965
9ef62df0
AA
29662019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2967
2968 * gdb.python/py-format-string.c (string.h): New include.
2969 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2970 the same value, for endianness-independence.
2971 * gdb.python/py-format-string.exp (default_regexp_dict)
2972 (test_pretty_structs, test_format): Adjust expected output to the
2973 changed initialization.
2974
37f6a7f4
TT
29752019-10-02 Tom Tromey <tromey@adacore.com>
2976
2977 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2978
1d58d6a2
PA
29792019-10-02 Pedro Alves <palves@redhat.com>
2980 Andrew Burgess <andrew.burgess@embecosm.com>
2981
2982 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2983 "print-file-var.h".
2984 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2985 (get_version_1): Print this_version_id and its address.
2986 Add extern "C" wrappers around interface functions.
2987 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2988 "print-file-var.h".
2989 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2990 (get_version_2): Print this_version_id and its address.
2991 Add extern "C" wrappers around interface functions.
2992 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2993 <stddef.h> and "print-file-var.h".
2994 Add extern "C" wrappers around interface functions.
2995 [VERSION_ID_MAIN] (this_version_id): Define.
2996 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2997 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2998 up extern "C" blocks.
2999 * gdb.base/print-file-var.exp (test): New, factored out from top
3000 level.
3001 (top level): Test all combinations of attribute hidden or not,
3002 dlopen or not, and this_version_id symbol in main file or not.
3003 Compile tests as both C++ and C, make test names unique.
3004
d770d56f
TT
30052019-10-01 Tom Tromey <tom@tromey.com>
3006
3007 * gdb.base/style.exp: Test "show logging filename".
3008
7f6aba03
TT
30092019-10-01 Tom Tromey <tom@tromey.com>
3010
3011 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3012 * gdb.base/style.exp: Add metadata style test.
3013
14309bb6
TT
30142019-10-01 Tom Tromey <tom@tromey.com>
3015
3016 * gdb.base/style.exp: Test "pwd".
3017
2a3c1174
PA
30182019-10-01 Tom Tromey <tom@tromey.com>
3019
3020 * gdb.base/style.exp: Update tests.
3021
53d666ec
AA
30222019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3023
3024 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3025 'six' to unsigned.
3026 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3027 'five'. Use an all-ones bit pattern for each.
3028 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3029 to its changed values.
3030
4a56a520
TT
30312019-09-30 Tom Tromey <tromey@adacore.com>
3032
3033 * gdb.rust/traits.rs: Disable all warnings.
3034
0df0352a
TV
30352019-09-29 Tom de Vries <tdevries@suse.de>
3036
aac66a4c 3037 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3038
73d9a918
TV
30392019-09-29 Tom de Vries <tdevries@suse.de>
3040
3041 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3042
060b3ab4
TV
30432019-09-27 Tom de Vries <tdevries@suse.de>
3044
3045 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3046
68f7d34d
TV
30472019-09-27 Tom de Vries <tdevries@suse.de>
3048
3049 PR record/23188
3050 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3051
5d63b30a
TT
30522019-09-26 Tom Tromey <tromey@adacore.com>
3053
3054 * gdb.ada/py_taft.exp: New file.
3055 * gdb.ada/py_taft/main.adb: New file.
3056 * gdb.ada/py_taft/pkg.adb: New file.
3057 * gdb.ada/py_taft/pkg.ads: New file.
3058
3d435220
TV
30592019-09-24 Tom de Vries <tdevries@suse.de>
3060
3061 PR gdb/24598
3062 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3063
77d03678
TV
30642019-09-22 Tom de Vries <tdevries@suse.de>
3065
3066 * gdb.base/restore.exp: Allow register variables to be optimized out at
3067 -O0.
3068
abf516c6
UW
30692019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3070
3071 * gdb.arch/spu-info.exp: Remove file.
3072 * gdb.arch/spu-info.c: Remove file.
3073 * gdb.arch/spu-ls.exp: Remove file.
3074 * gdb.arch/spu-ls.c: Remove file.
3075
3076 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3077 * gdb.asm/spu.inc: Remove file.
3078
3079 * gdb.base/dump.exp: Remove support for spu*-*-*.
3080 * gdb.base/stack-checking.exp: Likewise.
3081 * gdb.base/overlays.exp: Likewise.
3082 * gdb.base/ovlymgr.c: Likewise.
3083 * gdb.base/spu.ld: Remove file.
3084
3085 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3086 * gdb.cp/cpexprs.exp: Likewise.
3087 * gdb.cp/exception.exp: Likewise.
3088 * gdb.cp/gdb2495.exp: Likewise.
3089 * gdb.cp/mb-templates.exp: Likewise.
3090 * gdb.cp/pr9167.exp: Likewise.
3091 * gdb.cp/userdef.exp: Likewise.
3092
3093 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3094
3095 * gdb.cell: Remove directory.
3096 * lib/cell.exp: Remove file.
3097
e452e88f
TV
30982019-09-19 Tom de Vries <tdevries@suse.de>
3099
3100 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3101
8a625130
TV
31022019-09-19 Tom de Vries <tdevries@suse.de>
3103
3104 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3105
81dc3ab5
TV
31062019-09-19 Tom de Vries <tdevries@suse.de>
3107
3108 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3109 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3110 (gdb_target_cmd): ... here.
3111 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3112 value 2.
3113
b078f3ac
AB
31142019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.base/source-dir.exp: Avoid having directory names in test
3117 names.
3118
f1b620e9
MG
31192019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3120
3121 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3122 directory.
3123
67f3ed6a
AB
31242019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3125
3126 * gdb.base/list-missing-source.exp: New file.
3127
d1b70248
TV
31282019-09-14 Tom de Vries <tdevries@suse.de>
3129
3130 PR teststuite/24599
3131 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3132 * lib/ada.exp (gnatmake_version_at_least): New proc.
3133
5fabdcd6
AB
31342019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3135
3136 * gdb.base/maint.exp: Use exec_has_index_section.
3137
aa17805f
AB
31382019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3139
3140 * gdb.base/maint.exp: Add test for 'maint info sections'.
3141
25e5c209
TV
31422019-09-12 Tom de Vries <tdevries@suse.de>
3143
3144 * gdb.base/store.exp: Allow register variables to be optimized out at
3145 -O0.
3146
4993045d
PW
31472019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3148
3149 * gdb.ada/rdv_wait.exp: Update to new task names.
3150 * gdb.base/task_switch_in_core.exp: Likewise.
3151 * gdb.base/info_sources_base.c: Likewise.
3152
8a516164
TT
31532019-09-10 Tom Tromey <tromey@adacore.com>
3154
3155 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3156
aa391654
TT
31572019-09-10 Tom Tromey <tromey@adacore.com>
3158
3159 * gdb.ada/dgopt.exp: New file.
3160 * gdb.ada/dgopt/x.adb: New file.
3161
8634b462
TT
31622019-09-08 Tom Tromey <tom@tromey.com>
3163
3164 * gdb.tui/resize.exp: Remove setup_xfail.
3165 * gdb.tui/regs.exp: Remove setup_xfail.
3166 * gdb.tui/basic.exp: Remove setup_xfail.
3167
736b0f76
DB
31682019-09-06 David Blaikie <dblaikie@gmail.com>
3169
3170 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3171 * gdb.cp/cplabel.exp: Ditto.
3172 * gdb.linespec/ls-errs.exp: Ditto.
3173
30331a6c
TV
31742019-09-05 Tom de Vries <tdevries@suse.de>
3175
3176 * lib/gdb.exp (cmp_file_string): New proc.
3177 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3178 runto_main. Verify save breakpoints output.
3179
98b0ebab
PW
31802019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3181
3182 * gdb.base/info-var.exp: Test info variables without running
3183 to main, to avoid expect's buffer overflow.
3184
4e962e74
TT
31852019-09-03 Tom Tromey <tromey@adacore.com>
3186
3187 * gdb.ada/bias.exp: New file.
3188 * gdb.ada/bias/bias.adb: New file.
3189 * gdb.ada/print_chars.exp: Add regression test.
3190 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3191 (MC): New variable.
3192
2ea1a07a
SL
31932019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3194
3195 * gdb.base/argv0-symlink.exp: Run only on native target
3196 and local host.
3197
8077c50d
TV
31982019-08-29 Tom de Vries <tdevries@suse.de>
3199
3200 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3201 diverse debug info.
3202 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3203
48352473
TV
32042019-08-28 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.base/info-var.exp: Allow info variables to print info for files
3207 other than info-var-f1.c and info-var-f2.c.
3208
d8f27c60
AB
32092019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3210
3211 * gdb.fortran/info-types.exp: Add module.
3212 * gdb.fortran/info-types.f90: Update expected results.
3213
1f20c35e
AB
32142019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3215
3216 * gdb.fortran/info-types.exp: New file.
3217 * gdb.fortran/info-types.f90: New file.
3218 * lib/fortran.exp (fortran_character1): New proc.
3219
4acfdd20
AB
32202019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3221
3222 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3223 functions'. Reindent as needed.
3224 * gdb.base/info-var-f1.c: New file.
3225 * gdb.base/info-var-f2.c: New file.
3226 * gdb.base/info-var.exp: New file.
3227 * gdb.base/info-var.h: New file.
3228
5c31b358
TV
32292019-08-26 Tom de Vries <tdevries@suse.de>
3230
3231 PR c++/24852
3232 * gdb.cp/no-libstdcxx-probe.exp: New test.
3233
b694989f
TV
32342019-08-26 Tom de Vries <tdevries@suse.de>
3235
3236 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3237 * tests need to be skipped.
3238 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3239 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3240 mi_skip_libstdcxx_probe_tests.
3241
d9c4ba53
SDJ
32422019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3243
3244 * gdb.python/py-xmethods.exp: Use raw strings when passing
3245 arguments to SimpleXMethodMatcher.
3246
395fad09
TV
32472019-08-22 Tom de Vries <tdevries@suse.de>
3248
3249 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3250 more informative.
3251
26c957f1
PA
32522019-08-21 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.base/with.exp: Test "with" with no arguments.
3255
61f80d5d
TV
32562019-08-21 Tom de Vries <tdevries@suse.de>
3257
3258 * gdb.base/gdb-caching-proc.exp: Sort files.
3259
d7a11d13
TV
32602019-08-20 Tom de Vries <tdevries@suse.de>
3261
3262 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3263 compilation.
3264
34dafe9f
TV
32652019-08-16 Tom de Vries <tdevries@suse.de>
3266
3267 * gdb.base/compare-sections.exp ("after run to main"): Allow
3268 mismatched read-only sections for PIE executables.
3269
398fdd60
TT
32702019-08-16 Tom Tromey <tom@tromey.com>
3271
3272 * lib/tuiterm.exp (_csi_Z): New proc.
3273 * gdb.tui/basic.exp: Update window positions.
3274 * gdb.tui/empty.exp: Update window positions.
3275
d8f9e51c
SL
32762019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3277
3278 * gdb.base/examine-backward.exp: Correct regexp for
3279 "examine 3 bytes backward from ${address_zero}".
3280
3df505f6
TT
32812019-08-15 Tom Tromey <tom@tromey.com>
3282
3283 * gdb.tui/empty.exp: Enable resizing tests.
3284
272560b5
TT
32852019-08-15 Tom Tromey <tromey@adacore.com>
3286
3287 * gdb.ada/char_enum.exp: Add regression tests.
3288 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3289 and '0'.
3290 (Char, Gchar): Update.
3291 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3292
08235187
CB
32932019-08-15 Christian Biesinger <cbiesinger@google.com>
3294
3295 * gdb.python/python.exp: Expect a leading underscore on
3296 GdbOutput{,Error}File.
3297
22a2ab04
SL
32982019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3299
3300 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3301 Windows host.
3302
835b995b
SL
33032019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3304
3305 * gdb.base/batch-preserve-term-settings.exp
3306 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3307
97dd8e07
CB
33082019-08-15 Christian Biesinger <cbiesinger@google.com>
3309
3310 * lib/gdb.exp: When running on a mingw target, replace
3311 /x/ with x:/.
3312
75faf5c4
AH
33132019-08-14 Alan Hayward <alan.hayward@arm.com>
3314
3315 * gdb.arch/aarch64-prologue.c: New test.
3316 * gdb.arch/aarch64-prologue.exp: New file.
3317
abc6c00f
TV
33182019-08-13 Tom de Vries <tdevries@suse.de>
3319
3320 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3321 Thread.
3322
74c2c1f4
SL
33232019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3324
3325 * gdb.python/py-completion.exp: Download the .py file to the host
3326 and use its host pathname. Conditionalize tests that use
3327 tab completion and manipulate files on the build machine.
3328 * gdb.python/py-events.exp: Download the .py file to the host
3329 and use its host pathname.
3330 * gdb.python/py-evsignal.exp: Likewise.
3331 * gdb.python/py-evthreads.exp: Likewise.
3332 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3333 pathname syntax.
3334 * gdb.python/py-framefilter.exp: Download the .py file to the right
3335 place on the host. Match Windows pathname syntax.
3336 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3337 .py file to the host and use its host pathname.
3338 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3339 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3340 build pathname. Skip symlink test on Windows host. Add missing
3341 newline at end of file.
3342 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3343 and use its host pathname.
3344 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3345 * gdb.python/py-section-script.exp: Use host location of binfile
3346 on safe-path. Use correct path separator on Windows host.
3347 Reorder alternatives in gdb_test_multiple to prevent matching
3348 the wrong alternative on success.
3349 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3350
ca2589f3
PP
33512019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3352
3353 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3354 expect the GDB inferior to no longer immediately stop after
3355 being resumed with "signal SIGINT".
3356
020a839d
SL
33572019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3358
3359 * gdb.linespec/break-ask.exp: Generalize regexps to match
3360 Windows pathnames too.
3361
128d6509
TV
33622019-08-08 Tom de Vries <tdevries@suse.de>
3363
3364 PR testsuite/24862
3365 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3366
590042fc
PW
33672019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3368
3369 * gdb.base/style.exp: Update tests for help doc new invariants.
3370 * gdb.base/help.exp: Likewise.
3371
046bebe1
TT
33722019-08-06 Tom Tromey <tom@tromey.com>
3373
3374 * gdb.base/style.exp: Add disassemble test.
3375 * gdb.base/style.c (some_called_function): New function.
3376 (main): Use it.
3377
0b27c27d
CB
33782019-08-05 Christian Biesinger <cbiesinger@google.com>
3379
3380 * gdb.python/py-block.exp: Test dictionary access on blocks.
3381
580f1034
SM
33822019-08-05 Simon Marchi <simon.marchi@efficios.com>
3383
3384 PR gdb/24863
3385 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3386 -list-thread-groups --available test when running under
3387 check-read1.
3388
d86bd7cb
TV
33892019-08-05 Tom de Vries <tdevries@suse.de>
3390
3391 PR testsuite/24863
3392 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3393 * gdb.base/help.exp: Use with_read1_timeout_factor.
3394 * gdb.base/info-macros.exp: Same.
3395 * gdb.cp/nested-types.exp: Same.
3396
a80cf5d8
TV
33972019-08-05 Tom de Vries <tdevries@suse.de>
3398
3399 * lib/gdb.exp (version_at_least): Factor out of ...
3400 (tcl_version_at_least): ... here.
3401 (gdb_compile): Fail if pie results in non-PIE executable.
3402 (readelf_version, readelf_prints_pie): New proc.
3403 (exec_is_pie): Return -1 if unknown.
3404
d0962838
TV
34052019-08-05 Tom de Vries <tdevries@suse.de>
3406
3407 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3408
2252ff3d
SL
34092019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3410
3411 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3412
26655f53
SL
34132019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3414
3415 * lib/completion-support.exp (test_gdb_complete_none): Skip
3416 tab completion tests if no readline support.
3417 (test_gdb_complete_unique_re): Likewise.
3418 (test_gdb_complete_multiple): Likewise.
3419
db4dc13e
PW
34202019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3421
3422 * gdb.base/info_sources.exp: New file.
3423 * gdb.base/info_sources.c: New file.
3424 * gdb.base/info_sources_base.c: New file.
3425
0eba165a
PFC
34262019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3427
3428 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3429 prefix argument.
3430 (test_exit_status): Add prefix argument.
3431
59bd512b
TV
34322019-08-01 Tom de Vries <tdevries@suse.de>
3433
3434 PR testsuite/24863
3435 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3436 calling exp_continue for new thread and thread exited messages.
3437
2a3ad588
TV
34382019-08-01 Tom de Vries <tdevries@suse.de>
3439
3440 PR testsuite/24863
3441 * gdb.base/structs.exp: Fix check-read1 timeout using
3442 gdb_test_sequence.
3443 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3444
117eb594
TV
34452019-08-01 Tom de Vries <tdevries@suse.de>
3446
3447 PR testsuite/24863
3448 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3449 line.
3450
ed591340
TV
34512019-08-01 Tom de Vries <tdevries@suse.de>
3452
3453 PR testsuite/24863
3454 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3455
aa3b6533
TT
34562019-07-30 Tom Tromey <tromey@adacore.com>
3457
3458 * gdb.ada/display_nested.exp: New file.
3459 * gdb.ada/display_nested/foo.adb: New file.
3460 * gdb.ada/display_nested/pack.adb: New file.
3461 * gdb.ada/display_nested/pack.ads: New file.
3462
2906593f
CB
34632019-07-30 Christian Biesinger <cbiesinger@google.com>
3464
3465 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3466 namespace.
3467 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3468
0f575925
TV
34692019-07-30 Tom de Vries <tdevries@suse.de>
3470
3471 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3472 instead.
3473
b13057d9
TV
34742019-07-30 Tom de Vries <tdevries@suse.de>
3475
3476 PR testsuite/24834
3477 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3478 (exec_is_pie): New proc.
3479
5c4dde85
CB
34802019-07-29 Christian Biesinger <cbiesinger@google.com>
3481
3482 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3483
c620ed88
CB
34842019-07-29 Christian Biesinger <cbiesinger@google.com>
3485
3486 * gdb.python/py-objfile.c: Add global and static vars.
3487 * gdb.python/py-objfile.exp: Test new functions Objfile.
3488 lookup_global_symbol and lookup_static_symbol.
3489
3d235706
TT
34902019-07-29 Tom Tromey <tom@tromey.com>
3491
3492 * lib/tuiterm.exp (Term::_csi_@): New proc.
3493 (Term::_csi_X): Don't move cursor.
3494
c7e4c0a6
PW
34952019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3496
3497 * gdb.base/options.exp: Update backtrace - completion to
3498 new option -frame-info.
3499 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3500 Test new 'set print frame-info'. Test backtrace -frame-info
3501 overriding 'set print frame-info'.
3502 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3503 Test new 'set print frame-info'.
3504 Verify consistency of backtrace with and without filters, with and
3505 without -no-filters.
3506 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3507 default.
3508
de28a3b7
TV
35092019-07-29 Tom de Vries <tdevries@suse.de>
3510
3511 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3512 no arguments".
3513
507dd60e
TV
35142019-07-29 Tom de Vries <tdevries@suse.de>
3515
3516 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3517 is a substring of the first for "complete non-unique file name".
3518
5beafce9
TV
35192019-07-29 Tom de Vries <tdevries@suse.de>
3520
3521 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3522 with ".*".
3523
2d274232
TV
35242019-07-29 Tom de Vries <tdevries@suse.de>
3525
3526 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3527 Pass prompt_regexp parameter to gdb_test_multiple calls.
3528
9197cd8b
TV
35292019-07-29 Tom de Vries <tdevries@suse.de>
3530
3531 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3532 print registers" regexps.
9197cd8b 3533
b528dae0
TV
35342019-07-29 Tom de Vries <tdevries@suse.de>
3535
3536 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3537
d17725d7
TV
35382019-07-29 Tom de Vries <tdevries@suse.de>
3539
3540 PR gdb/24855
3541 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3542 (skip_python_tests_prompt): Add prompt_regexp argument to
3543 gdb_test_multiple calls.
3544
52b75bf1
TT
35452019-07-27 Tom Tromey <tom@tromey.com>
3546
3547 * gdb.tui/main.exp: New file.
3548
2b1d00c2
TT
35492019-07-27 Tom Tromey <tom@tromey.com>
3550
3551 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3552 optional.
3553 * gdb.tui/empty.exp: New file.
3554
ded631d5
TT
35552019-07-27 Tom Tromey <tom@tromey.com>
3556
3557 * lib/tuiterm.exp (spawn): New proc.
3558 (Term::resize): New proc.
3559 * gdb.tui/resize.exp: New file.
3560
58ac439d
TT
35612019-07-27 Tom Tromey <tom@tromey.com>
3562
3563 * gdb.tui/list.exp: New file.
3564
fe1f56ee
TT
35652019-07-27 Tom Tromey <tom@tromey.com>
3566
3567 * gdb.tui/regs.exp: New file.
3568
f790b310
TT
35692019-07-27 Tom Tromey <tom@tromey.com>
3570
3571 * gdb.tui/basic.exp: Add "layout split" test.
3572
d95fc6ee
TT
35732019-07-27 Tom Tromey <tom@tromey.com>
3574
3575 * gdb.tui/basic.exp: Add "layout asm" test.
3576
c3786b3a
TT
35772019-07-27 Tom Tromey <tom@tromey.com>
3578
3579 * lib/tuiterm.exp: New file.
3580 * gdb.tui/basic.exp: New file.
3581
98a617f8
KB
35822019-07-27 Kevin Buettner <kevinb@redhat.com>
3583
3584 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3585 Enable tests associated with this flag. Adjust regex
3586 referencing "foo_low" to now refer to "foo_cold" instead.
3587
5c076da4
KB
35882019-07-27 Kevin Buettner <kevinb@redhat.com>
3589
3590 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3591 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3592 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3593 foo_cold. Revise comments to match.
3594 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3595 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3596 were wrapped into this proc; Call do_test in loop from outermost
3597 level.
3598 (foo_low): Rename all occurrences to "foo_cold".
3599 (backtrace from baz): New test.
3600 (x2/i foo_cold): New test.
3601 (info line *foo_cold): New test.
3602
1512d3b7
TV
36032019-07-26 Tom de Vries <tdevries@suse.de>
3604
3605 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3606
297989a1
TV
36072019-07-25 Tom de Vries <tdevries@suse.de>
3608
3609 PR testsuite/24830
3610 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3611 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3612 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3613 (skip_libstdcxx_probe_tests): ... here.
3614 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3615
b3b965fb
TV
36162019-07-24 Tom de Vries <tdevries@suse.de>
3617
3618 PR testsuite/24807
3619 * gdb.objc/basicclass.m: Include stdio.h.
3620 * gdb.objc/nondebug.m: Same.
3621 * gdb.objc/objcdecode.m: Same.
3622
4625b4d0
TV
36232019-07-24 Tom de Vries <tdevries@suse.de>
3624
3625 PR testsuite/24612
3626 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3627 additional_flags.
3628
024a5840
TV
36292019-07-24 Tom de Vries <tdevries@suse.de>
3630
3631 PR testsuite/24831
3632 * gdb.multi/tids.exp: Update error messages for info threads.
3633
c76ddaa3
TV
36342019-07-24 Tom de Vries <tdevries@suse.de>
3635
3636 * gdb.base/info-types.exp: Allow info types to print info for more than
3637 one file.
3638
9a618ef6
TV
36392019-07-23 Tom de Vries <tdevries@suse.de>
3640
3641 PR testsuite/24842
3642 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3643 gdb_spawn_with_cmdline_opts.
3644
40eadf04
SP
36452019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3646
3647 * gdb.arch/arm-cmse-sgstubs.c: New test.
3648 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3649
5ba29434
TV
36502019-07-23 Tom de Vries <tdevries@suse.de>
3651
3652 PR testsuite/24711
3653 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3654 issuing next command.
3655
a8e9d247
AB
36562019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3657
3658 * gdb.ada/info_auto_lang.exp: Update expected results.
3659 * gdb.base/info-types.c: Add additional types to check.
3660 * gdb.base/info-types.exp: Update expected results.
3661
eb86c5e2
AB
36622019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3663
3664 * gdb.base/info-types.c: New file.
3665 * gdb.base/info-types.exp: New file.
3666
01e175fe
AB
36672019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3668
3669 * gdb.arch/riscv-bp-infcall.c: New file.
3670 * gdb.arch/riscv-bp-infcall.exp: New file.
3671
6b78c3f8
AB
36722019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3673
3674 PR breakpoints/24541
3675 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3676
da738167
TV
36772019-07-14 Tom de Vries <tdevries@suse.de>
3678
3679 PR testsuite/24760
3680 * gdb.objc/basicclass.exp: Fix unterminated string.
3681
0d4e84ed
AB
36822019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3683 Andrew Burgess <andrew.burgess@embecosm.com>
3684
3685 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3686 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3687 negative bounds.
3688 * gdb.fortran/vla-value.exp: Print elements of an array with
3689 negative bounds.
3690 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3691 testing.
3692
021d8588
AB
36932019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3694
3695 * gdb.base/options.exp (expect_string): Dequote strings in
3696 results.
3697 (test-string): Test strings with different quoting and reindent.
3698
f06f1252
TT
36992019-07-10 Tom Tromey <tromey@adacore.com>
3700
3701 * gdb.ada/mi_ex_cond.exp: Update expected results.
3702 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3703 * gdb.ada/mi_catch_ex.exp: Update expected results.
3704 * gdb.ada/mi_catch_assert.exp: Update expected results.
3705 * gdb.ada/catch_ex.exp (catch_exception_info)
3706 (catch_exception_entry, catch_assert_entry)
3707 (catch_unhandled_entry): Update.
3708 * gdb.ada/catch_assert_if.exp: Update expected results.
3709
b863685d
RB
37102019-07-10 Richard Bunt <richard.bunt@arm.com>
3711 Stephen Roberts <stephen.roberts@arm.com>
3712
3713 * gdb.base/define.exp: Restore original prompt.
3714
cb1e4e32
PA
37152019-07-09 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3718 breakpoints" output.
3719 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3720 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3721 throw" creates breakpoint.
3722 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3723 'type="catchpoint"'.
3724
b58a68fe
PA
37252019-07-09 Pedro Alves <palves@redhat.com>
3726
3727 PR c++/15468
3728 * gdb.cp/except-multi-location-lib.cc: New.
3729 * gdb.cp/except-multi-location-main.cc: New.
3730 * gdb.cp/except-multi-location.exp: New.
3731
0826779b
PW
37322019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3733
3734 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3735 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3736 argument and update callers.
3737
5b0e2db4
AB
37382019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3739
3740 * gdb.arch/amd64-break-on-asm-line.S: New file.
3741 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3742
1f6f6e21
PW
37432019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3744
3745 * gdb.base/printcmds.exp: Test printing C string and
3746 C wide string convenience vars without transiting via the inferior.
3747 Also make test names unique.
3748
ea142fbf
AH
37492019-07-08 Alan Hayward <alan.hayward@arm.com>
3750
5862c886 3751 PR breakpoints/25011
ea142fbf
AH
3752 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3753
213fd9fa
PA
37542019-07-04 Pedro Alves <palves@redhat.com>
3755
3756 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3757 body returned ok(0), break(3) or continue(4).
3758 * gdb.testsuite/foreach_with_prefix.exp: New file.
3759
2b40fda7
AH
37602019-07-04 Alan Hayward <alan.hayward@arm.com>
3761
3762 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3763
a26c8de0
PA
37642019-07-03 Pedro Alves <palves@redhat.com>
3765
3766 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3767 "return -code".
3768
5f4ba3e7
PA
37692019-07-03 Pedro Alves <palves@redhat.com>
3770
3771 PR cli/24732
3772 * gdb.base/shell.exp: Load completion-support.exp.
3773 Adjust expected error output. Add completion tests.
3774
a994424f
PA
37752019-07-03 Pedro Alves <palves@redhat.com>
3776
3777 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3778 string_to_regexp.
3779
3d9be6f5
PA
37802019-07-03 Pedro Alves <palves@redhat.com>
3781
3782 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3783 (expect_integer): Adjust to expect "-string".
3784 (expect_string): New.
3785 (all_options): Expect "-string".
3786 (test-flag, test-boolean): Adjust to expect "-string".
3787 (test-string): New proc.
3788 (top level): Call it.
3789
41fc454c
PA
37902019-07-03 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3793 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3794 the expected output in the success.
3795
b2b2a215
PA
37962019-07-03 Pedro Alves <palves@redhat.com>
3797
3798 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3799 Split one gdb_test_multiple call in two to avoid a race.
3800
fdbc9870
PA
38012019-07-03 Pedro Alves <palves@redhat.com>
3802
3803 * gdb.base/with.c: New file.
3804 * gdb.base/with.exp: New file.
3805
c6ac8931
PA
38062019-07-03 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/settings.exp: Replace all references to "maint
3809 test-settings set" with references to "maint set test-settings",
3810 and all references to "maint test-settings show" with references
3811 to "maint show test-settings".
3812
970f9d09
PA
38132019-07-03 Pedro Alves <palves@redhat.com>
3814
3815 * gdb.base/settings.exp (test-string): Adjust expected out when
3816 testing "maint test-settings show filename"
3817
54d66006
PA
38182019-07-02 Pedro Alves <palves@redhat.com>
3819
3820 * gdb.base/options.exp (test-info-threads): New procedure.
3821 (top level): Call it.
3822
10d06d82
TT
38232019-06-28 Tom Tromey <tromey@adacore.com>
3824
3825 * gdb.dwarf2/ada-linkage-name.c: New file.
3826 * gdb.dwarf2/ada-linkage-name.exp: New file.
3827
3d507ff2
TT
38282019-06-27 Tom Tromey <tromey@adacore.com>
3829
d039f014 3830 PR c++/20020:
3d507ff2
TT
3831 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3832
8af58ffe
TV
38332019-06-26 Tom de Vries <tdevries@suse.de>
3834
3835 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3836
22e21752
TV
38372019-06-26 Tom de Vries <tdevries@suse.de>
3838
3839 * gdb.base/index-cache.exp: Add back missing debug option.
3840
b65b566c
PW
38412019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3842
3843 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3844
5c2c8c69
TV
38452019-06-25 Tom de Vries <tdevries@suse.de>
3846
3847 PR testsuite/24727
3848 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3849
164e3873
TV
38502019-06-24 Tom de Vries <tdevries@suse.de>
3851
3852 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3853
824eacee
TV
38542019-06-24 Tom de Vries <tdevries@suse.de>
3855
3856 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3857 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3858 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3859
385b97d3
TV
38602019-06-24 Tom de Vries <tdevries@suse.de>
3861
3862 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3863
c596f180
TV
38642019-06-21 Tom de Vries <tdevries@suse.de>
3865
3866 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3867
b13a7d03
TV
38682019-06-21 Tom de Vries <tdevries@suse.de>
3869
3870 PR testsuite/24518
3871 PR ada/24713
3872 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3873 index.
3874
899277ae
TT
38752019-06-19 Tom Tromey <tromey@adacore.com>
3876
3877 * gdb.ada/length_cond.exp: Add intro comment.
3878
680e1bee
TT
38792019-06-19 Tom Tromey <tromey@adacore.com>
3880
3881 * gdb.ada/length_cond.exp: New file.
3882 * gdb.ada/length_cond/length_cond.adb: New file.
3883 * gdb.ada/length_cond/pck.adb: New file.
3884 * gdb.ada/length_cond/pck.ads: New file.
3885
0ed4690a
TV
38862019-06-18 Tom de Vries <tdevries@suse.de>
3887
3888 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3889
d20ed5fd
TT
38902019-06-18 Tom Tromey <tromey@adacore.com>
3891
3892 * gdb.base/list0.h: Add comment explaining control character.
3893
86e04673
TV
38942019-06-18 Tom de Vries <tdevries@suse.de>
3895
3896 * boards/fission.exp: Break up long debug_flags line.
3897
c4973306
SM
38982019-06-16 Tom de Vries <tdevries@suse.de>
3899
3900 PR gdb/24445
3901 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3902 generated index.
3903
93cb9841
AB
39042019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3905
3906 PR gdb/24686
3907 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3908 improve detection of bug gdb/24541.
3909
399aaebd
SM
39102019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3911
3912 PR gdb/24669
3913 * gdb.base/index-cache.exp (uses_readnow,
3914 expecting_index_cache_use): Define global variable.
3915 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3916 expecting_index_cache_use.
3917
584a927c
AB
39182019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3919 Andrew Burgess <andrew.burgess@embecosm.com>
3920
3921 * gdb.fortran/pointers.f90: New file.
3922 * gdb.fortran/print_type.exp: New file.
3923 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3924 * gdb.fortran/vla-type.exp: Likewise.
3925 * gdb.fortran/vla-value.exp: Likewise.
3926 * gdb.mi/mi-vla-fortran.exp: Likewise.
3927
30056ea0
AB
39282019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3931 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3932 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3933 as a stop reason.
3934
ec8e2b6d
AB
39352019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3936
3937 * gdb.base/annota1.exp: Update expected results.
3938 * gdb.cp/annota2.exp: Likewise.
3939 * gdb.cp/annota3.exp: Likewise.
3940
09e4c4e1
AB
39412019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3942
3943 * gdb.base/style-logging.exp: Remove path from test name.
3944
0735b091
TT
39452019-06-14 Tom Tromey <tromey@adacore.com>
3946
3947 PR gdb/24502:
3948 * gdb.base/style-logging.exp: New file.
3949
f5686554
TT
39502019-06-14 Tom Tromey <tromey@adacore.com>
3951
3952 * gdb.base/symfile-warn.exp: New file.
3953 * gdb.base/symfile-warn.c: New file.
3954
a0c1ffed
TT
39552019-06-14 Tom Tromey <tromey@adacore.com>
3956
3957 * gdb.base/annotate-symlink.exp: New file.
3958
f411722c
TT
39592019-06-14 Tom Tromey <tromey@adacore.com>
3960
3961 * gdb.ada/set_wstr.exp: Add reassignment test.
3962
4268ec18
TT
39632019-06-14 Tom Tromey <tromey@adacore.com>
3964
3965 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3966 'unchecked_access and 'unrestricted_access as well.
3967
9a9e394b
TT
39682019-06-14 Tom Tromey <tromey@adacore.com>
3969
3970 PR ada/24539:
3971 * gdb.ada/vla.exp: Update tests.
3972 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3973 pragma.
3974
4c048731
PA
39752019-06-13 Pedro Alves <palves@redhat.com>
3976
3977 * gdb.base/settings.exp (test-integer): Test junk after
3978 "unlimited".
3979
6665660a
PA
39802019-06-13 Pedro Alves <palves@redhat.com>
3981
3982 * gdb.base/options.exp (test-thread-apply): New.
3983 (top level): Call it.
3984
5d707134
PA
39852019-06-13 Pedro Alves <palves@redhat.com>
3986
3987 * gdb.base/options.exp (test-frame-apply): New.
3988 (top level): Test print commands with different "frame apply"
3989 prefixes.
3990
e2a689da
PA
39912019-06-13 Pedro Alves <palves@redhat.com>
3992
e79be6e5 3993 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3994 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3995 'max_completions' parameter and handle it.
3996 (test_gdb_completion_offers_commands): New.
3997
90a1ef87
PA
39982019-06-13 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4001
d4c16835
PA
40022019-06-13 Pedro Alves <palves@redhat.com>
4003
4004 * gdb.base/options.exp (test-backtrace): New.
4005 (top level): Call it.
4006
2daf894e
PA
40072019-06-13 Pedro Alves <palves@redhat.com>
4008
4009 * gdb.guile/scm-frame-args.exp: Use "set print
4010 raw-frame-arguments" instead of "set print raw frame-arguments".
4011 * gdb.python/py-frame-args.exp: Likewise.
4012
e6ed716c
PA
40132019-06-13 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.compile/compile.exp: Adjust expected output to option
4016 processing changes.
4017
7d8062de
PA
40182019-06-13 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.base/options.exp: Build executable.
4021 (test-print): New procedure.
4022 (top level): Call it, once for "print" and another for "compile
4023 print".
4024
9d0faba9
PA
40252019-06-13 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.base/options.c: New file.
4028 * gdb.base/options.exp: New file.
4029
dee7b4c8
PA
40302019-06-13 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4033 that "o" is ambiguous.
4034
dca0f6c0
PA
40352019-06-13 Pedro Alves <palves@redhat.com>
4036
4037 * gdb.base/settings.c: New file.
4038 * gdb.base/settings.exp: New file.
4039
ccf46844
PA
40402019-06-13 Pedro Alves <palves@redhat.com>
4041
4042 * gdb.base/completion.exp: Fix comment typo.
4043
b9a3f842
PA
40442019-06-13 Pedro Alves <palves@redhat.com>
4045
4046 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4047 foo --1" test.
4048
d106773e
PA
40492019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4050
4051 * gdb.fortran/block-data.f: New.
4052 * gdb.fortran/block-data.exp: New.
4053
fea82da0
TV
40542019-06-11 Tom de Vries <tdevries@suse.de>
4055
4056 PR testsuite/24521
4057 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4058 message.
4059
8c2e74f1
TV
40602019-06-11 Tom de Vries <tdevries@suse.de>
4061
4062 PR testsuite/24521
4063 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4064
b49851c8
TV
40652019-06-11 Tom de Vries <tdevries@suse.de>
4066
4067 * boards/readnow.exp: New file.
4068
a7067863
AB
40692019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4070
4071 * gdb.fortran/vla-sizeof.exp: Update expected results.
4072
1a3da2cd
AB
40732019-06-06 Amos Bird <amosbird@gmail.com>
4074
4075 * gdb.base/annota1.exp (thread_switch): Add test for
4076 thread-exited annotation.
4077
3847a7bf
TT
40782019-06-06 Tom Tromey <tromey@adacore.com>
4079
4080 * gdb.base/maint.exp: Expect command started/finished output.
4081
0088ba59
AB
40822019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4083
4084 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4085 comment.
4086 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4087
312617a3
AB
40882019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4089
4090 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4091 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4092 * gdb.arch/riscv-unwind-long-insn.c: New file.
4093 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4094
e1f2e1a2
CB
40952019-06-04 Christian Biesinger <cbiesinger@google.com>
4096
d3238f7d 4097 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4098
206584bd
PW
40992019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4100
4101 * lib/gdb.exp (help_list_trailer): New regexp variable
4102 factorizing the help trailer message.
4103 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4104 arg to allow to better factorize various tests.
4105 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4106 (test_prefix_command_help): Use help_list_trailer.
4107 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4108 * gdb.guile/scm-cmd.exp: Likewise.
4109 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4110 * gdb.base/help.exp: Use test_user_defined_class_help.
4111 * gdb.base/style.exp: Add tests for styling of help and apropos.
4112 * lib/gdb-utils.exp (style): Add title and highlight styles.
4113
708dc93e
PW
41142019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4115
4116 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4117 $_shell_exitsignal.
4118 * gdb.base/default.exp: Update for new convenience variables.
4119
f49055a5
TT
41202019-05-29 Tom Tromey <tromey@adacore.com>
4121
4122 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4123 to "break complete ada" test case's regexp.
4124
4330d61d
TT
41252019-05-29 Tom Tromey <tromey@adacore.com>
4126
4127 PR c++/20020:
4128 * gdb.cp/constexpr-field.exp: New file.
4129 * gdb.cp/constexpr-field.cc: New file.
4130
000439d5
TT
41312019-05-29 Tom Tromey <tromey@adacore.com>
4132
4133 * gdb.base/finish.exp (finish_no_print): New proc.
4134 (finish_tests): Call it.
4135
5a01c34c
TV
41362019-05-24 Tom de Vries <tdevries@suse.de>
4137
4138 * gdb.dwarf2/gdb-add-index.exp: New file.
4139
18125b16
TT
41402019-05-22 Tom Tromey <tromey@adacore.com>
4141
4142 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4143 * gdb.base/style.exp: Use "style".
4144 * lib/gdb-utils.exp (style): New proc.
4145
af1a8d03
TV
41462019-05-22 Tom de Vries <tdevries@suse.de>
4147
4148 * gdb.base/align.exp: Require c++11.
4149
e7fe496b
TV
41502019-05-22 Tom de Vries <tdevries@suse.de>
4151
4152 PR testsuite/24586
4153 * gdb.python/py-mi-var-info-path-expression.exp: Call
4154 mi_skip_python_tests to check if python is supported.
4155
8fca4da0
AH
41562019-05-22 Alan Hayward <alan.hayward@arm.com>
4157
4158 * gdb.arch/aarch64-pauth.c: New test.
4159 * gdb.arch/aarch64-pauth.exp: New file.
4160
b7060614
AH
41612019-05-22 Alan Hayward <alan.hayward@arm.com>
4162
4163 * README (Re-running Tests Outside The Testsuite): New section.
4164
669d0468
TV
41652019-05-21 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.arch/amd64-eval.exp: Require c++11.
4168 * gdb.base/max-depth.exp: Same.
4169 * gdb.compile/compile-cplus-array-decay.exp: Same.
4170 * gdb.cp/meth-typedefs.exp: Same.
4171 * gdb.cp/subtypes.exp: Same.
4172 * gdb.cp/temargs.exp: Same.
4173
ce3ebcaa
AH
41742019-05-21 Alan Hayward <alan.hayward@arm.com>
4175
4176 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4177
34d11c68
AB
41782019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4179
4180 PR gdb/18644
4181 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4182 * gdb.fortran/printing-types.exp: Add new test.
4183 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4184 testing.
4185 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4186 setup_kfail call.
4187
87781e84
AH
41882019-05-17 Alan Hayward <alan.hayward@arm.com>
4189
4190 * README (Running the Testsuite): Change example.
4191 (Testsuite Parameters): Remove TRANSCRIPT.
4192 * lib/gdb.exp: Remove TRANSCRIPT check.
4193
b420b89e
AH
41942019-05-17 Alan Hayward <alan.hayward@arm.com>
4195
4196 * README (Testsuite Parameters): Add replay logging to
4197 GDBSERVER_DEBUG.
4198 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4199 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4200 as a comma separated list.
4201 (gdb_debug_init): Override procedure.
4202
408e9b8b
AH
42032019-05-17 Alan Hayward <alan.hayward@arm.com>
4204
4205 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4206 (gdb_write_cmd_file): New procedure.
4207 * lib/gdbserver-support.exp (gdbserver_start): Call
4208 gdbserver_write_cmd_file.
4209 (gdbserver_write_cmd_file): New procedure.
4210
f9e2e39d
AH
42112019-05-17 Alan Hayward <alan.hayward@arm.com>
4212
4213 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4214 (delete_breakpoints): Likewise.
4215 (gdb_run_cmd): Likewise.
4216 (gdb_start_cmd): Likewise.
4217 (gdb_starti_cmd): Likewise.
4218 (gdb_internal_error_resync): Likewise.
4219 (gdb_test_multiple): Likewise.
4220 (gdb_reinitialize_dir): Likewise.
4221 (default_gdb_exit): Likewise.
4222 (gdb_file_cmd): Mark kill as optional.
4223 (default_gdb_start): Call gdb_stdin_log_init.
4224 (send_gdb): Call gdb_stdin_log_write.
4225 (rerun_to_main): Mark Y as an answer.
4226 (gdb_stdin_log_init): New function.
4227 (gdb_stdin_log_write): Likewise.
4228
81f47ac2
AH
42292019-05-17 Alan Hayward <alan.hayward@arm.com>
4230
4231 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4232 * gdb.base/debug-expr.exp: Likewise.
4233 * gdb.base/foll-fork.exp: Likewise.
4234 * gdb.base/foll-vfork.exp: Likewise.
4235 * gdb.base/fork-print-inferior-events.exp: Likewise.
4236 * gdb.base/gdb-sigterm.exp: Likewise.
4237 * gdb.base/gdbinit-history.exp: Likewise.
4238 * gdb.base/osabi.exp: Likewise.
4239 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4240 * gdb.base/ui-redirect.exp: Likewise.
4241 * gdb.gdb/unittest.exp: Likewise.
4242 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4243 * gdb.mi/mi-watch.exp: Likewise.
4244 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4245 * gdb.mi/user-selected-context-sync.exp: Likewise.
4246 * gdb.python/python.exp: Disable debug test when debugging.
4247 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4248 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4249 Likewise.
4250 * gdb.threads/stepi-random-signal.exp: Likewise.
4251
29b52314
AH
42522019-05-17 Alan Hayward <alan.hayward@arm.com>
4253
4254 * Makefile.in: Pass through GDB_DEBUG.
4255 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4256 (gdb,debug): Add board setting.
4257 * lib/gdb.exp (default_gdb_start): Start debugging.
4258 (gdb_debug_enabled): New procedure.
4259 (gdb_debug_init): Likewise.
29b52314
AH
4260
42612019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4262
29b52314
AH
4263 * Makefile.in: Pass through GDB_DEBUG.
4264 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4265 (gdb,debug): Add board setting.
4266 * lib/gdb.exp (default_gdb_start): Start debugging.
4267 (gdb_debug_enabled): New procedure.
4268 (gdb_debug_init): Likewise.
29b52314 4269
ca1285d1
AH
42702019-05-17 Alan Hayward <alan.hayward@arm.com>
4271
4272 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4273
f3a09c80
AH
42742019-05-17 Alan Hayward <alan.hayward@arm.com>
4275
4276 * gdb.base/ui-redirect.exp: Test redirection.
4277
26648588
JV
42782019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4279
4280 * gdb.mi/mi-complete.exp: New file.
4281 * gdb.mi/mi-complete.cc: Likewise.
4282
14237686
AB
42832019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4284
4285 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4286 indexed and sliced arrays, and pointers to arrays.
4287
e7bd7fba
TT
42882019-05-14 Tom Tromey <tromey@adacore.com>
4289
4290 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4291 styling test.
4292
2764128d
TV
42932019-05-14 Tom de Vries <tdevries@suse.de>
4294
4295 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4296 selection entry encoding.
4297
71bed2db
TT
42982019-05-10 Tom Tromey <tromey@adacore.com>
4299
4300 * gdb.ada/info_exc.exp: Add "complete" test.
4301
63b667ad
TV
43022019-05-09 Tom de Vries <tdevries@suse.de>
4303
4304 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4305 CU-relative.
4306
9cfd2b89
TV
43072019-05-09 Tom de Vries <tdevries@suse.de>
4308
4309 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4310 CU-relative.
4311
2228ef77
XR
43122019-05-08 Joel Brobecker <brobecker@adacore.com>
4313
4314 * gdb.ada/frame_arg_lang.exp: New testcase.
4315 * gdb.ada/frame_arg_lang/bla.adb: New file.
4316 * gdb.ada/frame_arg_lang/pck.ads: New file.
4317 * gdb.ada/frame_arg_lang/pck.adb: New file.
4318 * gdb.ada/frame_arg_lang/foo.c: New file.
4319
80e55b13
TT
43202019-05-08 Tom Tromey <tromey@adacore.com>
4321
4322 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4323
9d3421af
TT
43242019-05-08 Tom Tromey <tromey@adacore.com>
4325
4326 * gdb.base/ptype-offsets.exp: Update tests.
4327
844333e2
TT
43282019-05-08 Tom Tromey <tromey@adacore.com>
4329
4330 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4331 cases.
4332 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4333 "short".
4334
988915ee
TT
43352019-05-08 Tom Tromey <tromey@adacore.com>
4336
4337 * gdb.ada/vla.exp: New file.
4338 * gdb.ada/vla/vla.adb: New file.
4339
7bd55dac
TV
43402019-05-07 Tom de Vries <tdevries@suse.de>
4341
4342 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4343
75f06e9d
TV
43442019-05-07 Tom de Vries <tdevries@suse.de>
4345
4346 PR testsuite/24522
4347 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4348 section.
4349
77e7aaa4
TV
43502019-05-07 Tom de Vries <tdevries@suse.de>
4351
4352 PR testsuite/24522
4353 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4354 .debug_aranges section.
4355
456ba0fa
TV
43562019-05-07 Tom de Vries <tdevries@suse.de>
4357
4358 PR testsuite/24159
4359 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4360
5a56d6a6
TV
43612019-05-06 Tom de Vries <tdevries@suse.de>
4362
4363 * lib/gdb.exp (exec_has_index_section): New proc.
4364 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4365 section.
4366
9d6d4be8
TV
43672019-05-04 Tom de Vries <tdevries@suse.de>
4368
4369 * boards/cc-with-debug-names.exp: New file.
4370
222a8d25
TT
43712019-05-03 Tom Tromey <tromey@adacore.com>
4372
4373 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4374 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4375 * gdb.ada/char_enum.exp: Add test.
4376
0fdfd794
TV
43772019-05-03 Tom de Vries <tdevries@suse.de>
4378
4379 * boards/cc-with-gdb-index.exp: New file.
4380
80062eb9
AB
43812019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * gdb.rust/simple.exp: Add new test case.
4384 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4385 (main): Initialise an instance of the new struct.
4386
4504bbde
TT
43872019-05-01 Tom Tromey <tromey@adacore.com>
4388
4389 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4390 record.
4391 (NPR): New variable.
4392 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4393 test.
4394
d48e62f4
TT
43952019-05-01 Tom Tromey <tromey@adacore.com>
4396
4397 * gdb.ada/packed_array_assign.exp: Add packed assignment
4398 regression test.
4399
f59f30f5
TV
44002019-05-01 Tom de Vries <tdevries@suse.de>
4401
4402 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4403
b70bfc54
TV
44042019-05-01 Tom de Vries <tdevries@suse.de>
4405
4406 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4407
15f18d14
AT
44082019-04-30 Ali Tamur <tamur@google.com>
4409
4410 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4411
2ff0a947
TT
44122019-04-30 Tom Tromey <tromey@adacore.com>
4413
4414 * lib/ada.exp (find_ada_tool): New proc.
4415 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4416 * gdb.ada/catch_ex_std.exp: New file.
4417 * gdb.ada/catch_ex_std/foo.adb: New file.
4418 * gdb.ada/catch_ex_std/some_package.adb: New file.
4419 * gdb.ada/catch_ex_std/some_package.ads: New file.
4420
a776957c
TT
44212019-04-30 Tom Tromey <tromey@adacore.com>
4422
4423 PR c++/24470:
4424 * gdb.cp/temargs.cc: Add test code from PR.
4425
bc68014d
AB
44262019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4427
4428 * gdb.fortran/vla-datatypes.exp: Update expected results.
4429 * gdb.fortran/vla-ptype.exp: Likewise.
4430 * gdb.fortran/vla-type.exp: Likewise.
4431 * gdb.fortran/vla-value.exp: Likewise.
4432
f1fdc960
AB
44332019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4434
4435 * gdb.fortran/ptr-indentation.exp: Update expected results.
4436 * gdb.fortran/ptype-on-functions.exp: Likewise.
4437 * gdb.fortran/vla-ptr-info.exp: Likewise.
4438 * gdb.fortran/vla-value.exp: Likewise.
4439
bf7a4de1
AB
44402019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4441
4442 * gdb.fortran/ptype-on-functions.exp: New file.
4443 * gdb.fortran/ptype-on-functions.f90: New file.
4444
bbe75b9d
AB
44452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4446
4447 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4448 case void string.
4449
1db455a7
AB
44502019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4451
4452 * gdb.fortran/complex.exp: Expand.
4453 * gdb.fortran/complex.f: Renamed to...
4454 * gdb.fortran/complex.f90: ...this, and extended to add more
4455 complex values.
4456
b6d03bb2
AB
44572019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4458
4459 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4460 MODULO, CMPLX.
4461
2e62ab40
AB
44622019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4463 Richard Bunt <richard.bunt@arm.com>
4464
4465 * gdb.base/max-depth.c: New file.
4466 * gdb.base/max-depth.exp: New file.
4467 * gdb.python/py-nested-maps.c: New file.
4468 * gdb.python/py-nested-maps.exp: New file.
4469 * gdb.python/py-nested-maps.py: New file.
4470 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4471 (test_all_common): Call test_max_depth.
4472 * gdb.fortran/max-depth.exp: New file.
4473 * gdb.fortran/max-depth.f90: New file.
4474 * gdb.go/max-depth.exp: New file.
4475 * gdb.go/max-depth.go: New file.
4476 * gdb.modula2/max-depth.exp: New file.
4477 * gdb.modula2/max-depth.c: New file.
4478 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4479
d2b584a5
TV
44802019-04-29 Tom de Vries <tdevries@suse.de>
4481
4482 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4483
136afab8
PW
44842019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4485
4486 * gdb.base/callexit.exp: Test may-call-functions off.
4487
725cbb63
KS
44882019-04-25 Keith Seitz <keiths@redhat.com>
4489
4490 PR c++/24367
4491 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4492 (another_incomplete_struct, test_incomplete): New definitions.
4493 (main): Use new definitions.
4494 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4495 functions.
4496
701adfb0
PA
44972019-04-25 Ali Tamur <tamur@google.com>
4498
4499 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4500
82433e3e
SDJ
45012019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4502
4503 PR corefiles/11608
4504 PR corefiles/18187
4505 * gdb.base/coredump-filter-build-id.exp: New file.
4506
dd06d4d6
AH
45072019-04-25 Alan Hayward <alan.hayward@arm.com>
4508
e79be6e5
SM
4509 * Makefile.in: Pass through GDBSERVER_DEBUG.
4510 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4511 (gdbserver,debug): Add board setting.
4512 * gdb.trace/tspeed.exp: Skip when debugging.
4513 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4514 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4515
1670072e
TT
45162019-04-24 Tom Tromey <tromey@adacore.com>
4517
4518 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4519 Rust.
4520
a59240a4
TT
45212019-04-24 Tom Tromey <tromey@adacore.com>
4522
4523 * gdb.arch/amd64-eval.exp: Test bitfield return.
4524 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4525 (class Foo) <return_bitfields>: New method.
4526 (main): Call it.
4527
b907456c
AB
45282019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4529
4530 * gdb.cp/many-args.cc: New file.
4531 * gdb.cp/many-args.exp: New file.
4532
5c565afd
TV
45332019-04-23 Tom de Vries <tdevries@suse.de>
4534
4535 PR gdb/24433
4536 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4537
ba22ff86
AH
45382019-04-23 Alan Hayward <alan.hayward@arm.com>
4539
4540 * gdb.trace/backtrace.exp: Use nopie flag.
4541 * gdb.trace/circ.exp: Likewise.
4542 * gdb.trace/collection.exp: Likewise.
4543 * gdb.trace/ftrace.exp: Likewise.
4544 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4545 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4546 * gdb.trace/qtro.exp: Likewise.
4547 * gdb.trace/read-memory.exp: Likewise.
4548 * gdb.trace/report.exp: Likewise.
4549 * gdb.trace/tfile.exp: Likewise.
4550 * gdb.trace/tfind.exp: Likewise.
4551 * gdb.trace/unavailable.exp: Likewise.
4552
7905fc35
PA
45532019-04-22 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/solib-probes-nosharedlibrary.c,
4556 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4557
8ecb59f8
TT
45582019-04-19 Tom Tromey <tromey@adacore.com>
4559
4560 * gdb.ada/ptype_union.c: New file.
4561 * gdb.ada/ptype_union.exp: New file.
4562
62160ec9
TT
45632019-04-19 Tom Tromey <tromey@adacore.com>
4564
4565 PR symtab/24423:
4566 * gdb.base/list0.h (foo): Add a control-l character.
4567
36cd4ba5
TV
45682019-04-18 Tom de Vries <tdevries@suse.de>
4569
4570 PR gdb/24433
4571 * boards/local-board.exp: Set sysroot to "".
4572
b73715df
TV
45732019-04-18 Tom de Vries <tdevries@suse.de>
4574 Pedro Alves <palves@redhat.com>
4575
4576 PR gdb/24454
4577 * gdb.threads/vfork-follow-child-exec.c: New file.
4578 * gdb.threads/vfork-follow-child-exec.exp: New file.
4579 * gdb.threads/vfork-follow-child-exit.c: New file.
4580 * gdb.threads/vfork-follow-child-exit.exp: New file.
4581
4aa866af
LS
45822019-04-15 Leszek Swirski <leszeks@google.com>
4583
4584 * gdb.arch/amd64-eval.cc: New file.
4585 * gdb.arch/amd64-eval.exp: New file.
4586
e5a1a79a
AH
45872019-04-11 Alan Hayward <alan.hayward@arm.com>
4588
4589 * gdb.server/sysroot.c: New test.
4590 * gdb.server/sysroot.exp: New file.
4591 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4592 matching param.
4593
41077b66
AB
45942019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4595
4596 * gdb.base/align.exp: Extend test to cover structures containing
4597 only static fields.
4598
c30391f8
TV
45992019-04-11 Tom de Vries <tdevries@suse.de>
4600
4601 * boards/cc-with-dwz-m.exp: New file.
4602 * boards/cc-with-dwz.exp: New file.
4603 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4604
e242fd12
SM
46052019-04-09 Simon Marchi <simon.marchi@efficios.com>
4606
4607 * gdb.base/start-cpp.exp: New file.
4608 * gdb.base/start-cpp.cc: New file.
4609
2b0c8b01
KB
46102019-04-08 Kevin Buettner <kevinb@redhat.com>
4611
4612 * gdb.python/py-thrhandle.exp: Adjust tests to call
4613 thread_from_handle instead of thread_from_thread_handle.
4614
947210e5
KB
46152019-04-08 Kevin Buettner <kevinb@redhat.com>
4616
4617 * gdb.python/py-thrhandle.exp: Add tests for
4618 gdb.InferiorThread.handle.
4619
d7df6549
AB
46202019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4621
4622 * gdb.python/py-function.exp: Check calling helper function from
4623 all languages.
4624 * lib/gdb.exp (gdb_supported_languages): New proc.
4625
8bdc1658
AB
46262019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4627
4628 * gdb.base/complex-parts.c: New file.
4629 * gdb.base/complex-parts.exp: New file.
4630
05caa1d2
TT
46312019-04-01 Tom Tromey <tromey@adacore.com>
4632
4633 PR symtab/23331:
4634 * gdb.dwarf2/dw2-ranges-main.c: New file.
4635 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4636 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4637
7734102d
EZ
46382019-03-30 Simon Marchi <simark@simark.ca>
4639
4640 * gdb.base/default.exp: Add values for $_gdb_major and
4641 $_gdb_minor.
4642
188e1fa9
TT
46432019-03-29 Tom Tromey <tromey@adacore.com>
4644
4645 * gdb.base/help.exp: Tighten apropos regexp.
4646
2880242d
KS
46472019-03-29 Keith Seitz <keiths@redhat.com>
4648
4649 * gdb.fortran/array-bounds.exp: New file.
4650 * gdb.fortran/array-bounds.f90: New file.
4651
077cad8e
PW
46522019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4653
4654 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4655
80047cfc
PW
46562019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4657
4658 * gdb.multi/hello.c (main): Increase alarm timer.
4659
f489207e
SL
46602019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4661
4662 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4663 factor when no hardware watchpoint support.
4664
c92df149
AH
46652019-03-28 Alan Hayward <alan.hayward@arm.com>
4666 Pedro Alves <palves@redhat.com>
4667
4668 * boards/local-board.exp: set sysroot to /.
4669
933aebfa
AH
46702019-03-27 Alan Hayward <alan.hayward@arm.com>
4671
4672 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4673 in child.
4674
9f9aa852
AB
46752019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4676
4677 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4678 field.
4679 (make_container): Initialise new field.
4680 * gdb.python/py-prettyprint.exp: Add new tests.
4681 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4682 <display_hint>: New method.
4683
3714a195
AB
46842019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4685
4686 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4687 gdb_continue_to_breakpoint more throughout this test.
4688 (run_lang_tests) Supply unique test names, and use
4689 gdb_test_no_output.
4690
18c77628
AB
46912019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4692
4693 * gdb.base/finish-pretty.exp: Update expected results.
4694 * gdb.base/pretty-print.c: New file.
4695 * gdb.base/pretty-print.exp: New file.
4696
9a93502f
PA
46972019-03-25 Pedro Alves <palves@redhat.com>
4698
4699 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4700 move comments outside list. Append '-i "" eof' section.
4701
968aa7ae
AH
47022019-03-22 Alan Hayward <alan.hayward@arm.com>
4703
34a7f2a4 4704 PR testsuite/25016
968aa7ae
AH
4705 * README: Add pie options.
4706 * gdb.base/break-interp.exp: Ensure pie is disabled.
4707 * gdb.base/dump.exp: Likewise.
4708 * lib/gdb.exp (gdb_compile): Add pie option.
4709
4c7d57e7
TT
47102019-03-19 Tom Tromey <tromey@adacore.com>
4711
4712 * gdb.mi/mi2-cli-display.c: New file.
4713 * gdb.mi/mi2-cli-display.exp: New file.
4714
bff8c71f
TT
47152019-03-18 Joel Brobecker <brobecker@adacore.com>
4716 Tom Tromey <tromey@adacore.com>
4717
4718 * gdb.ada/ptype_array/pck.adb: New file.
4719 * gdb.ada/ptype_array/pck.ads: New file.
4720 * gdb.ada/ptype_array/foo.adb: New file.
4721 * gdb.ada/ptype_array.exp: New file.
4722
d085f989
TT
47232019-03-14 Tom Tromey <tromey@adacore.com>
4724
4725 * gdb.base/style.exp: Add "set style sources" test.
4726
b4be1b06
SM
47272019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4728
4729 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4730 * mi-breakpoint-multiple-locations.exp: ... this.
4731 (make_breakpoints_pattern): New proc.
4732 (do_test): Add mi_version parameter, test -break-insert,
4733 -break-info and =breakpoint-created.
4734
7cde5fc2
AB
47352019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4736
4737 * config/default.exp: Remove 'load_lib gdb.exp'.
4738 * config/monitor.exp: Likewise.
4739 * config/sid.exp: Likewise.
4740 * config/sim.exp: Likewise.
4741 * config/slite.exp: Likewise.
4742 * config/unix.exp: Likewise.
4743 * gdb.base/default.exp: Remove unhelpful comment.
4744
efbecbc1
AB
47452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4746
4747 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4748
0841c79a
AB
47492019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4750
4751 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4752
4a270568
AB
47532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4754
4755 * gdb.fortran/type-kinds.exp: Update expected results.
4756
067630bd
AB
47572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4758
4759 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4760
3be47f7a
AB
47612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4762
4763 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4764 function.
4765 (test_basic_parsing_of_type_kinds): Expand types tested.
4766 (test_parsing_invalid_type_kinds): New function.
4767
4d00f5d8
AB
47682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4769
4770 * gdb.fortran/intrinsics.exp: New file.
4771 * gdb.fortran/intrinsics.f90: New file.
4772 * gdb.fortran/type-kinds.exp: New file.
4773
c8f91604
AB
47742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4775
4776 * gdb.fortran/dot-ops.exp: New file.
4777
dd9f2c76
AB
47782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4779
4780 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4781 Check upper and lower case logical literals.
4782
84ec9724
AB
47832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4784
4785 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4786 Remove duplicate tests.
4787
c3734e09
AH
47882019-03-06 Alan Hayward <alan.hayward@arm.com>
4789
4790 * lib/gdb.exp (builtin_cd): rename of cd.
4791 (cd): Override builtin.
4792
aa3cfbda
RB
47932019-03-06 Richard Bunt <richard.bunt@arm.com>
4794
4795 * gdb.fortran/function-calls.exp: New file.
4796 * gdb.fortran/function-calls.f90: New test.
4797
7b63ad86
RB
47982019-03-04 Richard Bunt <richard.bunt@arm.com>
4799
4800 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4801 on user program standard output.
4802 * gdb.fortran/short-circuit-argument-list.f90: Record function
4803 calls.
4804
01abb042
AH
48052019-02-28 Alan Hayward <alan.hayward@arm.com>
4806
c3734e09
AH
4807 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4808 failure.
01abb042 4809
92137da0
RO
48102019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4811
4812 PR gdb/8527
4813 * gdb.base/interrupt-daemon-attach.c,
4814 gdb.base/interrupt-daemon-attach.exp: New test.
4815
5862844d
PA
48162019-02-27 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.base/page.exp: Add tests for "set width/height -1".
4819
8ed25214
PA
48202019-02-27 Pedro Alves <palves@redhat.com>
4821
4822 * gdb.base/page.exp: Add tests for "set/show width/height" with
4823 "infinite" values.
4824
6c28e44a
TT
48252019-02-27 Tom Tromey <tromey@adacore.com>
4826
4827 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4828 2.4.
4829 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4830 workaround.
4831
bf9a735e
AB
48322019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4833
4834 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4835 tests for structs with static members.
4836
8791793c
TT
48372019-02-26 Tom Tromey <tromey@adacore.com>
4838
4839 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4840 ValueError, not TypeError.
4841
bc2a507e
KB
48422019-02-26 Kevin Buettner <kevinb@redhat.com>
4843
4844 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4845 call from main program.
4846
e0e7d3bd
JB
48472019-02-23 Joel Brobecker <brobecker@adacore.com>
4848
4849 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4850 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4851 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4852 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4853 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4854
9600246d
KS
48552019-02-22 Keith Seitz <keiths@redhat.com>
4856
4857 PR symtab/23853
4858 * gdb.base/symlink-sourcefile.c: New file.
4859 * gdb.base/symlink-sourcefile.exp: New file.
4860
0c95f9ed
TT
48612019-02-20 Tom Tromey <tom@tromey.com>
4862
4863 * gdb.base/info_qt.exp: Update.
4864
6caa91b6
SM
48652019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4866
4867 * gdb.base/source.exp: Move "error in sourced script" code to
4868 the end.
4869 * gdb.base/source-error.gdb: Move contents to
4870 source-error-1.gdb. Add new code to source source-error-1.gdb.
4871 * gdb.base/source-error-1.gdb: New file, from previous
4872 source-error.gdb.
4873
6506371f
TT
48742019-02-17 Tom Tromey <tom@tromey.com>
4875
4876 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4877 for macro styling.
4878 * gdb.base/style.c (SOME_MACRO): New macro.
4879
a0087920
TT
48802019-02-17 Tom Tromey <tom@tromey.com>
4881
4882 * gdb.base/style.exp: Add line-wrapping tests.
4883 * gdb.base/page.exp: Add test for quitting during pagination.
4884
a2cd4f14
JB
48852019-02-17 Joel Brobecker <brobecker@adacore.com>
4886
4887 * gdb.ada/big_packed_array: New testcase.
4888 * gdb.ada/homonym.exp: Fix incorrect expected output for
4889 "break <homonym__get_value>" test.
4890
9d70ffbc
WP
48912019-02-13 Weimin Pan <weimin.pan@oracle.com>
4892
4893 PR breakpoints/21870
4894 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4895 and prepare_for_testing. Add comment.
4896 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4897 redundant cleanup call. Clean up comment.
4898
01c7ae81
WP
48992019-02-12 Weimin Pan <weimin.pan@oracle.com>
4900
4901 PR breakpoints/21870
4902 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4903 * gdb.arch/aarch64-dbreg-contents.c: New file.
4904
aff29d1c
JB
49052019-02-10 Joel Brobecker <brobecker@adacore.com>
4906
4907 * gdb.ada/mi_ref_changeable: New testcase.
4908
df0da8a2
AH
49092019-02-07 Alan Hayward <alan.hayward@arm.com>
4910
4911 * gdb.base/attach.exp: Add double attach test.
4912
bd447abb
SM
49132019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4914
4915 * lib/gdb.exp (default_gdb_start): Don't match pagination
4916 prompt.
4917 (gdb_init): Set stty_init.
4918
1dbc40b9
TT
49192019-01-27 Tom Tromey <tom@tromey.com>
4920
4921 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4922 skip_python_tests.
4923
353229bf
AH
49242019-01-24 Alan Hayward <alan.hayward@arm.com>
4925
4926 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4927 New structure.
4928 (struct struct_static_02_02): Likewise.
4929 (struct struct_static_02_03): Likewise.
4930 (struct struct_static_02_04): Likewise.
4931 (struct struct_static_04_01): Likewise.
4932 (struct struct_static_04_02): Likewise.
4933 (struct struct_static_04_03): Likewise.
4934 (struct struct_static_04_04): Likewise.
4935 (struct struct_static_06_01): Likewise.
4936 (struct struct_static_06_02): Likewise.
4937 (struct struct_static_06_03): Likewise.
4938 (struct struct_static_06_04): Likewise.
4939 (cmp_struct_static_02_01): Likewise.
4940 (cmp_struct_static_02_02): Likewise.
4941 (cmp_struct_static_02_03): Likewise.
4942 (cmp_struct_static_02_04): Likewise.
4943 (cmp_struct_static_04_01): Likewise.
4944 (cmp_struct_static_04_02): Likewise.
4945 (cmp_struct_static_04_03): Likewise.
4946 (cmp_struct_static_04_04): Likewise.
4947 (cmp_struct_static_06_01): Likewise.
4948 (cmp_struct_static_06_02): Likewise.
4949 (cmp_struct_static_06_03): Likewise.
4950 (cmp_struct_static_06_04): Likewise.
4951 (call_all): Test new structs.
4952 * gdb.base/infcall-nested-structs.exp: Likewise.
4953
73021deb
AH
49542019-01-21 Alan Hayward <alan.hayward@arm.com>
4955 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4956
fc65c7db
AH
49572019-01-21 Alan Hayward <alan.hayward@arm.com>
4958 * gdb.base/stack-protector.c: New test.
4959 * gdb.base/stack-protector.exp: New file.
4960 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4961 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4962 option.
4963 (gdb_compile): Remove stack protector for GCC and prevent
4964 recursion.
4965
c24bdb02
KS
49662019-01-16 Keith Seitz <keiths@redhat.com>
4967
4968 PR gdb/23773
4969 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4970
6f072a10
PFC
49712019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4972
4973 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4974 aliases.
4975 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4976 tests.
4977 * gdb.arch/powerpc-vector-regs.c: New file.
4978 * gdb.arch/powerpc-vector-regs.exp: New file.
4979
a7b8d682
PFC
49802019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4981
4982 * gdb.arch/altivec-regs.exp: Fix the list passed to
4983 gdb_expect_list when testing "info vector".
4984
6eb6fb67
AB
49852019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4986
4987 * gdb.base/style.exp: Don't include path in testname.
4988
b56f80d8
KS
49892019-01-10 Keith Seitz <keiths@redhat.com>
4990
4991 PR gdb/23712
4992 PR symtab/23010
4993 * gdb.dwarf2/multidictionary.exp: New file.
4994
041be526
SM
49952019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4996
4997 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4998 (test_gnuv3_style_demangling): ... this.
4999 (test_lucid_style_demangling): Remove.
5000 (test_arm_style_demangling): Remove.
5001 (test_hp_style_demangling): Remove.
5002 (do_tests): Remove calls to the above.
5003
d820d0c3
AB
50042019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5005
5006 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5007 case.
5008
f097f5ad
TT
50092019-01-06 Tom Tromey <tom@tromey.com>
5010
5011 PR gdb/28155:
5012 * gdb.dwarf2/typedef-void-finish.exp: New file.
5013
2cd8cc0b
TT
50142018-12-28 Tom Tromey <tom@tromey.com>
5015 Simon Marchi <simark@simark.ca>
5016
5017 * gdb.base/jit-exec.exp: New file.
5018 * gdb.base/jit-exec.c: New file.
5019 * gdb.base/jit-execd.c: New file.
5020
35fb8261
TT
50212018-12-28 Tom Tromey <tom@tromey.com>
5022
5023 * gdb.base/style.exp: Update test to check for address styling.
5024
47fd17cd
TT
50252018-12-28 Tom Tromey <tom@tromey.com>
5026
5027 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5028 message.
5029
d47032b7
TT
50302018-12-28 Tom Tromey <tom@tromey.com>
5031
5032 * gdb.base/style.exp: Add test for version number styling.
5033
af79b68d
TT
50342018-12-28 Tom Tromey <tom@tromey.com>
5035
5036 * gdb.base/style.exp: Add test for print_address_symbolic.
5037
0bb296cb
TT
50382018-12-28 Tom Tromey <tom@tromey.com>
5039
5040 * gdb.base/style.exp: Add test for breakpoint setting.
5041
80ae2043
TT
50422018-12-28 Tom Tromey <tom@tromey.com>
5043
5044 * gdb.base/style.exp: Add test for variable names.
5045
cbe56571
TT
50462018-12-28 Tom Tromey <tom@tromey.com>
5047
5048 * gdb.base/style.exp: New file.
5049 * gdb.base/style.c: New file.
5050
9162a27c
TT
50512018-12-28 Tom Tromey <tom@tromey.com>
5052
5053 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5054 "dumb".
5055 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5056 the TERM environment variable.
5057
bc543c90
TT
50582018-12-27 Tom Tromey <tom@tromey.com>
5059
5060 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5061 pagination test.
5062
6f0ffe50
AB
50632018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5064
5065 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5066 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5067
b5a1e557
PW
50682018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5069
5070 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5071 Filename a.adb changed to bp_fun_addr.adb.
5072 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5073
6e8b1ab2
JV
50742018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5075
5076 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5077 non-PIE executables.
5078 * README: Mention the gdb,nopie_flag board setting.
5079 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5080 non-PIE executable.
5081 * gdb.arch/amd64-entry-value.exp: Likewise.
5082 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5083 * gdb.arch/i386-float.exp: Likewise.
5084 * gdb.arch/i386-signal.exp: Likewise.
5085 * gdb.mi/mi-reg-undefined.exp: Likewise.
5086
d00a27c5
PM
50872018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5088
5089 PR gdb/23974
5090 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5091
161d081c
PW
50922018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5093
5094 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5095 Update order of results accordingly.
5096
b001de23
AB
50972018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5098
5099 * gdb.base/annota1.exp: Update a test regexp.
5100
99e1a184
AB
51012018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5102
5103 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5104
7a81c1e2
PW
51052018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5106
5107 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5108 (reuse_time): Initialize to REUSE_TIME_CAP.
5109 (check_rc): New function.
5110 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5111 Check pthread_create rc.
5112 (spawner_thread_func): Check pthread_create and pthread_join rc.
5113
73e8dc90
PA
51142018-12-08 Pedro Alves <palves@redhat.com>
5115
5116 * gdb.base/list.exp (test_forward_search): Rename to ...
5117 (test_forward_reverse_search): ... this. Also test reverse-search
5118 and the forward-search alias.
5119
13f2ed32
AB
51202018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5121
5122 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5123 local timeout variable before return, and remove all local timeout
5124 variable entirely.
5125 (gdb_load): Likewise.
5126
64d27cfc
TV
51272018-12-01 Tom de Vries <tdevries@suse.de>
5128
5129 * gdb.base/gdb-caching-proc.exp: New file.
5130
f63c03b4
SDJ
51312018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5132
5133 * Makefile.in (TIMESTAMP): New variable.
5134 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5135 command.
5136 (check-single-racy): Likewise.
5137 (check/%.exp): Likewise.
5138 (check-racy/%.exp): Likewise.
5139 (workers/%.worker): Likewise.
5140 (build-perf): Likewise.
5141 (check-perf): Likewise.
5142 * README: Describe new "TS" and "TS_FORMAT" variables.
5143 * print-ts.py: New file.
5144
1c97054b
BF
51452018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5146
5147 PR python/23714
5148 * gdb.python/python.exp: Test command repetition after
5149 gdb.execute.
5150
1871a62d
AB
51512018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5152
5153 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5154 is correctly aligned.
5155
fb5e1ed9
PW
51562018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5157
5158 * gdb.ada/info_auto_lang.exp: New testcase.
5159 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5160 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5161 * gdb.ada/info_auto_lang/some_c.c: New file.
5162
43d397ca
PW
51632018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5164
5165 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5166 FUNC_lang language syntax.
5167
beddd671
PW
51682018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5169
5170 * gdb.base/info_minsym.c: New file.
5171 * gdb.base/info_minsym.exp: New file.
5172
73fc52c4
TT
51732018-11-19 Tom Tromey <tom@tromey.com>
5174
5175 PR rust/23625:
5176 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5177 * gdb.rust/expr.exp: Update expected output. Change one test.
5178
994b876a
TT
51792018-11-19 Tom Tromey <tom@tromey.com>
5180
5181 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5182
6769f276
PA
51832018-11-19 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5186 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5187 see the expected warning.
5188
38a72da0
AH
51892018-11-16 Alan Hayward <alan.hayward@arm.com>
5190
5191 PR gdb/22736:
5192 * gdb.cp/infcall-nodebug-lib.c: New test.
5193 * gdb.cp/infcall-nodebug-main.c: New test.
5194 * gdb.cp/infcall-nodebug.exp: New file.
5195
53a89d6e
SM
51962018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5197
5198 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5199 completer tests.
5200
9325300d
TV
52012018-11-09 Tom de Vries <tdevries@suse.de>
5202
5203 * gdb.base/msym-lang.c: New test.
5204 * gdb.base/msym-lang.exp: New file.
5205 * gdb.base/msym-lang-main.c: New test.
5206
20f0d60d
TT
52072018-11-08 Tom Tromey <tom@tromey.com>
5208
5209 PR gdb/23555:
5210 PR gdb/23838:
5211 * gdb.base/warning.exp: New file.
5212
b5420128
JB
52132018-11-08 Jan Beulich <jbeulich@suse.com>
5214
5215 * testsuite/gdb.arch/i386-avx512.c,
5216 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5217
cd115d61
AB
52182018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5219
5220 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5221 point hardware.
5222
35ee2dc2
AB
52232018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5224
5225 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5226 * gdb.dwarf2/missing-type-name.exp: New file.
5227
31aceee8
TV
52282018-11-06 Tom de Vries <tdevries@suse.de>
5229
5230 * gdb.base/many-headers.c: New test.
5231 * gdb.base/many-headers.exp: New file.
5232
109be305
JW
52332018-11-06 Jim Wilson <jimw@sifive.com>
5234
5235 * gdb.base/code_elim.exp: For riscv, set additional_flags
5236 to include -msmall-data-limit=0.
5237
e2b7af72
JB
52382018-11-01 Joel Brobecker <brobecker@adacore.com>
5239
5240 * gdb.ada/watch_minus_l: New testcase.
5241
cdcda965
SM
52422018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5243
5244 * gdb.arch/aix-sighandle.c: New file.
5245 * gdb.arch/aix-sighandle.exp: New file.
5246
92dcebf3
AB
52472018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5248
5249 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5250 registers being unions.
5251
68b9ac18
TV
52522018-10-31 Tom de Vries <tdevries@suse.de>
5253
5254 * lib/valgrind.exp: New file.
5255 (vgdb_start, vgdb_stop): New procs, factored out of ...
5256 * gdb.base/valgrind-bt.exp: ... here, ...
5257 * gdb.base/valgrind-disp-step.exp: ... here and ...
5258 * gdb.base/valgrind-infcall.exp: ... here.
5259
1443936e
TV
52602018-10-31 Tom de Vries <tdevries@suse.de>
5261
5262 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5263
eb77c9df
AB
52642018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5265
5266 * gdb.dwarf2/void-type.c: New file.
5267 * gdb.dwarf2/void-type.exp: New file.
5268
82b5e646
PW
52692018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5270
5271 * gdb.base/info_qt.c: New file.
5272 * gdb.base/info_qt.exp: New file.
5273
8d619c01
EBM
52742018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5275
5276 * gdb.arch/powerpc-htm-regs.c: New file.
5277 * gdb.arch/powerpc-htm-regs.exp: New file.
5278
f2cf6173
EBM
52792018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5280
5281 * gdb.arch/powerpc-tar.c: New file.
5282 * gdb.arch/powerpc-tar.exp: New file.
5283
7ca18ed6
EBM
52842018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5285
5286 * gdb.arch/powerpc-ppr-dscr.c: New file.
5287 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5288
bfcc0eba
TV
52892018-10-25 Tom de Vries <tdevries@suse.de>
5290
5291 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5292
fe1a5cad
TV
52932018-10-24 Tom de Vries <tdevries@suse.de>
5294
5295 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5296 longer exists error.
5297
a76dc3b7
TV
52982018-10-24 Tom de Vries <tdevries@suse.de>
5299
5300 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5301
4df46df7
TV
53022018-10-24 Tom de Vries <tdevries@suse.de>
5303
5304 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5305 --db-attach in valgrind.
5306
0dbfcfff
AB
53072018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5308
5309 * gdb.arch/riscv-reg-aliases.c: New file.
5310 * gdb.arch/riscv-reg-aliases.exp: New file.
5311
b04480b1
AH
53122018-10-19 Alan Hayward <alan.hayward@arm.com>
5313
5314 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5315
2c6ac8d7
AH
53162018-10-19 Alan Hayward <alan.hayward@arm.com>
5317
5318 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5319
2bc69f25
AH
53202018-10-19 Alan Hayward <alan.hayward@arm.com>
5321
5322 * gdb.cp/ovldbreak.exp: Fix regexps.
5323
1f1ae3a3
AH
53242018-10-19 Alan Hayward <alan.hayward@arm.com>
5325
5326 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5327
94c18618
SDJ
53282018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5329
5330 PR cli/23785
5331 * gdb.base/restore.exp: New test to check if "restore" with an
5332 invalid file doesn't segfault.
5333
812cd6eb
TV
53342018-10-18 Tom de Vries <tdevries@suse.de>
5335
5336 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5337 * gdb.ada/excep_handle.exp: Same.
5338 * gdb.ada/mi_string_access.exp: Same.
5339 * gdb.ada/mi_var_union.exp: Same.
5340 * gdb.arch/arc-analyze-prologue.exp: Same.
5341 * gdb.arch/arc-decode-insn.exp: Same.
5342 * gdb.base/readnever.exp: Same.
5343 * gdb.fortran/printing-types.exp: Same.
5344 * gdb.guile/scm-lazy-string.exp: Same.
5345
c4b90788
TV
53462018-10-16 Tom de Vries <tdevries@suse.de>
5347
5348 PR gdb/23730
5349 * gdb.base/catch-follow-exec.c: Add copyright notice.
5350 * gdb.base/catch-follow-exec.exp: Rewrite to use
5351 gdb_spawn_with_cmdline_opts. Require gdb-native.
5352
8bca2978
SL
53532018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5354
5355 * gdb.trace/actions-changed.exp: Check for arch support.
5356 * gdb.trace/actions.exp: Likewise.
5357 * gdb.trace/ax.exp: Likewise.
5358 * gdb.trace/backtrace.exp: Likewise.
5359 * gdb.trace/change-loc.exp: Likewise.
5360 * gdb.trace/deltrace.exp: Likewise.
5361 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5362 * gdb.trace/ftrace.exp: Likewise.
5363 * gdb.trace/infotrace.exp: Check for arch support.
5364 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5365 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5366 * gdb.trace/mi-tsv-changed.exp: Likewise.
5367 * gdb.trace/packetlen.exp: Likewise.
5368 * gdb.trace/passc-dyn.exp: Likewise.
5369 * gdb.trace/passcount.exp: Likewise.
5370 * gdb.trace/pending.exp: Likewise.
5371 * gdb.trace/range-stepping.exp: Check for shlib support.
5372 * gdb.trace/report.exp: Check for arch support.
5373 * gdb.trace/save-trace.exp: Likewise.
5374 * gdb.trace/signal.exp: Check for signal support.
5375 * gdb.trace/tfind.exp: Check for arch support.
5376 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5377 * gdb.trace/trace-common.h: Add comment.
5378 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5379 * gdb.trace/trace-enable-disable.exp: Likewise.
5380 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5381 * gdb.trace/tracecmd.exp: Check for arch support.
5382 * gdb.trace/tspeed.exp: Check for shlib and target support.
5383 * gdb.trace/tstatus.exp: Check for arch support.
5384 * gdb.trace/tsv.exp: Likewise.
5385 * gdb.trace/while-dyn.exp: Likewise.
5386 * gdb.trace/while-stepping.exp: Likewise.
5387 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5388
f9c49bff
SM
53892018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5390
5391 * gdb.trace/tspeed.exp: Remove nowarnings.
5392 (prepare_for_trace_test): Declare "global ipalib".
5393 * gdb.trace/tspeed.c: Include unistd.h.
5394 (main): Remove superfluous printf argument.
5395
d4330bde
SL
53962018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5397
5398 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5399 directory prefix on the filename.
5400
8ecfd7bd
SDJ
54012018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5402
5403 * gdb.gdb/unittest.exp: Update expected message informing that
5404 selftests have been disabled.
5405 * gdb.server/unittest.exp: Likewise.
5406
58bbcd02
TV
54072018-10-09 Tom de Vries <tdevries@suse.de>
5408
5409 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5410 with runto_main.
5411
9f6b697b
WP
54122018-10-08 Weimin Pan <weimin.pan@oracle.com>
5413
5414 PR c++/16841
5415 * gdb.cp/virtbase2.cc: New file.
5416 * gdb.cp/virtbase2.exp: New file.
5417
add5ded5
TT
54182018-10-06 Tom Tromey <tom@tromey.com>
5419
5420 PR python/19399:
5421 * gdb.python/py-inferior.exp: Add architecture test.
5422
f9e48344
TT
54232018-10-06 Tom Tromey <tom@tromey.com>
5424
5425 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5426 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5427
2a8be203
TT
54282018-10-06 Tom Tromey <tom@tromey.com>
5429
5430 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5431 of a "throw" catchpoint.
5432
e04caa70
SDJ
54332018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5434
5435 * gdb.base/info-proc.exp: Update string expected from "help info
5436 proc".
5437
5ca8c39f
TT
54382018-10-04 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5441 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5442 (test_initial_complaints, test_empty_complaints): Update.
5443 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5444
3453e7e4
TT
54452018-10-04 Tom Tromey <tom@tromey.com>
5446
5447 PR cli/19551:
5448 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5449 * lib/gdb.exp (gdb_file_cmd): Update.
5450 * gdb.stabs/weird.exp (print_weird_var): Update.
5451 * gdb.server/solib-list.exp: Update.
5452 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5453 * gdb.mi/mi-cli.exp: Update.
5454 * gdb.linespec/linespec.exp: Update.
5455 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5456 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5457 * gdb.cp/cp-relocate.exp: Update.
5458 * gdb.base/sym-file.exp: Update.
5459 * gdb.base/relocate.exp: Update.
5460 * gdb.base/readnever.exp: Update.
5461 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5462 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5463 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5464 * gdb.base/code_elim.exp: Update.
5465 * gdb.base/break-unload-file.exp (test_break): Update.
5466 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5467 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5468 Update.
5469 * gdb.base/attach.exp (do_attach_tests): Update.
5470 * gdb.base/sepdebug.exp: Update.
5471 * gdb.python/py-section-script.exp: Update.
5472
6afcf761
TT
54732018-10-04 Tom Tromey <tom@tromey.com>
5474
5475 PR cli/22234:
5476 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5477 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5478 output.
5479
fef1b293
TT
54802018-10-04 Tom Tromey <tom@tromey.com>
5481
5482 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5483 set width and height to 0.
5484 (test_command_line_attach_run): Use -quiet.
5485
ca98345e
SL
54862018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5487
5488 * lib/gdb.exp (skip_ifunc_tests): New.
5489 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5490 other compile failures.
5491 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5492
ff34e6ae
SM
54932018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5494
5495 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5496 is_amd64_regs_target.
5497
6bb8890e
AH
54982018-10-01 Alan Hayward <alan.hayward@arm.com>
5499
5500 * gdb.arch/aarch64-sighandler-regs.c: New test.
5501 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5502 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5503
224d30d3
MM
55042018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5505
5506 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5507 assembly.
5508
f67ffa6a
AB
55092018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5510
5511 * gdb.base/frame-selection.exp: New file.
5512 * gdb.base/frame-selection.c: New file.
5513
9fc3183f
AH
55142018-09-27 Alan Hayward <alan.hayward@arm.com>
5515
5516 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5517 pthread barrier.
5518 (main): Likewise.
5519
d354055e
AB
55202018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5521
5522 * gdb.base/large-frame-1.c: New file.
5523 * gdb.base/large-frame-2.c: New file.
5524 * gdb.base/large-frame.exp: New file.
5525 * gdb.base/large-frame.h: New file.
5526
db727370
JL
55272018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5528
5529 PR gdb/20948
5530 * gdb.base/write_mem.exp: New test.
5531 * gdb.base/write_mem.c: Likewise.
5532
ae778caf
TT
55332018-09-23 Tom Tromey <tom@tromey.com>
5534
5535 PR python/18852:
5536 * gdb.python/py-parameter.exp: Add test for parameter that throws
5537 on "set".
5538
fd3ba736
TT
55392018-09-23 Tom Tromey <tom@tromey.com>
5540
5541 PR python/17284:
5542 * gdb.python/py-template.exp (test_template_arg): Add test for
5543 negative template argument number.
5544
39a24317
TT
55452018-09-23 Tom Tromey <tom@tromey.com>
5546
5547 PR python/14062:
5548 * gdb.python/python.exp: Add test for post_event error.
5549
f5769a2c
TT
55502018-09-23 Tom Tromey <tom@tromey.com>
5551
5552 PR python/18170:
5553 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5554 convert pointers to int and long.
5555
1c1e54f6
TT
55562018-09-23 Tom Tromey <tom@tromey.com>
5557
5558 PR python/20126:
5559 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5560 signed-ness conversion tests.
5561
fb4fa946
TT
55622018-09-23 Tom Tromey <tom@tromey.com>
5563
5564 PR python/18352;
5565 * gdb.python/py-value.exp (test_float_conversion): New proc.
5566 Use it.
5567
a466edac
HAQ
55682018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5569
5570 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5571
4ee9b0c5
SL
55722018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5573
5574 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5575 no readline.
5576 * gdb.base/utf8-identifiers.exp: Likewise.
5577 * gdb.cp/cpcompletion.exp: Likewise.
5578 * gdb.linespec/cpcompletion.exp: Likewise.
5579 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5580 * gdb.linespec/cpls-ops.exp: Likewise.
5581
23be8da7
RB
55822018-09-19 Richard Bunt <richard.bunt@arm.com>
5583 Chris January <chris.january@arm.com>
5584
5585 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5586 * gdb.fortran/short-circuit-argument-list.exp: New file.
5587 * gdb.fortran/short-circuit-argument-list.f90: New test.
5588
5031d0ae
SDJ
55892018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5590
5591 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5592 "arch=" keyword when executing "-stack-list-frames".
5593
b4c0d1a4
SDJ
55942018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5597 "arch=" keyword when executing "-stack-list-frames".
5598
7a6d2b45
SDJ
55992018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5600
5601 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5602 break ada".
5603
8588b356
SM
56042018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5605
5606 PR python/23669
5607 * gdb.python/python.exp: Test gdb.execute("show commands").
5608
65e65158
TT
56092018-09-16 Tom Tromey <tom@tromey.com>
5610
5611 * gdb.base/new-ui.exp (do_execution_tests): Update.
5612 * gdb.base/dbx.exp (test_breakpoints): Update.
5613
bf326452
AH
56142018-09-14 Alan Hayward <alan.hayward@arm.com>
5615
5616 * lib/gdb.exp (gdb_simple_compile): Add proc.
5617 (is_elf_target): Use gdb_simple_compile.
5618 (skip_altivec_tests): Likewise.
5619 (skip_vsx_tests): Likewise.
5620 (skip_tsx_tests): Likewise.
5621 (skip_btrace_tests): Likewise.
5622 (skip_btrace_pt_tests): Likewise.
5623 (gdb_can_simple_compile): Likewise.
5624 (gdb_has_argv0): Likewise.
5625 (gdb_target_symbol_prefix): Likewise.
5626 (target_supports_scheduler_locking): Likewise.
5627
2361b0fb
TT
56282018-09-13 Tom Tromey <tom@tromey.com>
5629
5630 * Makefile.in (TAGS): Recognize proc_with_prefix and
5631 gdb_caching_proc.
5632
0ae1a321
SM
56332018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5634
5635 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5636 method.
5637
a40bf0c2
SM
56382018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5639
5640 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5641 and a few other Inferior properties when the Inferior is no
5642 longer valid.
5643
4a3fe98f
TT
56442018-09-13 Tom Tromey <tom@tromey.com>
5645
5646 PR rust/23650:
5647 * gdb.rust/simple.exp: Add test for enum field access error.
5648
098b2108
TT
56492018-09-13 Tom Tromey <tom@tromey.com>
5650
5651 PR rust/23626:
5652 * gdb.rust/simple.rs (EmptyEnum): New type.
5653 (main): Use it.
5654 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5655
1256af7d
SM
56562018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5657
5658 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5659 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5660 * gdb.python/py-symtab.exp: Update test printing an objfile.
5661
4aa8e6c2
SM
56622018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5663
5664 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5665 object.
5666
c221b2f7
AH
56672018-09-12 Alan Hayward <alan.hayward@arm.com>
5668
5669 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5670 (support_complex_tests): Use gdb_can_simple_compile.
5671 (is_ilp32_target): Likewise.
5672 (is_lp64_target): Likewise.
5673 (is_64_target): Likewise.
5674 (is_amd64_regs_target): Likewise.
5675 (is_aarch32_target): Likewise.
5676 (gdb_int128_helper): Likewise.
5677
6f1107b5
JK
56782018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5681
1f5d1570
JG
56822018-09-10 Jerome Guitton <guitton@adacore.com>
5683
5684 * gdb.ada/same_component_name: Add test for case of tagged record
5685 with variable-length fields.
5686
cc330e39
XR
56872018-09-10 Xavier Roirand <roirand@adacore.com>
5688
5689 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5690 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5691 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5692 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5693
b9c50e9a
XR
56942018-09-10 Xavier Roirand <roirand@adacore.com>
5695
5696 * gdb.ada/mi_string_access.exp: New testcase.
5697 * gdb.ada/mi_string_access/bar.adb: New file.
5698 * gdb.ada/mi_string_access/pck.adb: New file.
5699 * gdb.ada/mi_string_access/pck.asd: New file.
5700
2963898f
XR
57012018-09-10 Xavier Roirand <roirand@adacore.com>
5702
5703 * gdb.ada/mi_var_union.exp: New testcase.
5704 * gdb.ada/mi_var_union/bar.adb: New file.
5705 * gdb.ada/mi_var_union/pck.adb: New file.
5706 * gdb.ada/mi_var_union/pck.asd: New file.
5707
1aac008f
TT
57082018-09-08 Tom Tromey <tom@tromey.com>
5709
5710 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5711
332cf4c9
TT
57122018-09-08 Tom Tromey <tom@tromey.com>
5713
5714 PR python/16047:
5715 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5716 (register_pretty_printers): Register new printer.
5717 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5718 test.
5719 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5720 (an_int_type3): New global.
5721
424da6cf
JB
57222018-09-08 Joel Brobecker <brobecker@adacore.com>
5723
5724 * gdb.ada/expr_with_funcall: New testcase.
5725
2a62dfa9
JB
57262018-09-08 Joel Brobecker <brobecker@adacore.com>
5727
5728 * gdb.ada/packed_array_assign: New testcase.
5729
96b6697f
AB
57302018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5731
5732 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5733 names, and add test prefixes to make test names unique.
5734
e4a62c65
TV
57352018-09-05 Tom de Vries <tdevries@suse.de>
5736
5737 * gdb.dwarf2/varval.exp: Add test.
5738
dd083ee2
GB
57392018-09-04 Gary Benson <gbenson@redhat.com>
5740
5741 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5742 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5743
aef9346c
TT
57442018-08-31 Tom Tromey <tom@tromey.com>
5745
5746 * gdb.rust/simple.rs: Rename second variable "v".
5747
c67f2e15
AB
57482018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5749
5750 * gdb.base/funcargs.c (use_a): New function.
5751 (recurse): Call use_a.
5752
078a0207
KS
57532018-08-29 Keith Seitz <keiths@redhat.com>
5754
5755 * gdb.compile/compile-cplus-anonymous.cc: New file.
5756 * gdb.compile/compile-cplus-anonymous.exp: New file.
5757 * gdb.compile/compile-cplus-array-decay.cc: New file.
5758 * gdb.compile/compile-cplus-array-decay.exp: New file.
5759 * gdb.compile/compile-cplus-inherit.cc: New file.
5760 * gdb.compile/compile-cplus-inherit.exp: New file.
5761 * gdb.compile/compile-cplus-member.cc: New file.
5762 * gdb.compile/compile-cplus-member.exp: New file.
5763 * gdb.compile/compile-cplus-method.cc: New file.
5764 * gdb.compile/compile-cplus-method.exp: New file.
5765 * gdb.compile/compile-cplus-mod.c: "New" file.
5766 * gdb.compile/compile-cplus-namespace.cc: New file.
5767 * gdb.compile/compile-cplus-namespace.exp: New file.
5768 * gdb.compile/compile-cplus-nested.cc: New file.
5769 * gdb.compile/compile-cplus-nested.exp: New file.
5770 * gdb.compile/compile-cplus-print.c: "New" file.
5771 * gdb.compile/compile-cplus-print.exp: "New" file.
5772 * gdb.compile/compile-cplus-virtual.cc: New file.
5773 * gdb.compile/compile-cplus-virtual.exp: New file.
5774 * gdb.compile/compile-cplus.c: "New" file.
5775 * gdb.compile/compile-cplus.exp: "New" file.
5776 * lib/compile-support.exp: New file.
5777
b0f492b9
GB
57782018-08-16 Gary Benson <gbenson@redhat.com>
5779
5780 PR gdb/13000:
5781 * gdb.base/batch-exit-status.exp: New file.
5782 * gdb.base/batch-exit-status.good-commands: Likewise.
5783 * gdb.base/batch-exit-status.bad-commands: Likewise.
5784
36eb4c5f
AH
57852018-08-29 Alan Hayward <alan.hayward@arm.com>
5786
5787 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5788 (struct struct02): Likewise.
5789 (struct struct03): Likewise.
5790 (struct struct04): Likewise.
5791 (struct struct_01_01): New struct.
5792 (struct struct_01_02): Likewise.
5793 (struct struct_01_03): Likewise.
5794 (struct struct_01_04): Likewise.
5795 (struct struct_02_01): Likewise.
5796 (struct struct_02_02): Likewise.
5797 (struct struct_02_03): Likewise.
5798 (struct struct_02_04): Likewise.
5799 (struct struct_04_01): Likewise.
5800 (struct struct_04_02): Likewise.
5801 (struct struct_04_03): Likewise.
5802 (struct struct_04_04): Likewise.
5803 (struct struct_05_01): Likewise.
5804 (struct struct_05_02): Likewise.
5805 (struct struct_05_03): Likewise.
5806 (struct struct_05_04): Likewise.
5807 (cmp_struct01): Remove function.
5808 (cmp_struct02): Likewise.
5809 (cmp_struct03): Likewise.
5810 (cmp_struct04): Likewise.
5811 (cmp_struct_01_01): Add Function.
5812 (cmp_struct_01_02): Likewise.
5813 (cmp_struct_01_03): Likewise.
5814 (cmp_struct_01_04): Likewise.
5815 (cmp_struct_02_01): Likewise.
5816 (cmp_struct_02_02): Likewise.
5817 (cmp_struct_02_03): Likewise.
5818 (cmp_struct_02_04): Likewise.
5819 (cmp_struct_04_01): Likewise.
5820 (cmp_struct_04_02): Likewise.
5821 (cmp_struct_04_03): Likewise.
5822 (cmp_struct_04_04): Likewise.
5823 (cmp_struct_05_01): Likewise.
5824 (cmp_struct_05_02): Likewise.
5825 (cmp_struct_05_03): Likewise.
5826 (cmp_struct_05_04): Likewise.
5827 (call_all): Add new structs.
5828 * gdb.base/infcall-nested-structs.exp: Likewise.
5829
3bf9c013
JV
58302018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5831
5832 * gdb.python/py-framefilter-mi.exp: Update regexp to
5833 check for "arch" field in frame output.
5834
450d1e88
KB
58352018-08-23 Kevin Buettner <kevinb@redhat.com>
5836
5837 * gdb.dwarf2/dw2-ranges-func.c: New file.
5838 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5839
ae739fe7
SM
58402018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5841
5842 * gdb.base/term.exp: Compare terminal settings with values from
5843 the inferior.
5844 * gdb.base/term.c: Get and set terminal settings.
5845
6d52907e
JV
58462018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5847
5848 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5849 accommodate new "arch" field in frame output.
5850 * gdb.mi/mi-return.exp: Likewise.
5851 * gdb.mi/mi-stack.exp: Likewise.
5852 * gdb.mi/mi-syn-frame.exp: Likewise.
5853 * gdb.mi/user-selected-context-sync.exp: Likewise.
5854
be2d111a
MS
58552018-08-19 Michael Spang <spang@google.com>
5856
5857 PR gdb/11786
5858 * gdb.base/gcore-tls-pie.c: New file.
5859 * gdb.base/gcore-tls-pie.exp: New file.
5860
ae3a7c47
KB
58612018-08-18 Kevin Buettner <kevinb@redhat.com>
5862
5863 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5864 * gdb.dwarf2/varval.c: New file.
5865 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5866
2ecae92e
AH
58672018-08-17 Alan Hayward <alan.hayward@arm.com>
5868
5869 PR gdb/18931
5870 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5871
c1854f1d
KS
58722018-08-16 Keith Seitz <keiths@redhat.com>
5873
5874 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5875 tests expected to pass.
5876
26fb3983
JV
58772018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5878
5879 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5880 -data-disassemble -a.
5881 (test_disassembly_bogus_args): Likewise.
5882
67943c00
AB
58832018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5884
5885 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5886
5ff2bbae
AB
58872018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5888
5889 * gdb.base/vla-optimized-out.exp: Add new test.
5890
e5bbcd0f
AB
58912018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5892
5893 * gdb.base/vla-optimized-out-o3.exp: Delete.
5894 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5895 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5896 deleted tests.
5897
9d4a934c
AB
58982018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5899
5900 PR gdb/18050:
5901 * gdb.server/extended-remote-restart.c: New file.
5902 * gdb.server/extended-remote-restart.exp: New file.
5903
045cf012
SM
59042018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5905
5906 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5907 "set variable index = 42".
5908
87d6a7aa
SM
59092018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5910
5911 * boards/index-cache-gdb.exp: New file.
5912 * gdb.dwarf2/index-cache.exp: New file.
5913 * gdb.dwarf2/index-cache.c: New file.
5914 * gdb.base/maint.exp: Check if we are using the index cache.
5915
96d68bd4
RO
59162018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5917
5918 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5919 MAKEFLAGS.
5920
5a699617
RO
59212018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5922
5923 * dg-extract-results.sh: Move to toplevel contrib.
5924 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5925 * Makefile.in (check-parallel-racy): Likewise.
5926
5bd18990
AB
59272018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5928
5929 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5930 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5931 tests if the target supports scheduler locking.
5932
3fbbcf47
TV
59332018-08-04 Tom de Vries <tdevries@suse.de>
5934
5935 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5936
3e1d3d8c
TT
59372018-08-02 Tom Tromey <tom@tromey.com>
5938
5939 PR symtab/16842.
5940 * gdb.cp/temargs.exp: Test "info address" of a template
5941 parameter.
5942
5abe0f0c
JV
59432018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5944
5945 * gdb.python/py-mi-var-info-path-expression.c: New file.
5946 * gdb.python/py-mi-var-info-path-expression.py: New file.
5947 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5948
fb66cde8
SDJ
59492018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5950
5951 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5952 error after "cannot resolve name" string.
5953
c708f4d2
AB
59542018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5955
5956 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5957 started.
5958 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5959
37cc0cae
TV
59602018-07-28 Tom de Vries <tdevries@suse.de>
5961
5962 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5963
63b4ecf7
TV
59642018-07-26 Tom de Vries <tdevries@suse.de>
5965
5966 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5967
3c3bb058
AB
59682018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5969
5970 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5971 is visible.
5972
9e7f3bbb
TV
59732018-07-26 Tom de Vries <tdevries@suse.de>
5974
5975 PR breakpoints/23366
5976 * gdb.base/catch-follow-exec.c: New test.
5977 * gdb.base/catch-follow-exec.exp: New file.
5978
16f808ec
TV
59792018-07-25 Tom de Vries <tdevries@suse.de>
5980
5981 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5982 vla-optimized-out.c.
5983
d7154a8d
JV
59842018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5985
5986 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5987 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5988
232a0032
TV
59892018-07-20 Tom de Vries <tdevries@suse.de>
5990
5991 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5992 NOCLONE macro.
5993 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5994
fbb1d502
TV
59952018-07-19 Tom de Vries <tdevries@suse.de>
5996
5997 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5998 regular expression.
5999
42dc7699
TV
60002018-07-18 Tom de Vries <tdevries@suse.de>
6001
6002 * gdb.base/vla-optimized-out.c: New test.
6003 * gdb.base/vla-optimized-out.exp: New file.
6004
7f1f7e23
SDJ
60052018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6006
6007 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6008 message "No address associated with hostname" when gdbserver
6009 cannot resolve the hostname.
6010
5759ebb3
PW
60112018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6012
6013 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6014 Add some test prefixes to make tests unique.
6015
3606ccab
PW
60162018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6017
6018 * gdb.base/frameapply.c: New file.
6019 * gdb.base/frameapply.exp: New file.
6020
529c08b2
PW
60212018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6022
6023 * gdb.base/skip.exp: Update expected error message.
6024
c7ab0aef
SDJ
60252018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6026 Jan Kratochvil <jan.kratochvil@redhat.com>
6027 Paul Fertser <fercerpav@gmail.com>
6028 Tsutomu Seki <sekiriki@gmail.com>
6029
6030 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6031 parameter.
6032 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6033 by default.
6034 * boards/native-gdbserver.exp: Likewise.
6035 * gdb.server/run-without-local-binary.exp: Improve regexp used
6036 for detecting when a remote debugging connection succeeds.
6037 * gdb.server/server-connect.exp: New file.
6038 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6039 Do not prefix the port number with ":".
6040 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6041 support for detecting and using it. Add '$debughost_gdbserver'
6042 to the list of arguments used to start gdbserver. Handle case
6043 when gdbserver cannot resolve a network name.
6044
16ff70dd
SDJ
60452018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6046
6047 PR c++/23373
6048 * gdb.base/ptype-offsets.cc (struct static_member): New
6049 struct.
6050 (main) <stmember>: New variable.
6051 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6052 with a static member in it.
6053
3541979f
AB
60542018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6055
6056 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6057 watchpoints enabled and disabled.
6058
c8ad9b9a
AB
60592018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6060
6061 * gdb.base/examine-backward.exp: Still run tests around address
6062 0x0, even if address 0x0 is not readable. Update the pattern for
6063 matching address 0x0 in expected output.
6064
e0e5e971
AB
60652018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6066
6067 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6068 malloc/free.
6069
1ea5da02
TV
60702018-07-04 Tom de Vries <tdevries@suse.de>
6071
6072 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6073
471b9d15
MR
60742018-07-02 Maciej W. Rozycki <macro@mips.com>
6075
6076 PR tdep/8282
6077 * gdb.arch/mips-disassembler-options.exp: New test.
6078 * gdb.arch/mips-disassembler-options.s: New test source.
6079
75acb486
PA
60802018-06-29 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.threads/names.exp: Adjust expected "info threads" output.
6083
cd2bb709
PA
60842018-06-29 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.opt/inline-break.exp (line number, address): Add "info
6087 break" tests.
6088
991ff292
PA
60892018-06-29 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6092 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6093 number and address and running to them.
6094
356819b6 60952018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6096
6097 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6098
2512d7ef
JK
60992018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6100
6101 * lib/compiler.c: Remove executable permission flag.
6102
be1b6474
RB
61032018-06-28 Richard Bunt <richard.bunt@arm.com>
6104
6105 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6106 code.
6107 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6108
291f9a96
PT
61092018-06-28 Petr Tesarik <ptesarik@suse.cz>
6110
6111 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6112
ed6dfe51
PT
61132018-06-28 Petr Tesarik <ptesarik@suse.cz>
6114
6115 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6116 address argument is omitted.
6117
d4d429d5
PT
61182018-06-28 Petr Tesarik <ptesarik@suse.cz>
6119
6120 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6121
7ab6656f
OJ
61222018-06-27 Omair Javaid <omair.javaid@linaro.org>
6123
6124 PR gdb/21695
6125 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6126 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6127
a33ccfc7
TT
61282018-06-26 Tom Tromey <tom@tromey.com>
6129
6130 PR rust/22574:
6131 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6132 * gdb.rust/simple.rs (struct SimpleLayout): New.
6133
6d72d289
SM
61342018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6135
6136 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6137 "info registers" output.
6138
8363f9d5
RB
61392018-06-21 Richard Bunt <richard.bunt@arm.com>
6140
6141 * gdb.base/watchpoint-hw-attach.c: New test.
6142 * gdb.base/watchpoint-hw-attach.exp: New file.
6143
f00674fe
SM
61442018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6145
6146 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6147 through /bin/sh.
6148 * boards/dwarf4-gdb-index.exp: Likewise.
6149 * boards/fission-dwp.exp: Likewise.
6150
1d554008
UW
61512018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6152
6153 * gdb.base/float128.exp: Add comment and improved fail message
6154 to the failure case of "print large128" test.
6155
d0ac1c44
SM
61562018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6157
6158 * configure.ac: Remove AC_PREREQ.
6159 * configure: Re-generate.
6160
61b04dd0
PA
61612018-06-19 Pedro Alves <palves@redhat.com>
6162
6163 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6164 (func_extern_caller): New.
6165 (main): Call func_extern_caller.
6166 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6167 logic change.
6168
f63b508a
SM
61692018-06-18 Weimin Pan <weimin.pan@oracle.com>
6170
6171 PR gdb/16841
6172 * gdb.cp/typedef-base.cc: New file.
6173 * gdb.cp/typedef-base.exp: New file.
6174
0fe3a558
TV
61752018-06-18 Tom de Vries <tdevries@suse.de>
6176
6177 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6178
7010835a
AB
61792018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6180 Richard Bunt <Richard.Bunt@arm.com>
6181
6182 * gdb.threads/attach-slow-waitpid.c: New file.
6183 * gdb.threads/attach-slow-waitpid.exp: New file.
6184 * gdb.threads/slow-waitpid.c: New file.
6185
14897d65
PA
61862018-06-14 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.base/fork-running-state.c: Include <errno.h>.
6189 (exit_if_relative_exits): New.
6190 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6191 exits.
6192 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6193 child exits.
6194
5d9a0608
TV
61952018-06-14 Tom de Vries <tdevries@suse.de>
6196
6197 PR cli/22573
6198 * gdb.base/finish-pretty.c: New test.
6199 * gdb.base/finish-pretty.exp: New file.
6200
11ae5818
PA
62012018-06-14 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6204 gdb's expected startup output.
6205
1d39de44
PA
62062018-06-14 Pedro Alves <palves@redhat.com>
6207
6208 * lib/selftest-support.exp (selftest_setup): Remove inlined
6209 function handling.
6210
70ee0000
TV
62112018-06-14 Tom de Vries <tdevries@suse.de>
6212
6213 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6214 matching of breakpoint printing.
6215
11f4b608
TV
62162018-06-13 Tom de Vries <tdevries@suse.de>
6217
6218 PR testsuite/23269
6219 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6220 (fork_child): ... here, and ...
6221 (fork_parent): ... here.
6222
62232018-06-12 Tom de Vries <tdevries@suse.de>
6224
6225 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6226
9516f85a
AB
62272018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6228 Stephen Roberts <stephen.roberts@arm.com>
6229
6230 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6231 rewrite test to describe action performed, rather than possible
6232 failure.
6233
5045b3d7
GB
62342018-06-08 Gary Benson <gbenson@redhat.com>
6235
6236 * gdb.threads/check-libthread-db.exp: New file.
6237 * gdb.threads/check-libthread-db.c: Likewise.
6238
c61b06a1
TT
62392018-06-05 Tom Tromey <tom@tromey.com>
6240
6241 * gdb.base/default.exp: Update expected "show version" output.
6242
eb6af809
TT
62432018-06-05 Tom Tromey <tom@tromey.com>
6244
6245 PR cli/12326:
6246 * gdb.cp/static-print-quit.exp: Update.
6247 * lib/gdb.exp (pagination_prompt): Update.
6248 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6249 * gdb.python/python.exp: Update.
6250
178d6a63
JB
62512018-06-04 Joel Brobecker <brobecker@adacore.com>
6252
6253 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6254
8e817061
JB
62552018-06-01 Joel Brobecker <brobecker@adacore.com>
6256
6257 * gdb.ada/bp_fun_addr: New testcase.
6258
e86ca25f
TT
62592018-06-01 Tom Tromey <tom@tromey.com>
6260
6261 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6262 results.
6263 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6264 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6265 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6266 * gdb.base/maint.exp (maint_pass_if): Update.
6267
4b2dfa9d
MR
62682018-05-31 Maciej W. Rozycki <macro@mips.com>
6269
6270 * gdb.base/endian.exp: New test.
6271 * gdb.base/endian.c: New test source.
6272
45f25d6c
AB
62732018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6274
6275 PR gdb/23203
6276 * gdb.base/bt-selected-frame.c: New file.
6277 * gdb.base/bt-selected-frame.exp: New file.
6278 * lib/gdb.exp (get_current_frame_number): New function.
6279
d9f6d7f8
MR
62802018-05-24 Maciej W. Rozycki <macro@mips.com>
6281 Pedro Alves <palves@redhat.com>
6282
6283 * gdb.threads/tls-core.c: Include <stdlib.h>
6284 (thread_proc): Call `abort'.
6285 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6286 (tls_core_test): New procedure, bits factored out from ...
6287 (top level): ... here. Test both native cores and gcore cores.
6288
ff1cf532
TT
62892018-05-23 Tom Tromey <tom@tromey.com>
6290
6291 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6292
b98664d3
TT
62932018-05-23 Tom Tromey <tom@tromey.com>
6294
6295 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6296 symfile_complaints.
6297 (test_short_complaints): Likewise.
6298 (test_empty_complaints): Likewise.
6299 (test_initial_complaints): Update.
6300
4e9668d0
TT
63012018-05-23 Tom Tromey <tom@tromey.com>
6302
6303 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6304
43ba33c7
TT
63052018-05-23 Tom Tromey <tom@tromey.com>
6306
6307 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6308 (test_short_complaints): Update.
6309
035522c0
PA
63102018-05-22 Pedro Alves <palves@redhat.com>
6311
6312 * gdb.base/remote.exp: Only gdb_start after compiling the
6313 testcase. Issue "disconnect" before testing "set remote" command
6314 defaults. Issue clean_restart before running to main.
6315
cc0be08f
PA
63162018-05-22 Pedro Alves <palves@redhat.com>
6317
6318 * gdb.base/remote.exp: Adjust expected output of "show remote
6319 memory-write-packet-size". Add tests for "set remote
6320 memory-write-packet-size 0" and "set remote
6321 memory-write-packet-size fixed/limit".
6322
b1b60145
PA
63232018-05-22 Pedro Alves <palves@redhat.com>
6324
6325 PR gdb/22973
6326 * gdb.base/utf8-identifiers.c: New file.
6327 * gdb.base/utf8-identifiers.exp: New file.
6328
0ec848ad
PFC
63292018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6330
6331 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6332
2c3305f6
PFC
63332018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6334
6335 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6336
ce1e8424
TT
63372018-05-18 Tom Tromey <tom@tromey.com>
6338
6339 * gdb.base/ptype-offsets.exp: Update.
6340
ddfe970e
KS
63412018-05-17 Keith Seitz <keiths@redhat.com>
6342
6343 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6344 in expected breakpoint stop locations.
6345 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6346 move to proper scope to test variable values.
6347 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6348 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6349 New functions.
6350 (main): Call not_inline_func3.
6351 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6352 inline_func1, inline_func2, and inline_func3. Test that when each
6353 breakpoint is hit, GDB properly reports both the stop location
6354 and the backtrace. Repeat tests for temporary breakpoints.
6355
0726fcc6
MR
63562018-05-15 Maciej W. Rozycki <macro@mips.com>
6357
6358 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6359 rather then trying to access it in determining whether the PID
6360 of `gdbserver' could have been retrieved.
6361
8ee22052
AB
63622018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6363
6364 * gdb.arch/amd64-init-x87-values.S: New file.
6365 * gdb.arch/amd64-init-x87-values.exp: New file.
6366
7785df48
JK
63672018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6368
6369 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6370
56bcdbea
TT
63712018-05-04 Tom Tromey <tom@tromey.com>
6372
6373 PR python/22730:
6374 * gdb.python/python.exp: Test multi-line execute.
6375
a913fffb
TT
63762018-05-04 Tom Tromey <tom@tromey.com>
6377
6378 PR python/22731:
6379 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6380
7a2c85f2
TT
63812018-05-04 Tom Tromey <tom@tromey.com>
6382
6383 PR gdb/11750:
6384 * gdb.base/define.exp: Test defining a user command inside a user
6385 command.
6386 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6387
a3b60e45
JK
63882018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6389 Pedro Alves <palves@redhat.com>
6390
6391 PR breakpoints/19806 and support for PR external/20207.
6392 * gdb.base/watchpoint-unaligned.c: New file.
6393 * gdb.base/watchpoint-unaligned.exp: New file.
6394
45fe4a03
AB
63952018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6396
6397 * gdb.base/maint.exp: Make test names unique, use
6398 test_prefix_command_help to test 'help maint info', and remove
6399 repeated test of 'help maint'.
6400
9be2ae8f
TT
64012018-05-04 Tom Tromey <tom@tromey.com>
6402
6403 PR gdb/22619:
6404 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6405 behavior.
6406
11859c31
AB
64072018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6408
6409 * gdb.base/maint.exp: Process output from 'maint print registers'
6410 line at a time.
6411
089a9490
AB
64122018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6413
6414 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6415 timeout.
6416
9b0797e2
AB
64172018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6418
6419 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6420 filter pattern.
6421
f6ac5f3d
PA
64222018-05-02 Pedro Alves <palves@redhat.com>
6423
6424 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6425 to_log_command renames.
6426 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6427
77d3c63b
TT
64282018-05-02 Tom Tromey <tom@tromey.com>
6429
6430 * gdb.python/py-parameter.exp: Set test message.
6431
0489430a
TT
64322018-05-02 Tom Tromey <tom@tromey.com>
6433
6434 PR python/20084:
6435 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6436 PARAM_ZUINTEGER_UNLIMITED tests.
6437
1632f8ba
DR
64382018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6439
6440 PR rust/23124
6441 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6442 when casting.
6443
6d7bb824
TT
64442018-04-30 Tom Tromey <tom@tromey.com>
6445
6446 * gdb.python/py-type.exp: Check align attribute.
6447 * gdb.python/py-type.c: New "aligncheck" global.
6448
007e1530
TT
64492018-04-30 Tom Tromey <tom@tromey.com>
6450
6451 PR exp/17095:
6452 * gdb.dwarf2/dw2-align.exp: New file.
6453 * gdb.cp/align.exp: New file.
6454 * gdb.base/align.exp: New file.
6455 * lib/gdb.exp (gdb_int128_helper): New proc.
6456 (has_int128_c, has_int128_cxx): New caching procs.
6457
6873858b
TT
64582018-04-27 Tom Tromey <tom@tromey.com>
6459
6460 PR rust/22545:
6461 * gdb.rust/simple.exp: Add inclusive range tests.
6462
79188d8d
PA
64632018-04-26 Pedro Alves <palves@redhat.com>
6464
6465 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6466 ifunc breakpoint locations correctly of ifunc breakpoints set
6467 while the program resolves the ifunc.
6468
c7075ad5
PA
64692018-04-26 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/gnu-ifunc-final.c: New file.
6472 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6473 * gdb.base/gnu-ifunc.exp (executable): Delete.
6474 (staticexecutable): Adjust.
6475 (lib_opts, exec_opts): Delete.
6476 (make_binsuffix, build, set-break): New procedures.
6477 (misc_tests): New, with tests factored out from the top level.
6478 (top level): Test different combinations of ifunc resolver name,
6479 resolver with and with debug info, and ifunc target with and
6480 without debug info. Wrap static tests with with_target_prefix.
6481
8388016d
PA
64822018-04-26 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6485 return type" warnings.
6486
249b5733
PA
64872018-04-25 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6490 killed".
6491 * gdb.base/kill-after-signal.exp: Likewise.
6492 * gdb.threads/kill.exp: Likewise.
6493
f67c0c91
SDJ
64942018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6495 Sergio Durigan Junior <sergiodj@redhat.com>
6496 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6499 regexps to expect for '[Inferior ... detached]' as well.
6500 * gdb.base/attach.exp: Likewise.
6501 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6502 "gdb_continue_to_end".
6503 (test_catch_syscall_with_wrong_args): Likewise.
6504 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6505 ']'. Don't set 'verbose' on.
6506 * gdb.base/foll-vfork.exp: Likewise.
6507 * gdb.base/fork-print-inferior-events.c: New file.
6508 * gdb.base/fork-print-inferior-events.exp: New file.
6509 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6510 '[Inferior ... has been killed]' message.
6511 * gdb.base/kill-after-signal.exp: Likewise.
6512 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6513 detach message.
6514 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6515 message.
6516 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6517 regexps to expect for '[Inferior ... detached]' as well.
6518 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6519
0a8ddac4
SM
65202018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6521
6522 PR gdb/23104
6523 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6524
701adfb0
PA
65252018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6526
6527 PR gdb/23095
6528 * gdb.base/break-probes.exp: Pass shlib_load to
6529 prepare_for_testing. Set normal_bp to r_debug_state if target is
6530 bsd.
6531
d27d16bf
RB
65322018-04-19 Richard Bunt <richard.bunt@arm.com>
6533
6534 * gdb.threads/multiple-successive-infcall.c: New test.
6535 * gdb.threads/multiple-successive-infcall.exp: New file.
6536
a037790e
TT
65372018-04-17 Tom Tromey <tom@tromey.com>
6538
6539 * gdb.rust/simple.rs (Union): New type.
6540 (main): New local "u".
6541 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6542
e3a91079
AA
65432018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6544
6545 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6546 number information in output of "whereis" command.
6547 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6548
b744723f
AA
65492018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6550
6551 * gdb.ada/info_types.exp: Adjust expected output to the line
6552 numbers now printed by "info var/func/type".
6553 * gdb.base/completion.exp: Likewise.
6554 * gdb.base/included.exp: Likewise.
6555 * gdb.cp/cp-relocate.exp: Likewise.
6556 * gdb.cp/cplusfuncs.exp: Likewise.
6557 * gdb.cp/namespace.exp: Likewise.
6558 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6559
4a4495d6
MM
65602018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6561
6562 * gdb.btrace/cpu.exp: New.
6563
1d509aa6
MM
65642018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6565
6566 * gdb.base/step-indirect-call-thunk.exp: New.
6567 * gdb.base/step-indirect-call-thunk.c: New.
6568 * gdb.reverse/step-indirect-call-thunk.exp: New.
6569 * gdb.reverse/step-indirect-call-thunk.c: New.
6570
6295b6da
SM
65712018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6572
6573 * gdb.base/pie-fork.c: New file.
6574 * gdb.base/pie-fork.exp: New file.
6575
50146e70
TT
65762018-04-11 Tom Tromey <tom@tromey.com>
6577
6578 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6579
f50d8a2e
PA
65802018-04-10 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6583 exits. Instead loop running forever.
6584 (fork_parent): Run forever too.
6585
a0be7a36
SM
65862018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6587
6588 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6589 mi_continue_to_line.
6590 * gdb.mi/mi-stack.c (callee4): Add comment.
6591
9b73db36
SM
65922018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6593
6594 * gdb.mi/mi-stack.exp: Fix indentation.
6595
c912f608
SM
65962018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6597
6598 PR gdb/22979
6599 * gdb.arch/amd64-osabi.exp: New file.
6600
26540402
SM
66012018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6602
6603 PR gdb/22980
6604 * gdb.base/osabi.exp: New file.
6605
121ad66c 66062018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6607
6608 * gdb.cp/static-typedef-print.exp: New file.
6609 * gdb.cp/static-typedef-print.cc: New file.
6610
3fcded8f
JB
66112018-03-27 Joel Brobecker <brobecker@adacore.com>
6612
6613 * gdb.ada/varsize_limit: New testcase.
6614
59cc4834
JB
66152018-03-27 Joel Brobecker <brobecker@adacore.com>
6616
6617 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6618
6619 * gdb.ada/notcplusplus: New testcase.
6620
6621 * gdb.base/c-linkage-name.c: New file.
6622 * gdb.base/c-linkage-name.exp: New testcase.
6623
4ca59a9f
TT
66242018-03-26 Tom Tromey <tom@tromey.com>
6625
6626 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6627 * gdb.python/py-framefilter.py (name_error): New global.
6628 (ErrorInName.function): Use name_error.
6629
978d6c75
TT
66302018-03-26 Tom Tromey <tom@tromey.com>
6631
6632 PR backtrace/15582:
6633 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6634
b7fee5a3
KS
66352018-03-23 Keith Seitz <keiths@redhat.com>
6636
6637 PR c++/22968
6638 * gdb.cp/subtypes.exp: New file.
6639 * gdb.cp/subtypes.h: New file.
6640 * gdb.cp/subtypes.cc: New file.
6641 * gdb.cp/subtypes-2.cc: New file.
6642
376be529
AB
66432018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6644
6645 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6646 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6647 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6648 -nostartfiles when compiling the test. Confirm that all registers
6649 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6650
066cfa98
AB
66512018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6652
6653 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6654 option, syntax was wrong anyway.
6655 * gdb.arch/arm-disp-step.exp: Likewise.
6656 * gdb.arch/sparc64-regs.exp: Likewise.
6657 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6658 option, syntax was wrong anyway, switch to use
6659 prepare_for_testing.
6660 * gdb.arch/i386-disp-step.exp: Likewise.
6661
079670b9
AA
66622018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6663
6664 * gdb.ada/exec_changed.exp: Replace "target_info exists
6665 use_gdb_stub" by "use_gdb_stub".
6666 * gdb.ada/start.exp: Likewise.
6667 * gdb.base/async-shell.exp: Likewise.
6668 * gdb.base/attach-pie-misread.exp: Likewise.
6669 * gdb.base/attach-wait-input.exp: Likewise.
6670 * gdb.base/break-entry.exp: Likewise.
6671 * gdb.base/break-interp.exp: Likewise.
6672 * gdb.base/dprintf-detach.exp: Likewise.
6673 * gdb.base/nostdlib.exp: Likewise.
6674 * gdb.base/solib-nodir.exp: Likewise.
6675 * gdb.base/statistics.exp: Likewise.
6676 * gdb.base/testenv.exp: Likewise.
6677 * gdb.mi/mi-exec-run.exp: Likewise.
6678 * gdb.mi/mi-start.exp: Likewise.
6679 * gdb.multi/dummy-frame-restore.exp: Likewise.
6680 * gdb.multi/multi-arch-exec.exp: Likewise.
6681 * gdb.multi/multi-arch.exp: Likewise.
6682 * gdb.multi/tids.exp: Likewise.
6683 * gdb.multi/watchpoint-multi.exp: Likewise.
6684 * gdb.python/py-events.exp: Likewise.
6685 * gdb.threads/attach-into-signal.exp: Likewise.
6686 * gdb.threads/attach-stopped.exp: Likewise.
6687 * gdb.threads/threadapply.exp: Likewise.
6688 * lib/selftest-support.exp: Likewise.
6689
26d6cec4
AA
66902018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6691
6692 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6693
4ee89e90
SR
66942018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6695
6696 * gdb.perf/template-breakpoints.cc: New file.
6697 * gdb.perf/template-breakpoints.exp: New file.
6698 * gdb.perf/template-breakpoints.py: New file.
6699
92630041
TT
67002018-03-19 Tom Tromey <tom@tromey.com>
6701
6702 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6703 y0.
6704 * gdb.rust/simple.exp: Test bare identifier form of struct
6705 initializer.
6706
76727919
TT
67072018-03-19 Tom Tromey <tom@tromey.com>
6708
6709 * gdb.gdb/observer.exp: Remove.
6710
194ed413
AA
67112018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6712
6713 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6714 "qualified" option when setting breakpoints.
6715 * gdb.trace/backtrace.exp: Likewise.
6716 * gdb.trace/circ.exp: Likewise.
6717 * gdb.trace/collection.exp: Likewise.
6718 * gdb.trace/disconnected-tracing.exp: Likewise.
6719 * gdb.trace/ftrace-lock.exp: Likewise.
6720 * gdb.trace/ftrace.exp: Likewise.
6721 * gdb.trace/infotrace.exp: Likewise.
6722 * gdb.trace/packetlen.exp: Likewise.
6723 * gdb.trace/passc-dyn.exp: Likewise.
6724 * gdb.trace/qtro.exp: Likewise.
6725 * gdb.trace/read-memory.exp: Likewise.
6726 * gdb.trace/report.exp: Likewise.
6727 * gdb.trace/signal.exp: Likewise.
6728 * gdb.trace/status-stop.exp: Likewise.
6729 * gdb.trace/strace.exp: Likewise.
6730 * gdb.trace/tfind.exp: Likewise.
6731 * gdb.trace/trace-break.exp: Likewise.
6732 * gdb.trace/trace-condition.exp: Likewise.
6733 * gdb.trace/trace-mt.exp: Likewise.
6734 * gdb.trace/tstatus.exp: Likewise.
6735 * gdb.trace/tsv.exp: Likewise.
6736 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6737 * gdb.trace/unavailable.exp: Likewise.
6738 * gdb.trace/while-dyn.exp: Likewise.
6739
8b067d2c
AA
67402018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6741
6742 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6743 that libinproctrace is copied to the target.
6744
3ae9ce5d
TT
67452018-03-14 Tom Tromey <tom@tromey.com>
6746
6747 PR cli/14977:
6748 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6749 a null pointer.
6750 * gdb.base/wchar.exp: Likewise.
6751
b8c2339b
TT
67522018-03-14 Tom Tromey <tom@tromey.com>
6753
6754 PR cli/19918:
6755 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6756 flag.
6757
4872dc46
SM
67582018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6759
6760 PR gdb/22841
6761 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6762 "target" to remote_exec.
6763
e4fe3756
SM
67642018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6765
6766 PR gdb/22841
6767 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6768 ${board}_upload): Remove.
6769
e95a97d4
AA
67702018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6771
6772 * gdb.cp/watch-cp.cc: New test.
6773 * gdb.cp/watch-cp.exp: New file.
6774
dbbb1059
AB
67752018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6776
6777 * gdb.base/infcall-nested-structs.exp: New file.
6778 * gdb.base/infcall-nested-structs.c: New file.
6779 * gdb.base/float.exp: Add riscv support.
6780
ecc054c0
TP
67812018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6782
6783 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6784 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6785
25e3c82c
SDJ
67862018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6787
6788 * gdb.server/abspath.exp: New file.
6789 * lib/gdb.exp (with_cwd): New procedure.
6790
3083294d
SM
67912018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6792
6793 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6794 use it.
6795 (gdb_is_target_remote_prompt): New proc.
6796 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6797 (gdb_is_target_native): Pass prompt parameter to
6798 gdb_is_target_1.
6799
3275ef47
SM
68002018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6801
6802 * gdb.base/load-command.c: New file.
6803 * gdb.base/load-command.exp: New file.
6804 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6805 (gdb_is_target_1): ...this, and generalize for other targets
6806 than just remote.
6807 (gdb_is_target_remote): Use gdb_is_target_1.
6808 (gdb_is_target_native): use gdb_is_target_1.
6809
6893c19a
TT
68102018-02-26 Tom Tromey <tom@tromey.com>
6811
6812 PR python/16497:
6813 * gdb.python/py-framefilter.exp: Update test.
6814
2ddeaf8a
TT
68152018-02-26 Tom Tromey <tom@tromey.com>
6816
6817 * gdb.dwarf2/variant.c: New file.
6818 * gdb.dwarf2/variant.exp: New file.
6819
c9317f21
TT
68202018-02-26 Tom Tromey <tom@tromey.com>
6821
6822 * gdb.rust/simple.exp: Accept more possible results in enum test.
6823
6f6d0c26
SM
68242018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6825
6826 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6827 parentheses.
6828
11b03145
MR
68292018-02-23 Maciej W. Rozycki <macro@mips.com>
6830
6831 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6832 name of a variable: $actual_linejj -> $actual_line.
6833
54a27fe5
JB
68342018-02-21 John Baldwin <jhb@FreeBSD.org>
6835
6836 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6837
de65820c
MM
68382018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6839
6840 * gdb.btrace/buffer-size.exp: Do not force BTS.
6841
980548fd
PA
68422018-02-14 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6845 getting a "Quit".
6846
c4e12631
MM
68472018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6848
6849 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6850 Fix test name.
6851
c2e0e465
SM
68522018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6853
6854 * gdb.cp/m-static.exp: Check type of optimized out static
6855 member.
6856
f7216783
AB
68572018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6858
6859 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6860 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6861
0625771b
LS
68622018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6863 Leszek Swirski <leszeks@google.com>
6864
6865 * gdb.python/py-prettyprint.c
6866 (struct to_string_returns_value_inner,
6867 struct to_string_returns_value_wrapper): New.
6868 (main): Add tsrvw variable.
6869 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6870 ToStringReturnsValueWrapper): New classes.
6871 (register_pretty_printers): Register new pretty-printers.
6872 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6873 recursive pretty printer.
6874 * gdb.python/py-mi.exp: Likewise.
6875
59498c30
LS
68762018-02-01 Leszek Swirski <leszeks@google.com>
6877
6878 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6879 functions with the same name as an include file are parsed
6880 correctly.
6881
d4d38844
YQ
68822018-02-01 Yao Qi <yao.qi@linaro.org>
6883
6884 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6885 "\[^\r\n\]*".
6886
07e5f5cf
NP
68872018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6888
6889 * gdb.arch/powerpc-prologue-frame.s: New file.
6890 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6891 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6892
929b5ad4
JB
68932018-01-31 Joel Brobecker <brobecker@adacore.com>
6894
6895 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6896
e671cd59
PA
68972018-01-30 Pedro Alves <palves@redhat.com>
6898
6899 PR gdb/13211
6900 * gdb.base/interrupt-daemon.c: New.
6901 * gdb.base/interrupt-daemon.exp: New.
6902 * gdb.multi/multi-term-settings.c: New.
6903 * gdb.multi/multi-term-settings.exp: New.
6904
fc413dc4
JB
69052018-01-30 Joel Brobecker <brobecker@adacore.com>
6906
6907 * gdb.base/break.exp: Save the location where the breakpoint
6908 on break.c:47 was actually inserted when debugging the version
6909 compiled at -O2 and use it in the expected output of the "info
6910 break" test performed soon after.
6911
5c319bb2
PA
69122018-01-22 Pedro Alves <palves@redhat.com>
6913 Sergio Durigan Junior <sergiodj@redhat.com>
6914
6915 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6916 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6917
a9e40818
JB
69182018-01-22 Joel Brobecker <brobecker@adacore.com>
6919
6920 * gdb.base/break-include.c, gdb.base/break-include.inc,
6921 gdb.base/break-include.exp: New files.
6922 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6923 line number now being the actual line number where the breakpoint
6924 was inserted.
6925 * gdb.mi/mi-break.exp: Likewise.
6926 * gdb.mi/mi-reverse.exp: Likewise.
6927 * gdb.mi/mi-simplerun.exp: Ditto.
6928
e707fc44
AB
69292018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6930
6931 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6932 varobj.
6933 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6934
ae451627
AB
69352018-01-21 Don Breazeal <donb@codesourcery.com>
6936 Andrew Burgess <andrew.burgess@embecosm.com>
6937
6938 * gdb.mi/basics.c: Add new global.
6939 * gdb.mi/mi-frame-regs.exp: New file.
6940 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6941 case.
6942
b1b189e0
AB
69432018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6946 non-parameter, and on an unknown symbol.
6947
fcfcc376
TT
69482018-01-19 Tom Tromey <tom@tromey.com>
6949
6950 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6951 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6952
634c1c31
AA
69532018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6954
6955 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6956 setrlimit and chdir to int.
6957
d6ad07fd
AA
69582018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6959
6960 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6961 function.
6962 (my_tend): Likewise.
6963 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6964 rationale of avoiding FP- and vector instructions.
6965
adf8243b
RK
69662018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6967
6968 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6969 "info reg" with "\[ \t\]*".
6970 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6971 "\[ \t\]+".
6972 * gdb.arch/s390-multiarch.exp: Ditto.
6973 * gdb.base/pc-fp.exp: Ditto.
6974 * gdb.reverse/i386-precsave.exp: Ditto.
6975 * gdb.reverse/i386-reverse.exp: Ditto.
6976 * gdb.reverse/i387-env-reverse.exp: Ditto.
6977 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6978
dcc06925
AA
69792018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6980
6981 * lib/gdb.exp (gdb_compile): Re-enable use of
6982 universal_compile_options for languages other than Rust.
6983
25d4fd80
AA
69842018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6985
6986 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6987
ee7f689e 69882018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6989
6990 PR gdb/16577
6991 * gdb.base/solib-vanish.exp: New.
6992 * gdb.base/solib-vanish-main.c: New.
6993 * gdb.base/solib-vanish-lib1.c: New.
6994 * gdb.base/solib-vanish-lib2.c: New.
6995
d8447b6b
YQ
69962018-01-17 Yao Qi <yao.qi@linaro.org>
6997
6998 * gdb.compile/compile.exp: Match the address printed for
6999 frame in the output of command "bt".
7000
86d6a90c
TT
70012018-01-15 Tom Tromey <tom@tromey.com>
7002
7003 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7004 compute sp_reg.
7005
cbcdb1aa
AB
70062018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7007
7008 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7009 to prepare.
7010 (prepare): Return 0 on error, 1 on success.
7011
eea61984
PA
70122018-01-12 Pedro Alves <palves@redhat.com>
7013
7014 * gdb.base/continue-after-aborted-step-over.c: New.
7015 * gdb.base/continue-after-aborted-step-over.exp: New.
7016
6181e9c2
SM
70172018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7018
7019 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7020 options when not creating an executable.
7021
3cada740
PA
70222018-01-11 Pedro Alves <palves@redhat.com>
7023
7024 PR remote/22597
7025 * gdb.server/stop-reply-no-thread.c: New file.
7026 * gdb.server/stop-reply-no-thread.exp: New file.
7027
c63d3e8d
PA
70282018-01-10 Pedro Alves <palves@redhat.com>
7029
7030 PR gdb/22670
7031 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7032 functions too. Test setting breakpoints and printing C functions
7033 with no debug info too.
7034 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7035
d4c2a405
PA
70362018-01-10 Pedro Alves <palves@redhat.com>
7037
7038 PR gdb/22670
7039 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7040 a fail.
7041
8825213e
PA
70422018-01-10 Pedro Alves <palves@redhat.com>
7043
7044 PR gdb/22670
7045 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7046
605fd3c6
YQ
70472018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7048
7049 * gdb.server/unittest.exp: Match the output in non-development
7050 mode.
7051
1e5ded6c
YQ
70522018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7053
7054 * gdb.gdb/unittest.exp: Match output in non-development mode.
7055
30066b0b
JB
70562018-01-08 Joel Brobecker <brobecker@adacore.com>
7057
7058 * gdb.ada/access_tagged_param.exp: Relax expected output
7059 for value of "ObjL" in "continue" to pck.inspect breakpoint
7060 test.
7061
04bafb1e
XR
70622018-01-08 Joel Brobecker <brobecker@adacore.com>
7063
9f86398b
JB
7064 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7065 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7066
e379cee6
PA
70672018-01-05 Pedro Alves <palves@redhat.com>
7068
7069 PR gdb/18653
7070 * gdb.base/libsegfault.exp: New.
7071
de63c46b
PA
70722018-01-05 Joel Brobecker <brobecker@adacore.com>
7073
7074 PR gdb/22670
7075 * gdb.ada/access_tagged_param.exp: New file.
7076 * gdb.ada/access_tagged_param/foo.adb: New file.
7077
f98fc17b
PA
70782018-01-05 Pedro Alves <palves@redhat.com>
7079
7080 PR gdb/22670
7081 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7082 exercise lower case too, and to exercise both full matching and
7083 wild matching.
7084
342f8240
JB
70852018-01-05 Joel Brobecker <brobecker@adacore.com>
7086
7087 * gdb.ada/rename_subscript_param: New testcase.
7088
7150d33c
JG
70892018-01-05 Jerome Guitton <guitton@adacore.com>
7090
7091 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7092
cc0e770c
JB
70932018-01-05 Joel Brobecker <brobecker@adacore.com>
7094
7095 * gdb.ada/convvar_comp: New testcase.
7096
672a41aa 70972018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7098
7099 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7100 (My_Table): New global variable.
7101 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7102
7365ec2f
JB
71032018-01-04 Joel Brobecker <brobecker@adacore.com>
7104
7105 PR gdb/22670
7106 * gdb.ada/maint_with_ada: New testcase.
7107
289483b6
JB
71082018-01-04 Joel Brobecker <brobecker@adacore.com>
7109
7110 PR gdb/22670
7111 * gdb.ada/bp_c_mixed_case: New testcase.
7112
344420da
JB
71132018-01-04 Joel Brobecker <brobecker@adacore.com>
7114
7115 PR gdb/22670
7116 * gdb.ada/complete.exp: Add "complete break ada" test.
7117
66fc87a0
JB
71182018-01-04 Joel Brobecker <brobecker@adacore.com>
7119
7120 PR gdb/22670
7121 * gdb.ada/info_addr_mixed_case: New testcase.
7122
9f757bf7
XR
71232018-01-03 Xavier Roirand <roirand@adacore.com>
7124
7125 * gdb.ada/excep_handle.exp: New testcase.
7126 * gdb.ada/excep_handle/foo.adb: New file.
7127 * gdb.ada/excep_handle/pck.ads: New file.
7128
bd570f80
JB
71292018-01-03 Joel Brobecker <brobecker@adacore.com>
7130
7131 * gdb.base/step-line.c: Add extra empty line in copyright header.
7132 * gdb.base/step-line.inp: Likewise.
7133
9fe561ab
JB
71342018-01-02 Joel Brobecker <brobecker@adacore.com>
7135
7136 * gdb.ada/dyn_stride.exp: Add slice test.
7137
a405673c
JB
71382018-01-02 Joel Brobecker <brobecker@adacore.com>
7139
7140 * gdb.ada/dyn_stride: New testcase.
7141
cef0f868
SH
71422017-12-27 Stafford Horne <shorne@gmail.com>
7143
7144 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7145 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7146
b67d92b0
SH
71472017-12-27 Stafford Horne <shorne@gmail.com>
7148
7149 * gdb.base/reggroups.c: New file.
7150 * gdb.base/reggroups.exp: New file.
7151
eccab96d
JB
71522017-12-18 Joel Brobecker <brobecker@adacore.com>
7153
7154 * gdb.dwarf2/ada-valprint-error.c: New file.
7155 * gdb.dwarf2/ada-valprint-error.exp: New file.
7156
0e2da9f0
JB
71572017-12-18 Joel Brobecker <brobecker@adacore.com>
7158
7159 * gdb.ada/assign_arr: New testcase.
7160
cb923fcc
XR
71612017-12-18 Xavier Roirand <roirand@adacore.com>
7162
7163 * gdb.ada/funcall_ptr: New testcase.
7164
7c161838
SDJ
71652017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7166
7167 PR cli/16224
7168 * gdb.base/ptype-offsets.cc: New file.
7169 * gdb.base/ptype-offsets.exp: New file.
7170
1af17fd9
YQ
71712017-12-15 Yao Qi <yao.qi@linaro.org>
7172
7173 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7174 if XML is disabled.
7175
828d5846
XR
71762017-12-15 Xavier Roirand <roirand@adacore.com>
7177
7178 * gdb.ada/same_component_name: New testcase.
7179
79e8fcaa
JB
71802017-12-14 Joel Brobecker <brobecker@adacore.com>
7181
7182 * gdb.ada/str_binop_equal: New testcase.
7183
e05fa6f9
JB
71842017-12-14 Joel Brobecker <brobecker@adacore.com>
7185
7186 * gdb.ada/task_switch_in_core: New testcase.
7187
b89641ba
SM
71882017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7189
7190 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7191 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7192 call test_bkpt_qualified.
7193 (test_bkpt_qualified): New proc.
7194
6892d2e4
PA
71952017-12-13 Pedro Alves <palves@redhat.com>
7196
7197 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7198 Tighten regexp by matching with an anchor.
7199
a22ecf70
PA
72002017-12-13 Pedro Alves <palves@redhat.com>
7201
7202 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7203 ("expression with namespace"): New set of tests.
7204 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7205 (Nested::Test_NS::qux): New.
7206 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7207 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7208
9937536c
JB
72092017-12-13 Joel Brobecker <brobecker@adacore.com>
7210
7211 * gdb.base/server-del-break.c: New file.
7212 * gdb.base/server-del-break.exp: New file.
7213
fe49c6f5
SH
72142017-12-12 Stafford Horne <shorne@gmail.com>
7215
7216 * gdb.xml/tdesc-regs.exp: Add or1k support.
7217
c3d18620
SH
72182017-12-12 Stafford Horne <shorne@gmail.com>
7219
7220 * gdb.base/bp-permanent.c: Define nop of or1k.
7221
c5f9cfc8
JB
72222017-12-11 Joel Brobecker <brobecker@adacore.com>
7223
7224 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7225 output with components being reordered.
7226
a9c135fc
JB
72272017-12-11 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7230 output with components being reordered.
7231
927aa2e7
JK
72322017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7233 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.base/maint.exp (check for .gdb_index): Check also for
7236 .debug_names.
7237 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7238 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7239 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7240 (.gdb_index used after symbol reloading): Support also .debug_names.
7241 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7242
f17d9474
YQ
72432017-12-08 Yao Qi <yao.qi@linaro.org>
7244
7245 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7246 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7247
a0de8c21
YQ
72482017-12-08 Yao Qi <yao.qi@linaro.org>
7249
7250 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7251 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7252
a738ea1d
YQ
72532017-12-08 Yao Qi <yao.qi@linaro.org>
7254
7255 * gdb.arch/aarch64-tagged-pointer.c: New file.
7256 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7257
1cd9a73b
SDJ
72582017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7259
7260 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7261 "int".
7262
fa6eb693
KS
72632017-12-07 Keith Seitz <keiths@redhat.com>
7264
7265 PR breakpoints/22569
7266 * gdb.linespec/ls-errs.exp: Change expected result of "break
7267 -source this file has spaces.c -line 3".
7268 Check that an explicit source file followed by whitespace is
7269 identified as an invalid explicit location.
7270
883fd55a
KS
72712017-12-07 Keith Seitz <keiths@redhat.com>
7272
7273 * gdb.cp/nested-types.cc: New file.
7274 * gdb.cp/nested-types.exp: New file.
7275 * lib/cp-support.exp: Load data-structures.exp library.
7276 (debug_cp_test_ptype_class): New global.
7277 (cp_ptype_class_verbose, next_line): New procedures.
7278 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7279 Add and document new return value.
7280 Switch the list of lines to a queue.
7281 Add support for new `type' key for nested type definitions.
7282 Add debugging/troubleshooting messages.
7283 * lib/data-structures.exp: New file.
7284
ec72db3e
SM
72852017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7286
7287 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7288 with proc_with_prefix, don't use with_test_prefix.
7289
99598d71
TT
72902017-12-07 Tom Tromey <tom@tromey.com>
7291
7292 * gdb.base/break.exp: Add test for empty "commands".
7293
a8806230
YQ
72942017-12-07 Yao Qi <yao.qi@linaro.org>
7295
7296 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7297 malloc and catch syscall.
7298
824cc835
PM
72992017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7300
e79be6e5 7301 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7302 tests for explicit locations.
7303
7cc244de
PA
73042017-12-06 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7307 force-disabling XML descriptions.
7308
50a1fdd5
PA
73092017-12-04 Pedro Alves <palves@redhat.com>
7310
7311 PR gdb/22499
7312 * gdb.arch/amd64-disp-step-avx.S: New file.
7313 * gdb.arch/amd64-disp-step-avx.exp: New file.
7314
f0fb2488
PA
73152017-12-03 Pedro Alves <palves@redhat.com>
7316
7317 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7318 and <string.h>.
7319 (parent_function): Print distinct messages when waitpid fails, or
7320 the child exits with a signal, or the child exits for an unhandled
7321 reason.
7322 * gdb.threads/process-dies-while-detaching.exp
7323 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7324 it. Wait for both inferior output and GDB's prompt. Use an
7325 indirect spawn id list.
7326 (do_detach): New parameter 'child_exit'. Use it to compute
7327 expected inferior output.
7328 (test_detach, test_detach_watch, test_detach_killed_outside):
7329 Adjust to pass down the expected child exit kind.
7330
97cbe998
SDJ
73312017-12-01 Joel Brobecker <brobecker@adacore.com>
7332 Sergio Durigan Junior <sergiodj@redhat.com>
7333 Pedro Alves <palves@redhat.com>
7334
7335 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7336
40fc416f
SDJ
73372017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7338
7339 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7340 to 'symbol-file' and 'add-symbol-file' can be
7341 position-independent.
7342
1cc75e92
YQ
73432017-12-01 Yao Qi <yao.qi@linaro.org>
7344
7345 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7346 the URL in copyright header.
7347 * gdb.arch/aarch64-fp.exp: Likewise.
7348 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7349 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7350 * gdb.base/expand-psymtabs.exp: Likewise.
7351 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7352 * gdb.fortran/common-block.exp: Likewise.
7353 * gdb.fortran/common-block.f90: Likewise.
7354 * gdb.fortran/logical.exp: Likewise.
7355 * gdb.fortran/vla-datatypes.f90: Likewise.
7356 * gdb.fortran/vla-sub.f90: Likewise.
7357
875fb7a7
JB
73582017-11-30 Joel Brobecker <brobecker@adacore.com>
7359
7360 * gdb.ada/repeat_dyn: New testcase.
7361
6f14765f
UW
73622017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7363
7364 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7365 Update for changed thread numbering.
7366 * gdb.cell/bt.exp: Update for changed GDB output.
7367
f1af7b94
SM
73682017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7369
7370 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7371 setting isremote by hand.
7372 * boards/dwarf4-gdb-index.exp: Likewise.
7373 * boards/fission.exp: Likewise.
7374 * boards/stabs.exp: Likewise.
7375
e3919f3e
PA
73762017-11-30 Pedro Alves <palves@redhat.com>
7377
7378 * gdb.linespec/cpls-ops.exp
7379 (check_explicit_skips_function_argument): Extract the underlying
7380 type of size_t instead of hardcoding it.
7381
bd69330d
PA
73822017-11-29 Pedro Alves <palves@redhat.com>
7383
7384 PR c++/19436
7385 * gdb.linespec/cpls-abi-tag.cc: New file.
7386 * gdb.linespec/cpls-abi-tag.exp: New file.
7387
a20714ff
PA
73882017-11-29 Pedro Alves <palves@redhat.com>
7389
7390 * gdb.base/langs.exp: Use -qualified.
7391 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7392 it.
7393 * gdb.cp/namespace.exp: Use -qualified.
7394 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7395 (overload-3, template-overload, template-ret-type, const-overload)
7396 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7397 procedures.
7398 (test_driver): Call them.
7399 * gdb.cp/save-bp-qualified.cc: New.
7400 * gdb.cp/save-bp-qualified.exp: New.
7401 * gdb.linespec/explicit.exp: Test -qualified.
7402 * lib/completion-support.exp (completion::explicit_opts_list): Add
7403 "-qualified".
7404 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7405
f6f1d339
PM
74062017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7407
7408 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7409
02ca603a
TT
74102017-11-29 Tom Tromey <tom@tromey.com>
7411
7412 * gdb.base/relocate.exp: Update invalid argument test.
7413 Add new tests for invalid arguments.
7414
ed6c0bfb
TP
74152017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7416
7417 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7418 Return 0 as a long.
7419 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7420
f106e10e
TP
74212017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7422
7423 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7424 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7425 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7426 func ().
7427 * gdb.cp/shadow.cc (B.func): Return 0.
7428
10329bb2
JB
74292017-11-27 Joel Brobecker <brobecker@adacore.com>
7430
7431 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7432 expected output in gdb_expect call to allow the exception
7433 message to be present as well. Fix syntax confusion to avoid
7434 TCL thinking that exception_name is an array.
7435
617cd4bc
UW
74362017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7437
7438 * gdb.arch/spu-info.c: Include <unistd.h>.
7439 (do_signal_test): Fix broken calls to write.
7440 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7441 Fix checks for empty mailboxes. Update signal tests for corrected
7442 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7443 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7444 * gdb.cell/arch.exp: Use standard_output_file.
7445 * gdb.cell/break.exp: Likewise.
7446 * gdb.cell/bt.exp: Likewise.
7447 * gdb.cell/core.exp: Likewise.
7448 * gdb.cell/dwarfaddr.exp: Likewise.
7449 * gdb.cell/ea-cache.exp: Likewise.
7450 * gdb.cell/ea-standalone.exp: Likewise.
7451 * gdb.cell/f-regs.exp: Likewise.
7452 * gdb.cell/fork.exp: Likewise.
7453 * gdb.cell/gcore.exp: Likewise.
7454 * gdb.cell/mem-access.exp: Likewise.
7455 * gdb.cell/ptype.exp: Likewise.
7456 * gdb.cell/registers.exp: Likewise.
7457 * gdb.cell/sizeof.exp: Likewise.
7458 * gdb.cell/solib-symbol.exp: Likewise.
7459 * gdb.cell/solib.exp: Likewise.
617cd4bc 7460
a81aaca0
PA
74612017-11-25 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.base/complete-empty.exp: New file.
7464 * gdb.base/completion.exp: Adjust.
7465
6a3c6ee4
PA
74662017-11-25 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.linespec/cpls-ops.cc: New file.
7469 * gdb.linespec/cpls-ops.exp: New file.
7470 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7471 factored out from ...
7472 (test_complete_prefix_range): ... this.
7473
8955eb2d
PA
74742017-11-24 Pedro Alves <palves@redhat.com>
7475
7476 * gdb.linespec/cpcompletion.exp: New file.
7477 * gdb.linespec/cpls-hyphen.cc: New file.
7478 * gdb.linespec/cpls.cc: New file.
7479 * gdb.linespec/cpls2.cc: New file.
7480 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7481 test to use test_gdb_complete_unique. Add label completion,
7482 keyword completion and explicit location completion tests.
7483 * lib/completion-support.exp: New file.
7484
e547c119
JB
74852017-11-24 Joel Brobecker <brobecker@adacore.com>
7486
7487 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7488 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7489 when hitting an exception catchpoint.
7490
7c3c1aa8
YQ
74912017-11-22 Yao Qi <yao.qi@linaro.org>
7492
7493 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7494
41bd68f5
SM
74952017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7496
7497 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7498 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7499 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7500
1daad298
YQ
75012017-11-22 Yao Qi <yao.qi@linaro.org>
7502
7503 * gdb.base/info-os.exp: Pass pthreads.
7504 * gdb.multi/multi-attach.exp: Likewise.
7505
88465e87
YQ
75062017-11-22 Yao Qi <yao.qi@linaro.org>
7507
7508 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7509 compiler.
7510
dc196b23
YQ
75112017-11-22 Yao Qi <yao.qi@linaro.org>
7512
7513 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7514 * gdb.base/break-interp.exp: Likewise.
7515 * gdb.base/jit-attach-pie.exp: Likewise.
7516
2400729e
UW
75172017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7518
7519 * gdb.base/float128.c (large128): New variable.
7520 * gdb.base/float128.exp: Add test to print largest __float128 value.
7521
7a26362d
UW
75222017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7523
7524 * gdb.arch/vsx-regs.exp: Update register content checks.
7525
ed0f4273
UW
75262017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7527
7528 * gdb.arch/ppc-longdouble.exp: New file.
7529 * gdb.arch/ppc-longdouble.c: Likewise.
7530
a25d69c6
PA
75312017-11-21 Pedro Alves <palves@redhat.com>
7532
7533 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7534
73fcf641
PA
75352017-11-20 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7538 (long_double_typedef): New typedefs.
7539 Use DEF on double and long double.
7540 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7541 cases.
7542 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7543 and 'long_double_ptr_same_size' locals. Use them to decide
7544 whether cast from array/function to float is valid/invalid.
7545
71a3c369
TT
75462017-11-17 Tom Tromey <tom@tromey.com>
7547
7548 * gdb.rust/traits.rs: New file.
7549 * gdb.rust/traits.exp: New file.
7550
ced9779b
JB
75512017-11-17 Joel Brobecker <brobecker@adacore.com>
7552
7553 * gdb.ada/minsyms: New testcase.
7554
a0922d80
PA
75552017-11-16 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7558 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7559
ea04e54c
PA
75602017-11-16 Pedro Alves <palves@redhat.com>
7561
7562 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7563 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7564
e849ea89
PA
75652017-11-16 Pedro Alves <palves@redhat.com>
7566
7567 * gdb.server/reconnect-ctrl-c.c: New file.
7568 * gdb.server/reconnect-ctrl-c.exp: New file.
7569
d8ae99a7
PM
75702017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7571
7572 * gdb.python/py-rbreak.exp: New file.
7573 * gdb.python/py-rbreak.c: New file.
7574 * gdb.python/py-rbreak-func2.c: New file.
7575
968a13f8
PA
75762017-11-16 Pedro Alves <palves@redhat.com>
7577
7578 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7579 pattern.
7580 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7581 GDB.
7582
71774bc9
SM
75832017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7584
7585 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7586 regex.
7587
ddbb44cf
SM
75882017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7589
7590 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7591 test names.
7592
584a564f
PA
75932017-11-09 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7596 factored out from ...
7597 (top level): ... here, and adjusted to avoid expecting beyond the
7598 prompt in a single gdb_test_multiple.
7599
5ed7a928
PA
76002017-11-09 Pedro Alves <palves@redhat.com>
7601
7602 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7603 output.
7604 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7605 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7606 * gdb.server/ext-run.exp ("kill" test): Likewise.
7607 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7608
a60e0738
PA
76092017-11-09 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7612 match till end of line.
7613
2c88253f
PA
76142017-11-09 Pedro Alves <palves@redhat.com>
7615
7616 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7617
c7a38517
PA
76182017-11-09 Pedro Alves <palves@redhat.com>
7619
7620 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7621 New procedures, factored out from ...
7622 (top level): ... here, and adjusted to avoid expecting beyond the
7623 prompt in one go.
7624
f29f4b6b
PA
76252017-11-09 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7628 output. Fix '?' match.
7629
286acbb5
JB
76302017-11-08 Joel Brobecker <brobecker@adacore.com>
7631
7632 * gdb.ada/scoped_watch: New testcase.
7633 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7634 which is actually correct.
7635 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7636 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7637
62d7ae92
PA
76382017-11-08 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.gdb/complaints.exp (test_initial_complaints)
7641 (test_serial_complaints, test_short_complaints): Call
7642 complaint_internal instead of complaint.
7643
280ca31f
DT
76442017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7645
7646 * gdb.threads/tls-core.c: New file.
7647 * gdb.threads/tls-core.exp: Likewise.
7648
b5ec771e
PA
76492017-11-08 Pedro Alves <palves@redhat.com>
7650
7651 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7652 (p Exported_Capitalized): New test.
7653 (p exported_capitalized): New test.
7654
a02b41a7
PA
76552017-11-07 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7658
95e95a6d
PA
76592017-11-07 Pedro Alves <palves@redhat.com>
7660
7661 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7662 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7663 (disable_invalid, disable_inverted, disable_negative): New
7664 procedures.
7665 ("bad numbers"): New set of tests.
7666
cee62dbd
PA
76672017-11-07 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.cp/ena-dis-br-range.exp: Add tests.
7670
cc638e86
PA
76712017-11-07 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7674
d0fe4701
XR
76752017-11-07 Xavier Roirand <roirand@adacore.com>
7676 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.base/ena-dis-br.exp: Add reference to
7679 gdb.cp/ena-dis-br-range.exp.
7680 * gdb.cp/ena-dis-br-range.exp: New file.
7681 * gdb.cp/ena-dis-br-range.cc: New file.
7682
46f67f80
PA
76832017-11-06 Pedro Alves <palves@redhat.com>
7684
7685 * gdb.base/attach-non-pgrp-leader.c: New.
7686 * gdb.base/attach-non-pgrp-leader.exp: New.
7687
726e1356
PA
76882017-11-06 Pedro Alves <palves@redhat.com>
7689
7690 * configure.ac: No longer check for termio.h and sgtty.h.
7691 * configure: Regenerate.
7692 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7693 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7694 Remove termio and sgtty code.
7695
50ab6ace
YQ
76962017-11-03 Yao Qi <yao.qi@linaro.org>
7697
7698 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7699 in GDB is disabled.
7700
8e68731c
YQ
77012017-11-03 Yao Qi <yao.qi@linaro.org>
7702
7703 * gdb.python/py-thrhandle.exp: Skip it if python is not
7704 enabled.
7705
3a87ae65
SM
77062017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7707
7708 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7709 as a breakpoint command.
7710
484d8d36
MD
77112017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7712
7713 PR python/21213
7714 * gdb.python/py-infthread.exp: Test calling
7715 InferiorThread.inferior () multiple times in a row.
7716
4a27f119
KS
77172017-10-27 Keith Seitz <keiths@redhat.com>
7718
7719 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7720 Test "info break" for every inlined function breakpoint.
7721
bb11dd58
YQ
77222017-10-27 Yao Qi <yao.qi@linaro.org>
7723
7724 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7725
a43f3893
PF
77262017-10-26 Patrick Frants <osscontribute@gmail.com>
7727
7728 * gdb.cp/classes.exp (test_static_members): Test printing
7729 Outer::instance.
7730 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7731 (Inner::instance, Outer::instance): New.
7732
792ccf00
PA
77332017-10-24 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7736 extra console" test in two stages.
7737
eb2bfbad
PA
77382017-10-24 Pedro Alves <palves@redhat.com>
7739
7740 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7741
1f75a651
PA
77422017-10-24 Pedro Alves <palves@redhat.com>
7743
7744 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7745 loop.
7746
779990d9
PA
77472017-10-24 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7750 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7751
ad9b8f5d
PA
77522017-10-24 Pedro Alves <palves@redhat.com>
7753
7754 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7755 parameter and handle it. Don't output read value in test name.
7756
fee6da6e
PA
77572017-10-24 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7760 custom test name.
7761
10389c2c
PA
77622017-10-24 Pedro Alves <palves@redhat.com>
7763
7764 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7765 include the unstable output directory name in the test's name.
7766 (initial_setup_simple) <'set args'>: Use custom test name.
7767
a80e65a9
PA
77682017-10-24 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7771 with explicit test name.
7772
15763a09
PA
77732017-10-20 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7776 'wait -i'. Use gdb_assert and remote_close.
7777
49a4ce2e
AB
77782017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7779
7780 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7781 number from variable rather than hard-coded.
7782
a75868f5
PA
77832017-10-19 Pedro Alves <palves@redhat.com>
7784
7785 * gdb.base/long-inferior-output.c: New file.
7786 * gdb.base/long-inferior-output.exp: New file.
7787
c8ba13ad
KS
77882017-11-18 Keith Seitz <keiths@redhat.com>
7789
7790 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7791 method.
7792 (main): Call it.
7793 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7794 Add additional user-defined conversion operator tests.
7795
b27de576
PA
77962017-10-17 Pedro Alves <palves@redhat.com>
7797
7798 * boards/native-stdio-gdbserver.exp: Load "local-board".
7799
8484c955
PA
78002017-10-17 Pedro Alves <palves@redhat.com>
7801
7802 * gdb.base/quit-live.c: New file.
7803 * gdb.base/quit-live.exp: New file.
7804
83d5a34d
KS
78052017-10-16 Keith Seitz <keiths@redhat.com>
7806
7807 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7808 (class_with_protected_typedef, class_with_private_typedef)
7809 (struct_with_public_typedef, struct_with_protected_typedef)
7810 (struct_with_private_typedef): New classes/structs.
7811 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7812 typedefs and access specifiers.
7813
739b3f1d
PA
78142017-10-16 Pedro Alves <palves@redhat.com>
7815 Simon Marchi <simon.marchi@polymtl.ca>
7816
7817 * README (Local vs Remote vs Native): New section.
7818 * boards/local-board.exp: New file, with bits factored out from
7819 ...
7820 * boards/native-extended-gdbserver.exp: ... here. Load
7821 "local-board".
7822 * boards/native-gdbserver.exp: Load "local-board".
7823 (${board}_spawn, ${board}_exec): Delete.
7824 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7825 ...
7826 * boards/stdio-gdbserver-base.exp: ... this new file.
7827 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7828 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7829 procedure.
7830 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7831 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7832 stdio_gdbserver_command.
7833 (${board}_get_remote_address, ${board}_get_comm_port)
7834 (${board}_download, ${board}_upload): Delete.
7835 (get_target_remote_pipe_cmd): New.
7836
fe68b953
SM
78372017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7838
7839 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7840 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7841 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7842 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7843 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7844 remove with_test_prefix.
7845
300b6685
PA
78462017-10-13 Pedro Alves <palves@redhat.com>
7847
7848 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7849 * gdb.base/annota1.exp: Use it instead of is_remote.
7850 * gdb.base/annota3.exp: Use it instead of is_remote.
7851 * gdb.cp/annota2.exp: Use it instead of is_remote.
7852 * gdb.cp/annota3.exp: Use it instead of is_remote.
7853 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7854
50500caf
PA
78552017-10-13 Pedro Alves <palves@redhat.com>
7856
7857 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7858 (test_num_test_vars, run_and_count_vars, find_env)
7859 (test_set_unset_env, test_inherit_env_var): New procedures.
7860 (top level): Use them.
7861
dad0c6d2
PA
78622017-10-13 Pedro Alves <palves@redhat.com>
7863
7864 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7865 also skip on stub-like targets.
7866
8b0553c1
PA
78672017-10-13 Pedro Alves <palves@redhat.com>
7868
7869 PR gdb/22293
7870 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7871 (top level): Move some tests to ...
7872 (test_not_found): ... this new procedure.
7873 (top level): Call it.
7874
7594f623
PA
78752017-10-13 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7878 expect different "info terminal" output if testing with a
7879 non-native target.
7880
ebe3b402
PA
78812017-10-13 Pedro Alves <palves@redhat.com>
7882 Simon Marchi <simon.marchi@polymtl.ca>
7883
7884 PR python/12966
7885 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7886
42f1b161
PA
78872017-10-13 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7890 already.
7891
8d6ef72b
PA
78922017-10-13 Pedro Alves <palves@redhat.com>
7893
7894 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7895 is_remote.
7896
d7bcd5b8
PA
78972017-10-13 Pedro Alves <palves@redhat.com>
7898
7899 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7900 is_remote.
7901
df479dc6
PA
79022017-10-13 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7905 is set.
7906 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7907 instead of is_remote.
7908
23fb630a
PA
79092017-10-13 Pedro Alves <palves@redhat.com>
7910
7911 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7912 (top level): Add comment.
7913
cc77b1dc
PA
79142017-10-13 Pedro Alves <palves@redhat.com>
7915
7916 * gdb.base/remote.exp (top level): Fix comment typo and add
7917 missing return.
7918
27c9e813
PA
79192017-10-13 Pedro Alves <palves@redhat.com>
7920 Simon Marchi <simon.marchi@polymtl.ca>
7921
7922 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7923 calls and add comments. Skip test if use_gdb_stub is set.
7924 (top level): Use "set cwd" command instead of "cd" command.
7925
5e830d98
PA
79262017-10-13 Pedro Alves <palves@redhat.com>
7927
7928 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7929 is_remote target check.
7930
f5ca0032
PA
79312017-10-13 Pedro Alves <palves@redhat.com>
7932
7933 * gdb.base/scope.exp: Use build_executable + clean_restart +
7934 gdb_file_cmd instead of prepare_for_testing and no longer skip
7935 "before run" tests on is_remote target boards. Update comments.
7936 * boards/native-extended-gdbserver.exp
7937 (extended_gdbserver_load_last_file): New, factored out from ...
7938 (gdb_load): ... this. Move further below and add comment.
7939 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7940
8aed1c0d
PA
79412017-10-12 Pedro Alves <palves@redhat.com>
7942
7943 * gdb.base/attach.exp: Remove references to gdb64.
7944 * gdb.base/dbx.exp: Remove references to gdb64.
7945
cfa34c87
SM
79462017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7947 Pedro Alves <palves@redhat.com>
7948
7949 * gdb.base/label.exp: Remove is_remote target check.
7950
9192b7de
PA
79512017-10-12 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.base/auvx.exp (coredir): Update comment.
7954 (top level) <core_works>: Use "set cwd" command instead of "cd"
7955 command.
7956
6bf0052d
PA
79572017-10-12 Pedro Alves <palves@redhat.com>
7958 Simon Marchi <simon.marchi@polymtl.ca>
7959
7960 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7961 target boards.
7962
e48ef82d
PA
79632017-10-12 Pedro Alves <palves@redhat.com>
7964 Simon Marchi <simon.marchi@polymtl.ca>
7965
7966 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7967 Instead skip if there's any gdb_protocol set.
7968
8d7aea57
SM
79692017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7970 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7973
30440677
PA
79742017-10-12 Pedro Alves <palves@redhat.com>
7975 Simon Marchi <simon.marchi@polymtl.ca>
7976
7977 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7978 instead of on dejagnu remote boards.
7979
4e04f045 79802017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7981 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7982
7983 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7984 checks. Use build_executable + clean_restart instead of
7985 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7986 of enabling non-stop after starting gdb.
7987
871a186e
PA
79882017-10-12 Pedro Alves <palves@redhat.com>
7989
7990 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7991 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7992 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7993 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7994
56d704da
AK
79952017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7996
7997 * gdb.arch/arc-tdesc-cpu.exp: New file.
7998 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7999
2f20e312
SM
80002017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8001
8002 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8003
65630365
PA
80042017-10-10 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8007 expect CLI output.
8008
bf469271
PA
80092017-10-10 Pedro Alves <palves@redhat.com>
8010
8011 * lib/selftest-support.exp (selftest_setup): Update for
8012 captured_command_loop's prototype change.
8013
777a42f1
PA
80142017-10-09 Pedro Alves <palves@redhat.com>
8015
8016 Test both arch1=>arch2 and arch2=>arch1.
8017
8018 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8019 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8020 factored out to...
8021 (append_arch1_options, append_arch2_options, append_arch_options)
8022 (build_executables): New procedures.
8023 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8024 local.
8025 (top level): Add new 'first_arch' testing axis.
8026
cbd2b4e3
PA
80272017-10-09 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8030 (barrier): New.
8031 (thread_start, all_started): New functions.
8032 (main): Spawn new thread and wait until it is scheduled.
8033 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8034 option.
8035 (do_test): Add 'selected_thread' parameter. Run to all_started
8036 instead of main. Explicitly set the breakpoint at main. Switch
8037 to the SELECTED_THREAD thread.
8038 (top level): Test handling the exec event with either the main
8039 thread or the second thread selected.
8040
5c9e4427
PA
80412017-10-09 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8044 logic. Move STOP marker after the value checks.
8045 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8046 regexp.
8047
b3b7c423
SL
80482017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8049
8050 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8051
3b4b2f16
UW
80522017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8053
8054 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8055 integer-to-dfp conversion.
8056 * gdb.base/dfp-test.exp: Likewise.
8057
5cd63fda
PA
80582017-10-04 Pedro Alves <palves@redhat.com>
8059
8060 * gdb.multi/hangout.c: Include <unistd.h>.
8061 (hangout_loop): New function.
8062 (main): Call alarm. Call hangout_loop in a loop.
8063 * gdb.multi/hello.c: Include <unistd.h>.
8064 (hello_loop): New function.
8065 (main): Call alarm. Call hangout_loop in a loop.
8066 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8067 inferior with the other selected.
8068
4c71c105
SM
80692017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8070
8071 * gdb.mi/list-thread-groups-available.exp: New file.
8072 * gdb.mi/list-thread-groups-available.c: New file.
8073
bc3b087d
SDJ
80742017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8075
8076 * gdb.base/set-cwd.exp: Make it available on
8077 native-extended-gdbserver.
8078
d092c5a2
SDJ
80792017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8080
8081 * gdb.base/set-cwd.c: New file.
8082 * gdb.base/set-cwd.exp: Likewise.
8083
45320ffa
TT
80842017-10-02 Tom Tromey <tom@tromey.com>
8085
8086 PR rust/22236:
8087 * gdb.rust/simple.rs (main): New variable "fslice".
8088 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8089
b3e3859b
TT
80902017-10-02 Tom Tromey <tom@tromey.com>
8091
8092 * gdb.rust/simple.exp: Test ptype of a slice.
8093
01af5e0d
TT
80942017-10-02 Tom Tromey <tom@tromey.com>
8095
8096 * gdb.rust/simple.exp: Test index of slice.
8097
a9bbfbd8
TT
80982017-09-27 Tom Tromey <tom@tromey.com>
8099
8100 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8101
df8899e5
TP
81022017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8103 Pedro Alves <palves@redhat.com>
8104
8105 * gdb.base/compare-sections.exp (get value of read-only section): Read
8106 as unsigned value.
8107 (corrupt read-only section): Likewise and don't set written if patching
8108 failed.
8109
757bf54b
KB
81102017-09-21 Kevin Buettner <kevinb@redhat.com>
8111
8112 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8113 files.
8114
06871ae8
PA
81152017-09-20 Pedro Alves <palves@redhat.com>
8116
8117 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8118 symbol names in gdb's output.
8119 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8120
e5f25bc5
PA
81212017-09-20 Pedro Alves <palves@redhat.com>
8122
8123 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8124 Rename to ...
8125 (test_list_ambiguous_symbol): ... this and add a symbol name
8126 parameter. Adjust.
8127 (test_list_ambiguous_function): Reimplement on top of
8128 test_list_ambiguous_symbol and also test listing ambiguous
8129 variables.
8130 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8131 (ambiguous_fun): ... this.
8132 (ambiguous_var): New.
8133 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8134 (ambiguous_fun): ... this.
8135 (ambiguous_var): New.
8136
4e5a4f58
JB
81372017-09-19 John Baldwin <jhb@FreeBSD.org>
8138
8139 * gdb.base/starti.c: New file.
8140 * gdb.base/starti.exp: New file.
8141 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8142
26e53f3e
PA
81432017-09-14 Pedro Alves <palves@redhat.com>
8144
8145 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8146 (top level): Use it instead of runto.
8147
cb791d59
TT
81482017-09-11 Tom Tromey <tom@tromey.com>
8149
8150 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8151
7c96f8c1
TT
81522017-09-11 Tom Tromey <tom@tromey.com>
8153
8154 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8155 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8156
469412dd
CW
81572017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8158
8159 * gdb.fortran/printing-types.exp: New file.
8160 * gdb.fortran/printing-types.exp: New file.
8161
e0f86435
BH
81622017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8163
8164 * gdb.fortran/vla-ptype.exp: Fix typos.
8165 * gdb.fortran/vla-value.exp: Same.
8166
9e9af4be
BH
81672017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8168
8169 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8170 * gdb.mi/mi-var-child-f.exp: Likewise.
8171 * gdb.mi/mi-vla-fortran.exp: Likewise.
8172
a5ad232b 81732017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8174 Christoph Weinmann <christoph.t.weinmann@intel.com>
8175 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8176
8177 * gdb.fortran/ptr-indentation.f90: New file.
8178 * gdb.fortran/ptr-indentation.exp: New file.
8179
5aec60eb
TT
81802017-09-05 Tom Tromey <tom@tromey.com>
8181
8182 PR gdb/22010:
8183 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8184
8f8f8152
TP
81852017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8186
8187 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8188
fbd1b771
JK
81892017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8190
8191 * gdb.threads/tls-nodebug-pie.c: New file.
8192 * gdb.threads/tls-nodebug-pie.exp: New file.
8193
5eb5f850
TT
81942017-09-05 Tom Tromey <tom@tromey.com>
8195
8196 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8197 for rust.
8198
ae780a21
SM
81992017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8200
8201 * gdb.multi/multi-arch-exec.exp: Test with different
8202 "follow-exec-mode" settings.
8203 (do_test): New procedure.
8204
3693fdb3
PA
82052017-09-04 Pedro Alves <palves@redhat.com>
8206
8207 * gdb.base/func-static.c (S::method const, S::method volatile)
8208 (S::method volatile const): New methods.
8209 (c_s, v_s, cv_s): New instances.
8210 (main): Call method() on them.
8211 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8212 (cannot_resolve): New procedure.
8213 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8214 print-quote-unquoted columns.
8215 (do_test): Test printing each scope too.
8216
e68cb8e0
PA
82172017-09-04 Pedro Alves <palves@redhat.com>
8218
8219 * gdb.base/local-static.exp: Also test with
8220 class::method::variable wholly quoted.
8221 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8222
858be34c
PA
82232017-09-04 Pedro Alves <palves@redhat.com>
8224
8225 * gdb.base/local-static.c: New.
8226 * gdb.base/local-static.cc: New.
8227 * gdb.base/local-static.exp: New.
8228
46a4882b
PA
82292017-09-04 Pedro Alves <palves@redhat.com>
8230
8231 * gdb.asm/asm-source.exp: Add casts to int.
8232 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8233 (dataglobal64_1, dataglobal64_2): New globals.
8234 * gdb.base/nodebug.exp: Test different expressions involving the
8235 new globals, with print, whatis and ptype. Add casts to int.
8236 * gdb.base/solib-display.exp: Add casts to int.
8237 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8238 * gdb.cp/m-static.exp: Add cast to int.
8239 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8240 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8241 tls variable with no debug info without a cast. Test with a cast
8242 to int too.
8243 * gdb.trace/entry-values.exp: Add casts.
8244
2c5a2be1
PA
82452017-09-04 Pedro Alves <palves@redhat.com>
8246
8247 * gdb.base/nodebug.exp: Test that ptype's error about functions
8248 with unknown return type includes the function name too.
8249
7022349d
PA
82502017-09-04 Pedro Alves <palves@redhat.com>
8251
8252 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8253 return type of munmap in infcall.
8254 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8255 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8256 type of ftell in infcall.
8257 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8258 type of getpid in infcall.
8259 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8260 infcall.
8261 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8262 Bail on failure to extract the pid.
8263 * gdb.base/nodebug.c: #include <stdint.h>.
8264 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8265 New functions.
8266 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8267 Change expected output of print/whatis/ptype with functions with
8268 no debug info. Test all supported languages. Call
8269 test_call_promotion.
8270 * gdb.compile/compile.exp: Adjust expected output to expect
8271 warning.
8272 * gdb.threads/siginfo-threads.exp: Likewise.
8273
54990598
PA
82742017-09-04 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8277 "prototypes". Test calling float functions via prototyped and
8278 unprototyped function pointers.
8279 (perform_all_tests): New parameter "prototypes". Pass it down.
8280 (top level): Pass down "prototypes" parameter to
8281 perform_all_tests.
8282
34d16ea2
SM
82832017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8284
8285 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8286 Test with nested loops.
8287
9521ecda
SM
82882017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8289
8290 * gdb.base/commands.exp: Call the new procedures.
8291 (loop_break_test, loop_continue_test): New procedures.
8292
80a65e9b
SM
82932017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8294
8295 * gdb.base/commands.exp: Call new procedure.
8296 (define_if_without_arg_test): New procedure.
8297
e439fa14
PA
82982017-09-04 Pedro Alves <palves@redhat.com>
8299
8300 * gdb.base/list-ambiguous.exp: New file.
8301 * gdb.base/list-ambiguous0.c: New file.
8302 * gdb.base/list-ambiguous1.c: New file.
8303 * gdb.base/list.exp (test_list_range): Adjust expected output.
8304
0a2dde4a
SDJ
83052017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8306
8307 * gdb.base/share-env-with-gdbserver.c: New file.
8308 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8309
5e89eb3a
SM
83102017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8311
8312 * gdb.base/commands.exp (gdbvar_simple_if_test,
8313 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8314 progvar_simple_if_test, progvar_simple_while_test,
8315 progvar_complex_if_while_test, user_defined_command_test,
8316 user_defined_command_args_eval,
8317 user_defined_command_args_stack_test,
8318 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8319 temporary_breakpoint_commands,
8320 gdb_test_no_prompt, redefine_hook_test,
8321 redefine_backtrace_test): Remove "global gdb_prompt".
8322
fd437cbc
SM
83232017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8324
8325 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8326 New proc, call it from toplevel.
8327
87215ad1
SDJ
83282017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8329
8330 PR remote/21852
8331 * gdb.server/normal.c: New file, copied from gdb.base.
8332 * gdb.server/run-without-local-binary.exp: New file.
8333
58afddc6
WP
83342017-08-07 Weimin Pan <weimin.pan@oracle.com>
8335
8336 * gdb.arch/sparc64-adi.exp: New file.
8337 * gdb.arch/sparc64-adi.c: New file.
8338
5277199a
PA
83392017-08-22 Pedro Alves <palves@redhat.com>
8340
8341 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8342 (top level): Add "list all overloads" tests.
8343
14278e1f
TT
83442017-08-22 Tom Tromey <tom@tromey.com>
8345
8346 * gdb.gdb/xfullpath.exp: Remove.
8347
bf223d3e
PA
83482017-08-21 Pedro Alves <palves@redhat.com>
8349
8350 PR gdb/19487
8351 * gdb.base/symbol-alias.c: New.
8352 * gdb.base/symbol-alias2.c: New.
8353 * gdb.base/symbol-alias.exp: New.
8354
c973d0aa
PA
83552017-08-21 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.base/dfp-test.c
8358 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8359 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8360 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8361 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8362 * gdb.base/whatis-ptype-typedefs.c: New.
8363 * gdb.base/whatis-ptype-typedefs.exp: New.
8364 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8365 (an_int, an_int_type, an_int_type2): New globals.
8366 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8367 involving typedefs and cast expressions.
8368 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8369 (lookup_typedefs_function): New.
8370 (typedefs_pretty_printers_dict): New.
8371 (top level): Register lookup_typedefs_function in
8372 gdb.pretty_printers.
8373
6d580b63
YQ
83742017-08-18 Yao Qi <yao.qi@linaro.org>
8375
8376 * gdb.server/unittest.exp: New.
8377
206726fb
SDJ
83782017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8379
8380 PR gdb/21954
8381 * gdb.base/environ.exp: Add test to check if 'unset environment'
8382 works.
8383
bf0ec4c2
AA
83842017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8385
8386 * lib/gdb.exp (universal_compile_options): New caching proc.
8387 (gdb_compile): Suppress GCC's coloring of messages.
8388
d6382fff
TT
83892017-08-14 Tom Tromey <tom@tromey.com>
8390
8391 PR gdb/21675:
8392 * gdb.base/printcmds.exp (test_radices): New function.
8393 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8394 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8395 * lib/gdb.exp (get_integer_valueof): Use p/d.
8396
c2c2dd9f
SM
83972017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8398
8399 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8400 characters.
8401
fdffd6f4
TT
84022017-08-05 Tom Tromey <tom@tromey.com>
8403
8404 * gdb.rust/simple.exp: Allow String to appear in a different
8405 namespace.
8406
27d41eac
YQ
84072017-07-26 Yao Qi <yao.qi@linaro.org>
8408
8409 * gdb.gdb/unittest.exp: Invoke command
8410 "maintenance check xml-descriptions".
8411
031ed05d
AA
84122017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8413
8414 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8415 calling context.
8416 (hex128): Drop erroneous calculation of parameters.
8417
dcd27ddf
SM
84182017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8419
8420 * gdb.python/py-unwind.exp: Disable stack protection when
8421 building test file.
8422
47e77640
PA
84232017-07-20 Pedro Alves <palves@redhat.com>
8424
8425 * gdb.base/default.exp (set language): Adjust expected output.
8426
62d2a18a
PA
84272017-07-20 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8430 (test_minsym): ... this, and make static.
8431 (get_pck__foo__bar__minsym): Rename to ...
8432 (get_test_minsym): ... this.
8433 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8434 symbol names and comments.
8435 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8436 (get_test_minsym): ... this.
8437 (pck__foo__bar__minsym__2): Rename to ...
8438 (test_minsym): ... this.
8439 (main): Adjust.
8440
c45ec17c
PA
84412017-07-17 Pedro Alves <palves@redhat.com>
8442
8443 * gdb.base/completion.exp: Adjust expected output.
8444 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8445 the completer works.
8446
c6756f62
PA
84472017-07-17 Pedro Alves <palves@redhat.com>
8448
8449 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8450
5bd68487
AB
84512017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8452
8453 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8454
8880f2a9
TT
84552017-07-14 Tom Tromey <tom@tromey.com>
8456
8457 PR rust/21764:
8458 * gdb.rust/simple.exp: Add tests.
8459
65547233
TT
84602017-07-14 Tom Tromey <tom@tromey.com>
8461
8462 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8463
8f14146e
PA
84642017-07-14 Pedro Alves <palves@redhat.com>
8465
8466 * gdb.linespec/base/one/thefile.cc (z1): New function.
8467 * gdb.linespec/base/two/thefile.cc (z2): New function.
8468 * gdb.linespec/linespec.exp: Add tests.
8469
b4365d02
AB
84702017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8471
8472 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8473 to mi_create_breakpoint.
8474
5d2cbaa5
AB
84752017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8476
8477 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8478 mi_create_breakpoint.
8479
11cb5716
IB
84802017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8481
8482 * gdb.dlang/demangle.exp: Update for demangling changes.
8483
03278692
TT
84842017-07-09 Tom Tromey <tom@tromey.com>
8485
8486 * gdb.dwarf2/shortpiece.exp: New file.
8487
33c5cd75
DB
84882017-07-06 David Blaikie <dblaikie@gmail.com>
8489
8490 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8491 built from fissiont-multi-cu{1,2}.c.
8492 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8493 except putting 'main' and 'func' in separate CUs in the same DWO file.
8494 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8495 test.
8496 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8497 test.
8498
8455d262
PA
84992017-07-06 Pedro Alves <palves@redhat.com>
8500
8501 * gdb.python/py-unwind.exp: Test flushregs.
8502
dc4bde35
SDJ
85032017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8504
8505 PR cli/21688
8506 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8507 tests for alias commands and trailing whitespace.
8508
51ed89aa
SDJ
85092017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8510
8511 PR cli/21688
8512 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8513 procedure. Call it.
8514
eb17d413
PA
85152017-06-29 Pedro Alves <palves@redhat.com>
8516
8517 * gdb.base/printcmds.exp: Add tests.
8518
41664b45
DG
85192017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8520
8521 PR gdb/21337
8522 * gdb.base/reread-readsym.exp: New file.
8523 * gdb.base/reread-readsym.c: New file.
8524
75312ae3
KB
85252017-06-21 Kevin Buettner <kevinb@redhat.com>
8526
8527 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8528 subpattern.
8529
66953522
PB
85302017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8531
8532 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8533 extended mnemonic.
8534 * gdb.arch/powerpc-power9.s: Likewise.
8535
5524b525
AA
85362017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8537
8538 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8539 on 32-bit x86 targets. Exploit is_*_target macros where
8540 appropriate.
8541
03c8af18
AA
85422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8543
8544 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8545 register pieces.
8546
3bf31011
AA
85472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8548
8549 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8550 located in one or more DWARF pieces.
8551
805acca0
AA
85522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8553
8554 * lib/gdb.exp (get_endianness): New proc.
8555 * gdb.arch/aarch64-fp.exp: Use it.
8556 * gdb.arch/altivec-regs.exp: Likewise.
8557 * gdb.arch/e500-regs.exp: Likewise.
8558 * gdb.arch/vsx-regs.exp: Likewise.
8559 * gdb.base/dump.exp: Likewise.
8560 * gdb.base/funcargs.exp: Likewise.
8561 * gdb.base/gnu_vector.exp: Likewise.
8562 * gdb.dwarf2/formdata16.exp: Likewise.
8563 * gdb.dwarf2/implptrpiece.exp: Likewise.
8564 * gdb.dwarf2/nonvar-access.exp: Likewise.
8565 * gdb.python/py-inferior.exp: Likewise.
8566 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8567
e9352324
AA
85682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8569
8570 PR gdb/21226
8571 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8572 stack value pieces are taken from the LSB end.
8573
d5d1163e
AA
85742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8575
8576 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8577 variable at nonzero offset.
8578
0567c986
AA
85792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8580
8581 * gdb.dwarf2/var-access.c: New file.
8582 * gdb.dwarf2/var-access.exp: New test.
8583 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8584
973e9aab
TT
85852017-06-12 Tom Tromey <tom@tromey.com>
8586
8587 * gdb.dwarf2/formdata16.exp: Add tests.
8588
d9109c80
TT
85892017-06-12 Tom Tromey <tom@tromey.com>
8590
8591 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8592
30a25466
TT
85932017-06-12 Tom Tromey <tom@tromey.com>
8594
8595 PR exp/16225:
8596 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8597 * gdb.arch/vsx-regs.exp: Update tests.
8598 * gdb.arch/s390-vregs.exp (hex128): New proc.
8599 Update test.
8600 * gdb.arch/altivec-regs.exp: Update tests.
8601
aefd8b33
SDJ
86022017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8603
8604 * gdb.base/startup-with-shell.c: New file.
8605 * gdb.base/startup-with-shell.exp: Likewise.
8606
2090129c
SDJ
86072017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8608
8609 * gdb.server/non-existing-program.exp: Update regex in order to
8610 reflect the fact that gdbserver is now using fork_inferior (with a
8611 shell) to startup the inferior.
8612
8e86a419
SM
86132017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8614
8615 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8616 support function calls from GDB.
8617
e6cf65f2
TT
86182017-05-21 Tom Tromey <tom@tromey.com>
8619
8620 PR rust/21466:
8621 * gdb.rust/unsized.exp: New file.
8622 * gdb.rust/unsized.rs: New file.
8623
43cc5389
TT
86242017-05-19 Tom Tromey <tom@tromey.com>
8625
8626 PR rust/21484:
8627 * gdb.rust/watch.exp: New file.
8628 * gdb.rust/watch.rs: New file.
8629
ec8df234
TT
86302017-05-18 Tom Tromey <tom@tromey.com>
8631
8632 * gdb.rust/simple.exp: Allow Box to be qualified.
8633
3e3e7fae
TP
86342017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8635
8636 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8637
59cc050d
PA
86382017-05-18 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/fileio.c (test_write, test_read, test_close)
8641 (test_fstat): Don't print 'ret' in the fail path.
8642
c8f6abd1
PA
86432017-05-18 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8646 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8647 (test_system, test_rename, test_unlink, test_time): Change
8648 prototypes.
8649 * gdb.base/fileio.exp (stop_msg): Adjust.
8650
d2a03b77
PA
86512017-05-18 Pedro Alves <palves@redhat.com>
8652
8653 * gdb.base/fileio.c (null_str): New global.
8654 (test_stat): Use it.
8655 * gdb.base/fileio.exp: Remove nowarnings.
8656
0d5c6999
YQ
86572017-05-17 Yao Qi <yao.qi@linaro.org>
8658
8659 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8660
21873064
YQ
86612017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8662
8663 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8664 argument command.
8665 (top-level): Invoke test_set_inferior_tty.
8666
d512d31c
PA
86672017-05-04 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8670 Add parens to print call for Python 3.
8671
90cef2ed
KS
86722017-05-03 Keith Seitz <keiths@redhat.com>
8673
8674 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8675 (main): Call it.
8676
14f819c8
TW
86772017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8678
8679 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8680 to prev and next.
8681
913aeadd
TW
86822017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8683
8684 * gdb.python/py-record-btrace.exp: Remove test for
8685 gdb.BtraceInstruction.error.
8686
a3be24ad
TW
86872017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8688
8689 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8690
ae20e79a
TW
86912017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8692
8693 * gdb.python/py-record-btrace-threads.c: New file.
8694 * gdb.python/py-record-btrace-threads.exp: New file.
8695
45ce1b47
SDJ
86962017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8697
8698 PR testsuite/8595
8699 * gdb.base/environ.exp: Make test available in all architectures.
8700 Move bits related to "info program" testing to
8701 gdb.base/info-program.exp. Rewrite tests to use the two new
8702 procedures mentione below.
8703 (test_set_show_env_var) New procedure.
8704 (test_set_show_env_var_equal): Likewise.
8705 * gdb.base/info-program.exp: New file.
8706
e15c3eb4
KS
87072017-04-27 Keith Seitz <keiths@redhat.com>
8708
8709 * gdb.cp/oranking.cc (test15): New function.
8710 (main): Call test15 and declare additional variables for testing.
8711 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8712 "p foo101('abc')" tests.
8713 Add tests for cv qualifier overloads.
8714 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8715 "lvalue reference overload" test.
8716 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8717 "print value of f1 on Child&& in f2" test.
8718
3a3fd0fd
PA
87192017-04-19 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8722 procedure.
8723 (top level): Call it.
8724 * lib/gdb.exp (gdb_define_cmd): New procedure.
8725
53375380
PA
87262017-04-12 Pedro Alves <palves@redhat.com>
8727
8728 PR gdb/21323
8729 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8730 (wchar): New global.
8731 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8732 (do_test_wide_char, wide_char_types_no_program, top level): Add
8733 wchar_t testing.
8734
53e710ac
PA
87352017-04-12 Pedro Alves <palves@redhat.com>
8736
8737 PR c++/21323
8738 * gdb.cp/wide_char_types.c: New file.
8739 * gdb.cp/wide_char_types.exp: New file.
8740
0ad9d8c7
SDJ
87412017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8742
8743 PR gdb/21352
8744 * gdb.trace/tsv.exp: Add test for "tsave -r".
8745
b1b45502
IB
87462017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8747
8748 * gdb.dlang/watch-loc.c: New file.
8749 * gdb.dlang/watch-loc.exp: New file.
8750
ec13808e
JK
87512017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8752
8753 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8754
fe5f7374
AK
87552017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8756
8757 * gdb.arch/arc-analyze-prologue.S: New file.
8758 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8759
eea78757
AK
87602017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8761
8762 * gdb.arch/arc-decode-insn.S: New file.
8763 * gdb.arch/arc-decode-insn.exp: Likewise.
8764
5badf10a
IR
87652017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8766
8767 PR tdep/20928
8768 * gdb.arch/sparc64-regs.exp: New file.
8769 * gdb.arch/sparc64-regs.S: Likewise.
8770
cee59b3f
TW
87712017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8772
8773 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8774 and memory view on Python 3.
8775
c0f55cc6
AV
87762017-03-20 Artemiy Volkov <artemiyv@acm.org>
8777 Keith Seitz <keiths@redhat.com>
8778
8779 PR gdb/14441
8780 * gdb.cp/demangle.exp: Add rvalue reference tests.
8781 * gdb.cp/rvalue-ref-casts.cc: New file.
8782 * gdb.cp/rvalue-ref-casts.exp: New file.
8783 * gdb.cp/rvalue-ref-overload.cc: New file.
8784 * gdb.cp/rvalue-ref-overload.exp: New file.
8785 * gdb.cp/rvalue-ref-params.cc: New file.
8786 * gdb.cp/rvalue-ref-params.exp: New file.
8787 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8788 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8789 * gdb.cp/rvalue-ref-types.cc: New file.
8790 * gdb.cp/rvalue-ref-types.exp: New file.
8791 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8792 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8793
51457a05
MAL
87942017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8795
8796 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8797 New procedure.
8798
5b291c04
MAL
87992017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8800
8801 * lib/mi-support.exp (mi_gdb_test): Add additional message
8802 for unexpected output.
8803
59a56148
AA
88042017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8805
8806 * gdb.base/examine-backward.c (Barrier): New character array
8807 constant, to ensure that TestStrings is preceded by a string
8808 terminator.
8809
7942e96e
AA
88102017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8811
8812 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8813 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8814 and implicit pointer into such a location.
8815
6ebac3fb
DE
88162017-03-16 Doug Evans <dje@google.com>
8817
8818 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8819
ec3b243d
TP
88202017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8821
8822 * gdb.cp/m-static.exp: Fix expectation for prototype of
8823 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8824
88252017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8826
8827 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8828 * gdb.guile/scm-lazy-string.c: New file.
8829 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8830 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8831 for pointer, array, typedef lazy strings.
8832
2cc36e25 88332017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8834
8835 PR python/17728, python/18439, python/18779
8836 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8837 * gdb.python/py-lazy-string.c (pointer): New typedef.
8838 (main): New locals ptr, array, typedef_ptr.
8839 * gdb.python/py-value.exp: Move lazy string tests to ...
8840 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8841 array, typedef lazy strings.
ec3b243d 8842
0efcde63
AK
88432017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8844
8845 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8846 Add optional 'test' parameter.
8847
7978d7c3
SM
88482017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8849
8850 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8851 Skip for versions of DejaGnu < 1.5.
8852
896c0c1e
SM
88532017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8854
8855 * lib/gdb.exp (dejagnu_version): New proc.
8856 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8857 Use dejagnu_version.
8858
5f4d1085
KS
88592017-03-10 Keith Seitz <keiths@redhat.com>
8860
8861 PR c++/8128
8862 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8863 type from destructor regexps.
8864 Add a branch which actually passes the test.
8865 Adjust "ptype t5i" test names.
8866
1de05205
PA
88672017-03-08 Pedro Alves <palves@redhat.com>
8868
8869 * gdb.base/step-over-exit.exp: Add explicit test message.
8870
c65d6b55
PA
88712017-03-08 Pedro Alves <palves@redhat.com>
8872
8873 PR gdb/18360
8874 * gdb.threads/interrupt-while-step-over.c: New file.
8875 * gdb.threads/interrupt-while-step-over.exp: New file.
8876
2e86a283
PA
88772017-03-08 Pedro Alves <palves@redhat.com>
8878
8879 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8880 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8881
25dcbff6
PA
88822017-03-08 Pedro Alves <palves@redhat.com>
8883
8884 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8885 PKRU as not supported as a PASS.
8886
dc9366eb
PA
88872017-03-08 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8890 prefix instead of $binfile1/$binfile2.
8891 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8892 in test message.
8893 * gdb.python/py-completion.exp: Use "load python file" as test
8894 messages instead of unstable path names.
8895
6e5d74e7
PA
88962017-03-08 Pedro Alves <palves@redhat.com>
8897 Jan Kratochvil <jan.kratochvil@redhat.com>
8898
8899 PR cli/21218
8900 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8901 New proc.
8902 (top level): Call it.
8903
9753a2f6
PA
89042017-03-08 Pedro Alves <palves@redhat.com>
8905
8906 PR tui/21216
8907 * gdb.tui/tui-nl-filtered-output.exp: New file.
8908
1a4dd9dd
PA
89092017-03-08 Pedro Alves <palves@redhat.com>
8910
8911 * gdb.base/completion.exp: Move TUI completion tests to ...
8912 * gdb.tui/completion.exp: ... this new file.
8913
7cbbff33
PA
89142017-03-08 Pedro Alves <palves@redhat.com>
8915
8916 * gdb.base/tui-disasm-long-lines.c,
8917 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8918 gdb.base/tui-layout.exp: Move to ...
8919 * gdb.tui/: ... this new directory.
8920
5f6fd321
PA
89212017-03-07 Pedro Alves <palves@redhat.com>
8922
8923 * gdb.base/tui-layout.c: New file.
8924 * gdb.base/tui-layout.exp: New file.
8925
44959fa8
PA
89262017-03-07 Pedro Alves <palves@redhat.com>
8927
8928 * gdb.base/tui-layout.c: Rename to ...
8929 * gdb.base/tui-disasm-long-lines.c: ... this.
8930 * gdb.base/tui-layout.exp: Rename to ...
8931 * gdb.base/tui-disasm-long-lines.exp: ... this.
8932
f8c4e718
PA
89332017-03-07 Pedro Alves <palves@redhat.com>
8934
8935 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8936
6dbb839a 89372017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8938
8939 * i386-mpx-call.c: New file.
8940 * i386-mpx-call.exp: New file.
8941
65b48a81
PB
89422017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8943
8944 * gdb.arch/powerpc-power.exp: Delete test.
8945 * gdb.arch/powerpc-power.s: Likewise.
8946 * gdb.disasm/disassembler-options.exp: New test.
8947 * gdb.arch/powerpc-altivec.exp: Likewise.
8948 * gdb.arch/powerpc-altivec.s: Likewise.
8949 * gdb.arch/powerpc-altivec2.exp: Likewise.
8950 * gdb.arch/powerpc-altivec2.s: Likewise.
8951 * gdb.arch/powerpc-altivec3.exp: Likewise.
8952 * gdb.arch/powerpc-altivec3.s: Likewise.
8953 * gdb.arch/powerpc-power7.exp: Likewise.
8954 * gdb.arch/powerpc-power7.s: Likewise.
8955 * gdb.arch/powerpc-power8.exp: Likewise.
8956 * gdb.arch/powerpc-power8.s: Likewise.
8957 * gdb.arch/powerpc-power9.exp: Likewise.
8958 * gdb.arch/powerpc-power9.s: Likewise.
8959 * gdb.arch/powerpc-vsx.exp: Likewise.
8960 * gdb.arch/powerpc-vsx.s: Likewise.
8961 * gdb.arch/powerpc-vsx2.exp: Likewise.
8962 * gdb.arch/powerpc-vsx2.s: Likewise.
8963 * gdb.arch/powerpc-vsx3.exp: Likewise.
8964 * gdb.arch/powerpc-vsx3.s: Likewise.
8965 * gdb.arch/arm-disassembler-options.exp: Likewise.
8966 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8967 * gdb.arch/s390-disassembler-options.exp: Likewise.
8968
17cd4947
LM
89692017-02-23 Luis Machado <lgustavo@codesourcery.com>
8970
8971 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8972 (check_supported_features): ... this. Changed return type to void.
8973 (supports_rdseed): New static global.
8974 (rdseed): Check supports_rdseed.
8975 (initialize): Call check_supported_features.
8976
2039d74e
EBM
89772017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8978
8979 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8980 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8981 and lqarx/stqcx.
8982 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8983 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8984
a51d7ecf
EBM
89852017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8986
8987 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8988 uppercase.
8989
0224619f
JK
89902017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8991
8992 * gdb.dwarf2/formdata16.c: New file.
8993 * gdb.dwarf2/formdata16.exp: New file.
8994 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8995
216f72a1
JK
89962017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8997
8998 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8999 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9000 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9001 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9002 DW_AT_GNU_*.
9003
43988095
JK
90042017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9005
9006 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9007
99e8a4f9
SDJ
90082017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9009
9010 PR gdb/21164
9011 * gdb.base/maint.exp: Add testcases for when the commands do
9012 not have arguments.
9013
b58a8c0c
TP
90142017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9015
9016 * gdb.cp/chained-calls.exp: Use p instead of P.
9017
4e746bb6
TW
90182017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9019
9020 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9021 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9022
3f77c769
TT
90232017-02-14 Tom Tromey <tom@tromey.com>
9024
9025 PR python/13598:
9026 * gdb.python/py-events.exp: Add before_prompt event tests.
9027
075beec0
AA
90282017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9029
9030 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9031
bf5f525c
LM
90322017-02-13 Luis Machado <lgustavo@codesourcery.com>
9033
9034 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9035 (main): Call my_unique_function_name.
9036 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9037 completion of patterns with a single match.
9038 Add missing -re switches to gdb_test_multiple calls.
9039
13a66184
LM
90402017-02-13 Luis Machado <lgustavo@codesourcery.com>
9041
9042 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9043 return if core file is not recognized.
9044
26a06916
SM
90452017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9046
9047 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9048 and extra UIs.
9049
b761ca9e
SM
90502017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9051
9052 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9053 proc_with_prefix.
9054
b964bee0
TT
90552017-02-10 Tom Tromey <tom@tromey.com>
9056
9057 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9058
18da0c51
MG
90592017-02-10 Martin Galvan <martingalvan@sourceware.org>
9060
9061 PR gdb/21122
9062 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9063
604c4576
JG
90642017-02-08 Jerome Guitton <guitton@adacore.com>
9065
9066 * gdb.base/define.exp: Add test for command abbreviations
9067 in define.
9068
20b477a7
LM
90692017-02-06 Luis Machado <lgustavo@codesourcery.com>
9070
9071 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9072 * gdb.reverse/insn-reverse-x86.c: New file.
9073
3f7b46f2
IR
90742017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9075
9076 PR tdep/20936
9077 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9078
f0fd41c1
TT
90792017-02-03 Tom Tromey <tom@tromey.com>
9080
9081 PR rust/21097:
9082 * gdb.rust/simple.exp: Add new tests.
9083
5be5dbf0
PA
90842017-02-02 Pedro Alves <palves@redhat.com>
9085
9086 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9087 tests.
9088
7346ef59
AA
90892017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9090
9091 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9092 taking a 2-byte value out of a 4-byte DWARF implicit value on
9093 big-endian targets.
9094 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9095 logic. Add test cases for DW_OP_implicit.
9096
787f0025
MM
90972017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9098
9099 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9100
68777c29
MM
91012017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9102
9103 * gdb.btrace/enable.exp: Call gdb_exit before
9104 skip_gdbserver_tests.
9105
0a1c7e28
MM
91062017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9107
9108 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9109 GDBFLAGS.
9110
b5ac99b0
MM
91112017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9112
9113 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9114 the test is skipped.
9115 * gdb.btrace/data.exp: Likewise.
9116 * gdb.btrace/delta.exp: Likewise.
9117 * gdb.btrace/dlopen.exp: Likewise.
9118 * gdb.btrace/enable-running.exp: Likewise.
9119 * gdb.btrace/enable.exp: Likewise.
9120 * gdb.btrace/exception.exp: Likewise.
9121 * gdb.btrace/function_call_history.exp: Likewise.
9122 * gdb.btrace/gcore.exp: Likewise.
9123 * gdb.btrace/instruction_history.exp: Likewise.
9124 * gdb.btrace/multi-thread-step.exp: Likewise.
9125 * gdb.btrace/nohist.exp: Likewise.
9126 * gdb.btrace/non-stop.exp: Likewise.
9127 * gdb.btrace/reconnect.exp: Likewise.
9128 * gdb.btrace/record_goto-step.exp: Likewise.
9129 * gdb.btrace/record_goto.exp: Likewise.
9130 * gdb.btrace/rn-dl-bind.exp: Likewise.
9131 * gdb.btrace/segv.exp: Likewise.
9132 * gdb.btrace/step.exp: Likewise.
9133 * gdb.btrace/stepi.exp: Likewise.
9134 * gdb.btrace/tailcall-only.exp: Likewise.
9135 * gdb.btrace/tailcall.exp: Likewise.
9136 * gdb.btrace/tsx.exp: Likewise.
9137 * gdb.btrace/unknown_functions.exp: Likewise.
9138 * gdb.btrace/vdso.exp: Likewise.
9139
cd4007e4
MM
91402017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9141
9142 * gdb.btrace/enable-running.c: New.
9143 * gdb.btrace/enable-running.exp: New.
9144
2735833d
WT
91452017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9146
9147 * gdb.arch/amd64-gs_base.c: New file.
9148 * gdb.arch/amd64-gs_base.exp: New file.
9149
b51e1e94
LM
91502017-01-26 Luis Machado <lgustavo@codesourcery.com>
9151
9152 * lib/memory.exp: Remove spurious empty newlines.
9153
72ca0410
SM
91542017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9155
9156 * gdb.python/py-bad-printers.exp: Load python file using "source".
9157 * gdb.python/py-events.exp: Likewise.
9158 * gdb.python/py-evsignal.exp: Likewise.
9159 * gdb.python/py-evthreads.exp: Likewise.
9160 * gdb.python/py-frame-args.exp: Likewise.
9161 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9162 * gdb.python/py-framefilter-mi.exp: Likewise.
9163 * gdb.python/py-framefilter.exp: Likewise.
9164 * gdb.python/py-mi.exp: Likewise.
9165 * gdb.python/py-pp-maint.exp: Likewise.
9166 * gdb.python/py-pp-registration.exp: Likewise.
9167 * gdb.python/py-prettyprint.exp: Likewise.
9168 (run_lang_tests): Likewise.
9169 * gdb.python/py-typeprint.exp: Likewise.
9170
e309aa65
LM
91712017-01-26 Luis Machado <lgustavo@codesourcery.com>
9172
9173 * lib/memory.exp: New file.
9174 * lib/gdb.exp: Load memory.exp.
9175 * gdb.base/memattr.exp (delete_memory): Move proc to
9176 lib/memory.exp and rename to delete_memory_regions.
9177 Replace delete_memory with delete_memory_regions.
9178 Cleanup memory regions before tests.
9179 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9180 before tests.
9181
515aff23
LM
91822017-01-26 Luis Machado <lgustavo@codesourcery.com>
9183
9184 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9185 files.
9186 (initialize): New function conditionally defined.
9187 (testcases): Move within conditional block.
9188 (main): Call initialize.
9189 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9190 of gdb.reverse/insn-reverse.c.
9191 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9192 gdb.reverse/insn-reverse.c.
9193
d8b49cf0
YQ
91942017-01-26 Yao Qi <yao.qi@linaro.org>
9195
9196 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9197 disassemble on address 0.
9198
f13a9a0c
YQ
91992017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9200 Yao Qi <yao.qi@linaro.org>
9201
9202 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9203 * gdb.dwarf2/implptr-64bit.S: Remove.
9204 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9205 variables in caller's context. Add DW_OP_implicit_value.
9206
5ac95241
YQ
92072017-01-25 Yao Qi <yao.qi@linaro.org>
9208
9209 * lib/dwarf.exp (Dwarf::_location): Handle
9210 DW_OP_GNU_implicit_pointer with proper size.
9211
23e82930
LM
92122017-01-20 Luis Machado <lgustavo@codesourcery.com>
9213
9214 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9215 and add untested calls.
9216
d334ae25
LM
92172017-01-20 Luis Machado <lgustavo@codesourcery.com>
9218
9219 * gdb.python/python.exp: Check line number against what GDB thinks
9220 the line number is for func1.
9221
f5e6296e
IB
92222017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9223
9224 * gdb.dlang/debug-expr.exp: New file.
9225
5b362f04
LM
92262016-12-23 Luis Machado <lgustavo@codesourcery.com>
9227
9228 Fix test names for the following files:
9229
9230 * gdb.ada/exec_changed.exp
9231 * gdb.ada/info_types.exp
9232 * gdb.arch/aarch64-atomic-inst.exp
9233 * gdb.arch/aarch64-fp.exp
9234 * gdb.arch/altivec-abi.exp
9235 * gdb.arch/altivec-regs.exp
9236 * gdb.arch/amd64-byte.exp
9237 * gdb.arch/amd64-disp-step.exp
9238 * gdb.arch/amd64-dword.exp
9239 * gdb.arch/amd64-entry-value-inline.exp
9240 * gdb.arch/amd64-entry-value-param.exp
9241 * gdb.arch/amd64-entry-value-paramref.exp
9242 * gdb.arch/amd64-entry-value.exp
9243 * gdb.arch/amd64-i386-address.exp
9244 * gdb.arch/amd64-invalid-stack-middle.exp
9245 * gdb.arch/amd64-invalid-stack-top.exp
9246 * gdb.arch/amd64-optimout-repeat.exp
9247 * gdb.arch/amd64-prologue-skip.exp
9248 * gdb.arch/amd64-prologue-xmm.exp
9249 * gdb.arch/amd64-stap-special-operands.exp
9250 * gdb.arch/amd64-stap-wrong-subexp.exp
9251 * gdb.arch/amd64-tailcall-cxx.exp
9252 * gdb.arch/amd64-tailcall-noret.exp
9253 * gdb.arch/amd64-tailcall-ret.exp
9254 * gdb.arch/amd64-tailcall-self.exp
9255 * gdb.arch/amd64-word.exp
9256 * gdb.arch/arm-bl-branch-dest.exp
9257 * gdb.arch/arm-disp-step.exp
9258 * gdb.arch/arm-neon.exp
9259 * gdb.arch/arm-single-step-kernel-helper.exp
9260 * gdb.arch/avr-flash-qualifier.exp
9261 * gdb.arch/disp-step-insn-reloc.exp
9262 * gdb.arch/e500-abi.exp
9263 * gdb.arch/e500-regs.exp
9264 * gdb.arch/ftrace-insn-reloc.exp
9265 * gdb.arch/i386-avx512.exp
9266 * gdb.arch/i386-bp_permanent.exp
9267 * gdb.arch/i386-byte.exp
9268 * gdb.arch/i386-cfi-notcurrent.exp
9269 * gdb.arch/i386-disp-step.exp
9270 * gdb.arch/i386-dr3-watch.exp
9271 * gdb.arch/i386-float.exp
9272 * gdb.arch/i386-gnu-cfi.exp
9273 * gdb.arch/i386-mpx-map.exp
9274 * gdb.arch/i386-mpx-sigsegv.exp
9275 * gdb.arch/i386-mpx-simple_segv.exp
9276 * gdb.arch/i386-mpx.exp
9277 * gdb.arch/i386-permbkpt.exp
9278 * gdb.arch/i386-prologue.exp
9279 * gdb.arch/i386-signal.exp
9280 * gdb.arch/i386-size-overlap.exp
9281 * gdb.arch/i386-unwind.exp
9282 * gdb.arch/i386-word.exp
9283 * gdb.arch/mips-fcr.exp
9284 * gdb.arch/powerpc-d128-regs.exp
9285 * gdb.arch/powerpc-stackless.exp
9286 * gdb.arch/ppc64-atomic-inst.exp
9287 * gdb.arch/s390-stackless.exp
9288 * gdb.arch/s390-tdbregs.exp
9289 * gdb.arch/s390-vregs.exp
9290 * gdb.arch/sparc-sysstep.exp
9291 * gdb.arch/thumb-bx-pc.exp
9292 * gdb.arch/thumb-singlestep.exp
9293 * gdb.arch/thumb2-it.exp
9294 * gdb.arch/vsx-regs.exp
9295 * gdb.asm/asm-source.exp
9296 * gdb.base/a2-run.exp
9297 * gdb.base/advance.exp
9298 * gdb.base/all-bin.exp
9299 * gdb.base/anon.exp
9300 * gdb.base/args.exp
9301 * gdb.base/arithmet.exp
9302 * gdb.base/async-shell.exp
9303 * gdb.base/async.exp
9304 * gdb.base/attach-pie-noexec.exp
9305 * gdb.base/attach-twice.exp
9306 * gdb.base/auto-load.exp
9307 * gdb.base/bang.exp
9308 * gdb.base/bitfields.exp
9309 * gdb.base/break-always.exp
9310 * gdb.base/break-caller-line.exp
9311 * gdb.base/break-entry.exp
9312 * gdb.base/break-inline.exp
9313 * gdb.base/break-on-linker-gcd-function.exp
9314 * gdb.base/break-probes.exp
9315 * gdb.base/break.exp
9316 * gdb.base/breakpoint-shadow.exp
9317 * gdb.base/call-ar-st.exp
9318 * gdb.base/call-sc.exp
9319 * gdb.base/call-signal-resume.exp
9320 * gdb.base/call-strs.exp
9321 * gdb.base/callfuncs.exp
9322 * gdb.base/catch-fork-static.exp
9323 * gdb.base/catch-gdb-caused-signals.exp
9324 * gdb.base/catch-load.exp
9325 * gdb.base/catch-signal-fork.exp
9326 * gdb.base/catch-signal.exp
9327 * gdb.base/catch-syscall.exp
9328 * gdb.base/charset.exp
9329 * gdb.base/checkpoint.exp
9330 * gdb.base/chng-syms.exp
9331 * gdb.base/code-expr.exp
9332 * gdb.base/code_elim.exp
9333 * gdb.base/commands.exp
9334 * gdb.base/completion.exp
9335 * gdb.base/complex.exp
9336 * gdb.base/cond-expr.exp
9337 * gdb.base/condbreak.exp
9338 * gdb.base/consecutive.exp
9339 * gdb.base/continue-all-already-running.exp
9340 * gdb.base/coredump-filter.exp
9341 * gdb.base/corefile.exp
9342 * gdb.base/dbx.exp
9343 * gdb.base/debug-expr.exp
9344 * gdb.base/define.exp
9345 * gdb.base/del.exp
9346 * gdb.base/disabled-location.exp
9347 * gdb.base/disasm-end-cu.exp
9348 * gdb.base/disasm-optim.exp
9349 * gdb.base/display.exp
9350 * gdb.base/duplicate-bp.exp
9351 * gdb.base/ena-dis-br.exp
9352 * gdb.base/ending-run.exp
9353 * gdb.base/enumval.exp
9354 * gdb.base/environ.exp
9355 * gdb.base/eu-strip-infcall.exp
9356 * gdb.base/eval-avoid-side-effects.exp
9357 * gdb.base/eval-skip.exp
9358 * gdb.base/exitsignal.exp
9359 * gdb.base/expand-psymtabs.exp
9360 * gdb.base/filesym.exp
9361 * gdb.base/find-unmapped.exp
9362 * gdb.base/finish.exp
9363 * gdb.base/float.exp
9364 * gdb.base/foll-exec-mode.exp
9365 * gdb.base/foll-exec.exp
9366 * gdb.base/foll-fork.exp
9367 * gdb.base/fortran-sym-case.exp
9368 * gdb.base/freebpcmd.exp
9369 * gdb.base/func-ptr.exp
9370 * gdb.base/func-ptrs.exp
9371 * gdb.base/funcargs.exp
9372 * gdb.base/gcore-buffer-overflow.exp
9373 * gdb.base/gcore-relro-pie.exp
9374 * gdb.base/gcore-relro.exp
9375 * gdb.base/gcore.exp
9376 * gdb.base/gdb1090.exp
9377 * gdb.base/gdb11530.exp
9378 * gdb.base/gdb11531.exp
9379 * gdb.base/gdb1821.exp
9380 * gdb.base/gdbindex-stabs.exp
9381 * gdb.base/gdbvars.exp
9382 * gdb.base/hbreak.exp
9383 * gdb.base/hbreak2.exp
9384 * gdb.base/included.exp
9385 * gdb.base/infcall-input.exp
9386 * gdb.base/inferior-died.exp
9387 * gdb.base/infnan.exp
9388 * gdb.base/info-macros.exp
9389 * gdb.base/info-os.exp
9390 * gdb.base/info-proc.exp
9391 * gdb.base/info-shared.exp
9392 * gdb.base/info-target.exp
9393 * gdb.base/infoline.exp
9394 * gdb.base/interp.exp
9395 * gdb.base/interrupt.exp
9396 * gdb.base/jit-reader.exp
9397 * gdb.base/jit-simple.exp
9398 * gdb.base/kill-after-signal.exp
9399 * gdb.base/kill-detach-inferiors-cmd.exp
9400 * gdb.base/label.exp
9401 * gdb.base/langs.exp
9402 * gdb.base/ldbl_e308.exp
9403 * gdb.base/line-symtabs.exp
9404 * gdb.base/linespecs.exp
9405 * gdb.base/list.exp
9406 * gdb.base/long_long.exp
9407 * gdb.base/longest-types.exp
9408 * gdb.base/maint.exp
9409 * gdb.base/max-value-size.exp
9410 * gdb.base/memattr.exp
9411 * gdb.base/mips_pro.exp
9412 * gdb.base/morestack.exp
9413 * gdb.base/moribund-step.exp
9414 * gdb.base/multi-forks.exp
9415 * gdb.base/nested-addr.exp
9416 * gdb.base/nextoverexit.exp
9417 * gdb.base/noreturn-finish.exp
9418 * gdb.base/noreturn-return.exp
9419 * gdb.base/nostdlib.exp
9420 * gdb.base/offsets.exp
9421 * gdb.base/opaque.exp
9422 * gdb.base/pc-fp.exp
9423 * gdb.base/permissions.exp
9424 * gdb.base/print-symbol-loading.exp
9425 * gdb.base/prologue-include.exp
9426 * gdb.base/psymtab.exp
9427 * gdb.base/ptype.exp
9428 * gdb.base/random-signal.exp
9429 * gdb.base/randomize.exp
9430 * gdb.base/range-stepping.exp
9431 * gdb.base/readline-ask.exp
9432 * gdb.base/recpar.exp
9433 * gdb.base/recurse.exp
9434 * gdb.base/relational.exp
9435 * gdb.base/restore.exp
9436 * gdb.base/return-nodebug.exp
9437 * gdb.base/return.exp
9438 * gdb.base/run-after-attach.exp
9439 * gdb.base/save-bp.exp
9440 * gdb.base/scope.exp
9441 * gdb.base/sect-cmd.exp
9442 * gdb.base/set-lang-auto.exp
9443 * gdb.base/set-noassign.exp
9444 * gdb.base/setvar.exp
9445 * gdb.base/sigall.exp
9446 * gdb.base/sigbpt.exp
9447 * gdb.base/siginfo-addr.exp
9448 * gdb.base/siginfo-infcall.exp
9449 * gdb.base/siginfo-obj.exp
9450 * gdb.base/siginfo.exp
9451 * gdb.base/signals-state-child.exp
9452 * gdb.base/signest.exp
9453 * gdb.base/sigstep.exp
9454 * gdb.base/sizeof.exp
9455 * gdb.base/skip.exp
9456 * gdb.base/solib-corrupted.exp
9457 * gdb.base/solib-nodir.exp
9458 * gdb.base/solib-search.exp
9459 * gdb.base/stack-checking.exp
9460 * gdb.base/stale-infcall.exp
9461 * gdb.base/stap-probe.exp
9462 * gdb.base/start.exp
9463 * gdb.base/step-break.exp
9464 * gdb.base/step-bt.exp
9465 * gdb.base/step-line.exp
9466 * gdb.base/step-over-exit.exp
9467 * gdb.base/step-over-syscall.exp
9468 * gdb.base/step-resume-infcall.exp
9469 * gdb.base/step-test.exp
9470 * gdb.base/store.exp
9471 * gdb.base/structs3.exp
9472 * gdb.base/sym-file.exp
9473 * gdb.base/symbol-without-target_section.exp
9474 * gdb.base/term.exp
9475 * gdb.base/testenv.exp
9476 * gdb.base/ui-redirect.exp
9477 * gdb.base/until.exp
9478 * gdb.base/unwindonsignal.exp
9479 * gdb.base/value-double-free.exp
9480 * gdb.base/vla-datatypes.exp
9481 * gdb.base/vla-ptr.exp
9482 * gdb.base/vla-sideeffect.exp
9483 * gdb.base/volatile.exp
9484 * gdb.base/watch-cond-infcall.exp
9485 * gdb.base/watch-cond.exp
9486 * gdb.base/watch-non-mem.exp
9487 * gdb.base/watch-read.exp
9488 * gdb.base/watch-vfork.exp
9489 * gdb.base/watchpoint-cond-gone.exp
9490 * gdb.base/watchpoint-delete.exp
9491 * gdb.base/watchpoint-hw-hit-once.exp
9492 * gdb.base/watchpoint-hw.exp
9493 * gdb.base/watchpoint-stops-at-right-insn.exp
9494 * gdb.base/watchpoints.exp
9495 * gdb.base/wchar.exp
9496 * gdb.base/whatis-exp.exp
9497 * gdb.btrace/buffer-size.exp
9498 * gdb.btrace/data.exp
9499 * gdb.btrace/delta.exp
9500 * gdb.btrace/dlopen.exp
9501 * gdb.btrace/enable.exp
9502 * gdb.btrace/exception.exp
9503 * gdb.btrace/function_call_history.exp
9504 * gdb.btrace/gcore.exp
9505 * gdb.btrace/instruction_history.exp
9506 * gdb.btrace/nohist.exp
9507 * gdb.btrace/reconnect.exp
9508 * gdb.btrace/record_goto-step.exp
9509 * gdb.btrace/record_goto.exp
9510 * gdb.btrace/rn-dl-bind.exp
9511 * gdb.btrace/segv.exp
9512 * gdb.btrace/step.exp
9513 * gdb.btrace/stepi.exp
9514 * gdb.btrace/tailcall-only.exp
9515 * gdb.btrace/tailcall.exp
9516 * gdb.btrace/tsx.exp
9517 * gdb.btrace/unknown_functions.exp
9518 * gdb.btrace/vdso.exp
9519 * gdb.compile/compile-ifunc.exp
9520 * gdb.compile/compile-ops.exp
9521 * gdb.compile/compile-print.exp
9522 * gdb.compile/compile-setjmp.exp
9523 * gdb.cp/abstract-origin.exp
9524 * gdb.cp/ambiguous.exp
9525 * gdb.cp/annota2.exp
9526 * gdb.cp/annota3.exp
9527 * gdb.cp/anon-ns.exp
9528 * gdb.cp/anon-struct.exp
9529 * gdb.cp/anon-union.exp
9530 * gdb.cp/arg-reference.exp
9531 * gdb.cp/baseenum.exp
9532 * gdb.cp/bool.exp
9533 * gdb.cp/breakpoint.exp
9534 * gdb.cp/bs15503.exp
9535 * gdb.cp/call-c.exp
9536 * gdb.cp/casts.exp
9537 * gdb.cp/chained-calls.exp
9538 * gdb.cp/class2.exp
9539 * gdb.cp/classes.exp
9540 * gdb.cp/cmpd-minsyms.exp
9541 * gdb.cp/converts.exp
9542 * gdb.cp/cp-relocate.exp
9543 * gdb.cp/cpcompletion.exp
9544 * gdb.cp/cpexprs.exp
9545 * gdb.cp/cplabel.exp
9546 * gdb.cp/cplusfuncs.exp
9547 * gdb.cp/cpsizeof.exp
9548 * gdb.cp/ctti.exp
9549 * gdb.cp/derivation.exp
9550 * gdb.cp/destrprint.exp
9551 * gdb.cp/dispcxx.exp
9552 * gdb.cp/enum-class.exp
9553 * gdb.cp/exception.exp
9554 * gdb.cp/exceptprint.exp
9555 * gdb.cp/expand-psymtabs-cxx.exp
9556 * gdb.cp/expand-sals.exp
9557 * gdb.cp/extern-c.exp
9558 * gdb.cp/filename.exp
9559 * gdb.cp/formatted-ref.exp
9560 * gdb.cp/fpointer.exp
9561 * gdb.cp/gdb1355.exp
9562 * gdb.cp/gdb2495.exp
9563 * gdb.cp/hang.exp
9564 * gdb.cp/impl-this.exp
9565 * gdb.cp/infcall-dlopen.exp
9566 * gdb.cp/inherit.exp
9567 * gdb.cp/iostream.exp
9568 * gdb.cp/koenig.exp
9569 * gdb.cp/local.exp
9570 * gdb.cp/m-data.exp
9571 * gdb.cp/m-static.exp
9572 * gdb.cp/mb-ctor.exp
9573 * gdb.cp/mb-inline.exp
9574 * gdb.cp/mb-templates.exp
9575 * gdb.cp/member-name.exp
9576 * gdb.cp/member-ptr.exp
9577 * gdb.cp/meth-typedefs.exp
9578 * gdb.cp/method.exp
9579 * gdb.cp/method2.exp
9580 * gdb.cp/minsym-fallback.exp
9581 * gdb.cp/misc.exp
9582 * gdb.cp/namelessclass.exp
9583 * gdb.cp/namespace-enum.exp
9584 * gdb.cp/namespace-nested-import.exp
9585 * gdb.cp/namespace.exp
9586 * gdb.cp/nextoverthrow.exp
9587 * gdb.cp/no-dmgl-verbose.exp
9588 * gdb.cp/non-trivial-retval.exp
9589 * gdb.cp/noparam.exp
9590 * gdb.cp/nsdecl.exp
9591 * gdb.cp/nsimport.exp
9592 * gdb.cp/nsnested.exp
9593 * gdb.cp/nsnoimports.exp
9594 * gdb.cp/nsrecurs.exp
9595 * gdb.cp/nsstress.exp
9596 * gdb.cp/nsusing.exp
9597 * gdb.cp/operator.exp
9598 * gdb.cp/oranking.exp
9599 * gdb.cp/overload-const.exp
9600 * gdb.cp/overload.exp
9601 * gdb.cp/ovldbreak.exp
9602 * gdb.cp/ovsrch.exp
9603 * gdb.cp/paren-type.exp
9604 * gdb.cp/parse-lang.exp
9605 * gdb.cp/pass-by-ref.exp
9606 * gdb.cp/pr-1023.exp
9607 * gdb.cp/pr-1210.exp
9608 * gdb.cp/pr-574.exp
9609 * gdb.cp/pr10687.exp
9610 * gdb.cp/pr12028.exp
9611 * gdb.cp/pr17132.exp
9612 * gdb.cp/pr17494.exp
9613 * gdb.cp/pr9067.exp
9614 * gdb.cp/pr9167.exp
9615 * gdb.cp/pr9631.exp
9616 * gdb.cp/printmethod.exp
9617 * gdb.cp/psmang.exp
9618 * gdb.cp/psymtab-parameter.exp
9619 * gdb.cp/ptype-cv-cp.exp
9620 * gdb.cp/ptype-flags.exp
9621 * gdb.cp/re-set-overloaded.exp
9622 * gdb.cp/ref-types.exp
9623 * gdb.cp/rtti.exp
9624 * gdb.cp/scope-err.exp
9625 * gdb.cp/shadow.exp
9626 * gdb.cp/smartp.exp
9627 * gdb.cp/static-method.exp
9628 * gdb.cp/static-print-quit.exp
9629 * gdb.cp/temargs.exp
9630 * gdb.cp/templates.exp
9631 * gdb.cp/try_catch.exp
9632 * gdb.cp/typedef-operator.exp
9633 * gdb.cp/typeid.exp
9634 * gdb.cp/userdef.exp
9635 * gdb.cp/using-crash.exp
9636 * gdb.cp/var-tag.exp
9637 * gdb.cp/virtbase.exp
9638 * gdb.cp/virtfunc.exp
9639 * gdb.cp/virtfunc2.exp
9640 * gdb.cp/vla-cxx.exp
9641 * gdb.disasm/t01_mov.exp
9642 * gdb.disasm/t02_mova.exp
9643 * gdb.disasm/t03_add.exp
9644 * gdb.disasm/t04_sub.exp
9645 * gdb.disasm/t05_cmp.exp
9646 * gdb.disasm/t06_ari2.exp
9647 * gdb.disasm/t07_ari3.exp
9648 * gdb.disasm/t08_or.exp
9649 * gdb.disasm/t09_xor.exp
9650 * gdb.disasm/t10_and.exp
9651 * gdb.disasm/t11_logs.exp
9652 * gdb.disasm/t12_bit.exp
9653 * gdb.disasm/t13_otr.exp
9654 * gdb.dlang/circular.exp
9655 * gdb.dwarf2/arr-stride.exp
9656 * gdb.dwarf2/arr-subrange.exp
9657 * gdb.dwarf2/atomic-type.exp
9658 * gdb.dwarf2/bad-regnum.exp
9659 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9660 * gdb.dwarf2/callframecfa.exp
9661 * gdb.dwarf2/clztest.exp
9662 * gdb.dwarf2/corrupt.exp
9663 * gdb.dwarf2/data-loc.exp
9664 * gdb.dwarf2/dup-psym.exp
9665 * gdb.dwarf2/dw2-anon-mptr.exp
9666 * gdb.dwarf2/dw2-anonymous-func.exp
9667 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9668 * gdb.dwarf2/dw2-bad-unresolved.exp
9669 * gdb.dwarf2/dw2-basic.exp
9670 * gdb.dwarf2/dw2-canonicalize-type.exp
9671 * gdb.dwarf2/dw2-case-insensitive.exp
9672 * gdb.dwarf2/dw2-common-block.exp
9673 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9674 * gdb.dwarf2/dw2-compressed.exp
9675 * gdb.dwarf2/dw2-const.exp
9676 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9677 * gdb.dwarf2/dw2-cu-size.exp
9678 * gdb.dwarf2/dw2-dup-frame.exp
9679 * gdb.dwarf2/dw2-entry-value.exp
9680 * gdb.dwarf2/dw2-icycle.exp
9681 * gdb.dwarf2/dw2-ifort-parameter.exp
9682 * gdb.dwarf2/dw2-inline-break.exp
9683 * gdb.dwarf2/dw2-inline-param.exp
9684 * gdb.dwarf2/dw2-intercu.exp
9685 * gdb.dwarf2/dw2-intermix.exp
9686 * gdb.dwarf2/dw2-lexical-block-bare.exp
9687 * gdb.dwarf2/dw2-linkage-name-trust.exp
9688 * gdb.dwarf2/dw2-minsym-in-cu.exp
9689 * gdb.dwarf2/dw2-noloc.exp
9690 * gdb.dwarf2/dw2-op-call.exp
9691 * gdb.dwarf2/dw2-op-out-param.exp
9692 * gdb.dwarf2/dw2-opt-structptr.exp
9693 * gdb.dwarf2/dw2-param-error.exp
9694 * gdb.dwarf2/dw2-producer.exp
9695 * gdb.dwarf2/dw2-ranges-base.exp
9696 * gdb.dwarf2/dw2-ref-missing-frame.exp
9697 * gdb.dwarf2/dw2-reg-undefined.exp
9698 * gdb.dwarf2/dw2-regno-invalid.exp
9699 * gdb.dwarf2/dw2-restore.exp
9700 * gdb.dwarf2/dw2-restrict.exp
9701 * gdb.dwarf2/dw2-single-line-discriminators.exp
9702 * gdb.dwarf2/dw2-strp.exp
9703 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9704 * gdb.dwarf2/dw2-unresolved.exp
9705 * gdb.dwarf2/dw2-var-zero-addr.exp
9706 * gdb.dwarf2/dw4-sig-types.exp
9707 * gdb.dwarf2/dwz.exp
9708 * gdb.dwarf2/dynarr-ptr.exp
9709 * gdb.dwarf2/enum-type.exp
9710 * gdb.dwarf2/gdb-index.exp
9711 * gdb.dwarf2/implptr-64bit.exp
9712 * gdb.dwarf2/implptr-optimized-out.exp
9713 * gdb.dwarf2/implptr.exp
9714 * gdb.dwarf2/implref-array.exp
9715 * gdb.dwarf2/implref-const.exp
9716 * gdb.dwarf2/implref-global.exp
9717 * gdb.dwarf2/implref-struct.exp
9718 * gdb.dwarf2/mac-fileno.exp
9719 * gdb.dwarf2/main-subprogram.exp
9720 * gdb.dwarf2/member-ptr-forwardref.exp
9721 * gdb.dwarf2/method-ptr.exp
9722 * gdb.dwarf2/missing-sig-type.exp
9723 * gdb.dwarf2/nonvar-access.exp
9724 * gdb.dwarf2/opaque-type-lookup.exp
9725 * gdb.dwarf2/pieces-optimized-out.exp
9726 * gdb.dwarf2/pieces.exp
9727 * gdb.dwarf2/pr10770.exp
9728 * gdb.dwarf2/pr13961.exp
9729 * gdb.dwarf2/staticvirtual.exp
9730 * gdb.dwarf2/subrange.exp
9731 * gdb.dwarf2/symtab-producer.exp
9732 * gdb.dwarf2/trace-crash.exp
9733 * gdb.dwarf2/typeddwarf.exp
9734 * gdb.dwarf2/valop.exp
9735 * gdb.dwarf2/watch-notconst.exp
9736 * gdb.fortran/array-element.exp
9737 * gdb.fortran/charset.exp
9738 * gdb.fortran/common-block.exp
9739 * gdb.fortran/complex.exp
9740 * gdb.fortran/derived-type-function.exp
9741 * gdb.fortran/derived-type.exp
9742 * gdb.fortran/logical.exp
9743 * gdb.fortran/module.exp
9744 * gdb.fortran/multi-dim.exp
9745 * gdb.fortran/nested-funcs.exp
9746 * gdb.fortran/print-formatted.exp
9747 * gdb.fortran/subarray.exp
9748 * gdb.fortran/vla-alloc-assoc.exp
9749 * gdb.fortran/vla-datatypes.exp
9750 * gdb.fortran/vla-history.exp
9751 * gdb.fortran/vla-ptr-info.exp
9752 * gdb.fortran/vla-ptype-sub.exp
9753 * gdb.fortran/vla-ptype.exp
9754 * gdb.fortran/vla-sizeof.exp
9755 * gdb.fortran/vla-type.exp
9756 * gdb.fortran/vla-value-sub-arbitrary.exp
9757 * gdb.fortran/vla-value-sub-finish.exp
9758 * gdb.fortran/vla-value-sub.exp
9759 * gdb.fortran/vla-value.exp
9760 * gdb.fortran/whatis_type.exp
9761 * gdb.go/chan.exp
9762 * gdb.go/handcall.exp
9763 * gdb.go/hello.exp
9764 * gdb.go/integers.exp
9765 * gdb.go/methods.exp
9766 * gdb.go/package.exp
9767 * gdb.go/strings.exp
9768 * gdb.go/types.exp
9769 * gdb.go/unsafe.exp
9770 * gdb.guile/scm-arch.exp
9771 * gdb.guile/scm-block.exp
9772 * gdb.guile/scm-breakpoint.exp
9773 * gdb.guile/scm-cmd.exp
9774 * gdb.guile/scm-disasm.exp
9775 * gdb.guile/scm-equal.exp
9776 * gdb.guile/scm-frame-args.exp
9777 * gdb.guile/scm-frame-inline.exp
9778 * gdb.guile/scm-frame.exp
9779 * gdb.guile/scm-iterator.exp
9780 * gdb.guile/scm-math.exp
9781 * gdb.guile/scm-objfile.exp
9782 * gdb.guile/scm-ports.exp
9783 * gdb.guile/scm-symbol.exp
9784 * gdb.guile/scm-symtab.exp
9785 * gdb.guile/scm-value-cc.exp
9786 * gdb.guile/types-module.exp
9787 * gdb.linespec/break-ask.exp
9788 * gdb.linespec/cpexplicit.exp
9789 * gdb.linespec/explicit.exp
9790 * gdb.linespec/keywords.exp
9791 * gdb.linespec/linespec.exp
9792 * gdb.linespec/ls-dollar.exp
9793 * gdb.linespec/ls-errs.exp
9794 * gdb.linespec/skip-two.exp
9795 * gdb.linespec/thread.exp
9796 * gdb.mi/mi-async.exp
9797 * gdb.mi/mi-basics.exp
9798 * gdb.mi/mi-break.exp
9799 * gdb.mi/mi-catch-load.exp
9800 * gdb.mi/mi-cli.exp
9801 * gdb.mi/mi-cmd-param-changed.exp
9802 * gdb.mi/mi-console.exp
9803 * gdb.mi/mi-detach.exp
9804 * gdb.mi/mi-disassemble.exp
9805 * gdb.mi/mi-eval.exp
9806 * gdb.mi/mi-file-transfer.exp
9807 * gdb.mi/mi-file.exp
9808 * gdb.mi/mi-fill-memory.exp
9809 * gdb.mi/mi-inheritance-syntax-error.exp
9810 * gdb.mi/mi-linespec-err-cp.exp
9811 * gdb.mi/mi-logging.exp
9812 * gdb.mi/mi-memory-changed.exp
9813 * gdb.mi/mi-read-memory.exp
9814 * gdb.mi/mi-record-changed.exp
9815 * gdb.mi/mi-reg-undefined.exp
9816 * gdb.mi/mi-regs.exp
9817 * gdb.mi/mi-return.exp
9818 * gdb.mi/mi-reverse.exp
9819 * gdb.mi/mi-simplerun.exp
9820 * gdb.mi/mi-solib.exp
9821 * gdb.mi/mi-stack.exp
9822 * gdb.mi/mi-stepi.exp
9823 * gdb.mi/mi-syn-frame.exp
9824 * gdb.mi/mi-until.exp
9825 * gdb.mi/mi-var-block.exp
9826 * gdb.mi/mi-var-child.exp
9827 * gdb.mi/mi-var-cmd.exp
9828 * gdb.mi/mi-var-cp.exp
9829 * gdb.mi/mi-var-display.exp
9830 * gdb.mi/mi-var-invalidate.exp
9831 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9832 * gdb.mi/mi-vla-fortran.exp
9833 * gdb.mi/mi-watch.exp
9834 * gdb.mi/mi2-var-child.exp
9835 * gdb.mi/user-selected-context-sync.exp
9836 * gdb.modula2/unbounded-array.exp
9837 * gdb.multi/dummy-frame-restore.exp
9838 * gdb.multi/multi-arch-exec.exp
9839 * gdb.multi/multi-arch.exp
9840 * gdb.multi/tids.exp
9841 * gdb.multi/watchpoint-multi.exp
9842 * gdb.opencl/callfuncs.exp
9843 * gdb.opencl/convs_casts.exp
9844 * gdb.opencl/datatypes.exp
9845 * gdb.opencl/operators.exp
9846 * gdb.opencl/vec_comps.exp
9847 * gdb.opt/clobbered-registers-O2.exp
9848 * gdb.opt/inline-break.exp
9849 * gdb.opt/inline-bt.exp
9850 * gdb.opt/inline-cmds.exp
9851 * gdb.opt/inline-locals.exp
9852 * gdb.pascal/case-insensitive-symbols.exp
9853 * gdb.pascal/floats.exp
9854 * gdb.pascal/gdb11492.exp
9855 * gdb.python/lib-types.exp
9856 * gdb.python/py-arch.exp
9857 * gdb.python/py-as-string.exp
9858 * gdb.python/py-bad-printers.exp
9859 * gdb.python/py-block.exp
9860 * gdb.python/py-breakpoint-create-fail.exp
9861 * gdb.python/py-breakpoint.exp
9862 * gdb.python/py-caller-is.exp
9863 * gdb.python/py-cmd.exp
9864 * gdb.python/py-explore-cc.exp
9865 * gdb.python/py-explore.exp
9866 * gdb.python/py-finish-breakpoint.exp
9867 * gdb.python/py-finish-breakpoint2.exp
9868 * gdb.python/py-frame-args.exp
9869 * gdb.python/py-frame-inline.exp
9870 * gdb.python/py-frame.exp
9871 * gdb.python/py-framefilter-mi.exp
9872 * gdb.python/py-infthread.exp
9873 * gdb.python/py-lazy-string.exp
9874 * gdb.python/py-linetable.exp
9875 * gdb.python/py-mi-events.exp
9876 * gdb.python/py-mi-objfile.exp
9877 * gdb.python/py-mi.exp
9878 * gdb.python/py-objfile.exp
9879 * gdb.python/py-pp-integral.exp
9880 * gdb.python/py-pp-maint.exp
9881 * gdb.python/py-pp-re-notag.exp
9882 * gdb.python/py-pp-registration.exp
9883 * gdb.python/py-recurse-unwind.exp
9884 * gdb.python/py-strfns.exp
9885 * gdb.python/py-symbol.exp
9886 * gdb.python/py-symtab.exp
9887 * gdb.python/py-sync-interp.exp
9888 * gdb.python/py-typeprint.exp
9889 * gdb.python/py-unwind-maint.exp
9890 * gdb.python/py-unwind.exp
9891 * gdb.python/py-value-cc.exp
9892 * gdb.python/py-xmethods.exp
9893 * gdb.reverse/amd64-tailcall-reverse.exp
9894 * gdb.reverse/break-precsave.exp
9895 * gdb.reverse/break-reverse.exp
9896 * gdb.reverse/consecutive-precsave.exp
9897 * gdb.reverse/consecutive-reverse.exp
9898 * gdb.reverse/finish-precsave.exp
9899 * gdb.reverse/finish-reverse-bkpt.exp
9900 * gdb.reverse/finish-reverse.exp
9901 * gdb.reverse/fstatat-reverse.exp
9902 * gdb.reverse/getresuid-reverse.exp
9903 * gdb.reverse/i386-precsave.exp
9904 * gdb.reverse/i386-reverse.exp
9905 * gdb.reverse/i386-sse-reverse.exp
9906 * gdb.reverse/i387-env-reverse.exp
9907 * gdb.reverse/i387-stack-reverse.exp
9908 * gdb.reverse/insn-reverse.exp
9909 * gdb.reverse/machinestate-precsave.exp
9910 * gdb.reverse/machinestate.exp
9911 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9912 * gdb.reverse/pipe-reverse.exp
9913 * gdb.reverse/readv-reverse.exp
9914 * gdb.reverse/recvmsg-reverse.exp
9915 * gdb.reverse/rerun-prec.exp
9916 * gdb.reverse/s390-mvcle.exp
9917 * gdb.reverse/step-precsave.exp
9918 * gdb.reverse/step-reverse.exp
9919 * gdb.reverse/time-reverse.exp
9920 * gdb.reverse/until-precsave.exp
9921 * gdb.reverse/until-reverse.exp
9922 * gdb.reverse/waitpid-reverse.exp
9923 * gdb.reverse/watch-precsave.exp
9924 * gdb.reverse/watch-reverse.exp
9925 * gdb.rust/generics.exp
9926 * gdb.rust/methods.exp
9927 * gdb.rust/modules.exp
9928 * gdb.rust/simple.exp
9929 * gdb.server/connect-with-no-symbol-file.exp
9930 * gdb.server/ext-attach.exp
9931 * gdb.server/ext-restart.exp
9932 * gdb.server/ext-wrapper.exp
9933 * gdb.server/file-transfer.exp
9934 * gdb.server/server-exec-info.exp
9935 * gdb.server/server-kill.exp
9936 * gdb.server/server-mon.exp
9937 * gdb.server/wrapper.exp
9938 * gdb.stabs/exclfwd.exp
9939 * gdb.stabs/gdb11479.exp
9940 * gdb.threads/clone-new-thread-event.exp
9941 * gdb.threads/corethreads.exp
9942 * gdb.threads/current-lwp-dead.exp
9943 * gdb.threads/dlopen-libpthread.exp
9944 * gdb.threads/gcore-thread.exp
9945 * gdb.threads/sigstep-threads.exp
9946 * gdb.threads/watchpoint-fork.exp
9947 * gdb.trace/actions-changed.exp
9948 * gdb.trace/backtrace.exp
9949 * gdb.trace/change-loc.exp
9950 * gdb.trace/circ.exp
9951 * gdb.trace/collection.exp
9952 * gdb.trace/disconnected-tracing.exp
9953 * gdb.trace/ftrace.exp
9954 * gdb.trace/mi-trace-frame-collected.exp
9955 * gdb.trace/mi-trace-unavailable.exp
9956 * gdb.trace/mi-traceframe-changed.exp
9957 * gdb.trace/mi-tsv-changed.exp
9958 * gdb.trace/no-attach-trace.exp
9959 * gdb.trace/passc-dyn.exp
9960 * gdb.trace/qtro.exp
9961 * gdb.trace/range-stepping.exp
9962 * gdb.trace/read-memory.exp
9963 * gdb.trace/save-trace.exp
9964 * gdb.trace/signal.exp
9965 * gdb.trace/status-stop.exp
9966 * gdb.trace/tfile.exp
9967 * gdb.trace/trace-break.exp
9968 * gdb.trace/trace-buffer-size.exp
9969 * gdb.trace/trace-condition.exp
9970 * gdb.trace/tracefile-pseudo-reg.exp
9971 * gdb.trace/tstatus.exp
9972 * gdb.trace/unavailable.exp
9973 * gdb.trace/while-dyn.exp
9974 * gdb.trace/while-stepping.exp
9975
34c41c68
DE
99762016-12-22 Doug Evans <xdje42@gmail.com>
9977
9978 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9979 and msymbols.
9980
16e69324
YQ
99812016-12-19 Yao Qi <yao.qi@linaro.org>
9982
9983 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9984 (test_with_self): Don't call do_steps_and_nexts, and remove
9985 code about stepping into xmalloc.
9986
f94f411b
YQ
99872016-12-09 Yao Qi <yao.qi@linaro.org>
9988
9989 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9990
99912016-12-09 Yao Qi <yao.qi@linaro.org>
9992
9993 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9994
f1b5deee
PA
99952016-12-09 Pedro Alves <palves@redhat.com>
9996
9997 * gdb.base/all-architectures-0.exp: New file.
9998 * gdb.base/all-architectures-1.exp: New file.
9999 * gdb.base/all-architectures-2.exp: New file.
10000 * gdb.base/all-architectures-3.exp: New file.
10001 * gdb.base/all-architectures-4.exp: New file.
10002 * gdb.base/all-architectures-5.exp: New file.
10003 * gdb.base/all-architectures-6.exp: New file.
10004 * gdb.base/all-architectures-7.exp: New file.
10005 * gdb.base/all-architectures.exp.in: New file.
10006
364ca42e
YQ
100072016-12-09 Yao Qi <yao.qi@linaro.org>
10008
10009 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10010
107c2d62
LM
100112016-12-02 Luis Machado <lgustavo@codesourcery.com>
10012
10013 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10014 possible.
10015 Remove useless pattern-matching code.
10016
df3ee9ca
PA
100172016-12-02 Pedro Alves <palves@redhat.com>
10018
10019 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10020 procedure.
10021 (top level): Call it.
10022
ec835369
PA
100232016-12-02 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10026 New procedure.
10027 (top level): Call it.
10028
01770bbd
PA
100292016-12-02 Pedro Alves <palves@redhat.com>
10030
10031 PR cli/20559
10032 * gdb.base/commands.exp (user_defined_command_args_eval): New
10033 procedure.
10034 (top level): Call it.
10035
008459ea
LM
100362016-12-02 Luis Machado <lgustavo@codesourcery.com>
10037
10038 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10039 timeout handling.
10040
0c1b455e
TT
100412016-12-02 Tom Tromey <tom@tromey.com>
10042
10043 * gdb.dwarf2/main-subprogram.c: New file.
10044 * gdb.dwarf2/main-subprogram.exp: New file.
10045
018572b8
LM
100462016-12-01 Luis Machado <lgustavo@codesourcery.com>
10047
10048 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10049 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10050 gdb_test_no_output for a couple of cases.
10051 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10052
84c93cd5
LM
100532016-12-01 Luis Machado <lgustavo@codesourcery.com>
10054
10055 Fix test names and standardize compilation error messages throughout
10056 the following files:
10057
10058 * gdb.ada/start.exp
10059 * gdb.arch/alpha-step.exp
10060 * gdb.arch/e500-prologue.exp
10061 * gdb.arch/ftrace-insn-reloc.exp
10062 * gdb.arch/gdb1291.exp
10063 * gdb.arch/gdb1431.exp
10064 * gdb.arch/gdb1558.exp
10065 * gdb.arch/i386-dr3-watch.exp
10066 * gdb.arch/i386-sse-stack-align.exp
10067 * gdb.arch/ia64-breakpoint-shadow.exp
10068 * gdb.arch/pa-nullify.exp
10069 * gdb.arch/powerpc-aix-prologue.exp
10070 * gdb.arch/thumb-bx-pc.exp
10071 * gdb.base/annota1.exp
10072 * gdb.base/annota3.exp
10073 * gdb.base/arrayidx.exp
10074 * gdb.base/assign.exp
10075 * gdb.base/attach.exp
10076 * gdb.base/auxv.exp
10077 * gdb.base/bang.exp
10078 * gdb.base/bfp-test.exp
10079 * gdb.base/bigcore.exp
10080 * gdb.base/bitfields2.exp
10081 * gdb.base/break-fun-addr.exp
10082 * gdb.base/break-probes.exp
10083 * gdb.base/call-rt-st.exp
10084 * gdb.base/callexit.exp
10085 * gdb.base/catch-fork-kill.exp
10086 * gdb.base/charset.exp
10087 * gdb.base/checkpoint.exp
10088 * gdb.base/comprdebug.exp
10089 * gdb.base/constvars.exp
10090 * gdb.base/coredump-filter.exp
10091 * gdb.base/cursal.exp
10092 * gdb.base/cvexpr.exp
10093 * gdb.base/detach.exp
10094 * gdb.base/display.exp
10095 * gdb.base/dmsym.exp
10096 * gdb.base/dprintf-pending.exp
10097 * gdb.base/dso2dso.exp
10098 * gdb.base/dtrace-probe.exp
10099 * gdb.base/dump.exp
10100 * gdb.base/enum_cond.exp
10101 * gdb.base/exe-lock.exp
10102 * gdb.base/exec-invalid-sysroot.exp
10103 * gdb.base/execl-update-breakpoints.exp
10104 * gdb.base/exprs.exp
10105 * gdb.base/fileio.exp
10106 * gdb.base/find.exp
10107 * gdb.base/finish.exp
10108 * gdb.base/fixsection.exp
10109 * gdb.base/foll-vfork.exp
10110 * gdb.base/frame-args.exp
10111 * gdb.base/gcore.exp
10112 * gdb.base/gdb1250.exp
10113 * gdb.base/global-var-nested-by-dso.exp
10114 * gdb.base/gnu-ifunc.exp
10115 * gdb.base/hashline1.exp
10116 * gdb.base/hashline2.exp
10117 * gdb.base/hashline3.exp
10118 * gdb.base/hbreak-in-shr-unsupported.exp
10119 * gdb.base/huge.exp
10120 * gdb.base/infcall-input.exp
10121 * gdb.base/info-fun.exp
10122 * gdb.base/info-shared.exp
10123 * gdb.base/jit-simple.exp
10124 * gdb.base/jit-so.exp
10125 * gdb.base/jit.exp
10126 * gdb.base/jump.exp
10127 * gdb.base/label.exp
10128 * gdb.base/lineinc.exp
10129 * gdb.base/logical.exp
10130 * gdb.base/longjmp.exp
10131 * gdb.base/macscp.exp
10132 * gdb.base/miscexprs.exp
10133 * gdb.base/new-ui-echo.exp
10134 * gdb.base/new-ui-pending-input.exp
10135 * gdb.base/new-ui.exp
10136 * gdb.base/nodebug.exp
10137 * gdb.base/nofield.exp
10138 * gdb.base/offsets.exp
10139 * gdb.base/overlays.exp
10140 * gdb.base/pending.exp
10141 * gdb.base/pointers.exp
10142 * gdb.base/pr11022.exp
10143 * gdb.base/printcmds.exp
10144 * gdb.base/prologue.exp
10145 * gdb.base/ptr-typedef.exp
10146 * gdb.base/realname-expand.exp
10147 * gdb.base/relativedebug.exp
10148 * gdb.base/relocate.exp
10149 * gdb.base/remote.exp
10150 * gdb.base/reread.exp
10151 * gdb.base/return2.exp
10152 * gdb.base/savedregs.exp
10153 * gdb.base/sep.exp
10154 * gdb.base/sepdebug.exp
10155 * gdb.base/sepsymtab.exp
10156 * gdb.base/set-inferior-tty.exp
10157 * gdb.base/setshow.exp
10158 * gdb.base/shlib-call.exp
10159 * gdb.base/sigaltstack.exp
10160 * gdb.base/siginfo-addr.exp
10161 * gdb.base/signals.exp
10162 * gdb.base/signull.exp
10163 * gdb.base/sigrepeat.exp
10164 * gdb.base/so-impl-ld.exp
10165 * gdb.base/solib-display.exp
10166 * gdb.base/solib-overlap.exp
10167 * gdb.base/solib-search.exp
10168 * gdb.base/solib-symbol.exp
10169 * gdb.base/structs.exp
10170 * gdb.base/structs2.exp
10171 * gdb.base/symtab-search-order.exp
10172 * gdb.base/twice.exp
10173 * gdb.base/unload.exp
10174 * gdb.base/varargs.exp
10175 * gdb.base/watchpoint-solib.exp
10176 * gdb.base/watchpoint.exp
10177 * gdb.base/whatis.exp
10178 * gdb.base/wrong_frame_bt_full.exp
10179 * gdb.btrace/dlopen.exp
10180 * gdb.cell/ea-standalone.exp
10181 * gdb.cell/ea-test.exp
10182 * gdb.cp/dispcxx.exp
10183 * gdb.cp/gdb2384.exp
10184 * gdb.cp/method2.exp
10185 * gdb.cp/nextoverthrow.exp
10186 * gdb.cp/pr10728.exp
10187 * gdb.disasm/am33.exp
10188 * gdb.disasm/h8300s.exp
10189 * gdb.disasm/mn10300.exp
10190 * gdb.disasm/sh3.exp
10191 * gdb.dwarf2/dw2-dir-file-name.exp
10192 * gdb.fortran/complex.exp
10193 * gdb.fortran/library-module.exp
10194 * gdb.guile/scm-pretty-print.exp
10195 * gdb.guile/scm-symbol.exp
10196 * gdb.guile/scm-type.exp
10197 * gdb.guile/scm-value.exp
10198 * gdb.linespec/linespec.exp
10199 * gdb.mi/gdb701.exp
10200 * gdb.mi/gdb792.exp
10201 * gdb.mi/mi-breakpoint-changed.exp
10202 * gdb.mi/mi-dprintf-pending.exp
10203 * gdb.mi/mi-dprintf.exp
10204 * gdb.mi/mi-exit-code.exp
10205 * gdb.mi/mi-pending.exp
10206 * gdb.mi/mi-solib.exp
10207 * gdb.mi/new-ui-mi-sync.exp
10208 * gdb.mi/pr11022.exp
10209 * gdb.mi/user-selected-context-sync.exp
10210 * gdb.opt/solib-intra-step.exp
10211 * gdb.python/py-events.exp
10212 * gdb.python/py-finish-breakpoint.exp
10213 * gdb.python/py-mi.exp
10214 * gdb.python/py-prettyprint.exp
10215 * gdb.python/py-shared.exp
10216 * gdb.python/py-symbol.exp
10217 * gdb.python/py-template.exp
10218 * gdb.python/py-type.exp
10219 * gdb.python/py-value.exp
10220 * gdb.reverse/solib-precsave.exp
10221 * gdb.reverse/solib-reverse.exp
10222 * gdb.server/solib-list.exp
10223 * gdb.stabs/weird.exp
10224 * gdb.threads/reconnect-signal.exp
10225 * gdb.threads/stepi-random-signal.exp
10226 * gdb.trace/actions.exp
10227 * gdb.trace/ax.exp
10228 * gdb.trace/backtrace.exp
10229 * gdb.trace/change-loc.exp
10230 * gdb.trace/deltrace.exp
10231 * gdb.trace/ftrace-lock.exp
10232 * gdb.trace/ftrace.exp
10233 * gdb.trace/infotrace.exp
10234 * gdb.trace/mi-tracepoint-changed.exp
10235 * gdb.trace/packetlen.exp
10236 * gdb.trace/passcount.exp
10237 * gdb.trace/pending.exp
10238 * gdb.trace/range-stepping.exp
10239 * gdb.trace/report.exp
10240 * gdb.trace/stap-trace.exp
10241 * gdb.trace/tfind.exp
10242 * gdb.trace/trace-break.exp
10243 * gdb.trace/trace-condition.exp
10244 * gdb.trace/trace-enable-disable.exp
10245 * gdb.trace/trace-mt.exp
10246 * gdb.trace/tracecmd.exp
10247 * gdb.trace/tspeed.exp
10248 * gdb.trace/tsv.exp
10249 * lib/perftest.exp
10250
fb9feb35
LM
102512016-12-01 Luis Machado <lgustavo@codesourcery.com>
10252
10253 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10254 with gdb_test_no_output.
10255 Use command as test name.
10256
cd2ddb6c
LM
102572016-12-01 Luis Machado <lgustavo@codesourcery.com>
10258
10259 Fix test names starting with uppercase throughout the files.
10260
10261 * gdb.ada/assign_1.exp
10262 * gdb.ada/boolean_expr.exp
10263 * gdb.base/arrayidx.exp
10264 * gdb.base/del.exp
10265 * gdb.base/gcore-buffer-overflow.exp
10266 * gdb.base/testenv.exp
10267 * gdb.compile/compile.exp
10268 * gdb.python/py-framefilter-invalidarg.exp
10269 * gdb.python/py-framefilter.exp
10270
bb95117e
LM
102712016-12-01 Luis Machado <lgustavo@codesourcery.com>
10272
10273 Fix test names starting with uppercase throughout the files.
10274
10275 * gdb.ada/array_return.exp
10276 * gdb.ada/expr_delims.exp
10277 * gdb.ada/mi_dyn_arr.exp
10278 * gdb.ada/mi_interface.exp
10279 * gdb.ada/mi_var_array.exp
10280 * gdb.ada/watch_arg.exp
10281 * gdb.arch/alpha-step.exp
10282 * gdb.arch/altivec-regs.exp
10283 * gdb.arch/e500-regs.exp
10284 * gdb.arch/powerpc-d128-regs.exp
10285 * gdb.base/arrayidx.exp
10286 * gdb.base/break.exp
10287 * gdb.base/checkpoint.exp
10288 * gdb.base/debug-expr.exp
10289 * gdb.base/dmsym.exp
10290 * gdb.base/radix.exp
10291 * gdb.base/sepdebug.exp
10292 * gdb.base/testenv.exp
10293 * gdb.base/watch_thread_num.exp
10294 * gdb.base/watchpoint-cond-gone.exp
10295 * gdb.cell/break.exp
10296 * gdb.cell/ea-cache.exp
10297 * gdb.compile/compile.exp
10298 * gdb.cp/gdb2495.exp
10299 * gdb.gdb/selftest.exp
10300 * gdb.gdb/xfullpath.exp
10301 * gdb.go/hello.exp
10302 * gdb.go/integers.exp
10303 * gdb.objc/basicclass.exp
10304 * gdb.pascal/hello.exp
10305 * gdb.pascal/integers.exp
10306 * gdb.python/py-breakpoint.exp
10307 * gdb.python/py-cmd.exp
10308 * gdb.python/py-linetable.exp
10309 * gdb.python/py-xmethods.exp
10310 * gdb.python/python.exp
10311 * gdb.reverse/consecutive-precsave.exp
10312 * gdb.reverse/finish-precsave.exp
10313 * gdb.reverse/i386-precsave.exp
10314 * gdb.reverse/machinestate-precsave.exp
10315 * gdb.reverse/sigall-precsave.exp
10316 * gdb.reverse/solib-precsave.exp
10317 * gdb.reverse/step-precsave.exp
10318 * gdb.reverse/until-precsave.exp
10319 * gdb.reverse/watch-precsave.exp
10320 * gdb.threads/leader-exit.exp
10321 * gdb.threads/pthreads.exp
10322 * gdb.threads/wp-replication.exp
10323 * gdb.trace/actions.exp
10324 * gdb.trace/mi-tsv-changed.exp
10325 * gdb.trace/tsv.exp
10326
de97fdd4
LM
103272016-12-01 Luis Machado <lgustavo@codesourcery.com>
10328
10329 Fix test names starting with uppercase throughout the files.
10330
10331 * gdb.arch/i386-bp_permanent.exp
10332 * gdb.arch/i386-gnu-cfi.exp
10333 * gdb.base/disasm-end-cu.exp
10334 * gdb.base/macscp.exp
10335 * gdb.base/pending.exp
10336 * gdb.base/watch_thread_num.exp
10337 * gdb.cp/exception.exp
10338 * gdb.cp/gdb2495.exp
10339 * gdb.cp/local.exp
10340 * gdb.python/py-evsignal.exp
10341 * gdb.python/python.exp
10342 * gdb.trace/tracecmd.exp
10343
9f058c10
LM
103442016-12-01 Luis Machado <lgustavo@codesourcery.com>
10345
10346 Fix test names starting with uppercase throughout the files.
10347
10348 * gdb.base/charset.exp
10349 * gdb.base/eval.exp
10350 * gdb.base/multi-forks.exp
10351 * gdb.guile/scm-progspace.exp
10352 * gdb.opencl/datatypes.exp
10353 * gdb.python/py-block.exp
10354 * gdb.python/py-function.exp
10355 * gdb.python/py-symbol.exp
10356 * gdb.python/py-symtab.exp
10357 * gdb.python/py-xmethods.exp
10358 * gdb.reverse/break-precsave.exp
10359 * gdb.reverse/break-reverse.exp
10360 * gdb.reverse/consecutive-precsave.exp
10361 * gdb.reverse/consecutive-reverse.exp
10362 * gdb.reverse/finish-precsave.exp
10363 * gdb.reverse/finish-reverse-bkpt.exp
10364 * gdb.reverse/finish-reverse.exp
10365 * gdb.reverse/fstatat-reverse.exp
10366 * gdb.reverse/getresuid-reverse.exp
10367 * gdb.reverse/i386-precsave.exp
10368 * gdb.reverse/i386-reverse.exp
10369 * gdb.reverse/i386-sse-reverse.exp
10370 * gdb.reverse/i387-stack-reverse.exp
10371 * gdb.reverse/insn-reverse.exp
10372 * gdb.reverse/machinestate-precsave.exp
10373 * gdb.reverse/machinestate.exp
10374 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10375 * gdb.reverse/pipe-reverse.exp
10376 * gdb.reverse/readv-reverse.exp
10377 * gdb.reverse/recvmsg-reverse.exp
10378 * gdb.reverse/rerun-prec.exp
10379 * gdb.reverse/s390-mvcle.exp
10380 * gdb.reverse/sigall-precsave.exp
10381 * gdb.reverse/sigall-reverse.exp
10382 * gdb.reverse/solib-precsave.exp
10383 * gdb.reverse/solib-reverse.exp
10384 * gdb.reverse/step-precsave.exp
10385 * gdb.reverse/step-reverse.exp
10386 * gdb.reverse/time-reverse.exp
10387 * gdb.reverse/until-precsave.exp
10388 * gdb.reverse/until-reverse.exp
10389 * gdb.reverse/waitpid-reverse.exp
10390 * gdb.reverse/watch-precsave.exp
10391 * gdb.reverse/watch-reverse.exp
10392
cdc7edd7
LM
103932016-12-01 Luis Machado <lgustavo@codesourcery.com>
10394
10395 Fix test names starting with uppercase throughout the files.
10396
10397 * gdb.arch/i386-mpx-simple_segv.exp
10398 * gdb.arch/i386-mpx.exp
10399 * gdb.arch/i386-permbkpt.exp
10400 * gdb.arch/pa-nullify.exp
10401 * gdb.arch/powerpc-d128-regs.exp
10402 * gdb.arch/vsx-regs.exp
10403 * gdb.base/bfp-test.exp
10404 * gdb.base/break.exp
10405 * gdb.base/breakpoint-shadow.exp
10406 * gdb.base/callfuncs.exp
10407 * gdb.base/charset.exp
10408 * gdb.base/commands.exp
10409 * gdb.base/completion.exp
10410 * gdb.base/dfp-test.exp
10411 * gdb.base/echo.exp
10412 * gdb.base/ending-run.exp
10413 * gdb.base/eval.exp
10414 * gdb.base/expand-psymtabs.exp
10415 * gdb.base/float128.exp
10416 * gdb.base/floatn.exp
10417 * gdb.base/foll-exec-mode.exp
10418 * gdb.base/gdb1056.exp
10419 * gdb.base/gdb11531.exp
10420 * gdb.base/kill-after-signal.exp
10421 * gdb.base/multi-forks.exp
10422 * gdb.base/overlays.exp
10423 * gdb.base/pending.exp
10424 * gdb.base/sepdebug.exp
10425 * gdb.base/testenv.exp
10426 * gdb.base/valgrind-db-attach.exp
10427 * gdb.base/watch_thread_num.exp
10428 * gdb.base/watchpoint-cond-gone.exp
10429 * gdb.base/watchpoint.exp
10430 * gdb.base/watchpoints.exp
10431 * gdb.cp/arg-reference.exp
10432 * gdb.cp/baseenum.exp
10433 * gdb.cp/operator.exp
10434 * gdb.cp/shadow.exp
10435 * gdb.dwarf2/dw2-op-out-param.exp
10436 * gdb.dwarf2/dw2-reg-undefined.exp
10437 * gdb.go/chan.exp
10438 * gdb.go/hello.exp
10439 * gdb.go/integers.exp
10440 * gdb.go/methods.exp
10441 * gdb.go/package.exp
10442 * gdb.guile/scm-parameter.exp
10443 * gdb.guile/scm-progspace.exp
10444 * gdb.guile/scm-value.exp
10445 * gdb.mi/mi-pending.exp
10446 * gdb.mi/user-selected-context-sync.exp
10447 * gdb.multi/multi-attach.exp
10448 * gdb.multi/tids.exp
10449 * gdb.opt/clobbered-registers-O2.exp
10450 * gdb.pascal/floats.exp
10451 * gdb.pascal/integers.exp
10452 * gdb.python/py-block.exp
10453 * gdb.python/py-events.exp
10454 * gdb.python/py-parameter.exp
10455 * gdb.python/py-symbol.exp
10456 * gdb.python/py-symtab.exp
10457 * gdb.python/py-type.exp
10458 * gdb.python/py-value.exp
10459 * gdb.python/py-xmethods.exp
10460 * gdb.python/python.exp
10461 * gdb.reverse/break-precsave.exp
10462 * gdb.reverse/consecutive-precsave.exp
10463 * gdb.reverse/finish-precsave.exp
10464 * gdb.reverse/i386-precsave.exp
10465 * gdb.reverse/machinestate-precsave.exp
10466 * gdb.reverse/sigall-precsave.exp
10467 * gdb.reverse/solib-precsave.exp
10468 * gdb.reverse/step-precsave.exp
10469 * gdb.reverse/until-precsave.exp
10470 * gdb.reverse/watch-precsave.exp
10471 * gdb.server/ext-attach.exp
10472 * gdb.server/ext-restart.exp
10473 * gdb.server/ext-run.exp
10474 * gdb.server/ext-wrapper.exp
10475 * gdb.stabs/gdb11479.exp
10476 * gdb.stabs/weird.exp
10477 * gdb.threads/attach-many-short-lived-threads.exp
10478 * gdb.threads/kill.exp
10479 * gdb.threads/watchpoint-fork.exp
10480
bc6c7af4
LM
104812016-12-01 Luis Machado <lgustavo@codesourcery.com>
10482
10483 Fix test names starting with uppercase throughout all the files below.
10484
10485 * gdb.ada/array_return.exp
10486 * gdb.ada/catch_ex.exp
10487 * gdb.ada/info_exc.exp
10488 * gdb.ada/mi_catch_ex.exp
10489 * gdb.ada/mi_dyn_arr.exp
10490 * gdb.ada/mi_ex_cond.exp
10491 * gdb.ada/mi_exc_info.exp
10492 * gdb.ada/mi_interface.exp
10493 * gdb.ada/mi_task_arg.exp
10494 * gdb.ada/mi_task_info.exp
10495 * gdb.ada/mi_var_array.exp
10496 * gdb.arch/alpha-step.exp
10497 * gdb.arch/amd64-disp-step.exp
10498 * gdb.arch/arm-disp-step.exp
10499 * gdb.arch/disp-step-insn-reloc.exp
10500 * gdb.arch/e500-prologue.exp
10501 * gdb.arch/ftrace-insn-reloc.exp
10502 * gdb.arch/gdb1558.exp
10503 * gdb.arch/i386-bp_permanent.exp
10504 * gdb.arch/i386-disp-step.exp
10505 * gdb.arch/i386-float.exp
10506 * gdb.arch/i386-gnu-cfi.exp
10507 * gdb.arch/ia64-breakpoint-shadow.exp
10508 * gdb.arch/mips16-thunks.exp
10509 * gdb.arch/pa-nullify.exp
10510 * gdb.arch/powerpc-aix-prologue.exp
10511 * gdb.arch/powerpc-power.exp
10512 * gdb.arch/ppc-dfp.exp
10513 * gdb.arch/s390-tdbregs.exp
10514 * gdb.arch/spu-info.exp
10515 * gdb.arch/spu-ls.exp
10516 * gdb.arch/thumb-bx-pc.exp
10517 * gdb.base/advance.exp
10518 * gdb.base/annota-input-while-running.exp
10519 * gdb.base/arrayidx.exp
10520 * gdb.base/asmlabel.exp
10521 * gdb.base/async.exp
10522 * gdb.base/attach-wait-input.exp
10523 * gdb.base/auto-connect-native-target.exp
10524 * gdb.base/batch-preserve-term-settings.exp
10525 * gdb.base/bfp-test.exp
10526 * gdb.base/bigcore.exp
10527 * gdb.base/bp-permanent.exp
10528 * gdb.base/break-always.exp
10529 * gdb.base/break-fun-addr.exp
10530 * gdb.base/break-idempotent.exp
10531 * gdb.base/break-main-file-remove-fail.exp
10532 * gdb.base/break-probes.exp
10533 * gdb.base/break-unload-file.exp
10534 * gdb.base/break.exp
10535 * gdb.base/call-ar-st.exp
10536 * gdb.base/call-rt-st.exp
10537 * gdb.base/call-sc.exp
10538 * gdb.base/call-signal-resume.exp
10539 * gdb.base/call-strs.exp
10540 * gdb.base/callexit.exp
10541 * gdb.base/callfuncs.exp
10542 * gdb.base/catch-gdb-caused-signals.exp
10543 * gdb.base/catch-signal-siginfo-cond.exp
10544 * gdb.base/catch-syscall.exp
10545 * gdb.base/compare-sections.exp
10546 * gdb.base/cond-eval-mode.exp
10547 * gdb.base/condbreak-call-false.exp
10548 * gdb.base/consecutive-step-over.exp
10549 * gdb.base/cursal.exp
10550 * gdb.base/disabled-location.exp
10551 * gdb.base/disasm-end-cu.exp
10552 * gdb.base/display.exp
10553 * gdb.base/double-prompt-target-event-error.exp
10554 * gdb.base/dprintf-bp-same-addr.exp
10555 * gdb.base/dprintf-detach.exp
10556 * gdb.base/dprintf-next.exp
10557 * gdb.base/dprintf-non-stop.exp
10558 * gdb.base/dprintf-pending.exp
10559 * gdb.base/dso2dso.exp
10560 * gdb.base/ending-run.exp
10561 * gdb.base/enum_cond.exp
10562 * gdb.base/examine-backward.exp
10563 * gdb.base/exe-lock.exp
10564 * gdb.base/exec-invalid-sysroot.exp
10565 * gdb.base/execl-update-breakpoints.exp
10566 * gdb.base/execution-termios.exp
10567 * gdb.base/fileio.exp
10568 * gdb.base/fixsection.exp
10569 * gdb.base/foll-exec-mode.exp
10570 * gdb.base/foll-exec.exp
10571 * gdb.base/fork-running-state.exp
10572 * gdb.base/frame-args.exp
10573 * gdb.base/fullpath-expand.exp
10574 * gdb.base/func-ptr.exp
10575 * gdb.base/gcore-relro-pie.exp
10576 * gdb.base/gdb1090.exp
10577 * gdb.base/gdb1555.exp
10578 * gdb.base/global-var-nested-by-dso.exp
10579 * gdb.base/gnu-ifunc.exp
10580 * gdb.base/hbreak-in-shr-unsupported.exp
10581 * gdb.base/hbreak-unmapped.exp
10582 * gdb.base/hook-stop.exp
10583 * gdb.base/infcall-input.exp
10584 * gdb.base/info-fun.exp
10585 * gdb.base/info-shared.exp
10586 * gdb.base/interrupt-noterm.exp
10587 * gdb.base/jit-so.exp
10588 * gdb.base/jit.exp
10589 * gdb.base/line-symtabs.exp
10590 * gdb.base/list.exp
10591 * gdb.base/longjmp.exp
10592 * gdb.base/macscp.exp
10593 * gdb.base/max-value-size.exp
10594 * gdb.base/nodebug.exp
10595 * gdb.base/nofield.exp
10596 * gdb.base/overlays.exp
10597 * gdb.base/paginate-after-ctrl-c-running.exp
10598 * gdb.base/paginate-bg-execution.exp
10599 * gdb.base/paginate-inferior-exit.exp
10600 * gdb.base/pending.exp
10601 * gdb.base/pr11022.exp
10602 * gdb.base/printcmds.exp
10603 * gdb.base/ptr-typedef.exp
10604 * gdb.base/ptype.exp
10605 * gdb.base/randomize.exp
10606 * gdb.base/range-stepping.exp
10607 * gdb.base/realname-expand.exp
10608 * gdb.base/relativedebug.exp
10609 * gdb.base/remote.exp
10610 * gdb.base/savedregs.exp
10611 * gdb.base/sepdebug.exp
10612 * gdb.base/set-noassign.exp
10613 * gdb.base/shlib-call.exp
10614 * gdb.base/shreloc.exp
10615 * gdb.base/sigaltstack.exp
10616 * gdb.base/sigbpt.exp
10617 * gdb.base/siginfo-addr.exp
10618 * gdb.base/siginfo-obj.exp
10619 * gdb.base/siginfo-thread.exp
10620 * gdb.base/signest.exp
10621 * gdb.base/signull.exp
10622 * gdb.base/sigrepeat.exp
10623 * gdb.base/skip.exp
10624 * gdb.base/so-impl-ld.exp
10625 * gdb.base/solib-corrupted.exp
10626 * gdb.base/solib-disc.exp
10627 * gdb.base/solib-display.exp
10628 * gdb.base/solib-overlap.exp
10629 * gdb.base/solib-search.exp
10630 * gdb.base/solib-symbol.exp
10631 * gdb.base/source-execution.exp
10632 * gdb.base/sss-bp-on-user-bp-2.exp
10633 * gdb.base/sss-bp-on-user-bp.exp
10634 * gdb.base/stack-checking.exp
10635 * gdb.base/stale-infcall.exp
10636 * gdb.base/step-break.exp
10637 * gdb.base/step-line.exp
10638 * gdb.base/step-over-exit.exp
10639 * gdb.base/step-test.exp
10640 * gdb.base/structs.exp
10641 * gdb.base/sym-file.exp
10642 * gdb.base/symtab-search-order.exp
10643 * gdb.base/term.exp
10644 * gdb.base/type-opaque.exp
10645 * gdb.base/unload.exp
10646 * gdb.base/until-nodebug.exp
10647 * gdb.base/until.exp
10648 * gdb.base/unwindonsignal.exp
10649 * gdb.base/watch-cond.exp
10650 * gdb.base/watch-non-mem.exp
10651 * gdb.base/watch_thread_num.exp
10652 * gdb.base/watchpoint-reuse-slot.exp
10653 * gdb.base/watchpoint-solib.exp
10654 * gdb.base/watchpoint.exp
10655 * gdb.btrace/dlopen.exp
10656 * gdb.cell/arch.exp
10657 * gdb.cell/break.exp
10658 * gdb.cell/bt.exp
10659 * gdb.cell/core.exp
10660 * gdb.cell/data.exp
10661 * gdb.cell/dwarfaddr.exp
10662 * gdb.cell/ea-cache.exp
10663 * gdb.cell/ea-standalone.exp
10664 * gdb.cell/ea-test.exp
10665 * gdb.cell/f-regs.exp
10666 * gdb.cell/fork.exp
10667 * gdb.cell/gcore.exp
10668 * gdb.cell/mem-access.exp
10669 * gdb.cell/ptype.exp
10670 * gdb.cell/registers.exp
10671 * gdb.cell/sizeof.exp
10672 * gdb.cell/solib-symbol.exp
10673 * gdb.cell/solib.exp
10674 * gdb.compile/compile-tls.exp
10675 * gdb.cp/exception.exp
10676 * gdb.cp/gdb2495.exp
10677 * gdb.cp/local.exp
10678 * gdb.cp/mb-inline.exp
10679 * gdb.cp/mb-templates.exp
10680 * gdb.cp/pr10687.exp
10681 * gdb.cp/pr9167.exp
10682 * gdb.cp/scope-err.exp
10683 * gdb.cp/templates.exp
10684 * gdb.cp/virtfunc.exp
10685 * gdb.dwarf2/dw2-dir-file-name.exp
10686 * gdb.dwarf2/dw2-single-line-discriminators.exp
10687 * gdb.fortran/complex.exp
10688 * gdb.fortran/library-module.exp
10689 * gdb.guile/guile.exp
10690 * gdb.guile/scm-cmd.exp
10691 * gdb.guile/scm-frame-inline.exp
10692 * gdb.guile/scm-objfile.exp
10693 * gdb.guile/scm-pretty-print.exp
10694 * gdb.guile/scm-symbol.exp
10695 * gdb.guile/scm-type.exp
10696 * gdb.guile/scm-value.exp
10697 * gdb.linespec/keywords.exp
10698 * gdb.linespec/ls-errs.exp
10699 * gdb.linespec/macro-relative.exp
10700 * gdb.linespec/thread.exp
10701 * gdb.mi/mi-breakpoint-changed.exp
10702 * gdb.mi/mi-dprintf-pending.exp
10703 * gdb.mi/mi-fullname-deleted.exp
10704 * gdb.mi/mi-logging.exp
10705 * gdb.mi/mi-pending.exp
10706 * gdb.mi/mi-solib.exp
10707 * gdb.mi/new-ui-mi-sync.exp
10708 * gdb.mi/user-selected-context-sync.exp
10709 * gdb.multi/dummy-frame-restore.exp
10710 * gdb.multi/multi-arch-exec.exp
10711 * gdb.multi/remove-inferiors.exp
10712 * gdb.multi/watchpoint-multi-exit.exp
10713 * gdb.opt/solib-intra-step.exp
10714 * gdb.perf/backtrace.exp
10715 * gdb.perf/single-step.exp
10716 * gdb.perf/skip-command.exp
10717 * gdb.perf/skip-prologue.exp
10718 * gdb.perf/solib.exp
10719 * gdb.python/lib-types.exp
10720 * gdb.python/py-as-string.exp
10721 * gdb.python/py-bad-printers.exp
10722 * gdb.python/py-block.exp
10723 * gdb.python/py-breakpoint.exp
10724 * gdb.python/py-cmd.exp
10725 * gdb.python/py-events.exp
10726 * gdb.python/py-evthreads.exp
10727 * gdb.python/py-finish-breakpoint.exp
10728 * gdb.python/py-finish-breakpoint2.exp
10729 * gdb.python/py-frame-inline.exp
10730 * gdb.python/py-frame.exp
10731 * gdb.python/py-inferior.exp
10732 * gdb.python/py-infthread.exp
10733 * gdb.python/py-mi.exp
10734 * gdb.python/py-objfile.exp
10735 * gdb.python/py-pp-maint.exp
10736 * gdb.python/py-pp-registration.exp
10737 * gdb.python/py-prettyprint.exp
10738 * gdb.python/py-recurse-unwind.exp
10739 * gdb.python/py-shared.exp
10740 * gdb.python/py-symbol.exp
10741 * gdb.python/py-symtab.exp
10742 * gdb.python/py-template.exp
10743 * gdb.python/py-type.exp
10744 * gdb.python/py-unwind-maint.exp
10745 * gdb.python/py-unwind.exp
10746 * gdb.python/py-value.exp
10747 * gdb.python/python.exp
10748 * gdb.reverse/finish-reverse-bkpt.exp
10749 * gdb.reverse/insn-reverse.exp
10750 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10751 * gdb.reverse/solib-precsave.exp
10752 * gdb.reverse/solib-reverse.exp
10753 * gdb.stabs/gdb11479.exp
10754 * gdb.stabs/weird.exp
10755 * gdb.threads/fork-child-threads.exp
10756 * gdb.threads/fork-plus-threads.exp
10757 * gdb.threads/fork-thread-pending.exp
10758 * gdb.threads/forking-threads-plus-breakpoint.exp
10759 * gdb.threads/hand-call-in-threads.exp
10760 * gdb.threads/interrupted-hand-call.exp
10761 * gdb.threads/linux-dp.exp
10762 * gdb.threads/local-watch-wrong-thread.exp
10763 * gdb.threads/next-while-other-thread-longjmps.exp
10764 * gdb.threads/non-ldr-exit.exp
10765 * gdb.threads/pending-step.exp
10766 * gdb.threads/print-threads.exp
10767 * gdb.threads/process-dies-while-detaching.exp
10768 * gdb.threads/process-dies-while-handling-bp.exp
10769 * gdb.threads/pthreads.exp
10770 * gdb.threads/queue-signal.exp
10771 * gdb.threads/reconnect-signal.exp
10772 * gdb.threads/signal-command-handle-nopass.exp
10773 * gdb.threads/signal-command-multiple-signals-pending.exp
10774 * gdb.threads/signal-delivered-right-thread.exp
10775 * gdb.threads/signal-sigtrap.exp
10776 * gdb.threads/sigthread.exp
10777 * gdb.threads/staticthreads.exp
10778 * gdb.threads/stepi-random-signal.exp
10779 * gdb.threads/thread-unwindonsignal.exp
10780 * gdb.threads/thread_check.exp
10781 * gdb.threads/thread_events.exp
10782 * gdb.threads/tid-reuse.exp
10783 * gdb.threads/tls-nodebug.exp
10784 * gdb.threads/tls-shared.exp
10785 * gdb.threads/tls-so_extern.exp
10786 * gdb.threads/tls.exp
10787 * gdb.threads/wp-replication.exp
10788 * gdb.trace/actions-changed.exp
10789 * gdb.trace/actions.exp
10790 * gdb.trace/backtrace.exp
10791 * gdb.trace/change-loc.exp
10792 * gdb.trace/collection.exp
10793 * gdb.trace/deltrace.exp
10794 * gdb.trace/disconnected-tracing.exp
10795 * gdb.trace/entry-values.exp
10796 * gdb.trace/ftrace-lock.exp
10797 * gdb.trace/ftrace.exp
10798 * gdb.trace/infotrace.exp
10799 * gdb.trace/mi-trace-frame-collected.exp
10800 * gdb.trace/mi-trace-unavailable.exp
10801 * gdb.trace/mi-traceframe-changed.exp
10802 * gdb.trace/mi-tracepoint-changed.exp
10803 * gdb.trace/mi-tsv-changed.exp
10804 * gdb.trace/no-attach-trace.exp
10805 * gdb.trace/packetlen.exp
10806 * gdb.trace/passc-dyn.exp
10807 * gdb.trace/passcount.exp
10808 * gdb.trace/pending.exp
10809 * gdb.trace/pr16508.exp
10810 * gdb.trace/qtro.exp
10811 * gdb.trace/range-stepping.exp
10812 * gdb.trace/read-memory.exp
10813 * gdb.trace/report.exp
10814 * gdb.trace/save-trace.exp
10815 * gdb.trace/signal.exp
10816 * gdb.trace/stap-trace.exp
10817 * gdb.trace/status-stop.exp
10818 * gdb.trace/strace.exp
10819 * gdb.trace/tfile.exp
10820 * gdb.trace/tfind.exp
10821 * gdb.trace/trace-break.exp
10822 * gdb.trace/trace-condition.exp
10823 * gdb.trace/trace-enable-disable.exp
10824 * gdb.trace/trace-mt.exp
10825 * gdb.trace/tracecmd.exp
10826 * gdb.trace/tracefile-pseudo-reg.exp
10827 * gdb.trace/tspeed.exp
10828 * gdb.trace/tstatus.exp
10829 * gdb.trace/tsv.exp
10830 * gdb.trace/unavailable.exp
10831 * gdb.trace/while-dyn.exp
10832 * gdb.trace/while-stepping.exp
10833 * lib/gdb-guile.exp
10834 * lib/gdb.exp
10835 * lib/mi-support.exp
10836 * lib/pascal.exp
10837 * lib/perftest.exp
10838 * lib/prelink-support.exp
10839 * lib/selftest-support.exp
10840
ad02e4fe
SM
108412016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10842
10843 * Makefile.in: Include disable-implicit-rules.mk.
10844
22347e55
AA
108452016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10846
10847 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10848 non-byte-aligned bit fields.
10849
da5b30da
AA
108502016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10851
10852 PR gdb/12616
10853 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10854 respects the DW_AT_data_bit_offset attribute.
10855
b593ecca
SM
108562016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10857
10858 * gdb.base/default.exp: Fix output of "set language".
10859
3b165252
SM
108602016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10861
10862 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10863 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10864 make.
10865 * configure.ac: Remove checks for the make program.
10866 * configure: Re-generate.
10867
1a2f3d7f
KB
108682016-11-16 Kevin Buettner <kevinb@redhat.com>
10869
10870 * gdb.python/py-recurse-unwind.c (main): Add loop.
10871 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10872 to read_register() and gdb.parse_and_eval(). Make each code
10873 call a separate case that can be individually tested.
10874 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10875 proc. Call cont_and_backtrace for each of the code paths that
10876 we want to test in the unwinder.
10877
b7f38fda
AA
108782016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10879
10880 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10881 the definition of struct S.
10882
1f8db343
CM
108832016-11-11 Catherine Moore <clm@codesourcery.com>
10884
10885 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10886
fad0c9fb
PA
108872016-11-09 Pedro Alves <palves@redhat.com>
10888
10889 * gdb.base/commands.exp (runto_or_return): New procedure.
10890 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10891 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10892 (progvar_simple_while_test, progvar_complex_if_while_test)
10893 (if_while_breakpoint_command_test)
10894 (infrun_breakpoint_command_test, breakpoint_command_test)
10895 (user_defined_command_test, watchpoint_command_test)
10896 (test_command_prompt_position, redefine_hook_test)
10897 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10898 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10899 multi_line_input and multi_line. Remove gdb_expect and
10900 gdb_stop_suppressing_tests uses.
10901 * lib/gdb.exp (valnum_re): New global.
10902 (multi_line_input): New procedure.
10903
8354c62c
SM
109042016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10905
10906 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10907 Remove.
10908 (test_setup): Define with proc_with_prefix.
10909 (test_cli_inferior): Likewise.
10910 (test_cli_thread): Likewise.
10911 (test_cli_frame): Likewise.
10912 (test_cli_select_frame): Likewise.
10913 (test_cli_up_down): Likewise.
10914 (test_mi_thread_select): Likewise.
10915 (test_mi_stack_select_frame): Likewise.
10916 (test_cli_in_mi_inferior): Likewise.
10917 (test_cli_in_mi_thread): Likewise.
10918 (test_cli_in_mi_frame): Likewise.
10919 (top level): Do not use with_test_prefix_procname.
10920
64f367a2
PA
109212016-11-09 Pedro Alves <palves@redhat.com>
10922
10923 * gdb.base/commands.exp (gdbvar_simple_if_test)
10924 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10925 (progvar_simple_if_test, progvar_simple_while_test)
10926 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10927 (infrun_breakpoint_command_test, breakpoint_command_test)
10928 (user_defined_command_test, watchpoint_command_test)
10929 (test_command_prompt_position, deprecated_command_test)
10930 (bp_deleted_in_command, temporary_breakpoint_commands)
10931 (stray_arg0_test, source_file_with_indented_comment)
10932 (recursive_source_test, if_commands_test)
10933 (error_clears_commands_left, redefine_hook_test)
10934 (redefine_backtrace_test): Use proc_with_prefix.
10935 * lib/gdb.exp (proc_with_prefix): New proc.
10936
0bb65f1e
AA
109372016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10938
10939 * gdb.base/tui-layout.c: New file.
10940 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10941 disassembly window contains very long lines.
10942
7353f247
TT
109432016-11-08 Tom Tromey <tom@tromey.com>
10944
10945 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10946 depend on Python 2.
10947
30a7bb83
TT
109482016-11-08 Tom Tromey <tom@tromey.com>
10949
10950 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10951 New method.
10952
cdf5a07c
MG
109532016-10-29 Manish Goregaokar <manish@mozilla.com>
10954
2806dc7e 10955 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10956
51a789c3
MG
109572016-10-27 Manish Goregaokar <manish@mozilla.com>
10958
2806dc7e
PA
10959 * gdb.rust/simple.rs: Add test for univariant enums without
10960 discriminants and for encoded struct-like enums.
51a789c3 10961
f610ab6d
PA
109622016-10-28 Pedro Alves <palves@redhat.com>
10963
10964 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10965 gdb_test_multiple, tighten regexps and match symtabs and line
10966 tables incrementally.
10967
b129b0ca
LM
109682016-10-28 Luis Machado <lgustavo@codesourcery.com>
10969
10970 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10971 general.
10972
ecf45d2c
SL
109732016-10-25 Luis Machado <lgustavo@codesourcery.com>
10974
10975 * gdb.base/exec-invalid-sysroot.exp: New file.
10976
b8d38ee4
JK
109772016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10978
10979 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10980
f90fd8c2
JK
109812016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10982
10983 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10984
2d2476aa
MR
109852016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10986
2806dc7e
PA
10987 * gdb.base/killed-outside.exp: Remove $options from a call to
10988 `prepare_for_testing'.
2d2476aa 10989
e42b25a0
SM
109902016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10991
10992 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10993 Change test message.
10994
3ccdb432
SM
109952016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10996
10997 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10998 Update comment.
10999
5bad3170
SM
110002016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11001
11002 * gdb.trace/mi-trace-save.exp: New file.
11003
5ad9dba7
YQ
110042016-10-13 Yao Qi <yao.qi@linaro.org>
11005
11006 * gdb.base/code_elim.exp (get_var_address): Remove.
11007 * gdb.base/relocate.exp: Likewise.
11008 * gdb.base/shreloc.exp: Likewise.
11009 * lib/gdb.exp (get_var_address): New.
11010
62df7e21
YQ
110112016-10-13 Yao Qi <yao.qi@linaro.org>
11012
11013 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11014 floating point tests if $skip_float_test is false.
11015
4dac951e
LM
110162016-10-12 Luis Machado <lgustavo@codesourcery.com>
11017
11018 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11019 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11020 argc values.
11021 Add 1 to argc so we guarantee distinct initial/modified argc values.
11022
8f1a8fc4
JK
110232016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11024
11025 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11026
16c85b5d
JK
110272016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11028
11029 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11030 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11031 * gdb.arch/vsx-regs.exp: Likewise.
11032
1d0e042a
YQ
110332016-10-07 Yao Qi <yao.qi@linaro.org>
11034
11035 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11036
68dadef5
MM
110372016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11038
11039 * gdb.python/python.exp: Test decode_line("*0").
11040
33fa2c6e
DE
110412016-10-06 Doug Evans <dje@google.com>
11042
11043 * gdb.python/py-value.exp (test_value_creation): Add test for large
11044 unsigned 64-bit value.
11045
9c37b5ae
TT
110462016-10-06 Tom Tromey <tom@tromey.com>
11047
11048 * gdb.compile/compile.exp: Change java tests to rust.
11049 * gdb.base/setshow.exp: Change java tests to rust.
11050 * gdb.base/default.exp: Remove java from language list.
11051 * README (Examples): Update language example.
11052 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11053 test.
11054 * lib/gdb.exp (skip_java_tests): Remove.
11055 * lib/java.exp: Remove.
11056 * gdb.java: Remove.
11057
78b86327
MR
110582016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11059
11060 * gdb.arch/mips-fcr.exp: New test.
11061 * gdb.arch/mips-fcr.c: Source for the new test.
11062
7470adbb
MR
110632016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11064
11065 * gdb.base/solib-disc.exp: Use `standard_output_file'
11066 throughout.
11067
4a556533
PA
110682016-10-06 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.base/jit-simple-dl.c: New file.
11071 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11072 * gdb.base/jit-simple.c: ... this.
11073 * gdb.base/jit-simple.exp (jit_run): Delete.
11074 (build_jit): New proc.
11075 (jit_test_reread): Recompile either the main program or the shared
11076 library, depending on what is being tested. Skip changing address
11077 if caller wants to. Compare before/after addresses. If testing
11078 standalone, explicitly load the binary. Test "maint info
11079 breakpoints".
11080 (top level): Add "standalone vs shared lib" and "change address"
11081 vs "same address" axes.
11082
5a122fbc
PA
110832016-10-06 Pedro Alves <palves@redhat.com>
11084
11085 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11086 call.
11087 (jit_run): Delete.
11088 (jit_test_reread): Use with_test_prefix. Reload the main binary
11089 explicitly. Compare the before/after addresses of the JIT
11090 descriptor.
11091
ee8da4b8
DE
110922016-08-15 Doug Evans <dje@google.com>
11093
11094 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11095 for single bitfields is bool.
11096 * gdb.xml/tdesc-regs.exp: Ditto.
11097
f389f6fe
JK
110982016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11099
11100 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11101
fdebf1a4
YQ
111022016-10-05 Yao Qi <yao.qi@linaro.org>
11103
11104 * lib/gdb.exp (support_complex_tests): Return zero if
11105 gdb_skip_float_test return true.
11106
9c36d954 111072016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11108 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11109
11110 PR gdb/20487
11111 * gdb.mi/user-selected-context-sync.exp: New file.
11112 * gdb.mi/user-selected-context-sync.c: New file.
11113
4034d0ff 111142016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11115 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11116
11117 PR gdb/20487
11118 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11119 =thread-select-event check.
11120
a4297203
PB
111212016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11122
11123 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11124 the compulsory L operand changes.
11125 * gdb.arch/powerpc-power.s: Likewise.
11126
bb805577
JK
111272016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11128
11129 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11130 * gdb.base/jit-attach-pie.c: New file.
11131 * gdb.base/jit-attach-pie.exp: New file.
11132
6d61dee5
PA
111332016-09-28 Pedro Alves <palves@redhat.com>
11134
11135 * gdb.base/infcall-input.c: New file.
11136 * gdb.base/infcall-input.exp: New file.
11137
f73842fc
YQ
111382016-09-22 Yao Qi <yao.qi@linaro.org>
11139
11140 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11141 (gdb_exit): Rename it to ...
11142 (gdbserver_gdb_exit): ... Close GDBserver.
11143 (gdb_exit): New proc, call gdbserver_gdb_exit.
11144 (mi_gdb_exit): Likewise.
11145
90681dab
YQ
111462016-09-22 Yao Qi <yao.qi@linaro.org>
11147
11148 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11149 path.
11150 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11151 Remove duplication.
11152
9c211fd8
YQ
111532016-09-22 Yao Qi <yao.qi@linaro.org>
11154
11155 * lib/gdbserver-support.exp: Check the existence of
11156 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11157
ad0a504f
AK
111582016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11159
11160 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11161
36cf1806
TT
111622016-09-21 Tom Tromey <tom@tromey.com>
11163
11164 PR gdb/20604:
11165 * gdb.base/quit.exp: New file.
11166
74172ecf
SM
111672016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11168
11169 * .gitignore: New file.
11170
3d0ec882
MR
111712016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11172
11173 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11174 throughout.
11175
8193adea
AA
111762016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11177
11178 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11179
d41a5c09
JK
111802016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11181
11182 * gdb.cp/casts.cc (decltype): Move it ...
11183 (main): ... with its call to ...
11184 * gdb.cp/casts03.cc: ... a new file.
11185 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11186
d2dfe700
JK
111872016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11188
11189 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11190
e2a92b16
PB
111912016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11192
11193 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11194 and sync up the test with tests in gas/testsuite/gas/ppc.
11195 * gdb.arch/powerpc-power.exp: Likewise.
11196
49b4de64
JK
111972016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11198
11199 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11200
2c29df25
SDJ
112012016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11202 Jan Kratochvil <jan.kratochvil@redhat.com>
11203
11204 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11205 make m1's definition to be different from m2's. Use 'dummy' as an
11206 argument for probe 'two'.
11207
cc3c2846
JB
112082016-09-10 Jon Beniston <jon@beniston.com>
11209
11210 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11211 for sim target.
11212
e1b2624a
AA
112132016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11214
11215 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11216 variable declaration.
11217 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11218 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11219 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11220 received HWCAP as its argument.
11221
4295e285
PA
112222016-09-06 Pedro Alves <palves@redhat.com>
11223
11224 * gdb.base/new-ui-pending-input.c: New file.
11225 * gdb.base/new-ui-pending-input.exp: New file.
11226 * gdb.exp (clear_gdb_spawn_id): New procedure.
11227 (with_spawn_id): Check whether gdb_spawn_id exists before
11228 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11229 on exit.
11230
00d5215e
UW
112312016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11232
11233 * gdb.base/float128.c: New file.
11234 * gdb.base/float128.exp: Likewise.
11235 * gdb.base/floatn.c: Likewise.
11236 * gdb.base/floatn.exp: Likewise.
11237
a9ff5f12
UW
112382016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11239
11240 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11241
f245535c
PA
112422016-09-05 Pedro Alves <palves@redhat.com>
11243
11244 PR backtrace/19927
11245 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11246 unwinders are immediately called as side effect of "source" or
11247 "disable unwinder" commands.
11248 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11249
ae9cf263
YQ
112502016-09-02 Yao Qi <yao.qi@linaro.org>
11251
11252 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11253 is true and $type is "float" or "double".
11254
27aba047
YQ
112552016-09-02 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11258 true.
11259 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11260 * gdb.base/call-rt-st.exp: Likewise.
11261 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11262 return value instead of gdb,skip_float_test.
11263 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11264 (do_function_calls): Use its return value instead of
11265 gdb,skip_float_test.
11266 * gdb.base/finish.exp: Likewise.
11267 * gdb.base/funcargs.exp: Likewise.
11268 * gdb.base/return.exp: Likewise.
11269 * gdb.base/return2.exp: Likewise.
11270 * gdb.base/varargs.exp: Likewise.
11271 * lib/gdb.exp (gdb_skip_float_test): Change it to
11272 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11273
5af962df
AA
112742016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11275
11276 * gdb.multi/tids.exp: Test "thread apply all".
11277
7fac6910
JK
112782016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11279
11280 * gdb.base/default.exp (tty): Remove.
11281
bb1fe4ac
KB
112822016-08-24 Kevin Buettner <kevinb@redhat.com>
11283
2806dc7e
PA
11284 * gdb.python/py-recurse-unwind.c: New file.
11285 * gdb.python/py-recurse-unwind.py: New file.
11286 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11287
0a1ddfa6
SM
112882016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11289
11290 * gdb.base/set-inferior-tty.exp: New file.
11291 * gdb.base/set-inferior-tty.c: New file.
11292
d9de1fe3
PA
112932016-08-23 Pedro Alves <palves@redhat.com>
11294
11295 PR gdb/20494
11296 * gdb.base/new-ui-echo.c: New file.
11297 * gdb.base/new-ui-echo.exp: New file.
11298
e9d9abd7
YQ
112992016-08-23 Yao Qi <yao.qi@linaro.org>
11300
11301 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11302 gdbserver_spawn.
11303 * gdb.server/connect-without-multi-process.exp (do_test):
11304 Likewise.
11305
3589529e
YQ
113062016-08-23 Yao Qi <yao.qi@linaro.org>
11307
11308 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11309 standalone_txt. Delete gdb_txt and standalone_txt on host
11310 and target. Spawn the binary on target. Copy files from
11311 target to host.
11312
6bb90213
PA
113132016-08-22 Pedro Alves <palves@redhat.com>
11314
11315 PR gdb/20505
11316 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11317 with_test_prefix. Factor out bits to ...
11318 (test_no_vdso): ... this new procedure.
11319
20c2c024
CL
113202016-08-19 Carl Love <cel@us.ibm.com>
11321
11322 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11323 maintaining separate logic for constructing the output path.
11324 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11325 * gdb.arch/ppc-dfp.exp: Likewise.
11326 * gdb.arch/ppc-fp.exp: Likewise.
11327 * gdb.arch/vsx-regs.exp: Likewise.
11328 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11329 binprefix for generating the additional binary files.
11330
0646e07d
PA
113312016-08-19 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.trace/mi-trace-frame-collected.exp
11334 (test_trace_frame_collected): On x32, expect two registers.
11335
46da9242
CL
113362016-08-18 Carl Love <cel@us.ibm.com>
11337
11338 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11339 and sync up the test with tests in gas/testsuite/gas/ppc.
11340 * gdb.arch/powerpc-power.exp: Likewise.
11341
eb2332d7
SM
113422016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11343
11344 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11345 expected error message.
11346
63c61e04
SM
113472016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11348
11349 * gdb.multi/remove-inferiors.exp: New file.
11350 * gdb.multi/remove-inferiors.c: New file.
11351
7b17065f
YQ
113522016-08-12 Yao Qi <yao.qi@linaro.org>
11353
11354 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11355 argument list.
11356
01d3dedf
PA
113572016-08-10 Pedro Alves <palves@redhat.com>
11358
11359 PR gdb/19187
11360 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11361 setup_kfails.
11362
3eb7562a
PA
113632016-08-09 Pedro Alves <palves@redhat.com>
11364 Simon Marchi <simon.marchi@ericsson.com>
11365
11366 PR gdb/20418
11367 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11368 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11369
80614914
PA
113702016-08-09 Pedro Alves <palves@redhat.com>
11371
11372 PR mi/20431
11373 * gdb.mi/mi-cmd-error.exp: New file.
11374
f348d89a
PA
113752016-08-09 Pedro Alves <palves@redhat.com>
11376
11377 PR gdb/18653
11378 * gdb.base/signals-state-child.c: New file.
11379 * gdb.base/signals-state-child.exp: New file.
11380 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11381
e5ca03b4
PA
113822016-08-09 Pedro Alves <palves@redhat.com>
11383
11384 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11385
282a0691
TT
113862016-08-03 Tom Tromey <tom@tromey.com>
11387
11388 PR python/18565:
11389 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11390
41bfcd63
YQ
113912016-08-01 Yao Qi <yao.qi@linaro.org>
11392
11393 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11394 variable mode to "multi-process" if $multi_process is 1, otherwise
11395 set it to "single-process".
11396
e3465b24
YQ
113972016-08-01 Yao Qi <yao.qi@linaro.org>
11398
11399 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11400 * gdb.cp/cpexprs.exp: Likewise.
11401 * gdb.cp/m-static.exp: Likewise.
11402
0b31a4bc
TT
114032016-07-26 Tom Tromey <tom@tromey.com>
11404
11405 PR python/20190:
11406 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11407 test.
11408
e0461dbb
MM
114092016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11410
11411 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11412 selecting assembly source files.
11413 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11414 assembly source files.
11415 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11416 assembly source files.
11417 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11418 selecting assembly source files.
11419
8194e927
SM
114202016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11421
11422 * gdb.base/new-ui.exp (do_test_invalid_args): New
11423 procedure.
11424
c0272db5
TW
114252016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11426
11427 * gdb.btrace/reconnect.c: New file.
11428 * gdb.btrace/reconnect.exp: New file.
11429
e3487908
GKB
114302016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11431
11432 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11433 to test_catch_syscall_group.
11434 (test_catch_syscall_group): New.
11435
12df5c00
TT
114362016-07-21 Tom Tromey <tom@tromey.com>
11437
11438 * gdb.rust/simple.rs (main): Use empty struct expression.
11439 * gdb.rust/simple.exp: Add tests for empty struct expression.
11440
bae62ee2
YQ
114412016-07-21 Yao Qi <yao.qi@linaro.org>
11442
11443 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11444 if gdb_skip_xml_test is true on some targets.
11445
b1b53fb3
YQ
114462016-07-21 Yao Qi <yao.qi@linaro.org>
11447
11448 * gdb.server/solib-list.exp: Unset last_loaded_file.
11449
027d97f8
JK
114502016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11451
11452 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11453 "step into captured_main (args)".
11454
7674d381
JK
114552016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11456
11457 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11458
72b5d099
JK
114592016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11460
11461 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11462
1f960ced
PA
114632016-07-19 Pedro Alves <palves@redhat.com>
11464
11465 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11466 * gdb.opt/inline-bt.exp: Likewise.
11467 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11468 additional_flags=-Winline.
11469 * gdb.opt/inline-locals.exp: Likewise.
11470 * gdb.opt/inline-markers.c (ATTR): Define.
11471 (inlined_fn): Use it.
11472
f25827c1
YQ
114732016-07-19 Yao Qi <yao.qi@linaro.org>
11474
11475 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11476 (test_with_self): Remove some code. Remove argument executable.
11477 (top-level): Use do_self_tests.
11478
37539ebe
DB
114792016-07-15 Zachary Welch <zwelch@codesourcery.com>
11480 Don Breazeal <donb@codesourcery.com>
11481
11482 * gdb.base/maint.exp: Escape paths used in regular expressions.
11483 * gdb.stabs/weird.exp: Likewise.
11484
dac790e1
TT
114852016-07-13 Tom Tromey <tom@tromey.com>
11486
11487 PR python/15620, PR python/18620:
11488 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11489 (test_bkpt_events): New procs.
11490
93daf339
TT
114912016-07-13 Tom Tromey <tom@tromey.com>
11492
11493 PR python/17698:
11494 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11495 test.
11496 (test_watchpoints): Likewise.
11497 (test_bkpt_pending): New proc.
11498
6571a381
TT
114992016-07-13 Tom Tromey <tom@tromey.com>
11500
11501 PR cli/18053:
11502 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11503 completion test.
11504
e8732474
JK
115052016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11506
11507 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11508 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11509 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11510 f_label.
11511 (g): Rename g_end_lbl to g_label.
11512 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11513 low_pc and high_pc.
11514 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11515
e0f3fd7c
TT
115162016-07-12 Tom Tromey <tom@tromey.com>
11517
11518 PR python/19293:
11519 * gdb.python/py-unwind-maint.exp: Update tests.
11520
3cfe46b6
YQ
115212016-07-12 Yao Qi <yao.qi@linaro.org>
11522
11523 * lib/selftest-support.exp (selftest_setup): Match the output
11524 when captured_main is inlined.
11525
4f19a0e6
WT
115262016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11527
11528 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11529 New variables.
11530 (print this%a, print this%b, print this): New tests.
11531 * gdb.fortran/derived-types.f90 (this): New object and
11532 initialization.
11533
986cf455
SM
115342016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11535
11536 * gdb.ada/arraydim.exp: Remove extra directory level in build
11537 directory.
11538
f0464b23
SM
115392016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11540
11541 * lib/ada.exp: Remove extra directory level in build directory.
11542 * gdb.ada/cond_lang.exp: Likewise.
11543 * gdb.ada/exec_changed.exp: Likewise.
11544 * gdb.ada/lang_switch.exp: Likewise.
11545
42d94011
MG
115462016-07-06 Manish Goregaokar <manish@mozilla.com>
11547
2806dc7e
PA
11548 * simple.rs: Add test for raw pointer subscripting.
11549 * simple.exp: Add test expectations.
42d94011 11550
647c264c
YQ
115512016-07-05 Yao Qi <yao.qi@linaro.org>
11552
11553 * gdb.mi/mi-reverse.exp: Match =record-started output.
11554
20aa2c60
PA
115552016-07-01 Pedro Alves <palves@redhat.com>
11556
11557 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11558 procedure.
11559 (jit_reader_test): Test the jit reader's unwinder.
11560 * gdb.base/jithost.c (jit_function_00_code): New global.
11561 (main): Use memcpy to fill in the mmapped code, instead of poking
11562 bytes manually here.
11563 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11564 value.
11565 (read_debug_info): Save the function's range.
11566 (read_sp): New function.
11567 (unwind_frame): Use it. Also unwind RBP.
11568 (get_frame_id): Use read_sp.
11569 (gdb_init_reader): Use calloc instead of malloc.
11570 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11571 parameter. Use gdb_test_multiple.
11572
ced2dffb
PA
115732016-07-01 Pedro Alves <palves@redhat.com>
11574 Antoine Tremblay <antoine.tremblay@ericsson.com>
11575
11576 * gdb.threads/process-dies-while-detaching.c: New file.
11577 * gdb.threads/process-dies-while-detaching.exp: New file.
11578
63000888
PA
115792016-07-01 Pedro Alves <palves@redhat.com>
11580
11581 * gdb.multi/watchpoint-multi-exit.c: New file.
11582 * gdb.multi/watchpoint-multi-exit.exp: New file.
11583
038d4868
PA
115842016-06-30 Pedro Alves <palves@redhat.com>
11585
11586 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11587 unset inferior_spawn_id.
11588
994e9c83
PA
115892016-06-30 Pedro Alves <palves@redhat.com>
11590
11591 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11592 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11593
e5653468
YQ
115942016-06-29 Yao Qi <yao.qi@linaro.org>
11595
11596 * gdb.base/return.c: Add copyright header.
11597
803b47e5
TT
115982016-06-29 Tom Tromey <tom@tromey.com>
11599
11600 PR python/20129:
11601 * gdb.python/py-framefilter.exp: Add tests for setting priority
11602 and disabling of non-existent frame filter.
11603
28244707
YQ
116042016-06-29 Yao Qi <yao.qi@linaro.org>
11605
11606 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11607 0x0f07ff.
11608
a31d2f06
YQ
116092016-06-28 Yao Qi <yao.qi@linaro.org>
11610
11611 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11612 triplets. Start gdb, execute catch syscall, and continue. Check
11613 gdb's output to determine catch syscall is supported.
11614
921d8f54
MG
116152016-06-27 Manish Goregaokar <manish@mozilla.com>
11616
25d49b86
PA
11617 * gdb.rust/simple.rs: Add test for returning unit in a function.
11618 * gdb.rust/simple.exp: Add expectation for functions returning
11619 unit.
921d8f54 11620
f4952523
PMR
116212016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11622
11623 * gdb.python/py-breakpoint-create-fail.c,
11624 gdb.python/py-breakpoint-create-fail.exp,
11625 gdb.python/py-breakpoint-create-fail.py: New testcase.
11626
fccb08f8
MG
116272016-06-25 Manish Goregaokar <manish@mozilla.com>
11628
11629 PR gdb/20239
11630 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11631 * gdb.rust/simple.exp: Add test expectations for new NonZero
11632 tests.
fccb08f8 11633
6b850546
DT
116342016-06-24 David Taylor <dtaylor@emc.com>
11635
11636 * gdb.base/offsets.exp: New file.
11637 * gdb.base/offsets.c: New file.
11638
17621150
TT
116392016-06-23 Tom Tromey <tom@tromey.com>
11640
11641 PR gdb/16483:
11642 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11643 before any filters are loaded.
11644
04d59df6
WT
116452016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11646
11647 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11648 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11649 structs.
11650 * gdb.fortran/derived-type-function.exp: New file.
11651 * gdb.fortran/derived-type-function.f90: New file.
11652
11653
ac69f786
PA
116542016-06-21 Pedro Alves <palves@redhat.com>
11655
11656 * gdb.base/new-ui.exp: New file.
11657 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11658 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11659 (with_spawn_id): New procedure.
11660
49940788
PA
116612016-06-21 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.mi/mi-exec-run.exp: New file.
11664
ef274d26
PA
116652016-06-21 Pedro Alves <palves@redhat.com>
11666
11667 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11668 breakpoint command's output on the main UI.
11669 (test_break): New procedure, factored out from calls in the top
11670 level.
11671 (top level): Use foreach_with_prefix to test MI as main UI and as
11672 separate UI.
11673
468afe6c
PA
116742016-06-21 Pedro Alves <palves@redhat.com>
11675
11676 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11677 (test_awatch_creation_and_listing)
11678 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11679 Remove 'type' parameter.
11680 (test_watchpoint_all): New parameter mi_mode. Remove
11681 with_test_prefix.
11682 (top level): Use foreach_with_prefix, and add main/separate UI MI
11683 testing axis.
11684
51f77c37
PA
116852016-06-21 Pedro Alves <palves@redhat.com>
11686
11687 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11688 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11689 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11690 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11691 (gdb_main_spawn_id, mi_spawn_id): Declare and
11692 comment.
11693 (mi_create_inferior_pty): New procedure,
11694 factored out from default_mi_gdb_start.
11695 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11696 procedures.
11697 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11698 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11699 Use mi_create_inferior_pty.
11700 (mi_gdb_start): Use eval to pass down args list.
11701
8980e177
PA
117022016-06-21 Pedro Alves <palves@redhat.com>
11703
11704 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11705 * gdb.opt/inline-cmds.exp: Add MI tests.
11706
f38d3ad1
PA
117072016-06-21 Pedro Alves <palves@redhat.com>
11708
11709 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11710
45db7c09
PA
117112016-06-21 Pedro Alves <palves@redhat.com>
11712
11713 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11714 (top level): Use it instead of mi_execute_to.
11715
5a069ab3
PA
117162016-06-21 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11719 (cont_handler_str): New.
11720 (signal_stop_handler): Set stop_handler_str instead of printing to
11721 stdout.
11722 (continue_handler): Set cont_handler_str instead of printing to
11723 stdout.
11724 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11725 mi_send_resuming_command. Print stop_handler_str and
11726 cont_handler_str instead of expecting the python events print
11727 directly.
11728
2838cc1d
SD
117292016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11730
11731 * gdb.base/jit-reader.exp: New file.
11732 * gdb.base/jithost.c: New file.
11733 * gdb.base/jithost.h: New file.
11734 * gdb.base/jitreader.c : New file.
11735 * gdb.base/jit-protocol.h: New file.
11736
21a77091
YQ
117372016-06-17 Yao Qi <yao.qi@linaro.org>
11738
11739 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11740 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11741 and detach-on-fork. Adjust tests.
11742 (top level): Invoke break_cond_on_syscall with combinations of
11743 syscall, follow-fork-mode and detach-on-fork.
11744
f50bf8e5
YQ
117452016-06-17 Yao Qi <yao.qi@linaro.org>
11746
11747 * gdb.base/step-over-exit.c: New.
11748 * gdb.base/step-over-exit.exp: New.
11749
a28d8e50
YTL
117502016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11751
11752 * gdb.base/float.exp: Add target check for nds32*-*-*.
11753 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11754
cad8e26d
AB
117552016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11756
11757 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11758 for unsupported target features.
11759 * gdb.base/call-rt-st.exp: Likewise.
11760 * gdb.base/call-sc.exp: Likewise.
11761 * gdb.base/call-signal-resume.exp: Likewise.
11762 * gdb.base/call-strs.exp: Likewise.
11763 * gdb.base/callexit.exp: Likewise.
11764 * gdb.base/callfuncs.exp: Likewise.
11765 * gdb.base/nodebug.exp: Likewise.
11766 * gdb.base/printcmds.exp: Likewise.
11767 * gdb.base/ptype.exp: Likewise.
11768 * gdb.base/structs.exp: Likewise.
11769 * gdb.base/unwindonsignal.exp: Likewise.
11770 * gdb.cp/gdb2495.exp: Likewise.
11771 * gdb.cp/templates.exp: Likewise.
11772 * gdb.cp/virtfunc.exp: Likewise.
11773 * gdb.threads/hand-call-in-threads.exp: Likewise.
11774 * gdb.threads/interrupted-hand-call.exp: Likewise.
11775 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11776
347dc102
TT
117772016-06-10 Tom Tromey <tom@tromey.com>
11778
11779 PR rust/20110:
11780 * gdb.rust/expr.exp: Add test for integer constant larger than
11781 i32.
11782
5e13cf25
BH
117832016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11784
11785 * gdb.fortran/nested-funcs.exp: New.
11786 * gdb.fortran/nested-funcs.f90: New.
11787
bb556f1f
TK
117882016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11789
11790 * gdb.base/examine-backward.c: New file.
11791 * gdb.base/examine-backward.exp: New file.
11792
38b022b4
SM
117932016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11794
11795 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11796 matching.
11797
1b40ec05
TT
117982016-06-02 Tom Tromey <tom@tromey.com>
11799
11800 PR python/18984:
11801 * gdb.python/py-shared.exp: Add solib_name test.
11802
193bd378
SM
118032016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11804
11805 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11806
3326303b
MG
118072016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11808
11809 PR c++/19893
11810 * gdb.dwarf2/implref.exp: Rename to...
11811 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11812 * gdb.dwarf2/implref-array.c: New file.
11813 * gdb.dwarf2/implref-array.exp: Likewise.
11814 * gdb.dwarf2/implref-global.c: Likewise.
11815 * gdb.dwarf2/implref-global.exp: Likewise.
11816 * gdb.dwarf2/implref-struct.c: Likewise.
11817 * gdb.dwarf2/implref-struct.exp: Likewise.
11818
825c8ef2
AT
118192016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11820
11821 * gdb.trace/trace-condition.exp: Add 64bit tests.
11822
2320162a
AT
118232016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11824
11825 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11826 bits types.
11827 (main): Adapt to 8 to 64 bits types.
11828 * gdb.trace/trace-condition.exp: Add new tests.
11829
a7818233
AT
118302016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11831
11832 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11833
0d336466
AT
118342016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11835
11836 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11837 Move condition tests...
11838 * gdb.trace/trace-condition.exp: Here.
11839
7faeb45a
AT
118402016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11841
11842 * gdb.trace/trace-condition.exp: Add counter-case tests.
11843
e385593e
JK
118442016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11845
11846 PR c++/15231
11847 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11848 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11849
744608cc
PA
118502016-05-27 Pedro Alves <palves@redhat.com>
11851
11852 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11853 New procedure.
11854 (top level): Call it, and bail out of DejaGnu is known to be bad.
11855
ac775bf4
AB
118562016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11857
11858 * gdb.base/whatis.c: Extend the test case.
11859 * gdb.base/whatis.exp: Add additional tests.
11860
2bbad2ea
BH
118612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11862
11863* gdb.fortran/type.f90: Add pointer variable.
11864* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11865
8b70175d
BH
118662016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11867
11868 * gdb.fortran/vla-type.exp: Fix testcase name.
11869
86d8a848
BH
118702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11871
11872 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11873
e188eb36
BH
118742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11875
11876 * gdb.fortran/type.f90: Add nested structures.
11877 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11878 * gdb.fortran/derived-type.exp: Adapt expected output.
11879 * gdb.fortran/vla-type.exp: Adapt expected output.
11880
9b2db1fd
BH
118812016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11882
11883 * gdb.fortran/whatis_type.exp: Adapt expected output.
11884
72b17055
BH
118852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11886
11887 * gdb.fortran/print_type.exp: Fix expected output.
11888 * gdb.fortran/whatis_type.exp: Fix expected output.
11889
3cd81d8d
BH
118902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11891
11892 * gdb.fortran/whatis_type.exp: Use multi_line.
11893
ddae9462
TT
118942016-05-24 Tom Tromey <tom@tromey.com>
11895
11896 PR python/17386:
11897 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11898 use value as an index.
11899
1957f6b8
TT
119002016-05-23 Tom Tromey <tom@tromey.com>
11901
11902 PR python/17981:
11903 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11904 no-breakpoint case.
11905
026a9174
PA
119062016-05-24 Pedro Alves <palves@redhat.com>
11907
11908 PR gdb/19828
11909 * gdb.threads/clone-attach-detach.c: New file.
11910 * gdb.threads/clone-attach-detach.exp: New file.
11911
e70a7231
FR
119122016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11913
11914 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11915
0f6ed0e0
TT
119162016-05-23 Tom Tromey <tom@tromey.com>
11917
11918 PR python/19438, PR python/18393:
11919 * gdb.python/py-progspace.exp: Add "dir" test.
11920 * gdb.python/py-objfile.exp: Add "dir" test.
11921
ffd19d61
YQ
119222016-05-23 Yao Qi <yao.qi@linaro.org>
11923
11924 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11925 * gdb.arch/thumb2-it.exp: Likewise.
11926
9e8f9b05
SM
119272016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11928
11929 * gdb.mi/mi-threads-interrupt.c: New file.
11930 * gdb.mi/mi-threads-interrupt.exp: New file.
11931
61c6156d
SM
119322016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11933
11934 PR gdb/18077
11935 * gdb.mi/mi-async-run.exp: New file.
11936 * gdb.mi/mi-async-run.c: New file.
11937
67218854
TT
119382016-05-17 Tom Tromey <tom@tromey.com>
11939 Manish Goregaokar <manishsmail@gmail.com>
11940
11941 * lib/rust-support.exp: New file.
11942 * lib/gdb.exp (skip_rust_tests): New proc.
11943 (build_executable_from_specs): Handle rust.
11944 * lib/future.exp (gdb_find_rustc): New proc.
11945 (gdb_default_target_compile): Handle rust.
11946 * gdb.rust/expr.exp: New file.
11947 * gdb.rust/generics.exp: New file.
11948 * gdb.rust/generics.rs: New file.
11949 * gdb.rust/methods.exp: New file.
11950 * gdb.rust/methods.rs: New file.
11951 * gdb.rust/modules.exp: New file.
11952 * gdb.rust/modules.rs: New file.
11953 * gdb.rust/simple.exp: New file.
11954 * gdb.rust/simple.rs: New file.
11955
c44af4eb
TT
119562016-05-17 Tom Tromey <tom@tromey.com>
11957
11958 * gdb.base/default.exp (set language): Add rust.
11959
dcd1f979
TT
119602016-05-17 Tom Tromey <tom@tromey.com>
11961
11962 * gdb.gdb/unittest.exp: New file.
11963
155b7f57
YQ
119642016-05-16 Yao Qi <yao.qi@linaro.org>
11965
11966 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11967 shell_prompt. Update shell_prompt_re.
11968
8ddd5a6c
DE
119692016-05-12 Doug Evans <dje@google.com>
11970
11971 PR symtab/19999
11972 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11973 $options when building executable.
11974 * gdb.dwarf2/fission-loclists-pie.S: New file.
11975 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11976
02e370d9
SM
119772016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11978
11979 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11980 of [is_remote target],
11981
8929ad8b
SM
119822016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11983
11984 * lib/gdb.exp (use_gdb_stub): New procedure.
11985
6c447423
DE
119862016-05-03 Yunlian Jiang <yunlian@google.com>
11987 Doug Evans <dje@google.com>
11988
11989 PR symtab/19914
11990 * gdb.dwarf2/dwp-sepdebug.c: New file.
11991 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11992
444e826c
SM
119932016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11994
11995 * gdb.base/detach.exp: Remove is_remote check.
11996
740feeaa
SM
119972016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11998
11999 * gdb.base/annota-input-while-running.exp: Don't check for
12000 [is_remote target]. Enable annotations after running to main.
12001 Remove unused "set test..." line.
12002
9080ac9d
SM
120032016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12004
12005 * gdb.trace/trace-enable-disable.exp: New file.
12006 * gdb.trace/trace-enable-disable.c: New file.
12007
952ebca5
SM
120082016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12009
12010 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12011 use it in info sharedlibrary test.
12012 * gdb.trace/ftrace-lock.exp: Likewise.
12013 * gdb.trace/ftrace.exp: Likewise.
12014 * gdb.trace/range-stepping.exp: Likewise.
12015 * gdb.trace/trace-break.exp: Likewise.
12016 * gdb.trace/trace-condition.exp: Likewise.
12017 * gdb.trace/trace-mt.exp: Likewise.
12018
d9019901
SM
120192016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12020
12021 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12022 (gdb_load_shlib): ... this.
12023 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12024 gdb_load_shlib.
12025 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12026 * gdb.base/ctxobj.exp: Likewise.
12027 * gdb.base/dprintf-pending.exp: Likewise.
12028 * gdb.base/dso2dso.exp: Likewise.
12029 * gdb.base/fixsection.exp: Likewise.
12030 * gdb.base/gcore-relro.exp: Likewise.
12031 * gdb.base/gdb1555.exp: Likewise.
12032 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12033 * gdb.base/gnu-ifunc.exp: Likewise.
12034 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12035 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12036 * gdb.base/pending.exp: Likewise.
12037 * gdb.base/print-file-var.exp: Likewise.
12038 * gdb.base/print-symbol-loading.exp: Likewise.
12039 * gdb.base/shlib-call.exp: Likewise.
12040 * gdb.base/shreloc.exp: Likewise.
12041 * gdb.base/so-impl-ld.exp: Likewise.
12042 * gdb.base/solib-disc.exp: Likewise.
12043 * gdb.base/solib-nodir.exp: Likewise.
12044 * gdb.base/solib-overlap.exp: Likewise.
12045 * gdb.base/solib-symbol.exp: Likewise.
12046 * gdb.base/solib-weak.exp (do_test): Likewise.
12047 * gdb.base/sym-file.exp: Likewise.
12048 * gdb.base/symtab-search-order.exp: Likewise.
12049 * gdb.base/type-opaque.exp: Likewise.
12050 * gdb.base/unload.exp: Likewise.
12051 * gdb.base/watchpoint-solib.exp: Likewise.
12052 * gdb.compile/compile.exp: Likewise.
12053 * gdb.cp/gdb2384.exp: Likewise.
12054 * gdb.cp/infcall-dlopen.exp: Likewise.
12055 * gdb.cp/re-set-overloaded.exp: Likewise.
12056 * gdb.fortran/library-module.exp: Likewise.
12057 * gdb.opt/solib-intra-step.exp: Likewise.
12058 * gdb.python/py-finish-breakpoint.exp: Likewise.
12059 * gdb.python/py-shared.exp: Likewise.
12060 * gdb.reverse/solib-precsave.exp: Likewise.
12061 * gdb.reverse/solib-reverse.exp: Likewise.
12062 * gdb.server/solib-list.exp: Likewise.
12063 * gdb.threads/dlopen-libpthread.exp: Likewise.
12064 * gdb.threads/tls-shared.exp: Likewise.
12065 * gdb.threads/tls-so_extern.exp: Likewise.
12066 * gdb.trace/change-loc.exp: Likewise.
12067 * gdb.trace/ftrace-lock.exp: Likewise.
12068 * gdb.trace/ftrace.exp: Likewise.
12069 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12070 * gdb.trace/pending.exp: Likewise.
12071 * gdb.trace/range-stepping.exp: Likewise.
12072 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12073 (strace_info_marker): Likewise.
12074 (strace_probe_marker): Likewise.
12075 (strace_trace_on_same_addr): Likewise.
12076 (strace_trace_on_diff_addr): Likewise.
12077 * gdb.trace/trace-break.exp: Likewise.
12078 * gdb.trace/trace-condition.exp: Likewise.
12079 * gdb.trace/trace-mt.exp: Likewise.
12080
fca4cfd9
SM
120812016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12082
12083 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12084 result of gdb_remote_download.
12085 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12086 * gdb.base/dso2dso.exp: Likewise.
12087 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12088 * gdb.base/print-file-var.exp: Likewise.
12089 * gdb.base/shlib-call.exp: Likewise.
12090 * gdb.base/shreloc.exp: Likewise.
12091 * gdb.base/solib-overlap.exp: Likewise.
12092 * gdb.base/solib-weak.exp (do_test): Likewise.
12093 * gdb.base/unload.exp: Likewise.
12094
11cf4ffb
YQ
120952016-04-27 Yao Qi <yao.qi@linaro.org>
12096
12097 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12098 exists.
12099
3e2e34f8
KB
121002016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12101
12102 * vla-type.exp: Print structure from toplevel.
12103
8f07e298
BH
121042016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12105
12106 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12107 of dynamic types.
12108 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12109 of dynamic types.
12110
9920b434
BH
121112016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12112
12113 * gdb.fortran/vla-type.f90: New file.
12114 * gdb.fortran/vla-type.exp: New file.
12115
f3abeff5
YQ
121162016-04-25 Yao Qi <yao.qi@linaro.org>
12117
12118 * gdb.base/branch-to-self.c: New file.
12119 * gdb.base/branch-to-self.exp: New file.
12120
0a5d52f0
YQ
121212016-04-22 Yao Qi <yao.qi@linaro.org>
12122
12123 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12124 more after $hex.
12125
495346f6
YQ
121262016-04-22 Yao Qi <yao.qi@linaro.org>
12127
12128 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12129 * gdb.base/annota3.exp: Likewise.
12130
4a7e075c
YQ
121312016-04-22 Yao Qi <yao.qi@linaro.org>
12132
12133 * gdb.reverse/step-precsave.exp: Do one step and test program
12134 stops in "callee" and do multiple steps until program goes out
12135 of "callee".
12136 * gdb.reverse/step-reverse.exp: Likewise.
12137
5b061e98
YQ
121382016-04-22 Yao Qi <yao.qi@linaro.org>
12139
12140 * gdb.trace/signal.exp: Also pass if
12141 $tracepoint_hits($i) > $iterations.
12142
5c5dc57f
YQ
121432016-04-22 Yao Qi <yao.qi@linaro.org>
12144
12145 * gdb.trace/signal.c: New file.
12146 * gdb.trace/signal.exp: New file.
12147
a55411b9
DE
121482016-04-19 Doug Evans <xdje42@gmail.com>
12149
12150 * gdb.base/bad-file.exp: New file.
12151
a22df60a
MG
121522016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12153
12154 * gdb.dwarf2/implref.exp: New file.
12155
0c13f7e5
BH
121562016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12157
12158 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12159 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12160 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12161 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12162 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12163 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12164 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12165 * lib/fortran.exp (fortran_int4): New procedure.
12166 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12167 (fortran_logical4): Likewise.
12168
9b9b09e9
BH
121692016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12170
12171 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12172
a14d1f4d
BH
121732016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12174
12175 * lib/compiler.c: Add Intel specific preprocessor macros.
12176 * lib/compiler.cc: Likewise.
25d49b86 12177
7d49b1d0
LM
121782016-04-13 Luis Machado <lgustavo@codesourcery.com>
12179
12180 * gdb.server/connect-with-no-symbol-file.c: New file.
12181 * gdb.server/connect-with-no-symbol-file.exp: New file.
12182
8392fa22
SM
121832016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12184
12185 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12186
8c4c4aeb
SM
121872016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12188
12189 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12190 standard output directory.
12191
45e3745e
AT
121922016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12193
12194 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12195
e26b7e41
MM
121962016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12197
12198 * gdb.btrace/instruction_history.c (loop): Add declaration.
12199
8ce09462
AT
122002016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12201
12202 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12203
2e88a1ea
SM
122042016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12205
12206 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12207 parentheses to print.
12208 (continue_handler): Likewise.
12209
f48e22e3
SM
122102016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12211
12212 * gdb.server/solib-list.exp: Remove is_remote check.
12213 Pass shlib= to gdb_compile. Don't link shared library with
12214 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12215 Run binary filename through "readlink -f" on the target.
12216
096be756
PA
122172016-04-08 Pedro Alves <palves@redhat.com>
12218
12219 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12220 interpreter filename as argument to gdbserver_spawn.
12221 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12222 Return empty if $last_loaded_file does not exist.
12223
06500533
JK
122242016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12225
12226 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12227 * gdb.base/jit-main.c: Use exit after usage.
12228
2d35e871
JK
122292016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12230
12231 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12232 GDBHISTSIZE prior to the tests.
12233 * gdb.base/gdbinit-history.exp: Likewise.
12234
122352016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12236
12237 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12238 instead of build_executable. Use gdb_load_shlibs.
12239
c8064e7e
YQ
122402016-04-07 Yao Qi <yao.qi@linaro.org>
12241
12242 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12243 Execute "si" command.
12244
bde47561
YQ
122452016-04-07 Yao Qi <yao.qi@linaro.org>
12246
12247 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12248 number instead of the comments on some line.
12249
b16f8a3b
DB
122502016-04-06 Don Breazeal <donb@codesourcery.com>
12251
12252 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12253 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12254
c2f901df
SM
122552016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12256
12257 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12258 standard_output_file. Remove unused binfile variable.
12259
ac17fda0
CU
122602016-04-05 Catalin Udma <catalin.udma@freescale.com>
12261
12262 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12263 * gdb.python/py-mi-objfile.exp: Match "list main" output
12264 in console format.
12265
03a8c4df
SM
122662016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12267
12268 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12269 absolute.
12270
6e774b13
SM
122712016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12272
12273 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12274 absolute.
12275 * gdb.trace/ftrace.exp: Likewise.
12276 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12277 targets as well.
12278 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12279 (gdb_load_shlibs): Copy libraries to test directory when testing
12280 natively. Only set solib-search-path if testing remotely.
12281 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12282
7817ea46
SM
122832016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12284
12285 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12286 gdb_download. Use it even if the target is not remote.
12287 * gdb.base/jit.exp (compile_jit_test): Likewise.
12288 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12289 output directory if the destination board is local, otherwise use
12290 the standard remote_download from DejaGnu.
12291 (gdb_download): Remove.
12292 (gdb_load_shlibs): Use gdb_remote_download instead of
12293 gdb_download.
12294 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12295 Use gdb_remote_download instead of gdb_download. Use it even if
12296 the target is not remote.
12297 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12298 instead of gdb_download.
12299
7beb7f68
SM
123002016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12301
12302 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12303 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12304 run.
12305
cc63428a
AV
123062016-04-01 Artemiy Volkov <artemiyv@acm.org>
12307
12308 PR gdb/19820
12309 * gdb.base/printcmds.exp: Add artificial arrays tests.
12310
64cdf930
PA
123112016-03-31 Pedro Alves <palves@redhat.com>
12312
12313 PR gdb/19858
12314 * gdb.base/jit-main.c: Include unistd.h.
12315 (ATTACH): Define to 0 if not already defined.
12316 (wait_for_gdb, mypid): New globals.
12317 (WAIT_FOR_GDB): New macro.
12318 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12319 some breakpoint locations.
12320 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12321 New procedures.
12322 (one_jit_test): Add REATTACH parameter, and handle it. Use
12323 continue_to_test_location.
12324 (top level): Test attach, and adjusts calls to one_jit_test.
12325
40dea8cb
PA
123262016-03-31 Pedro Alves <palves@redhat.com>
12327
12328 PR gdb/19858
12329 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12330 BINSUFFIX parameter, and handle it.
12331 (top level): Adjust calls compile_jit_test.
12332
e7ea3ec7
CU
123332016-03-31 Catalin Udma <catalin.udma@freescale.com>
12334
12335 PR python/19743
12336 * gdb.python/py-mi-events-gdb.py: New file.
12337 * gdb.python/py-mi-events.c: New file.
12338 * gdb.python/py-mi-events.exp: New file.
12339
e6359af3
YQ
123402016-03-30 Yao Qi <yao.qi@linaro.org>
12341
12342 * gdb.reverse/until-precsave.exp: Match function name only.
12343 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12344 Move malloc to a condition block.
12345 * gdb.reverse/until-reverse.exp: Match function name only.
12346
a4105d04
MK
123472016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12348
12349 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12350 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12351 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12352 variable for GPR 0 instead of assuming it is register 0.
12353 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12354 * lib/trace-support.exp: Add s390 registers.
12355
bfa6adb9
YQ
123562016-03-29 Yao Qi <yao.qi@linaro.org>
12357
12358 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12359
1e6697ea
YQ
123602016-03-24 Yao Qi <yao.qi@linaro.org>
12361
12362 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12363 test message.
12364
64bcd522
AA
123652016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12366
12367 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12368 maintaining separate logic for constructing the output path.
12369
7868401b
DB
123702016-03-16 Don Breazeal <donb@codesourcery.com>
12371
12372 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12373 Retry fork and waitpid on interrupted system call errors.
12374 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12375 Use with_timeout_factor to increase timeout by factor of 10.
12376
1cafadb4
DB
123772016-03-15 Don Breazeal <donb@codesourcery.com>
12378
12379 * gdb.cp/scope-err.cc: New test program.
12380 * gdb.cp/scope-err.exp: New test script.
12381 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12382 lines and "set breakpoint here" comment.
12383 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12384 Fixed some whitespace and format issues.
12385 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12386 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12387
81516450
DE
123882016-03-15 Doug Evans <dje@google.com>
12389
12390 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12391 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12392 All callers updated. Add tests for enums, mixed flags register.
12393
aa52b601
DE
123942016-03-15 Doug Evans <dje@google.com>
12395
12396 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12397 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12398
fa4ff313
SM
123992016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12400
12401 * gdb.base/default.exp: Add $_as_string to the list of expected
12402 convenience functions.
12403
f2403c39
AB
124042016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12405
12406 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12407
f2f3ccb9
SM
124082016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12409
12410 * gdb.python/py-as-string.exp: New file.
12411 * gdb.python/py-as-string.c: New file.
12412
00dbd492
PA
124132016-03-09 Pedro Alves <palves@redhat.com>
12414
12415 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12416 signal" -> "Thread NN received signal" output change.
12417 * gdb.threads/ia64-sigill.exp: Likewise.
12418 * gdb.threads/linux-dp.exp: Likewise.
12419 * gdb.threads/manythreads.exp: Likewise.
12420 * gdb.threads/pending-step.exp: Likewise.
12421 * gdb.threads/print-threads.exp: Likewise.
12422 * gdb.threads/sigstep-threads.exp: Likewise.
12423 * gdb.threads/staticthreads.exp: Likewise.
12424 * gdb.threads/tls.exp: Likewise.
12425
1e6697ea
YQ
124262016-03-09 Pedro Alves <palves@redhat.com>
12427
12428 * gdb.base/command-line-input.exp: New file.
12429
b04fd3be
MK
124302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12431
12432 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12433 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12434 * gdb.trace/pending.exp: Accept leading dot before function name.
12435 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12436 * lib/trace-support.exp: Set registers for ppc.
12437
98fa59e9
MK
124382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12439
12440 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12441 use it for disassembly; accept .main in addition to main in backtrace.
12442
f77198c8
MK
124432016-03-09 Wei-cheng Wang <cole945@gmail.com>
12444 Marcin Kościelnicki <koriakin@0x04.net>
12445
12446 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12447 (gdb_recursion_test_ptr): New global variable.
12448 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12449 gdb_recursion_test.
12450 (gdb_c_test): Ditto.
12451
ba84e0da
MK
124522016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12453
12454 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12455 ordering.
12456
4366d36e
MK
124572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12458
12459 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12460 (bar): Add bar_start_lbl label.
12461 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12462 of foo/bar for emitting DWARF and tracing.
12463
5eb264df
SDJ
124642016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12465
12466 * analyze-racy-logs.py: Set executable bit.
12467
fb6a751f
SDJ
124682016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12469
12470 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12471 (CHECK_TARGET_TMP): Likewise.
12472 (check-single-racy): New rule.
12473 (check-parallel-racy): Likewise.
12474 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12475 (do-check-parallel-racy): New rule.
12476 (check-racy/%.exp): Likewise.
12477 * README (Racy testcases): New section.
12478 * analyze-racy-logs.py: New file.
12479
bdf7e230
DE
124802016-03-03 Doug Evans <dje@google.com>
12481
12482 * gdb.base/skip.exp: Use with_test_prefix.
12483
4719d415
YQ
124842016-03-03 Yao Qi <yao.qi@linaro.org>
12485
12486 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12487 Invoke step_over_syscall "clone" and break_cond_on_syscall
12488 "clone".
12489 * gdb.base/step-over-clone.c: New file.
12490
ea507862
YQ
124912016-03-03 Yao Qi <yao.qi@linaro.org>
12492
12493 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12494 code format.
12495
8fc8cbda
YQ
124962016-03-03 Yao Qi <yao.qi@linaro.org>
12497
12498 * gdb.base/disp-step-fork.c: Rename to ...
12499 * gdb.base/step-over-fork.c: ... it. New file.
12500 * gdb.base/disp-step-vfork.c: Rename to ...
12501 * gdb.base/step-over-vfork.c: ... it. New file.
12502 * gdb.base/disp-step-syscall.exp: Rename to ...
12503 * gdb.base/step-over-syscall.exp: ... it. New file.
12504 (disp_step_cross_syscall): Rename to ...
12505 (step_over_syscall): ... it.
12506
92fa70b0
YQ
125072016-03-03 Yao Qi <yao.qi@linaro.org>
12508
12509 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12510 If target supports condition evaluation on target, invoke
12511 break_cond_on_syscall for fork and vfork.
12512
e197ad3c
YQ
125132016-03-03 Yao Qi <yao.qi@linaro.org>
12514
12515 * gdb.base/disp-step-syscall.exp: Don't invoke
12516 support_displaced_stepping.
12517 (disp_step_cross_syscall): Test with displaced stepping off and
12518 on if supported.
12519
0b47da9f
YQ
125202016-03-03 Yao Qi <yao.qi@linaro.org>
12521
12522 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12523 proc.
12524 (setup): New proc.
12525 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12526 and setup.
12527
065ab6dc
BH
125282016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12529
12530 * gdb.fortran/vla-history.exp: Remove breakpoint.
12531
07e448ad 125322016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12533
25d49b86
PA
12534 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12535 exceeds timeout.
07e448ad 12536
9ac2d526 125372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12538
25d49b86
PA
12539 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12540 breakpoint.
9ac2d526 12541
17807369
BH
125422016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12543
12544 * gdb.mi/vla.f90: Nullify pointer after declaration.
12545
86e501af
PA
125462016-03-01 Pedro Alves <palves@redhat.com>
12547
12548 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12549
1e903e32
PA
125502016-03-01 Pedro Alves <palves@redhat.com>
12551
12552 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12553 before anything else.
12554 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12555 _GNU_SOURCE here.
12556 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12557 before anything else.
12558 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12559
6ccb54e2
PA
125602016-03-01 Pedro Alves <palves@redhat.com>
12561
12562 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12563
30ca9da1
YQ
125642016-03-01 Yao Qi <yao.qi@linaro.org>
12565
12566 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12567 prepare_for_testing.
12568
dc856b38
YQ
125692016-03-01 Yao Qi <yao.qi@linaro.org>
12570
12571 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12572
4a932159
AA
125732016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12574
12575 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12576 manually constructing the output path.
12577
f2489477
AA
125782016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12579
12580 * gdb.arch/s390-stackless.S: New.
12581 * gdb.arch/s390-stackless.exp: New.
12582
38899f16
IB
125832016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12584
12585 * gdb.dlang/circular.c: New file.
12586 * gdb.dlang/circular.exp: New file.
12587
9fde51ed
YQ
125882016-02-26 Yao Qi <yao.qi@linaro.org>
12589
12590 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12591 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12592 (testcases): Update.
12593
ce90fefe
YQ
125942016-02-26 Yao Qi <yao.qi@linaro.org>
12595
12596 * gdb.reverse/aarch64.c: Rename to ...
12597 * gdb.reverse/insn-reverse.c: ... it.
12598 * gdb.reverse/aarch64.exp: Rename to ...
12599 * gdb.reverse/insn-reverse.exp: ... it.
12600
3263bceb
YQ
126012016-02-26 Yao Qi <yao.qi@linaro.org>
12602
12603 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12604 (testcase_ftype): New.
12605 (testcases): New array.
12606 (n_testcases): New.
12607 (main): Call each element in testcases.
12608 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12609 (read_testcase): New.
12610 Do the tests in a loop.
12611
6cb59ff1
YQ
126122016-02-25 Yao Qi <yao.qi@linaro.org>
12613
12614 * gdb.base/branches.c: Remove.
12615
ae91f625
MK
126162016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12617
12618 PR gdb/13808
12619 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12620
678b48b7
MK
126212016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12622
12623 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12624
7337a6f2
MK
126252016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12626
12627 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12628 change x86_64 call_insn to 'callq'.
12629
861ca91f
AT
126302016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12631
12632 * gdb.trace/tfile-avx.c: Move to...
12633 * gdb.trace/tracefile-pseudo-reg.c: Here.
12634 * gdb.trace/tfile-avx.exp: Move to...
12635 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12636
bf74e428
GB
126372016-02-24 Gary Benson <gbenson@redhat.com>
12638
12639 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12640 message on attach.
12641
cce0e923
DE
126422016-02-23 Doug Evans <dje@google.com>
12643
12644 * gdb.base/skip.c (test_skip): New function.
12645 (end_test_skip_file_and_function): New function.
12646 (test_skip_file_and_function): New function.
12647 * gdb.base/skip1.c (test_skip): New function.
12648 (skip1_test_skip_file_and_function): New function.
12649 * gdb.base/skip.exp: Add tests for new skip options.
12650 * gdb.base/skip-solib.exp: Update expected output.
12651 * gdb.perf/skip-command.cc: New file.
12652 * gdb.perf/skip-command.exp: New file.
12653 * gdb.perf/skip-command.py: New file.
12654
4000e47e
MK
126552016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12656
12657 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12658 info registers pattern.
12659
24f75ead
IB
126602016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12661
12662 * lib/future.exp: Add D support.
12663 (gdb_find_gdc): New proc.
12664 (gdb_default_target_compile): Add D support.
12665
fbb7bcbe
WW
126662016-02-18 Wei-cheng Wang <cole945@gmail.com>
12667
12668 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12669 user+system time.
12670 (trace_speed_test): Determine the iteration count for a time
12671 between 15..30 seconds.
12672
012b3a21
WT
126732016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12674
12675 * gdb.arch/i386-mpx-sigsegv.c: New file.
12676 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12677 * gdb.arch/i386-mpx-simple_segv.c: New file.
12678 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12679
2d5189bd
YQ
126802016-02-18 Yao Qi <yao.qi@linaro.org>
12681
12682 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12683 Don't call setup_kfail.
12684
40fb20d0
YQ
126852016-02-18 Yao Qi <yao.qi@linaro.org>
12686
12687 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12688 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12689
21b1f8d2
DE
126902016-02-16 Doug Evans <dje@google.com>
12691
12692 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12693 * gdb.base/skip1.c: Ditto.
12694 * gdb.base/skip.exp: Whitespace cleanup.
12695
4041ed77
DB
126962016-02-16 Don Breazeal <donb@codesourcery.com>
12697
12698 PR remote/19496
12699 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12700 Remove kfail for PR remote/19496.
12701
c4ef31bf
SM
127022016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12703
12704 * lib/gdb.exp (standard_temp_file): Return a path specific to
12705 the runtest invocation.
12706
266b65b3
SM
127072016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12708
12709 * gdb.trace/save-trace.exp: Change relative path to be in the
12710 standard output directory.
12711
a7a0a6a9
JK
127122016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12713
12714 * gdb.arch/i386-prologue.c: Add missing prototypes.
12715
c99dbb42
JK
127162016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12717
12718 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12719 * gdb.arch/i386-prologue.exp: Likewise.
12720 * gdb.arch/i386-size.exp: Likewise.
12721
aa480355
SM
127222016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12723
12724 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12725 define object file path.
12726 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12727 file path.
12728 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12729 standard_output_file to define binfile.
12730
ba881f50
JK
127312016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12732
12733 Fix compatibility with recent gfortran-5.3.1.
12734 * gdb.fortran/vla-history.exp (print vla1 allocated)
12735 (print vla2 allocated, print $2, print $3): Remove
12736 (print $4): Rename to ...
12737 (print $2): ... here.
12738 (print $9): Rename to ...
12739 (print $5): ... here.
12740 (print $10): Rename to ...
12741 (print $6): ... here.
12742 * gdb.fortran/vla.f90: Add pvla initialization.
12743
e9fb005c
JK
127442016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12745
12746 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12747 New test.
12748 * gdb.fortran/vla-value-sub.exp: Likewise.
12749
e44e00ff
MK
127502016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12751
12752 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12753
97e94151
SM
127542016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12755
12756 * i386-biarch-core.exp: Define corefile using
12757 standard_output_file.
12758
01113bc1
YQ
127592016-02-12 Yao Qi <yao.qi@linaro.org>
12760
12761 * gdb.arch/arm-single-step-kernel-helper.c: New.
12762 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12763
33b4777c
MM
127642016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12765
12766 * gdb.btrace/tailcall-only.exp: New.
12767 * gdb.btrace/tailcall-only.c: New.
12768 * gdb.btrace/x86_64-tailcall-only.S: New.
12769 * gdb.btrace/i686-tailcall-only.S: New.
12770
acc23c11
PA
127712016-02-11 Pedro Alves <palves@redhat.com>
12772
12773 * README (Parallel testing): Add missing double quotes.
12774
e352bf0a
PA
127752016-02-11 Pedro Alves <palves@redhat.com>
12776
12777 * README (Parallel testing): New section.
12778 (GDB_PARALLEL): Rewrite.
12779 (FORCE_PARALLEL): Document.
12780
9f5fed78
MK
127812016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12782
12783 * gdb.trace/tfile-avx.c: New test.
12784 * gdb.trace/tfile-avx.exp: New test.
12785
9ef9e6a6
KS
127862016-02-09 Keith Seitz <keiths@redhat.com>
12787
12788 PR breakpoints/19546
12789 * gdb.base/infcall-exec.c: New file.
12790 * gdb.base/infcall-exec2.c: New file.
12791 * gdb.base/infcall-exec.exp: New file.
12792
a96e36da
KS
127932016-02-09 Keith Seitz <keiths@redhat.com>
12794
12795 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12796 (toplevel): Call test_bkpt_address.
12797
9f61929f
KS
127982016-02-09 Keith Seitz <keiths@redhat.com>
12799
12800 PR python/19506
12801 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12802 (toplevel): Call test_bkpt_address.
12803
1e94266c
SM
128042016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12805
12806 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12807 to AC_OUTPUT.
12808 * configure: Regenerate.
12809
2a7f3dff
PA
128102016-02-09 Pedro Alves <palves@redhat.com>
12811
12812 PR breakpoints/19548
12813 * gdb.base/execl-update-breakpoints.c (some_function): New
12814 function.
12815 (main): Call it.
12816 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12817 Tighten expected GDB output.
12818
2151ccc5
SM
128192016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12820
12821 * Makefile.in (ALL_SUBDIRS): Remove.
12822 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12823 (distclean maintainer-clean realclean): Likewise.
12824 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12825 * configure: Regenerate.
12826 * gdb.ada/Makefile.in: Delete.
12827 * gdb.arch/Makefile.in: Likewise.
12828 * gdb.asm/Makefile.in: Likewise.
12829 * gdb.base/Makefile.in: Likewise.
12830 * gdb.btrace/Makefile.in: Likewise.
12831 * gdb.cell/Makefile.in: Likewise.
12832 * gdb.compile/Makefile.in: Likewise.
12833 * gdb.cp/Makefile.in: Likewise.
12834 * gdb.disasm/Makefile.in: Likewise.
12835 * gdb.dlang/Makefile.in: Likewise.
12836 * gdb.dwarf2/Makefile.in: Likewise.
12837 * gdb.fortran/Makefile.in: Likewise.
12838 * gdb.gdb/Makefile.in: Likewise.
12839 * gdb.go/Makefile.in: Likewise.
12840 * gdb.guile/Makefile.in: Likewise.
12841 * gdb.java/Makefile.in: Likewise.
12842 * gdb.linespec/Makefile.in: Likewise.
12843 * gdb.mi/Makefile.in: Likewise.
12844 * gdb.modula2/Makefile.in: Likewise.
12845 * gdb.multi/Makefile.in: Likewise.
12846 * gdb.objc/Makefile.in: Likewise.
12847 * gdb.opencl/Makefile.in: Likewise.
12848 * gdb.opt/Makefile.in: Likewise.
12849 * gdb.pascal/Makefile.in: Likewise.
12850 * gdb.perf/Makefile.in: Likewise.
12851 * gdb.python/Makefile.in: Likewise.
12852 * gdb.reverse/Makefile.in: Likewise.
12853 * gdb.server/Makefile.in: Likewise.
12854 * gdb.stabs/Makefile.in: Likewise.
12855 * gdb.threads/Makefile.in: Likewise.
12856 * gdb.trace/Makefile.in: Likewise.
12857 * gdb.xml/Makefile.in: Likewise.
12858 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12859 GDB_PARALLEL.
12860 (standard_output_file): Remove check for GDB_PARALLEL, always
12861 return path in outputs/$subdir/$testname.
12862
437277d4
SM
128632016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12864
12865 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12866 (site.exp): Assign abs_srcdir to tcl's srcdir.
12867
31d913c7
YQ
128682016-02-04 Yao Qi <yao.qi@linaro.org>
12869
12870 * gdb.base/foll-exec-mode.c: Include limits.h.
12871 (main): Add parameters argc and argv. Get directory from
12872 argv[0].
12873 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12874 compilation.
12875 * gdb.base/foll-exec.c: Include limits.h.
12876 (main): Add parameters argc and argv.
12877 Get directory from argv[0].
12878 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12879 Adjust tests on the number of lines as source code changed.
12880 * gdb.base/foll-vfork-exit.c: Include limits.h.
12881 (main): Add one line of statement before vfork.
12882 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12883 (main): Add parameters argc and argv. Get directory from
12884 argv[0].
12885 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12886 (setup_gdb): Set tbreak to skip some source lines.
12887 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12888 (main): Add parameters argc and argv. Get directory from
12889 argv[0].
12890 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12891 compilation.
12892 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12893 (main): Add parameters argc and argv. Get directory from
12894 argv[0].
12895 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12896 compilation.
12897
9482b9fb
DE
128982016-02-01 Doug Evans <dje@google.com>
12899
12900 * gdb.base/skip.exp: Clean up multiple references to same test name.
12901
6b2e4f10
PA
129022016-02-01 Pedro Alves <palves@redhat.com>
12903
ccb6afd6 12904 PR remote/19496
6b2e4f10
PA
12905 * gdb.threads/forking-threads-plus-breakpoint.exp
12906 (displaced_stepping_supported): New global.
12907 (probe_displaced_stepping_support): New procedure.
12908 (do_test): Add 'displaced' parameter, and use it.
12909 (top level): Check for displaced stepping support. Add displaced
12910 stepping on/off testing axis.
12911
37a8db1a
AB
129122016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12913
12914 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12915 pointer. Don't perform further tests on the unassociated pointer
12916 if the first test fails.
12917
5fdf6324
AB
129182016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12919
12920 * gdb.base/max-value-size.c: New file.
12921 * gdb.base/max-value-size.exp: New file.
12922 * gdb.base/huge.exp: Disable max-value-size for this test.
12923
935c6144
IB
129242016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12925
12926 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12927
7fe8399d
YQ
129282016-01-28 Yao Qi <yao.qi@linaro.org>
12929
12930 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12931
a2077e25
PA
129322016-01-25 Pedro Alves <palves@redhat.com>
12933
12934 PR threads/19461
12935 * gdb.base/fork-running-state.c: New file.
12936 * gdb.base/fork-running-state.exp: New file.
12937
1d2736d4
PA
129382016-01-25 Pedro Alves <palves@redhat.com>
12939
12940 PR gdb/19494
12941 * gdb.base/catch-fork-kill.c: New file.
12942 * gdb.base/catch-fork-kill.exp: New file.
12943
f1da4b11
PA
129442016-01-25 Pedro Alves <palves@redhat.com>
12945
12946 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12947 Delete, moved to lib/gdb.exp.
12948 * gdb.threads/forking-threads-plus-breakpoint.exp
12949 (foreach_with_prefix): Likewise.
12950 * gdb.threads/process-dies-while-handling-bp.exp
12951 (foreach_with_prefix): Likewise.
12952 * lib/gdb.exp (foreach_with_prefix): New procedure.
12953
45f38546
MK
129542016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12955
12956 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12957 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12958
dc29a1ce
MK
129592016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12960
12961 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12962 endian targets.
12963
092127d7
JK
129642016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12965 Pedro Alves <palves@redhat.com>
12966
12967 Fix testsuite compatibility with Guile.
12968 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12969 number.
12970
31d765d3
JK
129712016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12972
12973 Fix testsuite compatibility with Guile.
12974 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12975 (thread 1): New test for backtrace through signal handler.
12976
1ac78c04
YQ
129772016-01-22 Yao Qi <yao.qi@linaro.org>
12978
12979 PR testsuite/19491
12980 * gdb.base/multi-forks.c: Include
12981 ../lib/unbuffer_output.c
12982 (main): Call gdb_unbuffer_output.
12983
4f5946a8
DE
129842016-01-21 Doug Evans <dje@google.com>
12985
12986 * lib/ada.exp (gdb_compile_ada): Fix typo.
12987
305e13e6
JB
129882016-01-21 Joel Brobecker <brobecker@adacore.com>
12989
12990 * gdb.base/break-fun-addr.exp: New file.
12991 * gdb.base/break-fun-addr1.c: New file.
12992 * gdb.base/break-fun-addr2.c: New file.
12993
5f5dfff6
SM
129942016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12995
12996 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12997 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12998 enum flag values.
12999
fd356fa2
AA
130002016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13001
13002 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13003 when GDB can not set the vector return value. Add more comments
13004 for clarification.
13005
9df22175
AT
130062016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13007
13008 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13009 command.
13010
41d1845e
SM
130112016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13012
13013 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13014
01ac6840
SM
130152016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13016
13017 * Makefile.in (check-single): Pass --status to runtest.
13018 (check/%.exp): Likewise.
13019
130202016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13021
13022 * Makefile.in (check-parallel): Propagate return code from make
13023 do-check-parallel.
13024
bd0a71fa
MK
130252016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13026
13027 * gdb.trace/ftrace.exp: Fix expected message on continue.
13028 * gdb.trace/pending.exp: Fix expected message on continue.
13029 * gdb.trace/trace-break.exp: Fix expected message on continue.
13030
8bcbad33
SM
130312016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13032
13033 * lib/gdb.exp (gdb_test): Remove unused global references.
13034
f303dbd6
PA
130352016-01-18 Pedro Alves <palves@redhat.com>
13036
13037 * gdb.base/async-shell.exp: Adjust expected output.
13038 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13039 * gdb.base/siginfo-thread.exp: Adjust expected output.
13040 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13041 * gdb.java/jnpe.exp: Adjust expected output.
13042 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13043 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13044 * gdb.threads/leader-exit.exp: Adjust expected output.
13045 * gdb.threads/manythreads.exp: Adjust expected output.
13046 * gdb.threads/pthreads.exp: Adjust expected output.
13047 * gdb.threads/schedlock.exp: Adjust expected output.
13048 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13049 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13050 expected output.
13051 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13052 output.
13053 * gdb.threads/sigthread.exp: Adjust expected output.
13054 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13055
b2789696
YQ
130562016-01-18 Yao Qi <yao.qi@linaro.org>
13057
13058 * gdb.guile/scm-section-script.c: Replace @progbits with
13059 %progbits.
13060 * gdb.python/py-section-script.c: Likewise.
13061
71ef29a8
PA
130622016-01-15 Pedro Alves <palves@redhat.com>
13063
13064 * gdb.multi/tids.exp: Test star wildcard ranges.
13065
3f5b7598
PA
130662016-01-15 Pedro Alves <palves@redhat.com>
13067
13068 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13069 command from "thread apply" invocation.
13070 (thr_apply_info_thr_invalid): Default the expected output to the
13071 input tid list.
13072 (top level): Add tests that use convenience variables. Add tests
13073 for "thread apply" with a valid TID list, but missing the command.
13074
663f6d42
PA
130752016-01-13 Pedro Alves <palves@redhat.com>
13076
13077 * gdb.base/default.exp: Expect $_gthread as well.
13078 * gdb.multi/tids.exp: Test $_gthread.
13079 * gdb.threads/thread-specific.exp: Test $_gthread.
13080
c84f6bbf
PA
130812016-01-13 Pedro Alves <palves@redhat.com>
13082
13083 * gdb.multi/tids.exp: Test "info threads -gid".
13084
22a02324
PA
130852016-01-13 Pedro Alves <palves@redhat.com>
13086
13087 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13088 Breakpoint.thread.
13089 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13090
5d5658a1
PA
130912016-01-07 Pedro Alves <palves@redhat.com>
13092
13093 * gdb.base/break.exp: Adjust to output changes.
13094 * gdb.base/hbreak2.exp: Likewise.
13095 * gdb.base/sepdebug.exp: Likewise.
13096 * gdb.base/watch_thread_num.exp: Likewise.
13097 * gdb.linespec/keywords.exp: Likewise.
13098 * gdb.multi/info-threads.exp: Likewise.
13099 * gdb.threads/thread-find.exp: Likewise.
13100 * gdb.multi/tids.c: New file.
13101 * gdb.multi/tids.exp: New file.
13102
84654457
PA
131032016-01-13 Pedro Alves <palves@redhat.com>
13104
13105 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13106
e3940304
PA
131072016-01-13 Pedro Alves <palves@redhat.com>
13108
13109 * gdb.base/default.exp: Expect $_inferior as well.
13110 * gdb.multi/base.exp: Test $_inferior.
13111
a911d87a
PA
131122016-01-13 Pedro Alves <palves@redhat.com>
13113
13114 PR breakpoints/19388
13115 * gdb.base/catch-signal-siginfo-cond.c: New file.
13116 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13117
82075af2
JS
131182016-01-12 Josh Stone <jistone@redhat.com>
13119 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13120
13121 * gdb.base/catch-syscall.c (do_execve): New variable.
13122 (main): Conditionally trigger an execve.
13123 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13124 (test_catch_syscall_execve): New, check entry/return across execve.
13125 (do_syscall_tests): Call test_catch_syscall_execve.
13126
e46eeedd
PA
131272016-01-12 Pedro Alves <palves@redhat.com>
13128
13129 * gdb.base/random-signal.exp (do_test): New procedure, with body
13130 of testcase moved in.
13131
01d8c27e
JK
131322016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13133 Pedro Alves <palves@redhat.com>
13134
13135 * gdb.base/funcargs.exp (finish from indirectly called function):
13136 Reintroduce the case for 'First'.
13137
9a706302
JK
131382016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13139 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13142 (tcatch_vfork_then_child_follow_exec)
13143 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13144 identification.
13145
c0ecb95f
JK
131462016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13147
13148 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13149 and repeats to unlimited.
13150 * gdb.python/py-value.exp: Likewise.
13151 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13152 and repeats to unlimited.
13153
6cfc1fcb
JK
131542016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13155
13156 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13157 and reordering the functions.
13158 * gdb.multi/hangout.c: Likewise.
13159 * gdb.multi/hello.c: Likewise.
13160
582a1b00
SM
131612016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13162
13163 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13164 absolute.
13165 (SingleStatisticTestResult.report): Use dict.keys instead of
13166 dict.iterkeys.
13167
79bc59cb
PA
131682016-01-06 Pedro Alves <palves@redhat.com>
13169
13170 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13171
43368e1d
MM
131722016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13173
13174 * gdb.btrace/dlopen.exp: New.
13175 * gdb.btrace/dlopen.c: New.
13176 * gdb.btrace/dlopen-dso.c: New.
13177
79fad5b8
SL
131782015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13179
13180 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13181 PATTERN argument is optional.
13182
ab8314b3
JB
131832015-12-24 Joel Brobecker <brobecker@adacore.com>
13184
13185 * lib/ada.exp (target_compile_ada_from_dir): New function.
13186 (gdb_compile_ada): Reimplement avoiding the use of project files.
13187 * gdb.ada/gnat_ada.gpr: Delete.
13188 * gdb.ada/cond_lang.exp: Adjust test to make path before
13189 filename optional.
13190 * gdb.ada/small_reg_param.exp: Likewise.
13191
fe33faff
SM
131922015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13193
13194 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13195
6d265cb4
TP
131962015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13197
13198 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13199 case.
13200
10125099
SM
132012015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13202
13203 * gdb.base/break.exp: Remove dead code.
13204 * gdb.base/sepdebug.exp: Likewise.
13205
3ca22649
SM
132062015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13207
13208 * gdb.asm/asm-source.exp: Remove HP-UX references.
13209 * gdb.base/annota1.exp: Likewise.
13210 * gdb.base/annota3.exp: Likewise.
13211 * gdb.base/attach.exp: Likewise.
13212 * gdb.base/bigcore.exp: Likewise.
13213 * gdb.base/break.exp: Likewise.
13214 * gdb.base/call-ar-st.exp: Likewise.
13215 * gdb.base/callfuncs.exp: Likewise.
13216 * gdb.base/catch-fork-static.exp: Likewise.
13217 * gdb.base/display.exp: Likewise.
13218 * gdb.base/foll-exec-mode.exp: Likewise.
13219 * gdb.base/foll-exec.exp: Likewise.
13220 * gdb.base/foll-fork.exp: Likewise.
13221 * gdb.base/foll-vfork.exp: Likewise.
13222 * gdb.base/funcargs.exp: Likewise.
13223 * gdb.base/hbreak2.exp: Likewise.
13224 * gdb.base/inferior-died.exp: Likewise.
13225 * gdb.base/interrupt.exp: Likewise.
13226 * gdb.base/multi-forks.exp: Likewise.
13227 * gdb.base/nodebug.exp: Likewise.
13228 * gdb.base/sepdebug.exp: Likewise.
13229 * gdb.base/solib1.c: Likewise.
13230 * gdb.base/step-test.exp: Likewise.
13231 * gdb.mi/non-stop.c: Likewise.
13232 * gdb.mi/pthreads.c: Likewise.
13233 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13234 * gdb.threads/pthreads.c: Likewise.
13235 * gdb.threads/staticthreads.exp: Likewise.
13236 * lib/future.exp: Likewise.
13237 * lib/gdb.exp: Likewise.
13238 * gdb.base/so-indr-cl.c: Remove.
13239 * gdb.base/so-indr-cl.exp: Likewise.
13240 * gdb.base/solib.c: Likewise.
13241 * gdb.base/solib.exp: Likewise.
13242 * gdb.base/solib2.c: Likewise.
13243
b6304613
SM
132442015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13245
13246 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13247 * gdb.base/call-ar-st.exp: Likewise.
13248 * gdb.base/callfuncs.exp: Likewise.
13249 * gdb.base/condbreak.exp: Likewise.
13250 * gdb.base/constvars.exp: Likewise.
13251 * gdb.base/hbreak2.exp: Likewise.
13252 * gdb.base/langs.exp: Likewise.
13253 * gdb.base/list.exp: Likewise.
13254 * gdb.base/long_long.exp: Likewise.
13255 * gdb.base/ptype.exp: Likewise.
13256 * gdb.base/scope.exp: Likewise.
13257 * gdb.base/signals.exp: Likewise.
13258 * gdb.base/so-impl-ld.exp: Likewise.
13259 * gdb.base/varargs.exp: Likewise.
13260 * gdb.base/volatile.exp: Likewise.
13261 * gdb.base/whatis.exp: Likewise.
13262 * gdb.cp/cplusfuncs.exp: Likewise.
13263 * gdb.cp/inherit.exp: Likewise.
13264 * gdb.cp/local.exp: Likewise.
13265 * gdb.cp/member-ptr.exp: Likewise.
13266 * gdb.cp/method.exp: Likewise.
13267 * gdb.cp/overload.exp: Likewise.
13268 * gdb.cp/templates.exp: Likewise.
13269 * gdb.stabs/weird.exp: Likewise.
13270 * lib/compiler.c: Likewise.
13271 * lib/compiler.cc: Likewise.
13272 * lib/cp-support.exp: Likewise.
13273 * lib/gdb.exp: Likewise.
13274
bf401b07
SM
132752015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13276
13277 * configure.ac: Remove HP-UX case.
13278 * configure: Regenerate.
13279
aff9c0f8
SM
132802015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13281
13282 * lib/gdb.exp (gdb_compile): Add function doc.
13283
a6904d5a
PA
132842015-12-17 Pedro Alves <palves@redhat.com>
13285
13286 PR threads/19354
13287 * gdb.multi/info-threads.exp: New file.
13288
a22279dd
YQ
132892015-12-15 Yao Qi <yao.qi@linaro.org>
13290
13291 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13292 is aarch64*-*-*.
13293
0588c796
SL
132942015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13295
13296 * gdb.base/history-duplicates.exp: Skip if no readline support.
13297
5d978e17
SL
132982015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13299
13300 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13301
7e763b86
SL
133022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13303
13304 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13305
87a3a92c
SL
133062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13307
13308 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13309 ctrl-C if nointerrupts target property is set.
13310 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13311 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13312 * gdb.base/paginate-bg-execution.exp: Likewise.
13313 * gdb.base/paginate-execution-startup.exp: Likewise.
13314 * gdb.base/random-signal.exp: Likewise.
13315 * gdb.base/range-stepping.exp: Likewise.
13316 * gdb.cp/annota2.exp: Likewise.
13317 * gdb.cp/annota3.exp: Likewise.
13318 * gdb.gdb/selftest.exp: Likewise.
13319 * gdb.threads/continue-pending-status.exp: Likewise.
13320 * gdb.threads/leader-exit.exp: Likewise.
13321 * gdb.threads/manythreads.exp: Likewise.
13322 * gdb.threads/pthreads.exp: Likewise.
13323 * gdb.threads/schedlock.exp: Likewise.
13324 * gdb.threads/sigthread.exp: Likewise.
13325
a8f077dc
DB
133262015-12-11 Don Breazeal <donb@codesourcery.com>
13327
13328 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13329 remote.
13330 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13331 * gdb.base/foll-exec.exp (main): Enable for target remote.
13332 * gdb.base/foll-fork.exp (main): Likewise.
13333 * gdb.base/foll-vfork.exp (main): Likewise.
13334 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13335 (proc continue_to_exit_bp_loc): Use clean_restart.
13336 * gdb.base/pie-execl.exp (main): Disable for target remote.
13337 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13338 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13339 * gdb.threads/execl.exp (main): Likewise.
13340 * gdb.threads/fork-child-threads.exp (main): Likewise.
13341 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13342 remote.
13343 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13344 remote.
13345 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13346 pid.tid style ptids, instead of just tid.
13347 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13348 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13349 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13350 ptids, instead of just tid.
13351
3b2464a8
AB
133522015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13353
13354 * gdb.base/list.exp (test_list_forward): Add end of file error
13355 test.
13356 (test_repeat_list_command): Add end of file error test.
13357 (test_list_backwards): Add beginning of file error test.
13358
a0def019
AB
133592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13360
13361 * gdb.base/list.exp (test_list_invalid_args): New function,
13362 defined, and called.
13363
5c000dff
AB
133642015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13365
13366 * gdb.base/list.exp (test_list): Make test names unique.
13367
f1637ebe
YQ
133682015-12-11 Yao Qi <yao.qi@linaro.org>
13369
13370 * gdb.base/coremaker2.c: Remove.
13371
36d6fc0a
PA
133722015-12-10 Pedro Alves <palves@redhat.com>
13373
13374 * gdb.multi/base.exp: Remove stale "spaces" references.
13375
762f7747
PA
133762015-12-10 Pedro Alves <palves@redhat.com>
13377
13378 * gdb.multi/base.exp: Don't use nowarnings.
13379 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13380 * gdb.multi/hangout.c: Include stdio.h.
13381 * gdb.multi/hello.c: Include stdlib.h.
13382 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13383 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13384 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13385
28d2bfb9
AB
133862015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13387
13388 * gdb.dwarf2/dw2-ranges-base.c: New file.
13389 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13390 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13391 support additional line table, and debug ranges generation.
13392 (Dwarf::ranges): New function, generate .debug_ranges.
13393 (Dwarf::lines): Support generating simple line table programs.
13394 (Dwarf::assemble): Initialise new namespace variables.
13395
5fc2beac
KB
133962015-12-09 Kevin Buettner <kevinb@redhat.com>
13397
13398 * gdb.base/async.exp (proc test_background): Add case for
13399 asynchronous execution not supported.
13400
1c35a88f
LM
134012015-12-09 Luis Machado <lgustavo@codesourcery.com>
13402
13403 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13404 format and change test names to make them unique.
13405
b593e3d9
RK
134062015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13407 Pedro Alves <pedro@redhat.com>
13408
13409 PR gdb/18702
13410 Add checking of floatformats setup on x86_64 hosts.
13411 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13412 (smallval, bigval): New labels/constants.
13413 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13414 float" after loading bigval and smallval.
13415
d72413e6
PMR
134162015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13417
13418 * gdb.ada/fun_overload_menu.exp: New testcase.
13419 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13420
ece66d65
JS
134212015-12-04 Josh Stone <jistone@redhat.com>
13422
13423 * gdb.base/catch-fork-static.exp: New.
13424
41d0efca
YQ
134252015-12-03 Yao Qi <yao.qi@linaro.org>
13426
13427 * gdb.base/sizeof.c: Don't include stdio.h and
13428 ../lib/unbuffer_output.c.
13429 (main): New variable 'size' and 'value'. Remove printf and
13430 gdb_unbuffer_output. Assign return value to size and value.
13431 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13432 at the beginning.
13433 (check_sizeof): Check the result by printing variable 'size'.
13434 (check_valueof): Check the result by printing variable 'value'.
13435
99fd02d9
YQ
134362015-12-01 Yao Qi <yao.qi@linaro.org>
13437
13438 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13439 for aarch64*-*-linux* target.
13440
f2faf941
PA
134412015-11-30 Pedro Alves <palves@redhat.com>
13442
13443 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13444
04bf20c5
PA
134452015-11-30 Pedro Alves <palves@redhat.com>
13446
13447 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13448 Handle non-stop mode vCont replies.
13449
09df4675
PA
134502015-11-30 Pedro Alves <palves@redhat.com>
13451
13452 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13453 prepare_for_testing. Start gdb with "set non-stop on" appended to
13454 GDBFLAGS. Lax expected stop output.
13455
58b584af
YQ
134562015-11-27 Yao Qi <yao.qi@linaro.org>
13457
13458 * gdb.arch/arm-neon.exp: New.
13459 * gdb.arch/arm-neon.c: New.
13460
dfcb77a8
YQ
134612015-11-27 Yao Qi <yao.qi@linaro.org>
13462
13463 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13464
88e8ec1b
YQ
134652015-11-27 Yao Qi <yao.qi@linaro.org>
13466
13467 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13468 frames-invalid annotation.
13469
bfde72c2
YQ
134702015-11-27 Yao Qi <yao.qi@linaro.org>
13471
13472 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13473
f6512a69
SM
134742015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13475
13476 * gdb.threads/names.exp: New file.
13477 * gdb.threads/names.c: New file.
13478 * README: Mention gdb,no_thread_names.
13479
46a3515b
MM
134802015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13481
13482 PR 19297
13483 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13484 support" error.
13485
62147a22
PA
134862015-11-24 Pedro Alves <palves@redhat.com>
13487
13488 PR 17539
13489 * gdb.base/display.exp: Expect displays to be sorted in ascending
13490 order. Use multi_line.
13491 * gdb.base/solib-display.exp: Likewise.
13492
2f341b6e
PA
134932015-11-24 Pedro Alves <palves@redhat.com>
13494
13495 PR 17539
25d49b86
PA
13496 * gdb.base/display.exp: Expect displays to be sorted in ascending
13497 order. Use multi_line.
13498 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13499
7e0aa6aa
PA
135002015-11-24 Pedro Alves <palves@redhat.com>
13501
13502 PR 17539
13503 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13504 threads in ascending order.
13505 * gdb.base/foll-fork.exp: Likewise.
13506 * gdb.base/foll-vfork.exp: Likewise.
13507 * gdb.base/multi-forks.exp: Likewise.
13508 * gdb.mi/mi-nonstop.exp: Likewise.
13509 * gdb.mi/mi-nsintrall.exp: Likewise.
13510 * gdb.multi/base.exp: Likewise.
13511 * gdb.multi/multi-arch.exp: Likewise.
13512 * gdb.python/py-inferior.exp: Likewise.
13513 * gdb.threads/break-while-running.exp: Likewise.
13514 * gdb.threads/execl.exp: Likewise.
13515 * gdb.threads/gcore-thread.exp: Likewise.
13516 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13517 * gdb.threads/kill.exp: Likewise.
13518 * gdb.threads/linux-dp.exp: Likewise.
13519 * gdb.threads/multiple-step-overs.exp: Likewise.
13520 * gdb.threads/next-bp-other-thread.exp: Likewise.
13521 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13522 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13523 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13524 * gdb.threads/thread-find.exp: Likewise.
13525 * gdb.threads/tls.exp: Likewise.
13526 * lib/mi-support.exp (mi_reverse_list): Delete.
13527 (mi_check_thread_states): No longer reverse list.
13528
2cc57ad8
PA
135292015-11-24 Pedro Alves <palves@redhat.com>
13530
13531 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13532 use lowercase.
13533
c93e8391
SM
135342015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13535
13536 * gdb.trace/actions.c: Include trace-common.h.
13537 (main): Add a location for a fast tracepoint.
13538 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13539 the normal tracepoints.
13540 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13541
045ccf91
SM
135422015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13543
13544 * save-trace.exp: Factor out code to these...
13545 (gdb_save_tracepoints): New.
13546 (gdb_load_tracepoints): New.
13547 (do_save_load_test): New.
13548
5506f9f6
KB
135492015-11-23 Kevin Buettner <kevinb@redhat.com>
13550
13551 * gdb.base/asmlabel.exp: New test.
13552 * gdb.base/asmlabel.c: New test case.
13553
16c3b12f
JB
135542015-11-23 Joel Brobecker <brobecker@adacore.com>
13555
13556 * gdb.base/wrong_frame_bt_full-main.c: New file.
13557 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13558 * gdb.base/wrong_frame_bt_full.exp: New file.
13559
155bfbd3
JB
135602015-11-23 Joel Brobecker <brobecker@adacore.com>
13561
13562 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13563
bb097445
JM
135642015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13565
206853a0 13566 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13567 pstate register when comparing registers values in
13568 sparc64-*-linux-gnu targets to avoid spurious differences.
13569
9c88ed8f
JM
135702015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13571
206853a0 13572 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13573
96161e25
SL
135742015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13575
13576 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13577 as type argument to gdb_compile.
13578 * gdb.base/nested-subp2.exp: Likewise.
13579 * gdb.base/nested-subp3.exp: Likewise.
13580
340c2830
DV
135812015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13582
13583 * lib/dwarf.exp (_note): Fix left shift of negative value.
13584 * gdb.trace/trace-condition.exp: Likewise.
13585
c1862d0f
YQ
135862015-11-13 Yao Qi <yao.qi@linaro.org>
13587
13588 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13589 comments about d10v.
13590 (test_scalar_returns): Likewise.
13591 * gdb.base/d10v.ld: Remove.
13592 * gdb.base/overlays.exp: Remove the target triplet checking for
13593 d10v-*-*.
13594 * gdb.base/structs.exp (test_struct_returns): Remove the
13595 comments about d10v.
13596 (test_struct_calls): Likewise.
13597
77ae9c19
YQ
135982015-11-13 Yao Qi <yao.qi@linaro.org>
13599
13600 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13601 * gdb.base/gnu_vector.c: Don't include stdio.h.
13602 (main): Don't print res and call add_some_intvecs.
13603
430e004e
MK
136042015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13605
13606 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13607 macro.
13608 (func5): Removed.
13609 (func4): Use FAST_TRACEPOINT_LABEL.
13610 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13611 macro.
13612 (func): Removed.
13613 (thread_function): Use FAST_TRACEPOINT_LABEL.
13614 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13615 (func): Remove.
13616 (marker): Use FAST_TRACEPOINT_LABEL.
13617 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13618 (pendfunc1): Remove.
13619 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13620 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13621 (foo): Remove.
13622 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13623 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13624 macro.
13625 (func): Remove.
13626 (marker): Use FAST_TRACEPOINT_LABEL.
13627 * gdb.trace/trace-common.h: New header.
13628 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13629 macro.
13630 (func): Remove.
13631 (marker): Use FAST_TRACEPOINT_LABEL.
13632 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13633 (func): Remove.
13634 (thread_function): Use FAST_TRACEPOINT_LABEL.
13635
6e7675a7
MK
136362015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13637
13638 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13639 in front.
13640 * gdb.trace/change-loc.exp: Use global pcreg definition.
13641 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13642 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13643 in front.
13644 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13645 * gdb.trace/pending.exp: Likewise.
13646 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13647 * gdb.trace/trace-break.exp: Likewise.
13648 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13649 in front.
13650 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13651 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13652 in front.
13653 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13654
dddc0e16
JB
136552015-11-09 Joel Brobecker <brobecker@adacore.com>
13656
13657 * gdb.ada/fin_fun_out: New testcase.
13658
c6f0b406
KB
136592015-11-07 Kevin Buettner <kevinb@redhat.com>
13660
13661 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13662 value associated with DW_AT_byte_size.
13663 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13664 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13665 DW_AT_upper_bound.
13666
f01dcfd9
KB
136672015-11-07 Kevin Buettner <kevinb@redhat.com>
13668
13669 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13670 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13671 version.
13672 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13673 gdb.dwarf2/dw2-canonicalize-type.exp,
13674 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13675 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13676 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13677 provided by gdb_target_symbol_prefix_flags_asm.
13678 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13679 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13680 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13681 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13682 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13683 macros where needed). Use this macro for symbols which require
13684 the prefix provided by SYMBOL_PREFIX.
13685
2223449a
KB
136862015-11-05 Kevin Buettner <kevinb@redhat.com>
13687
13688 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13689 New procs.
13690 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13691 representing expressions, of more than one list element.
13692 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13693 to prepend linker symbol prefix to f.
13694 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13695 table_1 and table_2.
13696 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13697 Likewise, for f and g.
13698 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13699 for ptr.
13700 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13701 for main.
13702 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13703 table_1_ptr and table_2_ptr.
13704
6f2f1a3a
JK
137052015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13706 Joel Brobecker <brobecker@adacore.com>
13707
13708 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13709
566c56c9
MK
137102015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13711
13712 * gdb.reverse/s390-mvcle.c: New test.
13713 * gdb.reverse/s390-mvcle.exp: New file.
13714 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13715
d5f0636b
MK
137162015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13717
13718 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13719
7ad8b86c
MK
137202015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13721
13722 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13723 reaching marker2.
13724 * gdb.reverse/getresuid-reverse.exp: Likewise.
13725 * gdb.reverse/pipe-reverse.exp: Likewise.
13726 * gdb.reverse/readv-reverse.exp: Likewise.
13727 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13728 * gdb.reverse/time-reverse.exp: Likewise.
13729 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13730
4081c0f1
YQ
137312015-10-30 Yao Qi <yao.qi@linaro.org>
13732
13733 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13734 (empty_cycle): Remove.
13735 (main): Don't call empty_cycle. Don't use watch_count_done.
13736 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13737 empty_cycle. Rewrite the code counting HW watchpoints.
13738
452b4ba5
MK
137392015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13740
13741 * gdb.reverse/fstatat-reverse.c: New test.
13742 * gdb.reverse/fstatat-reverse.exp: New file.
13743 * gdb.reverse/getresuid-reverse.c: New test.
13744 * gdb.reverse/getresuid-reverse.exp: New file.
13745 * gdb.reverse/pipe-reverse.c: New test.
13746 * gdb.reverse/pipe-reverse.exp: New file.
13747 * gdb.reverse/readv-reverse.c: New test.
13748 * gdb.reverse/readv-reverse.exp: New file.
13749 * gdb.reverse/recvmsg-reverse.c: New test.
13750 * gdb.reverse/recvmsg-reverse.exp: New file.
13751 * gdb.reverse/time-reverse.c: New test.
13752 * gdb.reverse/time-reverse.exp: New file.
13753 * gdb.reverse/waitpid-reverse.c: New test.
13754 * gdb.reverse/waitpid-reverse.exp: New file.
13755
5e2e7507
JK
137562015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13757
13758 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13759
0fde2c53
DE
137602015-10-26 Doug Evans <dje@google.com>
13761
13762 PR symtab/17391
13763 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13764 * gdb.dwarf2/bad-regnum.c: New file.
13765 * gdb.dwarf2/bad-regnum.exp: New file.
13766
1a70ae97
DE
137672015-10-26 Doug Evans <dje@google.com>
13768
13769 PR python/18938
13770 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13771 file.
13772
27dc26ab
JK
137732015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13774
13775 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13776 for a change by "Mention language in compile error message".
13777
bed91f4d
SM
137782015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13779
13780 PR python/18073
13781 * gdb.python/py-type.c (C::a_method): New.
13782 (C::a_const_method): New.
13783 (C::a_static_method): New.
13784 (a_function): New.
13785 * gdb.python/py-type.exp (test_fields): Test getting fields
13786 from function and method.
13787
3f2f83dd
KB
137882015-10-21 Keven Boell <keven.boell@intel.com>
13789
13790 * gdb.fortran/vla-alloc-assoc.exp: New file.
13791 * gdb.fortran/vla-datatypes.exp: New file.
13792 * gdb.fortran/vla-datatypes.f90: New file.
13793 * gdb.fortran/vla-history.exp: New file.
13794 * gdb.fortran/vla-ptype-sub.exp: New file.
13795 * gdb.fortran/vla-ptype.exp: New file.
13796 * gdb.fortran/vla-sizeof.exp: New file.
13797 * gdb.fortran/vla-sub.f90: New file.
13798 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13799 * gdb.fortran/vla-value-sub-finish.exp: New file.
13800 * gdb.fortran/vla-value-sub.exp: New file.
13801 * gdb.fortran/vla-value.exp: New file.
13802 * gdb.fortran/vla-ptr-info.exp: New file.
13803 * gdb.mi/mi-vla-fortran.exp: New file.
13804 * gdb.mi/vla.f90: New file.
13805
27145d50
SL
138062015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13807
13808 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13809 of hardwired timeout value.
13810
5f3ff4f8
JK
138112015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13812 Pedro Alves <palves@redhat.com>
13813
13814 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13815 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13816
bfd09d20
JS
138172015-10-19 Josh Stone <jistone@redhat.com>
13818
13819 * gdb.base/catch-syscall.c: Include <sched.h>.
13820 (unknown_syscall): New variable.
13821 (main): Trigger a vfork and an unknown syscall.
13822 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13823 (unknown_syscall_number): Likewise.
13824 (check_call_to_syscall): Accept an optional syscall pattern.
13825 (check_return_from_syscall): Likewise.
13826 (check_continue): Likewise.
13827 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13828 (test_catch_syscall_skipping_return): New test toggling off 'catch
13829 syscall' to step over the syscall return, then toggling back on.
13830 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13831 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13832 (do_syscall_tests): Call test_catch_syscall_without_args and
13833 test_catch_syscall_mid_vfork.
13834 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13835 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13836
b32b93c6
AS
138372015-10-19 Andrew Stubbs <ams@codesourcery.com>
13838
13839 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13840 print g_vE): Add new pass patterns.
13841 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13842 print various symbol names for vptr fields.
13843
9d622bda
AB
138442015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13845
13846 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13847 results.
13848
0fd8ac1c
YQ
138492015-10-12 Yao Qi <yao.qi@linaro.org>
13850
13851 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13852
34240514
YQ
138532015-10-12 Yao Qi <yao.qi@linaro.org>
13854
13855 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13856 is aarch64*-*-linux*.
13857
8240f442
YQ
138582015-10-12 Yao Qi <yao.qi@linaro.org>
13859
13860 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13861 (can_relocate_bcond_true): ... it.
13862 (can_relocate_bcond_false): New function.
13863 (foo): Likewise.
13864 (can_relocate_bl): Likewise.
13865 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13866 can_relocate_bl.
13867
2520f728
PMR
138682015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13869
13870 * gdb.base/nested-addr.c: New file.
13871 * gdb.base/nested-addr.exp: New testcase.
13872
abcef95a
MM
138732015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13874
13875 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13876 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13877 its output. Ignore the output of "record goto begin" and instead
13878 check that GDB is replaying.
13879
145e3ddb
PA
138802015-10-09 Pedro Alves <palves@redhat.com>
13881
13882 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13883 (top level): Use it in the run with no args test.
13884
d5d8c4e1
IB
138852015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13886
13887 * gdb.dlang/properties.exp: New file.
13888
06e635ef
SL
138892015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13890
13891 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13892 whether or not address 0x1000 is mapped on the target.
13893
e019fd1d
SM
138942015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13895
13896 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13897 build.
13898
77ba2a67
MM
138992015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13900
13901 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13902 instruction-history test.
13903
c60eb31f
DE
139042015-09-28 Doug Evans <dje@google.com>
13905
13906 * gdb.base/gcore.c (array_func): Add reference to static_array.
13907
9a3c8263
SM
139082015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13909
13910 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13911 source line.
13912
9720e656
SL
139132015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13914
13915 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13916 short or char as base type.
13917
938d3bf2
SL
139182015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13919
13920 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13921 to allow any size enum.
13922
e6c2c623
PMR
139232015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13924
13925 * gdb.ada/array_ptr_renaming.exp: New testcase.
13926 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13927 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13928
06da0f77
PL
139292015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13930
13931 * gdb.trace/ftrace-lock.c: New file.
13932 * gdb.trace/ftrace-lock.exp: New file.
13933
4f51c22a
PL
139342015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13935
13936 * gdb.arch/insn-reloc.c: New file.
13937 * gdb.arch/ftrace-insn-reloc.exp: New file.
13938
7041adf4
PL
139392015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13940
13941 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13942 instruction.
13943 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13944 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13945 * gdb.trace/range-stepping.c: Likewise.
13946 * gdb.trace/trace-break.c: Likewise.
13947 * gdb.trace/trace-mt.c (thread_function): Likewise.
13948 * gdb.trace/ftrace.c (marker): Likewise.
13949 * gdb.trace/trace-condition.c (marker): Likewise.
13950 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13951 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13952 is_aarch64_target.
13953
015d2e7e
DE
139542015-09-18 Doug Evans <xdje42@gmail.com>
13955
13956 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13957 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13958
26b188a2
SL
139592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13960
13961 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13962 the breakpoint.
13963
79dc332b
SL
139642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13965
13966 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13967 the pending breakpoint. Remove timeout override for "Run till
13968 MI pending breakpoint on pendfunc3 on thread 2" test.
13969
f57929f2
SL
139702015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13971
13972 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13973 filename pattern.
13974
3f469b17
SL
139752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13976
13977 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13978 in breakpoint filename pattern.
13979
515b89b3
SL
139802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13981
7800dbe4
SL
13982 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13983
139842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13985
515b89b3
SL
13986 * gdb.linespec/explicit.exp: Check for readline support for
13987 tab-completion tests. Fix obvious typo.
13988
d2939ba2
MM
139892015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13990
13991 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13992 and replay.
13993
cbb55fa7
MM
139942015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13995
13996 * gdb.btrace/non-stop.c: New.
13997 * gdb.btrace/non-stop.exp: New.
13998
43691ca1
PL
139992015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14000 Yao Qi <yao.qi@linaro.org>
14001
14002 * gdb.trace/trace-condition.c: New file.
14003 * gdb.trace/trace-condition.exp: New file.
14004
d78908cf
WW
140052015-09-16 Wei-cheng Wang <cole945@gmail.com>
14006
14007 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14008 for testing bytecode compilation.
14009
1ed415e2
PA
140102015-09-16 Pedro Alves <palves@redhat.com>
14011 Sandra Loosemore <sandra@codesourcery.com>
14012
14013 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14014 (SECONDS): Redefine.
14015 (main): Call pthread_kill and alarm early.
14016 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14017 support.
14018 (test): If the target can't hardware step and doesn't support
14019 displaced stepping, increase the timeout.
14020
d136eff5
PA
140212015-09-16 Pedro Alves <palves@redhat.com>
14022
14023 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14024 (enable_debug): New procedures.
14025 (test): Use them. Bail out if waiting for threads fails.
14026 (top level): Bail out if a test fails.
14027
991f019c
YQ
140282015-09-16 Yao Qi <yao.qi@linaro.org>
14029
14030 * gdb.asm/asm-source.exp: Set asm-arch for
14031 aarch64*-*-* target.
14032 * gdb.asm/aarch64.inc: New file.
14033
bfca584f
PMR
140342015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14035
14036 * gdb.ada/array_of_variable_length.exp: New testcase.
14037 * gdb.ada/array_of_variable_length/foo.adb: New file.
14038 * gdb.ada/array_of_variable_length/pck.adb: New file.
14039 * gdb.ada/array_of_variable_length/pck.ads: New file.
14040
b326e587
DE
140412015-09-15 Doug Evans <dje@google.com>
14042
14043 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14044 of function static local variable.
14045
5382cfab
PW
140462015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14047
14048 * gdb.threads/tls-so_extern.exp: New test file.
14049 * gdb.threads/tls-so_extern.c: New test file.
14050 * gdb.threads/tls-so_extern_main.c: New test file.
14051
141c5cc4
JK
140522015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14053
14054 * gdb.opt/solib-intra-step-lib.c: New file.
14055 * gdb.opt/solib-intra-step-main.c: New file.
14056 * gdb.opt/solib-intra-step.exp: New file.
14057
d15dcecd
PA
140582015-09-15 Pedro Alves <palves@redhat.com>
14059
14060 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14061 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14062
4c2f2a79
PA
140632015-09-14 Pedro Alves <palves@redhat.com>
14064
14065 * gdb.base/hook-stop-continue.c: Delete.
14066 * gdb.base/hook-stop-continue.exp: Delete.
14067 * gdb.base/hook-stop-frame.c: Delete.
14068 * gdb.base/hook-stop-frame.exp: Delete.
14069 * gdb.base/hook-stop.c: New file.
14070 * gdb.base/hook-stop.exp: New file.
14071
919e6dbe
PMR
140722015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14073
14074 * gdb.ada/access_to_packed_array.exp: New testcase.
14075 * gdb.ada/access_to_packed_array/foo.adb: New file.
14076 * gdb.ada/access_to_packed_array/pack.adb: New file.
14077 * gdb.ada/access_to_packed_array/pack.ads: New file.
14078
157280a4
MM
140792015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14080
14081 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14082 buffer size test.
14083
2fd33e94
DB
140842015-09-11 Don Breazeal <donb@codesourcery.com>
14085
14086 * gdb.base/foll-exec.c: Add copyright header. Fix
14087 formatting issues.
14088 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14089 (do_exec_tests): Use clean_restart in place of zap_session,
14090 and for test initialization. Fix formatting issues. Use
14091 fail in place of perror.
14092 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14093 an expect statement to match an expression with output from
14094 the program under debug.
14095 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14096 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14097 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14098 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14099 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14100
e70b6e8e
DE
141012015-09-09 Doug Evans <dje@google.com>
14102
14103 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14104
7a551a51
DE
141052015-09-09 Doug Evans <dje@google.com>
14106
14107 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14108
4c666f84
DE
141092015-09-09 Doug Evans <dje@google.com>
14110
14111 * gdb.base/savedregs.exp: Fix typo.
14112
243a9253
PA
141132015-09-09 Pedro Alves <palves@redhat.com>
14114
14115 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14116
c0fa8fbd
SL
141172015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14118
14119 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14120 command actually switches threads. Give up on remaining
14121 tests if target fails to stop at breakpoint.
14122
cd7c1778
PMR
141232015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14124
14125 * gdb.ada/funcall_char.exp: New testcase.
14126 * gdb.ada/funcall_char/foo.adb: New file.
14127
dc5c8746
PMR
141282015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14129
14130 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14131 expected outputs. Add two testcases for completing ambiguous
14132 functions.
14133 * gdb.ada/complete/aux_pck.adb: New file.
14134 * gdb.ada/complete/aux_pck.ads: New file.
14135 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14136 Ambiguous_Func functions.
14137 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14138 * gdb.ada/complete/pck.adb: Likewise.
14139
4e83a1e7
UW
141402015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14141
14142 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14143 failures to run the test program under GDB.
14144
8ce74153
LM
141452015-08-26 Luis Machado <lgustavo@codesourcery.com>
14146
14147 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14148 to C.
14149
e9756d52
PP
141502015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14151
14152 * gdb.base/run-after-attach.exp: New test file.
14153 * gdb.base/run-after-attach.c: New test file.
14154
8d37573b
DB
141552015-08-26 Don Breazeal <donb@codesourcery.com>
14156
14157 * gdb.base/foll-exec-2.c: New test program.
14158 * gdb.base/foll-exec-2.exp: New test.
14159
63e43d3a
PMR
141602015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14161
14162 * gdb.base/nested-subp1.exp: New file.
14163 * gdb.base/nested-subp1.c: New file.
14164 * gdb.base/nested-subp2.exp: New file.
14165 * gdb.base/nested-subp2.c: New file.
14166 * gdb.base/nested-subp3.exp: New file.
14167 * gdb.base/nested-subp3.c: New file.
14168
3d40fbb5
PA
141692015-08-24 Pedro Alves <palves@redhat.com>
14170
14171 * gdb.server/connect-without-multi-process.c: New file.
14172 * gdb.server/connect-without-multi-process.exp: New file.
14173
4422ac93
LM
141742015-08-24 Luis Machado <lgustavo@codesourcery.com>
14175
14176 * gdb.opt/inline-markers.c: Make z int.
14177
91dddb86
LM
141782015-08-24 Luis Machado <lgustavo@codesourcery.com>
14179
14180 * gdb.opt/inline-markers.c: Make z volatile.
14181
a48847ee
LM
141822015-08-24 Luis Machado <lgustavo@codesourcery.com>
14183
14184 * gdb.opt/inline-bt.c: New volatile global z.
14185 * gdb.opt/inline-cmds.c: Likewise.
14186 * gdb.opt/inline-locals.c: Likewise.
14187 * gdb.opt/inline-markers.c: New extern global z.
14188 (marker): Use z.
14189 (inline_fn): Likewise.
14190
0ebbc52b
PA
141912015-08-24 Pedro Alves <palves@redhat.com>
14192
14193 * config/m32r-stub.exp: Remove file.
14194 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14195 * gdb.base/call-rt-st.exp: Likewise.
14196 * gdb.base/call-strs.exp: Likewise.
14197 * gdb.base/default.exp: Remove references to h8300-*-hms and
14198 *-*-udi*.
14199 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14200
77c365df
AA
142012015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14202
14203 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14204 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14205 and "return" use KFAIL when GDB can not read/write the vector
14206 return value.
14207
4313b8c0
GB
142082015-08-21 Gary Benson <gbenson@redhat.com>
14209
14210 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14211
0e433b32
PA
142122015-08-20 Pedro Alves <palves@redhat.com>
14213
14214 * gdb.server/solib-list.exp: No longer expect an interior stop in
14215 non-stop mode.
14216
221e1a37
PA
142172015-08-20 Pedro Alves <palves@redhat.com>
14218
14219 * gdb.server/connect-stopped-target.c: New file.
14220 * gdb.server/connect-stopped-target.exp: New file.
14221
40e3ad0e
PA
142222015-08-20 Pedro Alves <palves@redhat.com>
14223
14224 * gdb.dwarf2/comp-unit-lang.exp: New file.
14225 * gdb.dwarf2/comp-unit-lang.c: New file.
14226
af39b327
PMR
142272015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14228
14229 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14230 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14231
7d45c7c3 142322015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14233
7d45c7c3
KB
14234 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14235 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14236
4d6cceb4
DE
142372015-08-18 Doug Evans <dje@google.com>
14238 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14239
14240 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14241 skip_python_tests. New arg prompt_regexp.
14242 (skip_python_tests): New function.
14243 * lib/mi-support.exp (mi_skip_python_tests): New function.
14244 * gdb.python/py-mi-objfile-gdb.py: New file.
14245 * gdb.python/py-mi-objfile.c: New file.
14246 * gdb.python/py-mi-objfile.exp: New file.
14247
ad89c2aa
KS
142482015-08-17 Keith Seitz <keiths@redhat.com>
14249
14250 * gdb.linespec/explicit.exp: Move strace test from here ...
14251 * gdb.trace/strace.exp: ... to here.
14252
e3ae3c43
PP
142532015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14254
14255 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14256 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14257
604b2636
DE
142582015-08-14 Doug Evans <xdje42@gmail.com>
14259
14260 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14261 inferior before selecting a new file.
14262
6ff0ba5f
DE
142632015-08-14 Doug Evans <xdje42@gmail.com>
14264
14265 * gdb.mi/mi-disassemble.exp: Update.
14266 * gdb.base/disasm-optim.S: New file.
14267 * gdb.base/disasm-optim.c: New file.
14268 * gdb.base/disasm-optim.h: New file.
14269 * gdb.base/disasm-optim.exp: New file.
14270
9ca98f92
KS
142712015-08-14 Keith Seitz <keiths@redhat.com>
14272
14273 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14274 "evaluated-by".
14275
52bbc560
JB
142762015-08-13 Joel Brobecker <brobecker@adacore.com>
14277
14278 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14279
5d8c3ed3
PMR
142802015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14281
14282 * gdb.ada/fun_renaming.exp: New testcase.
14283 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14284 * gdb.ada/fun_renaming/pack.adb: New file.
14285 * gdb.ada/fun_renaming/pack.ads: New file.
14286
ea8812bc
KS
142872015-08-12 Keith Seitz <keiths@redhat.com>
14288
14289 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14290 gdb_get_line_number.
14291
4dafcdeb
JB
142922015-08-12 Joel Brobecker <brobecker@adacore.com>
14293
14294 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14295 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14296 gdb.base/dso2dso.exp: New files.
14297
5ba32597
SDJ
142982015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14299 Pedro Alves <palves@redhat.com>
14300 Keith Seitz <keiths@redhat.com>
14301
14302 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14303 GDBFLAGS.
14304
b6dafabf
PP
143052015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14306
14307 * gdb.base/gdbhistsize-history.exp
14308 (test_histsize_history_setting): Use save_vars.
14309 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14310 Use save_vars.
14311 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14312 * gdb.base/readline.exp: Use save_vars.
14313
abe8e607
PP
143142015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14315
14316 * lib/gdb.exp (save_vars): New proc.
14317
629500fa
KS
143182015-08-11 Keith Seitz <keiths@redhat.com>
14319
14320 * gdb.base/help.exp: Update help_breakpoint_text.
14321
eb8c4e2e
KS
143222015-08-11 Keith Seitz <keiths@redhat.com>
14323
14324 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14325 (at toplevel): Call test_explicit_breakpoints.
14326 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14327 breakpoints.
14328 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14329 breakpoint conditions, "-cond".
14330
87f0e720
KS
143312015-08-11 Keith Seitz <keiths@redhat.com>
14332
14333 * gdb.linespec/3explicit.c: New file.
14334 * gdb.linespec/cpexplicit.cc: New file.
14335 * gdb.linespec/cpexplicit.exp: New file.
14336 * gdb.linespec/explicit.c: New file.
14337 * gdb.linespec/explicit.exp: New file.
14338 * gdb.linespec/explicit2.c: New file.
14339 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14340 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14341 before using in the matching pattern.
14342 Clarify that `prefix' is a regular expression.
14343
f00aae0f
KS
143442015-08-11 Keith Seitz <keiths@redhat.com>
14345
14346 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14347 test.
14348 Add tests for missing ",FMT" and ",".
14349
e27852be
DE
143502015-08-10 Doug Evans <dje@google.com>
14351 Keith Seitz <keiths@redhat.com>
14352
14353 PR gdb/17960
14354 * gdb.base/completion.exp: Add location completer tests.
14355
7f03bd92
PA
143562015-08-07 Pedro Alves <palves@redhat.com>
14357
14358 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14359 tests here.
14360 (top level): Run do_test with and without displaced stepping.
14361
3fc8eb30
PA
143622015-08-07 Pedro Alves <palves@redhat.com>
14363
14364 * gdb.base/valgrind-disp-step.c: New file.
14365 * gdb.base/valgrind-disp-step.exp: New file.
14366
d4569d7b
PA
143672015-08-07 Pedro Alves <palves@redhat.com>
14368
14369 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14370 Delete function.
14371 (main): Add alarm. Run an infinite loop instead of calling
14372 wait_threads.
14373 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14374 comment.
14375 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14376 Delete function.
14377 (main): Add alarm. Run an infinite loop instead of calling
14378 wait_threads.
14379 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14380 comment.
14381
e1316e60
PA
143822015-08-07 Pedro Alves <palves@redhat.com>
14383
14384 * gdb.base/checkpoint-ns.exp: New file.
14385 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14386 standard_testfile.
14387
da8c46d2
MM
143882015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14389
14390 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14391 * gdb.btrace/instruction_history.exp: Update.
14392 * gdb.btrace/tsx.exp: New.
14393 * gdb.btrace/tsx.c: New.
14394
de1c2c52
PA
143952015-08-06 Pedro Alves <palves@redhat.com>
14396
14397 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14398 increase timeout.
14399 * gdb.reverse/until-precsave.exp: Bump timeouts.
14400
782e0bf4
PA
144012015-08-06 Pedro Alves <palves@redhat.com>
14402
14403 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14404
83e97ed0
PA
144052015-08-06 Pedro Alves <palves@redhat.com>
14406
14407 PR gdb/18749
14408 * gdb.threads/process-dies-while-handling-bp.c: New file.
14409 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14410
863d01bd
PA
144112015-08-06 Pedro Alves <palves@redhat.com>
14412
14413 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14414 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14415
0a39bb32
PA
144162015-08-05 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14419 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14420
ee2d2b10
SL
144212015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14422
14423 * gdb.base/bp-permanent.exp: Report test as unsupported if
14424 the target cannot stop at the permanent breakpoint.
14425
4e1bdb00
DE
144262015-08-03 Doug Evans <dje@google.com>
14427
14428 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14429 10000.
14430
3d338901
DE
144312015-08-03 Doug Evans <dje@google.com>
14432
14433 * Makefile.in (workers/%.worker, build-perf): New rule.
14434 (GDB_PERFTEST_MODE): New variable.
14435 (check-perf): Use it.
14436 (clean): Clean up gdb.perf parallel build subdirs.
14437 * lib/build-piece.exp: New file.
14438 * lib/gdb.exp (make_gdb_parallel_path): New function
14439 (standard_output_file, standard_temp_file): Call it.
14440 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14441 of $GDB_PARALLEL.
14442 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14443
af061d3e
DE
144442015-08-03 Doug Evans <dje@google.com>
14445
8e1afc81 14446 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14447 (LOG_FILE_NAME): New global.
14448 (TextReporter.__init__): Initialize self.txt_sum.
14449 (TextReporter.report): Add support for multiple data-points.
14450 Move report to perftest.sum, put raw data in perftest.log.
14451 (TextReporter.start): Open sum and log files.
14452 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14453 * gdb.perf/lib/perftest/testresult.py
14454 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14455
2c8c5d37
PA
144562015-07-31 Pedro Alves <palves@redhat.com>
14457
14458 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14459 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14460 kill_wait_spawned_process instead of explicit "kill -9".
14461 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14462 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14463 kill_wait_spawned_process.
14464 * gdb.base/attach-twice.exp: Likewise.
14465 * gdb.base/attach.exp: Likewise.
14466 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14467 gdb_test_multiple.
14468 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14469 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14470 kill_wait_spawned_process.
14471 * gdb.base/valgrind-infcall.exp: Likewise.
14472 * gdb.multi/multi-attach.exp: Likewise.
14473 * gdb.python/py-prompt.exp: Likewise.
14474 * gdb.python/py-sync-interp.exp: Likewise.
14475 * gdb.server/ext-attach.exp: Likewise.
14476 * gdb.threads/attach-into-signal.exp (corefunc): Use
14477 spawn_wait_for_attach, spawn_id_get_pid and
14478 kill_wait_spawned_process.
14479 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14480 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14481 spawn_id_get_pid and kill_wait_spawned_process.
14482 * gdb.threads/attach-stopped.exp (corefunc): Use
14483 spawn_wait_for_attach, spawn_id_get_pid and
14484 kill_wait_spawned_process.
14485 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14486 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14487 kill_wait_spawned_process instead of explicit "kill -9".
14488 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14489 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14490 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14491 processes. Don't map cygwin/windows pids here. Now returns a
14492 spawn id list.
14493
032a0fca
SL
144942015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14495
14496 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14497 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14498 correct patch.
14499
61a934ca
SL
145002015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14501
14502 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14503
4bc4d428
SL
145042015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14505
14506 Reapply:
14507 2014-05-21 Mark Wielaard <mjw@redhat.com>
14508
14509 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14510
998d452a
PA
145112015-07-30 Pedro Alves <palves@redhat.com>
14512
14513 * linux-low.c (handle_extended_wait): Set the child's last
14514 reported status to TARGET_WAITKIND_STOPPED.
14515
69dde7dc
PA
145162015-07-30 Pedro Alves <palves@redhat.com>
14517
14518 PR threads/18600
14519 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14520 only shows inferior 1.
14521
4dd63d48
PA
145222015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14523 Pedro Alves <palves@redhat.com>
14524
14525 PR threads/18600
14526 * gdb.threads/fork-plus-threads.c: New file.
14527 * gdb.threads/fork-plus-threads.exp: New file.
14528
d618e4c5
PP
145292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14530
14531 * gdb.base/batch-preserve-term-settings.exp
14532 (test_terminal_settings_preserved_after_cli_exit): Use
14533 send_quit_command.
14534
1eef6428
PA
145352015-07-29 Pedro Alves <palves@redhat.com>
14536 Don Breazeal <donb@codesourcery.com>
14537
14538 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14539 output from both inferior_spawn_id and gdb_spawn_id.
14540
7da5b897
SDJ
145412015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14542
14543 * gdb.threads/attach-into-signal.exp (corefunc): Use
14544 with_test_prefix on nested loops, uniquefying the test messages.
14545
dac804df
SDJ
145462015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14547
14548 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14549 commit.
14550
06265e53
PP
145512015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14552
14553 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14554 New proc.
14555 (test_terminal_settings_preserved_after_sigterm): New test.
14556
18206ca3
PP
145572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14558
14559 * gdb.base/batch-preserve-term-settings.exp
14560 (test_terminal_settings_preserved_after_cli_exit): New test.
14561
90074d11
PP
145622015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14563
14564 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14565 manipulation of saved_gdbflags.
14566 (test_terminal_settings_preserved): Remove global declaration of
14567 the unused variable pagination_prompt. Remove manipulation of
14568 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14569 GDBFLAGS.
14570
eb1a7902
PA
145712015-07-29 Pedro Alves <palves@redhat.com>
14572
14573 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14574
8b75dd3b
PA
145752015-07-29 Pedro Alves <palves@redhat.com>
14576
14577 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14578 at the top.
14579
dedad4e3
PA
145802015-07-29 Pedro Alves <palves@redhat.com>
14581
14582 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14583 (main): Call gdb_unbuffer_output.
14584 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14585 (main): Call gdb_unbuffer_output.
14586 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14587 (main): Call gdb_unbuffer_output.
14588 * gdb.base/call-strs.exp: Adjust to step over the
14589 gdb_unbuffer_output call.
14590 * gdb.base/catch-gdb-caused-signals.c: Include
14591 "../lib/unbuffer_output.c".
14592 (main): Call gdb_unbuffer_output.
14593 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14594 (main): Call gdb_unbuffer_output.
14595 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14596 (main): Call gdb_unbuffer_output.
14597 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14598 (main): Call gdb_unbuffer_output.
14599 * gdb.base/shlib-call.exp: Adjust to step over the
14600 gdb_unbuffer_output call.
14601 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14602 (main): Call gdb_unbuffer_output.
14603 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14604 (main): Call gdb_unbuffer_output.
14605 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14606 (main): Rename to ...
14607 (test): ... this.
14608 (main): Reimplement.
14609 * gdb.base/varargs.exp: Run to test instead of to main.
14610 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14611 (main): Call gdb_unbuffer_output.
14612
58789a91
PA
146132015-07-29 Pedro Alves <palves@redhat.com>
14614
14615 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14616 factore out from mi_continue_dprintf. For call-style dprintfs,
14617 expect dprintf output out of $inferior_spawn_id.
14618 (mi_continue_dprintf): Use mi_expect_dprintf.
14619 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14620 (main): Call gdb_unbuffer_output.
14621
e8376742
PA
146222015-07-29 Pedro Alves <palves@redhat.com>
14623
14624 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14625 (default_mi_gdb_start): Set inferior_spawn_id instead of
14626 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14627 gdb_spawn_id.
14628 (mi_gdb_test): Always expect inferior output from both
14629 $inferior_spawn_id and $gdb_spawn_id.
14630
08280010
PA
146312015-07-29 Pedro Alves <palves@redhat.com>
14632
14633 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14634 send_inferior and $inferior_spawn_id.
14635
4d30e432
PA
146362015-07-29 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.gdb/complaints.exp (test_initial_complaints)
14639 (test_serial_complaints, test_short_complaints): Use
14640 gdb_test_stdio.
14641 (test_empty_complaint): Handle $inferior_spawn_id !=
14642 $gdb_spawn_id.
14643
0d30a335
PA
146442015-07-29 Pedro Alves <palves@redhat.com>
14645
14646 * gdb.base/varargs.exp: Use gdb_test_stdio.
14647
39413b29
PA
146482015-07-29 Pedro Alves <palves@redhat.com>
14649
14650 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14651
7cb000a9
PA
146522015-07-29 Pedro Alves <palves@redhat.com>
14653
14654 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14655
d7b8ac82
PA
146562015-07-29 Pedro Alves <palves@redhat.com>
14657
14658 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14659 parameter into two new parameters, "inf_result" and "gdb_result".
14660 Expect inferior output and gdb output from $inferior_spawn_id and
14661 $gdb_spawn_id, respectively. Adjust all callers.
14662
789c3a0c
PA
146632015-07-29 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14666 of gdb_test_sequence.
14667
77e760c3
PA
146682015-07-29 Pedro Alves <palves@redhat.com>
14669
14670 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14671 (saw_spurious_output): Expect inferior output from
14672 $inferior_spawn_id. Use gdb_test_stdio.
14673
8396d2cd
PA
146742015-07-29 Pedro Alves <palves@redhat.com>
14675
14676 * gdb.base/dprintf.exp: Use standard_testfile. Change
14677 prepare_for_testing call.
14678 (srcfile): Don't set.
14679 (restart): New procedure.
14680 (test_dprintf): New procecure, use to continue over dprintfs.
14681 (test_call, test_agent): New procedures, tests moved here.
14682 Restart gdb and recreate dprintfs. Adjust expected output.
14683
2051d61f
PA
146842015-07-29 Pedro Alves <palves@redhat.com>
14685
14686 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14687
452397af
PA
146882015-07-29 Pedro Alves <palves@redhat.com>
14689
14690 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14691
8aed9555
PA
146922015-07-29 Pedro Alves <palves@redhat.com>
14693
14694 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14695 gdb_test_stdio.
14696
188a61b4
PA
146972015-07-29 Pedro Alves <palves@redhat.com>
14698
14699 * lib/gdb.exp (gdb_test_stdio): New procedure.
14700
12264a45
PA
147012015-07-29 Pedro Alves <palves@redhat.com>
14702
14703 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14704
23ffc893
PA
147052015-07-29 Pedro Alves <palves@redhat.com>
14706
14707 * gdb.base/call-signal-resume.exp: Remove check for
14708 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14709 * gdb.base/unwindonsignal.exp: Likewise.
14710 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14711 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14712
65566918
PA
147132015-07-29 Pedro Alves <palves@redhat.com>
14714
14715 * gdb.base/siginfo-addr.c (pass): New function.
14716 (handler): Call it iff si_addr is correct.
14717 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14718 Set a breakpoint at "pass" and continue to it.
14719
d60a9221
SDJ
147202015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14721
14722 * gdb.python/py-objfile.exp: Make some tests have unique names.
14723 * gdb.python/py-pp-registration.exp: Likewise.
14724
bde40b8f
PA
147252015-07-28 Pedro Alves <palves@redhat.com>
14726
14727 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14728
13e1dec8
SM
147292015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14730
14731 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14732
da33c9a7
SM
147332015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14734
14735 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14736
077836f7
PP
147372015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14738
14739 * gdb.base/gdb-sigterm-2.exp: New test.
14740
b8cc7b2e
DE
147412015-07-25 Doug Evans <xdje42@gmail.com>
14742
14743 Revert:
14744 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14745 (workers/%.worker, build-perf): New rule.
14746 (GDB_PERFTEST_MODE): New variable.
14747 (check-perf): Use it.
14748 (clean): Clean up gdb.perf parallel build subdirs.
14749 * lib/build-piece.exp: New file.
14750 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14751 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14752 name.
14753 (standard_temp_file): Ditto.
14754 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14755 of $GDB_PARALLEL.
14756
c8bd4544
DE
147572015-07-24 Doug Evans <dje@google.com>
14758
14759 * gdb.perf/lib/perftest/utils.py: New file.
14760 * gdb.perf/gm-hello.cc: New file.
14761 * gdb.perf/gm-pervasive-typedef.cc: New file.
14762 * gdb.perf/gm-pervasive-typedef.h: New file.
14763 * gdb.perf/gm-std.cc: New file.
14764 * gdb.perf/gm-std.h: New file.
14765 * gdb.perf/gm-use-cerr.cc: New file.
14766 * gdb.perf/gm-utils.h: New file.
14767 * gdb.perf/gmonster-null-lookup.py: New file.
14768 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14769 * gdb.perf/gmonster-print-cerr.py: New file.
14770 * gdb.perf/gmonster-ptype-string.py: New file.
14771 * gdb.perf/gmonster-runto-main.py: New file.
14772 * gdb.perf/gmonster-select-file.py: New file.
14773 * gdb.perf/gmonster1-null-lookup.exp: New file.
14774 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14775 * gdb.perf/gmonster1-print-cerr.exp: New file.
14776 * gdb.perf/gmonster1-ptype-string.exp: New file.
14777 * gdb.perf/gmonster1-runto-main.exp: New file.
14778 * gdb.perf/gmonster1-select-file.exp: New file.
14779 * gdb.perf/gmonster1.cc: New file.
14780 * gdb.perf/gmonster1.exp: New file.
14781 * gdb.perf/gmonster2-null-lookup.exp: New file.
14782 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14783 * gdb.perf/gmonster2-print-cerr.exp: New file.
14784 * gdb.perf/gmonster2-ptype-string.exp: New file.
14785 * gdb.perf/gmonster2-runto-main.exp: New file.
14786 * gdb.perf/gmonster2-select-file.exp: New file.
14787 * gdb.perf/gmonster2.cc: New file.
14788 * gdb.perf/gmonster2.exp: New file.
14789
6eab34f3
DE
147902015-07-24 Doug Evans <dje@google.com>
14791
14792 * gdb.perf/README: New file.
14793 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14794 * lib/gen-perf-test.exp: New file.
14795
63738bfd
DE
147962015-07-24 Doug Evans <dje@google.com>
14797
14798 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14799 (PerfTest::startup): New function.
14800 (PerfTest::run): Return result of calling body.
14801 (PerfTest::assemble): Rewrite.
14802 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14803 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14804 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14805 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14806 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14807
7b606f95
DE
148082015-07-24 Doug Evans <dje@google.com>
14809
14810 * lib/gdb.exp (clean_restart): Make executable optional.
14811
a97b16b8
DE
148122015-07-24 Doug Evans <dje@google.com>
14813
14814 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14815 compiler_info references.
14816 * gdb.cp/temargs.exp: Ditto.
14817 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14818 (get_compiler_info): Early exit if already computed. Set compiler_info
14819 to "unknown" if there was a problem.
14820 (test_compiler_info): Add function comment. Call get_compiler_info.
14821
35baa57f
DE
148222015-07-24 Doug Evans <dje@google.com>
14823
14824 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14825 (workers/%.worker, build-perf): New rule.
14826 (GDB_PERFTEST_MODE): New variable.
14827 (check-perf): Use it.
14828 (clean): Clean up gdb.perf parallel build subdirs.
14829 * lib/build-piece.exp: New file.
14830 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14831 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14832 name.
14833 (standard_temp_file): Ditto.
14834 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14835 of $GDB_PARALLEL.
14836
6ebea266
DE
148372015-07-24 Doug Evans <dje@google.com>
14838
14839 * lib/future.exp (gdb_default_target_compile): New option
14840 "early_flags".
14841 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14842 --as-needed.
14843
1e76a7e9
SDJ
148442015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14845
14846 * gdb.base/catch-syscall.exp: Call gdb_exit before
14847 gdb_skip_xml_test.
14848
5068630a
PA
148492015-07-24 Pedro Alves <palves@redhat.com>
14850
14851 * gdb.python/py-events.exp: Accept output between the stop event
14852 and the prompt.
14853 * gdb.python/py-evsignal.exp: Likewise.
14854 * gdb.python/py-evthreads.exp: Likewise.
14855
77598427
PA
148562015-07-24 Pedro Alves <palves@redhat.com>
14857
14858 PR gdb/18717
14859 * gdb.threads/non-ldr-exit.c: New file.
14860 * gdb.threads/non-ldr-exit.exp: New file.
14861
11e6c98f
YQ
148622015-07-24 Yao Qi <yao.qi@linaro.org>
14863
14864 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14865 restarting process.
14866
51aee833
YQ
148672015-07-24 Yao Qi <yao.qi@linaro.org>
14868
14869 * gdb.server/ext-restart.exp: New file.
14870
8cfe207c
YQ
148712015-07-24 Yao Qi <yao.qi@linaro.org>
14872
14873 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14874 argument options.
14875 * gdb.server/ext-wrapper.exp: New file.
14876
cc12ce38
DE
148772015-07-23 Doug Evans <dje@google.com>
14878
14879 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14880 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14881
d0d84780
PMR
148822015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14883
14884 * gdb.ada/var_arr_typedef.exp: New testcase.
14885 * gdb.ada/var_arr_typedef/pack.adb: New file.
14886 * gdb.ada/var_arr_typedef/pack.ads: New file.
14887 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14888
8b558f79
JB
148892015-07-20 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14892
775a3298
JK
148932015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14894
14895 * gdb.arch/i386-biarch-core.exp: Replace istarget
14896 by "complete set gnutarget". Remove expectation for the "core-file"
14897 command.
14898
db1ff28b
JK
148992015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14900
14901 Revert the previous commit:
14902 Tests for validate symbol file using build-id.
14903
0a94970d
JK
149042015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14905
14906 Tests for validate symbol file using build-id.
14907 * gdb.base/solib-mismatch-lib.c: New file.
14908 * gdb.base/solib-mismatch-libmod.c: New file.
14909 * gdb.base/solib-mismatch.c: New file.
14910 * gdb.base/solib-mismatch.exp: New file.
14911
03346981
SL
149122015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14913
14914 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14915 nios2-*-linux*.
14916 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14917 * gdb.base/siginfo.exp: Likewise.
14918 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14919
42422cc7
PL
149202015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14921
14922 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14923 Move it to ...
14924 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14925 ... here.
14926 * gdb.trace/range-stepping.exp: Check that the target supports
14927 range stepping.
14928
cfa68bae
JK
149292015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14930
14931 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14932
8ffdba26
PA
149332015-07-14 Pedro Alves <palves@redhat.com>
14934
14935 * gdb.base/killed-outside.exp: New file.
14936 * gdb.base/killed-outside.c: New file.
14937
218a5a11
JK
149382015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14939
14940 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14941 (n at main): New.
14942 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14943
e03ed3c6
AA
149442015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14945
14946 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14947 infcall tests instead of setting up for KFAIL.
14948
485668e5
MM
149492015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14950
14951 * gdb.btrace/record_goto-step.exp: New.
14952
08464196
JK
149532015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14954
14955 PR compile/18484
14956 * gdb.compile/compile.c (struct struct_type): Add volatile to
14957 selffield's type.
14958 * gdb.compile/compile.exp
14959 (compile code struct_object.selffield = &struct_object): Skip further
14960 struct_object tests if this one xfails.
14961
bcf5c1d9
RC
149622015-07-08 Robert O'Callahan <robert@ocallahan.org>
14963
14964 PR exp/18617
14965 * gdb.trace/ax.exp: Add test.
14966
4931af25
YQ
149672015-07-07 Yao Qi <yao.qi@linaro.org>
14968
14969 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14970 instead of istarget "aarch64*-*-*".
14971 * gdb.arch/aarch64-fp.exp: Likewise.
14972 * gdb.base/float.exp: Likewise.
14973 * gdb.reverse/aarch64.exp: Likewise.
14974 * lib/gdb.exp (is_aarch64_target): New proc.
14975
9fcf688e
YQ
149762015-07-07 Yao Qi <yao.qi@linaro.org>
14977
14978 * lib/gdb.exp (is_aarch32_target): New proc.
14979 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14980 instead of "istarget "arm*-*-*"".
14981 * gdb.arch/arm-disp-step.exp: Likewise.
14982 * gdb.arch/thumb-bx-pc.exp: Likewise.
14983 * gdb.arch/thumb-prologue.exp: Likewise.
14984 * gdb.arch/thumb-singlestep.exp: Likewise.
14985 * gdb.base/disp-step-syscall.exp: Likewise.
14986 * gdb.base/float.exp: Likewise.
14987
fbd8d50d
YQ
149882015-07-07 Yao Qi <yao.qi@linaro.org>
14989
14990 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14991 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14992
71be1fdc
YQ
149932015-07-07 Yao Qi <yao.qi@linaro.org>
14994
14995 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14996 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14997 if it exists.
14998 * gdb.multi/multi-arch.exp: Likewise.
14999
3e221d36
SM
150002015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15001
15002 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15003 print.
15004
d441430b
YQ
150052015-07-07 Yao Qi <yao.qi@linaro.org>
15006
15007 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15008
06f810bd
MG
150092015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15010
15011 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15012 '[' and ']' characters.
15013
5e61e7c0
IB
150142015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15015
15016 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15017
28bf096c
PA
150182015-06-29 Pedro Alves <palves@redhat.com>
15019
15020 PR threads/18127
15021 * gdb.threads/hand-call-new-thread.c: New file.
15022 * gdb.threads/hand-call-new-thread.c: New file.
15023
ee93cd5e
KS
150242015-06-26 Keith Seitz <keiths@redhat.com>
15025 Doug Evans <dje@google.com>
15026
15027 PR 16253
15028 * gdb.cp/var-tag-2.cc: New file.
15029 * gdb.cp/var-tag-3.cc: New file.
15030 * gdb.cp/var-tag-4.cc: New file.
15031 * gdb.cp/var-tag.cc: New file.
15032 * gdb.cp/var-tag.exp: New file.
15033
fc637f04
PP
150342015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15035
15036 * gdb.base/history-duplicates.exp: New test.
15037
2e52ae68
PP
150382015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15039
15040 * gdb.base/completion.exp: Test the completion of the "focus"
15041 command.
15042
6e22494e
JK
150432015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15044
15045 * gdb.arch/amd64-prologue-skip.S: New file.
15046 * gdb.arch/amd64-prologue-skip.exp: New file.
15047
bf7b9cd9
SM
150482015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15049
15050 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15051 is_address_zero_readable check.
15052
201e8dfd
PB
150532015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15054
15055 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15056 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15057
5cd867b4
YQ
150582015-06-24 Yao Qi <yao.qi@linaro.org>
15059
15060 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15061 linux targets.
15062
4d7be007
YQ
150632015-06-24 Yao Qi <yao.qi@linaro.org>
15064
15065 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15066 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15067 * gdb.base/siginfo-thread.exp: Likewise.
15068
07fcd301
YQ
150692015-06-22 Yao Qi <yao.qi@linaro.org>
15070
15071 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15072
52042a00
YQ
150732015-06-22 Yao Qi <yao.qi@linaro.org>
15074
15075 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15076 aarch64*-*-*.
15077 (skip_hw_watchpoint_tests): Likewise.
15078
74bd41ce
PP
150792015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15080
15081 * gdb.base/gdbinit-history.exp: Test the interaction between
15082 setting GDBHISTSIZE and setting the history size via .gdbinit.
15083
bc460514
PP
150842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15085
15086 PR gdb/16999
15087 * gdb.base/gdbhistsize-history.exp: New test.
15088
b58c513b
PP
150892015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15090
15091 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15092 with GDBHISTSIZE.
15093 * gdb.base/readline.exp: Likewise.
15094
92046791
YQ
150952015-06-17 Yao Qi <yao.qi@linaro.org>
15096
15097 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15098 line.
15099
2093d2d3
PP
151002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15101
15102 * gdb.base/gdbinit-history.exp: Add test case to check that
15103 an unlimited history file does not get truncated on exit.
15104
e6c693af
AA
151052015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15106
15107 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15108 (VECTOR): New macro. Use it...
15109 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15110 ...for these typedefs.
15111 (int8, char1, int1, double1): New typedefs.
15112 (struct just_int2, struct two_int2): New structures.
15113 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15114 (add_structvecs, add_singlevecs): New functions.
15115 (main): Call add_some_intvecs twice.
15116 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15117 the compile and exit upon failure. Try compiling for the "native"
15118 architecture. Test inferior function calls with vector arguments
15119 and vector return value handling with "finish" and "return".
15120
c74f7d1c
JT
151212015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15122
15123 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15124 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15125 PE file.
15126 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15127
98aa42ee
AT
151282015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15129
15130 PR breakpoints/16465
15131 * gdb.mi/mi-dprintf-pending.c: New file.
15132 * gdb.mi/mi-dprintf-pending.exp: New test.
15133 * gdb.mi/mi-dprintf-pendshr.c: New file.
15134
7d73c23c 151352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15136 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15137
15138 * gdb.arch/i386-mpx-map.c: New file.
15139 * gdb.arch/i386-mpx-map.exp: New File.
15140
151412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15142
15143 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15144 * gdb.arch/i386-mpx.exp: Indentation fixed.
15145
151462015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15147
15148 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15149 function and improved indentation.
15150 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15151 gdb_test_multiple. Added additional tests to skip the test.
15152
151532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15154
15155 * gdb.arch/i386-avx512.c: Change path in include file.
15156 * gdb.arch/i386-avx512.exp: Change include dir path
15157 compilation flag.
15158 * gdb.arch/i386-mpx.c: Change path in include file.
15159 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15160 flag.
15161
d5eba19a
JK
151622015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15163
15164 * gdb.compile/compile-print.exp (compile print *vararray@3)
15165 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15166
7f361056
JK
151672015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15168
15169 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15170 (do not keep jit in memory): ... this.
15171 (expect 5): Change it to ...
15172 (expect no 5): ... this.
15173
3b462ec2
SM
151742015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15175
15176 PR gdb/15564
15177 * gdb.mi/mi-detach.exp: New file.
15178
e0619de6
JK
151792015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15180
15181 PR symtab/18392
15182 * gdb.arch/amd64-tailcall-self.S: New file.
15183 * gdb.arch/amd64-tailcall-self.c: New file.
15184 * gdb.arch/amd64-tailcall-self.exp: New file.
15185
e970cb34
DB
151862015-05-28 Don Breazeal <donb@codesourcery.com>
15187
15188 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15189 tests for remote targets by checking is_target_gdbserver.
15190
b2e2f908
DE
151912015-05-27 Doug Evans <dje@google.com>
15192
15193 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15194 * gdb.dwarf2/opaque-type-lookup.c: New file.
15195 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15196
82c7be31
DE
151972015-05-26 Doug Evans <dje@google.com>
15198
15199 * gdb.cp/iostream.cc: New file.
15200 * gdb.cp/iostream.exp: New file.
15201
b4f54984
DE
152022015-05-26 Doug Evans <dje@google.com>
15203
15204 * gdb.dwarf2/dw2-op-call.exp: Update.
15205 * gdb.dwarf2/dw4-sig-types.exp: Update.
15206 * gdb.dwarf2/implptr.exp: Update.
15207 * gdb.mi/mi-cmd-param-changed.exp: Update.
15208
4ea6efe9
DE
152092015-05-26 Doug Evans <dje@google.com>
15210
15211 * gdb.python/py-lazy-string.c: New file.
15212 * gdb.python/py-lazy-string.exp: New file.
15213 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15214 (main): Update. Add estring3.
15215 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15216 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15217
f6bb7db3
YQ
152182015-05-26 Omair Javaid <omair.javaid@linaro.org>
15219 Yao Qi <yao.qi@linaro.org>
15220
15221 * gdb.reverse/aarch64.c: New.
15222 * gdb.reverse/aarch64.exp: New.
15223
a81bfbd0
OJ
152242015-05-26 Omair Javaid <omair.javaid@linaro.org>
15225
25d49b86
PA
15226 * lib/gdb.exp (supports_process_record): Return true for
15227 aarch64*-linux*.
a81bfbd0
OJ
15228 (supports_reverse): Likewise.
15229
158bf1b4
PP
152302015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15231
15232 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15233 Use with_test_prefix.
15234
a0145030
AB
152352015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15236
15237 * gdb.base/completion.exp: Add test for completion of layout
15238 names.
15239
ebe3b578
AB
152402015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15241
15242 * lib/gdb.exp (skip_tui_tests): New proc.
15243 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15244
84204ed7
PA
152452015-05-19 Pedro Alves <palves@redhat.com>
15246
15247 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15248 Save the whole env array instead of just HOME. Unset HISTSIZE in
15249 the environment while testing. Restore whole environment
15250 afterwards.
15251
37442ce1
DE
152522015-05-16 Doug Evans <xdje42@gmail.com>
15253
15254 * gdb.guile/scm-ports.c: New file.
15255 * gdb.guile/scm-ports.exp: Add memory port tests.
15256
36de76f9
JK
152572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15258
15259 * gdb.compile/compile-print.c: New file.
15260 * gdb.compile/compile-print.exp: New file.
15261
3a9558c4
JK
152622015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15263
15264 * gdb.compile/compile-ops.exp: Cast param to void.
15265 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15266 (compile code struct_object.selffield = &struct_object): Add xfail.
15267
aa715135
JG
152682015-05-15 Joel Brobecker <brobecker@adacore.com>
15269
15270 * gdb.ada/arr_enum_with_gap: New testcase.
15271
931e5bc3
JG
152722015-05-15 Joel Brobecker <brobecker@adacore.com>
15273
15274 * gdb.ada/byte_packed_arr: New testcase.
15275
9cd4d857
JB
152762015-05-15 Joel Brobecker <brobecker@adacore.com>
15277
15278 * gdb.ada/pckd_neg: New testcase.
15279
ebfd00d2
PP
152802015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15281
15282 PR gdb/17820
15283 * gdb.base/gdbinit-history.exp: New test.
15284 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15285 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15286
4c082a81
SC
152872015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15288
15289 * gdb.python/py-xmethods.cc: Enhance test case.
15290 * gdb.python/py-xmethods.exp: New tests.
15291 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15292 function.
15293 (B_indexoper): Likewise.
15294 (global_dm_list) : Add new xmethod worker functions.
15295
f7797074
SDJ
152962015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15297
15298 * gdb.base/coredump-filter.exp: Correctly unset
15299 "coredump_var_addr" array.
15300
a4674e4e
PA
153012015-05-08 Pedro Alves <palves@redhat.com>
15302
15303 * gdb.server/non-existing-program.exp: Unset spawn_id.
15304
df2eb078
SC
153052015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15306
15307 PR python/18291
15308 * gdb.python/py-xmethods.exp: Add tests.
15309
422349a3
YQ
153102015-05-08 Yao Qi <yao.qi@linaro.org>
15311
15312 PR gdb/18208
15313 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15314 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15315 function set_coredump_filter, and remove remote_exec call.
15316 Remove argument ipid. Callers update.
15317 (top level): Don't get inferior's PID.
15318
63fc80ce
AA
153192015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15320
15321 * gdb.base/watch_thread_num.exp: Skip test on targets without
15322 access watchpoints.
15323
80ad801e
PA
153242015-05-06 Pedro Alves <palves@redhat.com>
15325
15326 PR server/18081
15327 * gdb.server/non-existing-program.exp: New file.
15328
0fa7fe50
JB
153292015-05-05 Joel Brobecker <brobecker@adacore.com>
15330
15331 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15332
3ea89b92
PMR
153332015-05-05 Joel Brobecker <brobecker@adacore.com>
15334
15335 * gdb.ada/out_of_line_in_inlined: New testcase.
15336
87b8eff0
JB
153372015-05-05 Joel Brobecker <brobecker@adacore.com>
15338
15339 * gdb.ada/var_rec_arr: New testcase.
15340
5fccc635
YQ
153412015-04-30 Yao Qi <yao.qi@linaro.org>
15342
15343 * gdb.base/break-idempotent.exp: If
15344 skip_hw_watchpoint_multi_tests returns true, skip the tests
15345 on "rwatch" and "awatch".
15346
42d38f42
YQ
153472015-04-30 Yao Qi <yao.qi@linaro.org>
15348
15349 * gdb.base/relativedebug.exp: Invoke gdb command
15350 "info sharedlibrary", and if libc.so doesn't have debug info,
15351 skip the test.
15352
2ce1cdbf
DE
153532015-04-29 Doug Evans <dje@google.com>
15354
15355 * gdb.python/py-xmethods.exp: Add ptype tests.
15356 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15357 get_result_type method.
15358
f24a38c5
LM
153592015-04-29 Luis Machado <lgustavo@codesourcery.com>
15360
15361 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15362 the target does not support hardware watchpoints.
15363
ecbf2b3c
LM
153642015-04-29 Luis Machado <lgustavo@codesourcery.com>
15365
15366 * gdb.base/break-always.exp: Abort testing if writing to memory
15367 causes an error.
15368
34f5f757
DE
153692015-04-28 Doug Evans <dje@google.com>
15370
15371 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15372 * gdb.python/py-pp-registration.exp: ... here. New file.
15373 * gdb.python/py-pp-registration.c: New file.
15374 * gdb.python/py-pp-registration.py: New file.
15375
69b4374a
DE
153762015-04-28 Doug Evans <dje@google.com>
15377
15378 * gdb.python/py-bad-printers.c: New file.
15379 * gdb.python/py-bad-printers.py: New file.
15380 * gdb.python/py-bad-printers.exp: New file.
15381
59fb7612
SS
153822015-04-28 Sasha Smundak <asmundak@google.com>
15383
15384 * gdb.python/py-type.exp: New test.
15385
2631b16a
AW
153862015-04-28 Andy Wingo <wingo@igalia.com>
15387
15388 * gdb.python/py-parameter.exp:
15389 * gdb.guile/scm-parameter.exp: Escape the path that we are
15390 matching against, as it might contain characters that are special
15391 to regular expressions.
15392
460efde1
JB
153932015-04-27 Joel Brobecker <brobecker@adacore.com>
15394
15395 * gdb.ada/rec_comp: New testcase.
15396
2d369d8e
SDJ
153972015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15398
15399 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15400 before using it.
15401
cf75d6c3
AB
154022015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15403
15404 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15405 new tests for verilog output.
15406
8dbe7ca5
YQ
154072015-04-24 Yao Qi <yao.qi@linaro.org>
15408
15409 * boards/remote-gdbserver-on-localhost.exp: New file.
15410
4ef9fb2f
PA
154112015-04-23 Pedro Alves <palves@redhat.com>
15412
15413 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15414 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15415 "end of file", remove $inferior_spawn_id from the indirect list.
15416
0a803169
PA
154172015-04-23 Pedro Alves <palves@redhat.com>
15418
15419 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15420
749ef8f8
PA
154212015-04-23 Pedro Alves <palves@redhat.com>
15422
15423 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15424 on $any_spawn_id instead of only on $gdb_spawn_id.
15425
8aae4344
PM
154262015-04-21 Pierre Muller <muller@sourceware.org>
15427
15428 PR pascal/17815
15429 * lib/pascal.exp (gpc_compile): Add new option "class".
15430 (fpc_compile): Likewise.
15431 * gdb.pascal/case-insensitive-symbols.pas: New file.
15432 * gdb.pascal/case-insensitive-symbols.exp: New file.
15433
1586c8fb
GB
154342015-04-20 Gary Benson <gbenson@redhat.com>
15435
15436 * gdb.base/attach.exp: Fix three extended remote failures.
15437
1b6e6f5c
GB
154382015-04-17 Gary Benson <gbenson@redhat.com>
15439
15440 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15441 the main executable over the remote protocol.
15442
e797481d
PA
154432015-04-16 Pedro Alves <palves@redhat.com>
15444
15445 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15446 a new gdbserver if gdbserver_reconnect_p is set.
15447
1ca99c42
PA
154482015-04-16 Pedro Alves <palves@redhat.com>
15449
15450 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15451 is set, don't exit gdbserver.
15452
af9fd6f8
AA
154532015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15454
15455 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15456 appropriate .insn, such that an older assembler can be used.
15457 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15458 the z/Architecture instruction set on 31-bit targets as well.
15459
04ff1e61
AA
154602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15461
15462 * gdb.go/handcall.exp: Remove all logic related to the first
15463 breakpoint and rely on go_runto_main instead.
15464 * gdb.go/strings.exp: Likewise.
15465 * gdb.go/unsafe.exp: Likewise.
15466 * gdb.go/hello.exp: Likewise. Also rename the remaining
15467 breakpoint marker to "breakpoint 1".
15468 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15469 * gdb.go/strings.go: Likewise.
15470 * gdb.go/unsafe.go: Likewise.
15471 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15472 "set breakpoint 2 here" and rename the remaining breakpoint marker
15473 to "breakpoint 1".
15474
40d2f8d6
SM
154752015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15476
15477 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15478 if itertools.imap is not present.
15479 * gdb.python/py-objfile.exp: Add parentheses.
15480 * gdb.python/py-type.exp: Same.
15481 * gdb.python/py-unwind-maint.py: Same.
15482
8cbc97c6
YQ
154832015-04-15 Yao Qi <yao.qi@linaro.org>
15484
15485 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15486 of ":$ptr_size" and set its form explicitly.
15487
45fd756c
YQ
154882015-04-15 Pedro Alves <palves@redhat.com>
15489 Yao Qi <yao.qi@linaro.org>
15490
15491 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15492 timeout by factor of 4.
15493 (test_regular_watch): Likewise.
15494 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15495 * gdb.reverse/sigall-reverse.exp: Likewise.
15496 * gdb.reverse/until-precsave.exp: Likewise.
15497 * lib/gdb.exp (with_timeout_factor): New proc.
15498 (gdb_expect): Move some code to ...
15499 (get_largest_timeout): ... here. New procedure.
15500
9e811bc3
LM
155012015-04-14 Luis Machado <lgustavo@codesourcery.com>
15502
15503 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15504
0ff6fcb2
LM
155052015-04-13 Luis Machado <lgustavo@codesourcery.com>
15506
15507 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15508 to write to the .text section.
15509
7578d5f7
LM
155102015-04-13 Luis Machado <lgustavo@codesourcery.com>
15511
15512 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15513 Handle the case of targets that do not provide PID information.
15514
2efe15c4
YQ
155152015-04-13 Yao Qi <yao.qi@linaro.org>
15516
15517 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15518 and use expect instead of gdb_expect.
15519
8cd8f2f8
SDJ
155202015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15521
15522 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15523 "coredump_var_addr" to avoid naming conflict with other testcases.
15524
9ee41772
PA
155252015-04-10 Pedro Alves <palves@redhat.com>
15526
15527 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15528 gdb_test_sequence and gdb_assert.
15529
07473109
PA
155302015-04-10 Pedro Alves <palves@redhat.com>
15531
15532 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15533 test messages that don't include the breakpoint address.
15534
de3db44c
YQ
155352015-04-10 Yao Qi <yao.qi@linaro.org>
15536
15537 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15538 false for some offset and width combinations which aren't
15539 supported by linux kernel.
15540
c79d856c
PA
155412015-04-10 Pedro Alves <palves@redhat.com>
15542
15543 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15544 procedure, factored out from ...
15545 (top level): ... here. Add "set displaced-stepping" testing axis.
15546 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15547 parameter "displaced". Use it.
15548 (top level): Use foreach and add "set displaced-stepping" testing
15549 axis.
15550
ebc90b50
PA
155512015-04-10 Pedro Alves <palves@redhat.com>
15552
15553 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15554 Remove comment.
15555 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15556 both the address of the instruction that triggers the watchpoint
15557 and the address of the instruction immediately after, and use
15558 those addresses for the test. Fix comment.
15559
8f572e5c
PA
155602015-04-10 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.base/sigstep.exp (breakpoint_to_handler)
15563 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15564 Test "backtrace" in handler.
15565 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15566 (top level): Add new "displaced" test axis to
15567 breakpoint_to_handler, breakpoint_to_handler_entry and
15568 breakpoint_over_handler.
15569
8d707a12
PA
155702015-04-10 Pedro Alves <palves@redhat.com>
15571
15572 PR gdb/18216
15573 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15574
ef713951
YQ
155752015-04-10 Yao Qi <yao.qi@linaro.org>
15576
15577 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15578 (test_add_rn_pc): New function.
15579 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15580 (top level): Invoke test_add_rn_pc.
15581
906d60cf
PA
155822015-04-10 Pedro Alves <palves@redhat.com>
15583
15584 PR gdb/13858
15585 * gdb.base/step-over-no-symbols.exp: New file.
15586
f2983cc3
AW
155872015-04-09 Andy Wingo <wingo@igalia.com>
15588
15589 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15590 after the Python tests.
15591
6d62641c
SDJ
155922015-04-08 Keith Seitz <keiths@redhat.com>
15593
15594 PR python/16699
15595 * gdb.python/py-completion.exp: New tests for completion.
15596 * gdb.python/py-completion.py (CompleteLimit1): New class.
15597 (CompleteLimit2): Likewise.
15598 (CompleteLimit3): Likewise.
15599 (CompleteLimit4): Likewise.
15600 (CompleteLimit5): Likewise.
15601 (CompleteLimit6): Likewise.
15602 (CompleteLimit7): Likewise.
15603
f3770638
PA
156042015-04-08 Pedro Alves <palves@redhat.com>
15605
15606 PR gdb/18214
15607 PR gdb/18216
15608 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15609 function.
15610 (main): Install it as SIGUSR1 handler.
15611 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15612 parameter. Always use "setup" as prefix. Toggle "set
15613 displaced-stepping" off/on depending on global. Don't switch to
15614 thread 1 here.
15615 (top level): Add displaced stepping "off/on" test axis. Update
15616 "setup" calls. Wrap each subtest with with_test_prefix. Test
15617 continuing with a queued signal in each thread.
15618
4496bed7
PA
156192015-04-08 Pedro Alves <palves@redhat.com>
15620
15621 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15622 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15623 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15624 Return early if running to main fails.
15625 * gdb.trace/while-stepping.exp: Likewise.
15626
b97fde92
PA
156272015-04-07 Pedro Alves <palves@redhat.com>
15628
15629 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15630 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15631 interact with inferior program.
15632
f71c18e7
PA
156332015-04-07 Pedro Alves <palves@redhat.com>
15634
15635 * lib/gdb.exp (inferior_spawn_id): New global.
15636 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15637 spawn id after processing the user code.
15638 (default_gdb_start): Set inferior_spawn_id.
15639 (send_inferior): New procedure.
15640 * lib/gdbserver-support.exp (gdbserver_start): Set
15641 inferior_spawn_id.
15642 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15643
6423214f
PA
156442015-04-07 Pedro Alves <palves@redhat.com>
15645
15646 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15647 * lib/gdbserver-support.exp (gdbserver_start): Make
15648 $server_spawn_id global.
15649 (gdbserver_start): Don't wait for gdbserver's spawn id with
15650 expect_background.
15651 (close_gdbserver): New procedure.
15652 (gdb_exit): Rename the default version and reimplement.
15653
71c0ee8c
PA
156542015-04-07 Pedro Alves <palves@redhat.com>
15655
72f4393d 15656 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15657 append the substituted item, not the original item.
15658
203bc29b
PA
156592015-04-07 Pedro Alves <palves@redhat.com>
15660
15661 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15662 gdb_expect.
15663
508a3ddf
PA
156642015-04-07 Pedro Alves <palves@redhat.com>
15665
15666 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15667 output appearing once only.
15668
9f6dbe2b
PA
156692015-04-07 Pedro Alves <palves@redhat.com>
15670
15671 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15672 that doesn't expect anything. Return early if running to main
15673 fails.
15674
337532fa
YQ
156752015-04-07 Yao Qi <yao.qi@linaro.org>
15676
15677 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15678 (child_function): Call alarm.
15679 (main): Move call to alarm into the loop.
15680 * gdb.threads/non-stop-fair-events.exp: Build program with
15681 -DTIMEOUT=$timeout.
15682
01b622d4
DE
156832015-04-06 Doug Evans <xdje42@gmail.com>
15684
15685 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15686 Fix dest parameter to board_info.
15687 (fpc_compile): Ditto.
15688 (gdb_compile_pascal): Rename dest arg to destfile.
15689
961f4160
PMR
156902015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15691
15692 * gdb.ada/funcall_ref.exp: New file.
15693 * gdb.ada/funcall_ref/foo.adb: New file.
15694
cafda597
YQ
156952015-04-02 Yao Qi <yao.qi@linaro.org>
15696
15697 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15698 is remote.
15699
fed040c6
GB
157002015-04-02 Gary Benson <gbenson@redhat.com>
15701
15702 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15703
d11916aa
SS
157042015-04-01 Sasha Smundak <asmundak@google.com>
15705
15706 * gdb.python/py-unwind-maint.c: New file.
15707 * gdb.python/py-unwind-maint.exp: New test.
15708 * gdb.python/py-unwind-maint.py: New file.
15709 * gdb.python/py-unwind.c: New file.
15710 * gdb.python/py-unwind.exp: New test.
15711 * gdb.python/py-unwind.py: New test.
15712
a1471180
PA
157132015-04-01 Pedro Alves <palves@redhat.com>
15714
15715 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15716 to fail instead of non-existent $test.
15717
0bbeccb1
PA
157182015-04-01 Pedro Alves <palves@redhat.com>
15719
15720 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15721 GDBFLAGS if not empty.
15722
3c724c8c
PMR
157232015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15724
15725 * gdb.ada/complete.exp: Remove "multi_line".
15726 * gdb.ada/info_exc.exp: Remove "multi_line".
15727 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15728 * gdb.ada/ptype_field.exp: Remove "multi_line".
15729 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15730 * gdb.ada/tagged.exp: Remove "multi_line".
15731 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15732 [multi_line ...]
15733 * gdb.btrace/delta.exp: Likewise.
15734 * gdb.btrace/exception.exp: Likewise.
15735 * gdb.btrace/function_call_history.exp: Likewise.
15736 * gdb.btrace/instruction_history.exp: Likewise.
15737 * gdb.btrace/nohist.exp: Likewise.
15738 * gdb.btrace/record_goto.exp: Likewise.
15739 * gdb.btrace/segv.exp: Likewise.
15740 * gdb.btrace/stepi.exp: Likewise.
15741 * gdb.btrace/tailcall.exp: Likewise.
15742 * gdb.btrace/unknown_functions.exp: Likewise.
15743 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15744 * lib/gdb.exp: Add the "multi_line" helper.
15745
4eec2deb
PA
157462015-04-01 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.threads/tid-reuse.c: New file.
15749 * gdb.threads/tid-reuse.exp: New file.
15750
df8411da
SDJ
157512015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15752
15753 PR corefiles/16092
15754 * gdb.base/coredump-filter.c: New file.
15755 * gdb.base/coredump-filter.exp: Likewise.
15756
6ef37366
PM
157572015-03-27 Petr Machata <pmachata@redhat.com>
15758
15759 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15760 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15761 (Dwarf::assemble): Initialize them.
15762 (Dwarf::lines): New function.
15763
7ec911b0
JT
157642015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15765
15766 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15767 SYMBOL_PREFIX for x86_64-*-cygwin.
15768
ff908ebf
AW
157692015-03-26 Andy Wingo <wingo@igalia.com>
15770
15771 PR symtab/18148
15772 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15773 const_value but not a location.
15774 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15775 location defined in non-main CUs are visible.
15776
6d5f0679
YQ
157772015-03-26 Yao Qi <yao.qi@linaro.org>
15778
15779 PR testsuite/18139
15780 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15781 Add a line number entry for the same line.
15782 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15783 Add a line number entry for the same line.
15784
2898689b
YQ
157852015-03-26 Yao Qi <yao.qi@linaro.org>
15786
15787 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15788 .int 0.
15789 (func): Likewise. Add .Lfunc_1 label.
15790 Use .Lfunc_1 label.
15791 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15792 .int 0.
15793 (func): Likewise.
15794 Use .Lfunc_1 label.
15795
85180498
YQ
157962015-03-26 Yao Qi <yao.qi@linaro.org>
15797
15798 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15799 Call gdb_compile instead to compile each .s files without debug
15800 information.
15801
8aa08a8d
YQ
158022015-03-26 Yao Qi <yao.qi@linaro.org>
15803
15804 * gdb.base/savedregs.exp (process_saved_regs): Make
15805 "Saved registers:" optional in the pattern.
15806
66849923
MM
158072015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15808
15809 * gdb.btrace/next.exp: Merged into step.exp.
15810 * gdb.btrace/finish.exp: Merged into step.exp.
15811 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15812 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15813 "record goto" and checking the exact replay position.
15814 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15815 check for "Recording format" in "info record" output.
15816 * gdb.btrace/record_goto.exp: Choose test file based on target.
15817 * gdb.btrace/x86-record_goto.S: Renamed into ...
15818 * gdb.btrace/x86_64-record_goto.S: ... this.
15819 * gdb.btrace/i686-record_goto.S: New.
15820 * gdb.btrace/x86-tailcall.S: Renamed into ...
15821 * gdb.btrace/x86_64-tailcall.S: ... this.
15822 * gdb.btrace/i686-tailcall.S: New.
15823 * gdb.btrace/x86-tailcall.c: Renamed into ...
15824 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15825 separate statements. Update test.
15826 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15827 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15828 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15829 * gdb.btrace/tailcall.exp: Choose test file based on target.
15830 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15831
11cc1b74
MM
158322015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15833
15834 * gdb.btrace/exception.exp: Increase BTS buffer size.
15835
a25d8bf9
PA
158362015-03-24 Pedro Alves <palves@redhat.com>
15837
15838 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15839
856e7dd6
PA
158402015-03-24 Pedro Alves <palves@redhat.com>
15841
15842 * gdb.threads/schedlock.exp (test_step): No longer expect that
15843 "set scheduler-locking step" with "next" over a function call runs
15844 threads unlocked.
15845
ad235a41
AT
158462015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15847
15848 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15849
15630549
AT
158502015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15851
15852 PR breakpoints/16466
15853 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15854 * gdb.mi/mi-pending.c (thread_func): New function.
15855 (int main): Add threading support required.
15856 * gdb.mi/mi-pending.exp: Add tests for this issue.
15857 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15858 (pendfunc2): Remove stdio dependency.
15859 * gdb.mi/mi-pendshr2.c: New file.
15860
693dca06
KS
158612015-03-23 Keith Seitz <keiths@redhat.com>
15862
15863 * gdb.linespec/keywords.c: New file.
15864 * gdb.linespec/keywords.exp: New file.
15865
7e993ebf
KS
158662015-03-23 Keith Seitz <keiths@redhat.com>
15867
15868 PR gdb/18021
15869 * gdb.dwarf2/staticvirtual.exp: New test.
15870
bc23328c
JK
158712015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15872
15873 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15874 * README: Remove HP-UX and gdb.hp.
15875 (configuration):
15876 * configure: Regenerate.
15877 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15878 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15879 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15880 gdb.hp/gdb.defects/Makefile.
15881 * gdb.hp/Makefile.in: File deleted.
15882 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15883 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15884 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15885 * gdb.hp/gdb.aCC/run.c: File deleted.
15886 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15887 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15888 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15889 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15890 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15891 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15892 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15893 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15894 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15895 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15896 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15897 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15898 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15899 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15900 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15901 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15902 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15903 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15904 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15905 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15906 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15907 * gdb.hp/gdb.compat/average.c: File deleted.
15908 * gdb.hp/gdb.compat/sum.c: File deleted.
15909 * gdb.hp/gdb.compat/xdb.c: File deleted.
15910 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15911 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15912 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15913 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15914 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15915 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15916 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15917 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15918 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15919 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15920 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15921 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15922 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15923 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15924 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15925 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15926 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15927 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15928 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15929 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15930 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15931 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15932 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15933 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15934 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15935 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15936 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15937 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15938 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15939 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15940 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15941 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15942 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15943 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15944 * gdb.hp/tools/odump: File deleted.
15945
8bf3b159
PA
159462015-03-19 Pedro Alves <palves@redhat.com>
15947
15948 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15949 (saw_thread_3): New globals.
15950 (top level): Increment them when an event for the corresponding
15951 thread is seen.
15952 (no thread starvation): New test.
15953
eb54c8bf
PA
159542015-03-19 Pedro Alves <palves@redhat.com>
15955
15956 * gdb.threads/continue-pending-status.c: New file.
15957 * gdb.threads/continue-pending-status.exp: New file.
15958
32d2e5d6
PA
159592015-03-18 Pedro Alves <palves@redhat.com>
15960
15961 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15962 Use gdb_is_target_remote instead of is_remote. Use
15963 gdb_test_multiple instead of gdb_expect. Exit early if
15964 gdb_test_multiple hits its internal matches. Tighten stepi tests
15965 expected output. Fail on exit with any signal, instead of just
15966 SIGILL.
15967
f68f11b7
YQ
159682015-03-18 Yao Qi <yao.qi@linaro.org>
15969
15970 PR tdep/18107
15971 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15972 variable.
15973 * gdb.base/catch-syscall.exp: Don't skip it on
15974 aarch64*-*-linux* target. Remove elements in all_syscalls.
15975 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15976 target.
15977 (setup_all_syscalls): New proc.
15978
ca5fd19b
YQ
159792015-03-16 Yao Qi <yao.qi@linaro.org>
15980
15981 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15982 (top level): Skip tests if valid_addr_p returns false for
15983 $cmd1 or $cmd2.
15984
85642ba0
AW
159852015-03-11 Andy Wingo <wingo@igalia.com>
15986
15987 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15988
e03f9645
YQ
159892015-03-11 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.base/catch-syscall.exp: Fix typo in comments.
15992
5d0962b2
YQ
159932015-03-11 Yao Qi <yao.qi@linaro.org>
15994
15995 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15996
b2df3cef
PA
159972015-03-09 Pedro Alves <palves@redhat.com>
15998
15999 * dg-extract-results.py: Delete.
16000
ef878e53
PA
160012015-03-09 Pedro Alves <palves@redhat.com>
16002
16003 Merge dg-extract-results.sh from GCC upstream (r218843).
16004
16005 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16006 * dg-extract-results.sh: Use --text with grep to avoid issues with
16007 binary files. Fall back to cat -v, if that doesn't work.
16008
9494d219
PA
160092015-03-05 Pedro Alves <palves@redhat.com>
16010
16011 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16012
a8d9763a
SM
160132015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16014
16015 * lib/mi-support.exp (mi_expect_interrupt): Accept
16016 alternative event for when in all-stop mode.
16017
be9957b8
PA
160182015-03-04 Pedro Alves <palves@redhat.com>
16019
16020 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16021
d57be0f4 160222015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16023
16024 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16025
c214c7cf
AA
160262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16027
16028 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16029 regexps for GDB's current line display, accept a hex address
16030 preceding the line number.
16031
6d74a497
AA
160322015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16033
16034 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16035 the 'arch1' variable for "s390*-linux*" targets.
16036
511aee7c
PA
160372015-03-04 Pedro Alves <palves@redhat.com>
16038
16039 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16040 (main): Pass missing retval argument to pthread_join call.
16041
95e50b27
PA
160422015-03-02 Pedro Alves <palves@redhat.com>
16043
16044 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16045 (top level): Call do_test with non-stop as well.
16046
28054d69
PA
160472015-03-02 Pedro Alves <palves@redhat.com>
16048
16049 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16050 -1.
16051
4fa5d7b4
AA
160522015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16053
16054 * gdb.arch/s390-vregs.exp: New test.
16055 * gdb.arch/s390-vregs.S: New file.
16056
97c18565
PA
160572015-02-27 Pedro Alves <palves@redhat.com>
16058
16059 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16060 call to catch_command_errors.
16061 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16062 catch_command_errors.
16063
a37bfa30
PA
160642015-02-27 Pedro Alves <palves@redhat.com>
16065
16066 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16067 "true" for boolean result.
16068 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16069 prototype of main.
16070
6f98576f
PA
160712015-02-27 Pedro Alves <palves@redhat.com>
16072
16073 * lib/unbuffer_output.c: New file.
16074 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16075 (main): Call gdb_unbuffer_output.
16076
eba5ab56
YQ
160772015-02-27 Yao Qi <yao.qi@linaro.org>
16078
16079 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16080 target.
16081
0def5aaa
DE
160822015-02-26 Doug Evans <dje@google.com>
16083
16084 * gdb.cp/class2.cc (Dbase, D): New classes.
16085 (main): New local delta.
16086 * gdb.cp/class2.exp: Test printing delta.
16087 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16088 (dynbar): New global.
16089 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16090
081a1c2c
JK
160912015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16092
16093 * gdb.compile/compile-ifunc.c: New file.
16094 * gdb.compile/compile-ifunc.exp: New file.
16095
2f41223f
AT
160962015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16097
16098 * gdb.base/structs.exp: Check for correct struct on finish.
16099
03eddd80
YQ
161002015-02-26 Yao Qi <yao.qi@linaro.org>
16101
16102 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16103 is zero.
16104
80c57053
JK
161052015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16106
16107 * gdb.arch/cordic.ko.bz2: New file.
16108 * gdb.arch/cordic.ko.debug.bz2: New file.
16109 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16110
21613c12
YQ
161112015-02-25 Yao Qi <yao.qi@linaro.org>
16112
16113 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16114 aarch64*-*-* target.
16115
d8b901ed
PA
161162015-02-23 Pedro Alves <palves@redhat.com>
16117
16118 * lib/gdb.exp (delete_breakpoints): Rewrite using
16119 gdb_test_multiple.
16120
e5b85ead
PA
161212015-02-23 Pedro Alves <palves@redhat.com>
16122
16123 * gdb.base/info-os.c: Include stdlib.h.
16124
85c3a371
DE
161252015-02-22 Doug Evans <xdje42@gmail.com>
16126
16127 PR symtab/17855
16128 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16129 is read after symbols have been re-read.
16130 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16131 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16132
96553a0c
DE
161332015-02-21 Doug Evans <dje@google.com>
16134
16135 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16136
97a0c697
JK
161372015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16138
16139 PR corefiles/17808
16140 * gdb.arch/i386-biarch-core.core.bz2: New file.
16141 * gdb.arch/i386-biarch-core.exp: New file.
16142
a47cd6e9
PA
161432015-02-21 Pedro Alves <palves@redhat.com>
16144
16145 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16146 runto_main fails.
16147
c5facdc4
PA
161482015-02-20 Pedro Alves <palves@redhat.com>
16149
16150 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16151 info probes.
16152
2db9a427
PA
161532015-02-20 Pedro Alves <palves@redhat.com>
16154
16155 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16156
60fb7e9e
PA
161572015-02-20 Pedro Alves <palves@redhat.com>
16158
16159 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16160 clean_restart before gdb_target_supports_trace.
16161
5c5019c2
PA
161622015-02-20 Pedro Alves <palves@redhat.com>
16163
16164 PR threads/18006
16165 * gdb.threads/clone-thread_db.c: New file.
16166 * gdb.threads/clone-thread_db.exp: New file.
16167
c9587f88
AT
161682015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16169
16170 PR breakpoints/16812
16171 * gdb.base/catch-gdb-caused-signals.c: New file.
16172 * gdb.base/catch-gdb-caused-signals.exp: New file.
16173
f6a88844
JM
161742015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16175
16176 * configure: Regenerated.
16177 * configure.ac: Use GDB_AC_TRANSFORM.
16178 * aclocal.m4: sinclude ../transform.m4.
16179
497c491b
JM
161802015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16181
16182 * lib/dtrace.exp: New file.
16183 * gdb.base/dtrace-probe.exp: Likewise.
16184 * gdb.base/dtrace-probe.d: Likewise.
16185 * gdb.base/dtrace-probe.c: Likewise.
16186 * lib/pdtrace.in: Likewise.
16187 * configure.ac: Output variables with the transformed names of
16188 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16189 * configure: Regenerated.
16190
03e98035
JM
161912015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16192
16193 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16194 expected message when trying to access $_probe_* convenience
16195 variables while not on a probe.
16196
63cc30e9
JK
161972015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16198
16199 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16200
0703599a
PA
162012015-02-11 Pedro Alves <pedro@codesourcery.com>
16202
16203 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16204 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16205
7e60a48e
DE
162062015-02-10 Doug Evans <xdje42@gmail.com>
16207
16208 * lib/gdb.exp (gdb_load): Always return a result.
16209
01b088bc
PA
162102015-02-10 Pedro Alves <palves@redhat.com>
16211
16212 * gdb.threads/signal-sigtrap.c: New file.
16213 * gdb.threads/signal-sigtrap.exp: New file.
16214
b05ec7a5
AT
162152015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16216
16217 * gdb.trace/no-attach-trace.c: New file.
16218 * gdb.trace/no-attach-trace.exp: New file.
16219
a2c2acaf
MW
162202015-02-09 Mark Wielaard <mjw@redhat.com>
16221
16222 * gdb.dwarf2/atomic.c: New file.
16223 * gdb.dwarf2/atomic-type.exp: Likewise.
16224
31fd9caa
MM
162252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16226
16227 * gdb.btrace/buffer-size.exp: Update "info record" output.
16228 * gdb.btrace/delta.exp: Update "info record" output.
16229 * gdb.btrace/enable.exp: Update "info record" output.
16230 * gdb.btrace/finish.exp: Update "info record" output.
16231 * gdb.btrace/instruction_history.exp: Update "info record" output.
16232 * gdb.btrace/next.exp: Update "info record" output.
16233 * gdb.btrace/nexti.exp: Update "info record" output.
16234 * gdb.btrace/step.exp: Update "info record" output.
16235 * gdb.btrace/stepi.exp: Update "info record" output.
16236 * gdb.btrace/nohist.exp: Update "info record" output.
16237
d33501a5
MM
162382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16239
16240 * gdb.btrace/buffer-size: New.
16241
f4abbc16
MM
162422015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16243
16244 * gdb.btrace/delta.exp: Update "info record" output.
16245 * gdb.btrace/enable.exp: Update "info record" output.
16246 * gdb.btrace/finish.exp: Update "info record" output.
16247 * gdb.btrace/instruction_history.exp: Update "info record" output.
16248 * gdb.btrace/next.exp: Update "info record" output.
16249 * gdb.btrace/nexti.exp: Update "info record" output.
16250 * gdb.btrace/step.exp: Update "info record" output.
16251 * gdb.btrace/stepi.exp: Update "info record" output.
16252 * gdb.btrace/nohist.exp: Update "info record" output.
16253
b9d61307
SM
162542015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16255
16256 PR gdb/15678
16257 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16258
e584fdbc
PA
162592015-02-06 Pedro Alves <palves@redhat.com>
16260
16261 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16262 macro.
16263 (seconds_left, again): New globals.
16264 (main): Wait seconds_left in a 1-second sleep loop instead of
16265 sleeping 180 seconds. If 'again' is set, reset the seconds
16266 counter.
16267 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16268 'again' in the inferior before detaching. Print the seconds left.
16269 (options): New global.
16270 (top level): Build program with -DTIMEOUT=$timeout.
16271
77f41761
PA
162722015-02-06 Pedro Alves <palves@redhat.com>
16273
16274 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16275 determine how many seconds to pass to 'alarm'.
16276 * gdb.base/gdb-sigterm.exp (top level): Build program with
16277 -DTIMEOUT=$timeout.
16278 (do_test): Return success/failure indication. Add more verbose
16279 logging. Don't fail if 200 single steps are seen. Instead, fail
16280 when the test times out.
16281 (passes): New global.
16282 (top level): Break the testing loop if testing fails on any
16283 iteration. Use gdb_assert.
16284
b9394193
DB
162852015-02-04 Don Breazeal <donb@codesourcery.com>
16286
16287 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16288 and initialize them.
16289 (ipc_cleanup): New function.
16290 (main): Don't declare shmid, semid, and msqid. Add a call to
16291 atexit so that we call ipc_cleanup on exit.
16292
42d9e528
PA
162932015-02-04 Pedro Alves <palves@redhat.com>
16294
16295 * boards/native-extended-gdbserver.exp: Remove any target variant
16296 specifications from the board name before clearing the isremote
16297 flag from board_info.
16298
ae6ae975
DE
162992015-01-31 Doug Evans <xdje42@gmail.com>
16300
16301 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16302
cfb069a8
GB
163032015-01-31 Gary Benson <gbenson@redhat.com>
16304
16305 * gdb.base/completion.exp: Disable completion limiting for
16306 existing tests. Add new tests to check completion limiting.
16307 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16308
5dd31d79
DE
163092015-01-31 Doug Evans <xdje42@gmail.com>
16310
16311 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16312
9f050062
DE
163132015-01-31 Doug Evans <xdje42@gmail.com>
16314
16315 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16316 entries. Duplicate file section script entries.
16317 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16318 inlined entries. Add test for safe-path rejection.
16319 * gdb.python/py-section-script.c: Add duplicate inlined section script
16320 entries. Duplicate file section script entries.
16321 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16322 inlined entries. Add test for safe-path rejection.
16323
df25ebbd
JB
163242015-01-29 Joel Brobecker <brobecker@adacore.com>
16325
16326 * gdb.ada/disc_arr_bound: New testcase.
16327
4a0ca9ec
JB
163282015-01-29 Joel Brobecker <brobecker@adacore.com>
16329
16330 * gdb.ada/mi_var_array: New testcase.
16331
3a8b707a
DE
163322015-01-27 Doug Evans <dje@google.com>
16333
16334 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16335 Add test for objfile.filename, objfile.username after objfile
16336 has been unloaded.
16337
f8313f6e
JB
163382015-01-26 Joel Brobecker <brobecker@adacore.com>
16339
16340 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16341 the second test to print the name attribute of value
16342 returned by the call to gdb.lookup_type, and adjust
16343 the expected output accordingly.
16344
37bc665e
MW
163452015-01-25 Mark Wielaard <mjw@redhat.com>
16346
16347 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16348 * gdb.base/disp-step-fork.c: Include unistd.h.
16349 * gdb.base/siginfo-obj.c: Include stdio.h.
16350 * gdb.base/siginfo-thread.c: Likewise.
16351 * gdb.mi/non-stop.c: Include unistd.h.
16352 * gdb.mi/nsthrexec.c: Include stdio.h.
16353 * gdb.mi/pthreads.c: Include unistd.h.
16354 * gdb.modula2/unbounded1.c (main): Declare returns int.
16355 * gdb.reverse/consecutive-reverse.c: Likewise.
16356 * gdb.threads/create-fail.c: Include unistd.h.
16357 * gdb.threads/killed.c: Likewise.
16358 * gdb.threads/linux-dp.c: Likewise.
16359 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16360 * gdb.threads/non-ldr-exc-2.c: Likewise.
16361 * gdb.threads/non-ldr-exc-3.c: Likewise.
16362 * gdb.threads/non-ldr-exc-4.c: Likewise.
16363 * gdb.threads/pthreads.c: Include unistd.h.
16364 (main): Declare returns int.
16365 * gdb.threads/tls-main.c (foo): New declaration.
16366 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16367
f7e5394d
SM
163682015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16369
16370 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16371 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16372
743649fd
MW
163732015-01-15 Mark Wielaard <mjw@redhat.com>
16374
16375 * gdb.base/noreturn-return.c: New file.
16376 * gdb.base/noreturn-return.exp: New file.
16377 * gdb.base/noreturn-finish.c: New file.
16378 * gdb.base/noreturn-finish.exp: New file.
16379
198297aa
PA
163802015-01-23 Pedro Alves <palves@redhat.com>
16381
16382 * gdb.threads/continue-pending-after-query.c: New file.
16383 * gdb.threads/continue-pending-after-query.exp: New file.
16384
717cf30c
AG
163852015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16386 Simon Marchi <simon.marchi@ericsson.com>
16387
16388 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16389 * gdb.base/valgrind-db-attach.exp: Same.
16390 * gdb.base/valgrind-infcall.exp: Same.
16391 * lib/mi-support.exp (default_mi_gdb_start): Same.
16392 * lib/prompt.exp (default_prompt_gdb_start): Same.
16393 * lib/gdb.exp (default_gdb_spawn): Same.
16394 (gdb_interact): New.
16395
16396
4b62a76e
JK
163972015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16398
16399 * gdb.compile/compile.exp (pointer to jit function): New test.
16400
b4cdae6f
WW
164012015-01-17 Wei-cheng Wang <cole945@gmail.com>
16402
16403 * lib/gdb.exp (supports_process_record): Return true for
16404 powerpc*-*-linux*.
16405 (supports_reverse): Likewise.
16406
d221e7ef
DB
164072015-01-15 Don Breazeal <donb@codesourcery.com>
16408
16409 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16410 instead of checking whether the target board is remote and
16411 use spawn_wait_for_attach instead of exec/sleep.
16412 * gdb.base/attach-twice.exp: Likewise.
16413
bafffb51
JB
164142015-01-15 Joel Brobecker <brobecker@adacore.com>
16415
16416 * gdb.ada/var_arr_attrs: New testcase.
16417
5589af0e
PA
164182015-01-14 Pedro Alves <palves@redhat.com>
16419 Joel Brobecker <brobecker@adacore.com>
16420
16421 PR gdb/17525
16422 * gdb.base/bp-cmds-execution-x-script.c: New file.
16423 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16424 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16425
6c400b59
PA
164262015-01-14 Pedro Alves <palves@redhat.com>
16427
16428 PR cli/17828
16429 * gdb.base/batch-preserve-term-settings.c: New file.
16430 * gdb.base/batch-preserve-term-settings.exp: New file.
16431
e02c96a7
DE
164322015-01-13 Doug Evans <dje@google.com>
16433
16434 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16435 binary.
16436
576fd14c
JB
164372015-01-13 Joel Brobecker <brobecker@adacore.com>
16438
16439 * Makefile.in (clean mostlyclean): Do not delete *.py.
16440
04dccad0
JB
164412015-01-13 Joel Brobecker <brobecker@adacore.com>
16442
16443 * gdb.python/py-lookup-type.exp: New file.
16444
3d230f71
PA
164452015-01-12 Pedro Alves <palves@redhat.com>
16446
16447 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16448 restore GDBFLAGS before returning.
16449
7e67715d
JK
164502015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16451
16452 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16453 is_amd64_regs_target and is_x86_like_target.
16454
f2e0d4b4
DE
164552015-01-11 Doug Evans <xdje42@gmail.com>
16456
16457 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16458 is given without an explicit form.
16459 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16460 attributes.
16461 * gdb.dwarf/corrupt.exp: Ditto.
16462 * gdb.dwarf2/enum-type.exp: Ditto.
16463 * gdb.trace/entry-values.exp: Ditto.
16464 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16465
439250fb
DE
164662015-01-11 Doug Evans <xdje42@gmail.com>
16467
16468 PR gdb/15830
16469 * gdb.base/maint.exp: Remove references to "maint demangle".
16470 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16471 Add tests for explicitly specifying language to demangle.
16472 * gdb.dlang/demangle.exp: Ditto.
16473
ede9f622
PA
164742015-01-09 Pedro Alves <palves@redhat.com>
16475
16476 * gdb.threads/non-stop-fair-events.c: New file.
16477 * gdb.threads/non-stop-fair-events.exp: New file.
16478
a7b796db
PA
164792015-01-09 Pedro Alves <palves@redhat.com>
16480
16481 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16482 the global scope. Set a breakpoint after all threads are started
16483 rather than stepping over two source lines. Expect the prompt.
16484 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16485 global.
16486 (NUM): Now 15.
16487 (main): Use threads_started_barrier to wait for all threads to
16488 start. Main thread no longer calls thread_function. Exit after
16489 180 seconds.
16490 (loop): New function.
16491 (thread_function): Wait on threads_started_barrier barrier. Call
16492 'loop' at each iteration.
16493 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16494 threads have started, instead of hardcoding number of "next"
16495 steps. Use an access watchpoint instead of a write watchpoint.
16496
9665ffdd
PA
164972015-01-09 Pedro Alves <palves@redhat.com>
16498
16499 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16500 (thread_func): Wait on barrier.
16501 (main): Wait for all threads to start before stopping GDB.
16502 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16503 global.
16504 (thread1_func, thread2_func): Wait on barrier.
16505 (main): Wait for all threads to start before stopping GDB.
16506 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16507 New global.
16508 (thread1_func, thread2_func): Wait on barrier.
16509 (main): Wait for all threads to start before stopping GDB.
16510
c945a99f
PA
165112015-01-09 Pedro Alves <palves@redhat.com>
16512
16513 * gdb.threads/attach-many-short-lived-threads.c: New file.
16514 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16515
c1a747c1
PA
165162014-01-09 Pedro Alves <palves@redhat.com>
16517
16518 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16519 instead of to thread 2.
16520 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16521 Add barrier around each pthread_create call instead of around all
16522 calls.
16523 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16524 Set a break on thread_function and have the child threads hit it
16525 one at at a time.
16526
60b3033e
PA
165272015-01-09 Pedro Alves <palves@redhat.com>
16528
16529 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16530 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16531 false.
16532 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16533 checking whether the target board is remote.
16534 * gdb.multi/multi-attach.exp: Likewise.
16535 * gdb.python/py-sync-interp.exp: Likewise.
16536 * gdb.server/ext-attach.exp: Likewise.
16537 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16538 tests that need to attach, instead of checking whether the target
16539 board is remote at the top of the file.
16540
acc018ac
YQ
165412015-01-08 Yao Qi <yao@codesourcery.com>
16542
16543 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16544
50a18af8
JK
165452015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16546
16547 Fix testcase compilation.
16548 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16549
8503d6e1
JB
165502015-01-06 Joel Brobecker <brobecker@adacore.com>
16551
16552 * gdb.python/py-type.exp: Add a couple test about empty
16553 array creation, and negative-length array creation.
16554
cc73dbcc
DE
165552015-01-02 Doug Evans <xdje42@gmail.com>
16556
16557 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16558
0300bbc7
DE
165592015-01-02 Doug Evans <dje@google.com>
16560
16561 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16562
9d85a0ec
YQ
165632014-12-29 Yao Qi <yao@codesourcery.com>
16564
16565 * gdb.trace/entry-values.exp: Update comments. Rename variable
16566 bar_call_foo to returned_from_foo.
16567
87186c6a
MMN
165682014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16569
16570 PR gdb/17394
16571 * gdb.linespec/break-asm-file.c: New file.
16572 * gdb.linespec/break-asm-file.exp: New file.
16573 * gdb.linespec/break-asm-file0.s: New file.
16574 * gdb.linespec/break-asm-file1.s: New file.
16575
1bab7383
YQ
165762014-12-18 Nigel Stephens <nigel@mips.com>
16577 Maciej W. Rozycki <macro@codesourcery.com>
16578
16579 * gdb.base/float.exp: Handle the new output from "info float" on
16580 MIPS targets.
16581
1bc1068a
JK
165822014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16583
16584 Fix MinGW compilation.
16585 * gdb.compile/compile-ops.exp: Update untested message if
16586 !skip_compile_feature_tests.
16587 * gdb.compile/compile-setjmp.exp: Likewise.
16588 * gdb.compile/compile-tls.exp: Likewise.
16589 * gdb.compile/compile.exp: Likewise.
16590 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16591 supported on this host".
16592
b6615d10
DE
165932014-12-16 Doug Evans <xdje42@gmail.com>
16594
16595 * boards/stabs.exp: New file.
16596
25dda427
AA
165972014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16598
16599 * gdb.base/completion.exp: Adjust to format changes of "maint
16600 print user-registers".
16601
bf330350
CU
166022014-12-16 Catalin Udma <catalin.udma@freescale.com>
16603
16604 PR server/17457
16605 * gdb.arch/aarch64-fp.c: New file.
16606 * gdb.arch/aarch64-fp.exp: New file.
16607
395cf596
SDJ
166082014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16609
16610 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16611 r210637, r210913, r211666, r215400, r215817).
16612
16613 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16614 * dg-extract-results.py: New file.
16615 * dg-extract-results.sh: Use it if the environment seems
16616 suitable.
16617
16618 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16619
16620 * dg-extract-results.py (parse_run): Handle warnings that
16621 are printed before a test harness is run.
16622
16623 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16624
16625 * dg-extract-results.py (Named): Remove __cmp__ method.
16626 (output_variation): Use a key to sort variation.harnesses.
16627
16628 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16629
16630 * dg-extract-results.py: For Python 3, force sys.stdout to
16631 handle surrogate escape sequences.
16632 (safe_open): New function.
16633 (output_segment, main): Use it.
16634
16635 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16636
16637 * dg-extract-results.py (Prog.result_re): Include options
16638 in test name.
16639
16640 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16641
16642 * dg-extract-results.py (output_variation): Always sort if
16643 do_sum.
16644
e882ef3c
SM
166452014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16646
16647 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16648 as long as we get pagination notifications.
16649
4992aa20
JM
166502014-12-15 Jason Merrill <jason@redhat.com>
16651
16652 * Makefile.in (check-gdb.%): Restore.
16653 * README: Mention it.
16654
c1b5a1a6
JB
166552014-12-13 Joel Brobecker <brobecker@adacore.com>
16656
16657 * gdb.ada/str_uninit: New testcase.
16658
5537b577
JK
166592014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16660
16661 PR symtab/17642
16662 * gdb.base/vla-stub-define.c: New file.
16663 * gdb.base/vla-stub.c: New file.
16664 * gdb.base/vla-stub.exp: New file.
16665
bb2ec1b3
TT
166662014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16667 Jan Kratochvil <jan.kratochvil@redhat.com>
16668 Tom Tromey <tromey@redhat.com>
16669
16670 * configure.ac: Add gdb.compile/.
16671 * configure: Regenerate.
16672 * gdb.compile/Makefile.in: New file.
16673 * gdb.compile/compile-ops.exp: New file.
16674 * gdb.compile/compile-ops.c: New file.
16675 * gdb.compile/compile-tls.c: New file.
16676 * gdb.compile/compile-tls.exp: New file.
16677 * gdb.compile/compile-constvar.S: New file.
16678 * gdb.compile/compile-constvar.c: New file.
16679 * gdb.compile/compile-mod.c: New file.
16680 * gdb.compile/compile-nodebug.c: New file.
16681 * gdb.compile/compile-setjmp-mod.c: New file.
16682 * gdb.compile/compile-setjmp.c: New file.
16683 * gdb.compile/compile-setjmp.exp: New file.
16684 * gdb.compile/compile-shlib.c: New file.
16685 * gdb.compile/compile.c: New file.
16686 * gdb.compile/compile.exp: New file.
16687 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16688
4ff709eb
TT
166892014-12-12 Tom Tromey <tromey@redhat.com>
16690
16691 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16692 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16693
6dddd6a5
DE
166942014-12-12 Doug Evans <dje@google.com>
16695
16696 * lib/gdb-python.exp (get_python_valueof): New function.
16697 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16698
71c24708
AA
166992014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16700
16701 * gdb.base/completion.exp: Add test for completion of "info
16702 registers ".
16703
3e29f34a
MR
167042014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16705
16706 * gdb.base/func-ptrs.c: New file.
16707 * gdb.base/func-ptrs.exp: New file.
16708
fc126975
SM
167092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16710
16711 PR breakpoints/17012
16712 * gdb.base/dprintf-detach.c: New file.
16713 * gdb.base/dprintf-detach.exp: New file.
16714
0a46d518
SM
167152014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16716
16717 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16718 * lib/gdb.exp (target_is_gdbserver): New procedure.
16719
a0be3e44
DE
167202014-12-08 Doug Evans <dje@google.com>
16721
16722 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16723
df1b803a
YQ
167242014-12-05 Yao Qi <yao@codesourcery.com>
16725
16726 * gdb.guile/scm-error.exp: Remove the third argument to
16727 gdb_remote_download.
16728 * gdb.guile/scm-frame-args.exp: Likewise.
16729 * gdb.guile/scm-section-script.exp: Likewise.
16730
ddb9f679
YQ
167312014-12-05 Yao Qi <yao@codesourcery.com>
16732
16733 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16734
86e4ed39
DE
167352014-12-04 Doug Evans <dje@google.com>
16736
16737 * gdb.python/py-objfile.exp: Add tests for
16738 objfile.add_separate_debug_file.
16739
7c50a931
DE
167402014-12-04 Doug Evans <dje@google.com>
16741
16742 * lib/gdb.exp (get_build_id): New function.
16743 (build_id_debug_filename_get): Rewrite to use it.
16744 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16745
621661e3
MR
167462014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16747
16748 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16749 `method(long)', not just 0x0.
16750 * gdb.cp/nsalias.exp: Align code labels to 4.
16751 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16752 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16753 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16754 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16755 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16756 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16757
29f0c3b7
DE
167582014-12-02 Doug Evans <dje@google.com>
16759
e1e061e7 16760 PR symtab/17602
29f0c3b7 16761 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16762 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16763 * gdb.cp/anon-ns.exp: Update.
16764
162078c8
NB
167652014-12-02 Nick Bull <nicholaspbull@gmail.com>
16766
16767 * gdb.python/py-events.py (inferior_call_handler): New.
16768 (register_changed_handler, memory_changed_handler): New.
16769 (test_events.invoke): Register new handlers.
16770 * gdb.python/py-events.exp: Add tests for inferior call,
16771 memory_changed and register_changed events.
16772
fdb09caf
AA
167732014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16774
16775 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16776 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16777 if the linker doesn't understand this.
16778
55cfb2c4
SM
167792014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16780
16781 * gdb.python/python.exp: Change expected reply to help().
16782
9e8cd6df
YQ
167832014-12-01 Yao Qi <yao@codesourcery.com>
16784
16785 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16786 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16787 * configure: Re-generated.
16788
6c659fc2
SC
167892014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16790
16791 * gdb.cp/chained-calls.cc: New file.
16792 * gdb.cp/chained-calls.exp: New file.
16793 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16794
d7fc3181
SM
167952014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16796
16797 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16798 * gdb.dwarf2/symtab-producer.exp: Same.
16799 * gdb.gdb/python-interrupts.exp: Same.
16800 * gdb.gdb/python-selftest.exp: Same.
16801 * gdb.python/py-linetable.exp: Same.
16802 * gdb.python/py-type.exp: Same.
16803 * gdb.python/py-value-cc.exp: Same.
16804 * gdb.python/py-value.exp: Same.
16805
10e79639
YQ
168062014-11-28 Yao Qi <yao@codesourcery.com>
16807
16808 * gdb.base/break-probes.exp: Match library name prefixed with
16809 sysroot.
16810
f28a0564
SM
168112014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16812
16813 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16814 test expected output. Add parentheses for the call to print.
16815 Remove L suffix from integers.
16816
3fe1ce1d
DE
168172014-11-26 Doug Evans <dje@google.com>
16818
16819 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16820
84429e27
YQ
168212014-11-22 Yao Qi <yao@codesourcery.com>
16822
16823 * gdb.trace/entry-values.c: Remove asms.
16824 (foo): Add foo_label.
16825 (bar): Add bar_label.
16826 * gdb.trace/entry-values.exp: Remove code computing foo's
16827 length and bar's length.
16828 (Dwarf::assemble): Invoke function_range for bar and use
16829 MACRO_AT_func for foo.
16830
26741859
YQ
168312014-11-22 Yao Qi <yao@codesourcery.com>
16832
16833 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16834 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16835 Use .Lgcc43_procstart instead of gcc43.
16836
45e44d27
JB
168372014-11-21 Joel Brobecker <brobecker@adacore.com>
16838
16839 * gdb.ada/n_arr_bound: New testcase.
16840
458c8db8
SDJ
168412014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16842
16843 PR breakpoints/10737
16844 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16845 test_catch_syscall_multi_arch.
16846 (test_catch_syscall_multi_arch): New function.
16847
43f3e411
DE
168482014-11-20 Doug Evans <xdje42@gmail.com>
16849
16850 * gdb.base/maint.exp: Update expected output.
16851
0d7b2549
AA
168522014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16853
16854 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16855 4-byte instruction on S390.
16856
8908fca5
JB
168572014-11-19 Joel Brobecker <brobecker@adacore.com>
16858
16859 * gdb.ada/arr_arr: New testcase.
16860
4a46959e
JB
168612014-11-19 Joel Brobecker <brobecker@adacore.com>
16862
16863 * gdb.ada/pkd_arr_elem: New Testcase.
16864
470e2f4e
LM
168652014-11-18 Luis Machado <lgustavo@codesourcery.com>
16866
16867 * gdb.reverse/break-precsave: Expect completion message for
16868 core file reads.
16869 * gdb.reverse/consecutive-precsave.exp: Likewise.
16870 * gdb.reverse/finish-precsave.exp: Likewise.
16871 * gdb.reverse/i386-precsave.exp: Likewise.
16872 * gdb.reverse/machinestate-precsave.exp: Likewise.
16873 * gdb.reverse/sigall-precsave.exp: Likewise.
16874 * gdb.reverse/solib-precsave.exp: Likewise.
16875 * gdb.reverse/step-precsave.exp: Likewise.
16876 * gdb.reverse/until-precsave.exp: Likewise.
16877 * gdb.reverse/watch-precsave.exp: Likewise.
16878
a267f3ad
AA
168792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16880
16881 * gdb.base/bp-permanent.c: Include unistd.h.
16882 * gdb.python/py-framefilter-mi.c (main): Add return type.
16883 * gdb.python/py-framefilter.c (main): Likewise.
16884 * gdb.trace/actions-changed.c (main): Likewise.
16885
12084a9a
AA
168862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16887
16888 * gdb.mi/until.c: Add eye-catchers.
16889 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16890 line numbers.
16891
dc7e1a77
AA
168922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16893
16894 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16895 function header variants in break1.c.
16896 * gdb.base/ena-dis-br.exp: Likewise.
16897 * gdb.base/hbreak2.exp: Likewise.
16898 * gdb.reverse/until-precsave.exp: Drop references to removed
16899 non-prototype function header variants in ur1.c.
16900 * gdb.reverse/until-reverse.exp: Likewise.
16901
41c77605
PM
169022014-11-17 Petr Machata <pmachata@redhat.com>
16903
16904 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16905 ${_cu_offset_size} bytes abbrev offset.
16906
34248c3a
DE
169072014-11-15 Doug Evans <xdje42@gmail.com>
16908
16909 PR symtab/17559
16910 * gdb.base/line-symtabs.exp: New file.
16911 * gdb.base/line-symtabs.c: New file.
16912 * gdb.base/line-symtabs.h: New file.
16913
646da059
YQ
169142014-11-14 Yao Qi <yao@codesourcery.com>
16915
16916 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16917 (func): Add label func_label.
16918 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16919 Replace low_pc and high_pc with MACRO_AT_range.
16920 Replace name, low_pc and high_pc with MACRO_AT_func.
16921
9301ebe6
YQ
169222014-11-14 Yao Qi <yao@codesourcery.com>
16923
16924 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16925 Replace name, low_pc and high_pc with MACRO_AT_func.
16926
f166b542
YQ
169272014-11-14 Yao Qi <yao@codesourcery.com>
16928
16929 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16930 produce debug information.
16931 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16932
0f6e71e3
YQ
169332014-11-14 Yao Qi <yao@codesourcery.com>
16934
16935 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16936 object and get function length.
16937 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16938 with MACRO_AT_func.
16939 (top-level): Replace gdb_compile and clean_restart with
16940 prepare_for_testing.
16941 * gdb.dwarf2/main.c (main): Add label main_label.
16942
876c4df9
YQ
169432014-11-14 Yao Qi <yao@codesourcery.com>
16944
16945 * lib/dwarf.exp (function_range): New procedure.
16946 (Dwarf::_handle_macro_at_func): New procedure.
16947 (Dwarf::_handle_macro_at_range): New procedure.
16948 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16949
02ad9cf1
YQ
169502014-11-14 Yao Qi <yao@codesourcery.com>
16951
16952 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16953 (_handle_attribute): New procedure.
16954
a59add0c
AA
169552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16956
16957 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16958 * gdb.base/call-sc.c (zed): Likewise.
16959 * gdb.base/checkpoint.c (main): Likewise.
16960 * gdb.base/dump.c (main): Likewise.
16961 * gdb.base/gcore.c (main): Likewise.
16962 * gdb.base/huge.c (main): Likewise.
16963 * gdb.base/multi-forks.c (main): Likewise.
16964 * gdb.base/pr10179-a.c (main): Likewise.
16965 * gdb.base/savedregs.c (main): Likewise.
16966 * gdb.base/sigaltstack.c (main): Likewise.
16967 * gdb.base/siginfo.c (main): Likewise.
16968 * gdb.base/structs.c (zed): Likewise.
16969 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16970 * gdb.mi/mi-syn-frame.c (main): Likewise.
16971 * gdb.mi/until.c (foo, main): Likewise.
16972 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16973 * gdb.base/solib-weak.c (foo): Declare.
16974 * gdb.base/attach-twice.c: Include stdio.h.
16975 * gdb.base/weaklib1.c: Likewise.
16976 * gdb.base/weaklib2.c: Likewise.
16977 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16978 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16979 unistd.h.
16980 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16981 * gdb.mi/mi-exit-code.c: Likewise.
16982 * gdb.base/break-interp-lib.c: Include string.h.
16983 * gdb.base/coremaker.c: Likewise.
16984 * gdb.base/testenv.c: Likewise.
16985 * gdb.python/py-finish-breakpoint.c: Likewise.
16986 * gdb.base/inferior-died.c: Include sys/wait.h.
16987 * gdb.base/fileio.c: Include time.h.
16988 * gdb.base/async-shell.c: Include unistd.h.
16989 * gdb.base/dprintf-non-stop.c: Likewise.
16990 * gdb.base/info-os.c: Likewise.
16991 * gdb.mi/mi-console.c: Likewise.
16992 * gdb.mi/watch-nonstop.c: Likewise.
16993 * gdb.python/py-events.c: Likewise.
16994 * gdb.base/async.c (baz): Move up before its invocation.
16995 * gdb.base/code_elim2.c (my_global_func): Likewise.
16996 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16997 * gdb.base/advance.c (func2): Likewise.
16998
3b5d5997
AA
169992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17000
17001 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17002 variant.
17003 * gdb.base/annota3.c: Likewise.
17004 * gdb.base/async.c: Likewise.
17005 * gdb.base/average.c: Likewise.
17006 * gdb.base/call-ar-st.c: Likewise.
17007 * gdb.base/call-rt-st.c: Likewise.
17008 * gdb.base/call-sc.c: Likewise.
17009 * gdb.base/call-strs.c: Likewise.
17010 * gdb.base/ending-run.c: Likewise.
17011 * gdb.base/execd-prog.c: Likewise.
17012 * gdb.base/exprs.c: Likewise.
17013 * gdb.base/foll-exec.c: Likewise.
17014 * gdb.base/foll-fork.c: Likewise.
17015 * gdb.base/foll-vfork.c: Likewise.
17016 * gdb.base/funcargs.c: Likewise.
17017 * gdb.base/gcore.c: Likewise.
17018 * gdb.base/jump.c: Likewise.
17019 * gdb.base/langs0.c: Likewise.
17020 * gdb.base/langs1.c: Likewise.
17021 * gdb.base/langs2.c: Likewise.
17022 * gdb.base/mips_pro.c: Likewise.
17023 * gdb.base/nodebug.c: Likewise.
17024 * gdb.base/opaque0.c: Likewise.
17025 * gdb.base/opaque1.c: Likewise.
17026 * gdb.base/recurse.c: Likewise.
17027 * gdb.base/run.c: Likewise.
17028 * gdb.base/scope0.c: Likewise.
17029 * gdb.base/scope1.c: Likewise.
17030 * gdb.base/setshow.c: Likewise.
17031 * gdb.base/setvar.c: Likewise.
17032 * gdb.base/shmain.c: Likewise.
17033 * gdb.base/shr1.c: Likewise.
17034 * gdb.base/shr2.c: Likewise.
17035 * gdb.base/sigall.c: Likewise.
17036 * gdb.base/signals.c: Likewise.
17037 * gdb.base/so-indr-cl.c: Likewise.
17038 * gdb.base/solib2.c: Likewise.
17039 * gdb.base/structs.c: Likewise.
17040 * gdb.base/sum.c: Likewise.
17041 * gdb.base/vforked-prog.c: Likewise.
17042 * gdb.base/watchpoint.c: Likewise.
17043 * gdb.reverse/shr2.c: Likewise.
17044 * gdb.reverse/until-reverse.c: Likewise.
17045 * gdb.reverse/ur1.c: Likewise.
17046 * gdb.reverse/watch-reverse.c: Likewise.
17047
066a77c5
AA
170482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17049
17050 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17051 variant.
17052 * gdb.base/sepdebug.exp: Drop references to removed code.
17053
4f204ea5
AA
170542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17055
17056 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17057 variant. Preserve original line numbering.
17058 * gdb.base/list1.c: Likewise.
17059
3b377a3a
AA
170602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17061
17062 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17063 variant.
17064 * gdb.base/break1.c: Likewise.
17065 * gdb.base/break.exp: Drop references to removed code.
17066
e444df73
AA
170672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17068
17069 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17070 variant.
17071
8008f2a7
AA
170722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17073
17074 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17075
a5a06887
AA
170762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17077
17078 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17079 logic into perform_all_tests() and invoke it with and without
17080 function header prototypes.
17081 (do_function_calls): Remove conditional XFAIL for PR 5318.
17082 (rerun_and_prepare): Remove duplicate code.
17083 (perform_all_tests): New. Main logic moved here.
17084
44dba9b9
AA
170852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17086
17087 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17088 code guarded by #ifdef NO_PROTOTYPES.
17089 (t_double_many_args): Likewise.
17090 (DEF_FUNC_MANY_ARGS_1): Likewise.
17091 (DEF_FUNC_VALUES_1): Likewise.
17092 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17093 guarded by #ifdef PROTOTYPES.
17094
d1fbcd56
AA
170952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17096
17097 * gdb.mi/mi-console.c: Add eye-catcher.
17098 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17099 instead of literal line number.
17100
b0e59b8f
AA
171012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17102
17103 * gdb.base/shr2.c: Add eye-catcher.
17104 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17105 line number.
17106
78f98cca
AA
171072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17108
17109 * gdb.base/jump.c: Add eye-catchers.
17110 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17111 numbers.
17112
58fa2af0
AA
171132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17114
17115 * gdb.base/execd-prog.c: Add eye-catchers.
17116 * gdb.base/foll-exec.c: Likewise.
17117 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17118 line numbers.
17119
04e5059b
AA
171202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17121
17122 * gdb.base/ending-run.c: Add eye-catchers.
17123 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17124 literal line numbers.
17125
dbfdb174
AA
171262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17127
17128 * gdb.base/call-rt-st.c: Add eye-catchers.
17129 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17130 literal line numbers.
17131
888a2ade
AA
171322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17133
17134 * gdb.base/call-ar-st.c: Add eye-catchers.
17135 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17136 literal line numbers.
17137
6acc2dde
AA
171382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17139
17140 * gdb.base/average.c: Add eye-catchers.
17141 * gdb.base/sum.c: Likewise.
17142 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17143 regexps dynamically.
17144
9ecfcd1d
AA
171452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17146
17147 * gdb.base/solib1.c: Add eye-catchers.
17148 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17149 literal line numbers.
17150
78708b7c
PA
171512014-11-12 Pedro Alves <palves@redhat.com>
17152
17153 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17154 leader has exited.
17155
af48d08f
PA
171562014-11-12 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.arch/i386-bp_permanent.c: New file.
17159 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17160 (srcfile): Set to i386-bp_permanent.c.
17161 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17162 that stepi does not execute the 'leave' instruction, instead of
17163 testing it does execute.
17164 * gdb.base/bp-permanent.c: New file.
17165 * gdb.base/bp-permanent.exp: New file.
17166
af3768e9
DE
171672014-11-10 Doug Evans <xdje42@gmail.com>
17168
17169 PR symtab/17564
17170 * gdb.base/symtab-search-order.exp: New file.
17171 * gdb.base/symtab-search-order.c: New file.
17172 * gdb.base/symtab-search-order-1.c: New file.
17173 * gdb.base/symtab-search-order-shlib-1.c: New file.
17174
9de00a4a
PA
171752014-11-07 Pedro Alves <palves@redhat.com>
17176
17177 PR gdb/17511
17178 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17179 i?86-*-linux*.
17180
e0f52461
SC
171812014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17182
17183 PR c++/17494
17184 * gdb.cp/pr17494.cc: New file.
17185 * gdb.cp/pr17494.exp: New file.
17186
6ce8c980
YQ
171872014-11-02 Yao Qi <yao@codesourcery.com>
17188
17189 * gdb.python/python.exp: Get working directory and match the
17190 output of "set extended-prompt \\w " with it.
17191
02be9a71
DE
171922014-10-30 Doug Evans <dje@google.com>
17193
17194 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17195 in objfiles.
17196 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17197 in progspaces.
17198
3bdff46b
LM
171992014-10-30 Janis Johnson <janisjo@codesourcery.com>
17200
17201 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17202 * gdb.base/realname-expand.exp: Likewise.
17203 * gdb.linespec/macro-relative.exp: Likewise.
17204
ab917dfb
PA
172052014-10-29 Pedro Alves <palves@redhat.com>
17206
17207 PR gdb/17408
17208 * gdb.threads/schedlock.c (some_function): New function.
17209 (call_function): New global.
17210 (MAYBE_CALL_SOME_FUNCTION): New macro.
17211 (thread_function): Call it.
17212 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17213 and use it instead of a global counter. Adjust all callers.
17214 (get_current_thread): Use "find current thread" for test message
17215 here rather than having all callers pass down the same string.
17216 (goto_loop): New procedure, factored out from ...
17217 (my_continue): ... this.
17218 (step_ten_loops): Change parameter from test message to command to
17219 use. Adjust.
17220 (list_count): Delete global.
17221 (check_result): New procedure, factored out from duplicate top
17222 level code.
17223 (continue tests): Wrap in with_test_prefix.
17224 (test_step): New procedure, factored out from duplicate top level
17225 code.
17226 (top level): Test "step" in combination with all scheduler-locking
17227 modes. Test "next" in combination with all scheduler-locking
17228 modes, and in combination with stepping over a function call or
17229 not.
17230 * gdb.threads/next-bp-other-thread.c: New file.
17231 * gdb.threads/next-bp-other-thread.exp: New file.
17232
d3d4baed
PA
172332014-10-29 Pedro Alves <palves@redhat.com>
17234
17235 PR python/17372
17236 * gdb.python/python.exp: Test a multi-line command that spawns
17237 interactive Python.
17238 * gdb.base/multi-line-starts-subshell.exp: New file.
17239
563e8d85
YQ
172402014-10-29 Yao Qi <yao@codesourcery.com>
17241
17242 * gdb.base/fileio.exp: Make directories on host.
17243
0ea4d52e
YQ
172442014-10-29 Yao Qi <yao@codesourcery.com>
17245
17246 * gdb.base/fileio.c (test_write): Close the file.
17247
7f5ef605
PA
172482014-10-28 Pedro Alves <palves@redhat.com>
17249
17250 PR gdb/12623
17251 * gdb.base/sigstep.c (no_handler): New global.
17252 (main): If 'no_handler is true, set the signal handlers to
17253 SIG_IGN.
17254 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17255 with_sw_watch and no_handler parameters. Handle them.
17256 (top level) <stepping over handler when stopped at a breakpoint
17257 test>: Add a test axis for testing with a software watchpoint, and
17258 another for testing with the signal handler set to SIG_IGN.
17259 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17260 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17261
abbdbd03
PA
172622014-10-28 Pedro Alves <palves@redhat.com>
17263
17264 PR gdb/17511
17265 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17266 * gdb.base/sigstep.exp (other_handler_location): New global.
17267 (advance): Support stepping into the signal handler, and running
17268 commands while in the handler.
17269 (in_handler_map): New global.
17270 (top level): In the advance test, add combinations for getting
17271 into the handler with stepping commands, and for running commands
17272 in the handler. Add comment descripting the advancei tests.
17273
1df4399f
PA
172742014-10-28 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.base/sigstep.exp: Use build_executable instead of
17277 prepare_for_testing.
17278 (top level): Move code that starts GDB, runs to main and creates a
17279 display to ...
17280 (restart): ... this new procedure.
17281 (top level): Move backtrace from signal handler test to ...
17282 (validate_backtrace): ... this new procedure.
17283 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17284 with_test_prefix. Always restart GDB.
17285 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17286 with_test_prefix. Always restart GDB. No need to delete
17287 breakpoints after the test.
17288 (test_skip_handler): Remove prefix parameter.
17289 (skip_over_handler, breakpoint_to_handler)
17290 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17291 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17292 restart GDB. No need to delete breakpoints after the test.
17293 (top level): Use foreach to call the test procedures with
17294 different commands.
17295
a5b6e449
PA
172962014-10-28 Pedro Alves <palves@redhat.com>
17297
17298 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17299 instead of GNATS numbers.
17300 * gdb.base/sigbpt.exp: Likewise.
17301 * gdb.base/siginfo.exp: Likewise.
17302 * gdb.base/sigstep.exp: Likewise.
17303
e5f8a7cc
PA
173042014-10-27 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.base/sigstep.c (dummy): New global.
17307 (main): Issue a couple writes to the new global.
17308 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17309 procedures.
17310 (skip_over_handler): Use test_skip_handler.
17311 (top level): Call skip_over_handler for stepi and nexti too.
17312 (breakpoint_over_handler): Use test_skip_handler.
17313 (top level): Call breakpoint_over_handler for stepi and nexti too.
17314
763905a3
YQ
173152014-10-27 Yao Qi <yao@codesourcery.com>
17316
17317 * gdb.trace/tfile.c (adjust_function_address)
17318 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17319 function descriptor.
17320
6f259a23
DB
173212014-10-24 Don Breazeal <donb@codesourcery.com>
17322
17323 * gdb.base/foll-fork.exp (test_follow_fork,
17324 catch_fork_child_follow): Check for updated fork messages emitted
17325 from infrun.c.
17326 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17327 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17328 vfork_and_exec_child_follow_through_step): Check for updated vfork
17329 messages emitted from infrun.c.
17330
09dd9a69
PA
173312014-10-24 Pedro Alves <palves@redhat.com>
17332
17333 * gdb.base/corefile.exp: Remove references to ultrix.
17334 * gdb.base/interrupt.exp: Likewise.
17335 * gdb.base/whatis.exp: Likewise.
17336 * gdb.gdb/selftest.exp: Likewise.
17337 * gdb.threads/manythreads.exp: Likewise.
17338 * gdb.threads/print-threads.exp: Likewise.
17339 * gdb.threads/pthreads.exp:: Likewise.
17340 * gdb.threads/schedlock.exp: Likewise.
17341
3433cfa5
SC
173422014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17343
17344 * gdb.cp/non-trivial-retval.cc: Add a test case.
17345 * gdb.cp/non-trivial-retval.exp: Add a test.
17346
092f880b
YQ
173472014-10-20 Yao Qi <yao@codesourcery.com>
17348
17349 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17350 * gdb.python/py-objfile-script-gdb.py: New file.
17351 * gdb.python/py-objfile-script.exp: Update reference to
17352 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17353 of remote_download. Remove the dest file.
17354
acbdb7f3
YQ
173552014-10-20 Yao Qi <yao@codesourcery.com>
17356
17357 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17358 * gdb.base/step-line.exp: Likewise.
17359 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17360 * gdb.dwarf2/dw2-basic.exp: Likewise.
17361 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17362 * gdb.dwarf2/dw2-filename.exp: Likewise.
17363 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17364 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17365 * gdb.dwarf2/dw2-producer.exp: Likewise.
17366 * gdb.dwarf2/mac-fileno.exp: Likewise.
17367 * gdb.python/py-frame-args.exp: Likewise.
17368 * gdb.python/py-framefilter.exp: Likewise.
17369 * gdb.python/py-mi.exp: Likewise.
17370 * gdb.python/py-objfile-script.exp: Likewise
17371 * gdb.python/py-pp-integral.exp: Likewise.
17372 * gdb.python/py-pp-re-notag.exp: Likewise.
17373 * gdb.python/py-prettyprint.exp: Likewise.
17374 * gdb.python/py-section-script.exp: Likewise.
17375 * gdb.python/py-typeprint.exp: Likewise.
17376 * gdb.python/py-xmethods.exp: Likewise.
17377 * gdb.stabs/weird.exp: Likewise.
17378 * gdb.xml/tdesc-regs.exp: Likewise.
17379
bd286a29
KCY
173802014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17381
17382 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17383 (out_cu): Use addr_len for the size of addresses.
17384 (out_line): Likewise. Size DW_LNE_set_address instruction
17385 according to addr_len.
17386 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17387 (FUNC): Add START_INSNS to definition.
17388
673dc4a0
YQ
173892014-10-18 Yao Qi <yao@codesourcery.com>
17390
17391 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17392 gdb_has_argv0 return true.
17393 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17394 check [target_info exists noargs], check [gdb_has_argv0]
17395 instead.
17396 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17397 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17398 procedures.
17399
4ffbba72
DE
174002014-10-17 Doug Evans <dje@google.com>
17401
17402 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17403 event.
17404 * gdb.python/py-events.py: Add clear_objfiles event.
17405
d096d8c1
DE
174062014-10-17 Doug Evans <dje@google.com>
17407
17408 * gdb.python/py-objfile.exp: Test progspace attribute.
17409
a80db015
LM
174102014-10-17 Luis Machado <lgustavo@codesourcery.com>
17411
17412 * gdb.guile/scm-breakpoint.exp: Do not assume any
17413 directory separators when matching source file paths.
17414 * gdb.python/py-breakpoint.exp: Likewise.
17415 * gdb.reverse/break-precsave.exp: Likewise.
17416 * gdb.reverse/break-reverse.exp: Likewise.
17417 * gdb.reverse/consecutive-precsave.exp: Likewise.
17418 * gdb.reverse/finish-precsave.exp: Likewise.
17419 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17420 * gdb.reverse/finish-reverse.exp: Likewise.
17421 * gdb.reverse/i386-precsave.exp: Likewise.
17422 * gdb.reverse/i387-env-reverse.exp: Likewise.
17423 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17424 * gdb.reverse/machinestate-precsave.exp: Likewise.
17425 * gdb.reverse/machinestate.exp: Likewise.
17426 * gdb.reverse/sigall-precsave.exp: Likewise.
17427 * gdb.reverse/solib-precsave.exp: Likewise.
17428 * gdb.reverse/step-precsave.exp: Likewise.
17429 * gdb.reverse/until-precsave.exp: Likewise.
17430 * gdb.reverse/watch-precsave.exp: Likewise.
17431 * gdb.reverse/watch-reverse.exp: Likewise.
17432
b22089ab
YQ
174332014-10-17 Yao Qi <yao@codesourcery.com>
17434
17435 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17436 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17437
6c4486e6
PA
174382014-10-17 Pedro Alves <palves@redhat.com>
17439
17440 PR gdb/17471
17441 * gdb.base/bg-execution-repeat.c: New file.
17442 * gdb.base/bg-execution-repeat.exp: New file.
17443
0ff33695
PA
174442014-10-17 Pedro Alves <palves@redhat.com>
17445
17446 PR gdb/17300
17447 * gdb.base/continue-all-already-running.c: New file.
17448 * gdb.base/continue-all-already-running.exp: New file.
17449
6fdebc3d
PA
174502014-10-17 Pedro Alves <palves@redhat.com>
17451
17452 PR gdb/17472
17453 * gdb.base/annota-input-while-running.c: New file.
17454 * gdb.base/annota-input-while-running.exp: New file.
17455
32a8097b
PA
174562014-10-17 Pedro Alves <palves@redhat.com>
17457
17458 * gdb.base/callfuncs.exp: emove references to osf.
17459 * gdb.base/sigall.exp: Likewise.
17460 * gdb.gdb/selftest.exp: Likewise.
17461 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17462 * gdb.mi/non-stop.c: Likewise.
17463 * gdb.mi/pthreads.c: Likewise.
17464 * gdb.reverse/sigall-precsave.exp: Likewise.
17465 * gdb.reverse/sigall-reverse.exp: Likewise.
17466 * gdb.threads/pthreads.c: Likewise.
17467 * gdb.threads/pthreads.exp: Likewise.
17468
7a3517ff
YQ
174692014-10-17 Yao Qi <yao@codesourcery.com>
17470
17471 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17472 check 'target_info exists noargs'.
17473 (test_command_prompt_position): Likewise.
17474 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17475 Remove "set args".
17476 (progvar_simple_while_test): Likewise.
17477 (progvar_complex_if_while_test): Likewise.
17478 (if_while_breakpoint_command_test): Likewise.
17479 (infrun_breakpoint_command_test): Likewise.
17480 (breakpoint_command_test): Likewise.
17481 (watchpoint_command_test): Likewise.
17482 (bp_deleted_in_command_test): Likewise.
17483 (temporary_breakpoint_commands): Likewise.
17484
bb99c472
YQ
174852014-10-16 Yao Qi <yao@codesourcery.com>
17486
17487 * gdb.base/remotetimeout.exp: Remove noargs checking.
17488
7c16b83e
PA
174892014-10-15 Pedro Alves <palves@redhat.com>
17490
17491 PR breakpoints/9649
17492 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17493 * gdb.base/breakpoint-in-ro-region.exp
17494 (probe_target_hardware_step): New procedure.
17495 (top level): Probe hardware stepping and hardware breakpoint
17496 support. Test stepping through a read-only region, with both
17497 "breakpoint auto-hw" on and off and both "always-inserted" on and
17498 off.
17499
35a49624
IB
175002014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17501
17502 * gdb.dlang/demangle.exp: Update for demangling changes.
17503
2d1c107c
SC
175042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17505
17506 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17507 * gdb.cp/non-trivial-retval.exp: Add new tests.
17508
778811d5
SC
175092014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17510
17511 PR c++/13403
17512 PR c++/15154
17513 * gdb.cp/non-trivial-retval.cc: New file.
17514 * gdb.cp/non-trivial-retval.exp: New file.
17515
10c5f0a8
YQ
175162014-10-15 Yao Qi <yao@codesourcery.com>
17517
17518 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17519 remote host.
17520
65d7b369
YQ
175212014-10-15 Yao Qi <yao@codesourcery.com>
17522
17523 * gdb.python/py-symbol.exp: Match file base name if host is
17524 remote, otherwise match file name with dir name.
17525 * gdb.python/py-symtab.exp: Likewise.
17526 * gdb.python/python.exp: Likewise.
17527
46dc1394
YQ
175282014-10-15 Yao Qi <yao@codesourcery.com>
17529
17530 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17531 pattern.
17532 * gdb.python/py-symtab.exp: Likewise.
17533 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17534 locationn.
17535
c40cc657
JB
175362014-10-14 Joel Brobecker <brobecker@adacore.com>
17537
17538 * gdb.ada/addr_arith: New testcase.
17539
2abf49e1
MR
175402014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17541
17542 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17543 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17544 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17545 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17546
f7088df3
SDJ
175472014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17548
17549 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17550 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17551 * gdb.arch/stap-eval-lang-ada.exp: New file.
17552
4dc06805
YQ
175532014-10-14 Yao Qi <yao@codesourcery.com>
17554
17555 * gdb.mi/mi-var-child.c (nothing1): New function.
17556 (nothing2): New function.
17557 (do_children_tests): Set function pointers by nothing1 and
17558 nothing2.
17559 * gdb.mi/mi-var-child.exp: Step over new added statements.
17560 Update test to match the new output.
17561 * gdb.mi/var-cmd.c (nothing1): New function.
17562 (nothing2): New function.
17563 (do_children_tests): Set function pointers by nothing1 and
17564 nothing2.
17565 * gdb.mi/mi-var-display.exp: Update test to match output.
17566 Step to the line specified by $line_dct_nothing.
17567 Increase the number of lines to step.
17568
46a93de2
YQ
175692014-10-14 Yao Qi <yao@codesourcery.com>
17570
17571 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17572 tests.
17573 * gdb.mi/mi2-var-child.exp: Likewise.
17574
14ea52ee
DE
175752014-10-13 Doug Evans <dje@google.com>
17576
17577 * gdb.python/py-objfile.exp: Change name of file name test.
17578
e5c6e92b
DE
175792014-10-13 Doug Evans <dje@google.com>
17580
17581 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17582 from the start of the CU.
17583
c780cc2f
JK
175842014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17585 Yao Qi <yao@codesourcery.com>
17586
17587 Fix "save breakpoints" for "catch" command.
17588 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17589 Remove -nonewline. Match also the added "main" line.
17590
99894e11
JK
175912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17592
17593 Fix "save breakpoints" for "disable $bpnum" command.
17594 * gdb.base/save-bp.c (main): Add label.
17595 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17596
6e1ac5a3
JK
175972014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17598
17599 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17600
754dd2b0
YQ
176012014-10-11 Yao Qi <yao@codesourcery.com>
17602
17603 * gdb.server/server-kill.exp: Execute command
17604 "set remote trace-status-packet on" before "tstatus".
17605
f90183d7
YQ
176062014-10-11 Yao Qi <yao@codesourcery.com>
17607
17608 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17609 (main): Call getppid.
17610 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17611 and continue to it. Read variable "server_pid".
17612
bf40a607
YQ
176132014-10-11 Yao Qi <yao@codesourcery.com>
17614
17615 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17616
052ca370
YQ
176172014-10-11 Yao Qi <yao@codesourcery.com>
17618
17619 * gdb.threads/thread-find.exp: Don't execute command
17620 "info threads".
17621 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17622 * gdb.threads/linux-dp.exp: Don't check the condition
17623 $threads_created equals to zero.
17624
3831839c
PA
176252014-10-10 Pedro Alves <palves@redhat.com>
17626
17627 * gdb.base/bigcore.exp: Remove references to IRIX.
17628 * gdb.base/funcargs.exp: Likewise.
17629 * gdb.base/interrupt.exp: Likewise.
17630 * gdb.base/mips_pro.exp: Likewise.
17631 * gdb.base/nodebug.exp: Likewise.
17632 * gdb.base/setvar.exp: Likewise.
17633 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17634
8b9a549d
PA
176352014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17636 Pedro Alves <palves@redhat.com>
17637
17638 PR symtab/14466
17639 * gdb.base/vdso-warning.c: New file.
17640 * gdb.base/vdso-warning.exp: New file.
17641
d48ba5e8
DE
176422014-10-02 Doug Evans <dje@google.com>
17643
17644 * gdb.base/structs.c (main): Don't run forever.
17645
2278c276
PA
176462014-10-02 Pedro Alves <palves@redhat.com>
17647
17648 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17649 (top level) <stop threads 1, stop threads 2>: Use it.
17650
b57bacec
PA
176512014-10-02 Pedro Alves <palves@redhat.com>
17652
17653 * gdb.threads/break-while-running.exp (test): Add new
17654 'update_thread_list' argument. Skip "info threads" if false.
17655 (top level): Add new 'update_thread_list' axis.
17656
13fd3ff3
PA
176572014-10-02 Pedro Alves <palves@redhat.com>
17658
17659 PR breakpoints/17431
17660 * gdb.base/execl-update-breakpoints.c: New file.
17661 * gdb.base/execl-update-breakpoints.exp: New file.
17662
0fec99e8
PA
176632014-10-01 Pedro Alves <palves@redhat.com>
17664
17665 * gdb.base/breakpoint-in-ro-region.c: New file.
17666 * gdb.base/breakpoint-in-ro-region.exp: New file.
17667
2ddf4301
SM
176682014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17669
17670 * gdb.mi/mi-exit-code.exp: New file.
17671 * gdb.mi/mi-exit-code.c: New file.
17672
6a5f3f43
YQ
176732014-09-30 Yao Qi <yao@codesourcery.com>
17674
17675 * lib/prelink-support.exp (build_executable_own_libs): Error if
17676 the target isn't native.
17677
345bcc73
YQ
176782014-09-30 Yao Qi <yao@codesourcery.com>
17679
17680 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17681 false.
17682
a25a5a45
PA
176832014-09-22 Pedro Alves <palves@redhat.com>
17684
17685 * gdb.threads/break-while-running.exp: New file.
17686 * gdb.threads/break-while-running.c: New file.
17687
00ba3162
YQ
176882014-09-19 Yao Qi <yao@codesourcery.com>
17689
17690 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17691 Invoke test. Restart GDB with --readnow and invoke test again.
17692
c3b7b696
YQ
176932014-09-19 Yao Qi <yao@codesourcery.com>
17694
17695 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17696 proc set_breakpoint_on_gcd_function. Invoke
17697 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17698 invoke set_breakpoint_on_gcd_function again.
17699
2b4fd423
DE
177002014-09-18 Doug Evans <dje@google.com>
17701
17702 * gdb.dwarf2/symtab-producer.exp: New file.
17703
a5947601
SDJ
177042014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17705
17706 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17707 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17708 * gdb.base/global-var-nested-by-dso.c: Likewise.
17709 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17710
91c19059
SDJ
177112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17712 Pedro Alves <palves@redhat.com>
17713
17714 * gdb.base/watch-bitfields.exp: Pass string other than test file
17715 name to prepare_for_testing.
17716 (watch): New procedure.
17717 (expect_watchpoint): Use with_test_prefix.
17718 (top level): Factor out tests to ...
17719 (test_watch_location, test_regular_watch): ... these new
17720 procedures, and use with_test_prefix and gdb_continue_to_end.
17721
bb9d5f81
PP
177222014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17723
17724 PR breakpoints/12526
17725 * gdb.base/watch-bitfields.exp: New file.
17726 * gdb.base/watch-bitfields.c: New file.
17727
635856f5
PA
177282014-09-16 Pedro Alves <palves@redhat.com>
17729
17730 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17731 software and hardware addresses, not software address against
17732 itself.
17733
7280ceea
PA
177342014-09-16 Pedro Alves <palves@redhat.com>
17735
17736 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17737 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17738
428b16bd
PA
177392014-09-16 Pedro Alves <palves@redhat.com>
17740
17741 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17742 files.
17743 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17744 "*-*-vxworks*" throughout.
17745 * gdb.base/break.exp: Likewise.
17746 * gdb.base/default.exp: Likewise.
17747 * gdb.base/scope.exp: Likewise.
17748 * gdb.base/sepdebug.exp: Likewise.
17749 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17750 throughout.
17751 * gdb.base/run.c: Likewise.
17752 * gdb.base/sepdebug.c: Likewise.
17753 * gdb.hp/gdb.aCC/run.c: Likewise.
17754 * gdb.reverse/until-reverse.c: Likewise.
17755 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17756
666d413c
YQ
177572014-09-16 Yao Qi <yao@codesourcery.com>
17758
17759 * boards/local-remote-host-native.exp: New file.
17760
57cbd724
DE
177612014-09-14 Doug Evans <xdje42@gmail.com>
17762
17763 * gdb.threads/queue-signal.c (thread_count): New variable.
17764 (thread_count_mutex, thread_count_condvar): New variables.
17765 (incr_thread_count, wait_all_threads_running): New functions.
17766 (main): Wait for all threads to be in their thread functions.
17767
81219e53
DE
177682014-09-13 Doug Evans <xdje42@gmail.com>
17769
17770 * gdb.threads/queue-signal.c: New file.
17771 * gdb.threads/queue-signal.exp: New file.
17772
3714cea7
DE
177732014-09-13 Doug Evans <xdje42@gmail.com>
17774
17775 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17776 be consistent with what default_gdb_init uses.
17777 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17778 the plain text of the prompt. Add some logging printfs.
17779 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17780
fa43b1d7
PA
177812014-09-12 Pedro Alves <palves@redhat.com>
17782
17783 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17784 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17785 * gdb.arch/i386-size-overlap.exp: Likewise.
17786 * gdb.arch/i386-size.exp: Likewise.
17787 * gdb.arch/i386-unwind.exp: Likewise.
17788 * gdb.base/a2-run.exp: Likewise.
17789 * gdb.base/break.exp: Likewise.
17790 * gdb.base/charset.exp: Likewise.
17791 * gdb.base/chng-syms.exp: Likewise.
17792 * gdb.base/commands.exp: Likewise.
17793 * gdb.base/dbx.exp: Likewise.
17794 * gdb.base/find.exp: Likewise.
17795 * gdb.base/funcargs.exp: Likewise.
17796 * gdb.base/jit-simple.exp: Likewise.
17797 * gdb.base/reread.exp: Likewise.
17798 * gdb.base/sepdebug.exp: Likewise.
17799 * gdb.base/step-bt.exp: Likewise.
17800 * gdb.cp/mb-inline.exp: Likewise.
17801 * gdb.cp/mb-templates.exp: Likewise.
17802 * gdb.objc/basicclass.exp: Likewise.
17803 * gdb.threads/killed.exp: Likewise.
17804
9d9bf2df
EBM
178052014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17806
17807 PR tdep/17379
17808 * gdb.arch/powerpc-stackless.S: New file.
17809 * gdb.arch/powerpc-stackless.exp: New file.
17810
1cf2f1b0
JK
178112014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17812
17813 * gdb.base/attach.c: Include unistd.h.
17814 (main): Call alarm. Add label postloop.
17815 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17816 gdb_breakpoint, gdb_continue_to_breakpoint.
17817 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17818
98880d46
PA
178192014-09-11 Pedro Alves <palves@redhat.com>
17820
17821 PR gdb/17347
17822 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17823 * gdb.base/attach.exp (test_command_line_attach_run): New
17824 procedure.
17825 (top level): Call it.
17826
4c92ff2c
PA
178272014-09-11 Pedro Alves <palves@redhat.com>
17828
17829 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17830 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17831 (do_command_attach_tests): Use spawn_wait_for_attach.
17832 * gdb.base/solib-overlap.exp: Likewise.
17833 * gdb.multi/multi-attach.exp: Likewise.
17834 * gdb.python/py-prompt.exp: Likewise.
17835 * gdb.python/py-sync-interp.exp: Likewise.
17836 * gdb.server/ext-attach.exp: Likewise.
17837
3adc1a7d
GKB
178382014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17839
17840 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17841 command in testcase. Simplify testcase.
17842
96334934
JB
178432014-09-10 Joel Brobecker <brobecker@adacore.com>
17844
17845 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17846
eb479039
JB
178472014-09-10 Joel Brobecker <brobecker@adacore.com>
17848
17849 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17850
deede10c
JB
178512014-09-10 Joel Brobecker <brobecker@adacore.com>
17852
17853 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17854
7828a5f5
JB
178552014-09-10 Joel Brobecker <brobecker@adacore.com>
17856
17857 * gdb.dwarf2/dynarr-ptr.c: New file.
17858 * gdb.dwarf2/dynarr-ptr.exp: New file.
17859
33aeebcf
MR
178602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17861
17862 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17863 of 30 rather than hardcoding 120 for a slow test case. Take the
17864 `gdb,timeout' target setting into account for this calculation.
17865 Don't extend the timeout for the test cases that don't need it.
17866
7b415901
MR
178672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17868
17869 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17870 a factor of 2 for a slow test case. Take the `gdb,timeout'
17871 target setting into account for this calculation.
17872 * gdb.reverse/until-precsave.exp: Increase the timeout by
17873 a factor of 15 and 3 respectively rather than adding 120
17874 for a pair of slow test cases. Take the `gdb,timeout'
17875 target setting into account for this calculation.
17876
4a40f85a
MR
178772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17878
17879 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17880 timeout, don't pass one down to gdb_expect.
17881 (gdb_expect): Rework timeout selection.
17882
09635af7
MR
178832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17884
17885 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17886 exception on timeout.
17887 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17888 (gdbserver_start_extended): Catch any `gdbserver_start' error
17889 exceptions.
17890 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17891 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17892 `gdbserver_gdb_load' error exceptions.
17893
2bdd10b7
MR
178942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17895
17896 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17897 120 on waiting for the TCP socket to open.
17898
316935f0
DE
178992014-09-09 Doug Evans <xdje42@gmail.com>
17900
17901 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17902 _caller_matches, _any_caller_is, _any_caller_matches.
17903
83740597
DE
179042014-09-09 Doug Evans <xdje42@gmail.com>
17905
17906 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17907
4c122fc3
YQ
179082014-09-09 Yao Qi <yao@codesourcery.com>
17909
17910 * gdb.mi/mi-var-display.exp: Set print symbol off.
17911
a9f116cb
GKB
179122014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17913
17914 PR gdb/17035
17915 * gdb.base/commands.exp: Add tests to verify user-defined
17916 commands with empty bodies.
17917 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17918 python commands in `show user command`.
17919 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17920 scheme commands in `show user command`.
17921
c75bd3a2
JK
179222014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17923
17924 PR python/17355
17925 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17926 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17927 * gdb.python/py-framefilter-invalidarg.exp: New file.
17928 * gdb.python/py-framefilter-invalidarg.py: New file.
17929
faa42425
DE
179302014-09-06 Doug Evans <xdje42@gmail.com>
17931
17932 PR 15276
17933 * gdb.python/py-caller-is.c: New file.
17934 * gdb.python/py-caller-is.exp: New file.
17935
474ca4f6
SDJ
179362014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17937
17938 PR gdb/17235
17939 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17940 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17941
eb0b0463
SDJ
179422014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17943
17944 PR fortran/17237
17945 * gdb.fortran/print-formatted.exp: New file.
17946 * gdb.fortran/print-formatted.f90: Likewise.
17947
5f3b99cf
SS
179482014-09-03 Sasha Smundak <asmundak@google.com>
17949
17950 * gdb.python/py-frame.exp: Test Frame.read_register.
17951
7d793aa9
SDJ
179522014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17953
17954 PR python/16699
17955 * gdb.python/py-completion.exp: New file.
17956 * gdb.python/py-completion.py: Likewise.
17957
fb0576e9
DE
179582014-08-28 Doug Evans <dje@google.com>
17959
17960 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17961 eax,etc. are live with values set by gdb and thus the compiler can't
17962 use them.
17963 * gdb.arch/i386-pseudo.c (main): Ditto.
17964
ee92b0dd
DE
179652014-08-27 Doug Evans <dje@google.com>
17966
17967 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17968
6649db35
DE
179692014-08-25 Doug Evans <dje@google.com>
17970
17971 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17972 (main): Ditto.
17973
564b7600
DE
179742014-08-25 Doug Evans <dje@google.com>
17975
17976 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17977
3881fb67
YQ
179782014-08-24 Yao Qi <yao@codesourcery.com>
17979
17980 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17981 symbol off.
17982 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17983
a05a36a5
DE
179842014-08-22 Doug Evans <dje@google.com>
17985
17986 PR 17276
17987 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17988 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17989 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17990
7c343b48
YQ
179912014-08-22 Yao Qi <yao@codesourcery.com>
17992
17993 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17994 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17995 * gdb.python/python.exp: Likewise. Use .py file on the host
17996 instead of the build.
17997
22fd09ae
JK
179982014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17999
18000 * gdb.threads/gcore-stale-thread.c: New file.
18001 * gdb.threads/gcore-stale-thread.exp: New file.
18002
a8454a7c
PA
180032014-08-21 Pedro Alves <palves@redhat.com>
18004
18005 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18006 * gdb.base/gcore-relro-pie.exp: Likewise.
18007 * gdb.base/gcore-relro.exp: Likewise.
18008 * gdb.base/gcore.exp: Likewise.
18009 * gdb.base/print-symbol-loading.exp: Likewise.
18010 * gdb.threads/gcore-thread.exp: Likewise.
18011 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18012
2a31c623
PA
180132014-08-20 Pedro Alves <palves@redhat.com>
18014 Jan Kratochvil <jan.kratochvil@redhat.com>
18015
18016 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18017 configure.
18018 (EXPECT): Handle READ1 being set.
18019 (all): Depend on EXTRA_RULES.
18020 (check-read1, expect-read1, read1.so, read1): New rules.
18021 * README (Testsuite Parameters): Document the READ1 make variable.
18022 (Race detection): New section.
18023 * configure: Regenerate.
18024 * configure.ac: If build==host==target, and running under a
18025 GNU/glibc system, add read1 to the extra Makefile rules.
18026 (EXTRA_RULES): AC_SUBST it.
18027 * lib/read1.c: New file.
18028
d36430db
JB
180292014-08-20 Joel Brobecker <brobecker@adacore.com>
18030
18031 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18032 the handling of variables declared as a typedef to an array
18033 which a DW_AT_data_location attribute.
18034
9a0dc9e3
PA
180352014-08-19 Andrew Burgess <aburgess@broadcom.com>
18036 Pedro Alves <palves@redhat.com>
18037
18038 PR symtab/14604
18039 PR symtab/14605
18040 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18041 gdb_test.
18042
0718a8da
PA
180432014-08-19 Pedro Alves <palves@redhat.com>
18044
18045 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18046
13b448cd
YQ
180472014-08-19 Yao Qi <yao@codesourcery.com>
18048
18049 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18050 right line.
18051
1cbf5077
DB
180522014-08-18 David Blaikie <dblaikie@gmail.com>
18053
18054 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18055
bf0fae19
JB
180562014-08-18 Joel Brobecker <brobecker@adacore.com>
18057
18058 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18059 attribute in array range.
18060
3c8c5dcc
JB
180612014-08-18 Joel Brobecker <brobecker@adacore.com>
18062
18063 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18064
e66d4446
SC
180652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18066
18067 PR c++/17132
18068 * gdb.cp/pr17132.cc: New file.
18069 * gdb.cp/pr17132.exp: New file.
18070
940df408
SC
180712014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18072
18073 * gdb.python/py-xmethods.py (A_getarrayind)
18074 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18075 Use 'print' with function call syntax.
18076 (E_method_matcher.match): Fix tab vs space indentation mixup.
18077
ebcc6c3a
YQ
180782014-08-15 Yao Qi <yao@codesourcery.com>
18079
18080 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18081 false.
18082
775e0f04
YQ
180832014-08-15 Yao Qi <yao@codesourcery.com>
18084
18085 * gdb.cp/casts.exp: Set print symbol off.
18086 * gdb.cp/class2.exp: Likewise.
18087 * gdb.cp/overload.exp: Likewise.
18088 * gdb.cp/templates.exp: Likewise.
18089
d769e349
DE
180902014-08-11 Doug Evans <dje@google.com>
18091
18092 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18093 (test_load_shlib): Update.
18094
20c6f1e1
YQ
180952014-08-09 Yao Qi <yao@codesourcery.com>
18096
18097 * gdb.base/display.exp: Invoke is_address_zero_readable.
18098 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18099 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18100 * gdb.base/hbreak-unmapped.exp: Return if
18101 is_address_zero_readable returns true.
18102 * gdb.base/signest.exp: Likewise.
18103 * gdb.base/signull.exp: Likewise.
18104 * gdb.base/sigbpt.exp: Likewise.
18105 * gdb.guile/scm-disasm.exp: Do the test if
18106 is_address_zero_readable returns false.
18107 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18108 * gdb.python/py-arch.exp: Likewise.
18109 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18110 * lib/gdb.exp (is_address_zero_readable): New proc.
18111
5792e8e3
YQ
181122014-08-09 Yao Qi <yao@codesourcery.com>
18113
18114 PR testsuite/13443
18115 * gdb.mi/mi-var-display.exp: Make test messages unique.
18116
3cecbbbe
TT
181172014-08-04 Tom Tromey <tromey@redhat.com>
18118
18119 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18120 target 0".
18121
00b51ff5
TT
181222014-08-04 Tom Tromey <tromey@redhat.com>
18123
18124 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18125 "target_resume".
18126
6908c509
JB
181272014-08-01 Joel Brobecker <brobecker@adacore.com>
18128
18129 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18130 inner_vla_struct_object_size.
18131 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18132 as xfail.
18133
cc6563d2
PA
181342014-07-30 Pedro Alves <palves@redhat.com>
18135
18136 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18137 comment.
18138
7e09a223
YQ
181392014-07-29 Yao Qi <yao@codesourcery.com>
18140
18141 PR gdb/17206
18142 * gdb.base/until-nodebug.exp: New.
18143
7ebdbe92
DE
181442014-07-28 Doug Evans <xdje42@gmail.com>
18145
18146 PR guile/17203
18147 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18148 previously existing parameter, and previously ambiguously spelled
18149 parameter.
18150
fdb1adc6
WN
181512014-07-28 Will Newton <will.newton@linaro.org>
18152
18153 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18154
186fcde0
DE
181552014-07-26 Ludovic Courtès <ludo@gnu.org>
18156 Doug Evans <xdje42@gmail.com>
18157
18158 PR guile/17146
18159 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18160
70509625
PA
181612014-07-25 Pedro Alves <palves@redhat.com>
18162
18163 * gdb.threads/signal-command-handle-nopass.c: New file.
18164 * gdb.threads/signal-command-handle-nopass.exp: New file.
18165 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18166 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18167 * gdb.threads/signal-delivered-right-thread.c: New file.
18168 * gdb.threads/signal-delivered-right-thread.exp: New file.
18169
c3f814a1
PA
181702014-07-25 Pedro Alves <palves@redhat.com>
18171
18172 * gdb.base/double-prompt-target-event-error.exp
18173 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18174 match.
18175 (cancel_pagination_in_target_event): Rework double prompt
18176 detection.
18177 * gdb.base/paginate-after-ctrl-c-running.exp
18178 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18179 <return>' match.
18180 * gdb.base/paginate-bg-execution.exp
18181 (test_bg_execution_pagination_return)
18182 (test_bg_execution_pagination_cancel): Remove '-notransfer
18183 <return>' matches.
18184 * gdb.base/paginate-execution-startup.exp
18185 (test_fg_execution_pagination_return)
18186 (test_fg_execution_pagination_cancel): Remove '-notransfer
18187 <return>' matches.
18188 * gdb.base/paginate-inferior-exit.exp
18189 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18190 match.
18191 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18192 * lib/gdb.exp (pagination_prompt): Run text through
18193 string_to_regexp.
18194 (gdb_test_multiple): Match $pagination_prompt instead of
18195 "<return>".
18196 (string_to_regexp): Move to lib/gdb-utils.exp.
18197
e214cf6c
JK
181982014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18199
18200 * gdb.arch/amd64-entry-value-paramref.S: New file.
18201 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18202 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18203 * gdb.arch/amd64-optimout-repeat.S: New file.
18204 * gdb.arch/amd64-optimout-repeat.c: New file.
18205 * gdb.arch/amd64-optimout-repeat.exp: New file.
18206
17d0c5c8
JK
182072014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18208
18209 PR gdb/17170
18210 * gdb.base/statistics.exp: New file.
18211
b8b8facf
DE
182122014-07-17 Doug Evans <dje@google.com>
18213
74b49205 18214 PR gdb/17170
b8b8facf
DE
18215 * gdb.base/maint.exp: Update testing of per-command stats.
18216
1b5d0ab3
PA
182172014-07-16 Pedro Alves <palves@redhat.com>
18218
18219 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18220 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18221 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18222 (tfile_write_buf): New functions.
18223 (add_memory_block): Rewrite using the above.
18224 (adjust_function_address): New function.
18225 (FUNCTION_ADDRESS): New macro.
18226 (write_basic_trace_file): Remove short_x local, and use
18227 tfile_write_16. Change type of func_addr local to unsigned long
18228 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18229 here. Cast argument of add_memory_block to char pointer.
18230 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18231 (main): Remove parameters.
18232 * gdb.trace/tfile.exp: Remove nowarnings.
18233
4d974e88
SM
182342014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18235
18236 * gdb.base/debug-expr.exp: Test string evaluation with
18237 "debug expression" on.
18238
41e99568
PA
182392014-07-15 Pedro Alves <palves@redhat.com>
18240
18241 * gdb.base/reread.exp: Use clean_restart.
18242
487d9753
PL
182432014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18244
18245 * gdb.arch/avr-flash-qualifer.c: New.
18246 * gdb.arch/avr-flash-qualifer.exp: New.
18247
cc1c52ad
PA
182482014-07-14 Pedro Alves <palves@redhat.com>
18249
18250 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18251 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18252
1e973570
PA
182532014-07-14 Pedro Alves <palves@redhat.com>
18254
18255 * gdb.base/double-prompt-target-event-error.c: New file.
18256 * gdb.base/double-prompt-target-event-error.exp: New file.
18257
93d6eb10
PA
182582014-07-14 Pedro Alves <palves@redhat.com>
18259
18260 PR gdb/17072
18261 * gdb.base/paginate-inferior-exit.c: New file.
18262 * gdb.base/paginate-inferior-exit.exp: New file.
18263
0017922d
PA
182642014-07-14 Pedro Alves <palves@redhat.com>
18265
18266 PR gdb/17072
18267 * gdb.base/paginate-bg-execution.c: New file.
18268 * gdb.base/paginate-bg-execution.exp: New file.
18269
94696ad3
PA
182702014-07-14 Pedro Alves <palves@redhat.com>
18271
18272 PR gdb/17072
18273 * gdb.base/paginate-execution-startup.c: New file.
18274 * gdb.base/paginate-execution-startup.exp: New file.
18275 * lib/gdb.exp (pagination_prompt): New global.
18276 (default_gdb_spawn): New procedure, factored out from
18277 default_gdb_spawn.
18278 (default_gdb_start): Adjust to call default_gdb_spawn.
18279 (gdb_spawn): New procedure.
18280
bd293940
PA
182812014-07-14 Pedro Alves <palves@redhat.com>
18282
18283 * lib/gdb.exp (gdb_assert): New procedure.
18284 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18285
c933f875
PA
182862014-07-14 Pedro Alves <palves@redhat.com>
18287
18288 * gdb.base/execution-termios.c: New file.
18289 * gdb.base/execution-termios.exp: New file.
18290
d98b7a16
TT
182912014-07-14 Tom Tromey <tromey@redhat.com>
18292
18293 * gdb.cp/vla-cxx.cc: New file.
18294 * gdb.cp/vla-cxx.exp: New file.
18295
548740d6
TT
182962014-07-14 Tom Tromey <tromey@redhat.com>
18297
18298 * gdb.reverse/rerun-prec.c: New file.
18299 * gdb.reverse/rerun-prec.exp: New file.
18300
a25eb028
MR
183012014-07-12 Maciej W. Rozycki <macro@mips.com>
18302 Maciej W. Rozycki <macro@codesourcery.com>
18303
18304 * lib/gdb-utils.exp: New file.
18305 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18306 inline `gdb_init_command' processing.
18307 (gdb_start_cmd): Likewise.
18308 * lib/mi-support.exp (mi_run_cmd): Likewise.
18309 * README: Document `gdb_init_command' and `gdb_init_commands'.
18310
218c2655
JK
183112014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18312
18313 Fix false FAIL running under a very long directory name.
18314 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18315 and "set print elements 10000". Twice.
18316
5401fde3
YQ
183172014-07-11 Yao Qi <yao@codesourcery.com>
18318
18319 * gdb.base/exprs.exp: "set print symbol off".
18320
e76126e8
PA
183212014-07-11 Pedro Alves <palves@redhat.com>
18322
18323 * gdb.threads/kill.c: New file.
18324 * gdb.threads/kill.exp: New file.
18325
2d6f0de6
YQ
183262014-07-10 Yao Qi <yao@codesourcery.com>
18327
18328 * gdb.trace/tfile.c (write_basic_trace_file)
18329 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18330 address written to trace file.
18331
7180e04a
PA
183322014-07-09 Pedro Alves <palves@redhat.com>
18333
18334 * gdb.base/attach-wait-input.exp: New file.
18335 * gdb.base/attach-wait-input.c: New file.
18336
9a9a7608
AB
183372014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18338
18339 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18340 setting up test structures.
18341 (main): Call new test function.
18342 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18343 test function, continue into test function and walk test
18344 structures.
18345
161ac41e
YQ
183462014-07-02 Yao Qi <yao@codesourcery.com>
18347
18348 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18349 'bar_start' at the beginning of functions 'foo' and 'bar'
18350 respectively.
18351 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18352 instead of 'foo' and 'bar'.
18353
1f267ae3
MM
183542014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18355
18356 * gdb.btrace/segv.exp: New.
18357 * gdb.btrace/segv.c: New.
18358
2b239efb
LM
183592014-07-02 Luis Machado <lgustavo@codesourcery.com>
18360
18361 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18362 instruction.
18363
cf363f18
MW
183642014-06-30 Mark Wielaard <mjw@redhat.com>
18365
18366 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18367 vulture, vilify, villar): New volatile array constants.
18368 (vindictive, vegetation): New const volatile array constants.
18369 * gdb.base/volatile.exp: Test volatile and const volatile array
18370 types.
18371
aebf9d24
AA
183722014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18373
18374 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18375 target lacks support for awatch, rwatch, or hbreak.
18376
b67a2c6f
YQ
183772014-06-27 Yao Qi <yao@codesourcery.com>
18378
18379 * gdb.multi/dummy-frame-restore.exp: New.
18380 * gdb.multi/dummy-frame-restore.c: New.
18381
aef92902
MM
183822014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18383
18384 * gdb.btrace/gcore.exp: New.
18385
8e9db26e
PA
183862014-06-23 Pedro Alves <palves@redhat.com>
18387
18388 * gdb.base/watchpoint-reuse-slot.c: New file.
18389 * gdb.base/watchpoint-reuse-slot.exp: New file.
18390
70afc5b7
SC
183912014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18392
18393 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18394 progspace's filename in 'info', 'enable' and 'disable' command
18395 tests.
18396
b972bd9c
JK
183972014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18398
18399 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18400 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18401 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18402
125f8a3d
GB
184032014-06-20 Gary Benson <gbenson@redhat.com>
18404
18405 * gdb.arch/i386-avx.exp: Fix include file location.
18406 * gdb.arch/i386-sse.exp: Likewise.
18407
3ed9baed
IB
184082014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18409
18410 * gdb.dlang/expression.exp: New file.
18411
034f788c
PA
184122014-06-19 Pedro Alves <palves@redhat.com>
18413
18414 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18415 out from ...
18416 (top level): ... here. Iterate running tests under different
18417 scheduler-locking settings.
18418
45371d0c
LM
184192014-06-18 Luis Machado <lgustavo@codesourcery.com>
18420
18421 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18422 to DW_FORM_addr and use non-zero addresses.
18423
5d376983
SC
184242014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18425
18426 PR gdb/17017
18427 * gdb.python/py-xmethods.cc: Add global function call counters and
18428 increment them in their respective functions. Remove "cout"
18429 statements.
18430 * gdb.python/py-xmethods.exp: Make tests check the global function
18431 call counters instead of depending on inferior IO.
18432
a1aa2221
LM
184332014-06-18 Don Breazeal <donb@codesourcery.com>
18434
18435 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18436 Deleted procedure.
18437 (explicit_fork_parent_follow): Deleted procedure.
18438 (explicit_fork_child_follow): Deleted procedure.
18439 (test_follow_fork): New procedure.
18440 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18441 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18442 procedure calls.
18443
0fc05997
YQ
184442014-06-17 Yao Qi <yao@codesourcery.com>
18445
18446 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18447 CP1252.
18448
70795c52
LM
184492014-06-17 Luis Machado <lgustavo@codesourcery.com>
18450
18451 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18452 Initialize ptr and S explicitly.
18453 (skip_type_update_when_not_use_rtti_test): Likewise.
18454
6be47f0c
KS
184552014-06-16 Keith Seitz <keiths@redhat.com>
18456
18457 PR mi/15863
18458 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18459 the inferior is started.
18460
d03de421
PA
184612014-06-16 Pedro Alves <palves@redhat.com>
18462
18463 * gdb.base/break-main-file-remove-fail.c: New file.
18464 * gdb.base/break-main-file-remove-fail.exp: New file.
18465 * gdb.base/break-unload-file.exp: Use build_executable instead of
18466 prepare_for_testing.
18467 (test_break): New parameter "initial_load". Handle it.
18468 (top level): Add initial_load cmdline/file axis.
18469
f9579b99
TT
184702014-06-12 Tom Tromey <tromey@redhat.com>
18471
18472 * gdb.base/completion.exp: Don't use directory name in test.
18473
3657956b
GB
184742014-06-09 Gary Benson <gbenson@redhat.com>
18475
18476 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18477 separate the always-available ANSI-standard signals from the
18478 signals that require checking.
18479 (main): Likewise.
18480 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18481 Likewise.
18482 (main): Likewise.
18483
4186eb54
KS
184842014-06-07 Keith Seitz <keiths@redhat.com>
18485
18486 Revert:
18487 PR c++/16253
18488 * gdb.cp/var-tag.cc: New file.
18489 * gdb.cp/var-tag.exp: New file.
18490 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18491 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18492 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18493 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18494
25326a28 184952014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18496
18497 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18498
829155c9
PA
184992014-06-06 Pedro Alves <palves@redhat.com>
18500
18501 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18502 in target debug output instead of looking at RSP packets,
18503 disabling the test on any target that uses hardware stepping.
18504 Update comments.
18505
61c8d22e
PA
185062014-06-06 Pedro Alves <palves@redhat.com>
18507
18508 * gdb.base/break-unload-file.exp: Fix typo.
18509
d9a47287
YQ
185102014-06-06 Yao Qi <yao@codesourcery.com>
18511
18512 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18513 from "jit_function" to "^jit_function".
18514
e5e01dbf
YQ
185152014-06-06 Yao Qi <yao@codesourcery.com>
18516
18517 * gdb.base/async.c (foo): Add one statement.
18518 * gdb.base/async.exp: Get the next instruction address and
18519 match the output of "nexti" by instruction address. Match
18520 the hex address in the output of "finish".
18521
73ba372c
GB
185222014-06-06 Gary Benson <gbenson@redhat.com>
18523
18524 * gdb.base/call-signals.c: Remove preprocessor conditionals
18525 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18526 SIGSEGV and SIGTERM.
18527 * gdb.base/sigall.c: Likewise.
18528 * gdb.base/unwindonsignal.c: Likewise.
18529 * gdb.reverse/sigall-reverse.c: Likewise.
18530
831517df
YQ
185312014-06-06 Yao Qi <yao@codesourcery.com>
18532
18533 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18534 readable, skip the test.
18535
b8b91e98
YQ
185362014-06-06 Yao Qi <yao@codesourcery.com>
18537
18538 * gdb.threads/staticthreads.c (thread_function): Move the line
18539 setting breakpoint on forward.
18540 * gdb.threads/staticthreads.exp: Update comments.
18541
fb934770
LC
185422014-06-05 Ludovic Courtès <ludo@gnu.org>
18543
18544 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18545 "history-append! type error".
18546
6ef284bd
SM
185472014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18548
18549 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18550 erroneous dprintf expected input.
18551
a872e241
DE
185522014-06-04 Doug Evans <xdje42@gmail.com>
18553
18554 * gdb.guile/scm-generics.exp: Delete.
18555
16f691fb
DE
185562014-06-04 Doug Evans <xdje42@gmail.com>
18557
18558 * gdb.guile/scm-breakpoint.exp: Update.
18559 Add tests for breakpoint registration.
18560
012370f6
TT
185612014-06-04 Tom Tromey <tromey@redhat.com>
18562
18563 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18564 VLA-in-union.
18565 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18566 inner_vla_struct, vla_union types. Initialize objects of those
18567 types and compute their sizes.
18568
9f5a4cef
HZ
185692014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18570 Hui Zhu <hui@codesourcery.com>
18571
18572 * gdb.base/fileio.exp: Add test for shell not available as well as
18573 available.
18574 * gdb.base/fileio.c (test_system): Check for shell twice.
18575
90a45c4d
YQ
185762014-06-04 Yao Qi <yao@codesourcery.com>
18577
18578 * gdb.base/auto-connect-native-target.exp: Remove redundant
18579 space from the regexp pattern.
18580
70017e41
YQ
185812014-06-04 Yao Qi <yao@codesourcery.com>
18582
18583 * gdb.base/default.exp: Replace "child" with "native" in
18584 regexp pattern.
18585
883964a7
SC
185862014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18587
18588 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18589 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18590 * gdb.python/py-xmethods.py: Python script supporting the
18591 new testcase and tests.
18592
ef370185
JB
185932014-06-03 Joel Brobecker <brobecker@adacore.com>
18594 Pedro Alves <palves@redhat.com>
18595
18596 PR breakpoints/17000
18597 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18598 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18599
1e2ccb61
BM
186002014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18601
18602 * gdb.base/subst.exp: Add tests to verify partial path matching
18603 output.
18604
c6ec5ab2
PA
186052014-06-03 Pedro Alves <palves@redhat.com>
18606
18607 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18608 target that doesn't use software single-stepping.
18609
835c559f
PA
186102014-06-03 Pedro Alves <palves@redhat.com>
18611
18612 PR breakpoints/17000
18613 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18614 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18615
06eb1586
DE
186162014-06-02 Doug Evans <xdje42@gmail.com>
18617
18618 * gdb.guile/scm-parameter.exp: New file.
18619
e698b8c4
DE
186202014-06-02 Doug Evans <xdje42@gmail.com>
18621
18622 * gdb.guile/scm-cmd.c: New file.
18623 * gdb.guile/scm-cmd.exp: New file.
18624
ded03782
DE
186252014-06-02 Doug Evans <xdje42@gmail.com>
18626
18627 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18628 pretty-printer lookup.
18629 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18630 (make-pp_s-printer): Call it.
18631 (make-pretty-printer-from-dict): New function.
18632 (lookup-pretty-printer-maker-from-dict): New function.
18633 (*pretty-printer*): Simplify.
18634 (make-objfile-pp_s-printer): New function.
18635 (install-objfile-pretty-printers!): New function.
18636 (make-progspace-pp_s-printer): New function.
18637 (install-progspace-pretty-printers!): New function.
18638 * gdb.guile/scm-progspace.c: New file.
18639 * gdb.guile/scm-progspace.exp: New file.
18640
41fac0cf
PA
186412014-06-02 Pedro Alves <palves@redhat.com>
18642
18643 * gdb.base/dprintf-bp-same-addr.c: New file.
18644 * gdb.base/dprintf-bp-same-addr.exp: New file.
18645
96ae5695
EBM
186462014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18647
18648 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18649 * gdb.arch/powerpc-power.s: Likewise.
18650
da02b3a8
JB
186512014-06-02 Joel Brobecker <brobecker@adacore.com>
18652
18653 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18654
c72b2e7b
YQ
186552014-06-01 Yao Qi <yao@codesourcery.com>
18656
18657 * gdb.base/watchpoint.exp (test_watch_location): Check null
18658 pointer can be dereferenced. If not, do the test, otherwise
18659 skip it.
18660
53e8a631
AB
186612014-05-30 Andrew Burgess <aburgess@broadcom.com>
18662
18663 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18664 results.
18665 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18666
938f0e2f
AB
186672014-05-30 Andrew Burgess <aburgess@broadcom.com>
18668
18669 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18670 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18671 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18672 * gdb.arch/amd64-invalid-stack-top.c: New file.
18673 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18674
9ba6657a
PA
186752014-05-30 Pedro Alves <palves@redhat.com>
18676
18677 PR breakpoints/17000
18678 * gdb.base/sss-bp-on-user-bp.c: New file.
18679 * gdb.base/sss-bp-on-user-bp.exp: New file.
18680
522c09bf
DB
186812014-05-30 David Blaikie <dblaikie@gmail.com>
18682
18683 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18684 gnu_inline semantics via attribute.
18685 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18686 source explicitly specifies the required semantics.
18687
bf4ef81e
MR
186882014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18689
18690 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18691
329ea579
PA
186922014-05-29 Pedro Alves <palves@redhat.com>
18693 Tom Tromey <tromey@redhat.com>
18694
18695 * gdb.base/async-shell.exp: Don't enable target-async.
18696 * gdb.base/async.exp
18697 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18698 parameter. Adjust.
18699 (top level): Don't test with "target-async".
18700 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18701 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18702 * gdb.base/inferior-died.exp: Don't enable target-async.
18703 * gdb.base/interrupt-noterm.exp: Likewise.
18704 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18705 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18706 * gdb.mi/mi-nonstop.exp: Likewise.
18707 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18708 * gdb.mi/mi-nsintrall.exp: Likewise.
18709 * gdb.mi/mi-nsmoribund.exp: Likewise.
18710 * gdb.mi/mi-nsthrexec.exp: Likewise.
18711 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18712 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18713 * gdb.python/py-evsignal.exp: Don't enable target-async.
18714 * gdb.python/py-evthreads.exp: Likewise.
18715 * gdb.python/py-prompt.exp: Likewise.
18716 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18717 * gdb.server/solib-list.exp: Don't enable target-async.
18718 * gdb.threads/thread-specific-bp.exp: Likewise.
18719 * lib/mi-support.exp: Adjust to use mi-async.
18720
fd664c91
PA
187212014-05-29 Pedro Alves <palves@redhat.com>
18722
18723 PR gdb/13860
18724 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18725 reason, even in sync mode.
18726
251bde03
PA
187272014-05-29 Pedro Alves <palves@redhat.com>
18728 Hui Zhu <hui@codesourcery.com>
18729
18730 PR PR15693
18731 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18732 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18733 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18734 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18735
7f3c0343
JB
187362014-05-28 Joel Brobecker <brobecker@adacore.com>
18737
18738 * config/monitor.exp (gdb_target_monitor): Replace use of
18739 "set remotebaud" by "set serial baud".
18740
b2715b27
AW
187412014-05-26 Andy Wingo <wingo@igalia.com>
18742
18743 * gdb.guile/scm-breakpoint.exp:
18744 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18745 properties instead of gdb-object-properties.
18746
498a4489
YQ
187472014-05-26 Yao Qi <yao@codesourcery.com>
18748
18749 * gdb.server/no-thread-db.exp: Specify source file name
18750 explicitly when setting a breakpoint.
18751
589fdceb
MM
187522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18753
18754 * gdb.btrace/vdso.c: New.
18755 * gdb.btrace/vdso.exp: New.
18756
e9089e05
MM
187572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18758
18759 * gdb.base/gcore.exp (capture_command_output): Move ...
18760 * lib/gdb.exp (capture_command_output): ... here.
18761
67b5c0c1
MM
187622014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18763
18764 * gdb.btrace/data.exp: Test memory access during btrace replay.
18765
a2199296
SM
187662014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18767
18768 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18769
17b2616c
PA
187702014-05-21 Pedro Alves <palves@redhat.com>
18771
18772 PR gdb/13860
18773 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18774 (top level): Test that output related to execution commands is
18775 sent to the console with CLI commands, but not with MI commands.
18776 Test that breakpoint events are always mirrored to the console.
18777 Also expect the new source line to be output after a "next" in
18778 async mode too. Make it a pass/fail test.
18779 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18780 output.
18781 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18782
5166082f
PA
187832014-05-21 Pedro Alves <palves@redhat.com>
18784
18785 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18786 Use them to test variations of "list" after reaching a breakpoint.
18787 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18788 Test "list" with listsize 10 after reaching a breakpoint.
18789 * gdb.python/python.exp (decode_line current location line
18790 number): Adjust expected line number.
18791
2f25d70f
SM
187922014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18793
18794 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18795 behavior for $args, pass it directly to "run".
18796
ff604a67
MR
187972014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18798
18799 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18800 30000 to 65536.
18801
6a3cb8e8
PA
188022014-05-21 Pedro Alves <palves@redhat.com>
18803
18804 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18805 auto-connect-native-target off".
18806 * gdb.base/auto-connect-native-target.c: New file.
18807 * gdb.base/auto-connect-native-target.exp: New file.
18808
4ebfc96e
PA
188092014-05-21 Pedro Alves <palves@redhat.com>
18810
18811 * gdb.base/default.exp: Test "target native" instead of "target
18812 child".
18813
36d46afb
MW
188142014-05-21 Mark Wielaard <mjw@redhat.com>
18815
18816 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18817
5876f503
JK
188182014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18819
18820 Fix TLS access for -static -pthread.
18821 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18822 <HAVE_TLS> (thread_function, main): Initialize it.
18823 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18824 Add clean_restart.
18825 <$have_tls != "">: Check TLSVAR.
18826
0256a6ac
PA
188272014-05-21 Pedro Alves <palves@redhat.com>
18828
18829 * gdb.base/dcache-line-read-error.c: New.
18830 * gdb.base/dcache-line-read-error.exp: New.
18831
936d2992
PA
188322014-05-20 Pedro Alves <palves@redhat.com>
18833
18834 * gdb.base/compare-sections.c: New file.
18835 * gdb.base/compare-sections.exp: New file.
18836
802e8e6d
PA
188372014-05-20 Pedro Alves <palves@redhat.com>
18838
18839 * gdb.base/break-idempotent.c: New file.
18840 * gdb.base/break-idempotent.exp: New file.
18841
e59fa00f
MM
188422014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18843
18844 * gdb.btrace/nohist.exp: New.
18845
8b696e31
YQ
188462014-05-20 Yao Qi <yao@codesourcery.com>
18847
18848 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18849 gdb.reverse directory and gdb_reverse_timeout exists in board
18850 setting.
18851 * README: Document gdb_reverse_timeout.
18852
73c9764f
YQ
188532014-05-20 Yao Qi <yao@codesourcery.com>
18854
18855 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18856 'test_file_name'. Treat args as a string instead of a list.
18857 (gdb_init): Rename argument 'args' by 'test_file_name'.
18858
f1f4348a
JK
188592014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18860
18861 * gdb.arch/powerpc-power.exp: New file.
18862 * gdb.arch/powerpc-power.s: New file.
18863
0dbe70ce
DE
188642014-05-16 Doug Evans <dje@google.com>
18865
18866 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18867 * gdb.base/completion.exp: Check that all expected files exist
18868 before doing file completion.
0dbe70ce 18869
8d551b02
DE
188702014-05-16 Doug Evans <dje@google.com>
18871
18872 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18873 Update.
18874 (do_syscall_tests_without_xml): Update.
18875
73eb7709
PA
188762014-05-16 Pedro Alves <palves@redhat.com>
18877
18878 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18879 instead of "unknown output after running".
18880
3fae92fc
YQ
188812014-05-16 Yao Qi <yao@codesourcery.com>
18882
18883 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18884 file1.txt from host at the end.
18885 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18886
c2b2ccc5
DE
188872014-05-15 Doug Evans <dje@google.com>
18888
18889 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18890 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18891 loading file. Add test for TU lookup.
18892
8c217a4b
SM
188932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18894
18895 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18896 calling "-exec-arguments" or "set args" before running the
18897 inferior.
18898
3deb39c6
SM
188992014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18900
18901 * lib/mi-support.exp (mi_expect_stop): Expect message for
18902 inferiors that exit with non-zero exit code.
18903
71a79f8c
YQ
189042014-05-14 Yao Qi <yao@codesourcery.com>
18905
18906 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18907 match absolute path on remote host.
18908 (test_file_list_exec_source_files): Remove "/" from the
18909 pattern.
18910
f23fcd46
YQ
189112014-05-14 Yao Qi <yao@codesourcery.com>
18912
18913 * boards/local-remote-host-notty.exp (${board}_file): New
18914 proc.
18915
9404b58f
KM
189162014-05-07 Kyle McMartin <kyle@redhat.com>
18917
18918 Pushed by Joel Brobecker <brobecker@adacore.com>.
18919 * gdb.arch/aarch64-atomic-inst.c: New file.
18920 * gdb.arch/aarch64-atomic-inst.exp: New file.
18921
5e45f04c
YQ
189222014-05-07 Yao Qi <yao@codesourcery.com>
18923
18924 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18925 in current context" too.
18926
c888a17d
KS
189272014-05-05 Keith Seitz <keiths@redhat.com>
18928
18929 * gdb.linespec/ls-dollar.exp: Add test for linespec
18930 file:convenience_variable.
18931
290a839c
YQ
189322014-05-05 Yao Qi <yao@codesourcery.com>
18933
18934 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18935 traceframes into tfile and ctf trace files. Read data from
18936 trace file and test collected data.
18937 (gdb_collect_locals_test): Likewise.
18938 (gdb_unavailable_registers_test): Likewise.
18939 (gdb_unavailable_floats): Likewise.
18940 (gdb_collect_globals_test): Likewise.
18941 (top-level): Append "ctf" to trace_file_targets if GDB
18942 supports.
18943
b5262cd0
YQ
189442014-05-05 Yao Qi <yao@codesourcery.com>
18945
18946 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18947 code to ...
18948 (gdb_collect_args_test_1): ... it. New proc.
18949 (gdb_collect_locals_test): Move some code to ...
18950 (gdb_collect_locals_test_1): ... it. New proc.
18951 (gdb_unavailable_registers_test): Move some code to ...
18952 (gdb_unavailable_registers_test_1): ... it. New proc.
18953 (gdb_unavailable_floats): Move some code to ...
18954 (gdb_unavailable_floats_1): ... it. New proc.
18955
30a1e6cc
SDJ
189562014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18957
18958 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18959 probes to test for bitness recognition.
18960 * gdb.arch/amd64-stap-optional-prefix.exp
18961 (test_probe_value_without_reg): New procedure.
18962 Add code to test for different kinds of bitness.
18963
f33da99a
SDJ
189642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18965
18966 PR breakpoints/16889
18967 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18968 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18969
5b80f00d
PA
189702014-05-01 Pedro Alves <palves@redhat.com>
18971
18972 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18973 gdb_file_cmd if no file is specified.
18974 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18975 last_loaded_file to set the remote exec-file.
18976
f8c2a73c
PA
189772014-05-01 Pedro Alves <palves@redhat.com>
18978
18979 * boards/local-remote-host.exp: New file.
18980
be6e8ac7
PA
189812014-05-01 Pedro Alves <palves@redhat.com>
18982
18983 * boards/local-remote-host.exp: Rename to ...
18984 * boards/local-remote-host-notty.exp: ... this.
18985
cac0dc8f
JB
189862014-04-28 Joel Brobecker <brobecker@adacore.com>
18987
18988 * gdb.ada/dyn_arrayidx: New testcase.
18989
9730e6cc
YQ
189902014-04-26 Yao Qi <yao@codesourcery.com>
18991
18992 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18993 and compute the length of function main. Save it in
18994 $main_length.
18995 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18996 (top-level): Use gdb_compile to compile objects into
18997 executable and restart GDB. Remove invocation to
18998 prepare_for_testing.
18999
7ae1a6a6
PA
190002014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19001 Pedro Alves <palves@redhat.com>
19002
19003 PR server/16255
19004 * gdb.multi/multi-attach.c: New file.
19005 * gdb.multi/multi-attach.exp: New file.
19006
4082afcc
PA
190072014-04-25 Pedro Alves <palves@redhat.com>
19008
19009 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19010 user.
19011 (top level): Test that "set remote conditional-breakpoints-packet
19012 off" works as intended.
19013 * gdb.base/dprintf.exp: Test that "set remote
19014 breakpoint-commands-packet off" works as intended.
19015 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19016 New function.
19017 (top level): Call it.
19018 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19019 remote fast-tracepoints-packet off" works as intended.
19020 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19021 * lib/gdb.exp (gdb_is_target_remote): ... here.
19022
2abc3f8d
DB
190232014-04-24 David Blaikie <dblaikie@gmail.com>
19024
19025 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19026 ensure clang would not discard them.
19027 * gdb.base/gdbvars.c: Ditto.
19028 * gdb.base/memattr.c: Ditto.
19029 * gdb.base/whatis.c: Ditto.
19030 * gdb.python/py-prettyprint.c: Ditto.
19031 * gdb.trace/actions.c: Ditto.
19032 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19033 ensure clang would not discard it.
19034
bfd39632
DB
190352014-04-24 David Blaikie <dblaikie@gmail.com>
19036
19037 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19038 clang to emit the full definition of type required by the test
19039 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19040
22842ff6
DB
190412014-04-24 David Blaikie <dblaikie@gmail.com>
19042
19043 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19044 coax Clang into emitting the definition of the type.
19045 * gdb.cp/pr10728-x.h (y): Ditto.
19046 * gdb.cp/pr10728-y.cc (y): Ditto.
19047
c2e827ad
DB
190482014-04-24 David Blaikie <dblaikie@gmail.com>
19049
19050 * gdb.base/label.exp: XFAIL label related tests under Clang.
19051 * gdb.cp/cplabel.exp: Ditto.
19052 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19053 under Clang those using labels.
19054
4c2d33e7
YQ
190552014-04-25 Yao Qi <yao@codesourcery.com>
19056
19057 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19058 double_label.
19059 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19060 partial_label and double_label.
19061
56083b99
DB
190622014-04-24 David Blaikie <dblaikie@gmail.com>
19063
19064 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19065
25d4e99d
DB
190662014-04-24 David Blaikie <dblaikie@gmail.com>
19067
19068 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19069 of the function to work across GCC and Clang.
19070 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19071 pointer types (const void ** const V void **).
19072
01f9f808
MS
190732014-04-24 Michael Sturm <michael.sturm@mintel.com>
19074 Walfred Tedeschi <walfred.tedeschi@intel.com>
19075
19076 * Makefile.in (EXECUTABLES): Added i386-avx512.
19077 * gdb.arch/i386-avx512.c: New file.
19078 * gdb.arch/i386-avx512.exp: Likewise.
19079
4b48d439
KS
190802014-04-23 Keith Seitz <keiths@redhat.com>
19081
19082 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19083 (mi_make_breakpoint_table): New procedure.
19084 (mi_create_breakpoint): Use mi_make_breakpoint
19085 and return the result.
19086 (mi_make_breakpoint): New procedure.
19087 (mi_build_kv_pairs): New procedure.
19088
19089 * gdb.mi/mi-break.exp: Remove unused globals,
19090 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19091 All callers updated.
19092 * gdb.mi/mi-dprintf.exp: Use variable to track command
19093 number.
19094 Update all callers of mi_create_breakpoint and use
19095 mi_make_breakpoint_table.
19096 Remove any unused global variables.
19097 * gdb.mi/mi-nonstop.exp: Likewise.
19098 * gdb.mi/mi-nsintrall.exp: Likewise.
19099 * gdb.mi/mi-nsmoribund.exp: Likewise.
19100 * gdb.mi/mi-nsthrexec.exp: Likewise.
19101 * gdb.mi/mi-reverse.exp: Likewise.
19102 * gdb.mi/mi-simplerun.exp: Likewise.
19103 * gdb.mi/mi-stepn.exp: Likewise.
19104 * gdb.mi/mi-syn-frame.exp: Likewise.
19105 * gdb.mi/mi-until.exp: Likewise.
19106 * gdb.mi/mi-var-cp.exp: Likewise.
19107 * gdb.mi/mi-var-display.exp: Likewise.
19108 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19109 * gdb.mi/mi2-var-child.exp: Likewise.
19110 * gdb.mi/mi-vla-c99.exp: Likewise.
19111 * lib/mi-support.exp: Likewise.
19112
19113 From Ian Lance Taylor <iant@cygnus.com>:
19114 * lib/gdb.exp (parse_args): New procedure.
19115
08351840
PA
191162014-04-23 Pedro Alves <palves@redhat.com>
19117
19118 * gdb.base/break-unload-file.c: New file.
19119 * gdb.base/break-unload-file.exp: New file.
19120 * gdb.base/sym-file-lib.c (baz): New function.
19121 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19122 field.
19123 (load): Store the segment's mapped size.
19124 (unload): New function.
19125 (unload_shlib): New function.
19126 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19127 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19128 set a breakpoint at baz, and call it.
19129 * gdb.base/sym-file.exp: New tests for stale breakpoint
19130 instructions.
19131
076855f9
PA
191322014-04-23 Pedro Alves <palves@redhat.com>
19133
19134 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19135 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19136 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19137 * gdb.base/hbreak-unmapped.c: New file.
19138 * gdb.base/hbreak-unmapped.exp: New file.
19139 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19140 * lib/gdb.exp (gdb_is_target_remote): ... here.
19141
483805cf
PA
191422014-04-22 Pedro Alves <palves@redhat.com>
19143
19144 * gdb.base/consecutive-step-over.c: New file.
19145 * gdb.base/consecutive-step-over.exp: New file.
19146
06d97543
PA
191472014-04-22 Pedro Alves <palves@redhat.com>
19148
19149 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19150 instead of send_gdb/gdb_expect.
19151
b4429ea2
YQ
191522014-04-22 Yao Qi <yao@codesourcery.com>
19153
19154 * lib/trace-support.exp (generate_tracefile): New procedure.
19155 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19156 return 0.
19157 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19158 if generate_tracefile returns 1.
19159
51d48146
PA
191602014-04-18 Tom Tromey <palves@redhat.com>
19161 Pedro alves <tromey@redhat.com>
19162
19163 PR backtrace/15558
19164 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19165 with a backtrace limit.
19166 * gdb.python/py-frame-inline.exp: Test running to an inline
19167 function with a backtrace limit, and printing the newest frame.
19168 * gdb.python/py-frame-inline.c (main): Call f.
19169
bd1dce5f
MS
191702014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19171
19172 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19173
40d1a503
MS
191742014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19175
19176 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19177 Drop prefix from unsupported source file path.
19178
389b98f7
YQ
191792014-04-17 Yao Qi <yao@codesourcery.com>
19180
19181 * lib/gdb.exp (with_target_charset): New proc.
19182 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19183 with_target_charset.
19184 (test_print_strings): Likewise.
19185 (test_repeat_bytes): Likewise.
19186 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19187 for some tests.
19188
22869d73
KS
191892014-04-16 Keith Seitz <keiths@redhat.com>
19190
19191 PR gdb/15827
19192 * gdb.dwarf2/corrupt.c: New file.
19193 * gdb.dwarf2/corrupt.exp: New file.
19194
c4f87ca6
KS
191952014-04-16 Keith Seitz <keiths@redhat.com>
19196
19197 PR c++/16597
19198 * gdb.cp/namelessclass.cc: New file.
19199 * gdb.cp/namelessclass.exp: New file.
19200 * gdb.cp/namelessclass.S: New file.
19201
ab19de87
DE
192022014-04-16 Doug Evans <dje@google.com>
19203
19204 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19205 Add comment.
19206 (gdbserver_default_get_comm_port): New function.
19207 (gdbserver_start): Check if board file provided
19208 "gdbserver,get_comm_port" and use it if so.
19209 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19210 (gdb,socketport): Set to "stdio".
19211 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19212 (stdio_gdbserver_template): Delete.
19213 (${board}_get_remote_address): Update.
19214 (${board}_build_remote_cmd): Delete.
19215 (${board}_get_comm_port): New function.
19216 (${board}_spawn): Update.
19217 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19218 Delete.
19219 (${board}_get_remote_address): Update.
19220 (${board}_get_comm_port): New function.
19221
fc98a809
AB
192222014-04-16 Andrew Burgess <aburgess@broadcom.com>
19223
19224 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19225 appearing in any order.
19226
87fd9e6e
DE
192272014-04-15 Doug Evans <dje@google.com>
19228
19229 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19230 uninitialized value of "description".
19231
099fc3ea
KS
192322014-04-15 Keith Seitz <keiths@redhat.com>
19233
19234 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19235 Remove unused globals.
19236 (test_running_the_program): Likewise.
19237 (test_controlled_execution): Likewise.
19238 (test_controlling_breakpoints): Likewise.
19239 (test_program_termination): Likewise.
19240
5da151d4
KS
192412014-04-15 Keith Seitz <keiths@redhat.com>
19242
19243 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19244 unused globals.
19245 (test_rbreak_creation_and_listing): Likewise.
19246 (test_ignore_count): Likewise.
19247 (test_error): Likewise.
19248
35e5d2f0
PA
192492014-04-15 Pedro Alves <palves@redhat.com>
19250
19251 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19252 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19253 sym-file-loader.c.
19254 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19255 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19256 to sym-file-loader.c.
19257 (struct library): Forward declare.
19258 (load_shlib, lookup_function): Change prototypes.
19259 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19260 (translate_offset): Remove declarations.
19261 (get_text_addr): New declaration.
19262 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19263 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19264 sym-file-loader.h.
19265 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19266 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19267 here from sym-file-loader.h.
19268 (struct library): New structure.
19269 (load_shlib, lookup_function): Change prototypes and adjust to
19270 work with a struct library.
19271 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19272 (translate_offset): Make static.
19273 (get_text_addr): New function.
19274 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19275
eb4c1710
PA
192762014-04-15 Pedro Alves <palves@redhat.com>
19277
19278 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19279
2d1baf52
PA
192802014-04-15 Pedro Alves <palves@redhat.com>
19281
19282 * gdb.base/sym-file-loader.c: Include <limits.h>.
19283 (SELF_LINK): New define.
19284 (get_origin): New function.
19285 (load_shlib): Use it.
19286 * gdb.base/sym-file.exp: Don't early return if the target is
19287 remote. Use runto_main, and issue fail is that fails. Use
19288 gdb_load_shlibs.
19289 (shlib_name): Delete.
19290 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19291
7dd6df01
PA
192922014-04-15 Pedro Alves <palves@redhat.com>
19293
19294 * gdb.base/sym-file.exp: Remove regex characters from test
19295 message. Don't refer to breakpoint numbers in test messages.
19296
b50c8614
KS
192972014-04-14 Keith Seitz <keiths@redhat.com>
19298
19299 PR c++/16253
19300 * gdb.cp/var-tag.cc: New file.
19301 * gdb.cp/var-tag.exp: New file.
19302 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19303 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19304 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19305 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19306
3d567982
TT
193072014-04-14 Tom Tromey <tromey@redhat.com>
19308
19309 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19310 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19311 type.
19312 * gdb.cp/enum-class.exp: New file.
19313 * gdb.cp/enum-class.cc: New file.
19314
0626fc76
TT
193152014-04-14 Tom Tromey <tromey@redhat.com>
19316
19317 * gdb.dwarf2/enum-type.exp: New file.
19318
dca325b3
SA
193192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19320
19321 * gdb.mi/mi-vla-c99.exp: New file.
19322 * gdb.mi/vla.c: New file.
19323
5854b38a
SA
193242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19325
19326 * gdb.base/vla-datatypes.c: New file.
19327 * gdb.base/vla-datatypes.exp: New file.
19328
463bb957
SA
193292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19330
19331 * gdb.base/vla-ptr.c: New file.
19332 * gdb.base/vla-ptr.exp: New file.
19333
3dd170be
SA
193342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19335
19336 * gdb.dwarf2/count.exp: New file.
19337
5ecaaa66
SA
193382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19339
19340 * gdb.base/vla-sideeffect.c: New file.
19341 * gdb.base/vla-sideeffect.exp: New file.
19342
41f1ada5
DB
193432014-04-14 David Blaikie <dblaikie@gmail.com>
19344
19345 * gdb.mi/non-stop.c: Add return value for non-void function return
19346 statement.
19347 * gdb.threads/staticthreads.c: Ditto.
19348
0be03e84
DE
193492014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19350 Doug Evans <xdje42@gmail.com>
19351
19352 * gdb.guile/scm-value.c: Improve test case.
19353 * gdb.guile/scm-value.exp: Add new test.
19354
f180a1fb
DB
193552014-04-11 David Blaikie <dblaikie@gmail.com>
19356
19357 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19358 override Clang's default.
19359
6b662e19
JB
193602014-04-11 Joel Brobecker <brobecker@adacore.com>
19361
19362 Revert the following changes (regressions):
19363
19364 * gdb.base/vla-sideeffect.c: New file.
19365 * gdb.base/vla-sideeffect.exp: New file.
19366
19367 * gdb.dwarf2/count.exp: New file.
19368
19369 * gdb.base/vla-multi.c: New file.
19370 * gdb.base/vla-multi.exp: New file.
19371
19372 * gdb.base/vla-ptr.c: New file.
19373 * gdb.base/vla-ptr.exp: New file.
19374
19375 * gdb.base/vla-datatypes.c: New file.
19376 * gdb.base/vla-datatypes.exp: New file.
19377
19378 * gdb.mi/mi-vla-c99.exp: New file.
19379 * gdb.mi/vla.c: New file.
19380
245a5f0b
KS
193812014-04-11 Keith Seitz <keiths@redhat.com>
19382
19383 PR c++/16675
19384 * gdb.cp/cpsizeof.exp: New file.
19385 * gdb.cp/cpsizeof.cc: New file.
19386
58a84dcf
SA
193872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19388
191a8a90
JB
19389 * gdb.mi/mi-vla-c99.exp: New file.
19390 * gdb.mi/vla.c: New file.
58a84dcf 19391
c8655f75
SA
193922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19393
19394 * gdb.base/vla-datatypes.c: New file.
19395 * gdb.base/vla-datatypes.exp: New file.
19396
024e13b4
SA
193972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19398
19399 * gdb.base/vla-ptr.c: New file.
19400 * gdb.base/vla-ptr.exp: New file.
19401
1a237e0e
SA
194022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19403
19404 * gdb.base/vla-multi.c: New file.
19405 * gdb.base/vla-multi.exp: New file.
19406
504f3432
SA
194072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19408
19409 * gdb.dwarf2/count.exp: New file.
19410
3bce8237
SA
194112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19412
191a8a90
JB
19413 * gdb.base/vla-sideeffect.c: New file.
19414 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19415
322f9c21
YQ
194162014-04-11 Yao Qi <yao@codesourcery.com>
19417
19418 * gdb.base/completion.exp: Check file exists before running tests
19419 on file completion.
19420
d708bcd1
PA
194212014-04-10 Pedro Alves <palves@redhat.com>
19422
19423 * gdb.base/cond-eval-mode.c: New file.
19424 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19425 prepare_for_testing to build the new file. Check result of
19426 runto_main.
19427 (test_break, test_watch): New procedures.
19428 (top level): Use them.
19429
ae1d2761
PM
194302014-04-08 Pierre Muller <muller@sourceware.org>
19431
19432 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19433 Ctrl-V use for mingw hosts.
19434
7af389b8
SC
194352014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19436
19437 * gdb.python/py-value.c: Improve test case.
19438 * gdb.python/py-value.exp: Add new test.
19439
5e703181
DE
194402014-04-07 David Blaikie <dblaikie@gmail.com>
19441
19442 * lib/compiler.c: Identify the clang compiler.
19443 * lib/compiler.cc: Ditto.
19444
9810b410
YQ
194452014-04-03 Yao Qi <yao@codesourcery.com>
19446
19447 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19448
98d1b8dc
AB
194492014-04-01 Anton Blanchard <anton@samba.org>
19450
19451 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19452 messages unique.
19453
3114cea1
AB
194542014-04-01 Anton Blanchard <anton@samba.org>
19455
19456 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19457 prepare_for_testing.
19458
62f7182c
AB
194592014-04-01 Anton Blanchard <anton@samba.org>
19460
19461 * gdb.arch/ppc64-atomic-inst.c: Remove.
19462 * gdb.arch/ppc64-atomic-inst.S: New file.
19463 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19464
770e7fc7
DE
194652014-03-31 Doug Evans <dje@google.com>
19466
19467 * gdb.base/print-symbol-loading-lib.c: New file.
19468 * gdb.base/print-symbol-loading-main.c: New file.
19469 * gdb.base/print-symbol-loading.exp: New file.
19470
46e2bafa
YQ
194712014-03-31 Yao Qi <yao@codesourcery.com>
19472
19473 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19474
8776cfe9
JB
194752014-03-28 Joel Brobecker <brobecker@adacore.com>
19476
19477 * gdb.ada/mi_dyn_arr: New testcase.
19478
5d1ef361
DE
194792014-03-27 Doug Evans <dje@google.com>
19480
19481 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19482
b5bee914
YQ
194832014-03-27 Yao Qi <yao@codesourcery.com>
19484
19485 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19486 if target is nios2-*-*.
19487
0d4d0e77
YQ
194882014-03-26 Yao Qi <yao@codesourcery.com>
19489
19490 * lib/gdb.exp (readline_is_used): New proc.
19491 * gdb.base/completion.exp: Move tests on command complete up.
19492 Skip the rest of tests if readline is not used.
19493 * gdb.ada/complete.exp: Skp the test if readline is not
19494 used.
19495 * gdb.base/filesym.exp: Likewise.
19496 * gdb.base/macscp.exp: Likewise.
19497 * gdb.base/readline-ask.exp: Likewise.
19498 * gdb.base/readline.exp: Likewise.
19499 * gdb.python/py-cmd.exp: Likewise.
19500 * gdb.trace/tfile.exp: Likewise.
19501
29361eee
YQ
195022014-03-26 Yao Qi <yao@codesourcery.com>
19503
19504 * gdb.base/macscp.exp: Fix code format issues.
19505
bc9a5525
UW
195062014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19507
19508 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19509 * gdb.asm/powerpc64le.inc: New file.
19510
d3839ede
PA
195112014-03-25 Pedro Alves <palves@redhat.com>
19512 Doug Evans <dje@google.com>
19513
19514 * gdb.base/source-execution.c: New file.
19515 * gdb.base/source-execution.exp: New file.
19516 * gdb.base/source-execution.gdb: New file.
19517
01672a57
DE
195182014-03-24 Doug Evans <dje@google.com>
19519
19520 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19521 using fission.
19522
88bbeca9
HZ
195232014-03-24 Hui Zhu <hui@codesourcery.com>
19524 Pedro Alves <palves@redhat.com>
19525
19526 PR breakpoints/16101
19527 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19528 test pass/fail messages. Detect missing support for dprintf when
19529 breakpoints are actually inserted.
19530 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19531 breakpoints are actually inserted.
19532 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19533 fails.
19534
d2348791
JK
195352014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19536
19537 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19538
feef67ab
DE
195392014-03-22 Doug Evans <xdje42@gmail.com>
19540
19541 * gdb.python/python.exp (python not supported): Verify multi-line
19542 python command issues an error.
25d743f9 19543 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19544 guile command issues an error.
feef67ab 19545
ecebef6a
MR
195462014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19547
19548 * gdb.threads/thread-specific.exp: Handle the lack of usable
19549 $this_breakpoint and $this_thread.
19550
ccdd1909
HZ
195512014-03-21 Hui Zhu <hui@codesourcery.com>
19552
19553 * gdb.base/attach.exp (do_command_attach_tests): New.
19554
beb460e8
PA
195552014-03-20 Tom Tromey <tromey@redhat.com>
19556 Pedro Alves <palves@redhat.com>
19557
19558 PR cli/15718
19559 * gdb.base/condbreak-call-false.c: New file.
19560 * gdb.base/condbreak-call-false.exp: New file.
19561
40acf43a
PA
195622014-03-20 Pedro Alves <palves@redhat.com>
19563
19564 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19565 Delete.
19566 (block_signals, unblock_signals): Delete.
19567 (child_function_2, main): Remove references to deleted variable
19568 and functions.
19569
9f5e1e02
PA
195702014-03-20 Pedro Alves <palves@redhat.com>
19571
19572 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19573 Use pthread_kill to signal thread 2.
19574 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19575 Adjust to make the test send itself a signal rather than using the
19576 host's "kill" command.
19577
99619bea
PA
195782014-03-20 Pedro Alves <palves@redhat.com>
19579
19580 * gdb.threads/multiple-step-overs.c: New file.
19581 * gdb.threads/multiple-step-overs.exp: New file.
19582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19583 Adjust expected infrun debug output.
19584
2adfaa28
PA
195852014-03-20 Pedro Alves <palves@redhat.com>
19586
19587 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19588 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19589
31e77af2
PA
195902014-03-20 Pedro Alves <palves@redhat.com>
19591
19592 PR breakpoints/7143
19593 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19594 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19595 of gdb_test_multiple.
19596 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19597 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19598
b9f437de
PA
195992014-03-20 Pedro Alves <palves@redhat.com>
19600
19601 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19602 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19603
05adc73e
PA
196042014-03-19 Pedro Alves <palves@redhat.com>
19605
19606 * gdb.base/async.exp: Remove early return.
19607
6048b950
PA
196082014-03-19 Pedro Alves <palves@redhat.com>
19609
19610 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19611
8bcfb00a
PA
196122014-03-19 Pedro Alves <palves@redhat.com>
19613
19614 * gdb.base/async.exp (test_background): Expect \r\n after
19615 "completed." in the fail pattern.
19616
884e37dc
PA
196172014-03-19 Pedro Alves <palves@redhat.com>
19618
19619 * gdb.base/async.exp (test_background): New procedure.
19620 Use it for all background execution command tests.
19621
148e57e2
PA
196222014-03-19 Pedro Alves <palves@redhat.com>
19623
19624 * gdb.base/async.exp: Use prepare_for_testing.
19625
f48088c7
PA
196262014-03-19 Pedro Alves <palves@redhat.com>
19627
19628 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19629 the same line.
19630
e2f6c966
PA
196312014-03-19 Pedro Alves <palves@redhat.com>
19632
19633 * gdb.base/async.c (main): Add "jump here" and "until here" line
19634 marker comments.
19635 * gdb.base/async.exp (jump_here): New global.
19636 (jump& test): Use it.
19637 (until_here): New global.
19638 (until& test): Use it.
19639
c30568d4
PA
196402014-03-19 Pedro Alves <palves@redhat.com>
19641
19642 * gdb.base/async.exp: Don't frob gdb_protocol.
19643
0172b6a7
DE
196442014-03-18 Doug Evans <xdje42@gmail.com>
19645
19646 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19647 Fix spelling of exec-done-display.
19648
06c868a8
JK
196492014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19650
19651 PR gdb/15358
19652 * gdb.base/gdb-sigterm.c: New file.
19653 * gdb.base/gdb-sigterm.exp: New file.
19654
0c7e1a46
PA
196552014-03-18 Pedro Alves <palves@redhat.com>
19656
19657 PR gdb/13860
19658 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19659 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19660 solib-event.
19661
f7c77d93
JB
196622014-03-17 Joel Brobecker <brobecker@adacore.com>
19663
19664 * gdb.ada/pckd_arr_ren: New testcase.
19665
5a1e8c7a
DE
196662014-03-13 Doug Evans <xdje42@gmail.com>
19667
19668 PR guile/16612
19669 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19670 collect after discarding symbols.
19671
350e1a76
DE
196722014-03-13 Ludovic Courtès <ludo@gnu.org>
19673 Doug Evans <xdje42@gmail.com>
19674
19675 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19676 to history survives a gc.
19677
a69900ae
PA
196782014-03-13 Pedro Alves <palves@redhat.com>
19679
19680 * gdb.base/default.exp: Don't test "target procfs".
19681
5db9f0bd
PA
196822014-03-13 Pedro Alves <palves@redhat.com>
19683
19684 * gdb.base/default.exp: Update "target child" and "target procfs"
19685 tests to not expect "Unix".
19686
b3ccfe11
TT
196872014-03-12 Tom Tromey <tromey@redhat.com>
19688
19689 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19690 New procs. Add target-async tests.
19691 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19692 Add target-async tests.
19693
646f4417
AA
196942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19695
19696 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19697 'func_start' and 'func_end' for the beginning and end of the
19698 function code, respectively.
19699 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19700 'func_end' instead of 'func' and 'main'.
19701
288c211f
AA
197022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19703
19704 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19705 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19706 generate the debug info assembler source.
19707
e0c0f156
AA
197082014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19709
19710 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19711 * gdb.dwarf2/arr-subrange.exp: Likewise.
19712 * gdb.dwarf2/dwz.exp: Likewise.
19713 * gdb.dwarf2/method-ptr.exp: Likewise.
19714 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19715 * gdb.dwarf2/subrange.exp: Likewise.
19716 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19717 * gdb.dwarf2/implptrpiece.exp: Likewise.
19718 * gdb.dwarf2/nostaticblock.exp: Likewise.
19719
0e5c4555
AA
197202014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19721
19722 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19723 directory to absolute path name arguments.
19724
5ec18f2b
JG
197252014-03-10 Joel Brobecker <brobecker@adacore.com>
19726
19727 * gdb.ada/tagged_access: New testcase.
19728
847fc4f2
MM
197292014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19730
19731 * gdb.btrace/data.exp: Update expected output.
19732
cc3da688
YQ
197332014-03-06 Yao Qi <yao@codesourcery.com>
19734
19735 * gdb.trace/pr16508.exp: New file.
19736
0f26cec1
PA
197372014-03-05 Pedro Alves <palves@redhat.com>
19738
19739 PR gdb/16575
19740 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19741 procedure.
19742 (top level): Adjust to use it. Add tests that exercise breakpoint
19743 interaction with the code-cache.
19744
7a5a839f
LC
197452014-02-26 Ludovic Courtès <ludo@gnu.org>
19746
19747 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19748 test for 'history-append!'.
19749
31aa7e4e
JB
197502014-02-26 Joel Brobecker <brobecker@adacore.com>
19751
19752 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19753 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19754 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19755 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19756 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19757 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19758
1b588015
JB
197592014-02-26 Joel Brobecker <brobecker@adacore.com>
19760
19761 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19762 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19763 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19764
55426c9d
JB
197652014-02-26 Joel Brobecker <brobecker@adacore.com>
19766
19767 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19768
dc53a7ad
JB
197692014-02-26 Joel Brobecker <brobecker@adacore.com>
19770
19771 * gdb.dwarf2/arr-stride.c: New file.
19772 * gdb.dwarf2/arr-stride.exp: New file.
19773
12ab52e9
PA
197742014-02-26 Pedro Alves <palves@redhat.com>
19775
19776 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19777 that won't ever trigger. Make sure that GDB reports the correct
19778 breakpoint that caused the stop.
19779
849c862e
JK
197802014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19781
19782 PR gdb/16626
19783 * gdb.base/auto-load-script: New file.
19784 * gdb.base/auto-load.c: New file.
19785 * gdb.base/auto-load.exp: New file.
19786
71b7d793
JK
19787 PR gdb/16626
19788 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19789
e2f0d509
JK
197902014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19791
19792 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19793 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19794
50cc37c8
DE
197952014-02-24 Doug Evans <dje@google.com>
19796
19797 * lib/gdb.exp (run_on_host): Log error output if program fails.
19798
ea4758f2
PA
197992014-02-21 Pedro Alves <palves@redhat.com>
19800
19801 * gdb.threads/step-after-sr-lock.c: Rename to ...
19802 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19803 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19804 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19805 ... this.
19806
d7b30f67
SDJ
198072014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19808
19809 PR tdep/16397
19810 * gdb.arch/amd64-stap-special-operands.exp: New file.
19811 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19812 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19813 * gdb.arch/amd64-stap-triplet.S: Likewise.
19814 * gdb.arch/amd64-stap-triplet.c: Likewise.
19815
83deb43f
JB
198162014-02-20 Joel Brobecker <brobecker@adacore.com>
19817
19818 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19819 in .section pseudo-op.
19820
adde2bff
DE
198212014-02-20 lin zuojian <manjian2006@gmail.com>
19822 Joel Brobecker <brobecker@adacore.com>
19823 Doug Evans <xdje42@gmail.com>
19824
19825 PR symtab/16581
19826 * gdb.dwarf2/dw2-icycle.S: New file.
19827 * gdb.dwarf2/dw2-icycle.c: New file.
19828 * gdb.dwarf2/dw2-icycle.exp: New file.
19829
f7bd0f78
SC
198302014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19831
19832 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19833 operations on gdb.Value objects.
19834 * gdb.python/py-value-cc.exp: Add new test to test operations on
19835 gdb.Value objects.
19836
c17ef0d5
DE
198372014-02-18 Doug Evans <dje@google.com>
19838
19839 * Makefile.in (TESTS): New variable.
19840 (expanded_tests, expanded_tests_or_none): New variables
19841 (check-single): Pass $(expanded_tests_or_none) to runtest.
19842 (check-parallel): Only run tests in $(TESTS) if non-empty.
19843 (check/no-matching-tests-found): New rule.
19844 * README: Document TESTS makefile variable.
19845
5dd3176f
DE
198462014-02-18 Doug Evans <dje@google.com>
19847
19848 * Makefile.in (check-parallel): rm -rf outputs temp.
19849
0b10be4f
JK
198502014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19851
19852 Fix "ERROR: no fileid for" in the testsuite.
19853 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19854
85f224e7
DE
198552014-02-12 Doug Evans <dje@google.com>
19856
19857 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19858 (MISCELLANEOUS): New variable.
19859 (clean): rm -rf $(MISCELLANEOUS).
19860 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19861 dwp live in the same directory as symlinks, with each symlink pointed
19862 to a differently named file in a different directory.
19863
149b30ff
DE
198642014-02-11 Doug Evans <dje@google.com>
19865
19866 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19867 of Tcl file commands.
19868
1dfdac32
MK
198692014-02-10 Mark Kettenis <kettenis@gnu.org>
19870
19871 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19872 "kill -SIGUSR1 -1".
19873
aa4fb036
JB
198742014-02-10 Joel Brobecker <brobecker@adacore.com>
19875
19876 * gdb.ada/tick_length_array_enum_idx: New testcase.
19877
ed3ef339
DE
198782014-02-10 Doug Evans <xdje42@gmail.com>
19879
19880 * configure.ac (AC_OUTPUT): Add gdb.guile.
19881 * configure: Regenerate.
19882 * lib/gdb-guile.exp: New file.
19883 * lib/gdb.exp (get_target_charset): New function.
19884 * gdb.base/help.exp: Update expected output from "apropos apropos".
19885 * gdb.guile/Makefile.in: New file.
19886 * gdb.guile/guile.exp: New file.
19887 * gdb.guile/scm-arch.c: New file.
19888 * gdb.guile/scm-arch.exp: New file.
19889 * gdb.guile/scm-block.c: New file.
19890 * gdb.guile/scm-block.exp: New file.
19891 * gdb.guile/scm-breakpoint.c: New file.
19892 * gdb.guile/scm-breakpoint.exp: New file.
19893 * gdb.guile/scm-disasm.c: New file.
19894 * gdb.guile/scm-disasm.exp: New file.
19895 * gdb.guile/scm-equal.c: New file.
19896 * gdb.guile/scm-equal.exp: New file.
19897 * gdb.guile/scm-error.exp: New file.
19898 * gdb.guile/scm-error.scm: New file.
19899 * gdb.guile/scm-frame-args.c: New file.
19900 * gdb.guile/scm-frame-args.exp: New file.
19901 * gdb.guile/scm-frame-args.scm: New file.
19902 * gdb.guile/scm-frame-inline.c: New file.
19903 * gdb.guile/scm-frame-inline.exp: New file.
19904 * gdb.guile/scm-frame.c: New file.
19905 * gdb.guile/scm-frame.exp: New file.
19906 * gdb.guile/scm-generics.exp: New file.
19907 * gdb.guile/scm-gsmob.exp: New file.
19908 * gdb.guile/scm-iterator.c: New file.
19909 * gdb.guile/scm-iterator.exp: New file.
19910 * gdb.guile/scm-math.c: New file.
19911 * gdb.guile/scm-math.exp: New file.
19912 * gdb.guile/scm-objfile-script-gdb.in: New file.
19913 * gdb.guile/scm-objfile-script.c: New file.
19914 * gdb.guile/scm-objfile-script.exp: New file.
19915 * gdb.guile/scm-objfile.c: New file.
19916 * gdb.guile/scm-objfile.exp: New file.
19917 * gdb.guile/scm-ports.exp: New file.
19918 * gdb.guile/scm-pretty-print.c: New file.
19919 * gdb.guile/scm-pretty-print.exp: New file.
19920 * gdb.guile/scm-pretty-print.scm: New file.
19921 * gdb.guile/scm-section-script.c: New file.
19922 * gdb.guile/scm-section-script.exp: New file.
19923 * gdb.guile/scm-section-script.scm: New file.
19924 * gdb.guile/scm-symbol.c: New file.
19925 * gdb.guile/scm-symbol.exp: New file.
19926 * gdb.guile/scm-symtab-2.c: New file.
19927 * gdb.guile/scm-symtab.c: New file.
19928 * gdb.guile/scm-symtab.exp: New file.
19929 * gdb.guile/scm-type.c: New file.
19930 * gdb.guile/scm-type.exp: New file.
19931 * gdb.guile/scm-value-cc.cc: New file.
19932 * gdb.guile/scm-value-cc.exp: New file.
19933 * gdb.guile/scm-value.c: New file.
19934 * gdb.guile/scm-value.exp: New file.
19935 * gdb.guile/source2.scm: New file.
19936 * gdb.guile/types-module.cc: New file.
19937 * gdb.guile/types-module.exp: New file.
19938
7026a7c1
YQ
199392014-02-10 Yao Qi <yao@codesourcery.com>
19940
19941 PR testsuite/16543
19942 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19943 * configure: Regenerated.
19944 * Makefile.in: New file.
19945
6c466447
AS
199462014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19947
19948 * gdb.python/py-framefilter.exp: Fix typo.
19949
6e854735
YQ
199502014-02-08 Yao Qi <yao@codesourcery.com>
19951
19952 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19953 that no =breakpoint-modified is emitted when breakpoints are
19954 modified through MI commands.
19955
d137e6dc
PA
199562014-02-07 Pedro Alves <pedro@codesourcery.com>
19957 Pedro Alves <palves@redhat.com>
19958
19959 * gdb.threads/step-after-sr-lock.c: New file.
19960 * gdb.threads/step-after-sr-lock.exp: New file.
19961
b5ee5a50
PA
199622014-02-07 Pedro Alves <palves@redhat.com>
19963
19964 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19965
3c77faf3
JK
199662014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19967
19968 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19969 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19970
6dddc817
DE
199712014-02-06 Doug Evans <xdje42@gmail.com>
19972
19973 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19974 output.
19975
19976 * gdb.gdb/python-interrupts.exp: New file.
19977
de7b2893
YQ
199782014-02-05 Yao Qi <yao@codesourcery.com>
19979
19980 * gdb.trace/report.exp (use_collected_data): Test the output
19981 of "info threads" and "info inferiors".
19982
66d032ac
YQ
199832014-02-05 Yao Qi <yao@codesourcery.com>
19984
19985 Revert this patch:
19986
19987 2013-05-24 Yao Qi <yao@codesourcery.com>
19988
19989 * gdb.trace/tfile.exp: Test inferior and thread.
19990
591a12a1
UW
199912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19992
19993 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19994 on a function.
19995 * gdb.base/step-bt.c: Call hello via function pointer to make
19996 sure its first instruction is executed on powerpc64le-linux.
19997
0ff3e01f
UW
199982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19999
20000 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20001
084ee545
UW
200022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20003
20004 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20005 of the test patterns for use on little-endian systems.
20006
6ed14ff3
UW
200072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20008
20009 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20010 (decimal_vector): Fix for little-endian.
20011
401e27fd
JM
200122014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20013
20014 * gdb.arch/sparc-sysstep.exp: New file.
20015 * gdb.arch/sparc-sysstep.c: Likewise.
20016
20017 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20018
8b924729
EBM
200192014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20020
20021 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20022
fb151210
JB
200232014-01-23 Tom Tromey <tromey@redhat.com>
20024
20025 * gdb.ada/array_char_idx: New testcase.
20026
0740f8d8
TT
200272014-01-23 Tom Tromey <tromey@redhat.com>
20028
20029 PR python/16487:
20030 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20031 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20032 classes.
20033
21909fa1
TT
200342014-01-23 Tom Tromey <tromey@redhat.com>
20035
20036 PR python/16491:
20037 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20038 string from an inferior frame.
20039 * gdb.python/py-framefilter-mi.exp: Update.
20040
87ce2a04
DE
200412014-01-22 Doug Evans <dje@google.com>
20042
20043 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20044
237b092b
AA
200452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20046
20047 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20048
d674a709
AA
200492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20050
20051 * gdb.trace/entry-values.exp: Remove excess space character from
20052 regex patterns. Handle s390 call instruction.
20053
20fa3390
AA
200542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20055
20056 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20057 define "*_start" label. Make "name" static.
20058 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20059 ${name} by references to ${name}_start.
20060
78466714
AA
200612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20062
20063 * gdb.base/info-macros.exp: Remove "debug" from the compile
20064 options.
20065
ec9f644a
IB
200662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20067
20068 * gdb.dlang/demangle.exp: New file.
20069
94b1b47e
IB
200702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20071
20072 * gdb.dlang/primitive-types.exp: New file.
20073
7f420862
IB
200742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20075
20076 * configure.ac: Create gdb.dlang/Makefile.
20077 * configure: Regenerate.
20078 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20079 * gdb.dlang/Makefile.in: New file.
20080 * lib/d-support.exp: New file.
20081 * lib/gdb.exp (skip_d_tests): New proc.
20082
52834460
MM
200832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20084
20085 * gdb.btrace/delta.exp: Check reverse stepi.
20086 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20087 * gdb.btrace/finish.exp: New.
20088 * gdb.btrace/next.exp: New.
20089 * gdb.btrace/nexti.exp: New.
20090 * gdb.btrace/record_goto.c: Add comments.
20091 * gdb.btrace/step.exp: New.
20092 * gdb.btrace/stepi.exp: New.
20093 * gdb.btrace/multi-thread-step.c: New.
20094 * gdb.btrace/multi-thread-step.exp: New.
20095 * gdb.btrace/rn-dl-bind.c: New.
20096 * gdb.btrace/rn-dl-bind.exp: New.
20097 * gdb.btrace/data.c: New.
20098 * gdb.btrace/data.exp: New.
20099 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20100
6e07b1d2
MM
201012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20102
20103 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20104 * gdb.btrace/exception.exp: Update.
20105 * gdb.btrace/instruction_history.exp: Update.
20106 * gdb.btrace/record_goto.exp: Update.
20107 * gdb.btrace/tailcall.exp: Update.
20108 * gdb.btrace/unknown_functions.exp: Update.
20109 * gdb.btrace/delta.exp: New.
20110
0b722aec
MM
201112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20112
20113 * gdb.btrace/record_goto.exp: Add backtrace test.
20114 * gdb.btrace/tailcall.exp: Add backtrace test.
20115
066ce621
MM
201162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20117
20118 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20119 * gdb.btrace/record_goto.c: New.
20120 * gdb.btrace/record_goto.exp: New.
20121 * gdb.btrace/x86-record_goto.S: New.
20122
0688d04e
MM
201232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20124
20125 * gdb.btrace/function_call_history.exp: Update tests.
20126 * gdb.btrace/instruction_history.exp: Update tests.
20127
8710b709
MM
201282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20129
20130 * gdb.btrace/function_call_history.exp: Fix expected field
20131 order for "record function-call-history".
20132 Add new tests for "record function-call-history /c".
20133 * gdb.btrace/exception.cc: New.
20134 * gdb.btrace/exception.exp: New.
20135 * gdb.btrace/tailcall.exp: New.
20136 * gdb.btrace/x86-tailcall.S: New.
20137 * gdb.btrace/x86-tailcall.c: New.
20138 * gdb.btrace/unknown_functions.c: New.
20139 * gdb.btrace/unknown_functions.exp: New.
20140 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20141
5de9129b
MM
201422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20143
20144 * gdb.btrace/instruction_history.exp: Update.
20145 * gdb.btrace/function_call_history.exp: Update.
20146
23a7fe75
MM
201472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20148
20149 * gdb.btrace/function_call_history.exp: Fix expected function
20150 trace.
20151 * gdb.btrace/instruction_history.exp: Initialize traced.
20152 Remove traced_functions.
20153
724c7dd8
MM
201542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20155
20156 * gdb.btrace/function_call_history.exp: Update
20157 * gdb.btrace/instruction_history.exp: Update.
20158
6d78d93b
MM
201592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20160
20161 * gdb.btrace/enable.exp: Update expected text.
20162
93a360cc
OJ
201632014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20164
20165 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20166 bytes.
20167
3772b53f
MR
201682014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20169
20170 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20171
596662fa
OJ
201722014-01-15 Omair Javaid <omair.javaid@linaro.org>
20173
20174 * lib/gdb.exp (supports_process_record): Return true for
20175 arm*-linux*. (supports_reverse): Likewise.
20176
b5b08fb4
SC
201772014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20178
20179 PR python/15464
20180 PR python/16113
20181 * gdb.python/py-type.c: Enhance test case.
20182 * gdb.python/py-value-cc.cc: Likewise
20183 * gdb.python/py-type.exp: Add new tests.
20184 * gdb.python/py-value-cc.exp: Likewise
20185
52d7fb13
AA
201862014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20187 Pedro Alves <palves@redhat.com>
20188
20189 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20190 Make "name" extern.
20191 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20192 references to ${name}_start by references to ${name}.
20193
a2cd8cfe
JB
201942014-01-10 Joel Brobecker <brobecker@adacore.com>
20195
20196 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20197
4e23fced
JB
201982014-01-10 Joel Brobecker <brobecker@adacore.com>
20199
20200 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20201
c6a9e42c
PA
202022014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20203 Pedro Alves <palves@redhat.com>
20204
20205 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20206 mi_gdb_target_load.
c6a9e42c 20207
b7ea362b
PA
202082014-01-08 Pedro Alves <palves@redhat.com>
20209
20210 * gdb.threads/reconnect-signal.c: New file.
20211 * gdb.threads/reconnect-signal.exp: New file.
20212
5e3f4fab
EBM
202132014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20214
20215 * gdb.base/source-dir.exp: New file.
20216
79301218
JB
202172014-01-07 Joel Brobecker <brobecker@adacore.com>
20218
20219 * gdb.ada/mi_interface: New testcase.
20220
8e355c5d
JB
202212014-01-07 Joel Brobecker <brobecker@adacore.com>
20222
20223 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20224 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20225 gdb.ada/pp-rec-component/pck.ads: New files.
20226
c0d48811
JB
202272014-01-07 Joel Brobecker <brobecker@adacore.com>
20228
20229 * gdb.python/py-pp-integral.c: New file.
20230 * gdb.python/py-pp-integral.py: New file.
20231 * gdb.python/py-pp-integral.exp: New file.
20232
17b609c3 20233For older changes see ChangeLog-1993-2013.
c906108c 20234\f
8d8cb839
EZ
20235;; Local Variables:
20236;; mode: change-log
20237;; left-margin: 8
20238;; fill-column: 74
20239;; version-control: never
20240;; End:
902f2ccb 20241
b811d2c2 20242 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20243 Copying and distribution of this file, with or without modification,
20244 are permitted provided the copyright notice and this notice are preserved.