Add support for decoding the DW_MACRO_define_strx and DW_MACRO_undef_strx operands...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
48e9cc84
PW
12020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2
3 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4 over 'exec-file-mismatch'.
5 * gdb.base/attach.c: Mark should_exit volatile.
6 * gdb.base/attach2.c: Likewise. Add a comment explaining
7 why the sleep cannot be big.
8 * gdb.base/attach3.c: New file.
9
160f8a8f
SL
102020-06-20 Sandra Loosemore <sandra@codesourcery.com>
11
12 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
13 prefix optional.
14
4d91c2a4
SL
152020-06-20 Sandra Loosemore <sandra@codesourcery.com>
16
17 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
18 for remote host.
19
87f83f20
SL
202020-06-19 Sandra Loosemore <sandra@codesourcery.com>
21 Hafiz Abid Qadeer <abidh@codesourcery.com>
22
23 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
24 file sent to remote host.
25 (top level): Allow int32_t as type of 32-bit register.
26
37ab8655
TV
272020-06-19 Tom de Vries <tdevries@suse.de>
28
29 * lib/gdb.exp (gdb_note): New proc.
30 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
31 (gdb_default_target_compile): ... here. Only call
32 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
33 (use_gdb_compile): Change to array.
34 (toplevel): Update sets of use_gdb_compile to specify language.
35 Warn about default_target_compile override. Store dejagnu's version
36 of default_target_compile in dejagnu_default_target_compile.
37
a8a56685
TV
382020-06-18 Tom de Vries <tdevries@suse.de>
39
40 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
41 (default_gdb_init): ... here.
42
581bea2c
SL
432020-06-17 Sandra Loosemore <sandra@codesourcery.com>
44
45 Fix TUI support checks in gdb.tui tests.
46
47 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
48 just say UNSUPPORTED.
49 * gdb.tui/corefile-run.exp: Likewise.
50 * gdb.tui/empty.exp: Likewise.
51 * gdb.tui/list-before.exp: Likewise.
52 * gdb.tui/list.exp: Likewise.
53 * gdb.tui/main.exp: Likewise.
54 * gdb.tui/regs.exp: Likewise.
55 * gdb.tui/resize.exp: Likewise.
56 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
57 * gdb.tui/tui-layout-asm.exp: Likewise.
58 * gdb.tui/tui-missing-src.exp: Likewise.
59 * gdb.tui/winheight.exp: Likewise.
60 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
61
05e682e3
SL
622020-06-17 Sandra Loosemore <sandra@codesourcery.com>
63
64 Fix TCL error in gdb.python/py-format-string.exp.
65
66 * gdb.python/py-format-string.exp: Move test for python support
67 earlier, out of function body.
68
efb763a5
SM
692020-06-15 Simon Marchi <simon.marchi@efficios.com>
70
71 * gdb.base/index-cache-load-twice.c: New.
72 * gdb.base/index-cache-load-twice.exp: New.
73
43327b20
KS
742020-06-17 Keith Seitz <keiths@redhat.com>
75
99cf27cf 76 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
77 when executing "gdb --configuration".
78
081e778c
TV
792020-06-17 Tom de Vries <tdevries@suse.de>
80
81 * lib/gdb.exp (gdb_tcl_unknown): New proc.
82 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
83 conditional on presence of gdb_tcl_unknown.
84 (gdb_finish): Make override undo conditional on presence of
85 gdb_tcl_unknown.
86
d2d1ea20
TT
872020-06-16 Tom Tromey <tom@tromey.com>
88
89 * gdb.python/tui-window.py (failwin): New function. Register it
90 as a TUI window type.
91 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
92
c802e8a7
GB
932020-06-16 Gary Benson <gbenson@redhat.com>
94
95 * gdb.python/py-nested-maps.c (create_map): Add missing return
96 value.
97 (create_map_map): Likewise.
98
ff08abb8
TBA
992020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
100
101 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
102 variable.
103 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
104 and use the already-defined 'options' variable.
105
a29d5112
AB
1062020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
107 Tom de Vries <tdevries@suse.de>
108
109 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
110 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
111 (gdb_setup_known_globals): New proc.
112 (gdb_cleanup_globals): New proc.
113 * lib/gdb.exp (load_lib): New override proc.
114 (gdb_stdin_log_init): Set var in_file as persistent global.
115 * lib/pascal.exp (gdb_stdin_log_init): Set vars
116 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
117 fpc_compiler as persistent global.
118
8c74a764
TV
1192020-06-12 Tom de Vries <tdevries@suse.de>
120
121 * lib/tuiterm.exp (spawn): Rename to ...
122 (tui_spawn): ... this.
123 (toplevel): Move rename of spawn ...
124 (gdb_init_tuiterm): ... here. New proc.
125 (gdb_finish_tuiterm): New proc.
126 * lib/gdb.exp (gdb_finish_hooks): New global var.
127 (gdb_finish): Handle gdb_finish_hooks.
128 (tuiterm_env): New proc.
129 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
130 tuiterm_env.
131 * gdb.tui/basic.exp: Same.
132 * gdb.tui/corefile-run.exp: Same.
133 * gdb.tui/empty.exp: Same.
134 * gdb.tui/list-before.exp: Same.
135 * gdb.tui/list.exp: Same.
136 * gdb.tui/main.exp: Same.
137 * gdb.tui/new-layout.exp: Same.
138 * gdb.tui/regs.exp: Same.
139 * gdb.tui/resize.exp: Same.
140 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
141 * gdb.tui/tui-layout-asm.exp: Same.
142 * gdb.tui/tui-missing-src.exp: Same.
143 * gdb.tui/winheight.exp: Same.
144
26783bce
TV
1452020-06-12 Tom de Vries <tdevries@suse.de>
146
147 PR testsuite/26110
148 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
149 (gdb_finish): Reinstall dejagnu's override of ::unknown.
150
2b4e6a3f
TT
1512020-06-11 Tom Tromey <tom@tromey.com>
152
153 PR gdb/18318:
154 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
155 floating point tests.
156
2f33032a
KS
1572020-06-11 Keith Seitz <keiths@redhat.com>
158
159 PR gdb/21356
160 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
161 vla_struct.
162 Add new struct vla_typedef and union vla_typedef_union and
163 corresponding instantiation objects.
164 Initialize new objects.
165 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
166 and vla_typedef_union_object.
167 Fixup type for vla_struct_object.
168
a8baf0a3
TV
1692020-06-11 Tom de Vries <tdevries@suse.de>
170
171 * lib/gdb.exp (with_override): New proc, factored out of ...
172 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
173
7ab96794
TV
1742020-06-10 Tom de Vries <tdevries@suse.de>
175
176 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
177
cab5c3b7
SM
1782020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
179
180 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
181 parameter, update callers.
182
f8c41851
SM
1832020-06-04 Simon Marchi <simon.marchi@efficios.com>
184
185 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
186 * gdb.dwarf2/share-psymtabs-bt.c: New file.
187 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
188
1c07a73f
TV
1892020-06-04 Tom de Vries <tdevries@suse.de>
190
191 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
192
95146b5d
TV
1932020-06-04 Tom de Vries <tdevries@suse.de>
194
195 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
196 exp_continue.
197
0cfcd4f0
TV
1982020-06-04 Tom de Vries <tdevries@suse.de>
199
200 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
201
f9b5d5ea
TV
2022020-06-03 Tom de Vries <tdevries@suse.de>
203
204 PR symtab/26046
205 * gdb.cp/breakpoint-locs-2.cc: New test.
206 * gdb.cp/breakpoint-locs.cc: New test.
207 * gdb.cp/breakpoint-locs.exp: New file.
208 * gdb.cp/breakpoint-locs.h: New test.
209
5144dfba
TV
2102020-06-03 Tom de Vries <tdevries@suse.de>
211
212 PR testsuite/25609
213 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
214 value of global verbose.
215 * gdb.base/jit-elf.exp: Same.
216 * gdb.base/jit-reader.exp: Same.
217
621eacdf
TV
2182020-06-02 Tom de Vries <tdevries@suse.de>
219
220 * gdb.dwarf2/multidictionary.exp: Don't use
221 gdb_spawn_with_cmdline_opts.
222
1313c56e
AB
2232020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
226 use_header case.
227 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
228 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
229 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
230 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
231 * gdb.dwarf2/dw2-inline-header.c: New file.
232 * gdb.dwarf2/dw2-inline-header.h: New file.
233
f68f85b5
PA
2342020-05-30 Pedro Alves <palves@redhat.com>
235
236 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
237 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
238
678048e8
GB
2392020-05-29 Gary Benson <gbenson@redhat.com>
240
241 * gdb.compile/compile-cplus.exp (additional_flags): Also
242 set when building with clang.
243 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
244 when building with clang.
245
9fcafd23
GB
2462020-05-29 Gary Benson <gbenson@redhat.com>
247
248 * gdb.arch/i386-avx.exp (additional_flags): Also set when
249 building with clang.
250 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
251
735d5a07
GB
2522020-05-29 Gary Benson <gbenson@redhat.com>
253
254 * gdb.cp/koenig.exp (prepare_for_testing): Add
255 additional_flags=-Wno-unused-comparison.
256 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
257
4ad2c6a0
GB
2582020-05-28 Gary Benson <gbenson@redhat.com>
259
260 * gdb.base/sigaltstack.c (catcher): Add default case to switch
261 statement.
262
09fe663e
GB
2632020-05-28 Gary Benson <gbenson@redhat.com>
264
265 * gdb.cp/classes.exp (prepare_for_testing): Add
266 additional_flags=-Wno-deprecated-register.
267 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
268 * gdb.cp/misc.exp: Likewise.
269
cee00f17
GB
2702020-05-28 Gary Benson <gbenson@redhat.com>
271
272 * gdb.linespec/cpls-ops.cc (dummy): New static global.
273 (test_op_new::operator new): Add return statement.
274 (test_op_new_array::operator new[]): Likewise.
275
636edd00
PA
2762020-05-27 Pedro Alves <palves@redhat.com>
277
278 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
279 check. Use test_gdb_complete_unique instead of
280 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
281 test_gdb_complete_multiple instead of
282 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
283
c2b75043
LM
2842020-05-27 Luis Machado <luis.machado@linaro.org>
285
286 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
287 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
288 * gdb.arch/arm-disassembler-options.exp: Likewise.
289 * gdb.arch/arm-disp-step.exp: Likewise.
290 * gdb.arch/thumb-prologue.exp: Likewise.
291 * gdb.base/async.exp: Likewise.
292 * gdb.base/auxv.exp: Likewise.
293 * gdb.base/complex-parts.exp: Likewise.
294 * gdb.base/ena-dis-br.exp: Likewise.
295 * gdb.base/foll-exec.exp: Likewise.
296 * gdb.base/permissions.exp: Likewise.
297 * gdb.base/relocate.exp: Likewise.
298 * gdb.base/return2.exp: Likewise.
299 * gdb.base/sigbpt.exp: Likewise.
300 * gdb.base/siginfo-obj.exp: Likewise.
301 * gdb.cp/converts.exp: Likewise.
302 * gdb.cp/exceptprint.exp: Likewise.
303 * gdb.cp/inherit.exp: Likewise.
304 * gdb.cp/nsnoimports.exp: Likewise.
305 * gdb.cp/virtbase2.exp: Likewise.
306 * gdb.mi/mi-var-cmd.exp: Likewise.
307 * gdb.mi/var-cmd.c: Likewise.
308
53a47a3e
TT
3092020-05-26 Tom Tromey <tromey@adacore.com>
310
311 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
312
0bc2354b
TT
3132020-05-26 Tom Tromey <tromey@adacore.com>
314
315 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
316 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
317 type.
318 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
319 variable.
320
0db49895
CBG
3212020-05-26 Christian Biesinger <cbiesinger@google.com>
322
323 * Makefile.in: Use = instead of == for the test command
324 for portability.
325
40d22035
TV
3262020-05-26 Tom de Vries <tdevries@suse.de>
327
328 * gdb.base/gold-gdb-index-2.c: New test.
329 * gdb.base/gold-gdb-index.c: New test.
330 * gdb.base/gold-gdb-index.exp: New file.
331 * gdb.base/gold-gdb-index.h: New test.
332
043e2e02
TV
3332020-05-25 Tom de Vries <tdevries@suse.de>
334
335 * boards/gold-gdb-index.exp: New file.
336
462f72c5
SM
3372020-05-25 Simon Marchi <simon.marchi@efficios.com>
338
339 * boards/simavr.exp: New file.
340
6cf66e76
SM
3412020-05-25 Simon Marchi <simon.marchi@efficios.com>
342
343 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
344 * gdb.base/inferior-args.exp: New file.
345 * gdb.base/inferior-args.c: New file.
346
75d04512
SM
3472020-05-25 Simon Marchi <simon.marchi@efficios.com>
348
349 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
350 inferior_args. Pass it to gdb_reload.
351 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
352 inferior_args.
353 (gdb_reload): Add inferior_args argument.
354 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
355 pass it to gdbserver_run.
356 * boards/native-gdbserver.exp: Do not set noargs.
357 * boards/native-extended-gdbserver.exp (gdb_reload): Add
358 inferior_args argument.
359 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
360 * gdb.base/a2-run.exp: Check for use_gdb_stub.
361 * gdb.base/args.exp: Likewise.
362
42cf1844
TV
3632020-05-25 Tom de Vries <tdevries@suse.de>
364
365 * lib/gdb.exp (exec_is_pie): Add comment.
366
8f7d38ef
TV
3672020-05-25 Tom de Vries <tdevries@suse.de>
368
369 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
370 instead of $binfile in the untested message.
371
465e1b0f
TV
3722020-05-25 Tom de Vries <tdevries@suse.de>
373
374 PR testsuite/26031
375 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
376
3c5a0e02
TV
3772020-05-25 Tom de Vries <tdevries@suse.de>
378
379 * boards/gold.exp: New file.
380
0a4f5f8c
TT
3812020-05-23 Tom Tromey <tom@tromey.com>
382
383 * gdb.base/style.exp: Remove completion styling test.
384 * lib/gdb-utils.exp (style): Remove completion styles.
385
eca1f90c
TT
3862020-05-23 Tom Tromey <tom@tromey.com>
387
388 * gdb.base/style.exp: Add completion styling test.
389 * lib/gdb-utils.exp (style): Add completion styles.
390
7c13f4e8
AB
3912020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * gdb.base/annota1.exp: Update expected results.
394 * gdb.cp/annota2.exp: Update expected results, remove duplicate
395 test name.
396 * gdb.cp/annota3.exp: Update expected results.
397
41977d16
SM
3982020-05-20 Simon Marchi <simon.marchi@efficios.com>
399
400 PR gdb/26016
401 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
402 against MAP_FAILED.
403 * gdb.base/coremaker.c (mmapdata): Likewise.
404 * gdb.base/jit-reader-host.c (main): Likewise.
405 * gdb.base/sym-file-loader.c (load): Likewise.
406 (load_shlib): Likewise.
407
b4757f2e
TT
4082020-05-20 Tom Tromey <tromey@adacore.com>
409
410 * gdb.ada/array_char_idx.exp: Recognize initialized array.
411
9a0bacfb
TV
4122020-05-20 Tom de Vries <tdevries@suse.de>
413
414 PR symtab/25833
415 * gdb.base/with-mf-inc.c: New test.
416 * gdb.base/with-mf-main.c: New test.
417 * gdb.base/with-mf.exp: New file.
418
76571211
TT
4192020-05-19 Tom Tromey <tromey@adacore.com>
420
421 * gdb.rust/simple.exp: Restore missing test result.
422
4cd9f3d5
TV
4232020-05-19 Tom de Vries <tdevries@suse.de>
424
425 * gdb.base/gdb-caching-proc.exp: Fix typo.
426
7d874253
TT
4272020-05-19 Tom Tromey <tromey@adacore.com>
428
429 * gdb.rust/simple.exp: Add some test descriptions.
430 (test_one_slice): Use with_test_prefix.
431
1d727695
TV
4322020-05-18 Tom de Vries <tdevries@suse.de>
433
434 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
435
7f32a4d5
PA
4362020-05-17 Pedro Alves <palves@redhat.com>
437
438 PR gdb/25741
439 * gdb.base/hw-sw-break-same-address.exp: New file.
440
7cfd74cf
PA
4412020-05-16 Pedro Alves <palves@redhat.com>
442
443 * gdb.multi/multi-re-run.exp (test_re_run): Switch
444 LAST_LOADED_FILE accordingly.
445
57b4f16e
PW
4462020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
447
448 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
449
7c05caf7
PW
4502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
451
452 * gdb.base/help.exp: Test apropos and help for commands
453 having aliases. Fixed comments not starting with an
454 upper-case letter or not finishing with a dot.
455
7aa1b46f
PW
4562020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
457
3b3aaacb
PW
458 * gdb.base/alias.exp: Update help output check.
459
57b4f16e 4602020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 461
7aa1b46f
PW
462 * gdb.base/default.exp: Update output following fixes.
463
0605465f
PW
4642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
465
466 * gdb.base/alias.exp: Test aliases starting with a prefix of
467 another alias.
468
86e4e63d
GB
4692020-05-15 Gary Benson <gbenson@redhat.com>
470
471 * gdb.base/info-os.c (main): Add return statement.
472 * gdb.base/info_minsym.c (minsym_fun): Likewise.
473 * gdb.base/large-frame-2.c (func): Likewise.
474 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
475 * gdb.base/pr10179-b.c (foo2): Likewise.
476 * gdb.base/valgrind-disp-step.c (foo): Likewise.
477 * gdb.base/watch-cond.c (func): Likewise.
478 * gdb.multi/goodbye.c (verylongfun): Likewise.
479 * gdb.multi/hello.c (commonfun): Likewise.
480 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
481 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
482 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
483 Likewise.
484 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
485 * gdb.threads/interrupt-while-step-over.c (child_function):
486 Likewise.
487 * gdb.trace/actions-changed.c (end): Likewise.
488
163df4df
GB
4892020-05-15 Gary Benson <gbenson@redhat.com>
490
491 * gdb.opencl/callfuncs.exp: Report when test skipped.
492 * gdb.opencl/convs_casts.exp: Likewise.
493 * gdb.opencl/datatypes.exp: Likewise.
494 * gdb.opencl/operators.exp: Likewise.
495 * gdb.opencl/vec_comps.exp: Likewise.
496
6dbc505a
TV
4972020-05-15 Tom de Vries <tdevries@suse.de>
498
499 * gdb.base/align.exp.in: Rename to ...
500 * gdb.base/align.exp.tcl: ... this.
501 * gdb.base/align-c++.exp: Update.
502 * gdb.base/align-c.exp: Update.
503 * gdb.base/all-architectures.exp.in: Rename to ...
504 * gdb.base/all-architectures.exp: ... this.
505 * gdb.base/all-architectures-0.exp: Update.
506 * gdb.base/all-architectures-1.exp: Update.
507 * gdb.base/all-architectures-2.exp: Update.
508 * gdb.base/all-architectures-3.exp: Update.
509 * gdb.base/all-architectures-4.exp: Update.
510 * gdb.base/all-architectures-5.exp: Update.
511 * gdb.base/all-architectures-6.exp: Update.
512 * gdb.base/all-architectures-7.exp: Update.
513 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
514 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
515 * gdb.base/infcall-nested-structs-c++.exp: Update.
516 * gdb.base/infcall-nested-structs-c.exp: Update.
517 * gdb.base/info-types.exp.in: Rename to ...
518 * gdb.base/info-types.exp.tcl: ... this.
519 * gdb.base/info-types-c++.exp: Update.
520 * gdb.base/info-types-c.exp: Update.
521 * gdb.base/max-depth.exp.in: Rename to ...
522 * gdb.base/max-depth.exp.tcl: ... this.
523 * gdb.base/max-depth-c++.exp: Update.
524 * gdb.base/max-depth-c.exp: Update.
525 * gdb.cp/cpexprs.exp.in: Rename to ...
526 * gdb.cp/cpexprs.exp.tcl: ... this.
527 * gdb.cp/cpexprs-debug-types.exp: Update.
528 * gdb.cp/cpexprs.exp: Update.
529 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
530 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
531 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
532 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
533 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
534 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
535 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
536 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
537 * gdb.dwarf2/clang-debug-names-2.exp: Update.
538 * gdb.dwarf2/clang-debug-names.exp: Update.
539
d1034d78
AB
5402020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
541
542 * lib/check-test-names.exp: Remove code that prevents this file
543 loading when tests are run in parallel.
544
3c5c3649
PA
5452020-05-15 Pedro Alves <palves@redhat.com>
546
547 * gdb.multi/multi-kill.exp (start_inferior): Remove
548 'testpid' parameter. Refer to namespace variable directly.
549 (testpid): Declare as namespace variable.
550
272c36b8
PA
5512020-05-15 Pedro Alves <palves@redhat.com>
552
553 * gdb.multi/multi-kill.exp: Wrap in namespace.
554 (start_inferior): Add TESTPID parameter. Use it instead of the
555 testpid global.
556 (top level): Define empty TESTPID array, and pass it down to
557 start_inferior.
558
02eba61a
TV
5592020-05-14 Tom de Vries <tdevries@suse.de>
560
561 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
562 output.
563
971a3747
TV
5642020-05-14 Tom de Vries <tdevries@suse.de>
565
566 * gdb.base/align.exp: Split into ...
567 * gdb.base/align.exp.in: ...
568 * gdb.base/align-c++.exp: ...
569 * gdb.base/align-c.exp: ... these.
570 * gdb.base/infcall-nested-structs.exp: Split into ...
571 * gdb.base/infcall-nested-structs.exp.in: ...
572 * gdb.base/infcall-nested-structs-c++.exp: ...
573 * gdb.base/infcall-nested-structs-c.exp: ... these.
574 * gdb.base/info-types.exp: Split into ...
575 * gdb.base/info-types.exp.in: ...
576 * gdb.base/info-types-c++.exp: ...
577 * gdb.base/info-types-c.exp: ... these.
578 * gdb.base/max-depth.exp: Split into ...
579 * gdb.base/max-depth.exp.in: ...
580 * gdb.base/max-depth-c++.exp: ...
581 * gdb.base/max-depth-c.exp: ... these.
582 * gdb.cp/infcall-nodebug.exp: Split into ...
583 * gdb.cp/infcall-nodebug.exp.in: ...
584 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
585 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
586 * gdb.cp/infcall-nodebug-c-d0.exp: ...
587 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
588
a05575d3
TBA
5892020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
590 Pedro Alves <palves@redhat.com>
591
592 * gdb.multi/multi-exit.c: New file.
593 * gdb.multi/multi-exit.exp: New file.
594 * gdb.multi/multi-kill.c: New file.
595 * gdb.multi/multi-kill.exp: New file.
596
6ad82919
TBA
5972020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
598
599 * gdb.base/annota1.exp: Update the expected output.
600 * gdb.cp/annota2.exp: Ditto.
601
843f4d93
AB
6022020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * lib/check-test-names.exp: Disable when testing is being run in
605 parallel.
606
c7c66341
TV
6072020-05-12 Tom de Vries <tdevries@suse.de>
608
609 * gdb.base/jit-elf.exp: Fix string concat.
610
1b59ca1c
TV
6112020-05-12 Tom de Vries <tdevries@suse.de>
612
613 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
614 messages.
615
b4991d29
TV
6162020-05-12 Tom de Vries <tdevries@suse.de>
617
618 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
619
dbb0ab10
TV
6202020-05-12 Tom de Vries <tdevries@suse.de>
621
622 * gdb.ada/catch_ex.exp: Use with_test_prefix.
623 * gdb.ada/mi_catch_ex.exp: Same.
624 * gdb.ada/mi_catch_ex_hand.exp: Same.
625
7549fed8
TV
6262020-05-12 Tom de Vries <tdevries@suse.de>
627
628 * gdb.fortran/complex.exp: Use with_test_prefix.
629
af2d5cd8
TV
6302020-05-12 Tom de Vries <tdevries@suse.de>
631
632 * gdb.trace/passcount.exp: Fix test-names.
633
7c121311
TV
6342020-05-12 Tom de Vries <tdevries@suse.de>
635
636 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
637
c9f3b40e
TV
6382020-05-12 Tom de Vries <tdevries@suse.de>
639
640 * gdb.gdb/complaints.exp: Use with_test_prefix.
641 * gdb.xml/tdesc-regs.exp: Same.
642 * gdb.opt/inline-locals.exp: Fix test name.
643
111b33f0
TV
6442020-05-12 Tom de Vries <tdevries@suse.de>
645
646 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
647 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
648 * gdb.dwarf2/implref-struct.exp: Same.
649 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
650 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
651
ebf47080
SM
6522020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
653
654 * gdb.base/jit-so.exp (one_jit_test): Change test name.
655
d30dcd12
AB
6562020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * lib/check-test-names.exp (all_test_names): New module variable.
659 (counts): Add 'duplicates' field.
660 (_check_duplicates): New procedure.
661 (check): Also check for duplicates.
662 (do_log_summary): Print duplicates count.
663 (do_reset_vars): Reset counter for duplicate test names, and
664 discard all know test names.
665
34584c09
AB
6662020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * lib/gdb.exp: Include check-test-names.exp library.
669 * lib/check-test-names.exp: New file.
670
e0002117
TV
6712020-05-11 Tom de Vries <tdevries@suse.de>
672
673 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
674
53f539a3
KS
6752020-05-11 Keith Seitz <keiths@redhat.com>
676
677 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
678
113ee09a
TV
6792020-05-11 Tom de Vries <tdevries@suse.de>
680
681 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
682 * gdb.cp/cpexprs.exp.in: .. here.
683 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
684 cpexprs.exp.
685
ba3e70b0
KS
6862020-05-11 Keith Seitz <keiths@redhat.com>
687
688 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
689 test names.
690 * gdb.ada/arrayptr.exp: Likewise.
691 * gdb.ada/assign_arr.exp: Likewise.
692 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
693 * gdb.ada/bp_on_var.exp: Likewise.
694 * gdb.ada/call_pn.exp: Likewise.
695 * gdb.ada/complete.exp: Likewise.
696 * gdb.ada/fun_overload_menu.exp: Likewise.
697 * gdb.ada/funcall_param.exp: Likewise.
698 * gdb.ada/funcall_ref.exp: Likewise.
699 * gdb.ada/packed_array_assign.exp: Likewise.
700 * gdb.ada/same_component_name.exp: Likewise.
701 * gdb.ada/type_coercion.exp: Likewise.
702 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
703 * gdb.ada/variant_record_packed_array.exp: Likewise.
704
3ee6bb11
TV
7052020-05-11 Tom de Vries <tdevries@suse.de>
706
707 PR symtab/25941
708 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
709 out of ...
710 * gdb.dwarf2/clang-debug-names.exp: ... here.
711 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
712 clang-debug-names.exp.in.
713 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
714 * gdb.dwarf2/clang-debug-names-2.c: New test.
715
86cd6bc8
AKS
7162020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
717
718 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
719 (fortran_runto_main): New Proc, fortran version of runto_main.
720 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
721 * gdb.fortran/array-bounds.exp: Likewise.
722 * gdb.fortran/array-slices.exp: Likewise.
723 * gdb.fortran/block-data.exp: Likewise.
724 * gdb.fortran/charset.exp: Likewise.
725 * gdb.fortran/common-block.exp: Likewise.
726 * gdb.fortran/complex.exp: Likewise.
727 * gdb.fortran/derived-type-function.exp: Likewise.
728 * gdb.fortran/derived-type.exp: Likewise.
729 * gdb.fortran/info-modules.exp: Likewise.
730 * gdb.fortran/info-types.exp: Likewise.
731 * gdb.fortran/intrinsics.exp: Likewise.
732 * gdb.fortran/library-module.exp: Likewise.
733 * gdb.fortran/logical.exp: Likewise.
734 * gdb.fortran/max-depth.exp: Likewise.
735 * gdb.fortran/module.exp: Likewise.
736 * gdb.fortran/multi-dim.exp: Likewise.
737 * gdb.fortran/nested-funcs.exp: Likewise.
738 * gdb.fortran/print-formatted.exp: Likewise.
739 * gdb.fortran/print_type.exp: Likewise.
740 * gdb.fortran/printing-types.exp: Likewise.
741 * gdb.fortran/ptr-indentation.exp: Likewise.
742 * gdb.fortran/ptype-on-functions.exp: Likewise.
743 * gdb.fortran/subarray.exp: Likewise.
744 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
745 * gdb.fortran/vla-datatypes.exp: Likewise.
746 * gdb.fortran/vla-history.exp: Likewise.
747 * gdb.fortran/vla-ptr-info.exp: Likewise.
748 * gdb.fortran/vla-ptype-sub.exp: Likewise.
749 * gdb.fortran/vla-ptype.exp: Likewise.
750 * gdb.fortran/vla-sizeof.exp: Likewise.
751 * gdb.fortran/vla-type.exp: Likewise.
752 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
753 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
754 * gdb.fortran/vla-value-sub.exp: Likewise.
755 * gdb.fortran/vla-value.exp: Likewise.
756 * gdb.fortran/whatis_type.exp: Likewise.
757 * gdb.mi/mi-var-child-f.exp: Likewise.
758
6dc55ce9 7592020-05-09 Tom de Vries <tdevries@suse.de>
760
761 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
762
283cb58c
TV
7632020-05-08 Tom de Vries <tdevries@suse.de>
764
765 * gdb.dwarf2/clang-debug-names.c: New test.
766 * gdb.dwarf2/clang-debug-names.exp: New file.
767
ac4a4f1c
SM
7682020-05-06 Simon Marchi <simon.marchi@efficios.com>
769
770 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
771 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
772
24fe640b
TV
7732020-05-06 Tom de Vries <tdevries@suse.de>
774
775 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
776 breakpoint is at a "recommended breakpoint location".
777 * gdb.reverse/consecutive-reverse.exp: Same.
778
0d8683a3
TV
7792020-05-06 Tom de Vries <tdevries@suse.de>
780
781 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
782 address.
783
b8983c46
TV
7842020-05-06 Tom de Vries <tdevries@suse.de>
785
786 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
787
abf6d805
TV
7882020-05-06 Tom de Vries <tdevries@suse.de>
789
790 * gdb.base/store.exp (check_set, up_set): Allowing missing location
791 info for r.
792
0fc2a808
TV
7932020-05-06 Tom de Vries <tdevries@suse.de>
794
795 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
796 necessary.
797
873dd427
TV
7982020-05-06 Tom de Vries <tdevries@suse.de>
799
800 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
801 void.
802
7c99e7e2
TV
8032020-05-06 Tom de Vries <tdevries@suse.de>
804
805 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
806 of ...
807 * gdb.base/async.exp: ... here.
808 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
809 "recommended breakpoint location".
810
6173d6a6
TV
8112020-05-06 Tom de Vries <tdevries@suse.de>
812
813 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
814
6015a067
TV
8152020-05-04 Tom de Vries <tdevries@suse.de>
816
817 * gdb.base/async.exp: Check whether instruction addresses are a
818 "recommended breakpoint location".
819
3b6acaee
TT
8202020-05-03 Tom Tromey <tom@tromey.com>
821
822 * gdb.base/sepdebug.exp: Remove "catch" test.
823 * gdb.base/break.exp: Remove "catch" test.
824 * gdb.base/default.exp: Update expected output.
825
5beb4d17
TV
8262020-05-02 Tom de Vries <tdevries@suse.de>
827
828 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
829 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
830 * gdb.arch/i386-mpx-map.exp: Same.
831 * gdb.arch/i386-mpx-sigsegv.exp: Same.
832 * gdb.arch/i386-mpx-simple_segv.exp: Same.
833 * gdb.arch/i386-mpx.exp: Same.
834
8caf140d
TV
8352020-05-02 Tom de Vries <tdevries@suse.de>
836
837 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
838
693196cb
TV
8392020-05-01 Tom de Vries <tdevries@suse.de>
840
841 * gdb.ada/operator_bp.exp: Allow more than required amount of
842 breakpoint.
843
53ae0aa9
TV
8442020-05-01 Tom de Vries <tdevries@suse.de>
845
846 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
847
ee9d1e5f
HD
8482020-04-30 Hannes Domani <ssbssa@yahoo.de>
849
850 PR gdb/18706
851 * gdb.cp/stub-array-size.cc: New test.
852 * gdb.cp/stub-array-size.exp: New file.
853 * gdb.cp/stub-array-size.h: New test.
854 * gdb.cp/stub-array-size2.cc: New test.
855
d5cf82c0
HD
8562020-04-30 Hannes Domani <ssbssa@yahoo.de>
857
858 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
859 output to the new format.
860
42e165c3
SM
8612020-04-29 Simon Marchi <simon.marchi@efficios.com>
862
863 * gdb.base/break.exp: Use with_test_prefix.
864
6e4e3fe1
TV
8652020-04-29 Tom de Vries <tdevries@suse.de>
866
867 * lib/gdb.exp (debug_types): New proc.
868 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
869 * gdb.python/py-symtab.exp: Same.
870
d642b692
HD
8712020-04-29 Hannes Domani <ssbssa@yahoo.de>
872
873 PR gdb/17320
874 * gdb.base/pretty-array.c: New test.
875 * gdb.base/pretty-array.exp: New file.
876
ea90f227
TV
8772020-04-29 Tom de Vries <tdevries@suse.de>
878
879 PR symtab/25889
880 * gdb.cp/cpexprs.exp: Adapt for inclusion.
881 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
882 and include cpexprs.exp.
883
a65189c9
TV
8842020-04-28 Mark Williams <mark@myosotissp.com>
885
886 PR gdb/24480
887 * dw4-toplevel-types.exp: Test for top level types.
888 * dw4-toplevel-types.cc: Test for top level types.
889
32d1f47a
TBA
8902020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
891
892 * gdb.threads/stop-with-handle.exp: Fix typo in comment
893 (theads -> threads).
894
56a4f5a1
TV
8952020-04-28 Tom de Vries <tdevries@suse.de>
896
897 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
898
0b2f8a3b
TV
8992020-04-28 Tom de Vries <tdevries@suse.de>
900
901 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
902
5390c717
TV
9032020-04-28 Tom de Vries <tdevries@suse.de>
904
905 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
906
15cd93d0
TV
9072020-04-28 Tom de Vries <tdevries@suse.de>
908
909 * gdb.dwarf2/main-foo.c: New test.
910 * gdb.dwarf2/struct-with-sig.exp: New file.
911
d472f0fb
TV
9122020-04-25 Tom de Vries <tdevries@suse.de>
913
914 * boards/debug-types.exp: New file.
915
8d840e05
AB
9162020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
917
918 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
919
bcfe6157
TT
9202020-04-24 Tom Tromey <tom@tromey.com>
921
922 PR symtab/12707:
923 * gdb.python/py-symbol.exp: Update expected results for
924 linkage_name test.
925 * gdb.cp/print-demangle.exp: New file.
926 * gdb.base/c-linkage-name.exp: Fix test.
927 * gdb.guile/scm-symbol.exp: Update expected results for
928 linkage_name test.
929
f049a313
TT
9302020-04-24 Tom Tromey <tom@tromey.com>
931
932 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
933 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
934 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
935 assembler.
936
7cf28874
TV
9372020-04-24 Tom de Vries <tdevries@suse.de>
938
939 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
940 C++.
941
dac2fef7
TT
9422020-04-24 Tom Tromey <tromey@adacore.com>
943
944 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
945 values.
946 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
947 values. Update test for minimal encodings.
948 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
949 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
950 values. Update test for minimal encodings.
951
1acda803
TT
9522020-04-24 Tom Tromey <tromey@adacore.com>
953
954 PR python/23662:
955 * gdb.ada/variant.exp: Add Python checks.
956 * gdb.rust/simple.exp: Add dynamic type checks.
957
adfb9815
TT
9582020-04-24 Tom Tromey <tromey@adacore.com>
959
960 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
961 Make array type matching more lax.
962 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
963 * gdb.ada/mi_variant.exp: New file.
964 * gdb.ada/mi_variant/pck.ads: New file.
965 * gdb.ada/mi_variant/pkg.adb: New file.
966 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
967 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
968
7d79de9a
TT
9692020-04-24 Tom Tromey <tromey@adacore.com>
970
971 * gdb.ada/variant.exp: Add dynamic field offset tests.
972 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
973 * gdb.ada/variant/pkg.adb: Add new variables.
974
f8e89861
TT
9752020-04-24 Tom Tromey <tromey@adacore.com>
976
977 * gdb.ada/variant.exp: New file
978 * gdb.ada/variant/pkg.adb: New file
979 * gdb.ada/variant/pck.adb: New file
980
86e887ae
TV
9812020-04-24 Tom de Vries <tdevries@suse.de>
982
983 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
984
88428775
TV
9852020-04-24 Tom de Vries <tdevries@suse.de>
986
987 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
988 flags.
989
4e86f6e7
TV
9902020-04-24 Tom de Vries <tdevries@suse.de>
991
992 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
993
2016d3e6
TV
9942020-04-24 Tom de Vries <tdevries@suse.de>
995
996 * lib/gdb.exp (default_gdb_start): Handle eof.
997 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
998 failure.
999 * gdb.base/readnever.exp: Handle clean_restart failure.
1000
70bc38f5
TV
10012020-04-23 Tom de Vries <tdevries@suse.de>
1002
1003 * gdb.base/decl-before-def.exp: Run to main and print a again.
1004
de82891c
TV
10052020-04-23 Tom de Vries <tdevries@suse.de>
1006
1007 * gdb.base/decl-before-def-decl.c: New test.
1008 * gdb.base/decl-before-def-def.c: New test.
1009 * gdb.base/decl-before-def.exp: New file.
1010
96038148
TV
10112020-04-23 Tom de Vries <tdevries@suse.de>
1012
1013 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1014
54ac3df1
TV
10152020-04-22 Tom de Vries <tdevries@suse.de>
1016
1017 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1018 debug_info_offset.
1019 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1020 before $objsfile in the line line.
1021
714534e1
TV
10222020-04-22 Tom de Vries <tdevries@suse.de>
1023
1024 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1025
16a7dbf4
MS
10262020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1027
1028 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1029 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1030 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1031 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1032 * gdb.base/jit-protocol.h: Update definitions to match all usage
1033 contexts.
1034
10352020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1036
1037 * gdb.base: Rename all jit related test and source files.
1038
10392020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1040
1041 * gdb.base/jit-reader.exp: Relax register output check.
1042
317d2668
TV
10432020-04-22 Tom de Vries <tdevries@suse.de>
1044
1045 PR symtab/25764
1046 * gdb.base/psym-external-decl-2.c: New test.
1047 * gdb.base/psym-external-decl.c: New test.
1048 * gdb.base/psym-external-decl.exp: New file.
1049 * gdb.threads/tls.exp: Add PR25807 kfail.
1050
eea9e357
TV
10512020-04-22 Tom de Vries <tdevries@suse.de>
1052
1053 PR symtab/25801
1054 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1055 in "info source" output.
1056
3d5afab3
TV
10572020-04-22 Tom de Vries <tdevries@suse.de>
1058
1059 PR symtab/25700
1060 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1061 symtab for imported_unit.c.
1062
b32102f6
GB
10632020-04-21 Gary Benson <gbenson@redhat.com>
1064
1065 * gdb.base/advance.c (func): New argument, to match call site.
1066 (func2, func3): Add return statements.
1067
d43b7a2d
TBA
10682020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1069
1070 * gdb.multi/run-only-second-inf.c: New file.
1071 * gdb.multi/run-only-second-inf.exp: New file.
1072
d89edf9b
MM
10732020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1074
1075 * gdb.btrace/multi-inferior.c: New test.
1076 * gdb.btrace/multi-inferior.exp: New file.
1077
1a476b6d
MM
10782020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1079
1080 * gdb.btrace/enable-new-thread.c: New test.
1081 * gdb.btrace/enable-new-thread.exp: New file.
1082
4778a5f8
TV
10832020-04-21 Tom de Vries <tdevries@suse.de>
1084
1085 PR gdb/25471
1086 * gdb.threads/killed-outside.c: New test.
1087 * gdb.threads/killed-outside.exp: New file.
1088
9b2c992c
GB
10892020-04-20 Gary Benson <gbenson@redhat.com>
1090
1091 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1092 * gdb.base/nested-subp2.exp: Likewise.
1093 * gdb.base/nested-subp3.exp: Likewise.
1094
b5d1d6f7
GB
10952020-04-20 Gary Benson <gbenson@redhat.com>
1096
1097 * gdb.base/nested-subp1.exp: Disable test when using clang.
1098 * gdb.base/nested-subp2.exp: Likewise.
1099 * gdb.base/nested-subp3.exp: Likewise.
1100
25230285
GB
11012020-04-20 Gary Benson <gbenson@redhat.com>
1102
1103 * gdb.cp/exception.cc: Fix compilation error with clang.
1104
fa93cc8f
GB
11052020-04-20 Gary Benson <gbenson@redhat.com>
1106
809730f3 1107 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1108
e0c45f30
GB
11092020-04-20 Gary Benson <gbenson@redhat.com>
1110
1111 * gdb.base/jit-main.c: Fix compilation error with clang.
1112
4ddfec93
KR
11132020-04-17 Kamil Rytarowski <n54@gmx.com>
1114
1115 * gdb.base/attach-twice.c: Include "sys/types.h".
1116 (PTRACE_ATTACH): Add fallback definition.
1117 (main): Pass `0' to the 4th argument of `ptrace'.
1118
2bed205e
KR
11192020-04-17 Kamil Rytarowski <n54@gmx.com>
1120
1121 * gdb.base/fork-running-state.c: Include "signal.h".
1122
0743fc83
TT
11232020-04-17 Tom Tromey <tromey@adacore.com>
1124
1125 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1126 Update tests.
1127 * gdb.btrace/cpu.exp: Update tests.
1128 * gdb.base/maint.exp: Update tests.
1129 * gdb.base/default.exp: Update tests.
1130 * gdb.base/completion.exp: Update tests.
1131
efba5c23
TV
11322020-04-16 Tom de Vries <tdevries@suse.de>
1133
1134 PR symtab/25791
1135 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1136 (ensure_gdb_index): and factor out and move ...
1137 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1138 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1139
d191d716
TV
11402020-04-16 Tom de Vries <tdevries@suse.de>
1141
1142 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1143 loading exec.
1144
99f1bc6a
AB
11452020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1146
1147 * gdb.base/many-completions.exp: New file.
1148
194d088f
TV
11492020-04-14 Tom de Vries <tdevries@suse.de>
1150
1151 PR symtab/25718
1152 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1153
c1a66c06
TV
11542020-04-14 Tom de Vries <tdevries@suse.de>
1155
1156 PR symtab/25720
1157 * gdb.base/maint-expand-symbols-header-file.c: New test.
1158 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1159 * gdb.base/maint-expand-symbols-header-file.h: New test.
1160
21b0982c
AB
11612020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1162
1163 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1164 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1165 get_func_info.
1166 (get_func_info): Delete.
1167 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1168 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1169 * lib/dwarf.exp (get_func_info): New function.
1170
dd1cab06
TV
11712020-04-13 Tom de Vries <tdevries@suse.de>
1172
1173 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1174 to what find_gnatmake does.
1175
71ea2b6b
TV
11762020-04-10 Tom de Vries <tdevries@suse.de>
1177
1178 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1179 -readnow.
1180
bdfc1e8a
TV
11812020-04-10 Tom de Vries <tdevries@suse.de>
1182
1183 PR cli/25808
1184 * gdb.base/style.c: Add leading newlines.
1185 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1186 Check listing of main's one-line body.
1187
14ca8ecf
TV
11882020-04-08 Tom de Vries <tdevries@suse.de>
1189
1190 * lib/gdb.exp (psymtabs_p): New proc.
1191 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1192 importing unit" unsupported if there are no partial symbols.
1193
e21d048f
TV
11942020-04-08 Tom de Vries <tdevries@suse.de>
1195
1196 PR testsuite/25760
1197 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1198
25c11aca
TV
11992020-04-07 Tom de Vries <tdevries@suse.de>
1200
1201 PR symtab/25796
1202 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1203
5707e24b
TV
12042020-04-07 Tom de Vries <tdevries@suse.de>
1205
1206 * gdb.base/check-psymtab.c: New test.
1207 * gdb.base/check-psymtab.exp: New file.
1208
6ee448cc
TT
12092020-04-06 Tom Tromey <tromey@adacore.com>
1210
1211 * gdb.ada/variant-record/proc.adb: New file.
1212 * gdb.ada/variant-record/value.adb: New file.
1213 * gdb.ada/variant-record/value.s: New file.
1214 * gdb.ada/variant-record.exp: New file.
1215
9e7c9a03
HD
12162020-04-03 Hannes Domani <ssbssa@yahoo.de>
1217
1218 PR gdb/25325
1219 * gdb.cp/typed-enum.cc: New test.
1220 * gdb.cp/typed-enum.exp: New file.
1221
c90d28ac
AB
12222020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1223
1224 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1225 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1226 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1227 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1228 * gdb.opt/inline-small-func.c: New file.
1229 * gdb.opt/inline-small-func.exp: New file.
1230 * gdb.opt/inline-small-func.h: New file.
1231
34e9a9fa
AB
12322020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1235 function.
1236
6a354911
AB
12372020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * lib/dwarf.exp (function_range): Allow compiler options to be
1240 specified.
1241
880d9777
TV
12422020-04-02 Tom de Vries <tdevries@suse.de>
1243
1244 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1245 __attribute__((always_inline)).
1246 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1247
f32682ea
TV
12482020-04-02 Tom de Vries <tdevries@suse.de>
1249
1250 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1251 (gdbserver_gdb_exit): ... here. Add timeout warning.
1252 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1253 (connect_target_extended_remote): Append new server_spawn_id to
1254 server_spawn_ids.
1255 (cleanup): New proc.
1256 (setup, <toplevel>): Call cleanup.
1257
d3214198
TV
12582020-04-02 Tom de Vries <tdevries@suse.de>
1259
1260 * gdb.base/main-psymtab.exp: New file.
1261
cc77ed24
TV
12622020-04-02 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1265
3638a098
TT
12662020-04-01 Tom Tromey <tom@tromey.com>
1267
1268 * gdb.base/complex-parts.exp: Add type tests.
1269
c34e8714
TT
12702020-04-01 Tom Tromey <tom@tromey.com>
1271
1272 * gdb.base/complex-parts.exp: Add arithmetic tests.
1273
981c08ce
TT
12742020-04-01 Tom Tromey <tom@tromey.com>
1275
1276 * gdb.compile/compile.exp: Update.
1277 * gdb.compile/compile-cplus.exp: Update.
1278 * gdb.base/varargs.exp: Update.
1279 * gdb.base/floatn.exp: Update.
1280 * gdb.base/endianity.exp: Update.
1281 * gdb.base/callfuncs.exp (do_function_calls): Update.
1282 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1283 (complex_float_integral_args): Update.
1284 * gdb.base/complex.exp: Update.
1285 * gdb.base/complex-parts.exp: Update.
1286
3d1cfd43
TT
12872020-04-01 Tom Tromey <tromey@adacore.com>
1288
1289 * gdb.rust/union.rs: New file.
1290 * gdb.rust/union.exp: New file.
1291 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1292 (main): Update.
1293 * gdb.rust/simple.exp: Move union tests to union.exp.
1294
e033dfa9
TT
12952020-04-01 Tom Tromey <tromey@adacore.com>
1296
1297 * gdb.rust/simple.rs (main): Remove "y0".
1298
53cccef1
TBA
12992020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1300
1301 * gdb.multi/stop-all-on-exit.c: New test.
1302 * gdb.multi/stop-all-on-exit.exp: New file.
1303
60e22c1e
HD
13042020-04-01 Hannes Domani <ssbssa@yahoo.de>
1305
1306 PR gdb/24789
1307 * gdb.cp/misc.cc: Add integer reference variable.
1308 * gdb.cp/misc.exp: Add test.
1309
e139a727
TBA
13102020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1311
1312 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1313 scenario to cover execution until the end and also the case
1314
16b0db75
TV
13152020-03-31 Tom de Vries <tdevries@suse.de>
1316
1317 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1318 c. Use "maint info symtabs" to check symtab expansion.
1319
c0502da6
TV
13202020-03-30 Tom de Vries <tdevries@suse.de>
1321
1322 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1323 unsupported.
1324 (verify_psymtab_expanded): Move ...
1325 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1326 test.
1327 (readnow): New proc.
1328
5935fd15
AB
13292020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1332 with $hex.
1333
1773be9e
TT
13342020-03-20 Tom Tromey <tromey@adacore.com>
1335
1336 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1337
70304be9
TT
13382020-03-20 Tom Tromey <tromey@adacore.com>
1339
1340 * gdb.ada/sub_variant/subv.adb: New file.
1341 * gdb.ada/sub_variant.exp: New file.
1342
0dd7b8f7
TV
13432020-03-20 Tom de Vries <tdevries@suse.de>
1344
1345 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1346 first break fails.
1347 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1348
cada5fc9
AB
13492020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * gdb.server/exit-multiple-threads.c: New file.
1352 * gdb.server/exit-multiple-threads.exp: New file.
1353
6b8c53f2
AB
13542020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1355
1356 * gdb.fortran/mixed-lang-stack.c: New file.
1357 * gdb.fortran/mixed-lang-stack.cpp: New file.
1358 * gdb.fortran/mixed-lang-stack.exp: New file.
1359 * gdb.fortran/mixed-lang-stack.f90: New file.
1360
19a2740f
AB
13612020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1362
1363 * gdb.linespec/cp-completion-aliases.cc: New file.
1364 * gdb.linespec/cp-completion-aliases.exp: New file.
1365
d8c8b848
TV
13662020-03-19 Tom de Vries <tdevries@suse.de>
1367
1368 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1369 more precise.
1370
a9933ccf
TV
13712020-03-18 Tom de Vries <tdevries@suse.de>
1372
1373 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1374 * gdb.dwarf2/break-inline-psymtab.c: New test.
1375 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1376
2f89101f
TV
13772020-03-16 Tom de Vries <tdevries@suse.de>
1378
1379 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1380 cache_verify and cache_verify_proc.
1381
6b9374f1
TV
13822020-03-15 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.server/solib-list.exp: Handle
1385 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1386
eaeaf44c
TV
13872020-03-15 Tom de Vries <tdevries@suse.de>
1388
1389 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1390 objfiles".
1391
3293bbaf
TT
13922020-03-14 Tom Tromey <tom@tromey.com>
1393
1394 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1395
ab44624c
TV
13962020-03-14 Tom de Vries <tdevries@suse.de>
1397
1398 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1399
54c43825
TV
14002020-03-14 Tom de Vries <tdevries@suse.de>
1401
1402 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1403 result in line-by-line fashion.
1404
2ac70237
TV
14052020-03-14 Tom de Vries <tdevries@suse.de>
1406
1407 * lib/gdb.exp (supports_statement_frontiers): New proc.
1408 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1409
09546b56
TV
14102020-03-14 Tom de Vries <tdevries@suse.de>
1411
1412 * gdb.base/printcmds.exp: Add missing quoting for "print
1413 teststring2".
1414
a1f6a07c
TT
14152020-03-13 Tom Tromey <tom@tromey.com>
1416
1417 * gdb.base/printcmds.exp (test_print_strings): Add regression
1418 test.
1419 * gdb.base/printcmds.c (charptr): New typedef.
1420 (teststring2): New global.
1421
1b83d09c
AB
14222020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1425 full path in the test name.
1426 (test_ld): Add some with_test_prefix blocks to make test names
1427 unique.
1428
2d61316c
TV
14292020-03-13 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1432
2e9145ac
TV
14332020-03-13 Tom de Vries <tdevries@suse.de>
1434
1435 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1436
96c7f873
TV
14372020-03-13 Tom de Vries <tdevries@suse.de>
1438
1439 PR symtab/25646
1440 * gdb.dwarf2/imported-unit.exp: Add test.
1441
49ba92c0
TV
14422020-03-13 Tom de Vries <tdevries@suse.de>
1443
1444 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1445 (var1, var2): New variable.
1446 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1447 matching symbols.
1448
301b21e0
TV
14492020-03-13 Tom de Vries <tdevries@suse.de>
1450
1451 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1452 (Term::command): Use prompt prefix.
1453 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1454 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1455 command_no_prompt_prefix instead of prefix.
1456 * gdb.tui/tui-layout-asm.exp: Same.
1457
3f512721
SM
14582020-03-12 Simon Marchi <simon.marchi@efficios.com>
1459
1460 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1461
40310f30
SM
14622020-03-12 Simon Marchi <simon.marchi@efficios.com>
1463
1464 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1465 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1466 on" while stepping over the test instruction, match printed
1467 message.
1468
09252140
TV
14692020-03-12 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.base/info-types.exp: Use exp_continue during matching of output
1472 of "info types".
1473
14e9c72c
TV
14742020-03-12 Tom de Vries <tdevries@suse.de>
1475
1476 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1477
e515d67e
TV
14782020-03-12 Tom de Vries <tdevries@suse.de>
1479
1480 * gdb.fortran/module.exp: Use exp_continue during matching of output
1481 of "info variable -n".
1482
307eafd8
TV
14832020-03-12 Tom de Vries <tdevries@suse.de>
1484
1485 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1486 gdb.dwarf2/dw2-ranges-base.c.
1487
9a2de3fc
TV
14882020-03-12 Tom de Vries <tdevries@suse.de>
1489
1490 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1491 in presence of GLIBC debuginfo.
1492
3217502e
TV
14932020-03-12 Tom de Vries <tdevries@suse.de>
1494
1495 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1496 $core.
1497
1281424c
TV
14982020-03-12 Tom de Vries <tdevries@suse.de>
1499
1500 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1501 more precise.
1502
038b97fc
SM
15032020-03-11 Simon Marchi <simon.marchi@efficios.com>
1504
1505 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1506 from Unix to Windows path.
1507
5308d1e7
TV
15082020-03-11 Tom de Vries <tdevries@suse.de>
1509
1510 * gdb.ada/minsyms.exp: Set language to ada.
1511
f870f78f
TV
15122020-03-11 Tom de Vries <tdevries@suse.de>
1513
1514 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1515
5a13315d
TV
15162020-03-11 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1519
976862ed
TT
15202020-03-11 Tom Tromey <tromey@adacore.com>
1521
1522 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1523
7462c383
TV
15242020-03-11 Tom de Vries <tdevries@suse.de>
1525
1526 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1527
1c6c46a0
TV
15282020-03-11 Tom de Vries <tdevries@suse.de>
1529
1530 * gdb.base/break-interp.exp: Limit verbose scope.
1531
44f41bb7
TV
15322020-03-11 Tom de Vries <tdevries@suse.de>
1533
1534 * gdb.fortran/logical.f90: Define variable with character type.
1535 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1536
b76f3a42
TV
15372020-03-11 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1540
1c33af77
TV
15412020-03-11 Tom de Vries <tdevries@suse.de>
1542
1543 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1544 symtabs.
1545
8c95582d
AB
15462020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1547 Bernd Edlinger <bernd.edlinger@hotmail.de>
1548
1549 * gdb.cp/step-and-next-inline.cc: New file.
1550 * gdb.cp/step-and-next-inline.exp: New file.
1551 * gdb.cp/step-and-next-inline.h: New file.
1552 * gdb.dwarf2/dw2-is-stmt.c: New file.
1553 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1554 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1555 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1556 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1557
cecf8547
AB
15582020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1559
1560 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1561 is-stmt flag in the line table.
1562
0ba678c9
TV
15632020-03-09 Tom de Vries <tdevries@suse.de>
1564
1565 * lib/gdb.exp (cached_file): Create cache dir.
1566
72fbdf83
TV
15672020-03-07 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1570 * gdb.cp/rvalue-ref-params.exp: Same.
1571
436b5e99
TV
15722020-03-06 Tom de Vries <tdevries@suse.de>
1573
1574 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1575 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1576
09f2921c
TV
15772020-03-06 Tom de Vries <tdevries@suse.de>
1578
1579 * README: Fix "the the".
1580 * gdb.base/dprintf.exp: Same.
1581
50a3cc5d
TV
15822020-03-05 Tom de Vries <tdevries@suse.de>
1583
1584 * gdb.base/maint.exp: Update "main print statistics" expected output.
1585
0a709cba
AKS
15862020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1587
1588 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1589 (fortran_int8): Likewise.
1590 (fortran_real4): Likewise.
1591 (fortran_real8): Likewise.
1592 (fortran_complex4): Likewise.
1593 (fortran_logical4): Likewise.
1594 (fortran_character1): Likewise.
1595
5e5d66b6
AB
15962020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1599 printed as true.
1600
7b973adc
SDJ
16012020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1602
1603 * gdb.base/printcmds.exp: Add test to verify printf of a
1604 variable holding an address.
1605
478e490a
TV
16062020-03-03 Tom de Vries <tdevries@suse.de>
1607
1608 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1609
1ef44e86
TV
16102020-03-03 Tom de Vries <tdevries@suse.de>
1611
1612 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1613 gdb_test_multiple call.
1614
b98cc2cf
TV
16152020-03-03 Tom de Vries <tdevries@suse.de>
1616
1617 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1618 gdb_test_multiple calls.
1619
63e163f2
AB
16202020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * gdb.base/default.exp: Remove test of 'set history filename'.
1623 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1624 filename to the empty string.
1625 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1626 and GDBHISTSIZE.
1627
24ed6739
AB
16282020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1631 disabled.
1632
590003dc
TV
16332020-03-02 Pedro Alves <palves@redhat.com>
1634 Tom de Vries <tdevries@suse.de>
1635
1636 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1637 -prompt prefix, before user_code argument. Add -lbl option likewise.
1638 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1639 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1640 argument.
1641 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1642 have "\r\n" at start-of-line, instead of at end-of-line.
1643
f5e46084
SM
16442020-02-28 Simon Marchi <simon.marchi@efficios.com>
1645
1646 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1647 libinproctrace.so.
1648
f7a7000d
LM
16492020-02-28 Luis Machado <luis.machado@linaro.org>
1650
1651 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1652 to "p/x".
1653
718e0816
LM
16542020-02-28 Luis Machado <luis.machado@linaro.org>
1655
1656 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1657 asm/ptrace.h and error.h.
1658
13c3a74a
TV
16592020-02-28 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1662 (struct wrapper, do_something, mundane/symada__cS): Move ...
1663 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1664 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1665 Update "print symada__cS before partial symtab expansion" regexp.
1666 Update breakpoint location. Flush symbol cache after expansion.
1667
85d2d5bb
LM
16682020-02-28 Luis Machado <luis.machado@linaro.org>
1669
1670 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1671
3608f86c
TV
16722020-02-27 Tom de Vries <tdevries@suse.de>
1673
1674 * config/sid.exp: Remove unused globals.
1675 * gdb.base/attach.exp: Same.
1676 * gdb.base/catch-load.exp: Same.
1677 * gdb.base/dbx.exp: Same.
1678 * lib/gdb.exp: Same.
1679 * lib/mi-support.exp: Same.
1680 * lib/prompt.exp: Same.
1681
c8d4f6df
TV
16822020-02-27 Tom de Vries <tdevries@suse.de>
1683
1684 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1685 not set.
1686
0d79cdc4
AM
16872020-02-26 Aaron Merey <amerey@redhat.com>
1688
1689 * gdb.debuginfod: New directory for debuginfod tests.
1690 * gdb.debuginfod/main.c: New test file.
1691 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1692
0dce4280
TV
16932020-02-26 Tom de Vries <tdevries@suse.de>
1694
1695 PR gdb/25603
1696 * gdb.base/persistent-lang.cc: New test.
1697 * gdb.base/persistent-lang.exp: New file.
1698
9e80cfa1
AB
16992020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1700
1701 * gdb.fortran/derived-type-striding.exp: Add a new test.
1702 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1703 new test.
1704
2078dbb2
AB
17052020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1706
1707 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1708 names.
1709
70d49700
TV
17102020-02-25 Tom de Vries <tdevries@suse.de>
1711
1712 PR go/18926
1713 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1714
a88ef40d
TV
17152020-02-24 Tom de Vries <tdevries@suse.de>
1716
1717 PR gdb/25592
1718 * gdb.base/info-locals-unused-static-var.c: New test.
1719 * gdb.base/info-locals-unused-static-var.exp: New file.
1720
01b1af32
TT
17212020-02-22 Tom Tromey <tom@tromey.com>
1722
1723 * gdb.python/tui-window.exp: New file.
1724 * gdb.python/tui-window.py: New file.
1725
7c043ba6
TT
17262020-02-22 Tom Tromey <tom@tromey.com>
1727
1728 PR tui/17850:
1729 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1730 tests.
1731
c22fef7e
TT
17322020-02-22 Tom Tromey <tom@tromey.com>
1733
1734 * gdb.tui/new-layout.exp: Add sub-layout tests.
1735
ee325b61
TT
17362020-02-22 Tom Tromey <tom@tromey.com>
1737
1738 * gdb.tui/new-layout.exp: New file.
1739
3f0cbb04
TT
17402020-02-22 Tom Tromey <tom@tromey.com>
1741
1742 * gdb.rust/rust-style.rs: New file.
1743 * gdb.rust/rust-style.exp: New file.
1744 * gdb.base/style.exp: Test structure printing.
1745 * gdb.base/style.c (struct some_struct): New type.
1746 (enum etype): New type.
1747 (struct_value): New global.
1748
75525152
TV
17492020-02-21 Tom de Vries <tdevries@suse.de>
1750
1751 PR go/18926
1752 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1753 Remove blanket xfails. Use message argument for gdb_breakpoint.
1754 Make continuing to breakpoint test conditional on setting breakpoint.
1755 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1756 DW_AT_name attribute. Add xfail for GCC PR93866.
1757
bd360d30
AB
17582020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1759
1760 * gdb.dwarf2/cpp-linkage-name.c: New file.
1761 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1762
c7adb09f 17632020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1764
1765 * lib/gdb.exp (gdb_wrapper_init): Reset
1766 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1767 not exist.
1768
a9c79803
TV
17692020-02-20 Tom de Vries <tdevries@suse.de>
1770
1771 PR go/17018
1772 * gdb.go/hello.exp: Copy ...
1773 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1774 print of st to print value of global definition. Add xfail for GCC
1775 PR93844.
1776 * gdb.go/hello.exp: Remove printing of st before definition.
1777 * gdb.go/hello.go: Copy ...
1778 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1779 to st.
1780 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1781
d7445728
TV
17822020-02-20 Tom de Vries <tdevries@suse.de>
1783
1784 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1785 (gdb_simple_compile): Handle compile_flags go by using .go extension
1786 for source file.
1787 * gdb.go/chan.exp: Use support_go_compile.
1788 * gdb.go/handcall.exp: Same.
1789 * gdb.go/hello.exp: Same.
1790 * gdb.go/integers.exp: Same.
1791 * gdb.go/max-depth.exp: Same.
1792 * gdb.go/methods.exp: Same.
1793 * gdb.go/package.exp: Same.
1794 * gdb.go/strings.exp: Same.
1795 * gdb.go/types.exp: Same.
1796 * gdb.go/unsafe.exp: Same.
1797
c9c41e6d
TV
17982020-02-19 Tom de Vries <tdevries@suse.de>
1799
1800 * gdb.python/lib-types.exp: Make xfail more strict.
1801
f20ff837
TV
18022020-02-19 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1805
08410482
DE
18062020-02-19 Doug Evans <dje@google.com>
1807
1808 PR rust/25535
1809 * gdb.rust/simple.exp: Add test.
1810 * gdb.rust/simple.rs: Add test.
1811
623563f7
TV
18122020-02-19 Tom de Vries <tdevries@suse.de>
1813
1814 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1815 output line-by-line.
1816
d3308cfd
TV
18172020-02-19 Tom de Vries <tdevries@suse.de>
1818
1819 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1820
86cbc5dc
TV
18212020-02-19 Tom de Vries <tdevries@suse.de>
1822
1823 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1824 prelink.
1825
9db2b96b
TV
18262020-02-19 Tom de Vries <tdevries@suse.de>
1827
1828 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1829 (gdb_do_cache): Use gdb_do_cache_wrap.
1830 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1831
89e2fdc5
TV
18322020-02-19 Tom de Vries <tdevries@suse.de>
1833
1834 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1835 gdb_compile option.
1836
373d7ac0
SM
18372020-02-18 Simon Marchi <simon.marchi@efficios.com>
1838
1839 * gdb.base/printcmds.exp (test_print_enums): Update expected
1840 output.
1841
b29a2df0
SM
18422020-02-18 Simon Marchi <simon.marchi@efficios.com>
1843
1844 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1845 for "unknown".
1846
6740f0cc
SM
18472020-02-18 Simon Marchi <simon.marchi@efficios.com>
1848
1849 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1850 enumerator.
1851
edd45eb0
SM
18522020-02-18 Simon Marchi <simon.marchi@efficios.com>
1853
1854 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1855 FE_, add FE_NONE.
1856 (three): Update.
1857 (enum flag_enum_without_zero): New enum.
1858 (flag_enum_without_zero): New variable.
1859 (enum not_flag_enum): New enum.
1860 (three_not_flag): New variable.
1861 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1862 (test_print_enums): Add more tests for printing flag enums.
1863
d4295de4
TV
18642020-02-18 Tom de Vries <tdevries@suse.de>
1865
1866 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1867 (gdb_compile_ada): ... here.
1868 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1869 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1870
f251f505
TT
18712020-02-14 Tom Tromey <tom@tromey.com>
1872
1873 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1874 build directory.
1875 * boards/gdbserver-base.exp: Update path to gdbserver.
1876
8f432634
TV
18772020-02-13 Tom de Vries <tdevries@suse.de>
1878
1879 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1880
92b6eaf7
TV
18812020-02-13 Tom de Vries <tdevries@suse.de>
1882
1883 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1884 are missing.
1885
f3b0f7fe
TV
18862020-02-13 Tom de Vries <tdevries@suse.de>
1887
1888 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1889 call.
1890
f6be8713
SDJ
18912020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1892
1893 PR tui/25126
1894 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1895 * gdb.base/cached-source-file.c: New file.
1896 * gdb.base/cached-source-file.exp: New file.
1897
b2770d5e
TV
18982020-02-11 Tom de Vries <tdevries@suse.de>
1899
1900 PR testsuite/25488
1901 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1902
44f6938e
TV
19032020-02-10 Tom de Vries <tdevries@suse.de>
1904
1905 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1906
5f0e2eb7
MR
19072020-02-10 Maciej W. Rozycki <macro@wdc.com>
1908
1909 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1910 and $after_addr are both integers before making a comparison.
1911
46ce2b6f
TV
19122020-02-09 Tom de Vries <tdevries@suse.de>
1913
1914 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1915 command output and paste it into gdb.log. If any, paste catch message
1916 to gdb.log.
1917
5abbbe1d
TT
19182020-02-07 Tom Tromey <tromey@adacore.com>
1919
1920 PR breakpoints/24915:
1921 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1922
1d5d29e7
SV
19232020-02-06 Shahab Vahedi <shahab@synopsys.com>
1924
1925 * gdb.tui/tui-missing-src.exp: Add the "missing source
1926 file" test for the TUI.
1927
b0999b9b
AB
19282020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1929
1930 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1931 including a port number in the output.
1932
c3b149eb
AKS
19332020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1934
1935 * lib/fortran.exp (fortran_int4): Handle clang.
1936 (fortran_int8): Likewise.
1937 (fortran_real4): Likewise.
1938 (fortran_real8): Likewise.
1939 (fortran_complex4): Likewise.
1940 (fortran_logical4): Likewise.
1941 (fortran_character1): Likewise.
1942
f8dcc90b
TV
19432020-02-04 Tom de Vries <tdevries@suse.de>
1944
1945 * README (Race detection): Add note.
1946
f90ac7c2
TV
19472020-02-04 Tom de Vries <tdevries@suse.de>
1948
1949 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1950
780636ae
TV
19512020-02-04 Tom de Vries <tdevries@suse.de>
1952
1953 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1954
5d2e1193
RA
19552020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1956
1957 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1958 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1959 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1960 blttar, bnetarl.
1961 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1962 binary for blttar, bnetarl.
1963 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1964 wait instruction. Delete ldmx test.
1965 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1966
e409c542
AKS
19672020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1968
1969 * gdb.fortran/array-bounds-high.exp: New file.
1970 * gdb.fortran/array-bounds-high.f90: New file.
1971
b0029748
LD
19722020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1973
1974 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1975 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1976
195a8287
TV
19772020-02-01 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1980
42330a68
AB
19812020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1982
1983 PR tui/9765
1984 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1985 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1986
b62a8028
LM
19872020-01-29 Luis Machado <luis.machado@linaro.org>
1988
1989 * gdb.arch/aarch64-brk-patterns.c: New source file.
1990 * gdb.arch/aarch64-brk-patterns.exp: New test.
1991
5f440116
TBA
19922020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1993
1994 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1995 GCC/Clang version.
1996 * gdb.cp/pass-by-ref.exp: Ditto.
1997
ee2a6fc6
TV
19982020-01-29 Tom de Vries <tdevries@suse.de>
1999
2000 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2001 * gdb.threads/watchpoint-fork-mt.c: Same.
2002 * gdb.threads/watchpoint-fork-parent.c: Same.
2003 * gdb.threads/watchpoint-fork-st.c: Same.
2004 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2005
16b10d6e
LM
20062020-01-27 Luis Machado <luis.machado@linaro.org>
2007
2008 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2009 sitting at a syscall instruction when we hit the syscall function's
2010 breakpoint.
2011 Check PC against one obtained with the x command.
2012 Validate syscall number.
2013 (step_over_syscall): Don't continue to the syscall instruction if
2014 we're already there.
2015
b1468492
PW
20162020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2017
2018 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2019
7ffa82e1
AB
20202020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2021
2022 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2023 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2024
3d92a3e3
AB
20252020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2026
2027 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2028 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2029
94a72be7
AB
20302020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2031
2032 * gdb.base/maint.exp: Update line table parsing test.
2033 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2034
53af73bf
PA
20352020-01-24 Pedro Alves <palves@redhat.com>
2036
2037 PR gdb/25410
2038 * gdb.multi/multi-re-run-1.c: New.
2039 * gdb.multi/multi-re-run-2.c: New.
2040 * gdb.multi/multi-re-run.exp: New.
2041
1ba1ac88
AB
20422020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2043
2044 PR gdb/23718
2045 * gdb.server/server-kill-python.exp: New file.
2046
f3364a6d
AB
20472020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2048
2049 * gdb.server/multi-ui-errors.c: New file.
2050 * gdb.server/multi-ui-errors.exp: New file.
2051
733d0a67
AB
20522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2053
2054 PR tui/9765
2055 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2056
4f13c1c0
TT
20572020-01-19 Tom Tromey <tom@tromey.com>
2058
2059 * gdb.tui/main.exp: Add check for plain "file".
2060
40c94099
CB
20612020-01-16 Christian Biesinger <cbiesinger@google.com>
2062
2063 * lib/gdb.exp: Fix spelling error (seperatelly).
2064
ff47f4f0
TT
20652020-01-14 Tom Tromey <tom@tromey.com>
2066
2067 PR symtab/12535:
2068 * gdb.python/python.exp: Test decode_line with empty string
2069 argument.
2070
717c684d
BE
20712020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2072
2073 * gdb.base/skip-inline.exp: Extend test.
2074
44e4c775
AB
20752020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2076
2077 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2078 * gdb.dwarf2/dw2-bad-elf.c: New file.
2079 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2080
d93c6db7
AB
20812020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2082
2083 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2084 _line_saw_file.
2085
9a6d629c
AB
20862020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2087
2088 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2089 border.
2090
d9ebdab7
TBA
20912020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2092
2093 * gdb.multi/multi-target.exp (setup): Factor out "info
2094 connections" and "info inferiors" tests to ...
2095 (test_info_inferiors): ... this new procedure.
2096 (top level): Run new "info-inferiors" tests.
2097
f3c469b9
PA
20982020-01-10 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.server/bkpt-other-inferior.exp: New file.
2101
121b3efd
PA
21022020-01-10 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2105 of "add-inferior".
2106 * gdb.base/quit-live.exp: Likewise.
2107 * gdb.base/remote-exec-file.exp: Likewise.
2108 * gdb.guile/scm-progspace.exp: Likewise.
2109 * gdb.linespec/linespec.exp: Likewise.
2110 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2111 * gdb.mi/user-selected-context-sync.exp: Likewise.
2112 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2113 "info inferiors" tests.
2114 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2115 "add-inferior".
2116 * gdb.multi/watchpoint-multi.exp: Likewise.
2117 * gdb.python/py-inferior.exp: Likewise.
2118 * gdb.server/extended-remote-restart.exp: Likewise.
2119 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2120 "info inferiors".
2121 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2122 * gdb.trace/report.exp: Likewise.
2123
1dadb1dd
PA
21242020-01-10 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.multi/multi-target.c: New file.
2127 * gdb.multi/multi-target.exp: New file.
2128 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2129 mode requested, but remote does not support non-stop".
2130
78f2c40a
PA
21312020-01-10 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2134 disconnect before reconnecting.
2135
e7af6c70
TBA
21362020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2137 Pedro Alves <palves@redhat.com>
2138
2139 * gdb.server/connect-without-multi-process.exp: Also test
2140 continuing to end.
2141
acdf84a6
PA
21422020-01-10 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.base/remote-exec-file.exp: New file.
2145
873657b9
PA
21462020-01-10 Pedro Alves <palves@redhat.com>
2147
2148 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2149 output.
2150 * gdb.threads/async.c: New.
2151 * gdb.threads/async.exp: New.
2152 * gdb.multi/tids-gid-reset.c: New.
2153 * gdb.multi/tids-gid-reset.exp: New.
2154
7f0ae84c
GB
21552020-01-10 George Barrett <bob@bob131.so>
2156
2157 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2158 to help in finding the image relocation offset.
2159 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2160 options in arguments.
2161 (stap_test_no_debuginfo): Likewise.
2162 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2163 test variants.
2164 (stap_test): Add null semaphore relocation test.
2165
47e9d49d
GB
21662020-01-10 George Barrett <bob@bob131.so>
2167
2168 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2169 * gdb.base/stap-probe.exp: Likewise.
2170 (stap_test): Pass argument as an additional flag.
2171 (stap_test_no_debuginfo): Likewise.
2172 (stap_test): Check `info probes stap' output for semaphore
2173 addresses if the test binary is supposed to have them.
2174
f5a7c406
AB
21752020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2176
2177 * gdb.tui/basic.exp: Add more scrolling tests.
2178
9ae6bf64
TT
21792020-01-09 Tom Tromey <tom@tromey.com>
2180
2181 PR tui/18932:
2182 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2183 meangingful value.
2184 (Term::command, Term::resize): Update.
2185 * gdb.tui/basic.exp: Add scrolling test.
2186
b2efe70c
AB
21872020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2188
2189 * gdb.tui/tui-layout-asm.exp: New file.
2190
3804da7e
AB
21912020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2192
2193 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2194
b40aa28f
AB
21952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2198 (Term::enter_tui): Use Term::prepare_for_tui.
2199
63ffd7c9
AB
22002020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2201
2202 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2203 called.
2204
3be966f6
AB
22052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2206
2207 * gdb.base/skip.exp: Fix race condition in test.
2208
153d79c4
AB
22092020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2210
2211 * gdb.base/backtrace.c: New file.
2212 * gdb.base/backtrace.exp: New file.
2213
f2302a34
AB
22142020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2215
2216 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2217
6ec1d75e
PW
22182020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2219
2220 * gdb.base/style.exp: Test that warnings are styled.
2221
c296cbe6
BE
22222019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2223
2224 * gdb.base/line65535.exp: New file.
2225 * gdb.base/line65535.c: New file.
2226
b28a729d
SM
22272019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2228
2229 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2230 * lib/gnat_debug_info_test.adb: New file.
2231 * gdb.ada/ptype_tagged_param.exp: Use
2232 gnat_runtime_has_debug_info, expect a different output if
2233 runtime does not have debug info.
2234
7f2d7a0d
SM
22352019-12-20 Simon Marchi <simon.marchi@efficios.com>
2236
2237 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2238 (another) quote in test name.
2239
f3bce483
SM
22402019-12-20 Simon Marchi <simon.marchi@efficios.com>
2241
2242 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2243 Add quote in test name.
2244
c855a912
TBA
22452019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2246
2247 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2248 directory instead.
2249 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2250 * gdb.cp/pass-by-ref-2.cc: New file.
2251 * gdb.cp/pass-by-ref-2.exp: New file.
2252
fc9d2d72
TT
22532019-12-20 Tom Tromey <tom@tromey.com>
2254
2255 * gdb.tui/list-before.exp: New file.
2256
77b97e00
TT
22572019-12-20 Tom Tromey <tom@tromey.com>
2258
2259 * gdb.tui/list.exp: Check for source on initial listing.
2260
f69656d0
TT
22612019-12-11 Tom Tromey <tromey@adacore.com>
2262
2263 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2264 Add crlf test.
2265
99a55965
SM
22662019-12-18 Simon Marchi <simon.marchi@efficios.com>
2267
2268 * gdb.base/default.exp: Update value of $_gdb_major.
2269
5024637f
BE
22702019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2271
2272 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2273
b63634be
BE
22742019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2275
2276 * gdb.base/skip.exp: Whitespace fix.
2277
45d73523
BE
22782019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2279
2280 * gdb.base/skip-inline.c: New file.
2281 * gdb.base/skip-inline.exp: New file.
2282
d043f8c8
SM
22832019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2284
2285 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2286 jit_function_00 to jit_function_stack_mangle.
2287 * gdb.base/jithost.c (jit_function_t): Rename to...
2288 (jit_function_stack_mangle_t): ... this.
2289 (jit_function_add_t): New typedef.
2290 (jit_function_00_code): Rename to...
2291 (jit_function_stack_mangle_code): ... this, make static.
2292 (jit_function_add_code): New.
2293 (main): Generate "add" function and call it. Adjust to changes
2294 in jithost_abi.
2295 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2296 (struct jithost_abi) <begin, end>: Remove fields.
2297 <object, function_stack_mangle, function_add>: New fields.
2298 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2299 code_end>: Remove fields.
2300 <func_stack_mangle>: New field.
2301 (read_debug_info): Adjust to renaming, create block for "add"
2302 function.
2303 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2304
873de05c
TT
23052019-12-11 Tom Tromey <tom@tromey.com>
2306
2307 * gdb.tui/resize.exp: Fix regexp.
2308 * gdb.tui/regs.exp: Fix regexps.
2309 * gdb.tui/main.exp: Fix regexp.
2310
3d979945
TT
23112019-12-11 Tom Tromey <tom@tromey.com>
2312
2313 * gdb.tui/resize.exp: Update.
2314 * gdb.tui/empty.exp (layouts): Update.
2315
2192a9d3
TT
23162019-12-11 Tom Tromey <tom@tromey.com>
2317
2318 * gdb.tui/regs.exp: Update.
2319 * gdb.tui/empty.exp (layouts): Update.
2320 * gdb.tui/basic.exp: Update.
2321 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2322
d8edc8b7
PW
23232019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2324
2325 * gdb.base/options.exp: Add -raw-values in the print completion list.
2326 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2327
4c12d936
KB
23282019-12-10 Kevin Buettner <kevinb@redhat.com>
2329
2330 * gdb.threads/omp-par-scope.c: New file.
2331 * gdb/threads/omp-par-scope.exp: New file.
2332
26b911fb
KB
23332019-12-10 Kevin Buettner <kevinb@redhat.com>
2334
bb47f919
KB
2335 * lib/gdb.exp (support_nested_function_tests): New proc.
2336
23372019-12-10 Kevin Buettner <kevinb@redhat.com>
2338
2339 * lib/gdb.exp (gdb_compile_openmp): New proc.
2340 (build_executable_from_specs): Add an "openmp" option.
2341 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2342
6c71eb7d
TT
23432019-12-10 Tom Tromey <tromey@adacore.com>
2344
2345 * gdb.ada/unchecked_union.exp: New file.
2346 * gdb.ada/unchecked_union/pck.adb: New file.
2347 * gdb.ada/unchecked_union/pck.ads: New file.
2348 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2349 * gdb-utils.exp (string_to_regexp): Also quote "?".
2350
bac7c5cf
GB
23512019-12-10 George Barrett <bob@bob131.so>
2352
2353 Test scripted probe breakpoints.
2354 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2355 * gdb.python/py-breakpoint.c (main): Likewise.
2356 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2357 specifier test.
2358 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2359
330f1d38
TBA
23602019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2361
2362 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2363 an rvalue parameter.
2364 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2365 parameter.
2366
b43315e2
AB
23672019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2368
2369 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2370 modules.
2371
54f73dad
AB
23722019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2375 broken version of GCC.
2376
d57cbee9
AB
23772019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2378
2379 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2380 sym-info-cmds library.
2381 * gdb.fortran/info-types.exp: Likewise.
2382 * lib/sym-info-cmds.exp: New file.
2383
c14aab8c
TV
23842019-12-08 Tom de Vries <tdevries@suse.de>
2385
2386 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2387
aa2d5a42
KS
23882019-12-07 Keith Seitz <keiths@redhat.com>
2389
2390 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2391 * gdb.base/corefile-buildid-shlib.c: New file.
2392 * gdb.base/corefile-buildid.c: New file.
2393 * gdb.base/corefile-buildid.exp: New file.
2394
93e55f0a
TV
23952019-12-06 Tom de Vries <tdevries@suse.de>
2396
2397 * gdb.dwarf2/varval.exp: Add decl before def test.
2398
c7d12402
TBA
23992019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2400
2401 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2402
06acc08f
TBA
24032019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2404
2405 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2406 CV and reference conversion for overload resolution.
2407 * gdb.cp/rvalue-ref-overload.exp: Test it.
2408
e0fad1ea
PW
24092019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2410
2411 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2412 * gdb.base/frameapply.exp: Test faas without command.
2413
8d70a9f0
AB
24142019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2415
2416 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2417 Fortran tests.
2418 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2419 order.
2420
36c8fb93
AB
24212019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2422
2423 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2424 casting to type with no kind specified.
2425 (test_basic_parsing_of_type_kinds): Additional tests for types
2426 with no kind specified, and add tests for single/double
2427 precision/complex types.
2428
4139ff00
TT
24292019-12-04 Tom Tromey <tromey@adacore.com>
2430
2431 * gdb.base/endianity.c (struct other) <x>: New field.
2432 (main): Initialize it.
2433 * gdb.base/endianity.exp: Update.
2434
a05cf17a
TT
24352019-12-04 Tom Tromey <tromey@adacore.com>
2436
2437 * gdb.ada/scalar_storage/storage.adb: New file.
2438 * gdb.ada/scalar_storage/pck.adb: New file.
2439 * gdb.ada/scalar_storage/pck.ads: New file.
2440 * gdb.ada/scalar_storage.exp: New file.
2441
103a685e
TT
24422019-12-04 Tom Tromey <tromey@adacore.com>
2443
2444 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2445 (main): Initialize it.
2446 * gdb.base/endianity.exp: Update.
2447
c2512106
AB
24482019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2449
2450 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2451
293b38d6
AB
24522019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2453
2454 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2455 -symbol-info-module-functions and -symbol-info-module-variables.
2456
216a7e6b
AB
24572019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2460
5bbd8269
AB
24612019-12-01 Richard Bunt <richard.bunt@arm.com>
2462 Andrew Burgess <andrew.burgess@embecosm.com>
2463
2464 * gdb.fortran/derived-type-striding.exp: New file.
2465 * gdb.fortran/derived-type-striding.f90: New file.
2466 * gdb.fortran/array-slices.exp: New file.
2467 * gdb.fortran/array-slices.f90: New file.
2468
be09caf1
PW
24692019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2470
2471 * gdb.base/define.exp: Test . in command names.
2472 * gdb.base/setshow.exp: Update test, as . is now part of
2473 command name.
2474
643c0cbe
PW
24752019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2476
2477 * gdb.base/define-prefix.exp: New file.
2478
dcdec678
AB
24792019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2482 compile.
2483 (skip_btrace_pt_tests): Likewise.
2484
640ab947
AB
24852019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2486
2487 * gdb.fortran/info-modules.exp: Compile source files in correct
2488 order.
2489
d22670f0
KB
24902019-11-27 Kevin Buettner <kevinb@redhat.com>
2491
2492 * gdb.dwarf2/imported-unit.exp: New file.
2493 * gdb.dwarf2/imported-unit.c: New file.
2494
db5960b4
AB
24952019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2496
2497 * gdb.mi/mi-fortran-modules-2.f90: New file.
2498 * gdb.mi/mi-fortran-modules.exp: New file.
2499 * gdb.mi/mi-fortran-modules.f90: New file.
2500
7dc42066
AB
25012019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2502
2503 * gdb.mi/mi-sym-info-1.c: New file.
2504 * gdb.mi/mi-sym-info-2.c: New file.
2505 * gdb.mi/mi-sym-info.exp: New file.
2506
0dfeecca
TT
25072019-11-22 Tom Tromey <tromey@adacore.com>
2508
2509 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2510 * gdb.ada/tasks/foo.adb: Add another stopping location.
2511
34877895
PJ
25122019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2513
2514 * gdb.base/endianity.c: New test.
2515 * gdb.base/endianity.exp: New file.
2516
2e84f897
LD
25172019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2518
2519 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2520
65d1cd5f
TV
25212019-11-21 Tom de Vries <tdevries@suse.de>
2522
2523 PR gdb/24956
2524 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2525
4f22c3f4
SDJ
25262019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2527
2528 * gdb.python/py-progspace.exp: Add missing parentheses on some
2529 'print' commands.
2530
9f6ad286
TT
25312019-11-19 Tom Tromey <tom@tromey.com>
2532
2533 * gdb.tui/winheight.exp: New file.
2534
0b8dbf3f
AB
25352019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 * gdb.base/ctf-whatis.c: Delete.
2538 * gdb.base/ctf-whatis.exp: Delete.
2539 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2540
f833b7a7
AB
25412019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2542
2543 * gdb.base/ctf-cvexpr.exp: Delete.
2544 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2545
30d0a636
AB
25462019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2549 the compiler. Clean up header comment a little.
2550 * gdb.base/ctf-ptype.exp: Likewise.
2551 * gdb.base/ctf-whatis.exp: Likewise.
2552 * lib/gdb.exp (skip_ctf_tests): New proc.
2553
494409bb
SDJ
25542019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2555
2556 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2557 * gdb.tui/corefile-run.exp: New file.
2558
55708e99
TT
25592019-11-14 Tom Tromey <tromey@adacore.com>
2560
2561 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2562 regression tests.
2563
45e42163
TT
25642019-11-12 Tom Tromey <tom@tromey.com>
2565
2566 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2567 after any command. Expect prompt after WAIT_FOR is seen.
2568 (enter_tui): Enable resize messages.
2569 (command): Expect command in output.
2570 (get_line): Avoid error when cursor appears to be off-screen.
2571 (dump_screen): Include screen size in title.
2572 (_do_resize): New proc, from "resize".
2573 (resize): Rewrite. Do resize in two steps.
2574 * gdb.tui/empty.exp (layouts): Fix entries.
2575 (check_boxes): Remove xfail.
2576 (check_text): Dump screen on failure.
2577
086baaf1
AB
25782019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2579
2580 * gdb.python/py-symbol.exp: Add test for
2581 gdb.lookup_static_symbols.
2582
09ff83af
AB
25832019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * gdb.python/py-symbol.c: Declare and call function from new
2586 py-symbol-2.c file.
2587 * gdb.python/py-symbol.exp: Compile both source files, and add new
2588 tests for gdb.lookup_static_symbol.
2589 * gdb.python/py-symbol-2.c: New file.
2590
11af934b
TV
25912019-11-02 Tom de Vries <tdevries@suse.de>
2592
2593 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2594 * gdb.base/anon.exp: Same.
2595 * gdb.base/auto-connect-native-target.exp: Same.
2596 * gdb.base/call-ar-st.exp: Same.
2597 * gdb.base/catch-syscall.exp: Same.
2598 * gdb.base/commands.exp: Same.
2599 * gdb.base/default.exp: Same.
2600 * gdb.base/display.exp: Same.
2601 * gdb.base/float.exp: Same.
2602 * gdb.base/foll-fork.exp: Same.
2603 * gdb.base/help.exp: Same.
2604 * gdb.base/info-macros.exp: Same.
2605 * gdb.base/info-proc.exp: Same.
2606 * gdb.base/info-target.exp: Same.
2607 * gdb.base/long_long.exp: Same.
2608 * gdb.base/macscp.exp: Same.
2609 * gdb.base/memattr.exp: Same.
2610 * gdb.base/nofield.exp: Same.
2611 * gdb.base/pointers.exp: Same.
2612 * gdb.base/printcmds.exp: Same.
2613 * gdb.base/ptype.exp: Same.
2614 * gdb.base/restore.exp: Same.
2615 * gdb.base/return.exp: Same.
2616 * gdb.base/scope.exp: Same.
2617 * gdb.base/set-noassign.exp: Same.
2618 * gdb.base/setshow.exp: Same.
2619 * gdb.base/shlib-call.exp: Same.
2620 * gdb.base/signals.exp: Same.
2621 * gdb.base/sigstep.exp: Same.
2622 * gdb.base/skip.exp: Same.
2623 * gdb.base/solib-symbol.exp: Same.
2624 * gdb.base/stap-probe.exp: Same.
2625 * gdb.base/step-line.exp: Same.
2626 * gdb.base/step-test.exp: Same.
2627 * gdb.base/style.exp: Same.
2628 * gdb.base/varargs.exp: Same.
2629 * gdb.base/vla-datatypes.exp: Same.
2630 * gdb.base/vla-ptr.exp: Same.
2631 * gdb.base/vla-sideeffect.exp: Same.
2632 * gdb.base/volatile.exp: Same.
2633 * gdb.base/watch-cond-infcall.exp: Same.
2634 * gdb.base/watchpoint.exp: Same.
2635
e96ec2ba
TV
26362019-11-02 Tom de Vries <tdevries@suse.de>
2637
2638 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2639 * gdb.cp/cpexprs.exp: Same.
2640 * gdb.cp/except-multi-location.exp: Same.
2641 * gdb.cp/exceptprint.exp: Same.
2642 * gdb.cp/gdb2384.exp: Same.
2643 * gdb.cp/inherit.exp: Same.
2644 * gdb.cp/m-static.exp: Same.
2645 * gdb.cp/meth-typedefs.exp: Same.
2646 * gdb.cp/misc.exp: Same.
2647 * gdb.cp/namespace.exp: Same.
2648 * gdb.cp/non-trivial-retval.exp: Same.
2649 * gdb.cp/overload.exp: Same.
2650 * gdb.cp/pr17132.exp: Same.
2651 * gdb.cp/re-set-overloaded.exp: Same.
2652 * gdb.cp/rvalue-ref-types.exp: Same.
2653 * gdb.cp/templates.exp: Same.
2654
bd5766ec
LM
26552019-11-01 Luis Machado <luis.machado@linaro.org>
2656
2657 PR gdb/25124
2658
2659 * gdb.arch/pr25124.S: New file.
2660 * gdb.arch/pr25124.exp: New file.
2661
165f8965
AB
26622019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2663
2664 * gdb.fortran/info-modules.exp: Update expected results, and add
2665 additional tests for 'info module functinos', and 'info module
2666 variables'.
2667 * gdb.fortran/info-types.exp: Update expected results.
2668 * gdb.fortran/info-types.f90: Extend testcase with additional
2669 module variables and functions.
2670
59c35742
AB
26712019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2672
2673 * gdb.fortran/info-modules.exp: New file.
2674 * gdb.fortran/info-types.exp: Build with new file.
2675 * gdb.fortran/info-types.f90: Include and use new module.
2676 * gdb.fortran/info-types-2.f90: New file.
2677
f3fb2519
PW
26782019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2679
2680 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2681 * gdb.base/settings.exp: Test all settings types using
2682 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2683 that now verifies that the value of "maint show" is the same as
2684 returned by the settings functions. Test the type of the
2685 maintenance settings.
2686 * gdb.base/default.exp: Update show_conv_list.
2687
d1e36019
TV
26882019-10-31 Tom de Vries <tdevries@suse.de>
2689
2690 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2691 gdb_test.
2692 * gdb.arch/amd64-disp-step.exp: Same.
2693 * gdb.asm/asm-source.exp: Same.
2694 * gdb.btrace/buffer-size.exp: Same.
2695 * gdb.btrace/cpu.exp: Same.
2696 * gdb.btrace/enable.exp: Same.
2697 * gdb.dwarf2/count.exp: Same.
2698 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2699 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2700 * gdb.fortran/vla-datatypes.exp: Same.
2701 * gdb.fortran/vla-history.exp: Same.
2702 * gdb.fortran/vla-ptype.exp: Same.
2703 * gdb.fortran/vla-value.exp: Same.
2704 * gdb.fortran/whatis_type.exp: Same.
2705 * gdb.guile/guile.exp: Same.
2706 * gdb.multi/tids.exp: Same.
2707 * gdb.python/py-finish-breakpoint.exp: Same.
2708 * gdb.python/py-framefilter.exp: Same.
2709 * gdb.python/py-pp-registration.exp: Same.
2710 * gdb.python/py-xmethods.exp: Same.
2711 * gdb.python/python.exp: Same.
2712 * gdb.server/connect-with-no-symbol-file.exp: Same.
2713 * gdb.server/no-thread-db.exp: Same.
2714 * gdb.server/run-without-local-binary.exp: Same.
2715 * gdb.stabs/weird.exp: Same.
2716 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2717 * gdb.threads/thread-find.exp: Same.
2718 * gdb.threads/tls-shared.exp: Same.
2719 * gdb.threads/tls.exp: Same.
2720 * gdb.threads/wp-replication.exp: Same.
2721 * gdb.trace/ax.exp: Same.
2722 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2723
3d11e68e
TV
27242019-10-31 Tom de Vries <tdevries@suse.de>
2725
2726 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2727 * gdb.ada/array_subscript_addr.exp: Same.
2728 * gdb.ada/arrayidx.exp: Same.
2729 * gdb.ada/arrayparam.exp: Same.
2730 * gdb.ada/arrayptr.exp: Same.
2731 * gdb.ada/boolean_expr.exp: Same.
2732 * gdb.ada/call_pn.exp: Same.
2733 * gdb.ada/complete.exp: Same.
2734 * gdb.ada/fixed_cmp.exp: Same.
2735 * gdb.ada/fun_addr.exp: Same.
2736 * gdb.ada/funcall_param.exp: Same.
2737 * gdb.ada/interface.exp: Same.
2738 * gdb.ada/mod_from_name.exp: Same.
2739 * gdb.ada/null_array.exp: Same.
2740 * gdb.ada/packed_array.exp: Same.
2741 * gdb.ada/packed_tagged.exp: Same.
2742 * gdb.ada/print_chars.exp: Same.
2743 * gdb.ada/print_pc.exp: Same.
2744 * gdb.ada/ptype_arith_binop.exp: Same.
2745 * gdb.ada/ptype_field.exp: Same.
2746 * gdb.ada/ptype_tagged_param.exp: Same.
2747 * gdb.ada/rec_return.exp: Same.
2748 * gdb.ada/ref_tick_size.exp: Same.
2749 * gdb.ada/str_ref_cmp.exp: Same.
2750 * gdb.ada/taft_type.exp: Same.
2751 * gdb.ada/tagged.exp: Same.
2752 * gdb.ada/type_coercion.exp: Same.
2753 * gdb.ada/uninitialized_vars.exp: Same.
2754
60b6ede8
TV
27552019-10-30 Tom de Vries <tdevries@suse.de>
2756
2757 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2758
30baf67b
TV
27592019-10-26 Tom de Vries <tdevries@suse.de>
2760
2761 * gdb.base/bigcore.c: Fix typos in comments.
2762 * gdb.base/ctf-ptype.c: Same.
2763 * gdb.base/long_long.c: Same.
2764 * gdb.dwarf2/dw2-op-out-param.S: Same.
2765 * gdb.python/py-evthreads.c: Same.
2766 * gdb.reverse/i387-stack-reverse.c: Same.
2767 * gdb.trace/tfile.c: Same.
2768 * lib/compiler.c: Same.
2769 * lib/compiler.cc: Same.
2770
158da0d1
TV
27712019-10-25 Tom de Vries <tdevries@suse.de>
2772
2773 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2774 gdb_test_multiple calls.
2775 * gdb.reverse/sigall-reverse.exp: Same.
2776 * gdb.reverse/solib-precsave.exp: Same.
2777 * gdb.reverse/solib-reverse.exp: Same.
2778 * gdb.reverse/until-precsave.exp: Same.
2779 * gdb.reverse/until-reverse.exp: Same.
2780
4ccdfbec
TV
27812019-10-24 Tom de Vries <tdevries@suse.de>
2782
2783 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2784 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2785 kfail using -wrap pattern flag and convenience variable
2786 gdb_test_name.
2787
33d569b7
AB
27882019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2789
2790 * gdb.python/py-progspace.exp: Add tests for the
2791 Progspace.block_for_pc method.
2792
4d0b984b
TT
27932019-10-23 Tom Tromey <tom@tromey.com>
2794
2795 * configure: Rebuild.
2796 * aclocal.m4: Use m4_include, not sinclude.
2797
94cb3754
TV
27982019-10-21 Tom de Vries <tdevries@suse.de>
2799
2800 * gdb.base/infcall-nested-structs.c: Add
2801 __attribute__((noinline,noclone)) to all functions.
2802 (call_all): Add missing variable initialization. Simplify return value.
2803 (breakpt): Increment volatile variable, to prevent call from being
2804 optimized out.
2805 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2806
062f1fc1
TV
28072019-10-17 Tom de Vries <tdevries@suse.de>
2808
2809 * gdb.fortran/module.exp: Allow info variables to print info for files
2810 other than module.f90.
2811
0b54364d
AB
28122019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2813
2814 * gdb.fortran/module.exp: Extend with 'info variables' test.
2815
7ff5fae7
AB
28162019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2819 F77_FOR_TARGET.
2820
d10eccaa
TV
28212019-10-16 Tom de Vries <tdevries@suse.de>
2822
2823 PR tdep/25096
2824 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2825
745ff14e
TV
28262019-10-16 Tom de Vries <tdevries@suse.de>
2827
2828 PR tdep/24104
2829 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2830 Add KFAIL for PR tdep/25096.
2831
03e1ab94
TV
28322019-10-16 Tom de Vries <tdevries@suse.de>
2833
2834 PR testsuite/25059
2835 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2836
b17fcc10
TV
28372019-10-16 Tom de Vries <tdevries@suse.de>
2838
2839 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2840 as signed.
2841
9223170f
SM
28422019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2843
2844 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2845 one instead of increasing timeout.
2846
d6e76313
TV
28472019-10-13 Tom de Vries <tdevries@suse.de>
2848
2849 PR record/25038
2850 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2851 * gdb.reverse/sigall-reverse.exp: Same.
2852 * gdb.reverse/solib-precsave.exp: Same.
2853 * gdb.reverse/solib-reverse.exp: Same.
2854 * gdb.reverse/step-precsave.exp: Same.
2855 * gdb.reverse/until-precsave.exp: Same.
2856 * gdb.reverse/until-reverse.exp: Same.
2857 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2858
6dfc0041
AA
28592019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2860
2861 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2862 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2863 (cmp_struct_05_01, cmp_struct_static_02_01)
2864 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2865 comparisons.
2866
abcf2cc8
TV
28672019-10-10 Tom de Vries <tdevries@suse.de>
2868
2869 PR testsuite/24888
2870 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2871 gnatlink.
2872
a50faaf6
TV
28732019-10-09 Tom de Vries <tdevries@suse.de>
2874
2875 PR testsuite/25048
2876 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2877
60ff3cd7
AB
28782019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2879
2880 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2881 exceptions due to missing debug information.
2882
dfee8566
TV
28832019-10-07 Tom de Vries <tdevries@suse.de>
2884
2885 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2886
3d63690a
AB
28872019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2888
2889 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2890 * gdb.base/annota1.exp: Update to use gdb_test_name.
2891
30d1f018
WP
28922019-10-07 Weimin Pan <weimin.pan@oracle.com>
2893
2894 * gdb.base/ctf-whatis.exp: New file.
2895 * gdb.base/ctf-whatis.c: New file.
2896 * gdb.base/ctf-ptype.exp: New file.
2897 * gdb.base/ctf-ptype.c: New file.
2898 * gdb.base/ctf-constvars.exp: New file.
2899 * gdb.base/ctf-constvars.c: New file.
2900 * gdb.base/ctf-cvexpr.exp: New file.
2901
4dbbb47c
TV
29022019-10-04 Tom de Vries <tdevries@suse.de>
2903
2904 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2905 for loop.
2906
77c2dba3
TT
29072019-10-03 Tom Tromey <tom@tromey.com>
2908
2909 PR rust/24976:
2910 * gdb.rust/simple.rs (Union2): New type.
2911 (main): Use Union2.
2912 * gdb.rust/simple.exp: Add test.
2913
179aed7f
AB
29142019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2915
2916 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2917 nested function prefix.
2918
0a4b0913
AB
29192019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2920 Richard Bunt <richard.bunt@arm.com>
2921 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2924 nested functions.
2925 * gdb.fortran/nested-funcs.f90: Update expected results.
2926 * gdb.fortran/nested-funcs-2.exp: New file.
2927 * gdb.fortran/nested-funcs-2.f90: New file.
2928
082cce05
AB
29292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2930
2931 * gdb.python/py-parameter.exp: Make test names unique.
2932 * gdb.python/py-template.exp: Likewise.
2933 * gdb.python/py-value.exp: Likewise.
2934
2b74ba5a
AB
29352019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2936
2937 * gdb.base/break-interp.exp: Reduce test name duplication.
2938 * gdb.base/call-sc.exp: Likewise.
2939 * gdb.base/callfuncs.exp: Likewise.
2940 * gdb.base/charset.exp: Likewise.
2941 * gdb.base/dump.exp: Likewise.
2942 * gdb.base/ena-dis-br.exp: Likewise.
2943 * gdb.base/relational.exp: Likewise.
2944 * gdb.base/step-over-syscall.exp: Likewise.
2945 * gdb.base/structs.exp: Likewise.
2946
58eb20d5
AB
29472019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2948
2949 * gdb.linespec/explicit.exp: Make test names unique.
2950 * gdb.linespec/ls-errs.exp: Likewise.
2951
4d421147
AB
29522019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2953
2954 * gdb.reverse/break-precsave.exp: Make test names unique.
2955 * gdb.reverse/break-reverse.exp: Likewise.
2956 * gdb.reverse/finish-precsave.exp: Likewise.
2957 * gdb.reverse/finish-reverse.exp: Likewise.
2958 * gdb.reverse/machinestate-precsave.exp: Likewise.
2959 * gdb.reverse/machinestate.exp: Likewise.
2960 * gdb.reverse/readv-reverse.exp: Likewise.
2961 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2962 * gdb.reverse/sigall-precsave.exp: Likewise.
2963 * gdb.reverse/sigall-reverse.exp: Likewise.
2964 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2965 * gdb.reverse/watch-precsave.exp: Likewise.
2966 * gdb.reverse/watch-reverse.exp: Likewise.
2967
d8c06f22
AB
29682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2969
2970 * gdb.threads/stop-with-handle.c: New file.
2971 * gdb.threads/stop-with-handle.exp: New file.
2972
3a56ed86
TV
29732019-10-03 Tom de Vries <tdevries@suse.de>
2974
2975 PR testsuite/25059
2976 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2977 directory" line to be missing.
2978
42275044
TV
29792019-10-03 Tom de Vries <tdevries@suse.de>
2980
2981 PR testsuite/25059
2982 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2983 type optional.
2984
9ef62df0
AA
29852019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2986
2987 * gdb.python/py-format-string.c (string.h): New include.
2988 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2989 the same value, for endianness-independence.
2990 * gdb.python/py-format-string.exp (default_regexp_dict)
2991 (test_pretty_structs, test_format): Adjust expected output to the
2992 changed initialization.
2993
37f6a7f4
TT
29942019-10-02 Tom Tromey <tromey@adacore.com>
2995
2996 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2997
1d58d6a2
PA
29982019-10-02 Pedro Alves <palves@redhat.com>
2999 Andrew Burgess <andrew.burgess@embecosm.com>
3000
3001 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3002 "print-file-var.h".
3003 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3004 (get_version_1): Print this_version_id and its address.
3005 Add extern "C" wrappers around interface functions.
3006 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3007 "print-file-var.h".
3008 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3009 (get_version_2): Print this_version_id and its address.
3010 Add extern "C" wrappers around interface functions.
3011 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3012 <stddef.h> and "print-file-var.h".
3013 Add extern "C" wrappers around interface functions.
3014 [VERSION_ID_MAIN] (this_version_id): Define.
3015 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3016 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3017 up extern "C" blocks.
3018 * gdb.base/print-file-var.exp (test): New, factored out from top
3019 level.
3020 (top level): Test all combinations of attribute hidden or not,
3021 dlopen or not, and this_version_id symbol in main file or not.
3022 Compile tests as both C++ and C, make test names unique.
3023
d770d56f
TT
30242019-10-01 Tom Tromey <tom@tromey.com>
3025
3026 * gdb.base/style.exp: Test "show logging filename".
3027
7f6aba03
TT
30282019-10-01 Tom Tromey <tom@tromey.com>
3029
3030 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3031 * gdb.base/style.exp: Add metadata style test.
3032
14309bb6
TT
30332019-10-01 Tom Tromey <tom@tromey.com>
3034
3035 * gdb.base/style.exp: Test "pwd".
3036
2a3c1174
PA
30372019-10-01 Tom Tromey <tom@tromey.com>
3038
3039 * gdb.base/style.exp: Update tests.
3040
53d666ec
AA
30412019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3042
3043 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3044 'six' to unsigned.
3045 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3046 'five'. Use an all-ones bit pattern for each.
3047 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3048 to its changed values.
3049
4a56a520
TT
30502019-09-30 Tom Tromey <tromey@adacore.com>
3051
3052 * gdb.rust/traits.rs: Disable all warnings.
3053
0df0352a
TV
30542019-09-29 Tom de Vries <tdevries@suse.de>
3055
aac66a4c 3056 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3057
73d9a918
TV
30582019-09-29 Tom de Vries <tdevries@suse.de>
3059
3060 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3061
060b3ab4
TV
30622019-09-27 Tom de Vries <tdevries@suse.de>
3063
3064 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3065
68f7d34d
TV
30662019-09-27 Tom de Vries <tdevries@suse.de>
3067
3068 PR record/23188
3069 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3070
5d63b30a
TT
30712019-09-26 Tom Tromey <tromey@adacore.com>
3072
3073 * gdb.ada/py_taft.exp: New file.
3074 * gdb.ada/py_taft/main.adb: New file.
3075 * gdb.ada/py_taft/pkg.adb: New file.
3076 * gdb.ada/py_taft/pkg.ads: New file.
3077
3d435220
TV
30782019-09-24 Tom de Vries <tdevries@suse.de>
3079
3080 PR gdb/24598
3081 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3082
77d03678
TV
30832019-09-22 Tom de Vries <tdevries@suse.de>
3084
3085 * gdb.base/restore.exp: Allow register variables to be optimized out at
3086 -O0.
3087
abf516c6
UW
30882019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3089
3090 * gdb.arch/spu-info.exp: Remove file.
3091 * gdb.arch/spu-info.c: Remove file.
3092 * gdb.arch/spu-ls.exp: Remove file.
3093 * gdb.arch/spu-ls.c: Remove file.
3094
3095 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3096 * gdb.asm/spu.inc: Remove file.
3097
3098 * gdb.base/dump.exp: Remove support for spu*-*-*.
3099 * gdb.base/stack-checking.exp: Likewise.
3100 * gdb.base/overlays.exp: Likewise.
3101 * gdb.base/ovlymgr.c: Likewise.
3102 * gdb.base/spu.ld: Remove file.
3103
3104 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3105 * gdb.cp/cpexprs.exp: Likewise.
3106 * gdb.cp/exception.exp: Likewise.
3107 * gdb.cp/gdb2495.exp: Likewise.
3108 * gdb.cp/mb-templates.exp: Likewise.
3109 * gdb.cp/pr9167.exp: Likewise.
3110 * gdb.cp/userdef.exp: Likewise.
3111
3112 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3113
3114 * gdb.cell: Remove directory.
3115 * lib/cell.exp: Remove file.
3116
e452e88f
TV
31172019-09-19 Tom de Vries <tdevries@suse.de>
3118
3119 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3120
8a625130
TV
31212019-09-19 Tom de Vries <tdevries@suse.de>
3122
3123 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3124
81dc3ab5
TV
31252019-09-19 Tom de Vries <tdevries@suse.de>
3126
3127 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3128 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3129 (gdb_target_cmd): ... here.
3130 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3131 value 2.
3132
b078f3ac
AB
31332019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3134
3135 * gdb.base/source-dir.exp: Avoid having directory names in test
3136 names.
3137
f1b620e9
MG
31382019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3139
3140 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3141 directory.
3142
67f3ed6a
AB
31432019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3144
3145 * gdb.base/list-missing-source.exp: New file.
3146
d1b70248
TV
31472019-09-14 Tom de Vries <tdevries@suse.de>
3148
3149 PR teststuite/24599
3150 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3151 * lib/ada.exp (gnatmake_version_at_least): New proc.
3152
5fabdcd6
AB
31532019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.base/maint.exp: Use exec_has_index_section.
3156
aa17805f
AB
31572019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3158
3159 * gdb.base/maint.exp: Add test for 'maint info sections'.
3160
25e5c209
TV
31612019-09-12 Tom de Vries <tdevries@suse.de>
3162
3163 * gdb.base/store.exp: Allow register variables to be optimized out at
3164 -O0.
3165
4993045d
PW
31662019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3167
3168 * gdb.ada/rdv_wait.exp: Update to new task names.
3169 * gdb.base/task_switch_in_core.exp: Likewise.
3170 * gdb.base/info_sources_base.c: Likewise.
3171
8a516164
TT
31722019-09-10 Tom Tromey <tromey@adacore.com>
3173
3174 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3175
aa391654
TT
31762019-09-10 Tom Tromey <tromey@adacore.com>
3177
3178 * gdb.ada/dgopt.exp: New file.
3179 * gdb.ada/dgopt/x.adb: New file.
3180
8634b462
TT
31812019-09-08 Tom Tromey <tom@tromey.com>
3182
3183 * gdb.tui/resize.exp: Remove setup_xfail.
3184 * gdb.tui/regs.exp: Remove setup_xfail.
3185 * gdb.tui/basic.exp: Remove setup_xfail.
3186
736b0f76
DB
31872019-09-06 David Blaikie <dblaikie@gmail.com>
3188
3189 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3190 * gdb.cp/cplabel.exp: Ditto.
3191 * gdb.linespec/ls-errs.exp: Ditto.
3192
30331a6c
TV
31932019-09-05 Tom de Vries <tdevries@suse.de>
3194
3195 * lib/gdb.exp (cmp_file_string): New proc.
3196 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3197 runto_main. Verify save breakpoints output.
3198
98b0ebab
PW
31992019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3200
3201 * gdb.base/info-var.exp: Test info variables without running
3202 to main, to avoid expect's buffer overflow.
3203
4e962e74
TT
32042019-09-03 Tom Tromey <tromey@adacore.com>
3205
3206 * gdb.ada/bias.exp: New file.
3207 * gdb.ada/bias/bias.adb: New file.
3208 * gdb.ada/print_chars.exp: Add regression test.
3209 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3210 (MC): New variable.
3211
2ea1a07a
SL
32122019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3213
3214 * gdb.base/argv0-symlink.exp: Run only on native target
3215 and local host.
3216
8077c50d
TV
32172019-08-29 Tom de Vries <tdevries@suse.de>
3218
3219 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3220 diverse debug info.
3221 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3222
48352473
TV
32232019-08-28 Tom de Vries <tdevries@suse.de>
3224
3225 * gdb.base/info-var.exp: Allow info variables to print info for files
3226 other than info-var-f1.c and info-var-f2.c.
3227
d8f27c60
AB
32282019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3229
3230 * gdb.fortran/info-types.exp: Add module.
3231 * gdb.fortran/info-types.f90: Update expected results.
3232
1f20c35e
AB
32332019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3234
3235 * gdb.fortran/info-types.exp: New file.
3236 * gdb.fortran/info-types.f90: New file.
3237 * lib/fortran.exp (fortran_character1): New proc.
3238
4acfdd20
AB
32392019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3240
3241 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3242 functions'. Reindent as needed.
3243 * gdb.base/info-var-f1.c: New file.
3244 * gdb.base/info-var-f2.c: New file.
3245 * gdb.base/info-var.exp: New file.
3246 * gdb.base/info-var.h: New file.
3247
5c31b358
TV
32482019-08-26 Tom de Vries <tdevries@suse.de>
3249
3250 PR c++/24852
3251 * gdb.cp/no-libstdcxx-probe.exp: New test.
3252
b694989f
TV
32532019-08-26 Tom de Vries <tdevries@suse.de>
3254
3255 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3256 * tests need to be skipped.
3257 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3258 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3259 mi_skip_libstdcxx_probe_tests.
3260
d9c4ba53
SDJ
32612019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3262
3263 * gdb.python/py-xmethods.exp: Use raw strings when passing
3264 arguments to SimpleXMethodMatcher.
3265
395fad09
TV
32662019-08-22 Tom de Vries <tdevries@suse.de>
3267
3268 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3269 more informative.
3270
26c957f1
PA
32712019-08-21 Pedro Alves <palves@redhat.com>
3272
3273 * gdb.base/with.exp: Test "with" with no arguments.
3274
61f80d5d
TV
32752019-08-21 Tom de Vries <tdevries@suse.de>
3276
3277 * gdb.base/gdb-caching-proc.exp: Sort files.
3278
d7a11d13
TV
32792019-08-20 Tom de Vries <tdevries@suse.de>
3280
3281 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3282 compilation.
3283
34dafe9f
TV
32842019-08-16 Tom de Vries <tdevries@suse.de>
3285
3286 * gdb.base/compare-sections.exp ("after run to main"): Allow
3287 mismatched read-only sections for PIE executables.
3288
398fdd60
TT
32892019-08-16 Tom Tromey <tom@tromey.com>
3290
3291 * lib/tuiterm.exp (_csi_Z): New proc.
3292 * gdb.tui/basic.exp: Update window positions.
3293 * gdb.tui/empty.exp: Update window positions.
3294
d8f9e51c
SL
32952019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3296
3297 * gdb.base/examine-backward.exp: Correct regexp for
3298 "examine 3 bytes backward from ${address_zero}".
3299
3df505f6
TT
33002019-08-15 Tom Tromey <tom@tromey.com>
3301
3302 * gdb.tui/empty.exp: Enable resizing tests.
3303
272560b5
TT
33042019-08-15 Tom Tromey <tromey@adacore.com>
3305
3306 * gdb.ada/char_enum.exp: Add regression tests.
3307 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3308 and '0'.
3309 (Char, Gchar): Update.
3310 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3311
08235187
CB
33122019-08-15 Christian Biesinger <cbiesinger@google.com>
3313
3314 * gdb.python/python.exp: Expect a leading underscore on
3315 GdbOutput{,Error}File.
3316
22a2ab04
SL
33172019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3318
3319 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3320 Windows host.
3321
835b995b
SL
33222019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3323
3324 * gdb.base/batch-preserve-term-settings.exp
3325 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3326
97dd8e07
CB
33272019-08-15 Christian Biesinger <cbiesinger@google.com>
3328
3329 * lib/gdb.exp: When running on a mingw target, replace
3330 /x/ with x:/.
3331
75faf5c4
AH
33322019-08-14 Alan Hayward <alan.hayward@arm.com>
3333
3334 * gdb.arch/aarch64-prologue.c: New test.
3335 * gdb.arch/aarch64-prologue.exp: New file.
3336
abc6c00f
TV
33372019-08-13 Tom de Vries <tdevries@suse.de>
3338
3339 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3340 Thread.
3341
74c2c1f4
SL
33422019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3343
3344 * gdb.python/py-completion.exp: Download the .py file to the host
3345 and use its host pathname. Conditionalize tests that use
3346 tab completion and manipulate files on the build machine.
3347 * gdb.python/py-events.exp: Download the .py file to the host
3348 and use its host pathname.
3349 * gdb.python/py-evsignal.exp: Likewise.
3350 * gdb.python/py-evthreads.exp: Likewise.
3351 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3352 pathname syntax.
3353 * gdb.python/py-framefilter.exp: Download the .py file to the right
3354 place on the host. Match Windows pathname syntax.
3355 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3356 .py file to the host and use its host pathname.
3357 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3358 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3359 build pathname. Skip symlink test on Windows host. Add missing
3360 newline at end of file.
3361 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3362 and use its host pathname.
3363 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3364 * gdb.python/py-section-script.exp: Use host location of binfile
3365 on safe-path. Use correct path separator on Windows host.
3366 Reorder alternatives in gdb_test_multiple to prevent matching
3367 the wrong alternative on success.
3368 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3369
ca2589f3
PP
33702019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3371
3372 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3373 expect the GDB inferior to no longer immediately stop after
3374 being resumed with "signal SIGINT".
3375
020a839d
SL
33762019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3377
3378 * gdb.linespec/break-ask.exp: Generalize regexps to match
3379 Windows pathnames too.
3380
128d6509
TV
33812019-08-08 Tom de Vries <tdevries@suse.de>
3382
3383 PR testsuite/24862
3384 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3385
590042fc
PW
33862019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3387
3388 * gdb.base/style.exp: Update tests for help doc new invariants.
3389 * gdb.base/help.exp: Likewise.
3390
046bebe1
TT
33912019-08-06 Tom Tromey <tom@tromey.com>
3392
3393 * gdb.base/style.exp: Add disassemble test.
3394 * gdb.base/style.c (some_called_function): New function.
3395 (main): Use it.
3396
0b27c27d
CB
33972019-08-05 Christian Biesinger <cbiesinger@google.com>
3398
3399 * gdb.python/py-block.exp: Test dictionary access on blocks.
3400
580f1034
SM
34012019-08-05 Simon Marchi <simon.marchi@efficios.com>
3402
3403 PR gdb/24863
3404 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3405 -list-thread-groups --available test when running under
3406 check-read1.
3407
d86bd7cb
TV
34082019-08-05 Tom de Vries <tdevries@suse.de>
3409
3410 PR testsuite/24863
3411 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3412 * gdb.base/help.exp: Use with_read1_timeout_factor.
3413 * gdb.base/info-macros.exp: Same.
3414 * gdb.cp/nested-types.exp: Same.
3415
a80cf5d8
TV
34162019-08-05 Tom de Vries <tdevries@suse.de>
3417
3418 * lib/gdb.exp (version_at_least): Factor out of ...
3419 (tcl_version_at_least): ... here.
3420 (gdb_compile): Fail if pie results in non-PIE executable.
3421 (readelf_version, readelf_prints_pie): New proc.
3422 (exec_is_pie): Return -1 if unknown.
3423
d0962838
TV
34242019-08-05 Tom de Vries <tdevries@suse.de>
3425
3426 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3427
2252ff3d
SL
34282019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3429
3430 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3431
26655f53
SL
34322019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3433
3434 * lib/completion-support.exp (test_gdb_complete_none): Skip
3435 tab completion tests if no readline support.
3436 (test_gdb_complete_unique_re): Likewise.
3437 (test_gdb_complete_multiple): Likewise.
3438
db4dc13e
PW
34392019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3440
3441 * gdb.base/info_sources.exp: New file.
3442 * gdb.base/info_sources.c: New file.
3443 * gdb.base/info_sources_base.c: New file.
3444
0eba165a
PFC
34452019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3446
3447 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3448 prefix argument.
3449 (test_exit_status): Add prefix argument.
3450
59bd512b
TV
34512019-08-01 Tom de Vries <tdevries@suse.de>
3452
3453 PR testsuite/24863
3454 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3455 calling exp_continue for new thread and thread exited messages.
3456
2a3ad588
TV
34572019-08-01 Tom de Vries <tdevries@suse.de>
3458
3459 PR testsuite/24863
3460 * gdb.base/structs.exp: Fix check-read1 timeout using
3461 gdb_test_sequence.
3462 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3463
117eb594
TV
34642019-08-01 Tom de Vries <tdevries@suse.de>
3465
3466 PR testsuite/24863
3467 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3468 line.
3469
ed591340
TV
34702019-08-01 Tom de Vries <tdevries@suse.de>
3471
3472 PR testsuite/24863
3473 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3474
aa3b6533
TT
34752019-07-30 Tom Tromey <tromey@adacore.com>
3476
3477 * gdb.ada/display_nested.exp: New file.
3478 * gdb.ada/display_nested/foo.adb: New file.
3479 * gdb.ada/display_nested/pack.adb: New file.
3480 * gdb.ada/display_nested/pack.ads: New file.
3481
2906593f
CB
34822019-07-30 Christian Biesinger <cbiesinger@google.com>
3483
3484 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3485 namespace.
3486 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3487
0f575925
TV
34882019-07-30 Tom de Vries <tdevries@suse.de>
3489
3490 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3491 instead.
3492
b13057d9
TV
34932019-07-30 Tom de Vries <tdevries@suse.de>
3494
3495 PR testsuite/24834
3496 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3497 (exec_is_pie): New proc.
3498
5c4dde85
CB
34992019-07-29 Christian Biesinger <cbiesinger@google.com>
3500
3501 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3502
c620ed88
CB
35032019-07-29 Christian Biesinger <cbiesinger@google.com>
3504
3505 * gdb.python/py-objfile.c: Add global and static vars.
3506 * gdb.python/py-objfile.exp: Test new functions Objfile.
3507 lookup_global_symbol and lookup_static_symbol.
3508
3d235706
TT
35092019-07-29 Tom Tromey <tom@tromey.com>
3510
3511 * lib/tuiterm.exp (Term::_csi_@): New proc.
3512 (Term::_csi_X): Don't move cursor.
3513
c7e4c0a6
PW
35142019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3515
3516 * gdb.base/options.exp: Update backtrace - completion to
3517 new option -frame-info.
3518 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3519 Test new 'set print frame-info'. Test backtrace -frame-info
3520 overriding 'set print frame-info'.
3521 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3522 Test new 'set print frame-info'.
3523 Verify consistency of backtrace with and without filters, with and
3524 without -no-filters.
3525 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3526 default.
3527
de28a3b7
TV
35282019-07-29 Tom de Vries <tdevries@suse.de>
3529
3530 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3531 no arguments".
3532
507dd60e
TV
35332019-07-29 Tom de Vries <tdevries@suse.de>
3534
3535 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3536 is a substring of the first for "complete non-unique file name".
3537
5beafce9
TV
35382019-07-29 Tom de Vries <tdevries@suse.de>
3539
3540 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3541 with ".*".
3542
2d274232
TV
35432019-07-29 Tom de Vries <tdevries@suse.de>
3544
3545 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3546 Pass prompt_regexp parameter to gdb_test_multiple calls.
3547
9197cd8b
TV
35482019-07-29 Tom de Vries <tdevries@suse.de>
3549
3550 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3551 print registers" regexps.
9197cd8b 3552
b528dae0
TV
35532019-07-29 Tom de Vries <tdevries@suse.de>
3554
3555 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3556
d17725d7
TV
35572019-07-29 Tom de Vries <tdevries@suse.de>
3558
3559 PR gdb/24855
3560 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3561 (skip_python_tests_prompt): Add prompt_regexp argument to
3562 gdb_test_multiple calls.
3563
52b75bf1
TT
35642019-07-27 Tom Tromey <tom@tromey.com>
3565
3566 * gdb.tui/main.exp: New file.
3567
2b1d00c2
TT
35682019-07-27 Tom Tromey <tom@tromey.com>
3569
3570 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3571 optional.
3572 * gdb.tui/empty.exp: New file.
3573
ded631d5
TT
35742019-07-27 Tom Tromey <tom@tromey.com>
3575
3576 * lib/tuiterm.exp (spawn): New proc.
3577 (Term::resize): New proc.
3578 * gdb.tui/resize.exp: New file.
3579
58ac439d
TT
35802019-07-27 Tom Tromey <tom@tromey.com>
3581
3582 * gdb.tui/list.exp: New file.
3583
fe1f56ee
TT
35842019-07-27 Tom Tromey <tom@tromey.com>
3585
3586 * gdb.tui/regs.exp: New file.
3587
f790b310
TT
35882019-07-27 Tom Tromey <tom@tromey.com>
3589
3590 * gdb.tui/basic.exp: Add "layout split" test.
3591
d95fc6ee
TT
35922019-07-27 Tom Tromey <tom@tromey.com>
3593
3594 * gdb.tui/basic.exp: Add "layout asm" test.
3595
c3786b3a
TT
35962019-07-27 Tom Tromey <tom@tromey.com>
3597
3598 * lib/tuiterm.exp: New file.
3599 * gdb.tui/basic.exp: New file.
3600
98a617f8
KB
36012019-07-27 Kevin Buettner <kevinb@redhat.com>
3602
3603 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3604 Enable tests associated with this flag. Adjust regex
3605 referencing "foo_low" to now refer to "foo_cold" instead.
3606
5c076da4
KB
36072019-07-27 Kevin Buettner <kevinb@redhat.com>
3608
3609 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3610 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3611 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3612 foo_cold. Revise comments to match.
3613 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3614 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3615 were wrapped into this proc; Call do_test in loop from outermost
3616 level.
3617 (foo_low): Rename all occurrences to "foo_cold".
3618 (backtrace from baz): New test.
3619 (x2/i foo_cold): New test.
3620 (info line *foo_cold): New test.
3621
1512d3b7
TV
36222019-07-26 Tom de Vries <tdevries@suse.de>
3623
3624 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3625
297989a1
TV
36262019-07-25 Tom de Vries <tdevries@suse.de>
3627
3628 PR testsuite/24830
3629 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3630 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3631 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3632 (skip_libstdcxx_probe_tests): ... here.
3633 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3634
b3b965fb
TV
36352019-07-24 Tom de Vries <tdevries@suse.de>
3636
3637 PR testsuite/24807
3638 * gdb.objc/basicclass.m: Include stdio.h.
3639 * gdb.objc/nondebug.m: Same.
3640 * gdb.objc/objcdecode.m: Same.
3641
4625b4d0
TV
36422019-07-24 Tom de Vries <tdevries@suse.de>
3643
3644 PR testsuite/24612
3645 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3646 additional_flags.
3647
024a5840
TV
36482019-07-24 Tom de Vries <tdevries@suse.de>
3649
3650 PR testsuite/24831
3651 * gdb.multi/tids.exp: Update error messages for info threads.
3652
c76ddaa3
TV
36532019-07-24 Tom de Vries <tdevries@suse.de>
3654
3655 * gdb.base/info-types.exp: Allow info types to print info for more than
3656 one file.
3657
9a618ef6
TV
36582019-07-23 Tom de Vries <tdevries@suse.de>
3659
3660 PR testsuite/24842
3661 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3662 gdb_spawn_with_cmdline_opts.
3663
40eadf04
SP
36642019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3665
3666 * gdb.arch/arm-cmse-sgstubs.c: New test.
3667 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3668
5ba29434
TV
36692019-07-23 Tom de Vries <tdevries@suse.de>
3670
3671 PR testsuite/24711
3672 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3673 issuing next command.
3674
a8e9d247
AB
36752019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.ada/info_auto_lang.exp: Update expected results.
3678 * gdb.base/info-types.c: Add additional types to check.
3679 * gdb.base/info-types.exp: Update expected results.
3680
eb86c5e2
AB
36812019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3682
3683 * gdb.base/info-types.c: New file.
3684 * gdb.base/info-types.exp: New file.
3685
01e175fe
AB
36862019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3687
3688 * gdb.arch/riscv-bp-infcall.c: New file.
3689 * gdb.arch/riscv-bp-infcall.exp: New file.
3690
6b78c3f8
AB
36912019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3692
3693 PR breakpoints/24541
3694 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3695
da738167
TV
36962019-07-14 Tom de Vries <tdevries@suse.de>
3697
3698 PR testsuite/24760
3699 * gdb.objc/basicclass.exp: Fix unterminated string.
3700
0d4e84ed
AB
37012019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3702 Andrew Burgess <andrew.burgess@embecosm.com>
3703
3704 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3705 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3706 negative bounds.
3707 * gdb.fortran/vla-value.exp: Print elements of an array with
3708 negative bounds.
3709 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3710 testing.
3711
021d8588
AB
37122019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3713
3714 * gdb.base/options.exp (expect_string): Dequote strings in
3715 results.
3716 (test-string): Test strings with different quoting and reindent.
3717
f06f1252
TT
37182019-07-10 Tom Tromey <tromey@adacore.com>
3719
3720 * gdb.ada/mi_ex_cond.exp: Update expected results.
3721 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3722 * gdb.ada/mi_catch_ex.exp: Update expected results.
3723 * gdb.ada/mi_catch_assert.exp: Update expected results.
3724 * gdb.ada/catch_ex.exp (catch_exception_info)
3725 (catch_exception_entry, catch_assert_entry)
3726 (catch_unhandled_entry): Update.
3727 * gdb.ada/catch_assert_if.exp: Update expected results.
3728
b863685d
RB
37292019-07-10 Richard Bunt <richard.bunt@arm.com>
3730 Stephen Roberts <stephen.roberts@arm.com>
3731
3732 * gdb.base/define.exp: Restore original prompt.
3733
cb1e4e32
PA
37342019-07-09 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3737 breakpoints" output.
3738 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3739 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3740 throw" creates breakpoint.
3741 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3742 'type="catchpoint"'.
3743
b58a68fe
PA
37442019-07-09 Pedro Alves <palves@redhat.com>
3745
3746 PR c++/15468
3747 * gdb.cp/except-multi-location-lib.cc: New.
3748 * gdb.cp/except-multi-location-main.cc: New.
3749 * gdb.cp/except-multi-location.exp: New.
3750
0826779b
PW
37512019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3752
3753 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3754 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3755 argument and update callers.
3756
5b0e2db4
AB
37572019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3758
3759 * gdb.arch/amd64-break-on-asm-line.S: New file.
3760 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3761
1f6f6e21
PW
37622019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3763
3764 * gdb.base/printcmds.exp: Test printing C string and
3765 C wide string convenience vars without transiting via the inferior.
3766 Also make test names unique.
3767
ea142fbf
AH
37682019-07-08 Alan Hayward <alan.hayward@arm.com>
3769
5862c886 3770 PR breakpoints/25011
ea142fbf
AH
3771 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3772
213fd9fa
PA
37732019-07-04 Pedro Alves <palves@redhat.com>
3774
3775 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3776 body returned ok(0), break(3) or continue(4).
3777 * gdb.testsuite/foreach_with_prefix.exp: New file.
3778
2b40fda7
AH
37792019-07-04 Alan Hayward <alan.hayward@arm.com>
3780
3781 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3782
a26c8de0
PA
37832019-07-03 Pedro Alves <palves@redhat.com>
3784
3785 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3786 "return -code".
3787
5f4ba3e7
PA
37882019-07-03 Pedro Alves <palves@redhat.com>
3789
3790 PR cli/24732
3791 * gdb.base/shell.exp: Load completion-support.exp.
3792 Adjust expected error output. Add completion tests.
3793
a994424f
PA
37942019-07-03 Pedro Alves <palves@redhat.com>
3795
3796 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3797 string_to_regexp.
3798
3d9be6f5
PA
37992019-07-03 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3802 (expect_integer): Adjust to expect "-string".
3803 (expect_string): New.
3804 (all_options): Expect "-string".
3805 (test-flag, test-boolean): Adjust to expect "-string".
3806 (test-string): New proc.
3807 (top level): Call it.
3808
41fc454c
PA
38092019-07-03 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3812 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3813 the expected output in the success.
3814
b2b2a215
PA
38152019-07-03 Pedro Alves <palves@redhat.com>
3816
3817 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3818 Split one gdb_test_multiple call in two to avoid a race.
3819
fdbc9870
PA
38202019-07-03 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/with.c: New file.
3823 * gdb.base/with.exp: New file.
3824
c6ac8931
PA
38252019-07-03 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/settings.exp: Replace all references to "maint
3828 test-settings set" with references to "maint set test-settings",
3829 and all references to "maint test-settings show" with references
3830 to "maint show test-settings".
3831
970f9d09
PA
38322019-07-03 Pedro Alves <palves@redhat.com>
3833
3834 * gdb.base/settings.exp (test-string): Adjust expected out when
3835 testing "maint test-settings show filename"
3836
54d66006
PA
38372019-07-02 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.base/options.exp (test-info-threads): New procedure.
3840 (top level): Call it.
3841
10d06d82
TT
38422019-06-28 Tom Tromey <tromey@adacore.com>
3843
3844 * gdb.dwarf2/ada-linkage-name.c: New file.
3845 * gdb.dwarf2/ada-linkage-name.exp: New file.
3846
3d507ff2
TT
38472019-06-27 Tom Tromey <tromey@adacore.com>
3848
d039f014 3849 PR c++/20020:
3d507ff2
TT
3850 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3851
8af58ffe
TV
38522019-06-26 Tom de Vries <tdevries@suse.de>
3853
3854 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3855
22e21752
TV
38562019-06-26 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.base/index-cache.exp: Add back missing debug option.
3859
b65b566c
PW
38602019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3861
3862 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3863
5c2c8c69
TV
38642019-06-25 Tom de Vries <tdevries@suse.de>
3865
3866 PR testsuite/24727
3867 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3868
164e3873
TV
38692019-06-24 Tom de Vries <tdevries@suse.de>
3870
3871 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3872
824eacee
TV
38732019-06-24 Tom de Vries <tdevries@suse.de>
3874
3875 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3876 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3877 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3878
385b97d3
TV
38792019-06-24 Tom de Vries <tdevries@suse.de>
3880
3881 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3882
c596f180
TV
38832019-06-21 Tom de Vries <tdevries@suse.de>
3884
3885 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3886
b13a7d03
TV
38872019-06-21 Tom de Vries <tdevries@suse.de>
3888
3889 PR testsuite/24518
3890 PR ada/24713
3891 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3892 index.
3893
899277ae
TT
38942019-06-19 Tom Tromey <tromey@adacore.com>
3895
3896 * gdb.ada/length_cond.exp: Add intro comment.
3897
680e1bee
TT
38982019-06-19 Tom Tromey <tromey@adacore.com>
3899
3900 * gdb.ada/length_cond.exp: New file.
3901 * gdb.ada/length_cond/length_cond.adb: New file.
3902 * gdb.ada/length_cond/pck.adb: New file.
3903 * gdb.ada/length_cond/pck.ads: New file.
3904
0ed4690a
TV
39052019-06-18 Tom de Vries <tdevries@suse.de>
3906
3907 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3908
d20ed5fd
TT
39092019-06-18 Tom Tromey <tromey@adacore.com>
3910
3911 * gdb.base/list0.h: Add comment explaining control character.
3912
86e04673
TV
39132019-06-18 Tom de Vries <tdevries@suse.de>
3914
3915 * boards/fission.exp: Break up long debug_flags line.
3916
c4973306
SM
39172019-06-16 Tom de Vries <tdevries@suse.de>
3918
3919 PR gdb/24445
3920 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3921 generated index.
3922
93cb9841
AB
39232019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3924
3925 PR gdb/24686
3926 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3927 improve detection of bug gdb/24541.
3928
399aaebd
SM
39292019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3930
3931 PR gdb/24669
3932 * gdb.base/index-cache.exp (uses_readnow,
3933 expecting_index_cache_use): Define global variable.
3934 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3935 expecting_index_cache_use.
3936
584a927c
AB
39372019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3938 Andrew Burgess <andrew.burgess@embecosm.com>
3939
3940 * gdb.fortran/pointers.f90: New file.
3941 * gdb.fortran/print_type.exp: New file.
3942 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3943 * gdb.fortran/vla-type.exp: Likewise.
3944 * gdb.fortran/vla-value.exp: Likewise.
3945 * gdb.mi/mi-vla-fortran.exp: Likewise.
3946
30056ea0
AB
39472019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3948
3949 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3950 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3951 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3952 as a stop reason.
3953
ec8e2b6d
AB
39542019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3955
3956 * gdb.base/annota1.exp: Update expected results.
3957 * gdb.cp/annota2.exp: Likewise.
3958 * gdb.cp/annota3.exp: Likewise.
3959
09e4c4e1
AB
39602019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3961
3962 * gdb.base/style-logging.exp: Remove path from test name.
3963
0735b091
TT
39642019-06-14 Tom Tromey <tromey@adacore.com>
3965
3966 PR gdb/24502:
3967 * gdb.base/style-logging.exp: New file.
3968
f5686554
TT
39692019-06-14 Tom Tromey <tromey@adacore.com>
3970
3971 * gdb.base/symfile-warn.exp: New file.
3972 * gdb.base/symfile-warn.c: New file.
3973
a0c1ffed
TT
39742019-06-14 Tom Tromey <tromey@adacore.com>
3975
3976 * gdb.base/annotate-symlink.exp: New file.
3977
f411722c
TT
39782019-06-14 Tom Tromey <tromey@adacore.com>
3979
3980 * gdb.ada/set_wstr.exp: Add reassignment test.
3981
4268ec18
TT
39822019-06-14 Tom Tromey <tromey@adacore.com>
3983
3984 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3985 'unchecked_access and 'unrestricted_access as well.
3986
9a9e394b
TT
39872019-06-14 Tom Tromey <tromey@adacore.com>
3988
3989 PR ada/24539:
3990 * gdb.ada/vla.exp: Update tests.
3991 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3992 pragma.
3993
4c048731
PA
39942019-06-13 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/settings.exp (test-integer): Test junk after
3997 "unlimited".
3998
6665660a
PA
39992019-06-13 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.base/options.exp (test-thread-apply): New.
4002 (top level): Call it.
4003
5d707134
PA
40042019-06-13 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.base/options.exp (test-frame-apply): New.
4007 (top level): Test print commands with different "frame apply"
4008 prefixes.
4009
e2a689da
PA
40102019-06-13 Pedro Alves <palves@redhat.com>
4011
e79be6e5 4012 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4013 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4014 'max_completions' parameter and handle it.
4015 (test_gdb_completion_offers_commands): New.
4016
90a1ef87
PA
40172019-06-13 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4020
d4c16835
PA
40212019-06-13 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.base/options.exp (test-backtrace): New.
4024 (top level): Call it.
4025
2daf894e
PA
40262019-06-13 Pedro Alves <palves@redhat.com>
4027
4028 * gdb.guile/scm-frame-args.exp: Use "set print
4029 raw-frame-arguments" instead of "set print raw frame-arguments".
4030 * gdb.python/py-frame-args.exp: Likewise.
4031
e6ed716c
PA
40322019-06-13 Pedro Alves <palves@redhat.com>
4033
4034 * gdb.compile/compile.exp: Adjust expected output to option
4035 processing changes.
4036
7d8062de
PA
40372019-06-13 Pedro Alves <palves@redhat.com>
4038
4039 * gdb.base/options.exp: Build executable.
4040 (test-print): New procedure.
4041 (top level): Call it, once for "print" and another for "compile
4042 print".
4043
9d0faba9
PA
40442019-06-13 Pedro Alves <palves@redhat.com>
4045
4046 * gdb.base/options.c: New file.
4047 * gdb.base/options.exp: New file.
4048
dee7b4c8
PA
40492019-06-13 Pedro Alves <palves@redhat.com>
4050
4051 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4052 that "o" is ambiguous.
4053
dca0f6c0
PA
40542019-06-13 Pedro Alves <palves@redhat.com>
4055
4056 * gdb.base/settings.c: New file.
4057 * gdb.base/settings.exp: New file.
4058
ccf46844
PA
40592019-06-13 Pedro Alves <palves@redhat.com>
4060
4061 * gdb.base/completion.exp: Fix comment typo.
4062
b9a3f842
PA
40632019-06-13 Pedro Alves <palves@redhat.com>
4064
4065 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4066 foo --1" test.
4067
d106773e
PA
40682019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4069
4070 * gdb.fortran/block-data.f: New.
4071 * gdb.fortran/block-data.exp: New.
4072
fea82da0
TV
40732019-06-11 Tom de Vries <tdevries@suse.de>
4074
4075 PR testsuite/24521
4076 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4077 message.
4078
8c2e74f1
TV
40792019-06-11 Tom de Vries <tdevries@suse.de>
4080
4081 PR testsuite/24521
4082 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4083
b49851c8
TV
40842019-06-11 Tom de Vries <tdevries@suse.de>
4085
4086 * boards/readnow.exp: New file.
4087
a7067863
AB
40882019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4089
4090 * gdb.fortran/vla-sizeof.exp: Update expected results.
4091
1a3da2cd
AB
40922019-06-06 Amos Bird <amosbird@gmail.com>
4093
4094 * gdb.base/annota1.exp (thread_switch): Add test for
4095 thread-exited annotation.
4096
3847a7bf
TT
40972019-06-06 Tom Tromey <tromey@adacore.com>
4098
4099 * gdb.base/maint.exp: Expect command started/finished output.
4100
0088ba59
AB
41012019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4102
4103 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4104 comment.
4105 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4106
312617a3
AB
41072019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4108
4109 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4110 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4111 * gdb.arch/riscv-unwind-long-insn.c: New file.
4112 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4113
e1f2e1a2
CB
41142019-06-04 Christian Biesinger <cbiesinger@google.com>
4115
d3238f7d 4116 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4117
206584bd
PW
41182019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4119
4120 * lib/gdb.exp (help_list_trailer): New regexp variable
4121 factorizing the help trailer message.
4122 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4123 arg to allow to better factorize various tests.
4124 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4125 (test_prefix_command_help): Use help_list_trailer.
4126 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4127 * gdb.guile/scm-cmd.exp: Likewise.
4128 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4129 * gdb.base/help.exp: Use test_user_defined_class_help.
4130 * gdb.base/style.exp: Add tests for styling of help and apropos.
4131 * lib/gdb-utils.exp (style): Add title and highlight styles.
4132
708dc93e
PW
41332019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4134
4135 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4136 $_shell_exitsignal.
4137 * gdb.base/default.exp: Update for new convenience variables.
4138
f49055a5
TT
41392019-05-29 Tom Tromey <tromey@adacore.com>
4140
4141 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4142 to "break complete ada" test case's regexp.
4143
4330d61d
TT
41442019-05-29 Tom Tromey <tromey@adacore.com>
4145
4146 PR c++/20020:
4147 * gdb.cp/constexpr-field.exp: New file.
4148 * gdb.cp/constexpr-field.cc: New file.
4149
000439d5
TT
41502019-05-29 Tom Tromey <tromey@adacore.com>
4151
4152 * gdb.base/finish.exp (finish_no_print): New proc.
4153 (finish_tests): Call it.
4154
5a01c34c
TV
41552019-05-24 Tom de Vries <tdevries@suse.de>
4156
4157 * gdb.dwarf2/gdb-add-index.exp: New file.
4158
18125b16
TT
41592019-05-22 Tom Tromey <tromey@adacore.com>
4160
4161 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4162 * gdb.base/style.exp: Use "style".
4163 * lib/gdb-utils.exp (style): New proc.
4164
af1a8d03
TV
41652019-05-22 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.base/align.exp: Require c++11.
4168
e7fe496b
TV
41692019-05-22 Tom de Vries <tdevries@suse.de>
4170
4171 PR testsuite/24586
4172 * gdb.python/py-mi-var-info-path-expression.exp: Call
4173 mi_skip_python_tests to check if python is supported.
4174
8fca4da0
AH
41752019-05-22 Alan Hayward <alan.hayward@arm.com>
4176
4177 * gdb.arch/aarch64-pauth.c: New test.
4178 * gdb.arch/aarch64-pauth.exp: New file.
4179
b7060614
AH
41802019-05-22 Alan Hayward <alan.hayward@arm.com>
4181
4182 * README (Re-running Tests Outside The Testsuite): New section.
4183
669d0468
TV
41842019-05-21 Tom de Vries <tdevries@suse.de>
4185
4186 * gdb.arch/amd64-eval.exp: Require c++11.
4187 * gdb.base/max-depth.exp: Same.
4188 * gdb.compile/compile-cplus-array-decay.exp: Same.
4189 * gdb.cp/meth-typedefs.exp: Same.
4190 * gdb.cp/subtypes.exp: Same.
4191 * gdb.cp/temargs.exp: Same.
4192
ce3ebcaa
AH
41932019-05-21 Alan Hayward <alan.hayward@arm.com>
4194
4195 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4196
34d11c68
AB
41972019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4198
4199 PR gdb/18644
4200 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4201 * gdb.fortran/printing-types.exp: Add new test.
4202 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4203 testing.
4204 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4205 setup_kfail call.
4206
87781e84
AH
42072019-05-17 Alan Hayward <alan.hayward@arm.com>
4208
4209 * README (Running the Testsuite): Change example.
4210 (Testsuite Parameters): Remove TRANSCRIPT.
4211 * lib/gdb.exp: Remove TRANSCRIPT check.
4212
b420b89e
AH
42132019-05-17 Alan Hayward <alan.hayward@arm.com>
4214
4215 * README (Testsuite Parameters): Add replay logging to
4216 GDBSERVER_DEBUG.
4217 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4218 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4219 as a comma separated list.
4220 (gdb_debug_init): Override procedure.
4221
408e9b8b
AH
42222019-05-17 Alan Hayward <alan.hayward@arm.com>
4223
4224 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4225 (gdb_write_cmd_file): New procedure.
4226 * lib/gdbserver-support.exp (gdbserver_start): Call
4227 gdbserver_write_cmd_file.
4228 (gdbserver_write_cmd_file): New procedure.
4229
f9e2e39d
AH
42302019-05-17 Alan Hayward <alan.hayward@arm.com>
4231
4232 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4233 (delete_breakpoints): Likewise.
4234 (gdb_run_cmd): Likewise.
4235 (gdb_start_cmd): Likewise.
4236 (gdb_starti_cmd): Likewise.
4237 (gdb_internal_error_resync): Likewise.
4238 (gdb_test_multiple): Likewise.
4239 (gdb_reinitialize_dir): Likewise.
4240 (default_gdb_exit): Likewise.
4241 (gdb_file_cmd): Mark kill as optional.
4242 (default_gdb_start): Call gdb_stdin_log_init.
4243 (send_gdb): Call gdb_stdin_log_write.
4244 (rerun_to_main): Mark Y as an answer.
4245 (gdb_stdin_log_init): New function.
4246 (gdb_stdin_log_write): Likewise.
4247
81f47ac2
AH
42482019-05-17 Alan Hayward <alan.hayward@arm.com>
4249
4250 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4251 * gdb.base/debug-expr.exp: Likewise.
4252 * gdb.base/foll-fork.exp: Likewise.
4253 * gdb.base/foll-vfork.exp: Likewise.
4254 * gdb.base/fork-print-inferior-events.exp: Likewise.
4255 * gdb.base/gdb-sigterm.exp: Likewise.
4256 * gdb.base/gdbinit-history.exp: Likewise.
4257 * gdb.base/osabi.exp: Likewise.
4258 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4259 * gdb.base/ui-redirect.exp: Likewise.
4260 * gdb.gdb/unittest.exp: Likewise.
4261 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4262 * gdb.mi/mi-watch.exp: Likewise.
4263 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4264 * gdb.mi/user-selected-context-sync.exp: Likewise.
4265 * gdb.python/python.exp: Disable debug test when debugging.
4266 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4267 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4268 Likewise.
4269 * gdb.threads/stepi-random-signal.exp: Likewise.
4270
29b52314
AH
42712019-05-17 Alan Hayward <alan.hayward@arm.com>
4272
4273 * Makefile.in: Pass through GDB_DEBUG.
4274 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4275 (gdb,debug): Add board setting.
4276 * lib/gdb.exp (default_gdb_start): Start debugging.
4277 (gdb_debug_enabled): New procedure.
4278 (gdb_debug_init): Likewise.
29b52314
AH
4279
42802019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4281
29b52314
AH
4282 * Makefile.in: Pass through GDB_DEBUG.
4283 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4284 (gdb,debug): Add board setting.
4285 * lib/gdb.exp (default_gdb_start): Start debugging.
4286 (gdb_debug_enabled): New procedure.
4287 (gdb_debug_init): Likewise.
29b52314 4288
ca1285d1
AH
42892019-05-17 Alan Hayward <alan.hayward@arm.com>
4290
4291 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4292
f3a09c80
AH
42932019-05-17 Alan Hayward <alan.hayward@arm.com>
4294
4295 * gdb.base/ui-redirect.exp: Test redirection.
4296
26648588
JV
42972019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4298
4299 * gdb.mi/mi-complete.exp: New file.
4300 * gdb.mi/mi-complete.cc: Likewise.
4301
14237686
AB
43022019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4303
4304 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4305 indexed and sliced arrays, and pointers to arrays.
4306
e7bd7fba
TT
43072019-05-14 Tom Tromey <tromey@adacore.com>
4308
4309 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4310 styling test.
4311
2764128d
TV
43122019-05-14 Tom de Vries <tdevries@suse.de>
4313
4314 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4315 selection entry encoding.
4316
71bed2db
TT
43172019-05-10 Tom Tromey <tromey@adacore.com>
4318
4319 * gdb.ada/info_exc.exp: Add "complete" test.
4320
63b667ad
TV
43212019-05-09 Tom de Vries <tdevries@suse.de>
4322
4323 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4324 CU-relative.
4325
9cfd2b89
TV
43262019-05-09 Tom de Vries <tdevries@suse.de>
4327
4328 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4329 CU-relative.
4330
2228ef77
XR
43312019-05-08 Joel Brobecker <brobecker@adacore.com>
4332
4333 * gdb.ada/frame_arg_lang.exp: New testcase.
4334 * gdb.ada/frame_arg_lang/bla.adb: New file.
4335 * gdb.ada/frame_arg_lang/pck.ads: New file.
4336 * gdb.ada/frame_arg_lang/pck.adb: New file.
4337 * gdb.ada/frame_arg_lang/foo.c: New file.
4338
80e55b13
TT
43392019-05-08 Tom Tromey <tromey@adacore.com>
4340
4341 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4342
9d3421af
TT
43432019-05-08 Tom Tromey <tromey@adacore.com>
4344
4345 * gdb.base/ptype-offsets.exp: Update tests.
4346
844333e2
TT
43472019-05-08 Tom Tromey <tromey@adacore.com>
4348
4349 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4350 cases.
4351 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4352 "short".
4353
988915ee
TT
43542019-05-08 Tom Tromey <tromey@adacore.com>
4355
4356 * gdb.ada/vla.exp: New file.
4357 * gdb.ada/vla/vla.adb: New file.
4358
7bd55dac
TV
43592019-05-07 Tom de Vries <tdevries@suse.de>
4360
4361 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4362
75f06e9d
TV
43632019-05-07 Tom de Vries <tdevries@suse.de>
4364
4365 PR testsuite/24522
4366 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4367 section.
4368
77e7aaa4
TV
43692019-05-07 Tom de Vries <tdevries@suse.de>
4370
4371 PR testsuite/24522
4372 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4373 .debug_aranges section.
4374
456ba0fa
TV
43752019-05-07 Tom de Vries <tdevries@suse.de>
4376
4377 PR testsuite/24159
4378 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4379
5a56d6a6
TV
43802019-05-06 Tom de Vries <tdevries@suse.de>
4381
4382 * lib/gdb.exp (exec_has_index_section): New proc.
4383 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4384 section.
4385
9d6d4be8
TV
43862019-05-04 Tom de Vries <tdevries@suse.de>
4387
4388 * boards/cc-with-debug-names.exp: New file.
4389
222a8d25
TT
43902019-05-03 Tom Tromey <tromey@adacore.com>
4391
4392 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4393 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4394 * gdb.ada/char_enum.exp: Add test.
4395
0fdfd794
TV
43962019-05-03 Tom de Vries <tdevries@suse.de>
4397
4398 * boards/cc-with-gdb-index.exp: New file.
4399
80062eb9
AB
44002019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4401
4402 * gdb.rust/simple.exp: Add new test case.
4403 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4404 (main): Initialise an instance of the new struct.
4405
4504bbde
TT
44062019-05-01 Tom Tromey <tromey@adacore.com>
4407
4408 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4409 record.
4410 (NPR): New variable.
4411 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4412 test.
4413
d48e62f4
TT
44142019-05-01 Tom Tromey <tromey@adacore.com>
4415
4416 * gdb.ada/packed_array_assign.exp: Add packed assignment
4417 regression test.
4418
f59f30f5
TV
44192019-05-01 Tom de Vries <tdevries@suse.de>
4420
4421 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4422
b70bfc54
TV
44232019-05-01 Tom de Vries <tdevries@suse.de>
4424
4425 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4426
15f18d14
AT
44272019-04-30 Ali Tamur <tamur@google.com>
4428
4429 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4430
2ff0a947
TT
44312019-04-30 Tom Tromey <tromey@adacore.com>
4432
4433 * lib/ada.exp (find_ada_tool): New proc.
4434 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4435 * gdb.ada/catch_ex_std.exp: New file.
4436 * gdb.ada/catch_ex_std/foo.adb: New file.
4437 * gdb.ada/catch_ex_std/some_package.adb: New file.
4438 * gdb.ada/catch_ex_std/some_package.ads: New file.
4439
a776957c
TT
44402019-04-30 Tom Tromey <tromey@adacore.com>
4441
4442 PR c++/24470:
4443 * gdb.cp/temargs.cc: Add test code from PR.
4444
bc68014d
AB
44452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4446
4447 * gdb.fortran/vla-datatypes.exp: Update expected results.
4448 * gdb.fortran/vla-ptype.exp: Likewise.
4449 * gdb.fortran/vla-type.exp: Likewise.
4450 * gdb.fortran/vla-value.exp: Likewise.
4451
f1fdc960
AB
44522019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4453
4454 * gdb.fortran/ptr-indentation.exp: Update expected results.
4455 * gdb.fortran/ptype-on-functions.exp: Likewise.
4456 * gdb.fortran/vla-ptr-info.exp: Likewise.
4457 * gdb.fortran/vla-value.exp: Likewise.
4458
bf7a4de1
AB
44592019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4460
4461 * gdb.fortran/ptype-on-functions.exp: New file.
4462 * gdb.fortran/ptype-on-functions.f90: New file.
4463
bbe75b9d
AB
44642019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4465
4466 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4467 case void string.
4468
1db455a7
AB
44692019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4470
4471 * gdb.fortran/complex.exp: Expand.
4472 * gdb.fortran/complex.f: Renamed to...
4473 * gdb.fortran/complex.f90: ...this, and extended to add more
4474 complex values.
4475
b6d03bb2
AB
44762019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4477
4478 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4479 MODULO, CMPLX.
4480
2e62ab40
AB
44812019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4482 Richard Bunt <richard.bunt@arm.com>
4483
4484 * gdb.base/max-depth.c: New file.
4485 * gdb.base/max-depth.exp: New file.
4486 * gdb.python/py-nested-maps.c: New file.
4487 * gdb.python/py-nested-maps.exp: New file.
4488 * gdb.python/py-nested-maps.py: New file.
4489 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4490 (test_all_common): Call test_max_depth.
4491 * gdb.fortran/max-depth.exp: New file.
4492 * gdb.fortran/max-depth.f90: New file.
4493 * gdb.go/max-depth.exp: New file.
4494 * gdb.go/max-depth.go: New file.
4495 * gdb.modula2/max-depth.exp: New file.
4496 * gdb.modula2/max-depth.c: New file.
4497 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4498
d2b584a5
TV
44992019-04-29 Tom de Vries <tdevries@suse.de>
4500
4501 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4502
136afab8
PW
45032019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4504
4505 * gdb.base/callexit.exp: Test may-call-functions off.
4506
725cbb63
KS
45072019-04-25 Keith Seitz <keiths@redhat.com>
4508
4509 PR c++/24367
4510 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4511 (another_incomplete_struct, test_incomplete): New definitions.
4512 (main): Use new definitions.
4513 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4514 functions.
4515
701adfb0
PA
45162019-04-25 Ali Tamur <tamur@google.com>
4517
4518 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4519
82433e3e
SDJ
45202019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4521
4522 PR corefiles/11608
4523 PR corefiles/18187
4524 * gdb.base/coredump-filter-build-id.exp: New file.
4525
dd06d4d6
AH
45262019-04-25 Alan Hayward <alan.hayward@arm.com>
4527
e79be6e5
SM
4528 * Makefile.in: Pass through GDBSERVER_DEBUG.
4529 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4530 (gdbserver,debug): Add board setting.
4531 * gdb.trace/tspeed.exp: Skip when debugging.
4532 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4533 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4534
1670072e
TT
45352019-04-24 Tom Tromey <tromey@adacore.com>
4536
4537 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4538 Rust.
4539
a59240a4
TT
45402019-04-24 Tom Tromey <tromey@adacore.com>
4541
4542 * gdb.arch/amd64-eval.exp: Test bitfield return.
4543 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4544 (class Foo) <return_bitfields>: New method.
4545 (main): Call it.
4546
b907456c
AB
45472019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4548
4549 * gdb.cp/many-args.cc: New file.
4550 * gdb.cp/many-args.exp: New file.
4551
5c565afd
TV
45522019-04-23 Tom de Vries <tdevries@suse.de>
4553
4554 PR gdb/24433
4555 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4556
ba22ff86
AH
45572019-04-23 Alan Hayward <alan.hayward@arm.com>
4558
4559 * gdb.trace/backtrace.exp: Use nopie flag.
4560 * gdb.trace/circ.exp: Likewise.
4561 * gdb.trace/collection.exp: Likewise.
4562 * gdb.trace/ftrace.exp: Likewise.
4563 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4564 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4565 * gdb.trace/qtro.exp: Likewise.
4566 * gdb.trace/read-memory.exp: Likewise.
4567 * gdb.trace/report.exp: Likewise.
4568 * gdb.trace/tfile.exp: Likewise.
4569 * gdb.trace/tfind.exp: Likewise.
4570 * gdb.trace/unavailable.exp: Likewise.
4571
7905fc35
PA
45722019-04-22 Pedro Alves <palves@redhat.com>
4573
4574 * gdb.base/solib-probes-nosharedlibrary.c,
4575 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4576
8ecb59f8
TT
45772019-04-19 Tom Tromey <tromey@adacore.com>
4578
4579 * gdb.ada/ptype_union.c: New file.
4580 * gdb.ada/ptype_union.exp: New file.
4581
62160ec9
TT
45822019-04-19 Tom Tromey <tromey@adacore.com>
4583
4584 PR symtab/24423:
4585 * gdb.base/list0.h (foo): Add a control-l character.
4586
36cd4ba5
TV
45872019-04-18 Tom de Vries <tdevries@suse.de>
4588
4589 PR gdb/24433
4590 * boards/local-board.exp: Set sysroot to "".
4591
b73715df
TV
45922019-04-18 Tom de Vries <tdevries@suse.de>
4593 Pedro Alves <palves@redhat.com>
4594
4595 PR gdb/24454
4596 * gdb.threads/vfork-follow-child-exec.c: New file.
4597 * gdb.threads/vfork-follow-child-exec.exp: New file.
4598 * gdb.threads/vfork-follow-child-exit.c: New file.
4599 * gdb.threads/vfork-follow-child-exit.exp: New file.
4600
4aa866af
LS
46012019-04-15 Leszek Swirski <leszeks@google.com>
4602
4603 * gdb.arch/amd64-eval.cc: New file.
4604 * gdb.arch/amd64-eval.exp: New file.
4605
e5a1a79a
AH
46062019-04-11 Alan Hayward <alan.hayward@arm.com>
4607
4608 * gdb.server/sysroot.c: New test.
4609 * gdb.server/sysroot.exp: New file.
4610 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4611 matching param.
4612
41077b66
AB
46132019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4614
4615 * gdb.base/align.exp: Extend test to cover structures containing
4616 only static fields.
4617
c30391f8
TV
46182019-04-11 Tom de Vries <tdevries@suse.de>
4619
4620 * boards/cc-with-dwz-m.exp: New file.
4621 * boards/cc-with-dwz.exp: New file.
4622 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4623
e242fd12
SM
46242019-04-09 Simon Marchi <simon.marchi@efficios.com>
4625
4626 * gdb.base/start-cpp.exp: New file.
4627 * gdb.base/start-cpp.cc: New file.
4628
2b0c8b01
KB
46292019-04-08 Kevin Buettner <kevinb@redhat.com>
4630
4631 * gdb.python/py-thrhandle.exp: Adjust tests to call
4632 thread_from_handle instead of thread_from_thread_handle.
4633
947210e5
KB
46342019-04-08 Kevin Buettner <kevinb@redhat.com>
4635
4636 * gdb.python/py-thrhandle.exp: Add tests for
4637 gdb.InferiorThread.handle.
4638
d7df6549
AB
46392019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4640
4641 * gdb.python/py-function.exp: Check calling helper function from
4642 all languages.
4643 * lib/gdb.exp (gdb_supported_languages): New proc.
4644
8bdc1658
AB
46452019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4646
4647 * gdb.base/complex-parts.c: New file.
4648 * gdb.base/complex-parts.exp: New file.
4649
05caa1d2
TT
46502019-04-01 Tom Tromey <tromey@adacore.com>
4651
4652 PR symtab/23331:
4653 * gdb.dwarf2/dw2-ranges-main.c: New file.
4654 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4655 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4656
7734102d
EZ
46572019-03-30 Simon Marchi <simark@simark.ca>
4658
4659 * gdb.base/default.exp: Add values for $_gdb_major and
4660 $_gdb_minor.
4661
188e1fa9
TT
46622019-03-29 Tom Tromey <tromey@adacore.com>
4663
4664 * gdb.base/help.exp: Tighten apropos regexp.
4665
2880242d
KS
46662019-03-29 Keith Seitz <keiths@redhat.com>
4667
4668 * gdb.fortran/array-bounds.exp: New file.
4669 * gdb.fortran/array-bounds.f90: New file.
4670
077cad8e
PW
46712019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4672
4673 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4674
80047cfc
PW
46752019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4676
4677 * gdb.multi/hello.c (main): Increase alarm timer.
4678
f489207e
SL
46792019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4680
4681 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4682 factor when no hardware watchpoint support.
4683
c92df149
AH
46842019-03-28 Alan Hayward <alan.hayward@arm.com>
4685 Pedro Alves <palves@redhat.com>
4686
4687 * boards/local-board.exp: set sysroot to /.
4688
933aebfa
AH
46892019-03-27 Alan Hayward <alan.hayward@arm.com>
4690
4691 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4692 in child.
4693
9f9aa852
AB
46942019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4695
4696 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4697 field.
4698 (make_container): Initialise new field.
4699 * gdb.python/py-prettyprint.exp: Add new tests.
4700 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4701 <display_hint>: New method.
4702
3714a195
AB
47032019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4704
4705 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4706 gdb_continue_to_breakpoint more throughout this test.
4707 (run_lang_tests) Supply unique test names, and use
4708 gdb_test_no_output.
4709
18c77628
AB
47102019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4711
4712 * gdb.base/finish-pretty.exp: Update expected results.
4713 * gdb.base/pretty-print.c: New file.
4714 * gdb.base/pretty-print.exp: New file.
4715
9a93502f
PA
47162019-03-25 Pedro Alves <palves@redhat.com>
4717
4718 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4719 move comments outside list. Append '-i "" eof' section.
4720
968aa7ae
AH
47212019-03-22 Alan Hayward <alan.hayward@arm.com>
4722
34a7f2a4 4723 PR testsuite/25016
968aa7ae
AH
4724 * README: Add pie options.
4725 * gdb.base/break-interp.exp: Ensure pie is disabled.
4726 * gdb.base/dump.exp: Likewise.
4727 * lib/gdb.exp (gdb_compile): Add pie option.
4728
4c7d57e7
TT
47292019-03-19 Tom Tromey <tromey@adacore.com>
4730
4731 * gdb.mi/mi2-cli-display.c: New file.
4732 * gdb.mi/mi2-cli-display.exp: New file.
4733
bff8c71f
TT
47342019-03-18 Joel Brobecker <brobecker@adacore.com>
4735 Tom Tromey <tromey@adacore.com>
4736
4737 * gdb.ada/ptype_array/pck.adb: New file.
4738 * gdb.ada/ptype_array/pck.ads: New file.
4739 * gdb.ada/ptype_array/foo.adb: New file.
4740 * gdb.ada/ptype_array.exp: New file.
4741
d085f989
TT
47422019-03-14 Tom Tromey <tromey@adacore.com>
4743
4744 * gdb.base/style.exp: Add "set style sources" test.
4745
b4be1b06
SM
47462019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4747
4748 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4749 * mi-breakpoint-multiple-locations.exp: ... this.
4750 (make_breakpoints_pattern): New proc.
4751 (do_test): Add mi_version parameter, test -break-insert,
4752 -break-info and =breakpoint-created.
4753
7cde5fc2
AB
47542019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4755
4756 * config/default.exp: Remove 'load_lib gdb.exp'.
4757 * config/monitor.exp: Likewise.
4758 * config/sid.exp: Likewise.
4759 * config/sim.exp: Likewise.
4760 * config/slite.exp: Likewise.
4761 * config/unix.exp: Likewise.
4762 * gdb.base/default.exp: Remove unhelpful comment.
4763
efbecbc1
AB
47642019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4765
4766 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4767
0841c79a
AB
47682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4769
4770 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4771
4a270568
AB
47722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4773
4774 * gdb.fortran/type-kinds.exp: Update expected results.
4775
067630bd
AB
47762019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4777
4778 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4779
3be47f7a
AB
47802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4781
4782 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4783 function.
4784 (test_basic_parsing_of_type_kinds): Expand types tested.
4785 (test_parsing_invalid_type_kinds): New function.
4786
4d00f5d8
AB
47872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4788
4789 * gdb.fortran/intrinsics.exp: New file.
4790 * gdb.fortran/intrinsics.f90: New file.
4791 * gdb.fortran/type-kinds.exp: New file.
4792
c8f91604
AB
47932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4794
4795 * gdb.fortran/dot-ops.exp: New file.
4796
dd9f2c76
AB
47972019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4798
4799 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4800 Check upper and lower case logical literals.
4801
84ec9724
AB
48022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4803
4804 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4805 Remove duplicate tests.
4806
c3734e09
AH
48072019-03-06 Alan Hayward <alan.hayward@arm.com>
4808
4809 * lib/gdb.exp (builtin_cd): rename of cd.
4810 (cd): Override builtin.
4811
aa3cfbda
RB
48122019-03-06 Richard Bunt <richard.bunt@arm.com>
4813
4814 * gdb.fortran/function-calls.exp: New file.
4815 * gdb.fortran/function-calls.f90: New test.
4816
7b63ad86
RB
48172019-03-04 Richard Bunt <richard.bunt@arm.com>
4818
4819 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4820 on user program standard output.
4821 * gdb.fortran/short-circuit-argument-list.f90: Record function
4822 calls.
4823
01abb042
AH
48242019-02-28 Alan Hayward <alan.hayward@arm.com>
4825
c3734e09
AH
4826 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4827 failure.
01abb042 4828
92137da0
RO
48292019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4830
4831 PR gdb/8527
4832 * gdb.base/interrupt-daemon-attach.c,
4833 gdb.base/interrupt-daemon-attach.exp: New test.
4834
5862844d
PA
48352019-02-27 Pedro Alves <palves@redhat.com>
4836
4837 * gdb.base/page.exp: Add tests for "set width/height -1".
4838
8ed25214
PA
48392019-02-27 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.base/page.exp: Add tests for "set/show width/height" with
4842 "infinite" values.
4843
6c28e44a
TT
48442019-02-27 Tom Tromey <tromey@adacore.com>
4845
4846 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4847 2.4.
4848 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4849 workaround.
4850
bf9a735e
AB
48512019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4852
4853 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4854 tests for structs with static members.
4855
8791793c
TT
48562019-02-26 Tom Tromey <tromey@adacore.com>
4857
4858 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4859 ValueError, not TypeError.
4860
bc2a507e
KB
48612019-02-26 Kevin Buettner <kevinb@redhat.com>
4862
4863 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4864 call from main program.
4865
e0e7d3bd
JB
48662019-02-23 Joel Brobecker <brobecker@adacore.com>
4867
4868 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4869 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4870 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4871 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4872 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4873
9600246d
KS
48742019-02-22 Keith Seitz <keiths@redhat.com>
4875
4876 PR symtab/23853
4877 * gdb.base/symlink-sourcefile.c: New file.
4878 * gdb.base/symlink-sourcefile.exp: New file.
4879
0c95f9ed
TT
48802019-02-20 Tom Tromey <tom@tromey.com>
4881
4882 * gdb.base/info_qt.exp: Update.
4883
6caa91b6
SM
48842019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4885
4886 * gdb.base/source.exp: Move "error in sourced script" code to
4887 the end.
4888 * gdb.base/source-error.gdb: Move contents to
4889 source-error-1.gdb. Add new code to source source-error-1.gdb.
4890 * gdb.base/source-error-1.gdb: New file, from previous
4891 source-error.gdb.
4892
6506371f
TT
48932019-02-17 Tom Tromey <tom@tromey.com>
4894
4895 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4896 for macro styling.
4897 * gdb.base/style.c (SOME_MACRO): New macro.
4898
a0087920
TT
48992019-02-17 Tom Tromey <tom@tromey.com>
4900
4901 * gdb.base/style.exp: Add line-wrapping tests.
4902 * gdb.base/page.exp: Add test for quitting during pagination.
4903
a2cd4f14
JB
49042019-02-17 Joel Brobecker <brobecker@adacore.com>
4905
4906 * gdb.ada/big_packed_array: New testcase.
4907 * gdb.ada/homonym.exp: Fix incorrect expected output for
4908 "break <homonym__get_value>" test.
4909
9d70ffbc
WP
49102019-02-13 Weimin Pan <weimin.pan@oracle.com>
4911
4912 PR breakpoints/21870
4913 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4914 and prepare_for_testing. Add comment.
4915 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4916 redundant cleanup call. Clean up comment.
4917
01c7ae81
WP
49182019-02-12 Weimin Pan <weimin.pan@oracle.com>
4919
4920 PR breakpoints/21870
4921 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4922 * gdb.arch/aarch64-dbreg-contents.c: New file.
4923
aff29d1c
JB
49242019-02-10 Joel Brobecker <brobecker@adacore.com>
4925
4926 * gdb.ada/mi_ref_changeable: New testcase.
4927
df0da8a2
AH
49282019-02-07 Alan Hayward <alan.hayward@arm.com>
4929
4930 * gdb.base/attach.exp: Add double attach test.
4931
bd447abb
SM
49322019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4933
4934 * lib/gdb.exp (default_gdb_start): Don't match pagination
4935 prompt.
4936 (gdb_init): Set stty_init.
4937
1dbc40b9
TT
49382019-01-27 Tom Tromey <tom@tromey.com>
4939
4940 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4941 skip_python_tests.
4942
353229bf
AH
49432019-01-24 Alan Hayward <alan.hayward@arm.com>
4944
4945 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4946 New structure.
4947 (struct struct_static_02_02): Likewise.
4948 (struct struct_static_02_03): Likewise.
4949 (struct struct_static_02_04): Likewise.
4950 (struct struct_static_04_01): Likewise.
4951 (struct struct_static_04_02): Likewise.
4952 (struct struct_static_04_03): Likewise.
4953 (struct struct_static_04_04): Likewise.
4954 (struct struct_static_06_01): Likewise.
4955 (struct struct_static_06_02): Likewise.
4956 (struct struct_static_06_03): Likewise.
4957 (struct struct_static_06_04): Likewise.
4958 (cmp_struct_static_02_01): Likewise.
4959 (cmp_struct_static_02_02): Likewise.
4960 (cmp_struct_static_02_03): Likewise.
4961 (cmp_struct_static_02_04): Likewise.
4962 (cmp_struct_static_04_01): Likewise.
4963 (cmp_struct_static_04_02): Likewise.
4964 (cmp_struct_static_04_03): Likewise.
4965 (cmp_struct_static_04_04): Likewise.
4966 (cmp_struct_static_06_01): Likewise.
4967 (cmp_struct_static_06_02): Likewise.
4968 (cmp_struct_static_06_03): Likewise.
4969 (cmp_struct_static_06_04): Likewise.
4970 (call_all): Test new structs.
4971 * gdb.base/infcall-nested-structs.exp: Likewise.
4972
73021deb
AH
49732019-01-21 Alan Hayward <alan.hayward@arm.com>
4974 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4975
fc65c7db
AH
49762019-01-21 Alan Hayward <alan.hayward@arm.com>
4977 * gdb.base/stack-protector.c: New test.
4978 * gdb.base/stack-protector.exp: New file.
4979 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4980 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4981 option.
4982 (gdb_compile): Remove stack protector for GCC and prevent
4983 recursion.
4984
c24bdb02
KS
49852019-01-16 Keith Seitz <keiths@redhat.com>
4986
4987 PR gdb/23773
4988 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4989
6f072a10
PFC
49902019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4991
4992 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4993 aliases.
4994 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4995 tests.
4996 * gdb.arch/powerpc-vector-regs.c: New file.
4997 * gdb.arch/powerpc-vector-regs.exp: New file.
4998
a7b8d682
PFC
49992019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5000
5001 * gdb.arch/altivec-regs.exp: Fix the list passed to
5002 gdb_expect_list when testing "info vector".
5003
6eb6fb67
AB
50042019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5005
5006 * gdb.base/style.exp: Don't include path in testname.
5007
b56f80d8
KS
50082019-01-10 Keith Seitz <keiths@redhat.com>
5009
5010 PR gdb/23712
5011 PR symtab/23010
5012 * gdb.dwarf2/multidictionary.exp: New file.
5013
041be526
SM
50142019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5015
5016 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5017 (test_gnuv3_style_demangling): ... this.
5018 (test_lucid_style_demangling): Remove.
5019 (test_arm_style_demangling): Remove.
5020 (test_hp_style_demangling): Remove.
5021 (do_tests): Remove calls to the above.
5022
d820d0c3
AB
50232019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5024
5025 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5026 case.
5027
f097f5ad
TT
50282019-01-06 Tom Tromey <tom@tromey.com>
5029
5030 PR gdb/28155:
5031 * gdb.dwarf2/typedef-void-finish.exp: New file.
5032
2cd8cc0b
TT
50332018-12-28 Tom Tromey <tom@tromey.com>
5034 Simon Marchi <simark@simark.ca>
5035
5036 * gdb.base/jit-exec.exp: New file.
5037 * gdb.base/jit-exec.c: New file.
5038 * gdb.base/jit-execd.c: New file.
5039
35fb8261
TT
50402018-12-28 Tom Tromey <tom@tromey.com>
5041
5042 * gdb.base/style.exp: Update test to check for address styling.
5043
47fd17cd
TT
50442018-12-28 Tom Tromey <tom@tromey.com>
5045
5046 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5047 message.
5048
d47032b7
TT
50492018-12-28 Tom Tromey <tom@tromey.com>
5050
5051 * gdb.base/style.exp: Add test for version number styling.
5052
af79b68d
TT
50532018-12-28 Tom Tromey <tom@tromey.com>
5054
5055 * gdb.base/style.exp: Add test for print_address_symbolic.
5056
0bb296cb
TT
50572018-12-28 Tom Tromey <tom@tromey.com>
5058
5059 * gdb.base/style.exp: Add test for breakpoint setting.
5060
80ae2043
TT
50612018-12-28 Tom Tromey <tom@tromey.com>
5062
5063 * gdb.base/style.exp: Add test for variable names.
5064
cbe56571
TT
50652018-12-28 Tom Tromey <tom@tromey.com>
5066
5067 * gdb.base/style.exp: New file.
5068 * gdb.base/style.c: New file.
5069
9162a27c
TT
50702018-12-28 Tom Tromey <tom@tromey.com>
5071
5072 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5073 "dumb".
5074 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5075 the TERM environment variable.
5076
bc543c90
TT
50772018-12-27 Tom Tromey <tom@tromey.com>
5078
5079 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5080 pagination test.
5081
6f0ffe50
AB
50822018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5085 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5086
b5a1e557
PW
50872018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5088
5089 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5090 Filename a.adb changed to bp_fun_addr.adb.
5091 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5092
6e8b1ab2
JV
50932018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5094
5095 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5096 non-PIE executables.
5097 * README: Mention the gdb,nopie_flag board setting.
5098 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5099 non-PIE executable.
5100 * gdb.arch/amd64-entry-value.exp: Likewise.
5101 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5102 * gdb.arch/i386-float.exp: Likewise.
5103 * gdb.arch/i386-signal.exp: Likewise.
5104 * gdb.mi/mi-reg-undefined.exp: Likewise.
5105
d00a27c5
PM
51062018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5107
5108 PR gdb/23974
5109 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5110
161d081c
PW
51112018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5112
5113 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5114 Update order of results accordingly.
5115
b001de23
AB
51162018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5117
5118 * gdb.base/annota1.exp: Update a test regexp.
5119
99e1a184
AB
51202018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5121
5122 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5123
7a81c1e2
PW
51242018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5125
5126 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5127 (reuse_time): Initialize to REUSE_TIME_CAP.
5128 (check_rc): New function.
5129 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5130 Check pthread_create rc.
5131 (spawner_thread_func): Check pthread_create and pthread_join rc.
5132
73e8dc90
PA
51332018-12-08 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/list.exp (test_forward_search): Rename to ...
5136 (test_forward_reverse_search): ... this. Also test reverse-search
5137 and the forward-search alias.
5138
13f2ed32
AB
51392018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5140
5141 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5142 local timeout variable before return, and remove all local timeout
5143 variable entirely.
5144 (gdb_load): Likewise.
5145
64d27cfc
TV
51462018-12-01 Tom de Vries <tdevries@suse.de>
5147
5148 * gdb.base/gdb-caching-proc.exp: New file.
5149
f63c03b4
SDJ
51502018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5151
5152 * Makefile.in (TIMESTAMP): New variable.
5153 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5154 command.
5155 (check-single-racy): Likewise.
5156 (check/%.exp): Likewise.
5157 (check-racy/%.exp): Likewise.
5158 (workers/%.worker): Likewise.
5159 (build-perf): Likewise.
5160 (check-perf): Likewise.
5161 * README: Describe new "TS" and "TS_FORMAT" variables.
5162 * print-ts.py: New file.
5163
1c97054b
BF
51642018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5165
5166 PR python/23714
5167 * gdb.python/python.exp: Test command repetition after
5168 gdb.execute.
5169
1871a62d
AB
51702018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5171
5172 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5173 is correctly aligned.
5174
fb5e1ed9
PW
51752018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5176
5177 * gdb.ada/info_auto_lang.exp: New testcase.
5178 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5179 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5180 * gdb.ada/info_auto_lang/some_c.c: New file.
5181
43d397ca
PW
51822018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5183
5184 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5185 FUNC_lang language syntax.
5186
beddd671
PW
51872018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5188
5189 * gdb.base/info_minsym.c: New file.
5190 * gdb.base/info_minsym.exp: New file.
5191
73fc52c4
TT
51922018-11-19 Tom Tromey <tom@tromey.com>
5193
5194 PR rust/23625:
5195 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5196 * gdb.rust/expr.exp: Update expected output. Change one test.
5197
994b876a
TT
51982018-11-19 Tom Tromey <tom@tromey.com>
5199
5200 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5201
6769f276
PA
52022018-11-19 Pedro Alves <palves@redhat.com>
5203
5204 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5205 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5206 see the expected warning.
5207
38a72da0
AH
52082018-11-16 Alan Hayward <alan.hayward@arm.com>
5209
5210 PR gdb/22736:
5211 * gdb.cp/infcall-nodebug-lib.c: New test.
5212 * gdb.cp/infcall-nodebug-main.c: New test.
5213 * gdb.cp/infcall-nodebug.exp: New file.
5214
53a89d6e
SM
52152018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5216
5217 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5218 completer tests.
5219
9325300d
TV
52202018-11-09 Tom de Vries <tdevries@suse.de>
5221
5222 * gdb.base/msym-lang.c: New test.
5223 * gdb.base/msym-lang.exp: New file.
5224 * gdb.base/msym-lang-main.c: New test.
5225
20f0d60d
TT
52262018-11-08 Tom Tromey <tom@tromey.com>
5227
5228 PR gdb/23555:
5229 PR gdb/23838:
5230 * gdb.base/warning.exp: New file.
5231
b5420128
JB
52322018-11-08 Jan Beulich <jbeulich@suse.com>
5233
5234 * testsuite/gdb.arch/i386-avx512.c,
5235 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5236
cd115d61
AB
52372018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5238
5239 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5240 point hardware.
5241
35ee2dc2
AB
52422018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5243
5244 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5245 * gdb.dwarf2/missing-type-name.exp: New file.
5246
31aceee8
TV
52472018-11-06 Tom de Vries <tdevries@suse.de>
5248
5249 * gdb.base/many-headers.c: New test.
5250 * gdb.base/many-headers.exp: New file.
5251
109be305
JW
52522018-11-06 Jim Wilson <jimw@sifive.com>
5253
5254 * gdb.base/code_elim.exp: For riscv, set additional_flags
5255 to include -msmall-data-limit=0.
5256
e2b7af72
JB
52572018-11-01 Joel Brobecker <brobecker@adacore.com>
5258
5259 * gdb.ada/watch_minus_l: New testcase.
5260
cdcda965
SM
52612018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5262
5263 * gdb.arch/aix-sighandle.c: New file.
5264 * gdb.arch/aix-sighandle.exp: New file.
5265
92dcebf3
AB
52662018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5267
5268 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5269 registers being unions.
5270
68b9ac18
TV
52712018-10-31 Tom de Vries <tdevries@suse.de>
5272
5273 * lib/valgrind.exp: New file.
5274 (vgdb_start, vgdb_stop): New procs, factored out of ...
5275 * gdb.base/valgrind-bt.exp: ... here, ...
5276 * gdb.base/valgrind-disp-step.exp: ... here and ...
5277 * gdb.base/valgrind-infcall.exp: ... here.
5278
1443936e
TV
52792018-10-31 Tom de Vries <tdevries@suse.de>
5280
5281 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5282
eb77c9df
AB
52832018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5284
5285 * gdb.dwarf2/void-type.c: New file.
5286 * gdb.dwarf2/void-type.exp: New file.
5287
82b5e646
PW
52882018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5289
5290 * gdb.base/info_qt.c: New file.
5291 * gdb.base/info_qt.exp: New file.
5292
8d619c01
EBM
52932018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5294
5295 * gdb.arch/powerpc-htm-regs.c: New file.
5296 * gdb.arch/powerpc-htm-regs.exp: New file.
5297
f2cf6173
EBM
52982018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5299
5300 * gdb.arch/powerpc-tar.c: New file.
5301 * gdb.arch/powerpc-tar.exp: New file.
5302
7ca18ed6
EBM
53032018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5304
5305 * gdb.arch/powerpc-ppr-dscr.c: New file.
5306 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5307
bfcc0eba
TV
53082018-10-25 Tom de Vries <tdevries@suse.de>
5309
5310 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5311
fe1a5cad
TV
53122018-10-24 Tom de Vries <tdevries@suse.de>
5313
5314 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5315 longer exists error.
5316
a76dc3b7
TV
53172018-10-24 Tom de Vries <tdevries@suse.de>
5318
5319 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5320
4df46df7
TV
53212018-10-24 Tom de Vries <tdevries@suse.de>
5322
5323 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5324 --db-attach in valgrind.
5325
0dbfcfff
AB
53262018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5327
5328 * gdb.arch/riscv-reg-aliases.c: New file.
5329 * gdb.arch/riscv-reg-aliases.exp: New file.
5330
b04480b1
AH
53312018-10-19 Alan Hayward <alan.hayward@arm.com>
5332
5333 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5334
2c6ac8d7
AH
53352018-10-19 Alan Hayward <alan.hayward@arm.com>
5336
5337 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5338
2bc69f25
AH
53392018-10-19 Alan Hayward <alan.hayward@arm.com>
5340
5341 * gdb.cp/ovldbreak.exp: Fix regexps.
5342
1f1ae3a3
AH
53432018-10-19 Alan Hayward <alan.hayward@arm.com>
5344
5345 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5346
94c18618
SDJ
53472018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5348
5349 PR cli/23785
5350 * gdb.base/restore.exp: New test to check if "restore" with an
5351 invalid file doesn't segfault.
5352
812cd6eb
TV
53532018-10-18 Tom de Vries <tdevries@suse.de>
5354
5355 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5356 * gdb.ada/excep_handle.exp: Same.
5357 * gdb.ada/mi_string_access.exp: Same.
5358 * gdb.ada/mi_var_union.exp: Same.
5359 * gdb.arch/arc-analyze-prologue.exp: Same.
5360 * gdb.arch/arc-decode-insn.exp: Same.
5361 * gdb.base/readnever.exp: Same.
5362 * gdb.fortran/printing-types.exp: Same.
5363 * gdb.guile/scm-lazy-string.exp: Same.
5364
c4b90788
TV
53652018-10-16 Tom de Vries <tdevries@suse.de>
5366
5367 PR gdb/23730
5368 * gdb.base/catch-follow-exec.c: Add copyright notice.
5369 * gdb.base/catch-follow-exec.exp: Rewrite to use
5370 gdb_spawn_with_cmdline_opts. Require gdb-native.
5371
8bca2978
SL
53722018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5373
5374 * gdb.trace/actions-changed.exp: Check for arch support.
5375 * gdb.trace/actions.exp: Likewise.
5376 * gdb.trace/ax.exp: Likewise.
5377 * gdb.trace/backtrace.exp: Likewise.
5378 * gdb.trace/change-loc.exp: Likewise.
5379 * gdb.trace/deltrace.exp: Likewise.
5380 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5381 * gdb.trace/ftrace.exp: Likewise.
5382 * gdb.trace/infotrace.exp: Check for arch support.
5383 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5384 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5385 * gdb.trace/mi-tsv-changed.exp: Likewise.
5386 * gdb.trace/packetlen.exp: Likewise.
5387 * gdb.trace/passc-dyn.exp: Likewise.
5388 * gdb.trace/passcount.exp: Likewise.
5389 * gdb.trace/pending.exp: Likewise.
5390 * gdb.trace/range-stepping.exp: Check for shlib support.
5391 * gdb.trace/report.exp: Check for arch support.
5392 * gdb.trace/save-trace.exp: Likewise.
5393 * gdb.trace/signal.exp: Check for signal support.
5394 * gdb.trace/tfind.exp: Check for arch support.
5395 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5396 * gdb.trace/trace-common.h: Add comment.
5397 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5398 * gdb.trace/trace-enable-disable.exp: Likewise.
5399 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5400 * gdb.trace/tracecmd.exp: Check for arch support.
5401 * gdb.trace/tspeed.exp: Check for shlib and target support.
5402 * gdb.trace/tstatus.exp: Check for arch support.
5403 * gdb.trace/tsv.exp: Likewise.
5404 * gdb.trace/while-dyn.exp: Likewise.
5405 * gdb.trace/while-stepping.exp: Likewise.
5406 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5407
f9c49bff
SM
54082018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5409
5410 * gdb.trace/tspeed.exp: Remove nowarnings.
5411 (prepare_for_trace_test): Declare "global ipalib".
5412 * gdb.trace/tspeed.c: Include unistd.h.
5413 (main): Remove superfluous printf argument.
5414
d4330bde
SL
54152018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5416
5417 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5418 directory prefix on the filename.
5419
8ecfd7bd
SDJ
54202018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5421
5422 * gdb.gdb/unittest.exp: Update expected message informing that
5423 selftests have been disabled.
5424 * gdb.server/unittest.exp: Likewise.
5425
58bbcd02
TV
54262018-10-09 Tom de Vries <tdevries@suse.de>
5427
5428 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5429 with runto_main.
5430
9f6b697b
WP
54312018-10-08 Weimin Pan <weimin.pan@oracle.com>
5432
5433 PR c++/16841
5434 * gdb.cp/virtbase2.cc: New file.
5435 * gdb.cp/virtbase2.exp: New file.
5436
add5ded5
TT
54372018-10-06 Tom Tromey <tom@tromey.com>
5438
5439 PR python/19399:
5440 * gdb.python/py-inferior.exp: Add architecture test.
5441
f9e48344
TT
54422018-10-06 Tom Tromey <tom@tromey.com>
5443
5444 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5445 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5446
2a8be203
TT
54472018-10-06 Tom Tromey <tom@tromey.com>
5448
5449 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5450 of a "throw" catchpoint.
5451
e04caa70
SDJ
54522018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5453
5454 * gdb.base/info-proc.exp: Update string expected from "help info
5455 proc".
5456
5ca8c39f
TT
54572018-10-04 Tom Tromey <tom@tromey.com>
5458
5459 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5460 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5461 (test_initial_complaints, test_empty_complaints): Update.
5462 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5463
3453e7e4
TT
54642018-10-04 Tom Tromey <tom@tromey.com>
5465
5466 PR cli/19551:
5467 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5468 * lib/gdb.exp (gdb_file_cmd): Update.
5469 * gdb.stabs/weird.exp (print_weird_var): Update.
5470 * gdb.server/solib-list.exp: Update.
5471 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5472 * gdb.mi/mi-cli.exp: Update.
5473 * gdb.linespec/linespec.exp: Update.
5474 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5475 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5476 * gdb.cp/cp-relocate.exp: Update.
5477 * gdb.base/sym-file.exp: Update.
5478 * gdb.base/relocate.exp: Update.
5479 * gdb.base/readnever.exp: Update.
5480 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5481 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5482 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5483 * gdb.base/code_elim.exp: Update.
5484 * gdb.base/break-unload-file.exp (test_break): Update.
5485 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5486 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5487 Update.
5488 * gdb.base/attach.exp (do_attach_tests): Update.
5489 * gdb.base/sepdebug.exp: Update.
5490 * gdb.python/py-section-script.exp: Update.
5491
6afcf761
TT
54922018-10-04 Tom Tromey <tom@tromey.com>
5493
5494 PR cli/22234:
5495 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5496 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5497 output.
5498
fef1b293
TT
54992018-10-04 Tom Tromey <tom@tromey.com>
5500
5501 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5502 set width and height to 0.
5503 (test_command_line_attach_run): Use -quiet.
5504
ca98345e
SL
55052018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5506
5507 * lib/gdb.exp (skip_ifunc_tests): New.
5508 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5509 other compile failures.
5510 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5511
ff34e6ae
SM
55122018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5513
5514 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5515 is_amd64_regs_target.
5516
6bb8890e
AH
55172018-10-01 Alan Hayward <alan.hayward@arm.com>
5518
5519 * gdb.arch/aarch64-sighandler-regs.c: New test.
5520 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5521 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5522
224d30d3
MM
55232018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5524
5525 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5526 assembly.
5527
f67ffa6a
AB
55282018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5529
5530 * gdb.base/frame-selection.exp: New file.
5531 * gdb.base/frame-selection.c: New file.
5532
9fc3183f
AH
55332018-09-27 Alan Hayward <alan.hayward@arm.com>
5534
5535 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5536 pthread barrier.
5537 (main): Likewise.
5538
d354055e
AB
55392018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5540
5541 * gdb.base/large-frame-1.c: New file.
5542 * gdb.base/large-frame-2.c: New file.
5543 * gdb.base/large-frame.exp: New file.
5544 * gdb.base/large-frame.h: New file.
5545
db727370
JL
55462018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5547
5548 PR gdb/20948
5549 * gdb.base/write_mem.exp: New test.
5550 * gdb.base/write_mem.c: Likewise.
5551
ae778caf
TT
55522018-09-23 Tom Tromey <tom@tromey.com>
5553
5554 PR python/18852:
5555 * gdb.python/py-parameter.exp: Add test for parameter that throws
5556 on "set".
5557
fd3ba736
TT
55582018-09-23 Tom Tromey <tom@tromey.com>
5559
5560 PR python/17284:
5561 * gdb.python/py-template.exp (test_template_arg): Add test for
5562 negative template argument number.
5563
39a24317
TT
55642018-09-23 Tom Tromey <tom@tromey.com>
5565
5566 PR python/14062:
5567 * gdb.python/python.exp: Add test for post_event error.
5568
f5769a2c
TT
55692018-09-23 Tom Tromey <tom@tromey.com>
5570
5571 PR python/18170:
5572 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5573 convert pointers to int and long.
5574
1c1e54f6
TT
55752018-09-23 Tom Tromey <tom@tromey.com>
5576
5577 PR python/20126:
5578 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5579 signed-ness conversion tests.
5580
fb4fa946
TT
55812018-09-23 Tom Tromey <tom@tromey.com>
5582
5583 PR python/18352;
5584 * gdb.python/py-value.exp (test_float_conversion): New proc.
5585 Use it.
5586
a466edac
HAQ
55872018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5588
5589 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5590
4ee9b0c5
SL
55912018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5592
5593 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5594 no readline.
5595 * gdb.base/utf8-identifiers.exp: Likewise.
5596 * gdb.cp/cpcompletion.exp: Likewise.
5597 * gdb.linespec/cpcompletion.exp: Likewise.
5598 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5599 * gdb.linespec/cpls-ops.exp: Likewise.
5600
23be8da7
RB
56012018-09-19 Richard Bunt <richard.bunt@arm.com>
5602 Chris January <chris.january@arm.com>
5603
5604 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5605 * gdb.fortran/short-circuit-argument-list.exp: New file.
5606 * gdb.fortran/short-circuit-argument-list.f90: New test.
5607
5031d0ae
SDJ
56082018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5609
5610 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5611 "arch=" keyword when executing "-stack-list-frames".
5612
b4c0d1a4
SDJ
56132018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5614
5615 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5616 "arch=" keyword when executing "-stack-list-frames".
5617
7a6d2b45
SDJ
56182018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5619
5620 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5621 break ada".
5622
8588b356
SM
56232018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5624
5625 PR python/23669
5626 * gdb.python/python.exp: Test gdb.execute("show commands").
5627
65e65158
TT
56282018-09-16 Tom Tromey <tom@tromey.com>
5629
5630 * gdb.base/new-ui.exp (do_execution_tests): Update.
5631 * gdb.base/dbx.exp (test_breakpoints): Update.
5632
bf326452
AH
56332018-09-14 Alan Hayward <alan.hayward@arm.com>
5634
5635 * lib/gdb.exp (gdb_simple_compile): Add proc.
5636 (is_elf_target): Use gdb_simple_compile.
5637 (skip_altivec_tests): Likewise.
5638 (skip_vsx_tests): Likewise.
5639 (skip_tsx_tests): Likewise.
5640 (skip_btrace_tests): Likewise.
5641 (skip_btrace_pt_tests): Likewise.
5642 (gdb_can_simple_compile): Likewise.
5643 (gdb_has_argv0): Likewise.
5644 (gdb_target_symbol_prefix): Likewise.
5645 (target_supports_scheduler_locking): Likewise.
5646
2361b0fb
TT
56472018-09-13 Tom Tromey <tom@tromey.com>
5648
5649 * Makefile.in (TAGS): Recognize proc_with_prefix and
5650 gdb_caching_proc.
5651
0ae1a321
SM
56522018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5653
5654 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5655 method.
5656
a40bf0c2
SM
56572018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5658
5659 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5660 and a few other Inferior properties when the Inferior is no
5661 longer valid.
5662
4a3fe98f
TT
56632018-09-13 Tom Tromey <tom@tromey.com>
5664
5665 PR rust/23650:
5666 * gdb.rust/simple.exp: Add test for enum field access error.
5667
098b2108
TT
56682018-09-13 Tom Tromey <tom@tromey.com>
5669
5670 PR rust/23626:
5671 * gdb.rust/simple.rs (EmptyEnum): New type.
5672 (main): Use it.
5673 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5674
1256af7d
SM
56752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5678 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5679 * gdb.python/py-symtab.exp: Update test printing an objfile.
5680
4aa8e6c2
SM
56812018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5682
5683 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5684 object.
5685
c221b2f7
AH
56862018-09-12 Alan Hayward <alan.hayward@arm.com>
5687
5688 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5689 (support_complex_tests): Use gdb_can_simple_compile.
5690 (is_ilp32_target): Likewise.
5691 (is_lp64_target): Likewise.
5692 (is_64_target): Likewise.
5693 (is_amd64_regs_target): Likewise.
5694 (is_aarch32_target): Likewise.
5695 (gdb_int128_helper): Likewise.
5696
6f1107b5
JK
56972018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5698
5699 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5700
1f5d1570
JG
57012018-09-10 Jerome Guitton <guitton@adacore.com>
5702
5703 * gdb.ada/same_component_name: Add test for case of tagged record
5704 with variable-length fields.
5705
cc330e39
XR
57062018-09-10 Xavier Roirand <roirand@adacore.com>
5707
5708 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5709 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5710 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5711 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5712
b9c50e9a
XR
57132018-09-10 Xavier Roirand <roirand@adacore.com>
5714
5715 * gdb.ada/mi_string_access.exp: New testcase.
5716 * gdb.ada/mi_string_access/bar.adb: New file.
5717 * gdb.ada/mi_string_access/pck.adb: New file.
5718 * gdb.ada/mi_string_access/pck.asd: New file.
5719
2963898f
XR
57202018-09-10 Xavier Roirand <roirand@adacore.com>
5721
5722 * gdb.ada/mi_var_union.exp: New testcase.
5723 * gdb.ada/mi_var_union/bar.adb: New file.
5724 * gdb.ada/mi_var_union/pck.adb: New file.
5725 * gdb.ada/mi_var_union/pck.asd: New file.
5726
1aac008f
TT
57272018-09-08 Tom Tromey <tom@tromey.com>
5728
5729 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5730
332cf4c9
TT
57312018-09-08 Tom Tromey <tom@tromey.com>
5732
5733 PR python/16047:
5734 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5735 (register_pretty_printers): Register new printer.
5736 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5737 test.
5738 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5739 (an_int_type3): New global.
5740
424da6cf
JB
57412018-09-08 Joel Brobecker <brobecker@adacore.com>
5742
5743 * gdb.ada/expr_with_funcall: New testcase.
5744
2a62dfa9
JB
57452018-09-08 Joel Brobecker <brobecker@adacore.com>
5746
5747 * gdb.ada/packed_array_assign: New testcase.
5748
96b6697f
AB
57492018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5750
5751 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5752 names, and add test prefixes to make test names unique.
5753
e4a62c65
TV
57542018-09-05 Tom de Vries <tdevries@suse.de>
5755
5756 * gdb.dwarf2/varval.exp: Add test.
5757
dd083ee2
GB
57582018-09-04 Gary Benson <gbenson@redhat.com>
5759
5760 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5761 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5762
aef9346c
TT
57632018-08-31 Tom Tromey <tom@tromey.com>
5764
5765 * gdb.rust/simple.rs: Rename second variable "v".
5766
c67f2e15
AB
57672018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5768
5769 * gdb.base/funcargs.c (use_a): New function.
5770 (recurse): Call use_a.
5771
078a0207
KS
57722018-08-29 Keith Seitz <keiths@redhat.com>
5773
5774 * gdb.compile/compile-cplus-anonymous.cc: New file.
5775 * gdb.compile/compile-cplus-anonymous.exp: New file.
5776 * gdb.compile/compile-cplus-array-decay.cc: New file.
5777 * gdb.compile/compile-cplus-array-decay.exp: New file.
5778 * gdb.compile/compile-cplus-inherit.cc: New file.
5779 * gdb.compile/compile-cplus-inherit.exp: New file.
5780 * gdb.compile/compile-cplus-member.cc: New file.
5781 * gdb.compile/compile-cplus-member.exp: New file.
5782 * gdb.compile/compile-cplus-method.cc: New file.
5783 * gdb.compile/compile-cplus-method.exp: New file.
5784 * gdb.compile/compile-cplus-mod.c: "New" file.
5785 * gdb.compile/compile-cplus-namespace.cc: New file.
5786 * gdb.compile/compile-cplus-namespace.exp: New file.
5787 * gdb.compile/compile-cplus-nested.cc: New file.
5788 * gdb.compile/compile-cplus-nested.exp: New file.
5789 * gdb.compile/compile-cplus-print.c: "New" file.
5790 * gdb.compile/compile-cplus-print.exp: "New" file.
5791 * gdb.compile/compile-cplus-virtual.cc: New file.
5792 * gdb.compile/compile-cplus-virtual.exp: New file.
5793 * gdb.compile/compile-cplus.c: "New" file.
5794 * gdb.compile/compile-cplus.exp: "New" file.
5795 * lib/compile-support.exp: New file.
5796
b0f492b9
GB
57972018-08-16 Gary Benson <gbenson@redhat.com>
5798
5799 PR gdb/13000:
5800 * gdb.base/batch-exit-status.exp: New file.
5801 * gdb.base/batch-exit-status.good-commands: Likewise.
5802 * gdb.base/batch-exit-status.bad-commands: Likewise.
5803
36eb4c5f
AH
58042018-08-29 Alan Hayward <alan.hayward@arm.com>
5805
5806 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5807 (struct struct02): Likewise.
5808 (struct struct03): Likewise.
5809 (struct struct04): Likewise.
5810 (struct struct_01_01): New struct.
5811 (struct struct_01_02): Likewise.
5812 (struct struct_01_03): Likewise.
5813 (struct struct_01_04): Likewise.
5814 (struct struct_02_01): Likewise.
5815 (struct struct_02_02): Likewise.
5816 (struct struct_02_03): Likewise.
5817 (struct struct_02_04): Likewise.
5818 (struct struct_04_01): Likewise.
5819 (struct struct_04_02): Likewise.
5820 (struct struct_04_03): Likewise.
5821 (struct struct_04_04): Likewise.
5822 (struct struct_05_01): Likewise.
5823 (struct struct_05_02): Likewise.
5824 (struct struct_05_03): Likewise.
5825 (struct struct_05_04): Likewise.
5826 (cmp_struct01): Remove function.
5827 (cmp_struct02): Likewise.
5828 (cmp_struct03): Likewise.
5829 (cmp_struct04): Likewise.
5830 (cmp_struct_01_01): Add Function.
5831 (cmp_struct_01_02): Likewise.
5832 (cmp_struct_01_03): Likewise.
5833 (cmp_struct_01_04): Likewise.
5834 (cmp_struct_02_01): Likewise.
5835 (cmp_struct_02_02): Likewise.
5836 (cmp_struct_02_03): Likewise.
5837 (cmp_struct_02_04): Likewise.
5838 (cmp_struct_04_01): Likewise.
5839 (cmp_struct_04_02): Likewise.
5840 (cmp_struct_04_03): Likewise.
5841 (cmp_struct_04_04): Likewise.
5842 (cmp_struct_05_01): Likewise.
5843 (cmp_struct_05_02): Likewise.
5844 (cmp_struct_05_03): Likewise.
5845 (cmp_struct_05_04): Likewise.
5846 (call_all): Add new structs.
5847 * gdb.base/infcall-nested-structs.exp: Likewise.
5848
3bf9c013
JV
58492018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5850
5851 * gdb.python/py-framefilter-mi.exp: Update regexp to
5852 check for "arch" field in frame output.
5853
450d1e88
KB
58542018-08-23 Kevin Buettner <kevinb@redhat.com>
5855
5856 * gdb.dwarf2/dw2-ranges-func.c: New file.
5857 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5858
ae739fe7
SM
58592018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5860
5861 * gdb.base/term.exp: Compare terminal settings with values from
5862 the inferior.
5863 * gdb.base/term.c: Get and set terminal settings.
5864
6d52907e
JV
58652018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5866
5867 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5868 accommodate new "arch" field in frame output.
5869 * gdb.mi/mi-return.exp: Likewise.
5870 * gdb.mi/mi-stack.exp: Likewise.
5871 * gdb.mi/mi-syn-frame.exp: Likewise.
5872 * gdb.mi/user-selected-context-sync.exp: Likewise.
5873
be2d111a
MS
58742018-08-19 Michael Spang <spang@google.com>
5875
5876 PR gdb/11786
5877 * gdb.base/gcore-tls-pie.c: New file.
5878 * gdb.base/gcore-tls-pie.exp: New file.
5879
ae3a7c47
KB
58802018-08-18 Kevin Buettner <kevinb@redhat.com>
5881
5882 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5883 * gdb.dwarf2/varval.c: New file.
5884 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5885
2ecae92e
AH
58862018-08-17 Alan Hayward <alan.hayward@arm.com>
5887
5888 PR gdb/18931
5889 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5890
c1854f1d
KS
58912018-08-16 Keith Seitz <keiths@redhat.com>
5892
5893 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5894 tests expected to pass.
5895
26fb3983
JV
58962018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5897
5898 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5899 -data-disassemble -a.
5900 (test_disassembly_bogus_args): Likewise.
5901
67943c00
AB
59022018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5903
5904 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5905
5ff2bbae
AB
59062018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5907
5908 * gdb.base/vla-optimized-out.exp: Add new test.
5909
e5bbcd0f
AB
59102018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5911
5912 * gdb.base/vla-optimized-out-o3.exp: Delete.
5913 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5914 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5915 deleted tests.
5916
9d4a934c
AB
59172018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5918
5919 PR gdb/18050:
5920 * gdb.server/extended-remote-restart.c: New file.
5921 * gdb.server/extended-remote-restart.exp: New file.
5922
045cf012
SM
59232018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5924
5925 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5926 "set variable index = 42".
5927
87d6a7aa
SM
59282018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5929
5930 * boards/index-cache-gdb.exp: New file.
5931 * gdb.dwarf2/index-cache.exp: New file.
5932 * gdb.dwarf2/index-cache.c: New file.
5933 * gdb.base/maint.exp: Check if we are using the index cache.
5934
96d68bd4
RO
59352018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5936
5937 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5938 MAKEFLAGS.
5939
5a699617
RO
59402018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5941
5942 * dg-extract-results.sh: Move to toplevel contrib.
5943 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5944 * Makefile.in (check-parallel-racy): Likewise.
5945
5bd18990
AB
59462018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5947
5948 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5949 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5950 tests if the target supports scheduler locking.
5951
3fbbcf47
TV
59522018-08-04 Tom de Vries <tdevries@suse.de>
5953
5954 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5955
3e1d3d8c
TT
59562018-08-02 Tom Tromey <tom@tromey.com>
5957
5958 PR symtab/16842.
5959 * gdb.cp/temargs.exp: Test "info address" of a template
5960 parameter.
5961
5abe0f0c
JV
59622018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5963
5964 * gdb.python/py-mi-var-info-path-expression.c: New file.
5965 * gdb.python/py-mi-var-info-path-expression.py: New file.
5966 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5967
fb66cde8
SDJ
59682018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5969
5970 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5971 error after "cannot resolve name" string.
5972
c708f4d2
AB
59732018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5974
5975 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5976 started.
5977 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5978
37cc0cae
TV
59792018-07-28 Tom de Vries <tdevries@suse.de>
5980
5981 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5982
63b4ecf7
TV
59832018-07-26 Tom de Vries <tdevries@suse.de>
5984
5985 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5986
3c3bb058
AB
59872018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5988
5989 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5990 is visible.
5991
9e7f3bbb
TV
59922018-07-26 Tom de Vries <tdevries@suse.de>
5993
5994 PR breakpoints/23366
5995 * gdb.base/catch-follow-exec.c: New test.
5996 * gdb.base/catch-follow-exec.exp: New file.
5997
16f808ec
TV
59982018-07-25 Tom de Vries <tdevries@suse.de>
5999
6000 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6001 vla-optimized-out.c.
6002
d7154a8d
JV
60032018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6004
6005 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6006 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6007
232a0032
TV
60082018-07-20 Tom de Vries <tdevries@suse.de>
6009
6010 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6011 NOCLONE macro.
6012 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6013
fbb1d502
TV
60142018-07-19 Tom de Vries <tdevries@suse.de>
6015
6016 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6017 regular expression.
6018
42dc7699
TV
60192018-07-18 Tom de Vries <tdevries@suse.de>
6020
6021 * gdb.base/vla-optimized-out.c: New test.
6022 * gdb.base/vla-optimized-out.exp: New file.
6023
7f1f7e23
SDJ
60242018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6025
6026 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6027 message "No address associated with hostname" when gdbserver
6028 cannot resolve the hostname.
6029
5759ebb3
PW
60302018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6031
6032 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6033 Add some test prefixes to make tests unique.
6034
3606ccab
PW
60352018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6036
6037 * gdb.base/frameapply.c: New file.
6038 * gdb.base/frameapply.exp: New file.
6039
529c08b2
PW
60402018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6041
6042 * gdb.base/skip.exp: Update expected error message.
6043
c7ab0aef
SDJ
60442018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6045 Jan Kratochvil <jan.kratochvil@redhat.com>
6046 Paul Fertser <fercerpav@gmail.com>
6047 Tsutomu Seki <sekiriki@gmail.com>
6048
6049 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6050 parameter.
6051 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6052 by default.
6053 * boards/native-gdbserver.exp: Likewise.
6054 * gdb.server/run-without-local-binary.exp: Improve regexp used
6055 for detecting when a remote debugging connection succeeds.
6056 * gdb.server/server-connect.exp: New file.
6057 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6058 Do not prefix the port number with ":".
6059 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6060 support for detecting and using it. Add '$debughost_gdbserver'
6061 to the list of arguments used to start gdbserver. Handle case
6062 when gdbserver cannot resolve a network name.
6063
16ff70dd
SDJ
60642018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6065
6066 PR c++/23373
6067 * gdb.base/ptype-offsets.cc (struct static_member): New
6068 struct.
6069 (main) <stmember>: New variable.
6070 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6071 with a static member in it.
6072
3541979f
AB
60732018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6074
6075 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6076 watchpoints enabled and disabled.
6077
c8ad9b9a
AB
60782018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6079
6080 * gdb.base/examine-backward.exp: Still run tests around address
6081 0x0, even if address 0x0 is not readable. Update the pattern for
6082 matching address 0x0 in expected output.
6083
e0e5e971
AB
60842018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6085
6086 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6087 malloc/free.
6088
1ea5da02
TV
60892018-07-04 Tom de Vries <tdevries@suse.de>
6090
6091 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6092
471b9d15
MR
60932018-07-02 Maciej W. Rozycki <macro@mips.com>
6094
6095 PR tdep/8282
6096 * gdb.arch/mips-disassembler-options.exp: New test.
6097 * gdb.arch/mips-disassembler-options.s: New test source.
6098
75acb486
PA
60992018-06-29 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.threads/names.exp: Adjust expected "info threads" output.
6102
cd2bb709
PA
61032018-06-29 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.opt/inline-break.exp (line number, address): Add "info
6106 break" tests.
6107
991ff292
PA
61082018-06-29 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6111 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6112 number and address and running to them.
6113
356819b6 61142018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6115
6116 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6117
2512d7ef
JK
61182018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6119
6120 * lib/compiler.c: Remove executable permission flag.
6121
be1b6474
RB
61222018-06-28 Richard Bunt <richard.bunt@arm.com>
6123
6124 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6125 code.
6126 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6127
291f9a96
PT
61282018-06-28 Petr Tesarik <ptesarik@suse.cz>
6129
6130 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6131
ed6dfe51
PT
61322018-06-28 Petr Tesarik <ptesarik@suse.cz>
6133
6134 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6135 address argument is omitted.
6136
d4d429d5
PT
61372018-06-28 Petr Tesarik <ptesarik@suse.cz>
6138
6139 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6140
7ab6656f
OJ
61412018-06-27 Omair Javaid <omair.javaid@linaro.org>
6142
6143 PR gdb/21695
6144 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6145 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6146
a33ccfc7
TT
61472018-06-26 Tom Tromey <tom@tromey.com>
6148
6149 PR rust/22574:
6150 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6151 * gdb.rust/simple.rs (struct SimpleLayout): New.
6152
6d72d289
SM
61532018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6154
6155 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6156 "info registers" output.
6157
8363f9d5
RB
61582018-06-21 Richard Bunt <richard.bunt@arm.com>
6159
6160 * gdb.base/watchpoint-hw-attach.c: New test.
6161 * gdb.base/watchpoint-hw-attach.exp: New file.
6162
f00674fe
SM
61632018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6164
6165 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6166 through /bin/sh.
6167 * boards/dwarf4-gdb-index.exp: Likewise.
6168 * boards/fission-dwp.exp: Likewise.
6169
1d554008
UW
61702018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6171
6172 * gdb.base/float128.exp: Add comment and improved fail message
6173 to the failure case of "print large128" test.
6174
d0ac1c44
SM
61752018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6176
6177 * configure.ac: Remove AC_PREREQ.
6178 * configure: Re-generate.
6179
61b04dd0
PA
61802018-06-19 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6183 (func_extern_caller): New.
6184 (main): Call func_extern_caller.
6185 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6186 logic change.
6187
f63b508a
SM
61882018-06-18 Weimin Pan <weimin.pan@oracle.com>
6189
6190 PR gdb/16841
6191 * gdb.cp/typedef-base.cc: New file.
6192 * gdb.cp/typedef-base.exp: New file.
6193
0fe3a558
TV
61942018-06-18 Tom de Vries <tdevries@suse.de>
6195
6196 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6197
7010835a
AB
61982018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6199 Richard Bunt <Richard.Bunt@arm.com>
6200
6201 * gdb.threads/attach-slow-waitpid.c: New file.
6202 * gdb.threads/attach-slow-waitpid.exp: New file.
6203 * gdb.threads/slow-waitpid.c: New file.
6204
14897d65
PA
62052018-06-14 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/fork-running-state.c: Include <errno.h>.
6208 (exit_if_relative_exits): New.
6209 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6210 exits.
6211 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6212 child exits.
6213
5d9a0608
TV
62142018-06-14 Tom de Vries <tdevries@suse.de>
6215
6216 PR cli/22573
6217 * gdb.base/finish-pretty.c: New test.
6218 * gdb.base/finish-pretty.exp: New file.
6219
11ae5818
PA
62202018-06-14 Pedro Alves <palves@redhat.com>
6221
6222 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6223 gdb's expected startup output.
6224
1d39de44
PA
62252018-06-14 Pedro Alves <palves@redhat.com>
6226
6227 * lib/selftest-support.exp (selftest_setup): Remove inlined
6228 function handling.
6229
70ee0000
TV
62302018-06-14 Tom de Vries <tdevries@suse.de>
6231
6232 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6233 matching of breakpoint printing.
6234
11f4b608
TV
62352018-06-13 Tom de Vries <tdevries@suse.de>
6236
6237 PR testsuite/23269
6238 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6239 (fork_child): ... here, and ...
6240 (fork_parent): ... here.
6241
62422018-06-12 Tom de Vries <tdevries@suse.de>
6243
6244 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6245
9516f85a
AB
62462018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6247 Stephen Roberts <stephen.roberts@arm.com>
6248
6249 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6250 rewrite test to describe action performed, rather than possible
6251 failure.
6252
5045b3d7
GB
62532018-06-08 Gary Benson <gbenson@redhat.com>
6254
6255 * gdb.threads/check-libthread-db.exp: New file.
6256 * gdb.threads/check-libthread-db.c: Likewise.
6257
c61b06a1
TT
62582018-06-05 Tom Tromey <tom@tromey.com>
6259
6260 * gdb.base/default.exp: Update expected "show version" output.
6261
eb6af809
TT
62622018-06-05 Tom Tromey <tom@tromey.com>
6263
6264 PR cli/12326:
6265 * gdb.cp/static-print-quit.exp: Update.
6266 * lib/gdb.exp (pagination_prompt): Update.
6267 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6268 * gdb.python/python.exp: Update.
6269
178d6a63
JB
62702018-06-04 Joel Brobecker <brobecker@adacore.com>
6271
6272 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6273
8e817061
JB
62742018-06-01 Joel Brobecker <brobecker@adacore.com>
6275
6276 * gdb.ada/bp_fun_addr: New testcase.
6277
e86ca25f
TT
62782018-06-01 Tom Tromey <tom@tromey.com>
6279
6280 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6281 results.
6282 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6283 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6284 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6285 * gdb.base/maint.exp (maint_pass_if): Update.
6286
4b2dfa9d
MR
62872018-05-31 Maciej W. Rozycki <macro@mips.com>
6288
6289 * gdb.base/endian.exp: New test.
6290 * gdb.base/endian.c: New test source.
6291
45f25d6c
AB
62922018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6293
6294 PR gdb/23203
6295 * gdb.base/bt-selected-frame.c: New file.
6296 * gdb.base/bt-selected-frame.exp: New file.
6297 * lib/gdb.exp (get_current_frame_number): New function.
6298
d9f6d7f8
MR
62992018-05-24 Maciej W. Rozycki <macro@mips.com>
6300 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.threads/tls-core.c: Include <stdlib.h>
6303 (thread_proc): Call `abort'.
6304 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6305 (tls_core_test): New procedure, bits factored out from ...
6306 (top level): ... here. Test both native cores and gcore cores.
6307
ff1cf532
TT
63082018-05-23 Tom Tromey <tom@tromey.com>
6309
6310 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6311
b98664d3
TT
63122018-05-23 Tom Tromey <tom@tromey.com>
6313
6314 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6315 symfile_complaints.
6316 (test_short_complaints): Likewise.
6317 (test_empty_complaints): Likewise.
6318 (test_initial_complaints): Update.
6319
4e9668d0
TT
63202018-05-23 Tom Tromey <tom@tromey.com>
6321
6322 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6323
43ba33c7
TT
63242018-05-23 Tom Tromey <tom@tromey.com>
6325
6326 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6327 (test_short_complaints): Update.
6328
035522c0
PA
63292018-05-22 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/remote.exp: Only gdb_start after compiling the
6332 testcase. Issue "disconnect" before testing "set remote" command
6333 defaults. Issue clean_restart before running to main.
6334
cc0be08f
PA
63352018-05-22 Pedro Alves <palves@redhat.com>
6336
6337 * gdb.base/remote.exp: Adjust expected output of "show remote
6338 memory-write-packet-size". Add tests for "set remote
6339 memory-write-packet-size 0" and "set remote
6340 memory-write-packet-size fixed/limit".
6341
b1b60145
PA
63422018-05-22 Pedro Alves <palves@redhat.com>
6343
6344 PR gdb/22973
6345 * gdb.base/utf8-identifiers.c: New file.
6346 * gdb.base/utf8-identifiers.exp: New file.
6347
0ec848ad
PFC
63482018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6349
6350 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6351
2c3305f6
PFC
63522018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6353
6354 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6355
ce1e8424
TT
63562018-05-18 Tom Tromey <tom@tromey.com>
6357
6358 * gdb.base/ptype-offsets.exp: Update.
6359
ddfe970e
KS
63602018-05-17 Keith Seitz <keiths@redhat.com>
6361
6362 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6363 in expected breakpoint stop locations.
6364 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6365 move to proper scope to test variable values.
6366 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6367 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6368 New functions.
6369 (main): Call not_inline_func3.
6370 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6371 inline_func1, inline_func2, and inline_func3. Test that when each
6372 breakpoint is hit, GDB properly reports both the stop location
6373 and the backtrace. Repeat tests for temporary breakpoints.
6374
0726fcc6
MR
63752018-05-15 Maciej W. Rozycki <macro@mips.com>
6376
6377 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6378 rather then trying to access it in determining whether the PID
6379 of `gdbserver' could have been retrieved.
6380
8ee22052
AB
63812018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6382
6383 * gdb.arch/amd64-init-x87-values.S: New file.
6384 * gdb.arch/amd64-init-x87-values.exp: New file.
6385
7785df48
JK
63862018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6387
6388 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6389
56bcdbea
TT
63902018-05-04 Tom Tromey <tom@tromey.com>
6391
6392 PR python/22730:
6393 * gdb.python/python.exp: Test multi-line execute.
6394
a913fffb
TT
63952018-05-04 Tom Tromey <tom@tromey.com>
6396
6397 PR python/22731:
6398 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6399
7a2c85f2
TT
64002018-05-04 Tom Tromey <tom@tromey.com>
6401
6402 PR gdb/11750:
6403 * gdb.base/define.exp: Test defining a user command inside a user
6404 command.
6405 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6406
a3b60e45
JK
64072018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6408 Pedro Alves <palves@redhat.com>
6409
6410 PR breakpoints/19806 and support for PR external/20207.
6411 * gdb.base/watchpoint-unaligned.c: New file.
6412 * gdb.base/watchpoint-unaligned.exp: New file.
6413
45fe4a03
AB
64142018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6415
6416 * gdb.base/maint.exp: Make test names unique, use
6417 test_prefix_command_help to test 'help maint info', and remove
6418 repeated test of 'help maint'.
6419
9be2ae8f
TT
64202018-05-04 Tom Tromey <tom@tromey.com>
6421
6422 PR gdb/22619:
6423 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6424 behavior.
6425
11859c31
AB
64262018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6427
6428 * gdb.base/maint.exp: Process output from 'maint print registers'
6429 line at a time.
6430
089a9490
AB
64312018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6432
6433 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6434 timeout.
6435
9b0797e2
AB
64362018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6437
6438 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6439 filter pattern.
6440
f6ac5f3d
PA
64412018-05-02 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6444 to_log_command renames.
6445 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6446
77d3c63b
TT
64472018-05-02 Tom Tromey <tom@tromey.com>
6448
6449 * gdb.python/py-parameter.exp: Set test message.
6450
0489430a
TT
64512018-05-02 Tom Tromey <tom@tromey.com>
6452
6453 PR python/20084:
6454 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6455 PARAM_ZUINTEGER_UNLIMITED tests.
6456
1632f8ba
DR
64572018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6458
6459 PR rust/23124
6460 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6461 when casting.
6462
6d7bb824
TT
64632018-04-30 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.python/py-type.exp: Check align attribute.
6466 * gdb.python/py-type.c: New "aligncheck" global.
6467
007e1530
TT
64682018-04-30 Tom Tromey <tom@tromey.com>
6469
6470 PR exp/17095:
6471 * gdb.dwarf2/dw2-align.exp: New file.
6472 * gdb.cp/align.exp: New file.
6473 * gdb.base/align.exp: New file.
6474 * lib/gdb.exp (gdb_int128_helper): New proc.
6475 (has_int128_c, has_int128_cxx): New caching procs.
6476
6873858b
TT
64772018-04-27 Tom Tromey <tom@tromey.com>
6478
6479 PR rust/22545:
6480 * gdb.rust/simple.exp: Add inclusive range tests.
6481
79188d8d
PA
64822018-04-26 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6485 ifunc breakpoint locations correctly of ifunc breakpoints set
6486 while the program resolves the ifunc.
6487
c7075ad5
PA
64882018-04-26 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.base/gnu-ifunc-final.c: New file.
6491 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6492 * gdb.base/gnu-ifunc.exp (executable): Delete.
6493 (staticexecutable): Adjust.
6494 (lib_opts, exec_opts): Delete.
6495 (make_binsuffix, build, set-break): New procedures.
6496 (misc_tests): New, with tests factored out from the top level.
6497 (top level): Test different combinations of ifunc resolver name,
6498 resolver with and with debug info, and ifunc target with and
6499 without debug info. Wrap static tests with with_target_prefix.
6500
8388016d
PA
65012018-04-26 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6504 return type" warnings.
6505
249b5733
PA
65062018-04-25 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6509 killed".
6510 * gdb.base/kill-after-signal.exp: Likewise.
6511 * gdb.threads/kill.exp: Likewise.
6512
f67c0c91
SDJ
65132018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6514 Sergio Durigan Junior <sergiodj@redhat.com>
6515 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6518 regexps to expect for '[Inferior ... detached]' as well.
6519 * gdb.base/attach.exp: Likewise.
6520 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6521 "gdb_continue_to_end".
6522 (test_catch_syscall_with_wrong_args): Likewise.
6523 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6524 ']'. Don't set 'verbose' on.
6525 * gdb.base/foll-vfork.exp: Likewise.
6526 * gdb.base/fork-print-inferior-events.c: New file.
6527 * gdb.base/fork-print-inferior-events.exp: New file.
6528 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6529 '[Inferior ... has been killed]' message.
6530 * gdb.base/kill-after-signal.exp: Likewise.
6531 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6532 detach message.
6533 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6534 message.
6535 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6536 regexps to expect for '[Inferior ... detached]' as well.
6537 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6538
0a8ddac4
SM
65392018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6540
6541 PR gdb/23104
6542 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6543
701adfb0
PA
65442018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6545
6546 PR gdb/23095
6547 * gdb.base/break-probes.exp: Pass shlib_load to
6548 prepare_for_testing. Set normal_bp to r_debug_state if target is
6549 bsd.
6550
d27d16bf
RB
65512018-04-19 Richard Bunt <richard.bunt@arm.com>
6552
6553 * gdb.threads/multiple-successive-infcall.c: New test.
6554 * gdb.threads/multiple-successive-infcall.exp: New file.
6555
a037790e
TT
65562018-04-17 Tom Tromey <tom@tromey.com>
6557
6558 * gdb.rust/simple.rs (Union): New type.
6559 (main): New local "u".
6560 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6561
e3a91079
AA
65622018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6563
6564 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6565 number information in output of "whereis" command.
6566 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6567
b744723f
AA
65682018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6569
6570 * gdb.ada/info_types.exp: Adjust expected output to the line
6571 numbers now printed by "info var/func/type".
6572 * gdb.base/completion.exp: Likewise.
6573 * gdb.base/included.exp: Likewise.
6574 * gdb.cp/cp-relocate.exp: Likewise.
6575 * gdb.cp/cplusfuncs.exp: Likewise.
6576 * gdb.cp/namespace.exp: Likewise.
6577 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6578
4a4495d6
MM
65792018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6580
6581 * gdb.btrace/cpu.exp: New.
6582
1d509aa6
MM
65832018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6584
6585 * gdb.base/step-indirect-call-thunk.exp: New.
6586 * gdb.base/step-indirect-call-thunk.c: New.
6587 * gdb.reverse/step-indirect-call-thunk.exp: New.
6588 * gdb.reverse/step-indirect-call-thunk.c: New.
6589
6295b6da
SM
65902018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6591
6592 * gdb.base/pie-fork.c: New file.
6593 * gdb.base/pie-fork.exp: New file.
6594
50146e70
TT
65952018-04-11 Tom Tromey <tom@tromey.com>
6596
6597 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6598
f50d8a2e
PA
65992018-04-10 Pedro Alves <palves@redhat.com>
6600
6601 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6602 exits. Instead loop running forever.
6603 (fork_parent): Run forever too.
6604
a0be7a36
SM
66052018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6606
6607 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6608 mi_continue_to_line.
6609 * gdb.mi/mi-stack.c (callee4): Add comment.
6610
9b73db36
SM
66112018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6612
6613 * gdb.mi/mi-stack.exp: Fix indentation.
6614
c912f608
SM
66152018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6616
6617 PR gdb/22979
6618 * gdb.arch/amd64-osabi.exp: New file.
6619
26540402
SM
66202018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6621
6622 PR gdb/22980
6623 * gdb.base/osabi.exp: New file.
6624
121ad66c 66252018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6626
6627 * gdb.cp/static-typedef-print.exp: New file.
6628 * gdb.cp/static-typedef-print.cc: New file.
6629
3fcded8f
JB
66302018-03-27 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.ada/varsize_limit: New testcase.
6633
59cc4834
JB
66342018-03-27 Joel Brobecker <brobecker@adacore.com>
6635
6636 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6637
6638 * gdb.ada/notcplusplus: New testcase.
6639
6640 * gdb.base/c-linkage-name.c: New file.
6641 * gdb.base/c-linkage-name.exp: New testcase.
6642
4ca59a9f
TT
66432018-03-26 Tom Tromey <tom@tromey.com>
6644
6645 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6646 * gdb.python/py-framefilter.py (name_error): New global.
6647 (ErrorInName.function): Use name_error.
6648
978d6c75
TT
66492018-03-26 Tom Tromey <tom@tromey.com>
6650
6651 PR backtrace/15582:
6652 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6653
b7fee5a3
KS
66542018-03-23 Keith Seitz <keiths@redhat.com>
6655
6656 PR c++/22968
6657 * gdb.cp/subtypes.exp: New file.
6658 * gdb.cp/subtypes.h: New file.
6659 * gdb.cp/subtypes.cc: New file.
6660 * gdb.cp/subtypes-2.cc: New file.
6661
376be529
AB
66622018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6663
6664 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6665 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6666 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6667 -nostartfiles when compiling the test. Confirm that all registers
6668 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6669
066cfa98
AB
66702018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6671
6672 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6673 option, syntax was wrong anyway.
6674 * gdb.arch/arm-disp-step.exp: Likewise.
6675 * gdb.arch/sparc64-regs.exp: Likewise.
6676 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6677 option, syntax was wrong anyway, switch to use
6678 prepare_for_testing.
6679 * gdb.arch/i386-disp-step.exp: Likewise.
6680
079670b9
AA
66812018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6682
6683 * gdb.ada/exec_changed.exp: Replace "target_info exists
6684 use_gdb_stub" by "use_gdb_stub".
6685 * gdb.ada/start.exp: Likewise.
6686 * gdb.base/async-shell.exp: Likewise.
6687 * gdb.base/attach-pie-misread.exp: Likewise.
6688 * gdb.base/attach-wait-input.exp: Likewise.
6689 * gdb.base/break-entry.exp: Likewise.
6690 * gdb.base/break-interp.exp: Likewise.
6691 * gdb.base/dprintf-detach.exp: Likewise.
6692 * gdb.base/nostdlib.exp: Likewise.
6693 * gdb.base/solib-nodir.exp: Likewise.
6694 * gdb.base/statistics.exp: Likewise.
6695 * gdb.base/testenv.exp: Likewise.
6696 * gdb.mi/mi-exec-run.exp: Likewise.
6697 * gdb.mi/mi-start.exp: Likewise.
6698 * gdb.multi/dummy-frame-restore.exp: Likewise.
6699 * gdb.multi/multi-arch-exec.exp: Likewise.
6700 * gdb.multi/multi-arch.exp: Likewise.
6701 * gdb.multi/tids.exp: Likewise.
6702 * gdb.multi/watchpoint-multi.exp: Likewise.
6703 * gdb.python/py-events.exp: Likewise.
6704 * gdb.threads/attach-into-signal.exp: Likewise.
6705 * gdb.threads/attach-stopped.exp: Likewise.
6706 * gdb.threads/threadapply.exp: Likewise.
6707 * lib/selftest-support.exp: Likewise.
6708
26d6cec4
AA
67092018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6710
6711 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6712
4ee89e90
SR
67132018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6714
6715 * gdb.perf/template-breakpoints.cc: New file.
6716 * gdb.perf/template-breakpoints.exp: New file.
6717 * gdb.perf/template-breakpoints.py: New file.
6718
92630041
TT
67192018-03-19 Tom Tromey <tom@tromey.com>
6720
6721 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6722 y0.
6723 * gdb.rust/simple.exp: Test bare identifier form of struct
6724 initializer.
6725
76727919
TT
67262018-03-19 Tom Tromey <tom@tromey.com>
6727
6728 * gdb.gdb/observer.exp: Remove.
6729
194ed413
AA
67302018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6731
6732 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6733 "qualified" option when setting breakpoints.
6734 * gdb.trace/backtrace.exp: Likewise.
6735 * gdb.trace/circ.exp: Likewise.
6736 * gdb.trace/collection.exp: Likewise.
6737 * gdb.trace/disconnected-tracing.exp: Likewise.
6738 * gdb.trace/ftrace-lock.exp: Likewise.
6739 * gdb.trace/ftrace.exp: Likewise.
6740 * gdb.trace/infotrace.exp: Likewise.
6741 * gdb.trace/packetlen.exp: Likewise.
6742 * gdb.trace/passc-dyn.exp: Likewise.
6743 * gdb.trace/qtro.exp: Likewise.
6744 * gdb.trace/read-memory.exp: Likewise.
6745 * gdb.trace/report.exp: Likewise.
6746 * gdb.trace/signal.exp: Likewise.
6747 * gdb.trace/status-stop.exp: Likewise.
6748 * gdb.trace/strace.exp: Likewise.
6749 * gdb.trace/tfind.exp: Likewise.
6750 * gdb.trace/trace-break.exp: Likewise.
6751 * gdb.trace/trace-condition.exp: Likewise.
6752 * gdb.trace/trace-mt.exp: Likewise.
6753 * gdb.trace/tstatus.exp: Likewise.
6754 * gdb.trace/tsv.exp: Likewise.
6755 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6756 * gdb.trace/unavailable.exp: Likewise.
6757 * gdb.trace/while-dyn.exp: Likewise.
6758
8b067d2c
AA
67592018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6760
6761 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6762 that libinproctrace is copied to the target.
6763
3ae9ce5d
TT
67642018-03-14 Tom Tromey <tom@tromey.com>
6765
6766 PR cli/14977:
6767 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6768 a null pointer.
6769 * gdb.base/wchar.exp: Likewise.
6770
b8c2339b
TT
67712018-03-14 Tom Tromey <tom@tromey.com>
6772
6773 PR cli/19918:
6774 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6775 flag.
6776
4872dc46
SM
67772018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6778
6779 PR gdb/22841
6780 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6781 "target" to remote_exec.
6782
e4fe3756
SM
67832018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6784
6785 PR gdb/22841
6786 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6787 ${board}_upload): Remove.
6788
e95a97d4
AA
67892018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6790
6791 * gdb.cp/watch-cp.cc: New test.
6792 * gdb.cp/watch-cp.exp: New file.
6793
dbbb1059
AB
67942018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6795
6796 * gdb.base/infcall-nested-structs.exp: New file.
6797 * gdb.base/infcall-nested-structs.c: New file.
6798 * gdb.base/float.exp: Add riscv support.
6799
ecc054c0
TP
68002018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6801
6802 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6803 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6804
25e3c82c
SDJ
68052018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6806
6807 * gdb.server/abspath.exp: New file.
6808 * lib/gdb.exp (with_cwd): New procedure.
6809
3083294d
SM
68102018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6811
6812 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6813 use it.
6814 (gdb_is_target_remote_prompt): New proc.
6815 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6816 (gdb_is_target_native): Pass prompt parameter to
6817 gdb_is_target_1.
6818
3275ef47
SM
68192018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6820
6821 * gdb.base/load-command.c: New file.
6822 * gdb.base/load-command.exp: New file.
6823 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6824 (gdb_is_target_1): ...this, and generalize for other targets
6825 than just remote.
6826 (gdb_is_target_remote): Use gdb_is_target_1.
6827 (gdb_is_target_native): use gdb_is_target_1.
6828
6893c19a
TT
68292018-02-26 Tom Tromey <tom@tromey.com>
6830
6831 PR python/16497:
6832 * gdb.python/py-framefilter.exp: Update test.
6833
2ddeaf8a
TT
68342018-02-26 Tom Tromey <tom@tromey.com>
6835
6836 * gdb.dwarf2/variant.c: New file.
6837 * gdb.dwarf2/variant.exp: New file.
6838
c9317f21
TT
68392018-02-26 Tom Tromey <tom@tromey.com>
6840
6841 * gdb.rust/simple.exp: Accept more possible results in enum test.
6842
6f6d0c26
SM
68432018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6844
6845 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6846 parentheses.
6847
11b03145
MR
68482018-02-23 Maciej W. Rozycki <macro@mips.com>
6849
6850 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6851 name of a variable: $actual_linejj -> $actual_line.
6852
54a27fe5
JB
68532018-02-21 John Baldwin <jhb@FreeBSD.org>
6854
6855 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6856
de65820c
MM
68572018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6858
6859 * gdb.btrace/buffer-size.exp: Do not force BTS.
6860
980548fd
PA
68612018-02-14 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6864 getting a "Quit".
6865
c4e12631
MM
68662018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6867
6868 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6869 Fix test name.
6870
c2e0e465
SM
68712018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6872
6873 * gdb.cp/m-static.exp: Check type of optimized out static
6874 member.
6875
f7216783
AB
68762018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6877
6878 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6879 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6880
0625771b
LS
68812018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6882 Leszek Swirski <leszeks@google.com>
6883
6884 * gdb.python/py-prettyprint.c
6885 (struct to_string_returns_value_inner,
6886 struct to_string_returns_value_wrapper): New.
6887 (main): Add tsrvw variable.
6888 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6889 ToStringReturnsValueWrapper): New classes.
6890 (register_pretty_printers): Register new pretty-printers.
6891 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6892 recursive pretty printer.
6893 * gdb.python/py-mi.exp: Likewise.
6894
59498c30
LS
68952018-02-01 Leszek Swirski <leszeks@google.com>
6896
6897 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6898 functions with the same name as an include file are parsed
6899 correctly.
6900
d4d38844
YQ
69012018-02-01 Yao Qi <yao.qi@linaro.org>
6902
6903 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6904 "\[^\r\n\]*".
6905
07e5f5cf
NP
69062018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6907
6908 * gdb.arch/powerpc-prologue-frame.s: New file.
6909 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6910 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6911
929b5ad4
JB
69122018-01-31 Joel Brobecker <brobecker@adacore.com>
6913
6914 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6915
e671cd59
PA
69162018-01-30 Pedro Alves <palves@redhat.com>
6917
6918 PR gdb/13211
6919 * gdb.base/interrupt-daemon.c: New.
6920 * gdb.base/interrupt-daemon.exp: New.
6921 * gdb.multi/multi-term-settings.c: New.
6922 * gdb.multi/multi-term-settings.exp: New.
6923
fc413dc4
JB
69242018-01-30 Joel Brobecker <brobecker@adacore.com>
6925
6926 * gdb.base/break.exp: Save the location where the breakpoint
6927 on break.c:47 was actually inserted when debugging the version
6928 compiled at -O2 and use it in the expected output of the "info
6929 break" test performed soon after.
6930
5c319bb2
PA
69312018-01-22 Pedro Alves <palves@redhat.com>
6932 Sergio Durigan Junior <sergiodj@redhat.com>
6933
6934 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6935 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6936
a9e40818
JB
69372018-01-22 Joel Brobecker <brobecker@adacore.com>
6938
6939 * gdb.base/break-include.c, gdb.base/break-include.inc,
6940 gdb.base/break-include.exp: New files.
6941 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6942 line number now being the actual line number where the breakpoint
6943 was inserted.
6944 * gdb.mi/mi-break.exp: Likewise.
6945 * gdb.mi/mi-reverse.exp: Likewise.
6946 * gdb.mi/mi-simplerun.exp: Ditto.
6947
e707fc44
AB
69482018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6949
6950 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6951 varobj.
6952 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6953
ae451627
AB
69542018-01-21 Don Breazeal <donb@codesourcery.com>
6955 Andrew Burgess <andrew.burgess@embecosm.com>
6956
6957 * gdb.mi/basics.c: Add new global.
6958 * gdb.mi/mi-frame-regs.exp: New file.
6959 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6960 case.
6961
b1b189e0
AB
69622018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6963
6964 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6965 non-parameter, and on an unknown symbol.
6966
fcfcc376
TT
69672018-01-19 Tom Tromey <tom@tromey.com>
6968
6969 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6970 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6971
634c1c31
AA
69722018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6973
6974 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6975 setrlimit and chdir to int.
6976
d6ad07fd
AA
69772018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6978
6979 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6980 function.
6981 (my_tend): Likewise.
6982 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6983 rationale of avoiding FP- and vector instructions.
6984
adf8243b
RK
69852018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6986
6987 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6988 "info reg" with "\[ \t\]*".
6989 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6990 "\[ \t\]+".
6991 * gdb.arch/s390-multiarch.exp: Ditto.
6992 * gdb.base/pc-fp.exp: Ditto.
6993 * gdb.reverse/i386-precsave.exp: Ditto.
6994 * gdb.reverse/i386-reverse.exp: Ditto.
6995 * gdb.reverse/i387-env-reverse.exp: Ditto.
6996 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6997
dcc06925
AA
69982018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6999
7000 * lib/gdb.exp (gdb_compile): Re-enable use of
7001 universal_compile_options for languages other than Rust.
7002
25d4fd80
AA
70032018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7004
7005 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7006
ee7f689e 70072018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7008
7009 PR gdb/16577
7010 * gdb.base/solib-vanish.exp: New.
7011 * gdb.base/solib-vanish-main.c: New.
7012 * gdb.base/solib-vanish-lib1.c: New.
7013 * gdb.base/solib-vanish-lib2.c: New.
7014
d8447b6b
YQ
70152018-01-17 Yao Qi <yao.qi@linaro.org>
7016
7017 * gdb.compile/compile.exp: Match the address printed for
7018 frame in the output of command "bt".
7019
86d6a90c
TT
70202018-01-15 Tom Tromey <tom@tromey.com>
7021
7022 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7023 compute sp_reg.
7024
cbcdb1aa
AB
70252018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7026
7027 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7028 to prepare.
7029 (prepare): Return 0 on error, 1 on success.
7030
eea61984
PA
70312018-01-12 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.base/continue-after-aborted-step-over.c: New.
7034 * gdb.base/continue-after-aborted-step-over.exp: New.
7035
6181e9c2
SM
70362018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7037
7038 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7039 options when not creating an executable.
7040
3cada740
PA
70412018-01-11 Pedro Alves <palves@redhat.com>
7042
7043 PR remote/22597
7044 * gdb.server/stop-reply-no-thread.c: New file.
7045 * gdb.server/stop-reply-no-thread.exp: New file.
7046
c63d3e8d
PA
70472018-01-10 Pedro Alves <palves@redhat.com>
7048
7049 PR gdb/22670
7050 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7051 functions too. Test setting breakpoints and printing C functions
7052 with no debug info too.
7053 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7054
d4c2a405
PA
70552018-01-10 Pedro Alves <palves@redhat.com>
7056
7057 PR gdb/22670
7058 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7059 a fail.
7060
8825213e
PA
70612018-01-10 Pedro Alves <palves@redhat.com>
7062
7063 PR gdb/22670
7064 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7065
605fd3c6
YQ
70662018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7067
7068 * gdb.server/unittest.exp: Match the output in non-development
7069 mode.
7070
1e5ded6c
YQ
70712018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7072
7073 * gdb.gdb/unittest.exp: Match output in non-development mode.
7074
30066b0b
JB
70752018-01-08 Joel Brobecker <brobecker@adacore.com>
7076
7077 * gdb.ada/access_tagged_param.exp: Relax expected output
7078 for value of "ObjL" in "continue" to pck.inspect breakpoint
7079 test.
7080
04bafb1e
XR
70812018-01-08 Joel Brobecker <brobecker@adacore.com>
7082
9f86398b
JB
7083 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7084 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7085
e379cee6
PA
70862018-01-05 Pedro Alves <palves@redhat.com>
7087
7088 PR gdb/18653
7089 * gdb.base/libsegfault.exp: New.
7090
de63c46b
PA
70912018-01-05 Joel Brobecker <brobecker@adacore.com>
7092
7093 PR gdb/22670
7094 * gdb.ada/access_tagged_param.exp: New file.
7095 * gdb.ada/access_tagged_param/foo.adb: New file.
7096
f98fc17b
PA
70972018-01-05 Pedro Alves <palves@redhat.com>
7098
7099 PR gdb/22670
7100 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7101 exercise lower case too, and to exercise both full matching and
7102 wild matching.
7103
342f8240
JB
71042018-01-05 Joel Brobecker <brobecker@adacore.com>
7105
7106 * gdb.ada/rename_subscript_param: New testcase.
7107
7150d33c
JG
71082018-01-05 Jerome Guitton <guitton@adacore.com>
7109
7110 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7111
cc0e770c
JB
71122018-01-05 Joel Brobecker <brobecker@adacore.com>
7113
7114 * gdb.ada/convvar_comp: New testcase.
7115
672a41aa 71162018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7117
7118 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7119 (My_Table): New global variable.
7120 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7121
7365ec2f
JB
71222018-01-04 Joel Brobecker <brobecker@adacore.com>
7123
7124 PR gdb/22670
7125 * gdb.ada/maint_with_ada: New testcase.
7126
289483b6
JB
71272018-01-04 Joel Brobecker <brobecker@adacore.com>
7128
7129 PR gdb/22670
7130 * gdb.ada/bp_c_mixed_case: New testcase.
7131
344420da
JB
71322018-01-04 Joel Brobecker <brobecker@adacore.com>
7133
7134 PR gdb/22670
7135 * gdb.ada/complete.exp: Add "complete break ada" test.
7136
66fc87a0
JB
71372018-01-04 Joel Brobecker <brobecker@adacore.com>
7138
7139 PR gdb/22670
7140 * gdb.ada/info_addr_mixed_case: New testcase.
7141
9f757bf7
XR
71422018-01-03 Xavier Roirand <roirand@adacore.com>
7143
7144 * gdb.ada/excep_handle.exp: New testcase.
7145 * gdb.ada/excep_handle/foo.adb: New file.
7146 * gdb.ada/excep_handle/pck.ads: New file.
7147
bd570f80
JB
71482018-01-03 Joel Brobecker <brobecker@adacore.com>
7149
7150 * gdb.base/step-line.c: Add extra empty line in copyright header.
7151 * gdb.base/step-line.inp: Likewise.
7152
9fe561ab
JB
71532018-01-02 Joel Brobecker <brobecker@adacore.com>
7154
7155 * gdb.ada/dyn_stride.exp: Add slice test.
7156
a405673c
JB
71572018-01-02 Joel Brobecker <brobecker@adacore.com>
7158
7159 * gdb.ada/dyn_stride: New testcase.
7160
cef0f868
SH
71612017-12-27 Stafford Horne <shorne@gmail.com>
7162
7163 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7164 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7165
b67d92b0
SH
71662017-12-27 Stafford Horne <shorne@gmail.com>
7167
7168 * gdb.base/reggroups.c: New file.
7169 * gdb.base/reggroups.exp: New file.
7170
eccab96d
JB
71712017-12-18 Joel Brobecker <brobecker@adacore.com>
7172
7173 * gdb.dwarf2/ada-valprint-error.c: New file.
7174 * gdb.dwarf2/ada-valprint-error.exp: New file.
7175
0e2da9f0
JB
71762017-12-18 Joel Brobecker <brobecker@adacore.com>
7177
7178 * gdb.ada/assign_arr: New testcase.
7179
cb923fcc
XR
71802017-12-18 Xavier Roirand <roirand@adacore.com>
7181
7182 * gdb.ada/funcall_ptr: New testcase.
7183
7c161838
SDJ
71842017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7185
7186 PR cli/16224
7187 * gdb.base/ptype-offsets.cc: New file.
7188 * gdb.base/ptype-offsets.exp: New file.
7189
1af17fd9
YQ
71902017-12-15 Yao Qi <yao.qi@linaro.org>
7191
7192 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7193 if XML is disabled.
7194
828d5846
XR
71952017-12-15 Xavier Roirand <roirand@adacore.com>
7196
7197 * gdb.ada/same_component_name: New testcase.
7198
79e8fcaa
JB
71992017-12-14 Joel Brobecker <brobecker@adacore.com>
7200
7201 * gdb.ada/str_binop_equal: New testcase.
7202
e05fa6f9
JB
72032017-12-14 Joel Brobecker <brobecker@adacore.com>
7204
7205 * gdb.ada/task_switch_in_core: New testcase.
7206
b89641ba
SM
72072017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7208
7209 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7210 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7211 call test_bkpt_qualified.
7212 (test_bkpt_qualified): New proc.
7213
6892d2e4
PA
72142017-12-13 Pedro Alves <palves@redhat.com>
7215
7216 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7217 Tighten regexp by matching with an anchor.
7218
a22ecf70
PA
72192017-12-13 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7222 ("expression with namespace"): New set of tests.
7223 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7224 (Nested::Test_NS::qux): New.
7225 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7226 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7227
9937536c
JB
72282017-12-13 Joel Brobecker <brobecker@adacore.com>
7229
7230 * gdb.base/server-del-break.c: New file.
7231 * gdb.base/server-del-break.exp: New file.
7232
fe49c6f5
SH
72332017-12-12 Stafford Horne <shorne@gmail.com>
7234
7235 * gdb.xml/tdesc-regs.exp: Add or1k support.
7236
c3d18620
SH
72372017-12-12 Stafford Horne <shorne@gmail.com>
7238
7239 * gdb.base/bp-permanent.c: Define nop of or1k.
7240
c5f9cfc8
JB
72412017-12-11 Joel Brobecker <brobecker@adacore.com>
7242
7243 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7244 output with components being reordered.
7245
a9c135fc
JB
72462017-12-11 Joel Brobecker <brobecker@adacore.com>
7247
7248 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7249 output with components being reordered.
7250
927aa2e7
JK
72512017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7252 Pedro Alves <palves@redhat.com>
7253
7254 * gdb.base/maint.exp (check for .gdb_index): Check also for
7255 .debug_names.
7256 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7257 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7258 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7259 (.gdb_index used after symbol reloading): Support also .debug_names.
7260 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7261
f17d9474
YQ
72622017-12-08 Yao Qi <yao.qi@linaro.org>
7263
7264 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7265 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7266
a0de8c21
YQ
72672017-12-08 Yao Qi <yao.qi@linaro.org>
7268
7269 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7270 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7271
a738ea1d
YQ
72722017-12-08 Yao Qi <yao.qi@linaro.org>
7273
7274 * gdb.arch/aarch64-tagged-pointer.c: New file.
7275 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7276
1cd9a73b
SDJ
72772017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7278
7279 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7280 "int".
7281
fa6eb693
KS
72822017-12-07 Keith Seitz <keiths@redhat.com>
7283
7284 PR breakpoints/22569
7285 * gdb.linespec/ls-errs.exp: Change expected result of "break
7286 -source this file has spaces.c -line 3".
7287 Check that an explicit source file followed by whitespace is
7288 identified as an invalid explicit location.
7289
883fd55a
KS
72902017-12-07 Keith Seitz <keiths@redhat.com>
7291
7292 * gdb.cp/nested-types.cc: New file.
7293 * gdb.cp/nested-types.exp: New file.
7294 * lib/cp-support.exp: Load data-structures.exp library.
7295 (debug_cp_test_ptype_class): New global.
7296 (cp_ptype_class_verbose, next_line): New procedures.
7297 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7298 Add and document new return value.
7299 Switch the list of lines to a queue.
7300 Add support for new `type' key for nested type definitions.
7301 Add debugging/troubleshooting messages.
7302 * lib/data-structures.exp: New file.
7303
ec72db3e
SM
73042017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7305
7306 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7307 with proc_with_prefix, don't use with_test_prefix.
7308
99598d71
TT
73092017-12-07 Tom Tromey <tom@tromey.com>
7310
7311 * gdb.base/break.exp: Add test for empty "commands".
7312
a8806230
YQ
73132017-12-07 Yao Qi <yao.qi@linaro.org>
7314
7315 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7316 malloc and catch syscall.
7317
824cc835
PM
73182017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7319
e79be6e5 7320 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7321 tests for explicit locations.
7322
7cc244de
PA
73232017-12-06 Pedro Alves <palves@redhat.com>
7324
7325 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7326 force-disabling XML descriptions.
7327
50a1fdd5
PA
73282017-12-04 Pedro Alves <palves@redhat.com>
7329
7330 PR gdb/22499
7331 * gdb.arch/amd64-disp-step-avx.S: New file.
7332 * gdb.arch/amd64-disp-step-avx.exp: New file.
7333
f0fb2488
PA
73342017-12-03 Pedro Alves <palves@redhat.com>
7335
7336 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7337 and <string.h>.
7338 (parent_function): Print distinct messages when waitpid fails, or
7339 the child exits with a signal, or the child exits for an unhandled
7340 reason.
7341 * gdb.threads/process-dies-while-detaching.exp
7342 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7343 it. Wait for both inferior output and GDB's prompt. Use an
7344 indirect spawn id list.
7345 (do_detach): New parameter 'child_exit'. Use it to compute
7346 expected inferior output.
7347 (test_detach, test_detach_watch, test_detach_killed_outside):
7348 Adjust to pass down the expected child exit kind.
7349
97cbe998
SDJ
73502017-12-01 Joel Brobecker <brobecker@adacore.com>
7351 Sergio Durigan Junior <sergiodj@redhat.com>
7352 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7355
40fc416f
SDJ
73562017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7357
7358 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7359 to 'symbol-file' and 'add-symbol-file' can be
7360 position-independent.
7361
1cc75e92
YQ
73622017-12-01 Yao Qi <yao.qi@linaro.org>
7363
7364 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7365 the URL in copyright header.
7366 * gdb.arch/aarch64-fp.exp: Likewise.
7367 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7368 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7369 * gdb.base/expand-psymtabs.exp: Likewise.
7370 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7371 * gdb.fortran/common-block.exp: Likewise.
7372 * gdb.fortran/common-block.f90: Likewise.
7373 * gdb.fortran/logical.exp: Likewise.
7374 * gdb.fortran/vla-datatypes.f90: Likewise.
7375 * gdb.fortran/vla-sub.f90: Likewise.
7376
875fb7a7
JB
73772017-11-30 Joel Brobecker <brobecker@adacore.com>
7378
7379 * gdb.ada/repeat_dyn: New testcase.
7380
6f14765f
UW
73812017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7382
7383 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7384 Update for changed thread numbering.
7385 * gdb.cell/bt.exp: Update for changed GDB output.
7386
f1af7b94
SM
73872017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7388
7389 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7390 setting isremote by hand.
7391 * boards/dwarf4-gdb-index.exp: Likewise.
7392 * boards/fission.exp: Likewise.
7393 * boards/stabs.exp: Likewise.
7394
e3919f3e
PA
73952017-11-30 Pedro Alves <palves@redhat.com>
7396
7397 * gdb.linespec/cpls-ops.exp
7398 (check_explicit_skips_function_argument): Extract the underlying
7399 type of size_t instead of hardcoding it.
7400
bd69330d
PA
74012017-11-29 Pedro Alves <palves@redhat.com>
7402
7403 PR c++/19436
7404 * gdb.linespec/cpls-abi-tag.cc: New file.
7405 * gdb.linespec/cpls-abi-tag.exp: New file.
7406
a20714ff
PA
74072017-11-29 Pedro Alves <palves@redhat.com>
7408
7409 * gdb.base/langs.exp: Use -qualified.
7410 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7411 it.
7412 * gdb.cp/namespace.exp: Use -qualified.
7413 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7414 (overload-3, template-overload, template-ret-type, const-overload)
7415 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7416 procedures.
7417 (test_driver): Call them.
7418 * gdb.cp/save-bp-qualified.cc: New.
7419 * gdb.cp/save-bp-qualified.exp: New.
7420 * gdb.linespec/explicit.exp: Test -qualified.
7421 * lib/completion-support.exp (completion::explicit_opts_list): Add
7422 "-qualified".
7423 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7424
f6f1d339
PM
74252017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7426
7427 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7428
02ca603a
TT
74292017-11-29 Tom Tromey <tom@tromey.com>
7430
7431 * gdb.base/relocate.exp: Update invalid argument test.
7432 Add new tests for invalid arguments.
7433
ed6c0bfb
TP
74342017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7435
7436 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7437 Return 0 as a long.
7438 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7439
f106e10e
TP
74402017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7441
7442 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7443 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7444 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7445 func ().
7446 * gdb.cp/shadow.cc (B.func): Return 0.
7447
10329bb2
JB
74482017-11-27 Joel Brobecker <brobecker@adacore.com>
7449
7450 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7451 expected output in gdb_expect call to allow the exception
7452 message to be present as well. Fix syntax confusion to avoid
7453 TCL thinking that exception_name is an array.
7454
617cd4bc
UW
74552017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7456
7457 * gdb.arch/spu-info.c: Include <unistd.h>.
7458 (do_signal_test): Fix broken calls to write.
7459 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7460 Fix checks for empty mailboxes. Update signal tests for corrected
7461 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7462 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7463 * gdb.cell/arch.exp: Use standard_output_file.
7464 * gdb.cell/break.exp: Likewise.
7465 * gdb.cell/bt.exp: Likewise.
7466 * gdb.cell/core.exp: Likewise.
7467 * gdb.cell/dwarfaddr.exp: Likewise.
7468 * gdb.cell/ea-cache.exp: Likewise.
7469 * gdb.cell/ea-standalone.exp: Likewise.
7470 * gdb.cell/f-regs.exp: Likewise.
7471 * gdb.cell/fork.exp: Likewise.
7472 * gdb.cell/gcore.exp: Likewise.
7473 * gdb.cell/mem-access.exp: Likewise.
7474 * gdb.cell/ptype.exp: Likewise.
7475 * gdb.cell/registers.exp: Likewise.
7476 * gdb.cell/sizeof.exp: Likewise.
7477 * gdb.cell/solib-symbol.exp: Likewise.
7478 * gdb.cell/solib.exp: Likewise.
617cd4bc 7479
a81aaca0
PA
74802017-11-25 Pedro Alves <palves@redhat.com>
7481
7482 * gdb.base/complete-empty.exp: New file.
7483 * gdb.base/completion.exp: Adjust.
7484
6a3c6ee4
PA
74852017-11-25 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.linespec/cpls-ops.cc: New file.
7488 * gdb.linespec/cpls-ops.exp: New file.
7489 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7490 factored out from ...
7491 (test_complete_prefix_range): ... this.
7492
8955eb2d
PA
74932017-11-24 Pedro Alves <palves@redhat.com>
7494
7495 * gdb.linespec/cpcompletion.exp: New file.
7496 * gdb.linespec/cpls-hyphen.cc: New file.
7497 * gdb.linespec/cpls.cc: New file.
7498 * gdb.linespec/cpls2.cc: New file.
7499 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7500 test to use test_gdb_complete_unique. Add label completion,
7501 keyword completion and explicit location completion tests.
7502 * lib/completion-support.exp: New file.
7503
e547c119
JB
75042017-11-24 Joel Brobecker <brobecker@adacore.com>
7505
7506 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7507 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7508 when hitting an exception catchpoint.
7509
7c3c1aa8
YQ
75102017-11-22 Yao Qi <yao.qi@linaro.org>
7511
7512 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7513
41bd68f5
SM
75142017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7515
7516 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7517 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7518 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7519
1daad298
YQ
75202017-11-22 Yao Qi <yao.qi@linaro.org>
7521
7522 * gdb.base/info-os.exp: Pass pthreads.
7523 * gdb.multi/multi-attach.exp: Likewise.
7524
88465e87
YQ
75252017-11-22 Yao Qi <yao.qi@linaro.org>
7526
7527 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7528 compiler.
7529
dc196b23
YQ
75302017-11-22 Yao Qi <yao.qi@linaro.org>
7531
7532 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7533 * gdb.base/break-interp.exp: Likewise.
7534 * gdb.base/jit-attach-pie.exp: Likewise.
7535
2400729e
UW
75362017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7537
7538 * gdb.base/float128.c (large128): New variable.
7539 * gdb.base/float128.exp: Add test to print largest __float128 value.
7540
7a26362d
UW
75412017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7542
7543 * gdb.arch/vsx-regs.exp: Update register content checks.
7544
ed0f4273
UW
75452017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7546
7547 * gdb.arch/ppc-longdouble.exp: New file.
7548 * gdb.arch/ppc-longdouble.c: Likewise.
7549
a25d69c6
PA
75502017-11-21 Pedro Alves <palves@redhat.com>
7551
7552 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7553
73fcf641
PA
75542017-11-20 Pedro Alves <palves@redhat.com>
7555
7556 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7557 (long_double_typedef): New typedefs.
7558 Use DEF on double and long double.
7559 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7560 cases.
7561 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7562 and 'long_double_ptr_same_size' locals. Use them to decide
7563 whether cast from array/function to float is valid/invalid.
7564
71a3c369
TT
75652017-11-17 Tom Tromey <tom@tromey.com>
7566
7567 * gdb.rust/traits.rs: New file.
7568 * gdb.rust/traits.exp: New file.
7569
ced9779b
JB
75702017-11-17 Joel Brobecker <brobecker@adacore.com>
7571
7572 * gdb.ada/minsyms: New testcase.
7573
a0922d80
PA
75742017-11-16 Pedro Alves <palves@redhat.com>
7575
7576 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7577 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7578
ea04e54c
PA
75792017-11-16 Pedro Alves <palves@redhat.com>
7580
7581 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7582 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7583
e849ea89
PA
75842017-11-16 Pedro Alves <palves@redhat.com>
7585
7586 * gdb.server/reconnect-ctrl-c.c: New file.
7587 * gdb.server/reconnect-ctrl-c.exp: New file.
7588
d8ae99a7
PM
75892017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7590
7591 * gdb.python/py-rbreak.exp: New file.
7592 * gdb.python/py-rbreak.c: New file.
7593 * gdb.python/py-rbreak-func2.c: New file.
7594
968a13f8
PA
75952017-11-16 Pedro Alves <palves@redhat.com>
7596
7597 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7598 pattern.
7599 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7600 GDB.
7601
71774bc9
SM
76022017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7603
7604 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7605 regex.
7606
ddbb44cf
SM
76072017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7608
7609 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7610 test names.
7611
584a564f
PA
76122017-11-09 Pedro Alves <palves@redhat.com>
7613
7614 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7615 factored out from ...
7616 (top level): ... here, and adjusted to avoid expecting beyond the
7617 prompt in a single gdb_test_multiple.
7618
5ed7a928
PA
76192017-11-09 Pedro Alves <palves@redhat.com>
7620
7621 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7622 output.
7623 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7624 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7625 * gdb.server/ext-run.exp ("kill" test): Likewise.
7626 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7627
a60e0738
PA
76282017-11-09 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7631 match till end of line.
7632
2c88253f
PA
76332017-11-09 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7636
c7a38517
PA
76372017-11-09 Pedro Alves <palves@redhat.com>
7638
7639 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7640 New procedures, factored out from ...
7641 (top level): ... here, and adjusted to avoid expecting beyond the
7642 prompt in one go.
7643
f29f4b6b
PA
76442017-11-09 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7647 output. Fix '?' match.
7648
286acbb5
JB
76492017-11-08 Joel Brobecker <brobecker@adacore.com>
7650
7651 * gdb.ada/scoped_watch: New testcase.
7652 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7653 which is actually correct.
7654 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7655 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7656
62d7ae92
PA
76572017-11-08 Pedro Alves <palves@redhat.com>
7658
7659 * gdb.gdb/complaints.exp (test_initial_complaints)
7660 (test_serial_complaints, test_short_complaints): Call
7661 complaint_internal instead of complaint.
7662
280ca31f
DT
76632017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7664
7665 * gdb.threads/tls-core.c: New file.
7666 * gdb.threads/tls-core.exp: Likewise.
7667
b5ec771e
PA
76682017-11-08 Pedro Alves <palves@redhat.com>
7669
7670 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7671 (p Exported_Capitalized): New test.
7672 (p exported_capitalized): New test.
7673
a02b41a7
PA
76742017-11-07 Pedro Alves <palves@redhat.com>
7675
7676 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7677
95e95a6d
PA
76782017-11-07 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7681 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7682 (disable_invalid, disable_inverted, disable_negative): New
7683 procedures.
7684 ("bad numbers"): New set of tests.
7685
cee62dbd
PA
76862017-11-07 Pedro Alves <palves@redhat.com>
7687
7688 * gdb.cp/ena-dis-br-range.exp: Add tests.
7689
cc638e86
PA
76902017-11-07 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7693
d0fe4701
XR
76942017-11-07 Xavier Roirand <roirand@adacore.com>
7695 Pedro Alves <palves@redhat.com>
7696
7697 * gdb.base/ena-dis-br.exp: Add reference to
7698 gdb.cp/ena-dis-br-range.exp.
7699 * gdb.cp/ena-dis-br-range.exp: New file.
7700 * gdb.cp/ena-dis-br-range.cc: New file.
7701
46f67f80
PA
77022017-11-06 Pedro Alves <palves@redhat.com>
7703
7704 * gdb.base/attach-non-pgrp-leader.c: New.
7705 * gdb.base/attach-non-pgrp-leader.exp: New.
7706
726e1356
PA
77072017-11-06 Pedro Alves <palves@redhat.com>
7708
7709 * configure.ac: No longer check for termio.h and sgtty.h.
7710 * configure: Regenerate.
7711 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7712 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7713 Remove termio and sgtty code.
7714
50ab6ace
YQ
77152017-11-03 Yao Qi <yao.qi@linaro.org>
7716
7717 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7718 in GDB is disabled.
7719
8e68731c
YQ
77202017-11-03 Yao Qi <yao.qi@linaro.org>
7721
7722 * gdb.python/py-thrhandle.exp: Skip it if python is not
7723 enabled.
7724
3a87ae65
SM
77252017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7726
7727 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7728 as a breakpoint command.
7729
484d8d36
MD
77302017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7731
7732 PR python/21213
7733 * gdb.python/py-infthread.exp: Test calling
7734 InferiorThread.inferior () multiple times in a row.
7735
4a27f119
KS
77362017-10-27 Keith Seitz <keiths@redhat.com>
7737
7738 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7739 Test "info break" for every inlined function breakpoint.
7740
bb11dd58
YQ
77412017-10-27 Yao Qi <yao.qi@linaro.org>
7742
7743 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7744
a43f3893
PF
77452017-10-26 Patrick Frants <osscontribute@gmail.com>
7746
7747 * gdb.cp/classes.exp (test_static_members): Test printing
7748 Outer::instance.
7749 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7750 (Inner::instance, Outer::instance): New.
7751
792ccf00
PA
77522017-10-24 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7755 extra console" test in two stages.
7756
eb2bfbad
PA
77572017-10-24 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7760
1f75a651
PA
77612017-10-24 Pedro Alves <palves@redhat.com>
7762
7763 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7764 loop.
7765
779990d9
PA
77662017-10-24 Pedro Alves <palves@redhat.com>
7767
7768 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7769 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7770
ad9b8f5d
PA
77712017-10-24 Pedro Alves <palves@redhat.com>
7772
7773 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7774 parameter and handle it. Don't output read value in test name.
7775
fee6da6e
PA
77762017-10-24 Pedro Alves <palves@redhat.com>
7777
7778 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7779 custom test name.
7780
10389c2c
PA
77812017-10-24 Pedro Alves <palves@redhat.com>
7782
7783 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7784 include the unstable output directory name in the test's name.
7785 (initial_setup_simple) <'set args'>: Use custom test name.
7786
a80e65a9
PA
77872017-10-24 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7790 with explicit test name.
7791
15763a09
PA
77922017-10-20 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7795 'wait -i'. Use gdb_assert and remote_close.
7796
49a4ce2e
AB
77972017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7798
7799 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7800 number from variable rather than hard-coded.
7801
a75868f5
PA
78022017-10-19 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.base/long-inferior-output.c: New file.
7805 * gdb.base/long-inferior-output.exp: New file.
7806
c8ba13ad
KS
78072017-11-18 Keith Seitz <keiths@redhat.com>
7808
7809 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7810 method.
7811 (main): Call it.
7812 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7813 Add additional user-defined conversion operator tests.
7814
b27de576
PA
78152017-10-17 Pedro Alves <palves@redhat.com>
7816
7817 * boards/native-stdio-gdbserver.exp: Load "local-board".
7818
8484c955
PA
78192017-10-17 Pedro Alves <palves@redhat.com>
7820
7821 * gdb.base/quit-live.c: New file.
7822 * gdb.base/quit-live.exp: New file.
7823
83d5a34d
KS
78242017-10-16 Keith Seitz <keiths@redhat.com>
7825
7826 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7827 (class_with_protected_typedef, class_with_private_typedef)
7828 (struct_with_public_typedef, struct_with_protected_typedef)
7829 (struct_with_private_typedef): New classes/structs.
7830 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7831 typedefs and access specifiers.
7832
739b3f1d
PA
78332017-10-16 Pedro Alves <palves@redhat.com>
7834 Simon Marchi <simon.marchi@polymtl.ca>
7835
7836 * README (Local vs Remote vs Native): New section.
7837 * boards/local-board.exp: New file, with bits factored out from
7838 ...
7839 * boards/native-extended-gdbserver.exp: ... here. Load
7840 "local-board".
7841 * boards/native-gdbserver.exp: Load "local-board".
7842 (${board}_spawn, ${board}_exec): Delete.
7843 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7844 ...
7845 * boards/stdio-gdbserver-base.exp: ... this new file.
7846 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7847 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7848 procedure.
7849 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7850 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7851 stdio_gdbserver_command.
7852 (${board}_get_remote_address, ${board}_get_comm_port)
7853 (${board}_download, ${board}_upload): Delete.
7854 (get_target_remote_pipe_cmd): New.
7855
fe68b953
SM
78562017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7857
7858 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7859 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7860 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7861 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7862 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7863 remove with_test_prefix.
7864
300b6685
PA
78652017-10-13 Pedro Alves <palves@redhat.com>
7866
7867 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7868 * gdb.base/annota1.exp: Use it instead of is_remote.
7869 * gdb.base/annota3.exp: Use it instead of is_remote.
7870 * gdb.cp/annota2.exp: Use it instead of is_remote.
7871 * gdb.cp/annota3.exp: Use it instead of is_remote.
7872 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7873
50500caf
PA
78742017-10-13 Pedro Alves <palves@redhat.com>
7875
7876 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7877 (test_num_test_vars, run_and_count_vars, find_env)
7878 (test_set_unset_env, test_inherit_env_var): New procedures.
7879 (top level): Use them.
7880
dad0c6d2
PA
78812017-10-13 Pedro Alves <palves@redhat.com>
7882
7883 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7884 also skip on stub-like targets.
7885
8b0553c1
PA
78862017-10-13 Pedro Alves <palves@redhat.com>
7887
7888 PR gdb/22293
7889 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7890 (top level): Move some tests to ...
7891 (test_not_found): ... this new procedure.
7892 (top level): Call it.
7893
7594f623
PA
78942017-10-13 Pedro Alves <palves@redhat.com>
7895
7896 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7897 expect different "info terminal" output if testing with a
7898 non-native target.
7899
ebe3b402
PA
79002017-10-13 Pedro Alves <palves@redhat.com>
7901 Simon Marchi <simon.marchi@polymtl.ca>
7902
7903 PR python/12966
7904 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7905
42f1b161
PA
79062017-10-13 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7909 already.
7910
8d6ef72b
PA
79112017-10-13 Pedro Alves <palves@redhat.com>
7912
7913 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7914 is_remote.
7915
d7bcd5b8
PA
79162017-10-13 Pedro Alves <palves@redhat.com>
7917
7918 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7919 is_remote.
7920
df479dc6
PA
79212017-10-13 Pedro Alves <palves@redhat.com>
7922
7923 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7924 is set.
7925 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7926 instead of is_remote.
7927
23fb630a
PA
79282017-10-13 Pedro Alves <palves@redhat.com>
7929
7930 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7931 (top level): Add comment.
7932
cc77b1dc
PA
79332017-10-13 Pedro Alves <palves@redhat.com>
7934
7935 * gdb.base/remote.exp (top level): Fix comment typo and add
7936 missing return.
7937
27c9e813
PA
79382017-10-13 Pedro Alves <palves@redhat.com>
7939 Simon Marchi <simon.marchi@polymtl.ca>
7940
7941 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7942 calls and add comments. Skip test if use_gdb_stub is set.
7943 (top level): Use "set cwd" command instead of "cd" command.
7944
5e830d98
PA
79452017-10-13 Pedro Alves <palves@redhat.com>
7946
7947 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7948 is_remote target check.
7949
f5ca0032
PA
79502017-10-13 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.base/scope.exp: Use build_executable + clean_restart +
7953 gdb_file_cmd instead of prepare_for_testing and no longer skip
7954 "before run" tests on is_remote target boards. Update comments.
7955 * boards/native-extended-gdbserver.exp
7956 (extended_gdbserver_load_last_file): New, factored out from ...
7957 (gdb_load): ... this. Move further below and add comment.
7958 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7959
8aed1c0d
PA
79602017-10-12 Pedro Alves <palves@redhat.com>
7961
7962 * gdb.base/attach.exp: Remove references to gdb64.
7963 * gdb.base/dbx.exp: Remove references to gdb64.
7964
cfa34c87
SM
79652017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7966 Pedro Alves <palves@redhat.com>
7967
7968 * gdb.base/label.exp: Remove is_remote target check.
7969
9192b7de
PA
79702017-10-12 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.base/auvx.exp (coredir): Update comment.
7973 (top level) <core_works>: Use "set cwd" command instead of "cd"
7974 command.
7975
6bf0052d
PA
79762017-10-12 Pedro Alves <palves@redhat.com>
7977 Simon Marchi <simon.marchi@polymtl.ca>
7978
7979 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7980 target boards.
7981
e48ef82d
PA
79822017-10-12 Pedro Alves <palves@redhat.com>
7983 Simon Marchi <simon.marchi@polymtl.ca>
7984
7985 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7986 Instead skip if there's any gdb_protocol set.
7987
8d7aea57
SM
79882017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7989 Pedro Alves <palves@redhat.com>
7990
7991 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7992
30440677
PA
79932017-10-12 Pedro Alves <palves@redhat.com>
7994 Simon Marchi <simon.marchi@polymtl.ca>
7995
7996 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7997 instead of on dejagnu remote boards.
7998
4e04f045 79992017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8000 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8001
8002 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8003 checks. Use build_executable + clean_restart instead of
8004 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8005 of enabling non-stop after starting gdb.
8006
871a186e
PA
80072017-10-12 Pedro Alves <palves@redhat.com>
8008
8009 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8010 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8011 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8012 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8013
56d704da
AK
80142017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8015
8016 * gdb.arch/arc-tdesc-cpu.exp: New file.
8017 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8018
2f20e312
SM
80192017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8020
8021 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8022
65630365
PA
80232017-10-10 Pedro Alves <palves@redhat.com>
8024
8025 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8026 expect CLI output.
8027
bf469271
PA
80282017-10-10 Pedro Alves <palves@redhat.com>
8029
8030 * lib/selftest-support.exp (selftest_setup): Update for
8031 captured_command_loop's prototype change.
8032
777a42f1
PA
80332017-10-09 Pedro Alves <palves@redhat.com>
8034
8035 Test both arch1=>arch2 and arch2=>arch1.
8036
8037 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8038 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8039 factored out to...
8040 (append_arch1_options, append_arch2_options, append_arch_options)
8041 (build_executables): New procedures.
8042 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8043 local.
8044 (top level): Add new 'first_arch' testing axis.
8045
cbd2b4e3
PA
80462017-10-09 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8049 (barrier): New.
8050 (thread_start, all_started): New functions.
8051 (main): Spawn new thread and wait until it is scheduled.
8052 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8053 option.
8054 (do_test): Add 'selected_thread' parameter. Run to all_started
8055 instead of main. Explicitly set the breakpoint at main. Switch
8056 to the SELECTED_THREAD thread.
8057 (top level): Test handling the exec event with either the main
8058 thread or the second thread selected.
8059
5c9e4427
PA
80602017-10-09 Pedro Alves <palves@redhat.com>
8061
8062 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8063 logic. Move STOP marker after the value checks.
8064 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8065 regexp.
8066
b3b7c423
SL
80672017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8068
8069 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8070
3b4b2f16
UW
80712017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8072
8073 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8074 integer-to-dfp conversion.
8075 * gdb.base/dfp-test.exp: Likewise.
8076
5cd63fda
PA
80772017-10-04 Pedro Alves <palves@redhat.com>
8078
8079 * gdb.multi/hangout.c: Include <unistd.h>.
8080 (hangout_loop): New function.
8081 (main): Call alarm. Call hangout_loop in a loop.
8082 * gdb.multi/hello.c: Include <unistd.h>.
8083 (hello_loop): New function.
8084 (main): Call alarm. Call hangout_loop in a loop.
8085 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8086 inferior with the other selected.
8087
4c71c105
SM
80882017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8089
8090 * gdb.mi/list-thread-groups-available.exp: New file.
8091 * gdb.mi/list-thread-groups-available.c: New file.
8092
bc3b087d
SDJ
80932017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8094
8095 * gdb.base/set-cwd.exp: Make it available on
8096 native-extended-gdbserver.
8097
d092c5a2
SDJ
80982017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8099
8100 * gdb.base/set-cwd.c: New file.
8101 * gdb.base/set-cwd.exp: Likewise.
8102
45320ffa
TT
81032017-10-02 Tom Tromey <tom@tromey.com>
8104
8105 PR rust/22236:
8106 * gdb.rust/simple.rs (main): New variable "fslice".
8107 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8108
b3e3859b
TT
81092017-10-02 Tom Tromey <tom@tromey.com>
8110
8111 * gdb.rust/simple.exp: Test ptype of a slice.
8112
01af5e0d
TT
81132017-10-02 Tom Tromey <tom@tromey.com>
8114
8115 * gdb.rust/simple.exp: Test index of slice.
8116
a9bbfbd8
TT
81172017-09-27 Tom Tromey <tom@tromey.com>
8118
8119 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8120
df8899e5
TP
81212017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8122 Pedro Alves <palves@redhat.com>
8123
8124 * gdb.base/compare-sections.exp (get value of read-only section): Read
8125 as unsigned value.
8126 (corrupt read-only section): Likewise and don't set written if patching
8127 failed.
8128
757bf54b
KB
81292017-09-21 Kevin Buettner <kevinb@redhat.com>
8130
8131 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8132 files.
8133
06871ae8
PA
81342017-09-20 Pedro Alves <palves@redhat.com>
8135
8136 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8137 symbol names in gdb's output.
8138 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8139
e5f25bc5
PA
81402017-09-20 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8143 Rename to ...
8144 (test_list_ambiguous_symbol): ... this and add a symbol name
8145 parameter. Adjust.
8146 (test_list_ambiguous_function): Reimplement on top of
8147 test_list_ambiguous_symbol and also test listing ambiguous
8148 variables.
8149 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8150 (ambiguous_fun): ... this.
8151 (ambiguous_var): New.
8152 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8153 (ambiguous_fun): ... this.
8154 (ambiguous_var): New.
8155
4e5a4f58
JB
81562017-09-19 John Baldwin <jhb@FreeBSD.org>
8157
8158 * gdb.base/starti.c: New file.
8159 * gdb.base/starti.exp: New file.
8160 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8161
26e53f3e
PA
81622017-09-14 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8165 (top level): Use it instead of runto.
8166
cb791d59
TT
81672017-09-11 Tom Tromey <tom@tromey.com>
8168
8169 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8170
7c96f8c1
TT
81712017-09-11 Tom Tromey <tom@tromey.com>
8172
8173 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8174 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8175
469412dd
CW
81762017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8177
8178 * gdb.fortran/printing-types.exp: New file.
8179 * gdb.fortran/printing-types.exp: New file.
8180
e0f86435
BH
81812017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8182
8183 * gdb.fortran/vla-ptype.exp: Fix typos.
8184 * gdb.fortran/vla-value.exp: Same.
8185
9e9af4be
BH
81862017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8187
8188 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8189 * gdb.mi/mi-var-child-f.exp: Likewise.
8190 * gdb.mi/mi-vla-fortran.exp: Likewise.
8191
a5ad232b 81922017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8193 Christoph Weinmann <christoph.t.weinmann@intel.com>
8194 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8195
8196 * gdb.fortran/ptr-indentation.f90: New file.
8197 * gdb.fortran/ptr-indentation.exp: New file.
8198
5aec60eb
TT
81992017-09-05 Tom Tromey <tom@tromey.com>
8200
8201 PR gdb/22010:
8202 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8203
8f8f8152
TP
82042017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8205
8206 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8207
fbd1b771
JK
82082017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8209
8210 * gdb.threads/tls-nodebug-pie.c: New file.
8211 * gdb.threads/tls-nodebug-pie.exp: New file.
8212
5eb5f850
TT
82132017-09-05 Tom Tromey <tom@tromey.com>
8214
8215 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8216 for rust.
8217
ae780a21
SM
82182017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8219
8220 * gdb.multi/multi-arch-exec.exp: Test with different
8221 "follow-exec-mode" settings.
8222 (do_test): New procedure.
8223
3693fdb3
PA
82242017-09-04 Pedro Alves <palves@redhat.com>
8225
8226 * gdb.base/func-static.c (S::method const, S::method volatile)
8227 (S::method volatile const): New methods.
8228 (c_s, v_s, cv_s): New instances.
8229 (main): Call method() on them.
8230 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8231 (cannot_resolve): New procedure.
8232 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8233 print-quote-unquoted columns.
8234 (do_test): Test printing each scope too.
8235
e68cb8e0
PA
82362017-09-04 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.base/local-static.exp: Also test with
8239 class::method::variable wholly quoted.
8240 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8241
858be34c
PA
82422017-09-04 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.base/local-static.c: New.
8245 * gdb.base/local-static.cc: New.
8246 * gdb.base/local-static.exp: New.
8247
46a4882b
PA
82482017-09-04 Pedro Alves <palves@redhat.com>
8249
8250 * gdb.asm/asm-source.exp: Add casts to int.
8251 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8252 (dataglobal64_1, dataglobal64_2): New globals.
8253 * gdb.base/nodebug.exp: Test different expressions involving the
8254 new globals, with print, whatis and ptype. Add casts to int.
8255 * gdb.base/solib-display.exp: Add casts to int.
8256 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8257 * gdb.cp/m-static.exp: Add cast to int.
8258 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8259 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8260 tls variable with no debug info without a cast. Test with a cast
8261 to int too.
8262 * gdb.trace/entry-values.exp: Add casts.
8263
2c5a2be1
PA
82642017-09-04 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.base/nodebug.exp: Test that ptype's error about functions
8267 with unknown return type includes the function name too.
8268
7022349d
PA
82692017-09-04 Pedro Alves <palves@redhat.com>
8270
8271 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8272 return type of munmap in infcall.
8273 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8274 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8275 type of ftell in infcall.
8276 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8277 type of getpid in infcall.
8278 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8279 infcall.
8280 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8281 Bail on failure to extract the pid.
8282 * gdb.base/nodebug.c: #include <stdint.h>.
8283 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8284 New functions.
8285 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8286 Change expected output of print/whatis/ptype with functions with
8287 no debug info. Test all supported languages. Call
8288 test_call_promotion.
8289 * gdb.compile/compile.exp: Adjust expected output to expect
8290 warning.
8291 * gdb.threads/siginfo-threads.exp: Likewise.
8292
54990598
PA
82932017-09-04 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8296 "prototypes". Test calling float functions via prototyped and
8297 unprototyped function pointers.
8298 (perform_all_tests): New parameter "prototypes". Pass it down.
8299 (top level): Pass down "prototypes" parameter to
8300 perform_all_tests.
8301
34d16ea2
SM
83022017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8303
8304 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8305 Test with nested loops.
8306
9521ecda
SM
83072017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8308
8309 * gdb.base/commands.exp: Call the new procedures.
8310 (loop_break_test, loop_continue_test): New procedures.
8311
80a65e9b
SM
83122017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8313
8314 * gdb.base/commands.exp: Call new procedure.
8315 (define_if_without_arg_test): New procedure.
8316
e439fa14
PA
83172017-09-04 Pedro Alves <palves@redhat.com>
8318
8319 * gdb.base/list-ambiguous.exp: New file.
8320 * gdb.base/list-ambiguous0.c: New file.
8321 * gdb.base/list-ambiguous1.c: New file.
8322 * gdb.base/list.exp (test_list_range): Adjust expected output.
8323
0a2dde4a
SDJ
83242017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8325
8326 * gdb.base/share-env-with-gdbserver.c: New file.
8327 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8328
5e89eb3a
SM
83292017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8330
8331 * gdb.base/commands.exp (gdbvar_simple_if_test,
8332 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8333 progvar_simple_if_test, progvar_simple_while_test,
8334 progvar_complex_if_while_test, user_defined_command_test,
8335 user_defined_command_args_eval,
8336 user_defined_command_args_stack_test,
8337 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8338 temporary_breakpoint_commands,
8339 gdb_test_no_prompt, redefine_hook_test,
8340 redefine_backtrace_test): Remove "global gdb_prompt".
8341
fd437cbc
SM
83422017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8343
8344 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8345 New proc, call it from toplevel.
8346
87215ad1
SDJ
83472017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8348
8349 PR remote/21852
8350 * gdb.server/normal.c: New file, copied from gdb.base.
8351 * gdb.server/run-without-local-binary.exp: New file.
8352
58afddc6
WP
83532017-08-07 Weimin Pan <weimin.pan@oracle.com>
8354
8355 * gdb.arch/sparc64-adi.exp: New file.
8356 * gdb.arch/sparc64-adi.c: New file.
8357
5277199a
PA
83582017-08-22 Pedro Alves <palves@redhat.com>
8359
8360 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8361 (top level): Add "list all overloads" tests.
8362
14278e1f
TT
83632017-08-22 Tom Tromey <tom@tromey.com>
8364
8365 * gdb.gdb/xfullpath.exp: Remove.
8366
bf223d3e
PA
83672017-08-21 Pedro Alves <palves@redhat.com>
8368
8369 PR gdb/19487
8370 * gdb.base/symbol-alias.c: New.
8371 * gdb.base/symbol-alias2.c: New.
8372 * gdb.base/symbol-alias.exp: New.
8373
c973d0aa
PA
83742017-08-21 Pedro Alves <palves@redhat.com>
8375
8376 * gdb.base/dfp-test.c
8377 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8378 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8379 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8380 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8381 * gdb.base/whatis-ptype-typedefs.c: New.
8382 * gdb.base/whatis-ptype-typedefs.exp: New.
8383 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8384 (an_int, an_int_type, an_int_type2): New globals.
8385 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8386 involving typedefs and cast expressions.
8387 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8388 (lookup_typedefs_function): New.
8389 (typedefs_pretty_printers_dict): New.
8390 (top level): Register lookup_typedefs_function in
8391 gdb.pretty_printers.
8392
6d580b63
YQ
83932017-08-18 Yao Qi <yao.qi@linaro.org>
8394
8395 * gdb.server/unittest.exp: New.
8396
206726fb
SDJ
83972017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8398
8399 PR gdb/21954
8400 * gdb.base/environ.exp: Add test to check if 'unset environment'
8401 works.
8402
bf0ec4c2
AA
84032017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8404
8405 * lib/gdb.exp (universal_compile_options): New caching proc.
8406 (gdb_compile): Suppress GCC's coloring of messages.
8407
d6382fff
TT
84082017-08-14 Tom Tromey <tom@tromey.com>
8409
8410 PR gdb/21675:
8411 * gdb.base/printcmds.exp (test_radices): New function.
8412 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8413 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8414 * lib/gdb.exp (get_integer_valueof): Use p/d.
8415
c2c2dd9f
SM
84162017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8417
8418 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8419 characters.
8420
fdffd6f4
TT
84212017-08-05 Tom Tromey <tom@tromey.com>
8422
8423 * gdb.rust/simple.exp: Allow String to appear in a different
8424 namespace.
8425
27d41eac
YQ
84262017-07-26 Yao Qi <yao.qi@linaro.org>
8427
8428 * gdb.gdb/unittest.exp: Invoke command
8429 "maintenance check xml-descriptions".
8430
031ed05d
AA
84312017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8432
8433 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8434 calling context.
8435 (hex128): Drop erroneous calculation of parameters.
8436
dcd27ddf
SM
84372017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8438
8439 * gdb.python/py-unwind.exp: Disable stack protection when
8440 building test file.
8441
47e77640
PA
84422017-07-20 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.base/default.exp (set language): Adjust expected output.
8445
62d2a18a
PA
84462017-07-20 Pedro Alves <palves@redhat.com>
8447
8448 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8449 (test_minsym): ... this, and make static.
8450 (get_pck__foo__bar__minsym): Rename to ...
8451 (get_test_minsym): ... this.
8452 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8453 symbol names and comments.
8454 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8455 (get_test_minsym): ... this.
8456 (pck__foo__bar__minsym__2): Rename to ...
8457 (test_minsym): ... this.
8458 (main): Adjust.
8459
c45ec17c
PA
84602017-07-17 Pedro Alves <palves@redhat.com>
8461
8462 * gdb.base/completion.exp: Adjust expected output.
8463 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8464 the completer works.
8465
c6756f62
PA
84662017-07-17 Pedro Alves <palves@redhat.com>
8467
8468 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8469
5bd68487
AB
84702017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8471
8472 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8473
8880f2a9
TT
84742017-07-14 Tom Tromey <tom@tromey.com>
8475
8476 PR rust/21764:
8477 * gdb.rust/simple.exp: Add tests.
8478
65547233
TT
84792017-07-14 Tom Tromey <tom@tromey.com>
8480
8481 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8482
8f14146e
PA
84832017-07-14 Pedro Alves <palves@redhat.com>
8484
8485 * gdb.linespec/base/one/thefile.cc (z1): New function.
8486 * gdb.linespec/base/two/thefile.cc (z2): New function.
8487 * gdb.linespec/linespec.exp: Add tests.
8488
b4365d02
AB
84892017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8490
8491 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8492 to mi_create_breakpoint.
8493
5d2cbaa5
AB
84942017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8495
8496 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8497 mi_create_breakpoint.
8498
11cb5716
IB
84992017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8500
8501 * gdb.dlang/demangle.exp: Update for demangling changes.
8502
03278692
TT
85032017-07-09 Tom Tromey <tom@tromey.com>
8504
8505 * gdb.dwarf2/shortpiece.exp: New file.
8506
33c5cd75
DB
85072017-07-06 David Blaikie <dblaikie@gmail.com>
8508
8509 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8510 built from fissiont-multi-cu{1,2}.c.
8511 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8512 except putting 'main' and 'func' in separate CUs in the same DWO file.
8513 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8514 test.
8515 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8516 test.
8517
8455d262
PA
85182017-07-06 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.python/py-unwind.exp: Test flushregs.
8521
dc4bde35
SDJ
85222017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8523
8524 PR cli/21688
8525 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8526 tests for alias commands and trailing whitespace.
8527
51ed89aa
SDJ
85282017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8529
8530 PR cli/21688
8531 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8532 procedure. Call it.
8533
eb17d413
PA
85342017-06-29 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/printcmds.exp: Add tests.
8537
41664b45
DG
85382017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8539
8540 PR gdb/21337
8541 * gdb.base/reread-readsym.exp: New file.
8542 * gdb.base/reread-readsym.c: New file.
8543
75312ae3
KB
85442017-06-21 Kevin Buettner <kevinb@redhat.com>
8545
8546 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8547 subpattern.
8548
66953522
PB
85492017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8550
8551 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8552 extended mnemonic.
8553 * gdb.arch/powerpc-power9.s: Likewise.
8554
5524b525
AA
85552017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8556
8557 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8558 on 32-bit x86 targets. Exploit is_*_target macros where
8559 appropriate.
8560
03c8af18
AA
85612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8562
8563 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8564 register pieces.
8565
3bf31011
AA
85662017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8567
8568 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8569 located in one or more DWARF pieces.
8570
805acca0
AA
85712017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8572
8573 * lib/gdb.exp (get_endianness): New proc.
8574 * gdb.arch/aarch64-fp.exp: Use it.
8575 * gdb.arch/altivec-regs.exp: Likewise.
8576 * gdb.arch/e500-regs.exp: Likewise.
8577 * gdb.arch/vsx-regs.exp: Likewise.
8578 * gdb.base/dump.exp: Likewise.
8579 * gdb.base/funcargs.exp: Likewise.
8580 * gdb.base/gnu_vector.exp: Likewise.
8581 * gdb.dwarf2/formdata16.exp: Likewise.
8582 * gdb.dwarf2/implptrpiece.exp: Likewise.
8583 * gdb.dwarf2/nonvar-access.exp: Likewise.
8584 * gdb.python/py-inferior.exp: Likewise.
8585 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8586
e9352324
AA
85872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8588
8589 PR gdb/21226
8590 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8591 stack value pieces are taken from the LSB end.
8592
d5d1163e
AA
85932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8594
8595 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8596 variable at nonzero offset.
8597
0567c986
AA
85982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8599
8600 * gdb.dwarf2/var-access.c: New file.
8601 * gdb.dwarf2/var-access.exp: New test.
8602 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8603
973e9aab
TT
86042017-06-12 Tom Tromey <tom@tromey.com>
8605
8606 * gdb.dwarf2/formdata16.exp: Add tests.
8607
d9109c80
TT
86082017-06-12 Tom Tromey <tom@tromey.com>
8609
8610 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8611
30a25466
TT
86122017-06-12 Tom Tromey <tom@tromey.com>
8613
8614 PR exp/16225:
8615 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8616 * gdb.arch/vsx-regs.exp: Update tests.
8617 * gdb.arch/s390-vregs.exp (hex128): New proc.
8618 Update test.
8619 * gdb.arch/altivec-regs.exp: Update tests.
8620
aefd8b33
SDJ
86212017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8622
8623 * gdb.base/startup-with-shell.c: New file.
8624 * gdb.base/startup-with-shell.exp: Likewise.
8625
2090129c
SDJ
86262017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8627
8628 * gdb.server/non-existing-program.exp: Update regex in order to
8629 reflect the fact that gdbserver is now using fork_inferior (with a
8630 shell) to startup the inferior.
8631
8e86a419
SM
86322017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8633
8634 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8635 support function calls from GDB.
8636
e6cf65f2
TT
86372017-05-21 Tom Tromey <tom@tromey.com>
8638
8639 PR rust/21466:
8640 * gdb.rust/unsized.exp: New file.
8641 * gdb.rust/unsized.rs: New file.
8642
43cc5389
TT
86432017-05-19 Tom Tromey <tom@tromey.com>
8644
8645 PR rust/21484:
8646 * gdb.rust/watch.exp: New file.
8647 * gdb.rust/watch.rs: New file.
8648
ec8df234
TT
86492017-05-18 Tom Tromey <tom@tromey.com>
8650
8651 * gdb.rust/simple.exp: Allow Box to be qualified.
8652
3e3e7fae
TP
86532017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8654
8655 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8656
59cc050d
PA
86572017-05-18 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.base/fileio.c (test_write, test_read, test_close)
8660 (test_fstat): Don't print 'ret' in the fail path.
8661
c8f6abd1
PA
86622017-05-18 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8665 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8666 (test_system, test_rename, test_unlink, test_time): Change
8667 prototypes.
8668 * gdb.base/fileio.exp (stop_msg): Adjust.
8669
d2a03b77
PA
86702017-05-18 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.base/fileio.c (null_str): New global.
8673 (test_stat): Use it.
8674 * gdb.base/fileio.exp: Remove nowarnings.
8675
0d5c6999
YQ
86762017-05-17 Yao Qi <yao.qi@linaro.org>
8677
8678 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8679
21873064
YQ
86802017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8681
8682 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8683 argument command.
8684 (top-level): Invoke test_set_inferior_tty.
8685
d512d31c
PA
86862017-05-04 Pedro Alves <palves@redhat.com>
8687
8688 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8689 Add parens to print call for Python 3.
8690
90cef2ed
KS
86912017-05-03 Keith Seitz <keiths@redhat.com>
8692
8693 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8694 (main): Call it.
8695
14f819c8
TW
86962017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8697
8698 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8699 to prev and next.
8700
913aeadd
TW
87012017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8702
8703 * gdb.python/py-record-btrace.exp: Remove test for
8704 gdb.BtraceInstruction.error.
8705
a3be24ad
TW
87062017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8707
8708 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8709
ae20e79a
TW
87102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8711
8712 * gdb.python/py-record-btrace-threads.c: New file.
8713 * gdb.python/py-record-btrace-threads.exp: New file.
8714
45ce1b47
SDJ
87152017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8716
8717 PR testsuite/8595
8718 * gdb.base/environ.exp: Make test available in all architectures.
8719 Move bits related to "info program" testing to
8720 gdb.base/info-program.exp. Rewrite tests to use the two new
8721 procedures mentione below.
8722 (test_set_show_env_var) New procedure.
8723 (test_set_show_env_var_equal): Likewise.
8724 * gdb.base/info-program.exp: New file.
8725
e15c3eb4
KS
87262017-04-27 Keith Seitz <keiths@redhat.com>
8727
8728 * gdb.cp/oranking.cc (test15): New function.
8729 (main): Call test15 and declare additional variables for testing.
8730 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8731 "p foo101('abc')" tests.
8732 Add tests for cv qualifier overloads.
8733 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8734 "lvalue reference overload" test.
8735 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8736 "print value of f1 on Child&& in f2" test.
8737
3a3fd0fd
PA
87382017-04-19 Pedro Alves <palves@redhat.com>
8739
8740 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8741 procedure.
8742 (top level): Call it.
8743 * lib/gdb.exp (gdb_define_cmd): New procedure.
8744
53375380
PA
87452017-04-12 Pedro Alves <palves@redhat.com>
8746
8747 PR gdb/21323
8748 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8749 (wchar): New global.
8750 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8751 (do_test_wide_char, wide_char_types_no_program, top level): Add
8752 wchar_t testing.
8753
53e710ac
PA
87542017-04-12 Pedro Alves <palves@redhat.com>
8755
8756 PR c++/21323
8757 * gdb.cp/wide_char_types.c: New file.
8758 * gdb.cp/wide_char_types.exp: New file.
8759
0ad9d8c7
SDJ
87602017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8761
8762 PR gdb/21352
8763 * gdb.trace/tsv.exp: Add test for "tsave -r".
8764
b1b45502
IB
87652017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8766
8767 * gdb.dlang/watch-loc.c: New file.
8768 * gdb.dlang/watch-loc.exp: New file.
8769
ec13808e
JK
87702017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8771
8772 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8773
fe5f7374
AK
87742017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8775
8776 * gdb.arch/arc-analyze-prologue.S: New file.
8777 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8778
eea78757
AK
87792017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8780
8781 * gdb.arch/arc-decode-insn.S: New file.
8782 * gdb.arch/arc-decode-insn.exp: Likewise.
8783
5badf10a
IR
87842017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8785
8786 PR tdep/20928
8787 * gdb.arch/sparc64-regs.exp: New file.
8788 * gdb.arch/sparc64-regs.S: Likewise.
8789
cee59b3f
TW
87902017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8791
8792 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8793 and memory view on Python 3.
8794
c0f55cc6
AV
87952017-03-20 Artemiy Volkov <artemiyv@acm.org>
8796 Keith Seitz <keiths@redhat.com>
8797
8798 PR gdb/14441
8799 * gdb.cp/demangle.exp: Add rvalue reference tests.
8800 * gdb.cp/rvalue-ref-casts.cc: New file.
8801 * gdb.cp/rvalue-ref-casts.exp: New file.
8802 * gdb.cp/rvalue-ref-overload.cc: New file.
8803 * gdb.cp/rvalue-ref-overload.exp: New file.
8804 * gdb.cp/rvalue-ref-params.cc: New file.
8805 * gdb.cp/rvalue-ref-params.exp: New file.
8806 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8807 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8808 * gdb.cp/rvalue-ref-types.cc: New file.
8809 * gdb.cp/rvalue-ref-types.exp: New file.
8810 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8811 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8812
51457a05
MAL
88132017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8814
8815 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8816 New procedure.
8817
5b291c04
MAL
88182017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8819
8820 * lib/mi-support.exp (mi_gdb_test): Add additional message
8821 for unexpected output.
8822
59a56148
AA
88232017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8824
8825 * gdb.base/examine-backward.c (Barrier): New character array
8826 constant, to ensure that TestStrings is preceded by a string
8827 terminator.
8828
7942e96e
AA
88292017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8830
8831 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8832 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8833 and implicit pointer into such a location.
8834
6ebac3fb
DE
88352017-03-16 Doug Evans <dje@google.com>
8836
8837 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8838
ec3b243d
TP
88392017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8840
8841 * gdb.cp/m-static.exp: Fix expectation for prototype of
8842 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8843
88442017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8845
8846 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8847 * gdb.guile/scm-lazy-string.c: New file.
8848 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8849 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8850 for pointer, array, typedef lazy strings.
8851
2cc36e25 88522017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8853
8854 PR python/17728, python/18439, python/18779
8855 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8856 * gdb.python/py-lazy-string.c (pointer): New typedef.
8857 (main): New locals ptr, array, typedef_ptr.
8858 * gdb.python/py-value.exp: Move lazy string tests to ...
8859 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8860 array, typedef lazy strings.
ec3b243d 8861
0efcde63
AK
88622017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8863
8864 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8865 Add optional 'test' parameter.
8866
7978d7c3
SM
88672017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8868
8869 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8870 Skip for versions of DejaGnu < 1.5.
8871
896c0c1e
SM
88722017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8873
8874 * lib/gdb.exp (dejagnu_version): New proc.
8875 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8876 Use dejagnu_version.
8877
5f4d1085
KS
88782017-03-10 Keith Seitz <keiths@redhat.com>
8879
8880 PR c++/8128
8881 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8882 type from destructor regexps.
8883 Add a branch which actually passes the test.
8884 Adjust "ptype t5i" test names.
8885
1de05205
PA
88862017-03-08 Pedro Alves <palves@redhat.com>
8887
8888 * gdb.base/step-over-exit.exp: Add explicit test message.
8889
c65d6b55
PA
88902017-03-08 Pedro Alves <palves@redhat.com>
8891
8892 PR gdb/18360
8893 * gdb.threads/interrupt-while-step-over.c: New file.
8894 * gdb.threads/interrupt-while-step-over.exp: New file.
8895
2e86a283
PA
88962017-03-08 Pedro Alves <palves@redhat.com>
8897
8898 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8899 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8900
25dcbff6
PA
89012017-03-08 Pedro Alves <palves@redhat.com>
8902
8903 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8904 PKRU as not supported as a PASS.
8905
dc9366eb
PA
89062017-03-08 Pedro Alves <palves@redhat.com>
8907
8908 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8909 prefix instead of $binfile1/$binfile2.
8910 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8911 in test message.
8912 * gdb.python/py-completion.exp: Use "load python file" as test
8913 messages instead of unstable path names.
8914
6e5d74e7
PA
89152017-03-08 Pedro Alves <palves@redhat.com>
8916 Jan Kratochvil <jan.kratochvil@redhat.com>
8917
8918 PR cli/21218
8919 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8920 New proc.
8921 (top level): Call it.
8922
9753a2f6
PA
89232017-03-08 Pedro Alves <palves@redhat.com>
8924
8925 PR tui/21216
8926 * gdb.tui/tui-nl-filtered-output.exp: New file.
8927
1a4dd9dd
PA
89282017-03-08 Pedro Alves <palves@redhat.com>
8929
8930 * gdb.base/completion.exp: Move TUI completion tests to ...
8931 * gdb.tui/completion.exp: ... this new file.
8932
7cbbff33
PA
89332017-03-08 Pedro Alves <palves@redhat.com>
8934
8935 * gdb.base/tui-disasm-long-lines.c,
8936 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8937 gdb.base/tui-layout.exp: Move to ...
8938 * gdb.tui/: ... this new directory.
8939
5f6fd321
PA
89402017-03-07 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.base/tui-layout.c: New file.
8943 * gdb.base/tui-layout.exp: New file.
8944
44959fa8
PA
89452017-03-07 Pedro Alves <palves@redhat.com>
8946
8947 * gdb.base/tui-layout.c: Rename to ...
8948 * gdb.base/tui-disasm-long-lines.c: ... this.
8949 * gdb.base/tui-layout.exp: Rename to ...
8950 * gdb.base/tui-disasm-long-lines.exp: ... this.
8951
f8c4e718
PA
89522017-03-07 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8955
6dbb839a 89562017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8957
8958 * i386-mpx-call.c: New file.
8959 * i386-mpx-call.exp: New file.
8960
65b48a81
PB
89612017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8962
8963 * gdb.arch/powerpc-power.exp: Delete test.
8964 * gdb.arch/powerpc-power.s: Likewise.
8965 * gdb.disasm/disassembler-options.exp: New test.
8966 * gdb.arch/powerpc-altivec.exp: Likewise.
8967 * gdb.arch/powerpc-altivec.s: Likewise.
8968 * gdb.arch/powerpc-altivec2.exp: Likewise.
8969 * gdb.arch/powerpc-altivec2.s: Likewise.
8970 * gdb.arch/powerpc-altivec3.exp: Likewise.
8971 * gdb.arch/powerpc-altivec3.s: Likewise.
8972 * gdb.arch/powerpc-power7.exp: Likewise.
8973 * gdb.arch/powerpc-power7.s: Likewise.
8974 * gdb.arch/powerpc-power8.exp: Likewise.
8975 * gdb.arch/powerpc-power8.s: Likewise.
8976 * gdb.arch/powerpc-power9.exp: Likewise.
8977 * gdb.arch/powerpc-power9.s: Likewise.
8978 * gdb.arch/powerpc-vsx.exp: Likewise.
8979 * gdb.arch/powerpc-vsx.s: Likewise.
8980 * gdb.arch/powerpc-vsx2.exp: Likewise.
8981 * gdb.arch/powerpc-vsx2.s: Likewise.
8982 * gdb.arch/powerpc-vsx3.exp: Likewise.
8983 * gdb.arch/powerpc-vsx3.s: Likewise.
8984 * gdb.arch/arm-disassembler-options.exp: Likewise.
8985 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8986 * gdb.arch/s390-disassembler-options.exp: Likewise.
8987
17cd4947
LM
89882017-02-23 Luis Machado <lgustavo@codesourcery.com>
8989
8990 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8991 (check_supported_features): ... this. Changed return type to void.
8992 (supports_rdseed): New static global.
8993 (rdseed): Check supports_rdseed.
8994 (initialize): Call check_supported_features.
8995
2039d74e
EBM
89962017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8997
8998 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8999 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9000 and lqarx/stqcx.
9001 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9002 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9003
a51d7ecf
EBM
90042017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9005
9006 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9007 uppercase.
9008
0224619f
JK
90092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.dwarf2/formdata16.c: New file.
9012 * gdb.dwarf2/formdata16.exp: New file.
9013 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9014
216f72a1
JK
90152017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9016
9017 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9018 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9019 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9020 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9021 DW_AT_GNU_*.
9022
43988095
JK
90232017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9024
9025 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9026
99e8a4f9
SDJ
90272017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9028
9029 PR gdb/21164
9030 * gdb.base/maint.exp: Add testcases for when the commands do
9031 not have arguments.
9032
b58a8c0c
TP
90332017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9034
9035 * gdb.cp/chained-calls.exp: Use p instead of P.
9036
4e746bb6
TW
90372017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9038
9039 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9040 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9041
3f77c769
TT
90422017-02-14 Tom Tromey <tom@tromey.com>
9043
9044 PR python/13598:
9045 * gdb.python/py-events.exp: Add before_prompt event tests.
9046
075beec0
AA
90472017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9048
9049 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9050
bf5f525c
LM
90512017-02-13 Luis Machado <lgustavo@codesourcery.com>
9052
9053 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9054 (main): Call my_unique_function_name.
9055 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9056 completion of patterns with a single match.
9057 Add missing -re switches to gdb_test_multiple calls.
9058
13a66184
LM
90592017-02-13 Luis Machado <lgustavo@codesourcery.com>
9060
9061 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9062 return if core file is not recognized.
9063
26a06916
SM
90642017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9065
9066 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9067 and extra UIs.
9068
b761ca9e
SM
90692017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9070
9071 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9072 proc_with_prefix.
9073
b964bee0
TT
90742017-02-10 Tom Tromey <tom@tromey.com>
9075
9076 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9077
18da0c51
MG
90782017-02-10 Martin Galvan <martingalvan@sourceware.org>
9079
9080 PR gdb/21122
9081 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9082
604c4576
JG
90832017-02-08 Jerome Guitton <guitton@adacore.com>
9084
9085 * gdb.base/define.exp: Add test for command abbreviations
9086 in define.
9087
20b477a7
LM
90882017-02-06 Luis Machado <lgustavo@codesourcery.com>
9089
9090 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9091 * gdb.reverse/insn-reverse-x86.c: New file.
9092
3f7b46f2
IR
90932017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9094
9095 PR tdep/20936
9096 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9097
f0fd41c1
TT
90982017-02-03 Tom Tromey <tom@tromey.com>
9099
9100 PR rust/21097:
9101 * gdb.rust/simple.exp: Add new tests.
9102
5be5dbf0
PA
91032017-02-02 Pedro Alves <palves@redhat.com>
9104
9105 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9106 tests.
9107
7346ef59
AA
91082017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9109
9110 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9111 taking a 2-byte value out of a 4-byte DWARF implicit value on
9112 big-endian targets.
9113 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9114 logic. Add test cases for DW_OP_implicit.
9115
787f0025
MM
91162017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9117
9118 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9119
68777c29
MM
91202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9121
9122 * gdb.btrace/enable.exp: Call gdb_exit before
9123 skip_gdbserver_tests.
9124
0a1c7e28
MM
91252017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9126
9127 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9128 GDBFLAGS.
9129
b5ac99b0
MM
91302017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9131
9132 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9133 the test is skipped.
9134 * gdb.btrace/data.exp: Likewise.
9135 * gdb.btrace/delta.exp: Likewise.
9136 * gdb.btrace/dlopen.exp: Likewise.
9137 * gdb.btrace/enable-running.exp: Likewise.
9138 * gdb.btrace/enable.exp: Likewise.
9139 * gdb.btrace/exception.exp: Likewise.
9140 * gdb.btrace/function_call_history.exp: Likewise.
9141 * gdb.btrace/gcore.exp: Likewise.
9142 * gdb.btrace/instruction_history.exp: Likewise.
9143 * gdb.btrace/multi-thread-step.exp: Likewise.
9144 * gdb.btrace/nohist.exp: Likewise.
9145 * gdb.btrace/non-stop.exp: Likewise.
9146 * gdb.btrace/reconnect.exp: Likewise.
9147 * gdb.btrace/record_goto-step.exp: Likewise.
9148 * gdb.btrace/record_goto.exp: Likewise.
9149 * gdb.btrace/rn-dl-bind.exp: Likewise.
9150 * gdb.btrace/segv.exp: Likewise.
9151 * gdb.btrace/step.exp: Likewise.
9152 * gdb.btrace/stepi.exp: Likewise.
9153 * gdb.btrace/tailcall-only.exp: Likewise.
9154 * gdb.btrace/tailcall.exp: Likewise.
9155 * gdb.btrace/tsx.exp: Likewise.
9156 * gdb.btrace/unknown_functions.exp: Likewise.
9157 * gdb.btrace/vdso.exp: Likewise.
9158
cd4007e4
MM
91592017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9160
9161 * gdb.btrace/enable-running.c: New.
9162 * gdb.btrace/enable-running.exp: New.
9163
2735833d
WT
91642017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9165
9166 * gdb.arch/amd64-gs_base.c: New file.
9167 * gdb.arch/amd64-gs_base.exp: New file.
9168
b51e1e94
LM
91692017-01-26 Luis Machado <lgustavo@codesourcery.com>
9170
9171 * lib/memory.exp: Remove spurious empty newlines.
9172
72ca0410
SM
91732017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9174
9175 * gdb.python/py-bad-printers.exp: Load python file using "source".
9176 * gdb.python/py-events.exp: Likewise.
9177 * gdb.python/py-evsignal.exp: Likewise.
9178 * gdb.python/py-evthreads.exp: Likewise.
9179 * gdb.python/py-frame-args.exp: Likewise.
9180 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9181 * gdb.python/py-framefilter-mi.exp: Likewise.
9182 * gdb.python/py-framefilter.exp: Likewise.
9183 * gdb.python/py-mi.exp: Likewise.
9184 * gdb.python/py-pp-maint.exp: Likewise.
9185 * gdb.python/py-pp-registration.exp: Likewise.
9186 * gdb.python/py-prettyprint.exp: Likewise.
9187 (run_lang_tests): Likewise.
9188 * gdb.python/py-typeprint.exp: Likewise.
9189
e309aa65
LM
91902017-01-26 Luis Machado <lgustavo@codesourcery.com>
9191
9192 * lib/memory.exp: New file.
9193 * lib/gdb.exp: Load memory.exp.
9194 * gdb.base/memattr.exp (delete_memory): Move proc to
9195 lib/memory.exp and rename to delete_memory_regions.
9196 Replace delete_memory with delete_memory_regions.
9197 Cleanup memory regions before tests.
9198 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9199 before tests.
9200
515aff23
LM
92012017-01-26 Luis Machado <lgustavo@codesourcery.com>
9202
9203 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9204 files.
9205 (initialize): New function conditionally defined.
9206 (testcases): Move within conditional block.
9207 (main): Call initialize.
9208 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9209 of gdb.reverse/insn-reverse.c.
9210 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9211 gdb.reverse/insn-reverse.c.
9212
d8b49cf0
YQ
92132017-01-26 Yao Qi <yao.qi@linaro.org>
9214
9215 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9216 disassemble on address 0.
9217
f13a9a0c
YQ
92182017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9219 Yao Qi <yao.qi@linaro.org>
9220
9221 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9222 * gdb.dwarf2/implptr-64bit.S: Remove.
9223 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9224 variables in caller's context. Add DW_OP_implicit_value.
9225
5ac95241
YQ
92262017-01-25 Yao Qi <yao.qi@linaro.org>
9227
9228 * lib/dwarf.exp (Dwarf::_location): Handle
9229 DW_OP_GNU_implicit_pointer with proper size.
9230
23e82930
LM
92312017-01-20 Luis Machado <lgustavo@codesourcery.com>
9232
9233 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9234 and add untested calls.
9235
d334ae25
LM
92362017-01-20 Luis Machado <lgustavo@codesourcery.com>
9237
9238 * gdb.python/python.exp: Check line number against what GDB thinks
9239 the line number is for func1.
9240
f5e6296e
IB
92412017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9242
9243 * gdb.dlang/debug-expr.exp: New file.
9244
5b362f04
LM
92452016-12-23 Luis Machado <lgustavo@codesourcery.com>
9246
9247 Fix test names for the following files:
9248
9249 * gdb.ada/exec_changed.exp
9250 * gdb.ada/info_types.exp
9251 * gdb.arch/aarch64-atomic-inst.exp
9252 * gdb.arch/aarch64-fp.exp
9253 * gdb.arch/altivec-abi.exp
9254 * gdb.arch/altivec-regs.exp
9255 * gdb.arch/amd64-byte.exp
9256 * gdb.arch/amd64-disp-step.exp
9257 * gdb.arch/amd64-dword.exp
9258 * gdb.arch/amd64-entry-value-inline.exp
9259 * gdb.arch/amd64-entry-value-param.exp
9260 * gdb.arch/amd64-entry-value-paramref.exp
9261 * gdb.arch/amd64-entry-value.exp
9262 * gdb.arch/amd64-i386-address.exp
9263 * gdb.arch/amd64-invalid-stack-middle.exp
9264 * gdb.arch/amd64-invalid-stack-top.exp
9265 * gdb.arch/amd64-optimout-repeat.exp
9266 * gdb.arch/amd64-prologue-skip.exp
9267 * gdb.arch/amd64-prologue-xmm.exp
9268 * gdb.arch/amd64-stap-special-operands.exp
9269 * gdb.arch/amd64-stap-wrong-subexp.exp
9270 * gdb.arch/amd64-tailcall-cxx.exp
9271 * gdb.arch/amd64-tailcall-noret.exp
9272 * gdb.arch/amd64-tailcall-ret.exp
9273 * gdb.arch/amd64-tailcall-self.exp
9274 * gdb.arch/amd64-word.exp
9275 * gdb.arch/arm-bl-branch-dest.exp
9276 * gdb.arch/arm-disp-step.exp
9277 * gdb.arch/arm-neon.exp
9278 * gdb.arch/arm-single-step-kernel-helper.exp
9279 * gdb.arch/avr-flash-qualifier.exp
9280 * gdb.arch/disp-step-insn-reloc.exp
9281 * gdb.arch/e500-abi.exp
9282 * gdb.arch/e500-regs.exp
9283 * gdb.arch/ftrace-insn-reloc.exp
9284 * gdb.arch/i386-avx512.exp
9285 * gdb.arch/i386-bp_permanent.exp
9286 * gdb.arch/i386-byte.exp
9287 * gdb.arch/i386-cfi-notcurrent.exp
9288 * gdb.arch/i386-disp-step.exp
9289 * gdb.arch/i386-dr3-watch.exp
9290 * gdb.arch/i386-float.exp
9291 * gdb.arch/i386-gnu-cfi.exp
9292 * gdb.arch/i386-mpx-map.exp
9293 * gdb.arch/i386-mpx-sigsegv.exp
9294 * gdb.arch/i386-mpx-simple_segv.exp
9295 * gdb.arch/i386-mpx.exp
9296 * gdb.arch/i386-permbkpt.exp
9297 * gdb.arch/i386-prologue.exp
9298 * gdb.arch/i386-signal.exp
9299 * gdb.arch/i386-size-overlap.exp
9300 * gdb.arch/i386-unwind.exp
9301 * gdb.arch/i386-word.exp
9302 * gdb.arch/mips-fcr.exp
9303 * gdb.arch/powerpc-d128-regs.exp
9304 * gdb.arch/powerpc-stackless.exp
9305 * gdb.arch/ppc64-atomic-inst.exp
9306 * gdb.arch/s390-stackless.exp
9307 * gdb.arch/s390-tdbregs.exp
9308 * gdb.arch/s390-vregs.exp
9309 * gdb.arch/sparc-sysstep.exp
9310 * gdb.arch/thumb-bx-pc.exp
9311 * gdb.arch/thumb-singlestep.exp
9312 * gdb.arch/thumb2-it.exp
9313 * gdb.arch/vsx-regs.exp
9314 * gdb.asm/asm-source.exp
9315 * gdb.base/a2-run.exp
9316 * gdb.base/advance.exp
9317 * gdb.base/all-bin.exp
9318 * gdb.base/anon.exp
9319 * gdb.base/args.exp
9320 * gdb.base/arithmet.exp
9321 * gdb.base/async-shell.exp
9322 * gdb.base/async.exp
9323 * gdb.base/attach-pie-noexec.exp
9324 * gdb.base/attach-twice.exp
9325 * gdb.base/auto-load.exp
9326 * gdb.base/bang.exp
9327 * gdb.base/bitfields.exp
9328 * gdb.base/break-always.exp
9329 * gdb.base/break-caller-line.exp
9330 * gdb.base/break-entry.exp
9331 * gdb.base/break-inline.exp
9332 * gdb.base/break-on-linker-gcd-function.exp
9333 * gdb.base/break-probes.exp
9334 * gdb.base/break.exp
9335 * gdb.base/breakpoint-shadow.exp
9336 * gdb.base/call-ar-st.exp
9337 * gdb.base/call-sc.exp
9338 * gdb.base/call-signal-resume.exp
9339 * gdb.base/call-strs.exp
9340 * gdb.base/callfuncs.exp
9341 * gdb.base/catch-fork-static.exp
9342 * gdb.base/catch-gdb-caused-signals.exp
9343 * gdb.base/catch-load.exp
9344 * gdb.base/catch-signal-fork.exp
9345 * gdb.base/catch-signal.exp
9346 * gdb.base/catch-syscall.exp
9347 * gdb.base/charset.exp
9348 * gdb.base/checkpoint.exp
9349 * gdb.base/chng-syms.exp
9350 * gdb.base/code-expr.exp
9351 * gdb.base/code_elim.exp
9352 * gdb.base/commands.exp
9353 * gdb.base/completion.exp
9354 * gdb.base/complex.exp
9355 * gdb.base/cond-expr.exp
9356 * gdb.base/condbreak.exp
9357 * gdb.base/consecutive.exp
9358 * gdb.base/continue-all-already-running.exp
9359 * gdb.base/coredump-filter.exp
9360 * gdb.base/corefile.exp
9361 * gdb.base/dbx.exp
9362 * gdb.base/debug-expr.exp
9363 * gdb.base/define.exp
9364 * gdb.base/del.exp
9365 * gdb.base/disabled-location.exp
9366 * gdb.base/disasm-end-cu.exp
9367 * gdb.base/disasm-optim.exp
9368 * gdb.base/display.exp
9369 * gdb.base/duplicate-bp.exp
9370 * gdb.base/ena-dis-br.exp
9371 * gdb.base/ending-run.exp
9372 * gdb.base/enumval.exp
9373 * gdb.base/environ.exp
9374 * gdb.base/eu-strip-infcall.exp
9375 * gdb.base/eval-avoid-side-effects.exp
9376 * gdb.base/eval-skip.exp
9377 * gdb.base/exitsignal.exp
9378 * gdb.base/expand-psymtabs.exp
9379 * gdb.base/filesym.exp
9380 * gdb.base/find-unmapped.exp
9381 * gdb.base/finish.exp
9382 * gdb.base/float.exp
9383 * gdb.base/foll-exec-mode.exp
9384 * gdb.base/foll-exec.exp
9385 * gdb.base/foll-fork.exp
9386 * gdb.base/fortran-sym-case.exp
9387 * gdb.base/freebpcmd.exp
9388 * gdb.base/func-ptr.exp
9389 * gdb.base/func-ptrs.exp
9390 * gdb.base/funcargs.exp
9391 * gdb.base/gcore-buffer-overflow.exp
9392 * gdb.base/gcore-relro-pie.exp
9393 * gdb.base/gcore-relro.exp
9394 * gdb.base/gcore.exp
9395 * gdb.base/gdb1090.exp
9396 * gdb.base/gdb11530.exp
9397 * gdb.base/gdb11531.exp
9398 * gdb.base/gdb1821.exp
9399 * gdb.base/gdbindex-stabs.exp
9400 * gdb.base/gdbvars.exp
9401 * gdb.base/hbreak.exp
9402 * gdb.base/hbreak2.exp
9403 * gdb.base/included.exp
9404 * gdb.base/infcall-input.exp
9405 * gdb.base/inferior-died.exp
9406 * gdb.base/infnan.exp
9407 * gdb.base/info-macros.exp
9408 * gdb.base/info-os.exp
9409 * gdb.base/info-proc.exp
9410 * gdb.base/info-shared.exp
9411 * gdb.base/info-target.exp
9412 * gdb.base/infoline.exp
9413 * gdb.base/interp.exp
9414 * gdb.base/interrupt.exp
9415 * gdb.base/jit-reader.exp
9416 * gdb.base/jit-simple.exp
9417 * gdb.base/kill-after-signal.exp
9418 * gdb.base/kill-detach-inferiors-cmd.exp
9419 * gdb.base/label.exp
9420 * gdb.base/langs.exp
9421 * gdb.base/ldbl_e308.exp
9422 * gdb.base/line-symtabs.exp
9423 * gdb.base/linespecs.exp
9424 * gdb.base/list.exp
9425 * gdb.base/long_long.exp
9426 * gdb.base/longest-types.exp
9427 * gdb.base/maint.exp
9428 * gdb.base/max-value-size.exp
9429 * gdb.base/memattr.exp
9430 * gdb.base/mips_pro.exp
9431 * gdb.base/morestack.exp
9432 * gdb.base/moribund-step.exp
9433 * gdb.base/multi-forks.exp
9434 * gdb.base/nested-addr.exp
9435 * gdb.base/nextoverexit.exp
9436 * gdb.base/noreturn-finish.exp
9437 * gdb.base/noreturn-return.exp
9438 * gdb.base/nostdlib.exp
9439 * gdb.base/offsets.exp
9440 * gdb.base/opaque.exp
9441 * gdb.base/pc-fp.exp
9442 * gdb.base/permissions.exp
9443 * gdb.base/print-symbol-loading.exp
9444 * gdb.base/prologue-include.exp
9445 * gdb.base/psymtab.exp
9446 * gdb.base/ptype.exp
9447 * gdb.base/random-signal.exp
9448 * gdb.base/randomize.exp
9449 * gdb.base/range-stepping.exp
9450 * gdb.base/readline-ask.exp
9451 * gdb.base/recpar.exp
9452 * gdb.base/recurse.exp
9453 * gdb.base/relational.exp
9454 * gdb.base/restore.exp
9455 * gdb.base/return-nodebug.exp
9456 * gdb.base/return.exp
9457 * gdb.base/run-after-attach.exp
9458 * gdb.base/save-bp.exp
9459 * gdb.base/scope.exp
9460 * gdb.base/sect-cmd.exp
9461 * gdb.base/set-lang-auto.exp
9462 * gdb.base/set-noassign.exp
9463 * gdb.base/setvar.exp
9464 * gdb.base/sigall.exp
9465 * gdb.base/sigbpt.exp
9466 * gdb.base/siginfo-addr.exp
9467 * gdb.base/siginfo-infcall.exp
9468 * gdb.base/siginfo-obj.exp
9469 * gdb.base/siginfo.exp
9470 * gdb.base/signals-state-child.exp
9471 * gdb.base/signest.exp
9472 * gdb.base/sigstep.exp
9473 * gdb.base/sizeof.exp
9474 * gdb.base/skip.exp
9475 * gdb.base/solib-corrupted.exp
9476 * gdb.base/solib-nodir.exp
9477 * gdb.base/solib-search.exp
9478 * gdb.base/stack-checking.exp
9479 * gdb.base/stale-infcall.exp
9480 * gdb.base/stap-probe.exp
9481 * gdb.base/start.exp
9482 * gdb.base/step-break.exp
9483 * gdb.base/step-bt.exp
9484 * gdb.base/step-line.exp
9485 * gdb.base/step-over-exit.exp
9486 * gdb.base/step-over-syscall.exp
9487 * gdb.base/step-resume-infcall.exp
9488 * gdb.base/step-test.exp
9489 * gdb.base/store.exp
9490 * gdb.base/structs3.exp
9491 * gdb.base/sym-file.exp
9492 * gdb.base/symbol-without-target_section.exp
9493 * gdb.base/term.exp
9494 * gdb.base/testenv.exp
9495 * gdb.base/ui-redirect.exp
9496 * gdb.base/until.exp
9497 * gdb.base/unwindonsignal.exp
9498 * gdb.base/value-double-free.exp
9499 * gdb.base/vla-datatypes.exp
9500 * gdb.base/vla-ptr.exp
9501 * gdb.base/vla-sideeffect.exp
9502 * gdb.base/volatile.exp
9503 * gdb.base/watch-cond-infcall.exp
9504 * gdb.base/watch-cond.exp
9505 * gdb.base/watch-non-mem.exp
9506 * gdb.base/watch-read.exp
9507 * gdb.base/watch-vfork.exp
9508 * gdb.base/watchpoint-cond-gone.exp
9509 * gdb.base/watchpoint-delete.exp
9510 * gdb.base/watchpoint-hw-hit-once.exp
9511 * gdb.base/watchpoint-hw.exp
9512 * gdb.base/watchpoint-stops-at-right-insn.exp
9513 * gdb.base/watchpoints.exp
9514 * gdb.base/wchar.exp
9515 * gdb.base/whatis-exp.exp
9516 * gdb.btrace/buffer-size.exp
9517 * gdb.btrace/data.exp
9518 * gdb.btrace/delta.exp
9519 * gdb.btrace/dlopen.exp
9520 * gdb.btrace/enable.exp
9521 * gdb.btrace/exception.exp
9522 * gdb.btrace/function_call_history.exp
9523 * gdb.btrace/gcore.exp
9524 * gdb.btrace/instruction_history.exp
9525 * gdb.btrace/nohist.exp
9526 * gdb.btrace/reconnect.exp
9527 * gdb.btrace/record_goto-step.exp
9528 * gdb.btrace/record_goto.exp
9529 * gdb.btrace/rn-dl-bind.exp
9530 * gdb.btrace/segv.exp
9531 * gdb.btrace/step.exp
9532 * gdb.btrace/stepi.exp
9533 * gdb.btrace/tailcall-only.exp
9534 * gdb.btrace/tailcall.exp
9535 * gdb.btrace/tsx.exp
9536 * gdb.btrace/unknown_functions.exp
9537 * gdb.btrace/vdso.exp
9538 * gdb.compile/compile-ifunc.exp
9539 * gdb.compile/compile-ops.exp
9540 * gdb.compile/compile-print.exp
9541 * gdb.compile/compile-setjmp.exp
9542 * gdb.cp/abstract-origin.exp
9543 * gdb.cp/ambiguous.exp
9544 * gdb.cp/annota2.exp
9545 * gdb.cp/annota3.exp
9546 * gdb.cp/anon-ns.exp
9547 * gdb.cp/anon-struct.exp
9548 * gdb.cp/anon-union.exp
9549 * gdb.cp/arg-reference.exp
9550 * gdb.cp/baseenum.exp
9551 * gdb.cp/bool.exp
9552 * gdb.cp/breakpoint.exp
9553 * gdb.cp/bs15503.exp
9554 * gdb.cp/call-c.exp
9555 * gdb.cp/casts.exp
9556 * gdb.cp/chained-calls.exp
9557 * gdb.cp/class2.exp
9558 * gdb.cp/classes.exp
9559 * gdb.cp/cmpd-minsyms.exp
9560 * gdb.cp/converts.exp
9561 * gdb.cp/cp-relocate.exp
9562 * gdb.cp/cpcompletion.exp
9563 * gdb.cp/cpexprs.exp
9564 * gdb.cp/cplabel.exp
9565 * gdb.cp/cplusfuncs.exp
9566 * gdb.cp/cpsizeof.exp
9567 * gdb.cp/ctti.exp
9568 * gdb.cp/derivation.exp
9569 * gdb.cp/destrprint.exp
9570 * gdb.cp/dispcxx.exp
9571 * gdb.cp/enum-class.exp
9572 * gdb.cp/exception.exp
9573 * gdb.cp/exceptprint.exp
9574 * gdb.cp/expand-psymtabs-cxx.exp
9575 * gdb.cp/expand-sals.exp
9576 * gdb.cp/extern-c.exp
9577 * gdb.cp/filename.exp
9578 * gdb.cp/formatted-ref.exp
9579 * gdb.cp/fpointer.exp
9580 * gdb.cp/gdb1355.exp
9581 * gdb.cp/gdb2495.exp
9582 * gdb.cp/hang.exp
9583 * gdb.cp/impl-this.exp
9584 * gdb.cp/infcall-dlopen.exp
9585 * gdb.cp/inherit.exp
9586 * gdb.cp/iostream.exp
9587 * gdb.cp/koenig.exp
9588 * gdb.cp/local.exp
9589 * gdb.cp/m-data.exp
9590 * gdb.cp/m-static.exp
9591 * gdb.cp/mb-ctor.exp
9592 * gdb.cp/mb-inline.exp
9593 * gdb.cp/mb-templates.exp
9594 * gdb.cp/member-name.exp
9595 * gdb.cp/member-ptr.exp
9596 * gdb.cp/meth-typedefs.exp
9597 * gdb.cp/method.exp
9598 * gdb.cp/method2.exp
9599 * gdb.cp/minsym-fallback.exp
9600 * gdb.cp/misc.exp
9601 * gdb.cp/namelessclass.exp
9602 * gdb.cp/namespace-enum.exp
9603 * gdb.cp/namespace-nested-import.exp
9604 * gdb.cp/namespace.exp
9605 * gdb.cp/nextoverthrow.exp
9606 * gdb.cp/no-dmgl-verbose.exp
9607 * gdb.cp/non-trivial-retval.exp
9608 * gdb.cp/noparam.exp
9609 * gdb.cp/nsdecl.exp
9610 * gdb.cp/nsimport.exp
9611 * gdb.cp/nsnested.exp
9612 * gdb.cp/nsnoimports.exp
9613 * gdb.cp/nsrecurs.exp
9614 * gdb.cp/nsstress.exp
9615 * gdb.cp/nsusing.exp
9616 * gdb.cp/operator.exp
9617 * gdb.cp/oranking.exp
9618 * gdb.cp/overload-const.exp
9619 * gdb.cp/overload.exp
9620 * gdb.cp/ovldbreak.exp
9621 * gdb.cp/ovsrch.exp
9622 * gdb.cp/paren-type.exp
9623 * gdb.cp/parse-lang.exp
9624 * gdb.cp/pass-by-ref.exp
9625 * gdb.cp/pr-1023.exp
9626 * gdb.cp/pr-1210.exp
9627 * gdb.cp/pr-574.exp
9628 * gdb.cp/pr10687.exp
9629 * gdb.cp/pr12028.exp
9630 * gdb.cp/pr17132.exp
9631 * gdb.cp/pr17494.exp
9632 * gdb.cp/pr9067.exp
9633 * gdb.cp/pr9167.exp
9634 * gdb.cp/pr9631.exp
9635 * gdb.cp/printmethod.exp
9636 * gdb.cp/psmang.exp
9637 * gdb.cp/psymtab-parameter.exp
9638 * gdb.cp/ptype-cv-cp.exp
9639 * gdb.cp/ptype-flags.exp
9640 * gdb.cp/re-set-overloaded.exp
9641 * gdb.cp/ref-types.exp
9642 * gdb.cp/rtti.exp
9643 * gdb.cp/scope-err.exp
9644 * gdb.cp/shadow.exp
9645 * gdb.cp/smartp.exp
9646 * gdb.cp/static-method.exp
9647 * gdb.cp/static-print-quit.exp
9648 * gdb.cp/temargs.exp
9649 * gdb.cp/templates.exp
9650 * gdb.cp/try_catch.exp
9651 * gdb.cp/typedef-operator.exp
9652 * gdb.cp/typeid.exp
9653 * gdb.cp/userdef.exp
9654 * gdb.cp/using-crash.exp
9655 * gdb.cp/var-tag.exp
9656 * gdb.cp/virtbase.exp
9657 * gdb.cp/virtfunc.exp
9658 * gdb.cp/virtfunc2.exp
9659 * gdb.cp/vla-cxx.exp
9660 * gdb.disasm/t01_mov.exp
9661 * gdb.disasm/t02_mova.exp
9662 * gdb.disasm/t03_add.exp
9663 * gdb.disasm/t04_sub.exp
9664 * gdb.disasm/t05_cmp.exp
9665 * gdb.disasm/t06_ari2.exp
9666 * gdb.disasm/t07_ari3.exp
9667 * gdb.disasm/t08_or.exp
9668 * gdb.disasm/t09_xor.exp
9669 * gdb.disasm/t10_and.exp
9670 * gdb.disasm/t11_logs.exp
9671 * gdb.disasm/t12_bit.exp
9672 * gdb.disasm/t13_otr.exp
9673 * gdb.dlang/circular.exp
9674 * gdb.dwarf2/arr-stride.exp
9675 * gdb.dwarf2/arr-subrange.exp
9676 * gdb.dwarf2/atomic-type.exp
9677 * gdb.dwarf2/bad-regnum.exp
9678 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9679 * gdb.dwarf2/callframecfa.exp
9680 * gdb.dwarf2/clztest.exp
9681 * gdb.dwarf2/corrupt.exp
9682 * gdb.dwarf2/data-loc.exp
9683 * gdb.dwarf2/dup-psym.exp
9684 * gdb.dwarf2/dw2-anon-mptr.exp
9685 * gdb.dwarf2/dw2-anonymous-func.exp
9686 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9687 * gdb.dwarf2/dw2-bad-unresolved.exp
9688 * gdb.dwarf2/dw2-basic.exp
9689 * gdb.dwarf2/dw2-canonicalize-type.exp
9690 * gdb.dwarf2/dw2-case-insensitive.exp
9691 * gdb.dwarf2/dw2-common-block.exp
9692 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9693 * gdb.dwarf2/dw2-compressed.exp
9694 * gdb.dwarf2/dw2-const.exp
9695 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9696 * gdb.dwarf2/dw2-cu-size.exp
9697 * gdb.dwarf2/dw2-dup-frame.exp
9698 * gdb.dwarf2/dw2-entry-value.exp
9699 * gdb.dwarf2/dw2-icycle.exp
9700 * gdb.dwarf2/dw2-ifort-parameter.exp
9701 * gdb.dwarf2/dw2-inline-break.exp
9702 * gdb.dwarf2/dw2-inline-param.exp
9703 * gdb.dwarf2/dw2-intercu.exp
9704 * gdb.dwarf2/dw2-intermix.exp
9705 * gdb.dwarf2/dw2-lexical-block-bare.exp
9706 * gdb.dwarf2/dw2-linkage-name-trust.exp
9707 * gdb.dwarf2/dw2-minsym-in-cu.exp
9708 * gdb.dwarf2/dw2-noloc.exp
9709 * gdb.dwarf2/dw2-op-call.exp
9710 * gdb.dwarf2/dw2-op-out-param.exp
9711 * gdb.dwarf2/dw2-opt-structptr.exp
9712 * gdb.dwarf2/dw2-param-error.exp
9713 * gdb.dwarf2/dw2-producer.exp
9714 * gdb.dwarf2/dw2-ranges-base.exp
9715 * gdb.dwarf2/dw2-ref-missing-frame.exp
9716 * gdb.dwarf2/dw2-reg-undefined.exp
9717 * gdb.dwarf2/dw2-regno-invalid.exp
9718 * gdb.dwarf2/dw2-restore.exp
9719 * gdb.dwarf2/dw2-restrict.exp
9720 * gdb.dwarf2/dw2-single-line-discriminators.exp
9721 * gdb.dwarf2/dw2-strp.exp
9722 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9723 * gdb.dwarf2/dw2-unresolved.exp
9724 * gdb.dwarf2/dw2-var-zero-addr.exp
9725 * gdb.dwarf2/dw4-sig-types.exp
9726 * gdb.dwarf2/dwz.exp
9727 * gdb.dwarf2/dynarr-ptr.exp
9728 * gdb.dwarf2/enum-type.exp
9729 * gdb.dwarf2/gdb-index.exp
9730 * gdb.dwarf2/implptr-64bit.exp
9731 * gdb.dwarf2/implptr-optimized-out.exp
9732 * gdb.dwarf2/implptr.exp
9733 * gdb.dwarf2/implref-array.exp
9734 * gdb.dwarf2/implref-const.exp
9735 * gdb.dwarf2/implref-global.exp
9736 * gdb.dwarf2/implref-struct.exp
9737 * gdb.dwarf2/mac-fileno.exp
9738 * gdb.dwarf2/main-subprogram.exp
9739 * gdb.dwarf2/member-ptr-forwardref.exp
9740 * gdb.dwarf2/method-ptr.exp
9741 * gdb.dwarf2/missing-sig-type.exp
9742 * gdb.dwarf2/nonvar-access.exp
9743 * gdb.dwarf2/opaque-type-lookup.exp
9744 * gdb.dwarf2/pieces-optimized-out.exp
9745 * gdb.dwarf2/pieces.exp
9746 * gdb.dwarf2/pr10770.exp
9747 * gdb.dwarf2/pr13961.exp
9748 * gdb.dwarf2/staticvirtual.exp
9749 * gdb.dwarf2/subrange.exp
9750 * gdb.dwarf2/symtab-producer.exp
9751 * gdb.dwarf2/trace-crash.exp
9752 * gdb.dwarf2/typeddwarf.exp
9753 * gdb.dwarf2/valop.exp
9754 * gdb.dwarf2/watch-notconst.exp
9755 * gdb.fortran/array-element.exp
9756 * gdb.fortran/charset.exp
9757 * gdb.fortran/common-block.exp
9758 * gdb.fortran/complex.exp
9759 * gdb.fortran/derived-type-function.exp
9760 * gdb.fortran/derived-type.exp
9761 * gdb.fortran/logical.exp
9762 * gdb.fortran/module.exp
9763 * gdb.fortran/multi-dim.exp
9764 * gdb.fortran/nested-funcs.exp
9765 * gdb.fortran/print-formatted.exp
9766 * gdb.fortran/subarray.exp
9767 * gdb.fortran/vla-alloc-assoc.exp
9768 * gdb.fortran/vla-datatypes.exp
9769 * gdb.fortran/vla-history.exp
9770 * gdb.fortran/vla-ptr-info.exp
9771 * gdb.fortran/vla-ptype-sub.exp
9772 * gdb.fortran/vla-ptype.exp
9773 * gdb.fortran/vla-sizeof.exp
9774 * gdb.fortran/vla-type.exp
9775 * gdb.fortran/vla-value-sub-arbitrary.exp
9776 * gdb.fortran/vla-value-sub-finish.exp
9777 * gdb.fortran/vla-value-sub.exp
9778 * gdb.fortran/vla-value.exp
9779 * gdb.fortran/whatis_type.exp
9780 * gdb.go/chan.exp
9781 * gdb.go/handcall.exp
9782 * gdb.go/hello.exp
9783 * gdb.go/integers.exp
9784 * gdb.go/methods.exp
9785 * gdb.go/package.exp
9786 * gdb.go/strings.exp
9787 * gdb.go/types.exp
9788 * gdb.go/unsafe.exp
9789 * gdb.guile/scm-arch.exp
9790 * gdb.guile/scm-block.exp
9791 * gdb.guile/scm-breakpoint.exp
9792 * gdb.guile/scm-cmd.exp
9793 * gdb.guile/scm-disasm.exp
9794 * gdb.guile/scm-equal.exp
9795 * gdb.guile/scm-frame-args.exp
9796 * gdb.guile/scm-frame-inline.exp
9797 * gdb.guile/scm-frame.exp
9798 * gdb.guile/scm-iterator.exp
9799 * gdb.guile/scm-math.exp
9800 * gdb.guile/scm-objfile.exp
9801 * gdb.guile/scm-ports.exp
9802 * gdb.guile/scm-symbol.exp
9803 * gdb.guile/scm-symtab.exp
9804 * gdb.guile/scm-value-cc.exp
9805 * gdb.guile/types-module.exp
9806 * gdb.linespec/break-ask.exp
9807 * gdb.linespec/cpexplicit.exp
9808 * gdb.linespec/explicit.exp
9809 * gdb.linespec/keywords.exp
9810 * gdb.linespec/linespec.exp
9811 * gdb.linespec/ls-dollar.exp
9812 * gdb.linespec/ls-errs.exp
9813 * gdb.linespec/skip-two.exp
9814 * gdb.linespec/thread.exp
9815 * gdb.mi/mi-async.exp
9816 * gdb.mi/mi-basics.exp
9817 * gdb.mi/mi-break.exp
9818 * gdb.mi/mi-catch-load.exp
9819 * gdb.mi/mi-cli.exp
9820 * gdb.mi/mi-cmd-param-changed.exp
9821 * gdb.mi/mi-console.exp
9822 * gdb.mi/mi-detach.exp
9823 * gdb.mi/mi-disassemble.exp
9824 * gdb.mi/mi-eval.exp
9825 * gdb.mi/mi-file-transfer.exp
9826 * gdb.mi/mi-file.exp
9827 * gdb.mi/mi-fill-memory.exp
9828 * gdb.mi/mi-inheritance-syntax-error.exp
9829 * gdb.mi/mi-linespec-err-cp.exp
9830 * gdb.mi/mi-logging.exp
9831 * gdb.mi/mi-memory-changed.exp
9832 * gdb.mi/mi-read-memory.exp
9833 * gdb.mi/mi-record-changed.exp
9834 * gdb.mi/mi-reg-undefined.exp
9835 * gdb.mi/mi-regs.exp
9836 * gdb.mi/mi-return.exp
9837 * gdb.mi/mi-reverse.exp
9838 * gdb.mi/mi-simplerun.exp
9839 * gdb.mi/mi-solib.exp
9840 * gdb.mi/mi-stack.exp
9841 * gdb.mi/mi-stepi.exp
9842 * gdb.mi/mi-syn-frame.exp
9843 * gdb.mi/mi-until.exp
9844 * gdb.mi/mi-var-block.exp
9845 * gdb.mi/mi-var-child.exp
9846 * gdb.mi/mi-var-cmd.exp
9847 * gdb.mi/mi-var-cp.exp
9848 * gdb.mi/mi-var-display.exp
9849 * gdb.mi/mi-var-invalidate.exp
9850 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9851 * gdb.mi/mi-vla-fortran.exp
9852 * gdb.mi/mi-watch.exp
9853 * gdb.mi/mi2-var-child.exp
9854 * gdb.mi/user-selected-context-sync.exp
9855 * gdb.modula2/unbounded-array.exp
9856 * gdb.multi/dummy-frame-restore.exp
9857 * gdb.multi/multi-arch-exec.exp
9858 * gdb.multi/multi-arch.exp
9859 * gdb.multi/tids.exp
9860 * gdb.multi/watchpoint-multi.exp
9861 * gdb.opencl/callfuncs.exp
9862 * gdb.opencl/convs_casts.exp
9863 * gdb.opencl/datatypes.exp
9864 * gdb.opencl/operators.exp
9865 * gdb.opencl/vec_comps.exp
9866 * gdb.opt/clobbered-registers-O2.exp
9867 * gdb.opt/inline-break.exp
9868 * gdb.opt/inline-bt.exp
9869 * gdb.opt/inline-cmds.exp
9870 * gdb.opt/inline-locals.exp
9871 * gdb.pascal/case-insensitive-symbols.exp
9872 * gdb.pascal/floats.exp
9873 * gdb.pascal/gdb11492.exp
9874 * gdb.python/lib-types.exp
9875 * gdb.python/py-arch.exp
9876 * gdb.python/py-as-string.exp
9877 * gdb.python/py-bad-printers.exp
9878 * gdb.python/py-block.exp
9879 * gdb.python/py-breakpoint-create-fail.exp
9880 * gdb.python/py-breakpoint.exp
9881 * gdb.python/py-caller-is.exp
9882 * gdb.python/py-cmd.exp
9883 * gdb.python/py-explore-cc.exp
9884 * gdb.python/py-explore.exp
9885 * gdb.python/py-finish-breakpoint.exp
9886 * gdb.python/py-finish-breakpoint2.exp
9887 * gdb.python/py-frame-args.exp
9888 * gdb.python/py-frame-inline.exp
9889 * gdb.python/py-frame.exp
9890 * gdb.python/py-framefilter-mi.exp
9891 * gdb.python/py-infthread.exp
9892 * gdb.python/py-lazy-string.exp
9893 * gdb.python/py-linetable.exp
9894 * gdb.python/py-mi-events.exp
9895 * gdb.python/py-mi-objfile.exp
9896 * gdb.python/py-mi.exp
9897 * gdb.python/py-objfile.exp
9898 * gdb.python/py-pp-integral.exp
9899 * gdb.python/py-pp-maint.exp
9900 * gdb.python/py-pp-re-notag.exp
9901 * gdb.python/py-pp-registration.exp
9902 * gdb.python/py-recurse-unwind.exp
9903 * gdb.python/py-strfns.exp
9904 * gdb.python/py-symbol.exp
9905 * gdb.python/py-symtab.exp
9906 * gdb.python/py-sync-interp.exp
9907 * gdb.python/py-typeprint.exp
9908 * gdb.python/py-unwind-maint.exp
9909 * gdb.python/py-unwind.exp
9910 * gdb.python/py-value-cc.exp
9911 * gdb.python/py-xmethods.exp
9912 * gdb.reverse/amd64-tailcall-reverse.exp
9913 * gdb.reverse/break-precsave.exp
9914 * gdb.reverse/break-reverse.exp
9915 * gdb.reverse/consecutive-precsave.exp
9916 * gdb.reverse/consecutive-reverse.exp
9917 * gdb.reverse/finish-precsave.exp
9918 * gdb.reverse/finish-reverse-bkpt.exp
9919 * gdb.reverse/finish-reverse.exp
9920 * gdb.reverse/fstatat-reverse.exp
9921 * gdb.reverse/getresuid-reverse.exp
9922 * gdb.reverse/i386-precsave.exp
9923 * gdb.reverse/i386-reverse.exp
9924 * gdb.reverse/i386-sse-reverse.exp
9925 * gdb.reverse/i387-env-reverse.exp
9926 * gdb.reverse/i387-stack-reverse.exp
9927 * gdb.reverse/insn-reverse.exp
9928 * gdb.reverse/machinestate-precsave.exp
9929 * gdb.reverse/machinestate.exp
9930 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9931 * gdb.reverse/pipe-reverse.exp
9932 * gdb.reverse/readv-reverse.exp
9933 * gdb.reverse/recvmsg-reverse.exp
9934 * gdb.reverse/rerun-prec.exp
9935 * gdb.reverse/s390-mvcle.exp
9936 * gdb.reverse/step-precsave.exp
9937 * gdb.reverse/step-reverse.exp
9938 * gdb.reverse/time-reverse.exp
9939 * gdb.reverse/until-precsave.exp
9940 * gdb.reverse/until-reverse.exp
9941 * gdb.reverse/waitpid-reverse.exp
9942 * gdb.reverse/watch-precsave.exp
9943 * gdb.reverse/watch-reverse.exp
9944 * gdb.rust/generics.exp
9945 * gdb.rust/methods.exp
9946 * gdb.rust/modules.exp
9947 * gdb.rust/simple.exp
9948 * gdb.server/connect-with-no-symbol-file.exp
9949 * gdb.server/ext-attach.exp
9950 * gdb.server/ext-restart.exp
9951 * gdb.server/ext-wrapper.exp
9952 * gdb.server/file-transfer.exp
9953 * gdb.server/server-exec-info.exp
9954 * gdb.server/server-kill.exp
9955 * gdb.server/server-mon.exp
9956 * gdb.server/wrapper.exp
9957 * gdb.stabs/exclfwd.exp
9958 * gdb.stabs/gdb11479.exp
9959 * gdb.threads/clone-new-thread-event.exp
9960 * gdb.threads/corethreads.exp
9961 * gdb.threads/current-lwp-dead.exp
9962 * gdb.threads/dlopen-libpthread.exp
9963 * gdb.threads/gcore-thread.exp
9964 * gdb.threads/sigstep-threads.exp
9965 * gdb.threads/watchpoint-fork.exp
9966 * gdb.trace/actions-changed.exp
9967 * gdb.trace/backtrace.exp
9968 * gdb.trace/change-loc.exp
9969 * gdb.trace/circ.exp
9970 * gdb.trace/collection.exp
9971 * gdb.trace/disconnected-tracing.exp
9972 * gdb.trace/ftrace.exp
9973 * gdb.trace/mi-trace-frame-collected.exp
9974 * gdb.trace/mi-trace-unavailable.exp
9975 * gdb.trace/mi-traceframe-changed.exp
9976 * gdb.trace/mi-tsv-changed.exp
9977 * gdb.trace/no-attach-trace.exp
9978 * gdb.trace/passc-dyn.exp
9979 * gdb.trace/qtro.exp
9980 * gdb.trace/range-stepping.exp
9981 * gdb.trace/read-memory.exp
9982 * gdb.trace/save-trace.exp
9983 * gdb.trace/signal.exp
9984 * gdb.trace/status-stop.exp
9985 * gdb.trace/tfile.exp
9986 * gdb.trace/trace-break.exp
9987 * gdb.trace/trace-buffer-size.exp
9988 * gdb.trace/trace-condition.exp
9989 * gdb.trace/tracefile-pseudo-reg.exp
9990 * gdb.trace/tstatus.exp
9991 * gdb.trace/unavailable.exp
9992 * gdb.trace/while-dyn.exp
9993 * gdb.trace/while-stepping.exp
9994
34c41c68
DE
99952016-12-22 Doug Evans <xdje42@gmail.com>
9996
9997 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9998 and msymbols.
9999
16e69324
YQ
100002016-12-19 Yao Qi <yao.qi@linaro.org>
10001
10002 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10003 (test_with_self): Don't call do_steps_and_nexts, and remove
10004 code about stepping into xmalloc.
10005
f94f411b
YQ
100062016-12-09 Yao Qi <yao.qi@linaro.org>
10007
10008 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10009
100102016-12-09 Yao Qi <yao.qi@linaro.org>
10011
10012 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10013
f1b5deee
PA
100142016-12-09 Pedro Alves <palves@redhat.com>
10015
10016 * gdb.base/all-architectures-0.exp: New file.
10017 * gdb.base/all-architectures-1.exp: New file.
10018 * gdb.base/all-architectures-2.exp: New file.
10019 * gdb.base/all-architectures-3.exp: New file.
10020 * gdb.base/all-architectures-4.exp: New file.
10021 * gdb.base/all-architectures-5.exp: New file.
10022 * gdb.base/all-architectures-6.exp: New file.
10023 * gdb.base/all-architectures-7.exp: New file.
10024 * gdb.base/all-architectures.exp.in: New file.
10025
364ca42e
YQ
100262016-12-09 Yao Qi <yao.qi@linaro.org>
10027
10028 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10029
107c2d62
LM
100302016-12-02 Luis Machado <lgustavo@codesourcery.com>
10031
10032 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10033 possible.
10034 Remove useless pattern-matching code.
10035
df3ee9ca
PA
100362016-12-02 Pedro Alves <palves@redhat.com>
10037
10038 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10039 procedure.
10040 (top level): Call it.
10041
ec835369
PA
100422016-12-02 Pedro Alves <palves@redhat.com>
10043
10044 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10045 New procedure.
10046 (top level): Call it.
10047
01770bbd
PA
100482016-12-02 Pedro Alves <palves@redhat.com>
10049
10050 PR cli/20559
10051 * gdb.base/commands.exp (user_defined_command_args_eval): New
10052 procedure.
10053 (top level): Call it.
10054
008459ea
LM
100552016-12-02 Luis Machado <lgustavo@codesourcery.com>
10056
10057 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10058 timeout handling.
10059
0c1b455e
TT
100602016-12-02 Tom Tromey <tom@tromey.com>
10061
10062 * gdb.dwarf2/main-subprogram.c: New file.
10063 * gdb.dwarf2/main-subprogram.exp: New file.
10064
018572b8
LM
100652016-12-01 Luis Machado <lgustavo@codesourcery.com>
10066
10067 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10068 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10069 gdb_test_no_output for a couple of cases.
10070 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10071
84c93cd5
LM
100722016-12-01 Luis Machado <lgustavo@codesourcery.com>
10073
10074 Fix test names and standardize compilation error messages throughout
10075 the following files:
10076
10077 * gdb.ada/start.exp
10078 * gdb.arch/alpha-step.exp
10079 * gdb.arch/e500-prologue.exp
10080 * gdb.arch/ftrace-insn-reloc.exp
10081 * gdb.arch/gdb1291.exp
10082 * gdb.arch/gdb1431.exp
10083 * gdb.arch/gdb1558.exp
10084 * gdb.arch/i386-dr3-watch.exp
10085 * gdb.arch/i386-sse-stack-align.exp
10086 * gdb.arch/ia64-breakpoint-shadow.exp
10087 * gdb.arch/pa-nullify.exp
10088 * gdb.arch/powerpc-aix-prologue.exp
10089 * gdb.arch/thumb-bx-pc.exp
10090 * gdb.base/annota1.exp
10091 * gdb.base/annota3.exp
10092 * gdb.base/arrayidx.exp
10093 * gdb.base/assign.exp
10094 * gdb.base/attach.exp
10095 * gdb.base/auxv.exp
10096 * gdb.base/bang.exp
10097 * gdb.base/bfp-test.exp
10098 * gdb.base/bigcore.exp
10099 * gdb.base/bitfields2.exp
10100 * gdb.base/break-fun-addr.exp
10101 * gdb.base/break-probes.exp
10102 * gdb.base/call-rt-st.exp
10103 * gdb.base/callexit.exp
10104 * gdb.base/catch-fork-kill.exp
10105 * gdb.base/charset.exp
10106 * gdb.base/checkpoint.exp
10107 * gdb.base/comprdebug.exp
10108 * gdb.base/constvars.exp
10109 * gdb.base/coredump-filter.exp
10110 * gdb.base/cursal.exp
10111 * gdb.base/cvexpr.exp
10112 * gdb.base/detach.exp
10113 * gdb.base/display.exp
10114 * gdb.base/dmsym.exp
10115 * gdb.base/dprintf-pending.exp
10116 * gdb.base/dso2dso.exp
10117 * gdb.base/dtrace-probe.exp
10118 * gdb.base/dump.exp
10119 * gdb.base/enum_cond.exp
10120 * gdb.base/exe-lock.exp
10121 * gdb.base/exec-invalid-sysroot.exp
10122 * gdb.base/execl-update-breakpoints.exp
10123 * gdb.base/exprs.exp
10124 * gdb.base/fileio.exp
10125 * gdb.base/find.exp
10126 * gdb.base/finish.exp
10127 * gdb.base/fixsection.exp
10128 * gdb.base/foll-vfork.exp
10129 * gdb.base/frame-args.exp
10130 * gdb.base/gcore.exp
10131 * gdb.base/gdb1250.exp
10132 * gdb.base/global-var-nested-by-dso.exp
10133 * gdb.base/gnu-ifunc.exp
10134 * gdb.base/hashline1.exp
10135 * gdb.base/hashline2.exp
10136 * gdb.base/hashline3.exp
10137 * gdb.base/hbreak-in-shr-unsupported.exp
10138 * gdb.base/huge.exp
10139 * gdb.base/infcall-input.exp
10140 * gdb.base/info-fun.exp
10141 * gdb.base/info-shared.exp
10142 * gdb.base/jit-simple.exp
10143 * gdb.base/jit-so.exp
10144 * gdb.base/jit.exp
10145 * gdb.base/jump.exp
10146 * gdb.base/label.exp
10147 * gdb.base/lineinc.exp
10148 * gdb.base/logical.exp
10149 * gdb.base/longjmp.exp
10150 * gdb.base/macscp.exp
10151 * gdb.base/miscexprs.exp
10152 * gdb.base/new-ui-echo.exp
10153 * gdb.base/new-ui-pending-input.exp
10154 * gdb.base/new-ui.exp
10155 * gdb.base/nodebug.exp
10156 * gdb.base/nofield.exp
10157 * gdb.base/offsets.exp
10158 * gdb.base/overlays.exp
10159 * gdb.base/pending.exp
10160 * gdb.base/pointers.exp
10161 * gdb.base/pr11022.exp
10162 * gdb.base/printcmds.exp
10163 * gdb.base/prologue.exp
10164 * gdb.base/ptr-typedef.exp
10165 * gdb.base/realname-expand.exp
10166 * gdb.base/relativedebug.exp
10167 * gdb.base/relocate.exp
10168 * gdb.base/remote.exp
10169 * gdb.base/reread.exp
10170 * gdb.base/return2.exp
10171 * gdb.base/savedregs.exp
10172 * gdb.base/sep.exp
10173 * gdb.base/sepdebug.exp
10174 * gdb.base/sepsymtab.exp
10175 * gdb.base/set-inferior-tty.exp
10176 * gdb.base/setshow.exp
10177 * gdb.base/shlib-call.exp
10178 * gdb.base/sigaltstack.exp
10179 * gdb.base/siginfo-addr.exp
10180 * gdb.base/signals.exp
10181 * gdb.base/signull.exp
10182 * gdb.base/sigrepeat.exp
10183 * gdb.base/so-impl-ld.exp
10184 * gdb.base/solib-display.exp
10185 * gdb.base/solib-overlap.exp
10186 * gdb.base/solib-search.exp
10187 * gdb.base/solib-symbol.exp
10188 * gdb.base/structs.exp
10189 * gdb.base/structs2.exp
10190 * gdb.base/symtab-search-order.exp
10191 * gdb.base/twice.exp
10192 * gdb.base/unload.exp
10193 * gdb.base/varargs.exp
10194 * gdb.base/watchpoint-solib.exp
10195 * gdb.base/watchpoint.exp
10196 * gdb.base/whatis.exp
10197 * gdb.base/wrong_frame_bt_full.exp
10198 * gdb.btrace/dlopen.exp
10199 * gdb.cell/ea-standalone.exp
10200 * gdb.cell/ea-test.exp
10201 * gdb.cp/dispcxx.exp
10202 * gdb.cp/gdb2384.exp
10203 * gdb.cp/method2.exp
10204 * gdb.cp/nextoverthrow.exp
10205 * gdb.cp/pr10728.exp
10206 * gdb.disasm/am33.exp
10207 * gdb.disasm/h8300s.exp
10208 * gdb.disasm/mn10300.exp
10209 * gdb.disasm/sh3.exp
10210 * gdb.dwarf2/dw2-dir-file-name.exp
10211 * gdb.fortran/complex.exp
10212 * gdb.fortran/library-module.exp
10213 * gdb.guile/scm-pretty-print.exp
10214 * gdb.guile/scm-symbol.exp
10215 * gdb.guile/scm-type.exp
10216 * gdb.guile/scm-value.exp
10217 * gdb.linespec/linespec.exp
10218 * gdb.mi/gdb701.exp
10219 * gdb.mi/gdb792.exp
10220 * gdb.mi/mi-breakpoint-changed.exp
10221 * gdb.mi/mi-dprintf-pending.exp
10222 * gdb.mi/mi-dprintf.exp
10223 * gdb.mi/mi-exit-code.exp
10224 * gdb.mi/mi-pending.exp
10225 * gdb.mi/mi-solib.exp
10226 * gdb.mi/new-ui-mi-sync.exp
10227 * gdb.mi/pr11022.exp
10228 * gdb.mi/user-selected-context-sync.exp
10229 * gdb.opt/solib-intra-step.exp
10230 * gdb.python/py-events.exp
10231 * gdb.python/py-finish-breakpoint.exp
10232 * gdb.python/py-mi.exp
10233 * gdb.python/py-prettyprint.exp
10234 * gdb.python/py-shared.exp
10235 * gdb.python/py-symbol.exp
10236 * gdb.python/py-template.exp
10237 * gdb.python/py-type.exp
10238 * gdb.python/py-value.exp
10239 * gdb.reverse/solib-precsave.exp
10240 * gdb.reverse/solib-reverse.exp
10241 * gdb.server/solib-list.exp
10242 * gdb.stabs/weird.exp
10243 * gdb.threads/reconnect-signal.exp
10244 * gdb.threads/stepi-random-signal.exp
10245 * gdb.trace/actions.exp
10246 * gdb.trace/ax.exp
10247 * gdb.trace/backtrace.exp
10248 * gdb.trace/change-loc.exp
10249 * gdb.trace/deltrace.exp
10250 * gdb.trace/ftrace-lock.exp
10251 * gdb.trace/ftrace.exp
10252 * gdb.trace/infotrace.exp
10253 * gdb.trace/mi-tracepoint-changed.exp
10254 * gdb.trace/packetlen.exp
10255 * gdb.trace/passcount.exp
10256 * gdb.trace/pending.exp
10257 * gdb.trace/range-stepping.exp
10258 * gdb.trace/report.exp
10259 * gdb.trace/stap-trace.exp
10260 * gdb.trace/tfind.exp
10261 * gdb.trace/trace-break.exp
10262 * gdb.trace/trace-condition.exp
10263 * gdb.trace/trace-enable-disable.exp
10264 * gdb.trace/trace-mt.exp
10265 * gdb.trace/tracecmd.exp
10266 * gdb.trace/tspeed.exp
10267 * gdb.trace/tsv.exp
10268 * lib/perftest.exp
10269
fb9feb35
LM
102702016-12-01 Luis Machado <lgustavo@codesourcery.com>
10271
10272 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10273 with gdb_test_no_output.
10274 Use command as test name.
10275
cd2ddb6c
LM
102762016-12-01 Luis Machado <lgustavo@codesourcery.com>
10277
10278 Fix test names starting with uppercase throughout the files.
10279
10280 * gdb.ada/assign_1.exp
10281 * gdb.ada/boolean_expr.exp
10282 * gdb.base/arrayidx.exp
10283 * gdb.base/del.exp
10284 * gdb.base/gcore-buffer-overflow.exp
10285 * gdb.base/testenv.exp
10286 * gdb.compile/compile.exp
10287 * gdb.python/py-framefilter-invalidarg.exp
10288 * gdb.python/py-framefilter.exp
10289
bb95117e
LM
102902016-12-01 Luis Machado <lgustavo@codesourcery.com>
10291
10292 Fix test names starting with uppercase throughout the files.
10293
10294 * gdb.ada/array_return.exp
10295 * gdb.ada/expr_delims.exp
10296 * gdb.ada/mi_dyn_arr.exp
10297 * gdb.ada/mi_interface.exp
10298 * gdb.ada/mi_var_array.exp
10299 * gdb.ada/watch_arg.exp
10300 * gdb.arch/alpha-step.exp
10301 * gdb.arch/altivec-regs.exp
10302 * gdb.arch/e500-regs.exp
10303 * gdb.arch/powerpc-d128-regs.exp
10304 * gdb.base/arrayidx.exp
10305 * gdb.base/break.exp
10306 * gdb.base/checkpoint.exp
10307 * gdb.base/debug-expr.exp
10308 * gdb.base/dmsym.exp
10309 * gdb.base/radix.exp
10310 * gdb.base/sepdebug.exp
10311 * gdb.base/testenv.exp
10312 * gdb.base/watch_thread_num.exp
10313 * gdb.base/watchpoint-cond-gone.exp
10314 * gdb.cell/break.exp
10315 * gdb.cell/ea-cache.exp
10316 * gdb.compile/compile.exp
10317 * gdb.cp/gdb2495.exp
10318 * gdb.gdb/selftest.exp
10319 * gdb.gdb/xfullpath.exp
10320 * gdb.go/hello.exp
10321 * gdb.go/integers.exp
10322 * gdb.objc/basicclass.exp
10323 * gdb.pascal/hello.exp
10324 * gdb.pascal/integers.exp
10325 * gdb.python/py-breakpoint.exp
10326 * gdb.python/py-cmd.exp
10327 * gdb.python/py-linetable.exp
10328 * gdb.python/py-xmethods.exp
10329 * gdb.python/python.exp
10330 * gdb.reverse/consecutive-precsave.exp
10331 * gdb.reverse/finish-precsave.exp
10332 * gdb.reverse/i386-precsave.exp
10333 * gdb.reverse/machinestate-precsave.exp
10334 * gdb.reverse/sigall-precsave.exp
10335 * gdb.reverse/solib-precsave.exp
10336 * gdb.reverse/step-precsave.exp
10337 * gdb.reverse/until-precsave.exp
10338 * gdb.reverse/watch-precsave.exp
10339 * gdb.threads/leader-exit.exp
10340 * gdb.threads/pthreads.exp
10341 * gdb.threads/wp-replication.exp
10342 * gdb.trace/actions.exp
10343 * gdb.trace/mi-tsv-changed.exp
10344 * gdb.trace/tsv.exp
10345
de97fdd4
LM
103462016-12-01 Luis Machado <lgustavo@codesourcery.com>
10347
10348 Fix test names starting with uppercase throughout the files.
10349
10350 * gdb.arch/i386-bp_permanent.exp
10351 * gdb.arch/i386-gnu-cfi.exp
10352 * gdb.base/disasm-end-cu.exp
10353 * gdb.base/macscp.exp
10354 * gdb.base/pending.exp
10355 * gdb.base/watch_thread_num.exp
10356 * gdb.cp/exception.exp
10357 * gdb.cp/gdb2495.exp
10358 * gdb.cp/local.exp
10359 * gdb.python/py-evsignal.exp
10360 * gdb.python/python.exp
10361 * gdb.trace/tracecmd.exp
10362
9f058c10
LM
103632016-12-01 Luis Machado <lgustavo@codesourcery.com>
10364
10365 Fix test names starting with uppercase throughout the files.
10366
10367 * gdb.base/charset.exp
10368 * gdb.base/eval.exp
10369 * gdb.base/multi-forks.exp
10370 * gdb.guile/scm-progspace.exp
10371 * gdb.opencl/datatypes.exp
10372 * gdb.python/py-block.exp
10373 * gdb.python/py-function.exp
10374 * gdb.python/py-symbol.exp
10375 * gdb.python/py-symtab.exp
10376 * gdb.python/py-xmethods.exp
10377 * gdb.reverse/break-precsave.exp
10378 * gdb.reverse/break-reverse.exp
10379 * gdb.reverse/consecutive-precsave.exp
10380 * gdb.reverse/consecutive-reverse.exp
10381 * gdb.reverse/finish-precsave.exp
10382 * gdb.reverse/finish-reverse-bkpt.exp
10383 * gdb.reverse/finish-reverse.exp
10384 * gdb.reverse/fstatat-reverse.exp
10385 * gdb.reverse/getresuid-reverse.exp
10386 * gdb.reverse/i386-precsave.exp
10387 * gdb.reverse/i386-reverse.exp
10388 * gdb.reverse/i386-sse-reverse.exp
10389 * gdb.reverse/i387-stack-reverse.exp
10390 * gdb.reverse/insn-reverse.exp
10391 * gdb.reverse/machinestate-precsave.exp
10392 * gdb.reverse/machinestate.exp
10393 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10394 * gdb.reverse/pipe-reverse.exp
10395 * gdb.reverse/readv-reverse.exp
10396 * gdb.reverse/recvmsg-reverse.exp
10397 * gdb.reverse/rerun-prec.exp
10398 * gdb.reverse/s390-mvcle.exp
10399 * gdb.reverse/sigall-precsave.exp
10400 * gdb.reverse/sigall-reverse.exp
10401 * gdb.reverse/solib-precsave.exp
10402 * gdb.reverse/solib-reverse.exp
10403 * gdb.reverse/step-precsave.exp
10404 * gdb.reverse/step-reverse.exp
10405 * gdb.reverse/time-reverse.exp
10406 * gdb.reverse/until-precsave.exp
10407 * gdb.reverse/until-reverse.exp
10408 * gdb.reverse/waitpid-reverse.exp
10409 * gdb.reverse/watch-precsave.exp
10410 * gdb.reverse/watch-reverse.exp
10411
cdc7edd7
LM
104122016-12-01 Luis Machado <lgustavo@codesourcery.com>
10413
10414 Fix test names starting with uppercase throughout the files.
10415
10416 * gdb.arch/i386-mpx-simple_segv.exp
10417 * gdb.arch/i386-mpx.exp
10418 * gdb.arch/i386-permbkpt.exp
10419 * gdb.arch/pa-nullify.exp
10420 * gdb.arch/powerpc-d128-regs.exp
10421 * gdb.arch/vsx-regs.exp
10422 * gdb.base/bfp-test.exp
10423 * gdb.base/break.exp
10424 * gdb.base/breakpoint-shadow.exp
10425 * gdb.base/callfuncs.exp
10426 * gdb.base/charset.exp
10427 * gdb.base/commands.exp
10428 * gdb.base/completion.exp
10429 * gdb.base/dfp-test.exp
10430 * gdb.base/echo.exp
10431 * gdb.base/ending-run.exp
10432 * gdb.base/eval.exp
10433 * gdb.base/expand-psymtabs.exp
10434 * gdb.base/float128.exp
10435 * gdb.base/floatn.exp
10436 * gdb.base/foll-exec-mode.exp
10437 * gdb.base/gdb1056.exp
10438 * gdb.base/gdb11531.exp
10439 * gdb.base/kill-after-signal.exp
10440 * gdb.base/multi-forks.exp
10441 * gdb.base/overlays.exp
10442 * gdb.base/pending.exp
10443 * gdb.base/sepdebug.exp
10444 * gdb.base/testenv.exp
10445 * gdb.base/valgrind-db-attach.exp
10446 * gdb.base/watch_thread_num.exp
10447 * gdb.base/watchpoint-cond-gone.exp
10448 * gdb.base/watchpoint.exp
10449 * gdb.base/watchpoints.exp
10450 * gdb.cp/arg-reference.exp
10451 * gdb.cp/baseenum.exp
10452 * gdb.cp/operator.exp
10453 * gdb.cp/shadow.exp
10454 * gdb.dwarf2/dw2-op-out-param.exp
10455 * gdb.dwarf2/dw2-reg-undefined.exp
10456 * gdb.go/chan.exp
10457 * gdb.go/hello.exp
10458 * gdb.go/integers.exp
10459 * gdb.go/methods.exp
10460 * gdb.go/package.exp
10461 * gdb.guile/scm-parameter.exp
10462 * gdb.guile/scm-progspace.exp
10463 * gdb.guile/scm-value.exp
10464 * gdb.mi/mi-pending.exp
10465 * gdb.mi/user-selected-context-sync.exp
10466 * gdb.multi/multi-attach.exp
10467 * gdb.multi/tids.exp
10468 * gdb.opt/clobbered-registers-O2.exp
10469 * gdb.pascal/floats.exp
10470 * gdb.pascal/integers.exp
10471 * gdb.python/py-block.exp
10472 * gdb.python/py-events.exp
10473 * gdb.python/py-parameter.exp
10474 * gdb.python/py-symbol.exp
10475 * gdb.python/py-symtab.exp
10476 * gdb.python/py-type.exp
10477 * gdb.python/py-value.exp
10478 * gdb.python/py-xmethods.exp
10479 * gdb.python/python.exp
10480 * gdb.reverse/break-precsave.exp
10481 * gdb.reverse/consecutive-precsave.exp
10482 * gdb.reverse/finish-precsave.exp
10483 * gdb.reverse/i386-precsave.exp
10484 * gdb.reverse/machinestate-precsave.exp
10485 * gdb.reverse/sigall-precsave.exp
10486 * gdb.reverse/solib-precsave.exp
10487 * gdb.reverse/step-precsave.exp
10488 * gdb.reverse/until-precsave.exp
10489 * gdb.reverse/watch-precsave.exp
10490 * gdb.server/ext-attach.exp
10491 * gdb.server/ext-restart.exp
10492 * gdb.server/ext-run.exp
10493 * gdb.server/ext-wrapper.exp
10494 * gdb.stabs/gdb11479.exp
10495 * gdb.stabs/weird.exp
10496 * gdb.threads/attach-many-short-lived-threads.exp
10497 * gdb.threads/kill.exp
10498 * gdb.threads/watchpoint-fork.exp
10499
bc6c7af4
LM
105002016-12-01 Luis Machado <lgustavo@codesourcery.com>
10501
10502 Fix test names starting with uppercase throughout all the files below.
10503
10504 * gdb.ada/array_return.exp
10505 * gdb.ada/catch_ex.exp
10506 * gdb.ada/info_exc.exp
10507 * gdb.ada/mi_catch_ex.exp
10508 * gdb.ada/mi_dyn_arr.exp
10509 * gdb.ada/mi_ex_cond.exp
10510 * gdb.ada/mi_exc_info.exp
10511 * gdb.ada/mi_interface.exp
10512 * gdb.ada/mi_task_arg.exp
10513 * gdb.ada/mi_task_info.exp
10514 * gdb.ada/mi_var_array.exp
10515 * gdb.arch/alpha-step.exp
10516 * gdb.arch/amd64-disp-step.exp
10517 * gdb.arch/arm-disp-step.exp
10518 * gdb.arch/disp-step-insn-reloc.exp
10519 * gdb.arch/e500-prologue.exp
10520 * gdb.arch/ftrace-insn-reloc.exp
10521 * gdb.arch/gdb1558.exp
10522 * gdb.arch/i386-bp_permanent.exp
10523 * gdb.arch/i386-disp-step.exp
10524 * gdb.arch/i386-float.exp
10525 * gdb.arch/i386-gnu-cfi.exp
10526 * gdb.arch/ia64-breakpoint-shadow.exp
10527 * gdb.arch/mips16-thunks.exp
10528 * gdb.arch/pa-nullify.exp
10529 * gdb.arch/powerpc-aix-prologue.exp
10530 * gdb.arch/powerpc-power.exp
10531 * gdb.arch/ppc-dfp.exp
10532 * gdb.arch/s390-tdbregs.exp
10533 * gdb.arch/spu-info.exp
10534 * gdb.arch/spu-ls.exp
10535 * gdb.arch/thumb-bx-pc.exp
10536 * gdb.base/advance.exp
10537 * gdb.base/annota-input-while-running.exp
10538 * gdb.base/arrayidx.exp
10539 * gdb.base/asmlabel.exp
10540 * gdb.base/async.exp
10541 * gdb.base/attach-wait-input.exp
10542 * gdb.base/auto-connect-native-target.exp
10543 * gdb.base/batch-preserve-term-settings.exp
10544 * gdb.base/bfp-test.exp
10545 * gdb.base/bigcore.exp
10546 * gdb.base/bp-permanent.exp
10547 * gdb.base/break-always.exp
10548 * gdb.base/break-fun-addr.exp
10549 * gdb.base/break-idempotent.exp
10550 * gdb.base/break-main-file-remove-fail.exp
10551 * gdb.base/break-probes.exp
10552 * gdb.base/break-unload-file.exp
10553 * gdb.base/break.exp
10554 * gdb.base/call-ar-st.exp
10555 * gdb.base/call-rt-st.exp
10556 * gdb.base/call-sc.exp
10557 * gdb.base/call-signal-resume.exp
10558 * gdb.base/call-strs.exp
10559 * gdb.base/callexit.exp
10560 * gdb.base/callfuncs.exp
10561 * gdb.base/catch-gdb-caused-signals.exp
10562 * gdb.base/catch-signal-siginfo-cond.exp
10563 * gdb.base/catch-syscall.exp
10564 * gdb.base/compare-sections.exp
10565 * gdb.base/cond-eval-mode.exp
10566 * gdb.base/condbreak-call-false.exp
10567 * gdb.base/consecutive-step-over.exp
10568 * gdb.base/cursal.exp
10569 * gdb.base/disabled-location.exp
10570 * gdb.base/disasm-end-cu.exp
10571 * gdb.base/display.exp
10572 * gdb.base/double-prompt-target-event-error.exp
10573 * gdb.base/dprintf-bp-same-addr.exp
10574 * gdb.base/dprintf-detach.exp
10575 * gdb.base/dprintf-next.exp
10576 * gdb.base/dprintf-non-stop.exp
10577 * gdb.base/dprintf-pending.exp
10578 * gdb.base/dso2dso.exp
10579 * gdb.base/ending-run.exp
10580 * gdb.base/enum_cond.exp
10581 * gdb.base/examine-backward.exp
10582 * gdb.base/exe-lock.exp
10583 * gdb.base/exec-invalid-sysroot.exp
10584 * gdb.base/execl-update-breakpoints.exp
10585 * gdb.base/execution-termios.exp
10586 * gdb.base/fileio.exp
10587 * gdb.base/fixsection.exp
10588 * gdb.base/foll-exec-mode.exp
10589 * gdb.base/foll-exec.exp
10590 * gdb.base/fork-running-state.exp
10591 * gdb.base/frame-args.exp
10592 * gdb.base/fullpath-expand.exp
10593 * gdb.base/func-ptr.exp
10594 * gdb.base/gcore-relro-pie.exp
10595 * gdb.base/gdb1090.exp
10596 * gdb.base/gdb1555.exp
10597 * gdb.base/global-var-nested-by-dso.exp
10598 * gdb.base/gnu-ifunc.exp
10599 * gdb.base/hbreak-in-shr-unsupported.exp
10600 * gdb.base/hbreak-unmapped.exp
10601 * gdb.base/hook-stop.exp
10602 * gdb.base/infcall-input.exp
10603 * gdb.base/info-fun.exp
10604 * gdb.base/info-shared.exp
10605 * gdb.base/interrupt-noterm.exp
10606 * gdb.base/jit-so.exp
10607 * gdb.base/jit.exp
10608 * gdb.base/line-symtabs.exp
10609 * gdb.base/list.exp
10610 * gdb.base/longjmp.exp
10611 * gdb.base/macscp.exp
10612 * gdb.base/max-value-size.exp
10613 * gdb.base/nodebug.exp
10614 * gdb.base/nofield.exp
10615 * gdb.base/overlays.exp
10616 * gdb.base/paginate-after-ctrl-c-running.exp
10617 * gdb.base/paginate-bg-execution.exp
10618 * gdb.base/paginate-inferior-exit.exp
10619 * gdb.base/pending.exp
10620 * gdb.base/pr11022.exp
10621 * gdb.base/printcmds.exp
10622 * gdb.base/ptr-typedef.exp
10623 * gdb.base/ptype.exp
10624 * gdb.base/randomize.exp
10625 * gdb.base/range-stepping.exp
10626 * gdb.base/realname-expand.exp
10627 * gdb.base/relativedebug.exp
10628 * gdb.base/remote.exp
10629 * gdb.base/savedregs.exp
10630 * gdb.base/sepdebug.exp
10631 * gdb.base/set-noassign.exp
10632 * gdb.base/shlib-call.exp
10633 * gdb.base/shreloc.exp
10634 * gdb.base/sigaltstack.exp
10635 * gdb.base/sigbpt.exp
10636 * gdb.base/siginfo-addr.exp
10637 * gdb.base/siginfo-obj.exp
10638 * gdb.base/siginfo-thread.exp
10639 * gdb.base/signest.exp
10640 * gdb.base/signull.exp
10641 * gdb.base/sigrepeat.exp
10642 * gdb.base/skip.exp
10643 * gdb.base/so-impl-ld.exp
10644 * gdb.base/solib-corrupted.exp
10645 * gdb.base/solib-disc.exp
10646 * gdb.base/solib-display.exp
10647 * gdb.base/solib-overlap.exp
10648 * gdb.base/solib-search.exp
10649 * gdb.base/solib-symbol.exp
10650 * gdb.base/source-execution.exp
10651 * gdb.base/sss-bp-on-user-bp-2.exp
10652 * gdb.base/sss-bp-on-user-bp.exp
10653 * gdb.base/stack-checking.exp
10654 * gdb.base/stale-infcall.exp
10655 * gdb.base/step-break.exp
10656 * gdb.base/step-line.exp
10657 * gdb.base/step-over-exit.exp
10658 * gdb.base/step-test.exp
10659 * gdb.base/structs.exp
10660 * gdb.base/sym-file.exp
10661 * gdb.base/symtab-search-order.exp
10662 * gdb.base/term.exp
10663 * gdb.base/type-opaque.exp
10664 * gdb.base/unload.exp
10665 * gdb.base/until-nodebug.exp
10666 * gdb.base/until.exp
10667 * gdb.base/unwindonsignal.exp
10668 * gdb.base/watch-cond.exp
10669 * gdb.base/watch-non-mem.exp
10670 * gdb.base/watch_thread_num.exp
10671 * gdb.base/watchpoint-reuse-slot.exp
10672 * gdb.base/watchpoint-solib.exp
10673 * gdb.base/watchpoint.exp
10674 * gdb.btrace/dlopen.exp
10675 * gdb.cell/arch.exp
10676 * gdb.cell/break.exp
10677 * gdb.cell/bt.exp
10678 * gdb.cell/core.exp
10679 * gdb.cell/data.exp
10680 * gdb.cell/dwarfaddr.exp
10681 * gdb.cell/ea-cache.exp
10682 * gdb.cell/ea-standalone.exp
10683 * gdb.cell/ea-test.exp
10684 * gdb.cell/f-regs.exp
10685 * gdb.cell/fork.exp
10686 * gdb.cell/gcore.exp
10687 * gdb.cell/mem-access.exp
10688 * gdb.cell/ptype.exp
10689 * gdb.cell/registers.exp
10690 * gdb.cell/sizeof.exp
10691 * gdb.cell/solib-symbol.exp
10692 * gdb.cell/solib.exp
10693 * gdb.compile/compile-tls.exp
10694 * gdb.cp/exception.exp
10695 * gdb.cp/gdb2495.exp
10696 * gdb.cp/local.exp
10697 * gdb.cp/mb-inline.exp
10698 * gdb.cp/mb-templates.exp
10699 * gdb.cp/pr10687.exp
10700 * gdb.cp/pr9167.exp
10701 * gdb.cp/scope-err.exp
10702 * gdb.cp/templates.exp
10703 * gdb.cp/virtfunc.exp
10704 * gdb.dwarf2/dw2-dir-file-name.exp
10705 * gdb.dwarf2/dw2-single-line-discriminators.exp
10706 * gdb.fortran/complex.exp
10707 * gdb.fortran/library-module.exp
10708 * gdb.guile/guile.exp
10709 * gdb.guile/scm-cmd.exp
10710 * gdb.guile/scm-frame-inline.exp
10711 * gdb.guile/scm-objfile.exp
10712 * gdb.guile/scm-pretty-print.exp
10713 * gdb.guile/scm-symbol.exp
10714 * gdb.guile/scm-type.exp
10715 * gdb.guile/scm-value.exp
10716 * gdb.linespec/keywords.exp
10717 * gdb.linespec/ls-errs.exp
10718 * gdb.linespec/macro-relative.exp
10719 * gdb.linespec/thread.exp
10720 * gdb.mi/mi-breakpoint-changed.exp
10721 * gdb.mi/mi-dprintf-pending.exp
10722 * gdb.mi/mi-fullname-deleted.exp
10723 * gdb.mi/mi-logging.exp
10724 * gdb.mi/mi-pending.exp
10725 * gdb.mi/mi-solib.exp
10726 * gdb.mi/new-ui-mi-sync.exp
10727 * gdb.mi/user-selected-context-sync.exp
10728 * gdb.multi/dummy-frame-restore.exp
10729 * gdb.multi/multi-arch-exec.exp
10730 * gdb.multi/remove-inferiors.exp
10731 * gdb.multi/watchpoint-multi-exit.exp
10732 * gdb.opt/solib-intra-step.exp
10733 * gdb.perf/backtrace.exp
10734 * gdb.perf/single-step.exp
10735 * gdb.perf/skip-command.exp
10736 * gdb.perf/skip-prologue.exp
10737 * gdb.perf/solib.exp
10738 * gdb.python/lib-types.exp
10739 * gdb.python/py-as-string.exp
10740 * gdb.python/py-bad-printers.exp
10741 * gdb.python/py-block.exp
10742 * gdb.python/py-breakpoint.exp
10743 * gdb.python/py-cmd.exp
10744 * gdb.python/py-events.exp
10745 * gdb.python/py-evthreads.exp
10746 * gdb.python/py-finish-breakpoint.exp
10747 * gdb.python/py-finish-breakpoint2.exp
10748 * gdb.python/py-frame-inline.exp
10749 * gdb.python/py-frame.exp
10750 * gdb.python/py-inferior.exp
10751 * gdb.python/py-infthread.exp
10752 * gdb.python/py-mi.exp
10753 * gdb.python/py-objfile.exp
10754 * gdb.python/py-pp-maint.exp
10755 * gdb.python/py-pp-registration.exp
10756 * gdb.python/py-prettyprint.exp
10757 * gdb.python/py-recurse-unwind.exp
10758 * gdb.python/py-shared.exp
10759 * gdb.python/py-symbol.exp
10760 * gdb.python/py-symtab.exp
10761 * gdb.python/py-template.exp
10762 * gdb.python/py-type.exp
10763 * gdb.python/py-unwind-maint.exp
10764 * gdb.python/py-unwind.exp
10765 * gdb.python/py-value.exp
10766 * gdb.python/python.exp
10767 * gdb.reverse/finish-reverse-bkpt.exp
10768 * gdb.reverse/insn-reverse.exp
10769 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10770 * gdb.reverse/solib-precsave.exp
10771 * gdb.reverse/solib-reverse.exp
10772 * gdb.stabs/gdb11479.exp
10773 * gdb.stabs/weird.exp
10774 * gdb.threads/fork-child-threads.exp
10775 * gdb.threads/fork-plus-threads.exp
10776 * gdb.threads/fork-thread-pending.exp
10777 * gdb.threads/forking-threads-plus-breakpoint.exp
10778 * gdb.threads/hand-call-in-threads.exp
10779 * gdb.threads/interrupted-hand-call.exp
10780 * gdb.threads/linux-dp.exp
10781 * gdb.threads/local-watch-wrong-thread.exp
10782 * gdb.threads/next-while-other-thread-longjmps.exp
10783 * gdb.threads/non-ldr-exit.exp
10784 * gdb.threads/pending-step.exp
10785 * gdb.threads/print-threads.exp
10786 * gdb.threads/process-dies-while-detaching.exp
10787 * gdb.threads/process-dies-while-handling-bp.exp
10788 * gdb.threads/pthreads.exp
10789 * gdb.threads/queue-signal.exp
10790 * gdb.threads/reconnect-signal.exp
10791 * gdb.threads/signal-command-handle-nopass.exp
10792 * gdb.threads/signal-command-multiple-signals-pending.exp
10793 * gdb.threads/signal-delivered-right-thread.exp
10794 * gdb.threads/signal-sigtrap.exp
10795 * gdb.threads/sigthread.exp
10796 * gdb.threads/staticthreads.exp
10797 * gdb.threads/stepi-random-signal.exp
10798 * gdb.threads/thread-unwindonsignal.exp
10799 * gdb.threads/thread_check.exp
10800 * gdb.threads/thread_events.exp
10801 * gdb.threads/tid-reuse.exp
10802 * gdb.threads/tls-nodebug.exp
10803 * gdb.threads/tls-shared.exp
10804 * gdb.threads/tls-so_extern.exp
10805 * gdb.threads/tls.exp
10806 * gdb.threads/wp-replication.exp
10807 * gdb.trace/actions-changed.exp
10808 * gdb.trace/actions.exp
10809 * gdb.trace/backtrace.exp
10810 * gdb.trace/change-loc.exp
10811 * gdb.trace/collection.exp
10812 * gdb.trace/deltrace.exp
10813 * gdb.trace/disconnected-tracing.exp
10814 * gdb.trace/entry-values.exp
10815 * gdb.trace/ftrace-lock.exp
10816 * gdb.trace/ftrace.exp
10817 * gdb.trace/infotrace.exp
10818 * gdb.trace/mi-trace-frame-collected.exp
10819 * gdb.trace/mi-trace-unavailable.exp
10820 * gdb.trace/mi-traceframe-changed.exp
10821 * gdb.trace/mi-tracepoint-changed.exp
10822 * gdb.trace/mi-tsv-changed.exp
10823 * gdb.trace/no-attach-trace.exp
10824 * gdb.trace/packetlen.exp
10825 * gdb.trace/passc-dyn.exp
10826 * gdb.trace/passcount.exp
10827 * gdb.trace/pending.exp
10828 * gdb.trace/pr16508.exp
10829 * gdb.trace/qtro.exp
10830 * gdb.trace/range-stepping.exp
10831 * gdb.trace/read-memory.exp
10832 * gdb.trace/report.exp
10833 * gdb.trace/save-trace.exp
10834 * gdb.trace/signal.exp
10835 * gdb.trace/stap-trace.exp
10836 * gdb.trace/status-stop.exp
10837 * gdb.trace/strace.exp
10838 * gdb.trace/tfile.exp
10839 * gdb.trace/tfind.exp
10840 * gdb.trace/trace-break.exp
10841 * gdb.trace/trace-condition.exp
10842 * gdb.trace/trace-enable-disable.exp
10843 * gdb.trace/trace-mt.exp
10844 * gdb.trace/tracecmd.exp
10845 * gdb.trace/tracefile-pseudo-reg.exp
10846 * gdb.trace/tspeed.exp
10847 * gdb.trace/tstatus.exp
10848 * gdb.trace/tsv.exp
10849 * gdb.trace/unavailable.exp
10850 * gdb.trace/while-dyn.exp
10851 * gdb.trace/while-stepping.exp
10852 * lib/gdb-guile.exp
10853 * lib/gdb.exp
10854 * lib/mi-support.exp
10855 * lib/pascal.exp
10856 * lib/perftest.exp
10857 * lib/prelink-support.exp
10858 * lib/selftest-support.exp
10859
ad02e4fe
SM
108602016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10861
10862 * Makefile.in: Include disable-implicit-rules.mk.
10863
22347e55
AA
108642016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10865
10866 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10867 non-byte-aligned bit fields.
10868
da5b30da
AA
108692016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10870
10871 PR gdb/12616
10872 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10873 respects the DW_AT_data_bit_offset attribute.
10874
b593ecca
SM
108752016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10876
10877 * gdb.base/default.exp: Fix output of "set language".
10878
3b165252
SM
108792016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10880
10881 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10882 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10883 make.
10884 * configure.ac: Remove checks for the make program.
10885 * configure: Re-generate.
10886
1a2f3d7f
KB
108872016-11-16 Kevin Buettner <kevinb@redhat.com>
10888
10889 * gdb.python/py-recurse-unwind.c (main): Add loop.
10890 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10891 to read_register() and gdb.parse_and_eval(). Make each code
10892 call a separate case that can be individually tested.
10893 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10894 proc. Call cont_and_backtrace for each of the code paths that
10895 we want to test in the unwinder.
10896
b7f38fda
AA
108972016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10898
10899 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10900 the definition of struct S.
10901
1f8db343
CM
109022016-11-11 Catherine Moore <clm@codesourcery.com>
10903
10904 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10905
fad0c9fb
PA
109062016-11-09 Pedro Alves <palves@redhat.com>
10907
10908 * gdb.base/commands.exp (runto_or_return): New procedure.
10909 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10910 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10911 (progvar_simple_while_test, progvar_complex_if_while_test)
10912 (if_while_breakpoint_command_test)
10913 (infrun_breakpoint_command_test, breakpoint_command_test)
10914 (user_defined_command_test, watchpoint_command_test)
10915 (test_command_prompt_position, redefine_hook_test)
10916 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10917 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10918 multi_line_input and multi_line. Remove gdb_expect and
10919 gdb_stop_suppressing_tests uses.
10920 * lib/gdb.exp (valnum_re): New global.
10921 (multi_line_input): New procedure.
10922
8354c62c
SM
109232016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10924
10925 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10926 Remove.
10927 (test_setup): Define with proc_with_prefix.
10928 (test_cli_inferior): Likewise.
10929 (test_cli_thread): Likewise.
10930 (test_cli_frame): Likewise.
10931 (test_cli_select_frame): Likewise.
10932 (test_cli_up_down): Likewise.
10933 (test_mi_thread_select): Likewise.
10934 (test_mi_stack_select_frame): Likewise.
10935 (test_cli_in_mi_inferior): Likewise.
10936 (test_cli_in_mi_thread): Likewise.
10937 (test_cli_in_mi_frame): Likewise.
10938 (top level): Do not use with_test_prefix_procname.
10939
64f367a2
PA
109402016-11-09 Pedro Alves <palves@redhat.com>
10941
10942 * gdb.base/commands.exp (gdbvar_simple_if_test)
10943 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10944 (progvar_simple_if_test, progvar_simple_while_test)
10945 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10946 (infrun_breakpoint_command_test, breakpoint_command_test)
10947 (user_defined_command_test, watchpoint_command_test)
10948 (test_command_prompt_position, deprecated_command_test)
10949 (bp_deleted_in_command, temporary_breakpoint_commands)
10950 (stray_arg0_test, source_file_with_indented_comment)
10951 (recursive_source_test, if_commands_test)
10952 (error_clears_commands_left, redefine_hook_test)
10953 (redefine_backtrace_test): Use proc_with_prefix.
10954 * lib/gdb.exp (proc_with_prefix): New proc.
10955
0bb65f1e
AA
109562016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10957
10958 * gdb.base/tui-layout.c: New file.
10959 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10960 disassembly window contains very long lines.
10961
7353f247
TT
109622016-11-08 Tom Tromey <tom@tromey.com>
10963
10964 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10965 depend on Python 2.
10966
30a7bb83
TT
109672016-11-08 Tom Tromey <tom@tromey.com>
10968
10969 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10970 New method.
10971
cdf5a07c
MG
109722016-10-29 Manish Goregaokar <manish@mozilla.com>
10973
2806dc7e 10974 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10975
51a789c3
MG
109762016-10-27 Manish Goregaokar <manish@mozilla.com>
10977
2806dc7e
PA
10978 * gdb.rust/simple.rs: Add test for univariant enums without
10979 discriminants and for encoded struct-like enums.
51a789c3 10980
f610ab6d
PA
109812016-10-28 Pedro Alves <palves@redhat.com>
10982
10983 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10984 gdb_test_multiple, tighten regexps and match symtabs and line
10985 tables incrementally.
10986
b129b0ca
LM
109872016-10-28 Luis Machado <lgustavo@codesourcery.com>
10988
10989 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10990 general.
10991
ecf45d2c
SL
109922016-10-25 Luis Machado <lgustavo@codesourcery.com>
10993
10994 * gdb.base/exec-invalid-sysroot.exp: New file.
10995
b8d38ee4
JK
109962016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10997
10998 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10999
f90fd8c2
JK
110002016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11001
11002 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11003
2d2476aa
MR
110042016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11005
2806dc7e
PA
11006 * gdb.base/killed-outside.exp: Remove $options from a call to
11007 `prepare_for_testing'.
2d2476aa 11008
e42b25a0
SM
110092016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11010
11011 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11012 Change test message.
11013
3ccdb432
SM
110142016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11015
11016 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11017 Update comment.
11018
5bad3170
SM
110192016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11020
11021 * gdb.trace/mi-trace-save.exp: New file.
11022
5ad9dba7
YQ
110232016-10-13 Yao Qi <yao.qi@linaro.org>
11024
11025 * gdb.base/code_elim.exp (get_var_address): Remove.
11026 * gdb.base/relocate.exp: Likewise.
11027 * gdb.base/shreloc.exp: Likewise.
11028 * lib/gdb.exp (get_var_address): New.
11029
62df7e21
YQ
110302016-10-13 Yao Qi <yao.qi@linaro.org>
11031
11032 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11033 floating point tests if $skip_float_test is false.
11034
4dac951e
LM
110352016-10-12 Luis Machado <lgustavo@codesourcery.com>
11036
11037 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11038 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11039 argc values.
11040 Add 1 to argc so we guarantee distinct initial/modified argc values.
11041
8f1a8fc4
JK
110422016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11043
11044 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11045
16c85b5d
JK
110462016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11047
11048 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11049 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11050 * gdb.arch/vsx-regs.exp: Likewise.
11051
1d0e042a
YQ
110522016-10-07 Yao Qi <yao.qi@linaro.org>
11053
11054 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11055
68dadef5
MM
110562016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11057
11058 * gdb.python/python.exp: Test decode_line("*0").
11059
33fa2c6e
DE
110602016-10-06 Doug Evans <dje@google.com>
11061
11062 * gdb.python/py-value.exp (test_value_creation): Add test for large
11063 unsigned 64-bit value.
11064
9c37b5ae
TT
110652016-10-06 Tom Tromey <tom@tromey.com>
11066
11067 * gdb.compile/compile.exp: Change java tests to rust.
11068 * gdb.base/setshow.exp: Change java tests to rust.
11069 * gdb.base/default.exp: Remove java from language list.
11070 * README (Examples): Update language example.
11071 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11072 test.
11073 * lib/gdb.exp (skip_java_tests): Remove.
11074 * lib/java.exp: Remove.
11075 * gdb.java: Remove.
11076
78b86327
MR
110772016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11078
11079 * gdb.arch/mips-fcr.exp: New test.
11080 * gdb.arch/mips-fcr.c: Source for the new test.
11081
7470adbb
MR
110822016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11083
11084 * gdb.base/solib-disc.exp: Use `standard_output_file'
11085 throughout.
11086
4a556533
PA
110872016-10-06 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/jit-simple-dl.c: New file.
11090 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11091 * gdb.base/jit-simple.c: ... this.
11092 * gdb.base/jit-simple.exp (jit_run): Delete.
11093 (build_jit): New proc.
11094 (jit_test_reread): Recompile either the main program or the shared
11095 library, depending on what is being tested. Skip changing address
11096 if caller wants to. Compare before/after addresses. If testing
11097 standalone, explicitly load the binary. Test "maint info
11098 breakpoints".
11099 (top level): Add "standalone vs shared lib" and "change address"
11100 vs "same address" axes.
11101
5a122fbc
PA
111022016-10-06 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11105 call.
11106 (jit_run): Delete.
11107 (jit_test_reread): Use with_test_prefix. Reload the main binary
11108 explicitly. Compare the before/after addresses of the JIT
11109 descriptor.
11110
ee8da4b8
DE
111112016-08-15 Doug Evans <dje@google.com>
11112
11113 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11114 for single bitfields is bool.
11115 * gdb.xml/tdesc-regs.exp: Ditto.
11116
f389f6fe
JK
111172016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11118
11119 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11120
fdebf1a4
YQ
111212016-10-05 Yao Qi <yao.qi@linaro.org>
11122
11123 * lib/gdb.exp (support_complex_tests): Return zero if
11124 gdb_skip_float_test return true.
11125
9c36d954 111262016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11127 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11128
11129 PR gdb/20487
11130 * gdb.mi/user-selected-context-sync.exp: New file.
11131 * gdb.mi/user-selected-context-sync.c: New file.
11132
4034d0ff 111332016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11134 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11135
11136 PR gdb/20487
11137 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11138 =thread-select-event check.
11139
a4297203
PB
111402016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11141
11142 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11143 the compulsory L operand changes.
11144 * gdb.arch/powerpc-power.s: Likewise.
11145
bb805577
JK
111462016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11147
11148 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11149 * gdb.base/jit-attach-pie.c: New file.
11150 * gdb.base/jit-attach-pie.exp: New file.
11151
6d61dee5
PA
111522016-09-28 Pedro Alves <palves@redhat.com>
11153
11154 * gdb.base/infcall-input.c: New file.
11155 * gdb.base/infcall-input.exp: New file.
11156
f73842fc
YQ
111572016-09-22 Yao Qi <yao.qi@linaro.org>
11158
11159 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11160 (gdb_exit): Rename it to ...
11161 (gdbserver_gdb_exit): ... Close GDBserver.
11162 (gdb_exit): New proc, call gdbserver_gdb_exit.
11163 (mi_gdb_exit): Likewise.
11164
90681dab
YQ
111652016-09-22 Yao Qi <yao.qi@linaro.org>
11166
11167 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11168 path.
11169 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11170 Remove duplication.
11171
9c211fd8
YQ
111722016-09-22 Yao Qi <yao.qi@linaro.org>
11173
11174 * lib/gdbserver-support.exp: Check the existence of
11175 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11176
ad0a504f
AK
111772016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11178
11179 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11180
36cf1806
TT
111812016-09-21 Tom Tromey <tom@tromey.com>
11182
11183 PR gdb/20604:
11184 * gdb.base/quit.exp: New file.
11185
74172ecf
SM
111862016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11187
11188 * .gitignore: New file.
11189
3d0ec882
MR
111902016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11191
11192 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11193 throughout.
11194
8193adea
AA
111952016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11196
11197 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11198
d41a5c09
JK
111992016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11200
11201 * gdb.cp/casts.cc (decltype): Move it ...
11202 (main): ... with its call to ...
11203 * gdb.cp/casts03.cc: ... a new file.
11204 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11205
d2dfe700
JK
112062016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11207
11208 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11209
e2a92b16
PB
112102016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11211
11212 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11213 and sync up the test with tests in gas/testsuite/gas/ppc.
11214 * gdb.arch/powerpc-power.exp: Likewise.
11215
49b4de64
JK
112162016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11217
11218 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11219
2c29df25
SDJ
112202016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11221 Jan Kratochvil <jan.kratochvil@redhat.com>
11222
11223 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11224 make m1's definition to be different from m2's. Use 'dummy' as an
11225 argument for probe 'two'.
11226
cc3c2846
JB
112272016-09-10 Jon Beniston <jon@beniston.com>
11228
11229 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11230 for sim target.
11231
e1b2624a
AA
112322016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11233
11234 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11235 variable declaration.
11236 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11237 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11238 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11239 received HWCAP as its argument.
11240
4295e285
PA
112412016-09-06 Pedro Alves <palves@redhat.com>
11242
11243 * gdb.base/new-ui-pending-input.c: New file.
11244 * gdb.base/new-ui-pending-input.exp: New file.
11245 * gdb.exp (clear_gdb_spawn_id): New procedure.
11246 (with_spawn_id): Check whether gdb_spawn_id exists before
11247 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11248 on exit.
11249
00d5215e
UW
112502016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11251
11252 * gdb.base/float128.c: New file.
11253 * gdb.base/float128.exp: Likewise.
11254 * gdb.base/floatn.c: Likewise.
11255 * gdb.base/floatn.exp: Likewise.
11256
a9ff5f12
UW
112572016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11258
11259 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11260
f245535c
PA
112612016-09-05 Pedro Alves <palves@redhat.com>
11262
11263 PR backtrace/19927
11264 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11265 unwinders are immediately called as side effect of "source" or
11266 "disable unwinder" commands.
11267 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11268
ae9cf263
YQ
112692016-09-02 Yao Qi <yao.qi@linaro.org>
11270
11271 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11272 is true and $type is "float" or "double".
11273
27aba047
YQ
112742016-09-02 Yao Qi <yao.qi@linaro.org>
11275
11276 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11277 true.
11278 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11279 * gdb.base/call-rt-st.exp: Likewise.
11280 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11281 return value instead of gdb,skip_float_test.
11282 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11283 (do_function_calls): Use its return value instead of
11284 gdb,skip_float_test.
11285 * gdb.base/finish.exp: Likewise.
11286 * gdb.base/funcargs.exp: Likewise.
11287 * gdb.base/return.exp: Likewise.
11288 * gdb.base/return2.exp: Likewise.
11289 * gdb.base/varargs.exp: Likewise.
11290 * lib/gdb.exp (gdb_skip_float_test): Change it to
11291 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11292
5af962df
AA
112932016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11294
11295 * gdb.multi/tids.exp: Test "thread apply all".
11296
7fac6910
JK
112972016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 * gdb.base/default.exp (tty): Remove.
11300
bb1fe4ac
KB
113012016-08-24 Kevin Buettner <kevinb@redhat.com>
11302
2806dc7e
PA
11303 * gdb.python/py-recurse-unwind.c: New file.
11304 * gdb.python/py-recurse-unwind.py: New file.
11305 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11306
0a1ddfa6
SM
113072016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11308
11309 * gdb.base/set-inferior-tty.exp: New file.
11310 * gdb.base/set-inferior-tty.c: New file.
11311
d9de1fe3
PA
113122016-08-23 Pedro Alves <palves@redhat.com>
11313
11314 PR gdb/20494
11315 * gdb.base/new-ui-echo.c: New file.
11316 * gdb.base/new-ui-echo.exp: New file.
11317
e9d9abd7
YQ
113182016-08-23 Yao Qi <yao.qi@linaro.org>
11319
11320 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11321 gdbserver_spawn.
11322 * gdb.server/connect-without-multi-process.exp (do_test):
11323 Likewise.
11324
3589529e
YQ
113252016-08-23 Yao Qi <yao.qi@linaro.org>
11326
11327 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11328 standalone_txt. Delete gdb_txt and standalone_txt on host
11329 and target. Spawn the binary on target. Copy files from
11330 target to host.
11331
6bb90213
PA
113322016-08-22 Pedro Alves <palves@redhat.com>
11333
11334 PR gdb/20505
11335 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11336 with_test_prefix. Factor out bits to ...
11337 (test_no_vdso): ... this new procedure.
11338
20c2c024
CL
113392016-08-19 Carl Love <cel@us.ibm.com>
11340
11341 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11342 maintaining separate logic for constructing the output path.
11343 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11344 * gdb.arch/ppc-dfp.exp: Likewise.
11345 * gdb.arch/ppc-fp.exp: Likewise.
11346 * gdb.arch/vsx-regs.exp: Likewise.
11347 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11348 binprefix for generating the additional binary files.
11349
0646e07d
PA
113502016-08-19 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.trace/mi-trace-frame-collected.exp
11353 (test_trace_frame_collected): On x32, expect two registers.
11354
46da9242
CL
113552016-08-18 Carl Love <cel@us.ibm.com>
11356
11357 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11358 and sync up the test with tests in gas/testsuite/gas/ppc.
11359 * gdb.arch/powerpc-power.exp: Likewise.
11360
eb2332d7
SM
113612016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11362
11363 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11364 expected error message.
11365
63c61e04
SM
113662016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11367
11368 * gdb.multi/remove-inferiors.exp: New file.
11369 * gdb.multi/remove-inferiors.c: New file.
11370
7b17065f
YQ
113712016-08-12 Yao Qi <yao.qi@linaro.org>
11372
11373 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11374 argument list.
11375
01d3dedf
PA
113762016-08-10 Pedro Alves <palves@redhat.com>
11377
11378 PR gdb/19187
11379 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11380 setup_kfails.
11381
3eb7562a
PA
113822016-08-09 Pedro Alves <palves@redhat.com>
11383 Simon Marchi <simon.marchi@ericsson.com>
11384
11385 PR gdb/20418
11386 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11387 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11388
80614914
PA
113892016-08-09 Pedro Alves <palves@redhat.com>
11390
11391 PR mi/20431
11392 * gdb.mi/mi-cmd-error.exp: New file.
11393
f348d89a
PA
113942016-08-09 Pedro Alves <palves@redhat.com>
11395
11396 PR gdb/18653
11397 * gdb.base/signals-state-child.c: New file.
11398 * gdb.base/signals-state-child.exp: New file.
11399 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11400
e5ca03b4
PA
114012016-08-09 Pedro Alves <palves@redhat.com>
11402
11403 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11404
282a0691
TT
114052016-08-03 Tom Tromey <tom@tromey.com>
11406
11407 PR python/18565:
11408 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11409
41bfcd63
YQ
114102016-08-01 Yao Qi <yao.qi@linaro.org>
11411
11412 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11413 variable mode to "multi-process" if $multi_process is 1, otherwise
11414 set it to "single-process".
11415
e3465b24
YQ
114162016-08-01 Yao Qi <yao.qi@linaro.org>
11417
11418 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11419 * gdb.cp/cpexprs.exp: Likewise.
11420 * gdb.cp/m-static.exp: Likewise.
11421
0b31a4bc
TT
114222016-07-26 Tom Tromey <tom@tromey.com>
11423
11424 PR python/20190:
11425 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11426 test.
11427
e0461dbb
MM
114282016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11429
11430 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11431 selecting assembly source files.
11432 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11433 assembly source files.
11434 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11435 assembly source files.
11436 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11437 selecting assembly source files.
11438
8194e927
SM
114392016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11440
11441 * gdb.base/new-ui.exp (do_test_invalid_args): New
11442 procedure.
11443
c0272db5
TW
114442016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11445
11446 * gdb.btrace/reconnect.c: New file.
11447 * gdb.btrace/reconnect.exp: New file.
11448
e3487908
GKB
114492016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11450
11451 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11452 to test_catch_syscall_group.
11453 (test_catch_syscall_group): New.
11454
12df5c00
TT
114552016-07-21 Tom Tromey <tom@tromey.com>
11456
11457 * gdb.rust/simple.rs (main): Use empty struct expression.
11458 * gdb.rust/simple.exp: Add tests for empty struct expression.
11459
bae62ee2
YQ
114602016-07-21 Yao Qi <yao.qi@linaro.org>
11461
11462 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11463 if gdb_skip_xml_test is true on some targets.
11464
b1b53fb3
YQ
114652016-07-21 Yao Qi <yao.qi@linaro.org>
11466
11467 * gdb.server/solib-list.exp: Unset last_loaded_file.
11468
027d97f8
JK
114692016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11470
11471 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11472 "step into captured_main (args)".
11473
7674d381
JK
114742016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11475
11476 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11477
72b5d099
JK
114782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11479
11480 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11481
1f960ced
PA
114822016-07-19 Pedro Alves <palves@redhat.com>
11483
11484 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11485 * gdb.opt/inline-bt.exp: Likewise.
11486 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11487 additional_flags=-Winline.
11488 * gdb.opt/inline-locals.exp: Likewise.
11489 * gdb.opt/inline-markers.c (ATTR): Define.
11490 (inlined_fn): Use it.
11491
f25827c1
YQ
114922016-07-19 Yao Qi <yao.qi@linaro.org>
11493
11494 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11495 (test_with_self): Remove some code. Remove argument executable.
11496 (top-level): Use do_self_tests.
11497
37539ebe
DB
114982016-07-15 Zachary Welch <zwelch@codesourcery.com>
11499 Don Breazeal <donb@codesourcery.com>
11500
11501 * gdb.base/maint.exp: Escape paths used in regular expressions.
11502 * gdb.stabs/weird.exp: Likewise.
11503
dac790e1
TT
115042016-07-13 Tom Tromey <tom@tromey.com>
11505
11506 PR python/15620, PR python/18620:
11507 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11508 (test_bkpt_events): New procs.
11509
93daf339
TT
115102016-07-13 Tom Tromey <tom@tromey.com>
11511
11512 PR python/17698:
11513 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11514 test.
11515 (test_watchpoints): Likewise.
11516 (test_bkpt_pending): New proc.
11517
6571a381
TT
115182016-07-13 Tom Tromey <tom@tromey.com>
11519
11520 PR cli/18053:
11521 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11522 completion test.
11523
e8732474
JK
115242016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11525
11526 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11527 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11528 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11529 f_label.
11530 (g): Rename g_end_lbl to g_label.
11531 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11532 low_pc and high_pc.
11533 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11534
e0f3fd7c
TT
115352016-07-12 Tom Tromey <tom@tromey.com>
11536
11537 PR python/19293:
11538 * gdb.python/py-unwind-maint.exp: Update tests.
11539
3cfe46b6
YQ
115402016-07-12 Yao Qi <yao.qi@linaro.org>
11541
11542 * lib/selftest-support.exp (selftest_setup): Match the output
11543 when captured_main is inlined.
11544
4f19a0e6
WT
115452016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11546
11547 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11548 New variables.
11549 (print this%a, print this%b, print this): New tests.
11550 * gdb.fortran/derived-types.f90 (this): New object and
11551 initialization.
11552
986cf455
SM
115532016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11554
11555 * gdb.ada/arraydim.exp: Remove extra directory level in build
11556 directory.
11557
f0464b23
SM
115582016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11559
11560 * lib/ada.exp: Remove extra directory level in build directory.
11561 * gdb.ada/cond_lang.exp: Likewise.
11562 * gdb.ada/exec_changed.exp: Likewise.
11563 * gdb.ada/lang_switch.exp: Likewise.
11564
42d94011
MG
115652016-07-06 Manish Goregaokar <manish@mozilla.com>
11566
2806dc7e
PA
11567 * simple.rs: Add test for raw pointer subscripting.
11568 * simple.exp: Add test expectations.
42d94011 11569
647c264c
YQ
115702016-07-05 Yao Qi <yao.qi@linaro.org>
11571
11572 * gdb.mi/mi-reverse.exp: Match =record-started output.
11573
20aa2c60
PA
115742016-07-01 Pedro Alves <palves@redhat.com>
11575
11576 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11577 procedure.
11578 (jit_reader_test): Test the jit reader's unwinder.
11579 * gdb.base/jithost.c (jit_function_00_code): New global.
11580 (main): Use memcpy to fill in the mmapped code, instead of poking
11581 bytes manually here.
11582 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11583 value.
11584 (read_debug_info): Save the function's range.
11585 (read_sp): New function.
11586 (unwind_frame): Use it. Also unwind RBP.
11587 (get_frame_id): Use read_sp.
11588 (gdb_init_reader): Use calloc instead of malloc.
11589 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11590 parameter. Use gdb_test_multiple.
11591
ced2dffb
PA
115922016-07-01 Pedro Alves <palves@redhat.com>
11593 Antoine Tremblay <antoine.tremblay@ericsson.com>
11594
11595 * gdb.threads/process-dies-while-detaching.c: New file.
11596 * gdb.threads/process-dies-while-detaching.exp: New file.
11597
63000888
PA
115982016-07-01 Pedro Alves <palves@redhat.com>
11599
11600 * gdb.multi/watchpoint-multi-exit.c: New file.
11601 * gdb.multi/watchpoint-multi-exit.exp: New file.
11602
038d4868
PA
116032016-06-30 Pedro Alves <palves@redhat.com>
11604
11605 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11606 unset inferior_spawn_id.
11607
994e9c83
PA
116082016-06-30 Pedro Alves <palves@redhat.com>
11609
11610 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11611 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11612
e5653468
YQ
116132016-06-29 Yao Qi <yao.qi@linaro.org>
11614
11615 * gdb.base/return.c: Add copyright header.
11616
803b47e5
TT
116172016-06-29 Tom Tromey <tom@tromey.com>
11618
11619 PR python/20129:
11620 * gdb.python/py-framefilter.exp: Add tests for setting priority
11621 and disabling of non-existent frame filter.
11622
28244707
YQ
116232016-06-29 Yao Qi <yao.qi@linaro.org>
11624
11625 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11626 0x0f07ff.
11627
a31d2f06
YQ
116282016-06-28 Yao Qi <yao.qi@linaro.org>
11629
11630 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11631 triplets. Start gdb, execute catch syscall, and continue. Check
11632 gdb's output to determine catch syscall is supported.
11633
921d8f54
MG
116342016-06-27 Manish Goregaokar <manish@mozilla.com>
11635
25d49b86
PA
11636 * gdb.rust/simple.rs: Add test for returning unit in a function.
11637 * gdb.rust/simple.exp: Add expectation for functions returning
11638 unit.
921d8f54 11639
f4952523
PMR
116402016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11641
11642 * gdb.python/py-breakpoint-create-fail.c,
11643 gdb.python/py-breakpoint-create-fail.exp,
11644 gdb.python/py-breakpoint-create-fail.py: New testcase.
11645
fccb08f8
MG
116462016-06-25 Manish Goregaokar <manish@mozilla.com>
11647
11648 PR gdb/20239
11649 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11650 * gdb.rust/simple.exp: Add test expectations for new NonZero
11651 tests.
fccb08f8 11652
6b850546
DT
116532016-06-24 David Taylor <dtaylor@emc.com>
11654
11655 * gdb.base/offsets.exp: New file.
11656 * gdb.base/offsets.c: New file.
11657
17621150
TT
116582016-06-23 Tom Tromey <tom@tromey.com>
11659
11660 PR gdb/16483:
11661 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11662 before any filters are loaded.
11663
04d59df6
WT
116642016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11665
11666 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11667 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11668 structs.
11669 * gdb.fortran/derived-type-function.exp: New file.
11670 * gdb.fortran/derived-type-function.f90: New file.
11671
11672
ac69f786
PA
116732016-06-21 Pedro Alves <palves@redhat.com>
11674
11675 * gdb.base/new-ui.exp: New file.
11676 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11677 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11678 (with_spawn_id): New procedure.
11679
49940788
PA
116802016-06-21 Pedro Alves <palves@redhat.com>
11681
11682 * gdb.mi/mi-exec-run.exp: New file.
11683
ef274d26
PA
116842016-06-21 Pedro Alves <palves@redhat.com>
11685
11686 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11687 breakpoint command's output on the main UI.
11688 (test_break): New procedure, factored out from calls in the top
11689 level.
11690 (top level): Use foreach_with_prefix to test MI as main UI and as
11691 separate UI.
11692
468afe6c
PA
116932016-06-21 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11696 (test_awatch_creation_and_listing)
11697 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11698 Remove 'type' parameter.
11699 (test_watchpoint_all): New parameter mi_mode. Remove
11700 with_test_prefix.
11701 (top level): Use foreach_with_prefix, and add main/separate UI MI
11702 testing axis.
11703
51f77c37
PA
117042016-06-21 Pedro Alves <palves@redhat.com>
11705
11706 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11707 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11708 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11709 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11710 (gdb_main_spawn_id, mi_spawn_id): Declare and
11711 comment.
11712 (mi_create_inferior_pty): New procedure,
11713 factored out from default_mi_gdb_start.
11714 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11715 procedures.
11716 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11717 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11718 Use mi_create_inferior_pty.
11719 (mi_gdb_start): Use eval to pass down args list.
11720
8980e177
PA
117212016-06-21 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11724 * gdb.opt/inline-cmds.exp: Add MI tests.
11725
f38d3ad1
PA
117262016-06-21 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11729
45db7c09
PA
117302016-06-21 Pedro Alves <palves@redhat.com>
11731
11732 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11733 (top level): Use it instead of mi_execute_to.
11734
5a069ab3
PA
117352016-06-21 Pedro Alves <palves@redhat.com>
11736
11737 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11738 (cont_handler_str): New.
11739 (signal_stop_handler): Set stop_handler_str instead of printing to
11740 stdout.
11741 (continue_handler): Set cont_handler_str instead of printing to
11742 stdout.
11743 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11744 mi_send_resuming_command. Print stop_handler_str and
11745 cont_handler_str instead of expecting the python events print
11746 directly.
11747
2838cc1d
SD
117482016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11749
11750 * gdb.base/jit-reader.exp: New file.
11751 * gdb.base/jithost.c: New file.
11752 * gdb.base/jithost.h: New file.
11753 * gdb.base/jitreader.c : New file.
11754 * gdb.base/jit-protocol.h: New file.
11755
21a77091
YQ
117562016-06-17 Yao Qi <yao.qi@linaro.org>
11757
11758 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11759 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11760 and detach-on-fork. Adjust tests.
11761 (top level): Invoke break_cond_on_syscall with combinations of
11762 syscall, follow-fork-mode and detach-on-fork.
11763
f50bf8e5
YQ
117642016-06-17 Yao Qi <yao.qi@linaro.org>
11765
11766 * gdb.base/step-over-exit.c: New.
11767 * gdb.base/step-over-exit.exp: New.
11768
a28d8e50
YTL
117692016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11770
11771 * gdb.base/float.exp: Add target check for nds32*-*-*.
11772 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11773
cad8e26d
AB
117742016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11775
11776 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11777 for unsupported target features.
11778 * gdb.base/call-rt-st.exp: Likewise.
11779 * gdb.base/call-sc.exp: Likewise.
11780 * gdb.base/call-signal-resume.exp: Likewise.
11781 * gdb.base/call-strs.exp: Likewise.
11782 * gdb.base/callexit.exp: Likewise.
11783 * gdb.base/callfuncs.exp: Likewise.
11784 * gdb.base/nodebug.exp: Likewise.
11785 * gdb.base/printcmds.exp: Likewise.
11786 * gdb.base/ptype.exp: Likewise.
11787 * gdb.base/structs.exp: Likewise.
11788 * gdb.base/unwindonsignal.exp: Likewise.
11789 * gdb.cp/gdb2495.exp: Likewise.
11790 * gdb.cp/templates.exp: Likewise.
11791 * gdb.cp/virtfunc.exp: Likewise.
11792 * gdb.threads/hand-call-in-threads.exp: Likewise.
11793 * gdb.threads/interrupted-hand-call.exp: Likewise.
11794 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11795
347dc102
TT
117962016-06-10 Tom Tromey <tom@tromey.com>
11797
11798 PR rust/20110:
11799 * gdb.rust/expr.exp: Add test for integer constant larger than
11800 i32.
11801
5e13cf25
BH
118022016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11803
11804 * gdb.fortran/nested-funcs.exp: New.
11805 * gdb.fortran/nested-funcs.f90: New.
11806
bb556f1f
TK
118072016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11808
11809 * gdb.base/examine-backward.c: New file.
11810 * gdb.base/examine-backward.exp: New file.
11811
38b022b4
SM
118122016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11813
11814 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11815 matching.
11816
1b40ec05
TT
118172016-06-02 Tom Tromey <tom@tromey.com>
11818
11819 PR python/18984:
11820 * gdb.python/py-shared.exp: Add solib_name test.
11821
193bd378
SM
118222016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11823
11824 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11825
3326303b
MG
118262016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11827
11828 PR c++/19893
11829 * gdb.dwarf2/implref.exp: Rename to...
11830 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11831 * gdb.dwarf2/implref-array.c: New file.
11832 * gdb.dwarf2/implref-array.exp: Likewise.
11833 * gdb.dwarf2/implref-global.c: Likewise.
11834 * gdb.dwarf2/implref-global.exp: Likewise.
11835 * gdb.dwarf2/implref-struct.c: Likewise.
11836 * gdb.dwarf2/implref-struct.exp: Likewise.
11837
825c8ef2
AT
118382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11839
11840 * gdb.trace/trace-condition.exp: Add 64bit tests.
11841
2320162a
AT
118422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11843
11844 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11845 bits types.
11846 (main): Adapt to 8 to 64 bits types.
11847 * gdb.trace/trace-condition.exp: Add new tests.
11848
a7818233
AT
118492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11850
11851 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11852
0d336466
AT
118532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11854
11855 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11856 Move condition tests...
11857 * gdb.trace/trace-condition.exp: Here.
11858
7faeb45a
AT
118592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11860
11861 * gdb.trace/trace-condition.exp: Add counter-case tests.
11862
e385593e
JK
118632016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11864
11865 PR c++/15231
11866 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11867 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11868
744608cc
PA
118692016-05-27 Pedro Alves <palves@redhat.com>
11870
11871 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11872 New procedure.
11873 (top level): Call it, and bail out of DejaGnu is known to be bad.
11874
ac775bf4
AB
118752016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11876
11877 * gdb.base/whatis.c: Extend the test case.
11878 * gdb.base/whatis.exp: Add additional tests.
11879
2bbad2ea
BH
118802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11881
11882* gdb.fortran/type.f90: Add pointer variable.
11883* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11884
8b70175d
BH
118852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11886
11887 * gdb.fortran/vla-type.exp: Fix testcase name.
11888
86d8a848
BH
118892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11890
11891 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11892
e188eb36
BH
118932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11894
11895 * gdb.fortran/type.f90: Add nested structures.
11896 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11897 * gdb.fortran/derived-type.exp: Adapt expected output.
11898 * gdb.fortran/vla-type.exp: Adapt expected output.
11899
9b2db1fd
BH
119002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11901
11902 * gdb.fortran/whatis_type.exp: Adapt expected output.
11903
72b17055
BH
119042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11905
11906 * gdb.fortran/print_type.exp: Fix expected output.
11907 * gdb.fortran/whatis_type.exp: Fix expected output.
11908
3cd81d8d
BH
119092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11910
11911 * gdb.fortran/whatis_type.exp: Use multi_line.
11912
ddae9462
TT
119132016-05-24 Tom Tromey <tom@tromey.com>
11914
11915 PR python/17386:
11916 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11917 use value as an index.
11918
1957f6b8
TT
119192016-05-23 Tom Tromey <tom@tromey.com>
11920
11921 PR python/17981:
11922 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11923 no-breakpoint case.
11924
026a9174
PA
119252016-05-24 Pedro Alves <palves@redhat.com>
11926
11927 PR gdb/19828
11928 * gdb.threads/clone-attach-detach.c: New file.
11929 * gdb.threads/clone-attach-detach.exp: New file.
11930
e70a7231
FR
119312016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11932
11933 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11934
0f6ed0e0
TT
119352016-05-23 Tom Tromey <tom@tromey.com>
11936
11937 PR python/19438, PR python/18393:
11938 * gdb.python/py-progspace.exp: Add "dir" test.
11939 * gdb.python/py-objfile.exp: Add "dir" test.
11940
ffd19d61
YQ
119412016-05-23 Yao Qi <yao.qi@linaro.org>
11942
11943 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11944 * gdb.arch/thumb2-it.exp: Likewise.
11945
9e8f9b05
SM
119462016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11947
11948 * gdb.mi/mi-threads-interrupt.c: New file.
11949 * gdb.mi/mi-threads-interrupt.exp: New file.
11950
61c6156d
SM
119512016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11952
11953 PR gdb/18077
11954 * gdb.mi/mi-async-run.exp: New file.
11955 * gdb.mi/mi-async-run.c: New file.
11956
67218854
TT
119572016-05-17 Tom Tromey <tom@tromey.com>
11958 Manish Goregaokar <manishsmail@gmail.com>
11959
11960 * lib/rust-support.exp: New file.
11961 * lib/gdb.exp (skip_rust_tests): New proc.
11962 (build_executable_from_specs): Handle rust.
11963 * lib/future.exp (gdb_find_rustc): New proc.
11964 (gdb_default_target_compile): Handle rust.
11965 * gdb.rust/expr.exp: New file.
11966 * gdb.rust/generics.exp: New file.
11967 * gdb.rust/generics.rs: New file.
11968 * gdb.rust/methods.exp: New file.
11969 * gdb.rust/methods.rs: New file.
11970 * gdb.rust/modules.exp: New file.
11971 * gdb.rust/modules.rs: New file.
11972 * gdb.rust/simple.exp: New file.
11973 * gdb.rust/simple.rs: New file.
11974
c44af4eb
TT
119752016-05-17 Tom Tromey <tom@tromey.com>
11976
11977 * gdb.base/default.exp (set language): Add rust.
11978
dcd1f979
TT
119792016-05-17 Tom Tromey <tom@tromey.com>
11980
11981 * gdb.gdb/unittest.exp: New file.
11982
155b7f57
YQ
119832016-05-16 Yao Qi <yao.qi@linaro.org>
11984
11985 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11986 shell_prompt. Update shell_prompt_re.
11987
8ddd5a6c
DE
119882016-05-12 Doug Evans <dje@google.com>
11989
11990 PR symtab/19999
11991 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11992 $options when building executable.
11993 * gdb.dwarf2/fission-loclists-pie.S: New file.
11994 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11995
02e370d9
SM
119962016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11997
11998 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11999 of [is_remote target],
12000
8929ad8b
SM
120012016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12002
12003 * lib/gdb.exp (use_gdb_stub): New procedure.
12004
6c447423
DE
120052016-05-03 Yunlian Jiang <yunlian@google.com>
12006 Doug Evans <dje@google.com>
12007
12008 PR symtab/19914
12009 * gdb.dwarf2/dwp-sepdebug.c: New file.
12010 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12011
444e826c
SM
120122016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12013
12014 * gdb.base/detach.exp: Remove is_remote check.
12015
740feeaa
SM
120162016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12017
12018 * gdb.base/annota-input-while-running.exp: Don't check for
12019 [is_remote target]. Enable annotations after running to main.
12020 Remove unused "set test..." line.
12021
9080ac9d
SM
120222016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12023
12024 * gdb.trace/trace-enable-disable.exp: New file.
12025 * gdb.trace/trace-enable-disable.c: New file.
12026
952ebca5
SM
120272016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12028
12029 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12030 use it in info sharedlibrary test.
12031 * gdb.trace/ftrace-lock.exp: Likewise.
12032 * gdb.trace/ftrace.exp: Likewise.
12033 * gdb.trace/range-stepping.exp: Likewise.
12034 * gdb.trace/trace-break.exp: Likewise.
12035 * gdb.trace/trace-condition.exp: Likewise.
12036 * gdb.trace/trace-mt.exp: Likewise.
12037
d9019901
SM
120382016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12039
12040 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12041 (gdb_load_shlib): ... this.
12042 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12043 gdb_load_shlib.
12044 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12045 * gdb.base/ctxobj.exp: Likewise.
12046 * gdb.base/dprintf-pending.exp: Likewise.
12047 * gdb.base/dso2dso.exp: Likewise.
12048 * gdb.base/fixsection.exp: Likewise.
12049 * gdb.base/gcore-relro.exp: Likewise.
12050 * gdb.base/gdb1555.exp: Likewise.
12051 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12052 * gdb.base/gnu-ifunc.exp: Likewise.
12053 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12054 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12055 * gdb.base/pending.exp: Likewise.
12056 * gdb.base/print-file-var.exp: Likewise.
12057 * gdb.base/print-symbol-loading.exp: Likewise.
12058 * gdb.base/shlib-call.exp: Likewise.
12059 * gdb.base/shreloc.exp: Likewise.
12060 * gdb.base/so-impl-ld.exp: Likewise.
12061 * gdb.base/solib-disc.exp: Likewise.
12062 * gdb.base/solib-nodir.exp: Likewise.
12063 * gdb.base/solib-overlap.exp: Likewise.
12064 * gdb.base/solib-symbol.exp: Likewise.
12065 * gdb.base/solib-weak.exp (do_test): Likewise.
12066 * gdb.base/sym-file.exp: Likewise.
12067 * gdb.base/symtab-search-order.exp: Likewise.
12068 * gdb.base/type-opaque.exp: Likewise.
12069 * gdb.base/unload.exp: Likewise.
12070 * gdb.base/watchpoint-solib.exp: Likewise.
12071 * gdb.compile/compile.exp: Likewise.
12072 * gdb.cp/gdb2384.exp: Likewise.
12073 * gdb.cp/infcall-dlopen.exp: Likewise.
12074 * gdb.cp/re-set-overloaded.exp: Likewise.
12075 * gdb.fortran/library-module.exp: Likewise.
12076 * gdb.opt/solib-intra-step.exp: Likewise.
12077 * gdb.python/py-finish-breakpoint.exp: Likewise.
12078 * gdb.python/py-shared.exp: Likewise.
12079 * gdb.reverse/solib-precsave.exp: Likewise.
12080 * gdb.reverse/solib-reverse.exp: Likewise.
12081 * gdb.server/solib-list.exp: Likewise.
12082 * gdb.threads/dlopen-libpthread.exp: Likewise.
12083 * gdb.threads/tls-shared.exp: Likewise.
12084 * gdb.threads/tls-so_extern.exp: Likewise.
12085 * gdb.trace/change-loc.exp: Likewise.
12086 * gdb.trace/ftrace-lock.exp: Likewise.
12087 * gdb.trace/ftrace.exp: Likewise.
12088 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12089 * gdb.trace/pending.exp: Likewise.
12090 * gdb.trace/range-stepping.exp: Likewise.
12091 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12092 (strace_info_marker): Likewise.
12093 (strace_probe_marker): Likewise.
12094 (strace_trace_on_same_addr): Likewise.
12095 (strace_trace_on_diff_addr): Likewise.
12096 * gdb.trace/trace-break.exp: Likewise.
12097 * gdb.trace/trace-condition.exp: Likewise.
12098 * gdb.trace/trace-mt.exp: Likewise.
12099
fca4cfd9
SM
121002016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12101
12102 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12103 result of gdb_remote_download.
12104 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12105 * gdb.base/dso2dso.exp: Likewise.
12106 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12107 * gdb.base/print-file-var.exp: Likewise.
12108 * gdb.base/shlib-call.exp: Likewise.
12109 * gdb.base/shreloc.exp: Likewise.
12110 * gdb.base/solib-overlap.exp: Likewise.
12111 * gdb.base/solib-weak.exp (do_test): Likewise.
12112 * gdb.base/unload.exp: Likewise.
12113
11cf4ffb
YQ
121142016-04-27 Yao Qi <yao.qi@linaro.org>
12115
12116 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12117 exists.
12118
3e2e34f8
KB
121192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12120
12121 * vla-type.exp: Print structure from toplevel.
12122
8f07e298
BH
121232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12124
12125 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12126 of dynamic types.
12127 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12128 of dynamic types.
12129
9920b434
BH
121302016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12131
12132 * gdb.fortran/vla-type.f90: New file.
12133 * gdb.fortran/vla-type.exp: New file.
12134
f3abeff5
YQ
121352016-04-25 Yao Qi <yao.qi@linaro.org>
12136
12137 * gdb.base/branch-to-self.c: New file.
12138 * gdb.base/branch-to-self.exp: New file.
12139
0a5d52f0
YQ
121402016-04-22 Yao Qi <yao.qi@linaro.org>
12141
12142 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12143 more after $hex.
12144
495346f6
YQ
121452016-04-22 Yao Qi <yao.qi@linaro.org>
12146
12147 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12148 * gdb.base/annota3.exp: Likewise.
12149
4a7e075c
YQ
121502016-04-22 Yao Qi <yao.qi@linaro.org>
12151
12152 * gdb.reverse/step-precsave.exp: Do one step and test program
12153 stops in "callee" and do multiple steps until program goes out
12154 of "callee".
12155 * gdb.reverse/step-reverse.exp: Likewise.
12156
5b061e98
YQ
121572016-04-22 Yao Qi <yao.qi@linaro.org>
12158
12159 * gdb.trace/signal.exp: Also pass if
12160 $tracepoint_hits($i) > $iterations.
12161
5c5dc57f
YQ
121622016-04-22 Yao Qi <yao.qi@linaro.org>
12163
12164 * gdb.trace/signal.c: New file.
12165 * gdb.trace/signal.exp: New file.
12166
a55411b9
DE
121672016-04-19 Doug Evans <xdje42@gmail.com>
12168
12169 * gdb.base/bad-file.exp: New file.
12170
a22df60a
MG
121712016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12172
12173 * gdb.dwarf2/implref.exp: New file.
12174
0c13f7e5
BH
121752016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12176
12177 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12178 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12179 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12180 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12181 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12182 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12183 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12184 * lib/fortran.exp (fortran_int4): New procedure.
12185 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12186 (fortran_logical4): Likewise.
12187
9b9b09e9
BH
121882016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12189
12190 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12191
a14d1f4d
BH
121922016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12193
12194 * lib/compiler.c: Add Intel specific preprocessor macros.
12195 * lib/compiler.cc: Likewise.
25d49b86 12196
7d49b1d0
LM
121972016-04-13 Luis Machado <lgustavo@codesourcery.com>
12198
12199 * gdb.server/connect-with-no-symbol-file.c: New file.
12200 * gdb.server/connect-with-no-symbol-file.exp: New file.
12201
8392fa22
SM
122022016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12203
12204 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12205
8c4c4aeb
SM
122062016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12207
12208 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12209 standard output directory.
12210
45e3745e
AT
122112016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12212
12213 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12214
e26b7e41
MM
122152016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12216
12217 * gdb.btrace/instruction_history.c (loop): Add declaration.
12218
8ce09462
AT
122192016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12220
12221 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12222
2e88a1ea
SM
122232016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12224
12225 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12226 parentheses to print.
12227 (continue_handler): Likewise.
12228
f48e22e3
SM
122292016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12230
12231 * gdb.server/solib-list.exp: Remove is_remote check.
12232 Pass shlib= to gdb_compile. Don't link shared library with
12233 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12234 Run binary filename through "readlink -f" on the target.
12235
096be756
PA
122362016-04-08 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12239 interpreter filename as argument to gdbserver_spawn.
12240 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12241 Return empty if $last_loaded_file does not exist.
12242
06500533
JK
122432016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12244
12245 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12246 * gdb.base/jit-main.c: Use exit after usage.
12247
2d35e871
JK
122482016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12249
12250 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12251 GDBHISTSIZE prior to the tests.
12252 * gdb.base/gdbinit-history.exp: Likewise.
12253
122542016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12255
12256 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12257 instead of build_executable. Use gdb_load_shlibs.
12258
c8064e7e
YQ
122592016-04-07 Yao Qi <yao.qi@linaro.org>
12260
12261 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12262 Execute "si" command.
12263
bde47561
YQ
122642016-04-07 Yao Qi <yao.qi@linaro.org>
12265
12266 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12267 number instead of the comments on some line.
12268
b16f8a3b
DB
122692016-04-06 Don Breazeal <donb@codesourcery.com>
12270
12271 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12272 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12273
c2f901df
SM
122742016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12275
12276 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12277 standard_output_file. Remove unused binfile variable.
12278
ac17fda0
CU
122792016-04-05 Catalin Udma <catalin.udma@freescale.com>
12280
12281 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12282 * gdb.python/py-mi-objfile.exp: Match "list main" output
12283 in console format.
12284
03a8c4df
SM
122852016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12286
12287 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12288 absolute.
12289
6e774b13
SM
122902016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12291
12292 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12293 absolute.
12294 * gdb.trace/ftrace.exp: Likewise.
12295 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12296 targets as well.
12297 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12298 (gdb_load_shlibs): Copy libraries to test directory when testing
12299 natively. Only set solib-search-path if testing remotely.
12300 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12301
7817ea46
SM
123022016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12303
12304 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12305 gdb_download. Use it even if the target is not remote.
12306 * gdb.base/jit.exp (compile_jit_test): Likewise.
12307 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12308 output directory if the destination board is local, otherwise use
12309 the standard remote_download from DejaGnu.
12310 (gdb_download): Remove.
12311 (gdb_load_shlibs): Use gdb_remote_download instead of
12312 gdb_download.
12313 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12314 Use gdb_remote_download instead of gdb_download. Use it even if
12315 the target is not remote.
12316 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12317 instead of gdb_download.
12318
7beb7f68
SM
123192016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12320
12321 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12322 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12323 run.
12324
cc63428a
AV
123252016-04-01 Artemiy Volkov <artemiyv@acm.org>
12326
12327 PR gdb/19820
12328 * gdb.base/printcmds.exp: Add artificial arrays tests.
12329
64cdf930
PA
123302016-03-31 Pedro Alves <palves@redhat.com>
12331
12332 PR gdb/19858
12333 * gdb.base/jit-main.c: Include unistd.h.
12334 (ATTACH): Define to 0 if not already defined.
12335 (wait_for_gdb, mypid): New globals.
12336 (WAIT_FOR_GDB): New macro.
12337 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12338 some breakpoint locations.
12339 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12340 New procedures.
12341 (one_jit_test): Add REATTACH parameter, and handle it. Use
12342 continue_to_test_location.
12343 (top level): Test attach, and adjusts calls to one_jit_test.
12344
40dea8cb
PA
123452016-03-31 Pedro Alves <palves@redhat.com>
12346
12347 PR gdb/19858
12348 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12349 BINSUFFIX parameter, and handle it.
12350 (top level): Adjust calls compile_jit_test.
12351
e7ea3ec7
CU
123522016-03-31 Catalin Udma <catalin.udma@freescale.com>
12353
12354 PR python/19743
12355 * gdb.python/py-mi-events-gdb.py: New file.
12356 * gdb.python/py-mi-events.c: New file.
12357 * gdb.python/py-mi-events.exp: New file.
12358
e6359af3
YQ
123592016-03-30 Yao Qi <yao.qi@linaro.org>
12360
12361 * gdb.reverse/until-precsave.exp: Match function name only.
12362 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12363 Move malloc to a condition block.
12364 * gdb.reverse/until-reverse.exp: Match function name only.
12365
a4105d04
MK
123662016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12367
12368 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12369 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12370 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12371 variable for GPR 0 instead of assuming it is register 0.
12372 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12373 * lib/trace-support.exp: Add s390 registers.
12374
bfa6adb9
YQ
123752016-03-29 Yao Qi <yao.qi@linaro.org>
12376
12377 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12378
1e6697ea
YQ
123792016-03-24 Yao Qi <yao.qi@linaro.org>
12380
12381 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12382 test message.
12383
64bcd522
AA
123842016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12385
12386 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12387 maintaining separate logic for constructing the output path.
12388
7868401b
DB
123892016-03-16 Don Breazeal <donb@codesourcery.com>
12390
12391 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12392 Retry fork and waitpid on interrupted system call errors.
12393 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12394 Use with_timeout_factor to increase timeout by factor of 10.
12395
1cafadb4
DB
123962016-03-15 Don Breazeal <donb@codesourcery.com>
12397
12398 * gdb.cp/scope-err.cc: New test program.
12399 * gdb.cp/scope-err.exp: New test script.
12400 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12401 lines and "set breakpoint here" comment.
12402 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12403 Fixed some whitespace and format issues.
12404 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12405 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12406
81516450
DE
124072016-03-15 Doug Evans <dje@google.com>
12408
12409 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12410 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12411 All callers updated. Add tests for enums, mixed flags register.
12412
aa52b601
DE
124132016-03-15 Doug Evans <dje@google.com>
12414
12415 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12416 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12417
fa4ff313
SM
124182016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12419
12420 * gdb.base/default.exp: Add $_as_string to the list of expected
12421 convenience functions.
12422
f2403c39
AB
124232016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12424
12425 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12426
f2f3ccb9
SM
124272016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12428
12429 * gdb.python/py-as-string.exp: New file.
12430 * gdb.python/py-as-string.c: New file.
12431
00dbd492
PA
124322016-03-09 Pedro Alves <palves@redhat.com>
12433
12434 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12435 signal" -> "Thread NN received signal" output change.
12436 * gdb.threads/ia64-sigill.exp: Likewise.
12437 * gdb.threads/linux-dp.exp: Likewise.
12438 * gdb.threads/manythreads.exp: Likewise.
12439 * gdb.threads/pending-step.exp: Likewise.
12440 * gdb.threads/print-threads.exp: Likewise.
12441 * gdb.threads/sigstep-threads.exp: Likewise.
12442 * gdb.threads/staticthreads.exp: Likewise.
12443 * gdb.threads/tls.exp: Likewise.
12444
1e6697ea
YQ
124452016-03-09 Pedro Alves <palves@redhat.com>
12446
12447 * gdb.base/command-line-input.exp: New file.
12448
b04fd3be
MK
124492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12450
12451 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12452 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12453 * gdb.trace/pending.exp: Accept leading dot before function name.
12454 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12455 * lib/trace-support.exp: Set registers for ppc.
12456
98fa59e9
MK
124572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12458
12459 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12460 use it for disassembly; accept .main in addition to main in backtrace.
12461
f77198c8
MK
124622016-03-09 Wei-cheng Wang <cole945@gmail.com>
12463 Marcin Kościelnicki <koriakin@0x04.net>
12464
12465 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12466 (gdb_recursion_test_ptr): New global variable.
12467 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12468 gdb_recursion_test.
12469 (gdb_c_test): Ditto.
12470
ba84e0da
MK
124712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12472
12473 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12474 ordering.
12475
4366d36e
MK
124762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12477
12478 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12479 (bar): Add bar_start_lbl label.
12480 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12481 of foo/bar for emitting DWARF and tracing.
12482
5eb264df
SDJ
124832016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12484
12485 * analyze-racy-logs.py: Set executable bit.
12486
fb6a751f
SDJ
124872016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12488
12489 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12490 (CHECK_TARGET_TMP): Likewise.
12491 (check-single-racy): New rule.
12492 (check-parallel-racy): Likewise.
12493 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12494 (do-check-parallel-racy): New rule.
12495 (check-racy/%.exp): Likewise.
12496 * README (Racy testcases): New section.
12497 * analyze-racy-logs.py: New file.
12498
bdf7e230
DE
124992016-03-03 Doug Evans <dje@google.com>
12500
12501 * gdb.base/skip.exp: Use with_test_prefix.
12502
4719d415
YQ
125032016-03-03 Yao Qi <yao.qi@linaro.org>
12504
12505 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12506 Invoke step_over_syscall "clone" and break_cond_on_syscall
12507 "clone".
12508 * gdb.base/step-over-clone.c: New file.
12509
ea507862
YQ
125102016-03-03 Yao Qi <yao.qi@linaro.org>
12511
12512 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12513 code format.
12514
8fc8cbda
YQ
125152016-03-03 Yao Qi <yao.qi@linaro.org>
12516
12517 * gdb.base/disp-step-fork.c: Rename to ...
12518 * gdb.base/step-over-fork.c: ... it. New file.
12519 * gdb.base/disp-step-vfork.c: Rename to ...
12520 * gdb.base/step-over-vfork.c: ... it. New file.
12521 * gdb.base/disp-step-syscall.exp: Rename to ...
12522 * gdb.base/step-over-syscall.exp: ... it. New file.
12523 (disp_step_cross_syscall): Rename to ...
12524 (step_over_syscall): ... it.
12525
92fa70b0
YQ
125262016-03-03 Yao Qi <yao.qi@linaro.org>
12527
12528 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12529 If target supports condition evaluation on target, invoke
12530 break_cond_on_syscall for fork and vfork.
12531
e197ad3c
YQ
125322016-03-03 Yao Qi <yao.qi@linaro.org>
12533
12534 * gdb.base/disp-step-syscall.exp: Don't invoke
12535 support_displaced_stepping.
12536 (disp_step_cross_syscall): Test with displaced stepping off and
12537 on if supported.
12538
0b47da9f
YQ
125392016-03-03 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12542 proc.
12543 (setup): New proc.
12544 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12545 and setup.
12546
065ab6dc
BH
125472016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12548
12549 * gdb.fortran/vla-history.exp: Remove breakpoint.
12550
07e448ad 125512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12552
25d49b86
PA
12553 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12554 exceeds timeout.
07e448ad 12555
9ac2d526 125562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12557
25d49b86
PA
12558 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12559 breakpoint.
9ac2d526 12560
17807369
BH
125612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12562
12563 * gdb.mi/vla.f90: Nullify pointer after declaration.
12564
86e501af
PA
125652016-03-01 Pedro Alves <palves@redhat.com>
12566
12567 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12568
1e903e32
PA
125692016-03-01 Pedro Alves <palves@redhat.com>
12570
12571 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12572 before anything else.
12573 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12574 _GNU_SOURCE here.
12575 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12576 before anything else.
12577 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12578
6ccb54e2
PA
125792016-03-01 Pedro Alves <palves@redhat.com>
12580
12581 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12582
30ca9da1
YQ
125832016-03-01 Yao Qi <yao.qi@linaro.org>
12584
12585 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12586 prepare_for_testing.
12587
dc856b38
YQ
125882016-03-01 Yao Qi <yao.qi@linaro.org>
12589
12590 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12591
4a932159
AA
125922016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12593
12594 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12595 manually constructing the output path.
12596
f2489477
AA
125972016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12598
12599 * gdb.arch/s390-stackless.S: New.
12600 * gdb.arch/s390-stackless.exp: New.
12601
38899f16
IB
126022016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12603
12604 * gdb.dlang/circular.c: New file.
12605 * gdb.dlang/circular.exp: New file.
12606
9fde51ed
YQ
126072016-02-26 Yao Qi <yao.qi@linaro.org>
12608
12609 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12610 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12611 (testcases): Update.
12612
ce90fefe
YQ
126132016-02-26 Yao Qi <yao.qi@linaro.org>
12614
12615 * gdb.reverse/aarch64.c: Rename to ...
12616 * gdb.reverse/insn-reverse.c: ... it.
12617 * gdb.reverse/aarch64.exp: Rename to ...
12618 * gdb.reverse/insn-reverse.exp: ... it.
12619
3263bceb
YQ
126202016-02-26 Yao Qi <yao.qi@linaro.org>
12621
12622 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12623 (testcase_ftype): New.
12624 (testcases): New array.
12625 (n_testcases): New.
12626 (main): Call each element in testcases.
12627 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12628 (read_testcase): New.
12629 Do the tests in a loop.
12630
6cb59ff1
YQ
126312016-02-25 Yao Qi <yao.qi@linaro.org>
12632
12633 * gdb.base/branches.c: Remove.
12634
ae91f625
MK
126352016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12636
12637 PR gdb/13808
12638 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12639
678b48b7
MK
126402016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12641
12642 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12643
7337a6f2
MK
126442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12645
12646 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12647 change x86_64 call_insn to 'callq'.
12648
861ca91f
AT
126492016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12650
12651 * gdb.trace/tfile-avx.c: Move to...
12652 * gdb.trace/tracefile-pseudo-reg.c: Here.
12653 * gdb.trace/tfile-avx.exp: Move to...
12654 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12655
bf74e428
GB
126562016-02-24 Gary Benson <gbenson@redhat.com>
12657
12658 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12659 message on attach.
12660
cce0e923
DE
126612016-02-23 Doug Evans <dje@google.com>
12662
12663 * gdb.base/skip.c (test_skip): New function.
12664 (end_test_skip_file_and_function): New function.
12665 (test_skip_file_and_function): New function.
12666 * gdb.base/skip1.c (test_skip): New function.
12667 (skip1_test_skip_file_and_function): New function.
12668 * gdb.base/skip.exp: Add tests for new skip options.
12669 * gdb.base/skip-solib.exp: Update expected output.
12670 * gdb.perf/skip-command.cc: New file.
12671 * gdb.perf/skip-command.exp: New file.
12672 * gdb.perf/skip-command.py: New file.
12673
4000e47e
MK
126742016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12675
12676 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12677 info registers pattern.
12678
24f75ead
IB
126792016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12680
12681 * lib/future.exp: Add D support.
12682 (gdb_find_gdc): New proc.
12683 (gdb_default_target_compile): Add D support.
12684
fbb7bcbe
WW
126852016-02-18 Wei-cheng Wang <cole945@gmail.com>
12686
12687 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12688 user+system time.
12689 (trace_speed_test): Determine the iteration count for a time
12690 between 15..30 seconds.
12691
012b3a21
WT
126922016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12693
12694 * gdb.arch/i386-mpx-sigsegv.c: New file.
12695 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12696 * gdb.arch/i386-mpx-simple_segv.c: New file.
12697 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12698
2d5189bd
YQ
126992016-02-18 Yao Qi <yao.qi@linaro.org>
12700
12701 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12702 Don't call setup_kfail.
12703
40fb20d0
YQ
127042016-02-18 Yao Qi <yao.qi@linaro.org>
12705
12706 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12707 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12708
21b1f8d2
DE
127092016-02-16 Doug Evans <dje@google.com>
12710
12711 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12712 * gdb.base/skip1.c: Ditto.
12713 * gdb.base/skip.exp: Whitespace cleanup.
12714
4041ed77
DB
127152016-02-16 Don Breazeal <donb@codesourcery.com>
12716
12717 PR remote/19496
12718 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12719 Remove kfail for PR remote/19496.
12720
c4ef31bf
SM
127212016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12722
12723 * lib/gdb.exp (standard_temp_file): Return a path specific to
12724 the runtest invocation.
12725
266b65b3
SM
127262016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12727
12728 * gdb.trace/save-trace.exp: Change relative path to be in the
12729 standard output directory.
12730
a7a0a6a9
JK
127312016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12732
12733 * gdb.arch/i386-prologue.c: Add missing prototypes.
12734
c99dbb42
JK
127352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12736
12737 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12738 * gdb.arch/i386-prologue.exp: Likewise.
12739 * gdb.arch/i386-size.exp: Likewise.
12740
aa480355
SM
127412016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12742
12743 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12744 define object file path.
12745 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12746 file path.
12747 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12748 standard_output_file to define binfile.
12749
ba881f50
JK
127502016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12751
12752 Fix compatibility with recent gfortran-5.3.1.
12753 * gdb.fortran/vla-history.exp (print vla1 allocated)
12754 (print vla2 allocated, print $2, print $3): Remove
12755 (print $4): Rename to ...
12756 (print $2): ... here.
12757 (print $9): Rename to ...
12758 (print $5): ... here.
12759 (print $10): Rename to ...
12760 (print $6): ... here.
12761 * gdb.fortran/vla.f90: Add pvla initialization.
12762
e9fb005c
JK
127632016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12764
12765 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12766 New test.
12767 * gdb.fortran/vla-value-sub.exp: Likewise.
12768
e44e00ff
MK
127692016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12770
12771 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12772
97e94151
SM
127732016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12774
12775 * i386-biarch-core.exp: Define corefile using
12776 standard_output_file.
12777
01113bc1
YQ
127782016-02-12 Yao Qi <yao.qi@linaro.org>
12779
12780 * gdb.arch/arm-single-step-kernel-helper.c: New.
12781 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12782
33b4777c
MM
127832016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12784
12785 * gdb.btrace/tailcall-only.exp: New.
12786 * gdb.btrace/tailcall-only.c: New.
12787 * gdb.btrace/x86_64-tailcall-only.S: New.
12788 * gdb.btrace/i686-tailcall-only.S: New.
12789
acc23c11
PA
127902016-02-11 Pedro Alves <palves@redhat.com>
12791
12792 * README (Parallel testing): Add missing double quotes.
12793
e352bf0a
PA
127942016-02-11 Pedro Alves <palves@redhat.com>
12795
12796 * README (Parallel testing): New section.
12797 (GDB_PARALLEL): Rewrite.
12798 (FORCE_PARALLEL): Document.
12799
9f5fed78
MK
128002016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12801
12802 * gdb.trace/tfile-avx.c: New test.
12803 * gdb.trace/tfile-avx.exp: New test.
12804
9ef9e6a6
KS
128052016-02-09 Keith Seitz <keiths@redhat.com>
12806
12807 PR breakpoints/19546
12808 * gdb.base/infcall-exec.c: New file.
12809 * gdb.base/infcall-exec2.c: New file.
12810 * gdb.base/infcall-exec.exp: New file.
12811
a96e36da
KS
128122016-02-09 Keith Seitz <keiths@redhat.com>
12813
12814 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12815 (toplevel): Call test_bkpt_address.
12816
9f61929f
KS
128172016-02-09 Keith Seitz <keiths@redhat.com>
12818
12819 PR python/19506
12820 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12821 (toplevel): Call test_bkpt_address.
12822
1e94266c
SM
128232016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12824
12825 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12826 to AC_OUTPUT.
12827 * configure: Regenerate.
12828
2a7f3dff
PA
128292016-02-09 Pedro Alves <palves@redhat.com>
12830
12831 PR breakpoints/19548
12832 * gdb.base/execl-update-breakpoints.c (some_function): New
12833 function.
12834 (main): Call it.
12835 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12836 Tighten expected GDB output.
12837
2151ccc5
SM
128382016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12839
12840 * Makefile.in (ALL_SUBDIRS): Remove.
12841 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12842 (distclean maintainer-clean realclean): Likewise.
12843 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12844 * configure: Regenerate.
12845 * gdb.ada/Makefile.in: Delete.
12846 * gdb.arch/Makefile.in: Likewise.
12847 * gdb.asm/Makefile.in: Likewise.
12848 * gdb.base/Makefile.in: Likewise.
12849 * gdb.btrace/Makefile.in: Likewise.
12850 * gdb.cell/Makefile.in: Likewise.
12851 * gdb.compile/Makefile.in: Likewise.
12852 * gdb.cp/Makefile.in: Likewise.
12853 * gdb.disasm/Makefile.in: Likewise.
12854 * gdb.dlang/Makefile.in: Likewise.
12855 * gdb.dwarf2/Makefile.in: Likewise.
12856 * gdb.fortran/Makefile.in: Likewise.
12857 * gdb.gdb/Makefile.in: Likewise.
12858 * gdb.go/Makefile.in: Likewise.
12859 * gdb.guile/Makefile.in: Likewise.
12860 * gdb.java/Makefile.in: Likewise.
12861 * gdb.linespec/Makefile.in: Likewise.
12862 * gdb.mi/Makefile.in: Likewise.
12863 * gdb.modula2/Makefile.in: Likewise.
12864 * gdb.multi/Makefile.in: Likewise.
12865 * gdb.objc/Makefile.in: Likewise.
12866 * gdb.opencl/Makefile.in: Likewise.
12867 * gdb.opt/Makefile.in: Likewise.
12868 * gdb.pascal/Makefile.in: Likewise.
12869 * gdb.perf/Makefile.in: Likewise.
12870 * gdb.python/Makefile.in: Likewise.
12871 * gdb.reverse/Makefile.in: Likewise.
12872 * gdb.server/Makefile.in: Likewise.
12873 * gdb.stabs/Makefile.in: Likewise.
12874 * gdb.threads/Makefile.in: Likewise.
12875 * gdb.trace/Makefile.in: Likewise.
12876 * gdb.xml/Makefile.in: Likewise.
12877 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12878 GDB_PARALLEL.
12879 (standard_output_file): Remove check for GDB_PARALLEL, always
12880 return path in outputs/$subdir/$testname.
12881
437277d4
SM
128822016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12883
12884 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12885 (site.exp): Assign abs_srcdir to tcl's srcdir.
12886
31d913c7
YQ
128872016-02-04 Yao Qi <yao.qi@linaro.org>
12888
12889 * gdb.base/foll-exec-mode.c: Include limits.h.
12890 (main): Add parameters argc and argv. Get directory from
12891 argv[0].
12892 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12893 compilation.
12894 * gdb.base/foll-exec.c: Include limits.h.
12895 (main): Add parameters argc and argv.
12896 Get directory from argv[0].
12897 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12898 Adjust tests on the number of lines as source code changed.
12899 * gdb.base/foll-vfork-exit.c: Include limits.h.
12900 (main): Add one line of statement before vfork.
12901 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12902 (main): Add parameters argc and argv. Get directory from
12903 argv[0].
12904 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12905 (setup_gdb): Set tbreak to skip some source lines.
12906 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12907 (main): Add parameters argc and argv. Get directory from
12908 argv[0].
12909 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12910 compilation.
12911 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12912 (main): Add parameters argc and argv. Get directory from
12913 argv[0].
12914 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12915 compilation.
12916
9482b9fb
DE
129172016-02-01 Doug Evans <dje@google.com>
12918
12919 * gdb.base/skip.exp: Clean up multiple references to same test name.
12920
6b2e4f10
PA
129212016-02-01 Pedro Alves <palves@redhat.com>
12922
ccb6afd6 12923 PR remote/19496
6b2e4f10
PA
12924 * gdb.threads/forking-threads-plus-breakpoint.exp
12925 (displaced_stepping_supported): New global.
12926 (probe_displaced_stepping_support): New procedure.
12927 (do_test): Add 'displaced' parameter, and use it.
12928 (top level): Check for displaced stepping support. Add displaced
12929 stepping on/off testing axis.
12930
37a8db1a
AB
129312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12932
12933 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12934 pointer. Don't perform further tests on the unassociated pointer
12935 if the first test fails.
12936
5fdf6324
AB
129372016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12938
12939 * gdb.base/max-value-size.c: New file.
12940 * gdb.base/max-value-size.exp: New file.
12941 * gdb.base/huge.exp: Disable max-value-size for this test.
12942
935c6144
IB
129432016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12944
12945 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12946
7fe8399d
YQ
129472016-01-28 Yao Qi <yao.qi@linaro.org>
12948
12949 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12950
a2077e25
PA
129512016-01-25 Pedro Alves <palves@redhat.com>
12952
12953 PR threads/19461
12954 * gdb.base/fork-running-state.c: New file.
12955 * gdb.base/fork-running-state.exp: New file.
12956
1d2736d4
PA
129572016-01-25 Pedro Alves <palves@redhat.com>
12958
12959 PR gdb/19494
12960 * gdb.base/catch-fork-kill.c: New file.
12961 * gdb.base/catch-fork-kill.exp: New file.
12962
f1da4b11
PA
129632016-01-25 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12966 Delete, moved to lib/gdb.exp.
12967 * gdb.threads/forking-threads-plus-breakpoint.exp
12968 (foreach_with_prefix): Likewise.
12969 * gdb.threads/process-dies-while-handling-bp.exp
12970 (foreach_with_prefix): Likewise.
12971 * lib/gdb.exp (foreach_with_prefix): New procedure.
12972
45f38546
MK
129732016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12974
12975 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12976 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12977
dc29a1ce
MK
129782016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12979
12980 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12981 endian targets.
12982
092127d7
JK
129832016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12984 Pedro Alves <palves@redhat.com>
12985
12986 Fix testsuite compatibility with Guile.
12987 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12988 number.
12989
31d765d3
JK
129902016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12991
12992 Fix testsuite compatibility with Guile.
12993 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12994 (thread 1): New test for backtrace through signal handler.
12995
1ac78c04
YQ
129962016-01-22 Yao Qi <yao.qi@linaro.org>
12997
12998 PR testsuite/19491
12999 * gdb.base/multi-forks.c: Include
13000 ../lib/unbuffer_output.c
13001 (main): Call gdb_unbuffer_output.
13002
4f5946a8
DE
130032016-01-21 Doug Evans <dje@google.com>
13004
13005 * lib/ada.exp (gdb_compile_ada): Fix typo.
13006
305e13e6
JB
130072016-01-21 Joel Brobecker <brobecker@adacore.com>
13008
13009 * gdb.base/break-fun-addr.exp: New file.
13010 * gdb.base/break-fun-addr1.c: New file.
13011 * gdb.base/break-fun-addr2.c: New file.
13012
5f5dfff6
SM
130132016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13014
13015 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13016 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13017 enum flag values.
13018
fd356fa2
AA
130192016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13020
13021 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13022 when GDB can not set the vector return value. Add more comments
13023 for clarification.
13024
9df22175
AT
130252016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13026
13027 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13028 command.
13029
41d1845e
SM
130302016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13031
13032 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13033
01ac6840
SM
130342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13035
13036 * Makefile.in (check-single): Pass --status to runtest.
13037 (check/%.exp): Likewise.
13038
130392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13040
13041 * Makefile.in (check-parallel): Propagate return code from make
13042 do-check-parallel.
13043
bd0a71fa
MK
130442016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13045
13046 * gdb.trace/ftrace.exp: Fix expected message on continue.
13047 * gdb.trace/pending.exp: Fix expected message on continue.
13048 * gdb.trace/trace-break.exp: Fix expected message on continue.
13049
8bcbad33
SM
130502016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13051
13052 * lib/gdb.exp (gdb_test): Remove unused global references.
13053
f303dbd6
PA
130542016-01-18 Pedro Alves <palves@redhat.com>
13055
13056 * gdb.base/async-shell.exp: Adjust expected output.
13057 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13058 * gdb.base/siginfo-thread.exp: Adjust expected output.
13059 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13060 * gdb.java/jnpe.exp: Adjust expected output.
13061 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13062 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13063 * gdb.threads/leader-exit.exp: Adjust expected output.
13064 * gdb.threads/manythreads.exp: Adjust expected output.
13065 * gdb.threads/pthreads.exp: Adjust expected output.
13066 * gdb.threads/schedlock.exp: Adjust expected output.
13067 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13068 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13069 expected output.
13070 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13071 output.
13072 * gdb.threads/sigthread.exp: Adjust expected output.
13073 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13074
b2789696
YQ
130752016-01-18 Yao Qi <yao.qi@linaro.org>
13076
13077 * gdb.guile/scm-section-script.c: Replace @progbits with
13078 %progbits.
13079 * gdb.python/py-section-script.c: Likewise.
13080
71ef29a8
PA
130812016-01-15 Pedro Alves <palves@redhat.com>
13082
13083 * gdb.multi/tids.exp: Test star wildcard ranges.
13084
3f5b7598
PA
130852016-01-15 Pedro Alves <palves@redhat.com>
13086
13087 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13088 command from "thread apply" invocation.
13089 (thr_apply_info_thr_invalid): Default the expected output to the
13090 input tid list.
13091 (top level): Add tests that use convenience variables. Add tests
13092 for "thread apply" with a valid TID list, but missing the command.
13093
663f6d42
PA
130942016-01-13 Pedro Alves <palves@redhat.com>
13095
13096 * gdb.base/default.exp: Expect $_gthread as well.
13097 * gdb.multi/tids.exp: Test $_gthread.
13098 * gdb.threads/thread-specific.exp: Test $_gthread.
13099
c84f6bbf
PA
131002016-01-13 Pedro Alves <palves@redhat.com>
13101
13102 * gdb.multi/tids.exp: Test "info threads -gid".
13103
22a02324
PA
131042016-01-13 Pedro Alves <palves@redhat.com>
13105
13106 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13107 Breakpoint.thread.
13108 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13109
5d5658a1
PA
131102016-01-07 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.base/break.exp: Adjust to output changes.
13113 * gdb.base/hbreak2.exp: Likewise.
13114 * gdb.base/sepdebug.exp: Likewise.
13115 * gdb.base/watch_thread_num.exp: Likewise.
13116 * gdb.linespec/keywords.exp: Likewise.
13117 * gdb.multi/info-threads.exp: Likewise.
13118 * gdb.threads/thread-find.exp: Likewise.
13119 * gdb.multi/tids.c: New file.
13120 * gdb.multi/tids.exp: New file.
13121
84654457
PA
131222016-01-13 Pedro Alves <palves@redhat.com>
13123
13124 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13125
e3940304
PA
131262016-01-13 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.base/default.exp: Expect $_inferior as well.
13129 * gdb.multi/base.exp: Test $_inferior.
13130
a911d87a
PA
131312016-01-13 Pedro Alves <palves@redhat.com>
13132
13133 PR breakpoints/19388
13134 * gdb.base/catch-signal-siginfo-cond.c: New file.
13135 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13136
82075af2
JS
131372016-01-12 Josh Stone <jistone@redhat.com>
13138 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13139
13140 * gdb.base/catch-syscall.c (do_execve): New variable.
13141 (main): Conditionally trigger an execve.
13142 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13143 (test_catch_syscall_execve): New, check entry/return across execve.
13144 (do_syscall_tests): Call test_catch_syscall_execve.
13145
e46eeedd
PA
131462016-01-12 Pedro Alves <palves@redhat.com>
13147
13148 * gdb.base/random-signal.exp (do_test): New procedure, with body
13149 of testcase moved in.
13150
01d8c27e
JK
131512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13152 Pedro Alves <palves@redhat.com>
13153
13154 * gdb.base/funcargs.exp (finish from indirectly called function):
13155 Reintroduce the case for 'First'.
13156
9a706302
JK
131572016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13158 Pedro Alves <palves@redhat.com>
13159
13160 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13161 (tcatch_vfork_then_child_follow_exec)
13162 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13163 identification.
13164
c0ecb95f
JK
131652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13166
13167 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13168 and repeats to unlimited.
13169 * gdb.python/py-value.exp: Likewise.
13170 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13171 and repeats to unlimited.
13172
6cfc1fcb
JK
131732016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13174
13175 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13176 and reordering the functions.
13177 * gdb.multi/hangout.c: Likewise.
13178 * gdb.multi/hello.c: Likewise.
13179
582a1b00
SM
131802016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13181
13182 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13183 absolute.
13184 (SingleStatisticTestResult.report): Use dict.keys instead of
13185 dict.iterkeys.
13186
79bc59cb
PA
131872016-01-06 Pedro Alves <palves@redhat.com>
13188
13189 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13190
43368e1d
MM
131912016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13192
13193 * gdb.btrace/dlopen.exp: New.
13194 * gdb.btrace/dlopen.c: New.
13195 * gdb.btrace/dlopen-dso.c: New.
13196
79fad5b8
SL
131972015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13198
13199 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13200 PATTERN argument is optional.
13201
ab8314b3
JB
132022015-12-24 Joel Brobecker <brobecker@adacore.com>
13203
13204 * lib/ada.exp (target_compile_ada_from_dir): New function.
13205 (gdb_compile_ada): Reimplement avoiding the use of project files.
13206 * gdb.ada/gnat_ada.gpr: Delete.
13207 * gdb.ada/cond_lang.exp: Adjust test to make path before
13208 filename optional.
13209 * gdb.ada/small_reg_param.exp: Likewise.
13210
fe33faff
SM
132112015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13212
13213 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13214
6d265cb4
TP
132152015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13216
13217 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13218 case.
13219
10125099
SM
132202015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13221
13222 * gdb.base/break.exp: Remove dead code.
13223 * gdb.base/sepdebug.exp: Likewise.
13224
3ca22649
SM
132252015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13226
13227 * gdb.asm/asm-source.exp: Remove HP-UX references.
13228 * gdb.base/annota1.exp: Likewise.
13229 * gdb.base/annota3.exp: Likewise.
13230 * gdb.base/attach.exp: Likewise.
13231 * gdb.base/bigcore.exp: Likewise.
13232 * gdb.base/break.exp: Likewise.
13233 * gdb.base/call-ar-st.exp: Likewise.
13234 * gdb.base/callfuncs.exp: Likewise.
13235 * gdb.base/catch-fork-static.exp: Likewise.
13236 * gdb.base/display.exp: Likewise.
13237 * gdb.base/foll-exec-mode.exp: Likewise.
13238 * gdb.base/foll-exec.exp: Likewise.
13239 * gdb.base/foll-fork.exp: Likewise.
13240 * gdb.base/foll-vfork.exp: Likewise.
13241 * gdb.base/funcargs.exp: Likewise.
13242 * gdb.base/hbreak2.exp: Likewise.
13243 * gdb.base/inferior-died.exp: Likewise.
13244 * gdb.base/interrupt.exp: Likewise.
13245 * gdb.base/multi-forks.exp: Likewise.
13246 * gdb.base/nodebug.exp: Likewise.
13247 * gdb.base/sepdebug.exp: Likewise.
13248 * gdb.base/solib1.c: Likewise.
13249 * gdb.base/step-test.exp: Likewise.
13250 * gdb.mi/non-stop.c: Likewise.
13251 * gdb.mi/pthreads.c: Likewise.
13252 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13253 * gdb.threads/pthreads.c: Likewise.
13254 * gdb.threads/staticthreads.exp: Likewise.
13255 * lib/future.exp: Likewise.
13256 * lib/gdb.exp: Likewise.
13257 * gdb.base/so-indr-cl.c: Remove.
13258 * gdb.base/so-indr-cl.exp: Likewise.
13259 * gdb.base/solib.c: Likewise.
13260 * gdb.base/solib.exp: Likewise.
13261 * gdb.base/solib2.c: Likewise.
13262
b6304613
SM
132632015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13264
13265 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13266 * gdb.base/call-ar-st.exp: Likewise.
13267 * gdb.base/callfuncs.exp: Likewise.
13268 * gdb.base/condbreak.exp: Likewise.
13269 * gdb.base/constvars.exp: Likewise.
13270 * gdb.base/hbreak2.exp: Likewise.
13271 * gdb.base/langs.exp: Likewise.
13272 * gdb.base/list.exp: Likewise.
13273 * gdb.base/long_long.exp: Likewise.
13274 * gdb.base/ptype.exp: Likewise.
13275 * gdb.base/scope.exp: Likewise.
13276 * gdb.base/signals.exp: Likewise.
13277 * gdb.base/so-impl-ld.exp: Likewise.
13278 * gdb.base/varargs.exp: Likewise.
13279 * gdb.base/volatile.exp: Likewise.
13280 * gdb.base/whatis.exp: Likewise.
13281 * gdb.cp/cplusfuncs.exp: Likewise.
13282 * gdb.cp/inherit.exp: Likewise.
13283 * gdb.cp/local.exp: Likewise.
13284 * gdb.cp/member-ptr.exp: Likewise.
13285 * gdb.cp/method.exp: Likewise.
13286 * gdb.cp/overload.exp: Likewise.
13287 * gdb.cp/templates.exp: Likewise.
13288 * gdb.stabs/weird.exp: Likewise.
13289 * lib/compiler.c: Likewise.
13290 * lib/compiler.cc: Likewise.
13291 * lib/cp-support.exp: Likewise.
13292 * lib/gdb.exp: Likewise.
13293
bf401b07
SM
132942015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13295
13296 * configure.ac: Remove HP-UX case.
13297 * configure: Regenerate.
13298
aff9c0f8
SM
132992015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13300
13301 * lib/gdb.exp (gdb_compile): Add function doc.
13302
a6904d5a
PA
133032015-12-17 Pedro Alves <palves@redhat.com>
13304
13305 PR threads/19354
13306 * gdb.multi/info-threads.exp: New file.
13307
a22279dd
YQ
133082015-12-15 Yao Qi <yao.qi@linaro.org>
13309
13310 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13311 is aarch64*-*-*.
13312
0588c796
SL
133132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13314
13315 * gdb.base/history-duplicates.exp: Skip if no readline support.
13316
5d978e17
SL
133172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13318
13319 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13320
7e763b86
SL
133212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13322
13323 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13324
87a3a92c
SL
133252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13326
13327 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13328 ctrl-C if nointerrupts target property is set.
13329 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13330 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13331 * gdb.base/paginate-bg-execution.exp: Likewise.
13332 * gdb.base/paginate-execution-startup.exp: Likewise.
13333 * gdb.base/random-signal.exp: Likewise.
13334 * gdb.base/range-stepping.exp: Likewise.
13335 * gdb.cp/annota2.exp: Likewise.
13336 * gdb.cp/annota3.exp: Likewise.
13337 * gdb.gdb/selftest.exp: Likewise.
13338 * gdb.threads/continue-pending-status.exp: Likewise.
13339 * gdb.threads/leader-exit.exp: Likewise.
13340 * gdb.threads/manythreads.exp: Likewise.
13341 * gdb.threads/pthreads.exp: Likewise.
13342 * gdb.threads/schedlock.exp: Likewise.
13343 * gdb.threads/sigthread.exp: Likewise.
13344
a8f077dc
DB
133452015-12-11 Don Breazeal <donb@codesourcery.com>
13346
13347 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13348 remote.
13349 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13350 * gdb.base/foll-exec.exp (main): Enable for target remote.
13351 * gdb.base/foll-fork.exp (main): Likewise.
13352 * gdb.base/foll-vfork.exp (main): Likewise.
13353 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13354 (proc continue_to_exit_bp_loc): Use clean_restart.
13355 * gdb.base/pie-execl.exp (main): Disable for target remote.
13356 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13357 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13358 * gdb.threads/execl.exp (main): Likewise.
13359 * gdb.threads/fork-child-threads.exp (main): Likewise.
13360 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13361 remote.
13362 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13363 remote.
13364 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13365 pid.tid style ptids, instead of just tid.
13366 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13367 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13368 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13369 ptids, instead of just tid.
13370
3b2464a8
AB
133712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13372
13373 * gdb.base/list.exp (test_list_forward): Add end of file error
13374 test.
13375 (test_repeat_list_command): Add end of file error test.
13376 (test_list_backwards): Add beginning of file error test.
13377
a0def019
AB
133782015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13379
13380 * gdb.base/list.exp (test_list_invalid_args): New function,
13381 defined, and called.
13382
5c000dff
AB
133832015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13384
13385 * gdb.base/list.exp (test_list): Make test names unique.
13386
f1637ebe
YQ
133872015-12-11 Yao Qi <yao.qi@linaro.org>
13388
13389 * gdb.base/coremaker2.c: Remove.
13390
36d6fc0a
PA
133912015-12-10 Pedro Alves <palves@redhat.com>
13392
13393 * gdb.multi/base.exp: Remove stale "spaces" references.
13394
762f7747
PA
133952015-12-10 Pedro Alves <palves@redhat.com>
13396
13397 * gdb.multi/base.exp: Don't use nowarnings.
13398 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13399 * gdb.multi/hangout.c: Include stdio.h.
13400 * gdb.multi/hello.c: Include stdlib.h.
13401 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13402 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13403 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13404
28d2bfb9
AB
134052015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13406
13407 * gdb.dwarf2/dw2-ranges-base.c: New file.
13408 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13409 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13410 support additional line table, and debug ranges generation.
13411 (Dwarf::ranges): New function, generate .debug_ranges.
13412 (Dwarf::lines): Support generating simple line table programs.
13413 (Dwarf::assemble): Initialise new namespace variables.
13414
5fc2beac
KB
134152015-12-09 Kevin Buettner <kevinb@redhat.com>
13416
13417 * gdb.base/async.exp (proc test_background): Add case for
13418 asynchronous execution not supported.
13419
1c35a88f
LM
134202015-12-09 Luis Machado <lgustavo@codesourcery.com>
13421
13422 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13423 format and change test names to make them unique.
13424
b593e3d9
RK
134252015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13426 Pedro Alves <pedro@redhat.com>
13427
13428 PR gdb/18702
13429 Add checking of floatformats setup on x86_64 hosts.
13430 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13431 (smallval, bigval): New labels/constants.
13432 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13433 float" after loading bigval and smallval.
13434
d72413e6
PMR
134352015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13436
13437 * gdb.ada/fun_overload_menu.exp: New testcase.
13438 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13439
ece66d65
JS
134402015-12-04 Josh Stone <jistone@redhat.com>
13441
13442 * gdb.base/catch-fork-static.exp: New.
13443
41d0efca
YQ
134442015-12-03 Yao Qi <yao.qi@linaro.org>
13445
13446 * gdb.base/sizeof.c: Don't include stdio.h and
13447 ../lib/unbuffer_output.c.
13448 (main): New variable 'size' and 'value'. Remove printf and
13449 gdb_unbuffer_output. Assign return value to size and value.
13450 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13451 at the beginning.
13452 (check_sizeof): Check the result by printing variable 'size'.
13453 (check_valueof): Check the result by printing variable 'value'.
13454
99fd02d9
YQ
134552015-12-01 Yao Qi <yao.qi@linaro.org>
13456
13457 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13458 for aarch64*-*-linux* target.
13459
f2faf941
PA
134602015-11-30 Pedro Alves <palves@redhat.com>
13461
13462 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13463
04bf20c5
PA
134642015-11-30 Pedro Alves <palves@redhat.com>
13465
13466 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13467 Handle non-stop mode vCont replies.
13468
09df4675
PA
134692015-11-30 Pedro Alves <palves@redhat.com>
13470
13471 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13472 prepare_for_testing. Start gdb with "set non-stop on" appended to
13473 GDBFLAGS. Lax expected stop output.
13474
58b584af
YQ
134752015-11-27 Yao Qi <yao.qi@linaro.org>
13476
13477 * gdb.arch/arm-neon.exp: New.
13478 * gdb.arch/arm-neon.c: New.
13479
dfcb77a8
YQ
134802015-11-27 Yao Qi <yao.qi@linaro.org>
13481
13482 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13483
88e8ec1b
YQ
134842015-11-27 Yao Qi <yao.qi@linaro.org>
13485
13486 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13487 frames-invalid annotation.
13488
bfde72c2
YQ
134892015-11-27 Yao Qi <yao.qi@linaro.org>
13490
13491 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13492
f6512a69
SM
134932015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13494
13495 * gdb.threads/names.exp: New file.
13496 * gdb.threads/names.c: New file.
13497 * README: Mention gdb,no_thread_names.
13498
46a3515b
MM
134992015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13500
13501 PR 19297
13502 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13503 support" error.
13504
62147a22
PA
135052015-11-24 Pedro Alves <palves@redhat.com>
13506
13507 PR 17539
13508 * gdb.base/display.exp: Expect displays to be sorted in ascending
13509 order. Use multi_line.
13510 * gdb.base/solib-display.exp: Likewise.
13511
2f341b6e
PA
135122015-11-24 Pedro Alves <palves@redhat.com>
13513
13514 PR 17539
25d49b86
PA
13515 * gdb.base/display.exp: Expect displays to be sorted in ascending
13516 order. Use multi_line.
13517 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13518
7e0aa6aa
PA
135192015-11-24 Pedro Alves <palves@redhat.com>
13520
13521 PR 17539
13522 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13523 threads in ascending order.
13524 * gdb.base/foll-fork.exp: Likewise.
13525 * gdb.base/foll-vfork.exp: Likewise.
13526 * gdb.base/multi-forks.exp: Likewise.
13527 * gdb.mi/mi-nonstop.exp: Likewise.
13528 * gdb.mi/mi-nsintrall.exp: Likewise.
13529 * gdb.multi/base.exp: Likewise.
13530 * gdb.multi/multi-arch.exp: Likewise.
13531 * gdb.python/py-inferior.exp: Likewise.
13532 * gdb.threads/break-while-running.exp: Likewise.
13533 * gdb.threads/execl.exp: Likewise.
13534 * gdb.threads/gcore-thread.exp: Likewise.
13535 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13536 * gdb.threads/kill.exp: Likewise.
13537 * gdb.threads/linux-dp.exp: Likewise.
13538 * gdb.threads/multiple-step-overs.exp: Likewise.
13539 * gdb.threads/next-bp-other-thread.exp: Likewise.
13540 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13541 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13542 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13543 * gdb.threads/thread-find.exp: Likewise.
13544 * gdb.threads/tls.exp: Likewise.
13545 * lib/mi-support.exp (mi_reverse_list): Delete.
13546 (mi_check_thread_states): No longer reverse list.
13547
2cc57ad8
PA
135482015-11-24 Pedro Alves <palves@redhat.com>
13549
13550 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13551 use lowercase.
13552
c93e8391
SM
135532015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13554
13555 * gdb.trace/actions.c: Include trace-common.h.
13556 (main): Add a location for a fast tracepoint.
13557 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13558 the normal tracepoints.
13559 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13560
045ccf91
SM
135612015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13562
13563 * save-trace.exp: Factor out code to these...
13564 (gdb_save_tracepoints): New.
13565 (gdb_load_tracepoints): New.
13566 (do_save_load_test): New.
13567
5506f9f6
KB
135682015-11-23 Kevin Buettner <kevinb@redhat.com>
13569
13570 * gdb.base/asmlabel.exp: New test.
13571 * gdb.base/asmlabel.c: New test case.
13572
16c3b12f
JB
135732015-11-23 Joel Brobecker <brobecker@adacore.com>
13574
13575 * gdb.base/wrong_frame_bt_full-main.c: New file.
13576 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13577 * gdb.base/wrong_frame_bt_full.exp: New file.
13578
155bfbd3
JB
135792015-11-23 Joel Brobecker <brobecker@adacore.com>
13580
13581 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13582
bb097445
JM
135832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13584
206853a0 13585 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13586 pstate register when comparing registers values in
13587 sparc64-*-linux-gnu targets to avoid spurious differences.
13588
9c88ed8f
JM
135892015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13590
206853a0 13591 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13592
96161e25
SL
135932015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13594
13595 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13596 as type argument to gdb_compile.
13597 * gdb.base/nested-subp2.exp: Likewise.
13598 * gdb.base/nested-subp3.exp: Likewise.
13599
340c2830
DV
136002015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13601
13602 * lib/dwarf.exp (_note): Fix left shift of negative value.
13603 * gdb.trace/trace-condition.exp: Likewise.
13604
c1862d0f
YQ
136052015-11-13 Yao Qi <yao.qi@linaro.org>
13606
13607 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13608 comments about d10v.
13609 (test_scalar_returns): Likewise.
13610 * gdb.base/d10v.ld: Remove.
13611 * gdb.base/overlays.exp: Remove the target triplet checking for
13612 d10v-*-*.
13613 * gdb.base/structs.exp (test_struct_returns): Remove the
13614 comments about d10v.
13615 (test_struct_calls): Likewise.
13616
77ae9c19
YQ
136172015-11-13 Yao Qi <yao.qi@linaro.org>
13618
13619 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13620 * gdb.base/gnu_vector.c: Don't include stdio.h.
13621 (main): Don't print res and call add_some_intvecs.
13622
430e004e
MK
136232015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13624
13625 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13626 macro.
13627 (func5): Removed.
13628 (func4): Use FAST_TRACEPOINT_LABEL.
13629 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13630 macro.
13631 (func): Removed.
13632 (thread_function): Use FAST_TRACEPOINT_LABEL.
13633 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13634 (func): Remove.
13635 (marker): Use FAST_TRACEPOINT_LABEL.
13636 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13637 (pendfunc1): Remove.
13638 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13639 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13640 (foo): Remove.
13641 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13642 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13643 macro.
13644 (func): Remove.
13645 (marker): Use FAST_TRACEPOINT_LABEL.
13646 * gdb.trace/trace-common.h: New header.
13647 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13648 macro.
13649 (func): Remove.
13650 (marker): Use FAST_TRACEPOINT_LABEL.
13651 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13652 (func): Remove.
13653 (thread_function): Use FAST_TRACEPOINT_LABEL.
13654
6e7675a7
MK
136552015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13656
13657 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13658 in front.
13659 * gdb.trace/change-loc.exp: Use global pcreg definition.
13660 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13661 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13662 in front.
13663 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13664 * gdb.trace/pending.exp: Likewise.
13665 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13666 * gdb.trace/trace-break.exp: Likewise.
13667 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13668 in front.
13669 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13670 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13671 in front.
13672 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13673
dddc0e16
JB
136742015-11-09 Joel Brobecker <brobecker@adacore.com>
13675
13676 * gdb.ada/fin_fun_out: New testcase.
13677
c6f0b406
KB
136782015-11-07 Kevin Buettner <kevinb@redhat.com>
13679
13680 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13681 value associated with DW_AT_byte_size.
13682 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13683 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13684 DW_AT_upper_bound.
13685
f01dcfd9
KB
136862015-11-07 Kevin Buettner <kevinb@redhat.com>
13687
13688 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13689 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13690 version.
13691 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13692 gdb.dwarf2/dw2-canonicalize-type.exp,
13693 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13694 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13695 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13696 provided by gdb_target_symbol_prefix_flags_asm.
13697 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13698 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13699 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13700 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13701 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13702 macros where needed). Use this macro for symbols which require
13703 the prefix provided by SYMBOL_PREFIX.
13704
2223449a
KB
137052015-11-05 Kevin Buettner <kevinb@redhat.com>
13706
13707 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13708 New procs.
13709 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13710 representing expressions, of more than one list element.
13711 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13712 to prepend linker symbol prefix to f.
13713 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13714 table_1 and table_2.
13715 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13716 Likewise, for f and g.
13717 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13718 for ptr.
13719 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13720 for main.
13721 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13722 table_1_ptr and table_2_ptr.
13723
6f2f1a3a
JK
137242015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13725 Joel Brobecker <brobecker@adacore.com>
13726
13727 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13728
566c56c9
MK
137292015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13730
13731 * gdb.reverse/s390-mvcle.c: New test.
13732 * gdb.reverse/s390-mvcle.exp: New file.
13733 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13734
d5f0636b
MK
137352015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13736
13737 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13738
7ad8b86c
MK
137392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13740
13741 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13742 reaching marker2.
13743 * gdb.reverse/getresuid-reverse.exp: Likewise.
13744 * gdb.reverse/pipe-reverse.exp: Likewise.
13745 * gdb.reverse/readv-reverse.exp: Likewise.
13746 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13747 * gdb.reverse/time-reverse.exp: Likewise.
13748 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13749
4081c0f1
YQ
137502015-10-30 Yao Qi <yao.qi@linaro.org>
13751
13752 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13753 (empty_cycle): Remove.
13754 (main): Don't call empty_cycle. Don't use watch_count_done.
13755 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13756 empty_cycle. Rewrite the code counting HW watchpoints.
13757
452b4ba5
MK
137582015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13759
13760 * gdb.reverse/fstatat-reverse.c: New test.
13761 * gdb.reverse/fstatat-reverse.exp: New file.
13762 * gdb.reverse/getresuid-reverse.c: New test.
13763 * gdb.reverse/getresuid-reverse.exp: New file.
13764 * gdb.reverse/pipe-reverse.c: New test.
13765 * gdb.reverse/pipe-reverse.exp: New file.
13766 * gdb.reverse/readv-reverse.c: New test.
13767 * gdb.reverse/readv-reverse.exp: New file.
13768 * gdb.reverse/recvmsg-reverse.c: New test.
13769 * gdb.reverse/recvmsg-reverse.exp: New file.
13770 * gdb.reverse/time-reverse.c: New test.
13771 * gdb.reverse/time-reverse.exp: New file.
13772 * gdb.reverse/waitpid-reverse.c: New test.
13773 * gdb.reverse/waitpid-reverse.exp: New file.
13774
5e2e7507
JK
137752015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13776
13777 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13778
0fde2c53
DE
137792015-10-26 Doug Evans <dje@google.com>
13780
13781 PR symtab/17391
13782 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13783 * gdb.dwarf2/bad-regnum.c: New file.
13784 * gdb.dwarf2/bad-regnum.exp: New file.
13785
1a70ae97
DE
137862015-10-26 Doug Evans <dje@google.com>
13787
13788 PR python/18938
13789 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13790 file.
13791
27dc26ab
JK
137922015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13793
13794 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13795 for a change by "Mention language in compile error message".
13796
bed91f4d
SM
137972015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13798
13799 PR python/18073
13800 * gdb.python/py-type.c (C::a_method): New.
13801 (C::a_const_method): New.
13802 (C::a_static_method): New.
13803 (a_function): New.
13804 * gdb.python/py-type.exp (test_fields): Test getting fields
13805 from function and method.
13806
3f2f83dd
KB
138072015-10-21 Keven Boell <keven.boell@intel.com>
13808
13809 * gdb.fortran/vla-alloc-assoc.exp: New file.
13810 * gdb.fortran/vla-datatypes.exp: New file.
13811 * gdb.fortran/vla-datatypes.f90: New file.
13812 * gdb.fortran/vla-history.exp: New file.
13813 * gdb.fortran/vla-ptype-sub.exp: New file.
13814 * gdb.fortran/vla-ptype.exp: New file.
13815 * gdb.fortran/vla-sizeof.exp: New file.
13816 * gdb.fortran/vla-sub.f90: New file.
13817 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13818 * gdb.fortran/vla-value-sub-finish.exp: New file.
13819 * gdb.fortran/vla-value-sub.exp: New file.
13820 * gdb.fortran/vla-value.exp: New file.
13821 * gdb.fortran/vla-ptr-info.exp: New file.
13822 * gdb.mi/mi-vla-fortran.exp: New file.
13823 * gdb.mi/vla.f90: New file.
13824
27145d50
SL
138252015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13826
13827 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13828 of hardwired timeout value.
13829
5f3ff4f8
JK
138302015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13831 Pedro Alves <palves@redhat.com>
13832
13833 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13834 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13835
bfd09d20
JS
138362015-10-19 Josh Stone <jistone@redhat.com>
13837
13838 * gdb.base/catch-syscall.c: Include <sched.h>.
13839 (unknown_syscall): New variable.
13840 (main): Trigger a vfork and an unknown syscall.
13841 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13842 (unknown_syscall_number): Likewise.
13843 (check_call_to_syscall): Accept an optional syscall pattern.
13844 (check_return_from_syscall): Likewise.
13845 (check_continue): Likewise.
13846 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13847 (test_catch_syscall_skipping_return): New test toggling off 'catch
13848 syscall' to step over the syscall return, then toggling back on.
13849 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13850 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13851 (do_syscall_tests): Call test_catch_syscall_without_args and
13852 test_catch_syscall_mid_vfork.
13853 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13854 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13855
b32b93c6
AS
138562015-10-19 Andrew Stubbs <ams@codesourcery.com>
13857
13858 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13859 print g_vE): Add new pass patterns.
13860 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13861 print various symbol names for vptr fields.
13862
9d622bda
AB
138632015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13864
13865 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13866 results.
13867
0fd8ac1c
YQ
138682015-10-12 Yao Qi <yao.qi@linaro.org>
13869
13870 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13871
34240514
YQ
138722015-10-12 Yao Qi <yao.qi@linaro.org>
13873
13874 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13875 is aarch64*-*-linux*.
13876
8240f442
YQ
138772015-10-12 Yao Qi <yao.qi@linaro.org>
13878
13879 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13880 (can_relocate_bcond_true): ... it.
13881 (can_relocate_bcond_false): New function.
13882 (foo): Likewise.
13883 (can_relocate_bl): Likewise.
13884 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13885 can_relocate_bl.
13886
2520f728
PMR
138872015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13888
13889 * gdb.base/nested-addr.c: New file.
13890 * gdb.base/nested-addr.exp: New testcase.
13891
abcef95a
MM
138922015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13893
13894 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13895 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13896 its output. Ignore the output of "record goto begin" and instead
13897 check that GDB is replaying.
13898
145e3ddb
PA
138992015-10-09 Pedro Alves <palves@redhat.com>
13900
13901 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13902 (top level): Use it in the run with no args test.
13903
d5d8c4e1
IB
139042015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13905
13906 * gdb.dlang/properties.exp: New file.
13907
06e635ef
SL
139082015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13909
13910 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13911 whether or not address 0x1000 is mapped on the target.
13912
e019fd1d
SM
139132015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13914
13915 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13916 build.
13917
77ba2a67
MM
139182015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13919
13920 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13921 instruction-history test.
13922
c60eb31f
DE
139232015-09-28 Doug Evans <dje@google.com>
13924
13925 * gdb.base/gcore.c (array_func): Add reference to static_array.
13926
9a3c8263
SM
139272015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13928
13929 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13930 source line.
13931
9720e656
SL
139322015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13933
13934 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13935 short or char as base type.
13936
938d3bf2
SL
139372015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13938
13939 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13940 to allow any size enum.
13941
e6c2c623
PMR
139422015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13943
13944 * gdb.ada/array_ptr_renaming.exp: New testcase.
13945 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13946 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13947
06da0f77
PL
139482015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13949
13950 * gdb.trace/ftrace-lock.c: New file.
13951 * gdb.trace/ftrace-lock.exp: New file.
13952
4f51c22a
PL
139532015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13954
13955 * gdb.arch/insn-reloc.c: New file.
13956 * gdb.arch/ftrace-insn-reloc.exp: New file.
13957
7041adf4
PL
139582015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13959
13960 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13961 instruction.
13962 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13963 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13964 * gdb.trace/range-stepping.c: Likewise.
13965 * gdb.trace/trace-break.c: Likewise.
13966 * gdb.trace/trace-mt.c (thread_function): Likewise.
13967 * gdb.trace/ftrace.c (marker): Likewise.
13968 * gdb.trace/trace-condition.c (marker): Likewise.
13969 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13970 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13971 is_aarch64_target.
13972
015d2e7e
DE
139732015-09-18 Doug Evans <xdje42@gmail.com>
13974
13975 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13976 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13977
26b188a2
SL
139782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13979
13980 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13981 the breakpoint.
13982
79dc332b
SL
139832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13984
13985 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13986 the pending breakpoint. Remove timeout override for "Run till
13987 MI pending breakpoint on pendfunc3 on thread 2" test.
13988
f57929f2
SL
139892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13990
13991 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13992 filename pattern.
13993
3f469b17
SL
139942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13995
13996 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13997 in breakpoint filename pattern.
13998
515b89b3
SL
139992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14000
7800dbe4
SL
14001 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14002
140032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14004
515b89b3
SL
14005 * gdb.linespec/explicit.exp: Check for readline support for
14006 tab-completion tests. Fix obvious typo.
14007
d2939ba2
MM
140082015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14009
14010 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14011 and replay.
14012
cbb55fa7
MM
140132015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14014
14015 * gdb.btrace/non-stop.c: New.
14016 * gdb.btrace/non-stop.exp: New.
14017
43691ca1
PL
140182015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14019 Yao Qi <yao.qi@linaro.org>
14020
14021 * gdb.trace/trace-condition.c: New file.
14022 * gdb.trace/trace-condition.exp: New file.
14023
d78908cf
WW
140242015-09-16 Wei-cheng Wang <cole945@gmail.com>
14025
14026 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14027 for testing bytecode compilation.
14028
1ed415e2
PA
140292015-09-16 Pedro Alves <palves@redhat.com>
14030 Sandra Loosemore <sandra@codesourcery.com>
14031
14032 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14033 (SECONDS): Redefine.
14034 (main): Call pthread_kill and alarm early.
14035 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14036 support.
14037 (test): If the target can't hardware step and doesn't support
14038 displaced stepping, increase the timeout.
14039
d136eff5
PA
140402015-09-16 Pedro Alves <palves@redhat.com>
14041
14042 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14043 (enable_debug): New procedures.
14044 (test): Use them. Bail out if waiting for threads fails.
14045 (top level): Bail out if a test fails.
14046
991f019c
YQ
140472015-09-16 Yao Qi <yao.qi@linaro.org>
14048
14049 * gdb.asm/asm-source.exp: Set asm-arch for
14050 aarch64*-*-* target.
14051 * gdb.asm/aarch64.inc: New file.
14052
bfca584f
PMR
140532015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14054
14055 * gdb.ada/array_of_variable_length.exp: New testcase.
14056 * gdb.ada/array_of_variable_length/foo.adb: New file.
14057 * gdb.ada/array_of_variable_length/pck.adb: New file.
14058 * gdb.ada/array_of_variable_length/pck.ads: New file.
14059
b326e587
DE
140602015-09-15 Doug Evans <dje@google.com>
14061
14062 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14063 of function static local variable.
14064
5382cfab
PW
140652015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14066
14067 * gdb.threads/tls-so_extern.exp: New test file.
14068 * gdb.threads/tls-so_extern.c: New test file.
14069 * gdb.threads/tls-so_extern_main.c: New test file.
14070
141c5cc4
JK
140712015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14072
14073 * gdb.opt/solib-intra-step-lib.c: New file.
14074 * gdb.opt/solib-intra-step-main.c: New file.
14075 * gdb.opt/solib-intra-step.exp: New file.
14076
d15dcecd
PA
140772015-09-15 Pedro Alves <palves@redhat.com>
14078
14079 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14080 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14081
4c2f2a79
PA
140822015-09-14 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/hook-stop-continue.c: Delete.
14085 * gdb.base/hook-stop-continue.exp: Delete.
14086 * gdb.base/hook-stop-frame.c: Delete.
14087 * gdb.base/hook-stop-frame.exp: Delete.
14088 * gdb.base/hook-stop.c: New file.
14089 * gdb.base/hook-stop.exp: New file.
14090
919e6dbe
PMR
140912015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14092
14093 * gdb.ada/access_to_packed_array.exp: New testcase.
14094 * gdb.ada/access_to_packed_array/foo.adb: New file.
14095 * gdb.ada/access_to_packed_array/pack.adb: New file.
14096 * gdb.ada/access_to_packed_array/pack.ads: New file.
14097
157280a4
MM
140982015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14099
14100 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14101 buffer size test.
14102
2fd33e94
DB
141032015-09-11 Don Breazeal <donb@codesourcery.com>
14104
14105 * gdb.base/foll-exec.c: Add copyright header. Fix
14106 formatting issues.
14107 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14108 (do_exec_tests): Use clean_restart in place of zap_session,
14109 and for test initialization. Fix formatting issues. Use
14110 fail in place of perror.
14111 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14112 an expect statement to match an expression with output from
14113 the program under debug.
14114 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14115 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14116 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14117 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14118 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14119
e70b6e8e
DE
141202015-09-09 Doug Evans <dje@google.com>
14121
14122 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14123
7a551a51
DE
141242015-09-09 Doug Evans <dje@google.com>
14125
14126 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14127
4c666f84
DE
141282015-09-09 Doug Evans <dje@google.com>
14129
14130 * gdb.base/savedregs.exp: Fix typo.
14131
243a9253
PA
141322015-09-09 Pedro Alves <palves@redhat.com>
14133
14134 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14135
c0fa8fbd
SL
141362015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14137
14138 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14139 command actually switches threads. Give up on remaining
14140 tests if target fails to stop at breakpoint.
14141
cd7c1778
PMR
141422015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14143
14144 * gdb.ada/funcall_char.exp: New testcase.
14145 * gdb.ada/funcall_char/foo.adb: New file.
14146
dc5c8746
PMR
141472015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14148
14149 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14150 expected outputs. Add two testcases for completing ambiguous
14151 functions.
14152 * gdb.ada/complete/aux_pck.adb: New file.
14153 * gdb.ada/complete/aux_pck.ads: New file.
14154 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14155 Ambiguous_Func functions.
14156 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14157 * gdb.ada/complete/pck.adb: Likewise.
14158
4e83a1e7
UW
141592015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14160
14161 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14162 failures to run the test program under GDB.
14163
8ce74153
LM
141642015-08-26 Luis Machado <lgustavo@codesourcery.com>
14165
14166 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14167 to C.
14168
e9756d52
PP
141692015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14170
14171 * gdb.base/run-after-attach.exp: New test file.
14172 * gdb.base/run-after-attach.c: New test file.
14173
8d37573b
DB
141742015-08-26 Don Breazeal <donb@codesourcery.com>
14175
14176 * gdb.base/foll-exec-2.c: New test program.
14177 * gdb.base/foll-exec-2.exp: New test.
14178
63e43d3a
PMR
141792015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14180
14181 * gdb.base/nested-subp1.exp: New file.
14182 * gdb.base/nested-subp1.c: New file.
14183 * gdb.base/nested-subp2.exp: New file.
14184 * gdb.base/nested-subp2.c: New file.
14185 * gdb.base/nested-subp3.exp: New file.
14186 * gdb.base/nested-subp3.c: New file.
14187
3d40fbb5
PA
141882015-08-24 Pedro Alves <palves@redhat.com>
14189
14190 * gdb.server/connect-without-multi-process.c: New file.
14191 * gdb.server/connect-without-multi-process.exp: New file.
14192
4422ac93
LM
141932015-08-24 Luis Machado <lgustavo@codesourcery.com>
14194
14195 * gdb.opt/inline-markers.c: Make z int.
14196
91dddb86
LM
141972015-08-24 Luis Machado <lgustavo@codesourcery.com>
14198
14199 * gdb.opt/inline-markers.c: Make z volatile.
14200
a48847ee
LM
142012015-08-24 Luis Machado <lgustavo@codesourcery.com>
14202
14203 * gdb.opt/inline-bt.c: New volatile global z.
14204 * gdb.opt/inline-cmds.c: Likewise.
14205 * gdb.opt/inline-locals.c: Likewise.
14206 * gdb.opt/inline-markers.c: New extern global z.
14207 (marker): Use z.
14208 (inline_fn): Likewise.
14209
0ebbc52b
PA
142102015-08-24 Pedro Alves <palves@redhat.com>
14211
14212 * config/m32r-stub.exp: Remove file.
14213 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14214 * gdb.base/call-rt-st.exp: Likewise.
14215 * gdb.base/call-strs.exp: Likewise.
14216 * gdb.base/default.exp: Remove references to h8300-*-hms and
14217 *-*-udi*.
14218 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14219
77c365df
AA
142202015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14221
14222 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14223 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14224 and "return" use KFAIL when GDB can not read/write the vector
14225 return value.
14226
4313b8c0
GB
142272015-08-21 Gary Benson <gbenson@redhat.com>
14228
14229 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14230
0e433b32
PA
142312015-08-20 Pedro Alves <palves@redhat.com>
14232
14233 * gdb.server/solib-list.exp: No longer expect an interior stop in
14234 non-stop mode.
14235
221e1a37
PA
142362015-08-20 Pedro Alves <palves@redhat.com>
14237
14238 * gdb.server/connect-stopped-target.c: New file.
14239 * gdb.server/connect-stopped-target.exp: New file.
14240
40e3ad0e
PA
142412015-08-20 Pedro Alves <palves@redhat.com>
14242
14243 * gdb.dwarf2/comp-unit-lang.exp: New file.
14244 * gdb.dwarf2/comp-unit-lang.c: New file.
14245
af39b327
PMR
142462015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14247
14248 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14249 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14250
7d45c7c3 142512015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14252
7d45c7c3
KB
14253 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14254 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14255
4d6cceb4
DE
142562015-08-18 Doug Evans <dje@google.com>
14257 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14258
14259 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14260 skip_python_tests. New arg prompt_regexp.
14261 (skip_python_tests): New function.
14262 * lib/mi-support.exp (mi_skip_python_tests): New function.
14263 * gdb.python/py-mi-objfile-gdb.py: New file.
14264 * gdb.python/py-mi-objfile.c: New file.
14265 * gdb.python/py-mi-objfile.exp: New file.
14266
ad89c2aa
KS
142672015-08-17 Keith Seitz <keiths@redhat.com>
14268
14269 * gdb.linespec/explicit.exp: Move strace test from here ...
14270 * gdb.trace/strace.exp: ... to here.
14271
e3ae3c43
PP
142722015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14273
14274 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14275 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14276
604b2636
DE
142772015-08-14 Doug Evans <xdje42@gmail.com>
14278
14279 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14280 inferior before selecting a new file.
14281
6ff0ba5f
DE
142822015-08-14 Doug Evans <xdje42@gmail.com>
14283
14284 * gdb.mi/mi-disassemble.exp: Update.
14285 * gdb.base/disasm-optim.S: New file.
14286 * gdb.base/disasm-optim.c: New file.
14287 * gdb.base/disasm-optim.h: New file.
14288 * gdb.base/disasm-optim.exp: New file.
14289
9ca98f92
KS
142902015-08-14 Keith Seitz <keiths@redhat.com>
14291
14292 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14293 "evaluated-by".
14294
52bbc560
JB
142952015-08-13 Joel Brobecker <brobecker@adacore.com>
14296
14297 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14298
5d8c3ed3
PMR
142992015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14300
14301 * gdb.ada/fun_renaming.exp: New testcase.
14302 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14303 * gdb.ada/fun_renaming/pack.adb: New file.
14304 * gdb.ada/fun_renaming/pack.ads: New file.
14305
ea8812bc
KS
143062015-08-12 Keith Seitz <keiths@redhat.com>
14307
14308 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14309 gdb_get_line_number.
14310
4dafcdeb
JB
143112015-08-12 Joel Brobecker <brobecker@adacore.com>
14312
14313 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14314 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14315 gdb.base/dso2dso.exp: New files.
14316
5ba32597
SDJ
143172015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14318 Pedro Alves <palves@redhat.com>
14319 Keith Seitz <keiths@redhat.com>
14320
14321 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14322 GDBFLAGS.
14323
b6dafabf
PP
143242015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14325
14326 * gdb.base/gdbhistsize-history.exp
14327 (test_histsize_history_setting): Use save_vars.
14328 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14329 Use save_vars.
14330 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14331 * gdb.base/readline.exp: Use save_vars.
14332
abe8e607
PP
143332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14334
14335 * lib/gdb.exp (save_vars): New proc.
14336
629500fa
KS
143372015-08-11 Keith Seitz <keiths@redhat.com>
14338
14339 * gdb.base/help.exp: Update help_breakpoint_text.
14340
eb8c4e2e
KS
143412015-08-11 Keith Seitz <keiths@redhat.com>
14342
14343 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14344 (at toplevel): Call test_explicit_breakpoints.
14345 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14346 breakpoints.
14347 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14348 breakpoint conditions, "-cond".
14349
87f0e720
KS
143502015-08-11 Keith Seitz <keiths@redhat.com>
14351
14352 * gdb.linespec/3explicit.c: New file.
14353 * gdb.linespec/cpexplicit.cc: New file.
14354 * gdb.linespec/cpexplicit.exp: New file.
14355 * gdb.linespec/explicit.c: New file.
14356 * gdb.linespec/explicit.exp: New file.
14357 * gdb.linespec/explicit2.c: New file.
14358 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14359 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14360 before using in the matching pattern.
14361 Clarify that `prefix' is a regular expression.
14362
f00aae0f
KS
143632015-08-11 Keith Seitz <keiths@redhat.com>
14364
14365 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14366 test.
14367 Add tests for missing ",FMT" and ",".
14368
e27852be
DE
143692015-08-10 Doug Evans <dje@google.com>
14370 Keith Seitz <keiths@redhat.com>
14371
14372 PR gdb/17960
14373 * gdb.base/completion.exp: Add location completer tests.
14374
7f03bd92
PA
143752015-08-07 Pedro Alves <palves@redhat.com>
14376
14377 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14378 tests here.
14379 (top level): Run do_test with and without displaced stepping.
14380
3fc8eb30
PA
143812015-08-07 Pedro Alves <palves@redhat.com>
14382
14383 * gdb.base/valgrind-disp-step.c: New file.
14384 * gdb.base/valgrind-disp-step.exp: New file.
14385
d4569d7b
PA
143862015-08-07 Pedro Alves <palves@redhat.com>
14387
14388 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14389 Delete function.
14390 (main): Add alarm. Run an infinite loop instead of calling
14391 wait_threads.
14392 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14393 comment.
14394 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14395 Delete function.
14396 (main): Add alarm. Run an infinite loop instead of calling
14397 wait_threads.
14398 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14399 comment.
14400
e1316e60
PA
144012015-08-07 Pedro Alves <palves@redhat.com>
14402
14403 * gdb.base/checkpoint-ns.exp: New file.
14404 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14405 standard_testfile.
14406
da8c46d2
MM
144072015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14408
14409 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14410 * gdb.btrace/instruction_history.exp: Update.
14411 * gdb.btrace/tsx.exp: New.
14412 * gdb.btrace/tsx.c: New.
14413
de1c2c52
PA
144142015-08-06 Pedro Alves <palves@redhat.com>
14415
14416 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14417 increase timeout.
14418 * gdb.reverse/until-precsave.exp: Bump timeouts.
14419
782e0bf4
PA
144202015-08-06 Pedro Alves <palves@redhat.com>
14421
14422 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14423
83e97ed0
PA
144242015-08-06 Pedro Alves <palves@redhat.com>
14425
14426 PR gdb/18749
14427 * gdb.threads/process-dies-while-handling-bp.c: New file.
14428 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14429
863d01bd
PA
144302015-08-06 Pedro Alves <palves@redhat.com>
14431
14432 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14433 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14434
0a39bb32
PA
144352015-08-05 Pedro Alves <palves@redhat.com>
14436
14437 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14438 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14439
ee2d2b10
SL
144402015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14441
14442 * gdb.base/bp-permanent.exp: Report test as unsupported if
14443 the target cannot stop at the permanent breakpoint.
14444
4e1bdb00
DE
144452015-08-03 Doug Evans <dje@google.com>
14446
14447 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14448 10000.
14449
3d338901
DE
144502015-08-03 Doug Evans <dje@google.com>
14451
14452 * Makefile.in (workers/%.worker, build-perf): New rule.
14453 (GDB_PERFTEST_MODE): New variable.
14454 (check-perf): Use it.
14455 (clean): Clean up gdb.perf parallel build subdirs.
14456 * lib/build-piece.exp: New file.
14457 * lib/gdb.exp (make_gdb_parallel_path): New function
14458 (standard_output_file, standard_temp_file): Call it.
14459 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14460 of $GDB_PARALLEL.
14461 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14462
af061d3e
DE
144632015-08-03 Doug Evans <dje@google.com>
14464
8e1afc81 14465 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14466 (LOG_FILE_NAME): New global.
14467 (TextReporter.__init__): Initialize self.txt_sum.
14468 (TextReporter.report): Add support for multiple data-points.
14469 Move report to perftest.sum, put raw data in perftest.log.
14470 (TextReporter.start): Open sum and log files.
14471 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14472 * gdb.perf/lib/perftest/testresult.py
14473 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14474
2c8c5d37
PA
144752015-07-31 Pedro Alves <palves@redhat.com>
14476
14477 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14478 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14479 kill_wait_spawned_process instead of explicit "kill -9".
14480 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14481 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14482 kill_wait_spawned_process.
14483 * gdb.base/attach-twice.exp: Likewise.
14484 * gdb.base/attach.exp: Likewise.
14485 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14486 gdb_test_multiple.
14487 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14488 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14489 kill_wait_spawned_process.
14490 * gdb.base/valgrind-infcall.exp: Likewise.
14491 * gdb.multi/multi-attach.exp: Likewise.
14492 * gdb.python/py-prompt.exp: Likewise.
14493 * gdb.python/py-sync-interp.exp: Likewise.
14494 * gdb.server/ext-attach.exp: Likewise.
14495 * gdb.threads/attach-into-signal.exp (corefunc): Use
14496 spawn_wait_for_attach, spawn_id_get_pid and
14497 kill_wait_spawned_process.
14498 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14499 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14500 spawn_id_get_pid and kill_wait_spawned_process.
14501 * gdb.threads/attach-stopped.exp (corefunc): Use
14502 spawn_wait_for_attach, spawn_id_get_pid and
14503 kill_wait_spawned_process.
14504 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14505 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14506 kill_wait_spawned_process instead of explicit "kill -9".
14507 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14508 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14509 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14510 processes. Don't map cygwin/windows pids here. Now returns a
14511 spawn id list.
14512
032a0fca
SL
145132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14514
14515 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14516 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14517 correct patch.
14518
61a934ca
SL
145192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14520
14521 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14522
4bc4d428
SL
145232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14524
14525 Reapply:
14526 2014-05-21 Mark Wielaard <mjw@redhat.com>
14527
14528 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14529
998d452a
PA
145302015-07-30 Pedro Alves <palves@redhat.com>
14531
14532 * linux-low.c (handle_extended_wait): Set the child's last
14533 reported status to TARGET_WAITKIND_STOPPED.
14534
69dde7dc
PA
145352015-07-30 Pedro Alves <palves@redhat.com>
14536
14537 PR threads/18600
14538 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14539 only shows inferior 1.
14540
4dd63d48
PA
145412015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14542 Pedro Alves <palves@redhat.com>
14543
14544 PR threads/18600
14545 * gdb.threads/fork-plus-threads.c: New file.
14546 * gdb.threads/fork-plus-threads.exp: New file.
14547
d618e4c5
PP
145482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14549
14550 * gdb.base/batch-preserve-term-settings.exp
14551 (test_terminal_settings_preserved_after_cli_exit): Use
14552 send_quit_command.
14553
1eef6428
PA
145542015-07-29 Pedro Alves <palves@redhat.com>
14555 Don Breazeal <donb@codesourcery.com>
14556
14557 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14558 output from both inferior_spawn_id and gdb_spawn_id.
14559
7da5b897
SDJ
145602015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14561
14562 * gdb.threads/attach-into-signal.exp (corefunc): Use
14563 with_test_prefix on nested loops, uniquefying the test messages.
14564
dac804df
SDJ
145652015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14566
14567 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14568 commit.
14569
06265e53
PP
145702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14571
14572 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14573 New proc.
14574 (test_terminal_settings_preserved_after_sigterm): New test.
14575
18206ca3
PP
145762015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14577
14578 * gdb.base/batch-preserve-term-settings.exp
14579 (test_terminal_settings_preserved_after_cli_exit): New test.
14580
90074d11
PP
145812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14582
14583 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14584 manipulation of saved_gdbflags.
14585 (test_terminal_settings_preserved): Remove global declaration of
14586 the unused variable pagination_prompt. Remove manipulation of
14587 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14588 GDBFLAGS.
14589
eb1a7902
PA
145902015-07-29 Pedro Alves <palves@redhat.com>
14591
14592 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14593
8b75dd3b
PA
145942015-07-29 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14597 at the top.
14598
dedad4e3
PA
145992015-07-29 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14602 (main): Call gdb_unbuffer_output.
14603 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14604 (main): Call gdb_unbuffer_output.
14605 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14606 (main): Call gdb_unbuffer_output.
14607 * gdb.base/call-strs.exp: Adjust to step over the
14608 gdb_unbuffer_output call.
14609 * gdb.base/catch-gdb-caused-signals.c: Include
14610 "../lib/unbuffer_output.c".
14611 (main): Call gdb_unbuffer_output.
14612 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14613 (main): Call gdb_unbuffer_output.
14614 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14615 (main): Call gdb_unbuffer_output.
14616 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14617 (main): Call gdb_unbuffer_output.
14618 * gdb.base/shlib-call.exp: Adjust to step over the
14619 gdb_unbuffer_output call.
14620 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14621 (main): Call gdb_unbuffer_output.
14622 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14623 (main): Call gdb_unbuffer_output.
14624 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14625 (main): Rename to ...
14626 (test): ... this.
14627 (main): Reimplement.
14628 * gdb.base/varargs.exp: Run to test instead of to main.
14629 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14630 (main): Call gdb_unbuffer_output.
14631
58789a91
PA
146322015-07-29 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14635 factore out from mi_continue_dprintf. For call-style dprintfs,
14636 expect dprintf output out of $inferior_spawn_id.
14637 (mi_continue_dprintf): Use mi_expect_dprintf.
14638 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14639 (main): Call gdb_unbuffer_output.
14640
e8376742
PA
146412015-07-29 Pedro Alves <palves@redhat.com>
14642
14643 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14644 (default_mi_gdb_start): Set inferior_spawn_id instead of
14645 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14646 gdb_spawn_id.
14647 (mi_gdb_test): Always expect inferior output from both
14648 $inferior_spawn_id and $gdb_spawn_id.
14649
08280010
PA
146502015-07-29 Pedro Alves <palves@redhat.com>
14651
14652 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14653 send_inferior and $inferior_spawn_id.
14654
4d30e432
PA
146552015-07-29 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.gdb/complaints.exp (test_initial_complaints)
14658 (test_serial_complaints, test_short_complaints): Use
14659 gdb_test_stdio.
14660 (test_empty_complaint): Handle $inferior_spawn_id !=
14661 $gdb_spawn_id.
14662
0d30a335
PA
146632015-07-29 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.base/varargs.exp: Use gdb_test_stdio.
14666
39413b29
PA
146672015-07-29 Pedro Alves <palves@redhat.com>
14668
14669 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14670
7cb000a9
PA
146712015-07-29 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14674
d7b8ac82
PA
146752015-07-29 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14678 parameter into two new parameters, "inf_result" and "gdb_result".
14679 Expect inferior output and gdb output from $inferior_spawn_id and
14680 $gdb_spawn_id, respectively. Adjust all callers.
14681
789c3a0c
PA
146822015-07-29 Pedro Alves <palves@redhat.com>
14683
14684 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14685 of gdb_test_sequence.
14686
77e760c3
PA
146872015-07-29 Pedro Alves <palves@redhat.com>
14688
14689 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14690 (saw_spurious_output): Expect inferior output from
14691 $inferior_spawn_id. Use gdb_test_stdio.
14692
8396d2cd
PA
146932015-07-29 Pedro Alves <palves@redhat.com>
14694
14695 * gdb.base/dprintf.exp: Use standard_testfile. Change
14696 prepare_for_testing call.
14697 (srcfile): Don't set.
14698 (restart): New procedure.
14699 (test_dprintf): New procecure, use to continue over dprintfs.
14700 (test_call, test_agent): New procedures, tests moved here.
14701 Restart gdb and recreate dprintfs. Adjust expected output.
14702
2051d61f
PA
147032015-07-29 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14706
452397af
PA
147072015-07-29 Pedro Alves <palves@redhat.com>
14708
14709 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14710
8aed9555
PA
147112015-07-29 Pedro Alves <palves@redhat.com>
14712
14713 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14714 gdb_test_stdio.
14715
188a61b4
PA
147162015-07-29 Pedro Alves <palves@redhat.com>
14717
14718 * lib/gdb.exp (gdb_test_stdio): New procedure.
14719
12264a45
PA
147202015-07-29 Pedro Alves <palves@redhat.com>
14721
14722 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14723
23ffc893
PA
147242015-07-29 Pedro Alves <palves@redhat.com>
14725
14726 * gdb.base/call-signal-resume.exp: Remove check for
14727 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14728 * gdb.base/unwindonsignal.exp: Likewise.
14729 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14730 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14731
65566918
PA
147322015-07-29 Pedro Alves <palves@redhat.com>
14733
14734 * gdb.base/siginfo-addr.c (pass): New function.
14735 (handler): Call it iff si_addr is correct.
14736 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14737 Set a breakpoint at "pass" and continue to it.
14738
d60a9221
SDJ
147392015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14740
14741 * gdb.python/py-objfile.exp: Make some tests have unique names.
14742 * gdb.python/py-pp-registration.exp: Likewise.
14743
bde40b8f
PA
147442015-07-28 Pedro Alves <palves@redhat.com>
14745
14746 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14747
13e1dec8
SM
147482015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14749
14750 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14751
da33c9a7
SM
147522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14753
14754 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14755
077836f7
PP
147562015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14757
14758 * gdb.base/gdb-sigterm-2.exp: New test.
14759
b8cc7b2e
DE
147602015-07-25 Doug Evans <xdje42@gmail.com>
14761
14762 Revert:
14763 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14764 (workers/%.worker, build-perf): New rule.
14765 (GDB_PERFTEST_MODE): New variable.
14766 (check-perf): Use it.
14767 (clean): Clean up gdb.perf parallel build subdirs.
14768 * lib/build-piece.exp: New file.
14769 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14770 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14771 name.
14772 (standard_temp_file): Ditto.
14773 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14774 of $GDB_PARALLEL.
14775
c8bd4544
DE
147762015-07-24 Doug Evans <dje@google.com>
14777
14778 * gdb.perf/lib/perftest/utils.py: New file.
14779 * gdb.perf/gm-hello.cc: New file.
14780 * gdb.perf/gm-pervasive-typedef.cc: New file.
14781 * gdb.perf/gm-pervasive-typedef.h: New file.
14782 * gdb.perf/gm-std.cc: New file.
14783 * gdb.perf/gm-std.h: New file.
14784 * gdb.perf/gm-use-cerr.cc: New file.
14785 * gdb.perf/gm-utils.h: New file.
14786 * gdb.perf/gmonster-null-lookup.py: New file.
14787 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14788 * gdb.perf/gmonster-print-cerr.py: New file.
14789 * gdb.perf/gmonster-ptype-string.py: New file.
14790 * gdb.perf/gmonster-runto-main.py: New file.
14791 * gdb.perf/gmonster-select-file.py: New file.
14792 * gdb.perf/gmonster1-null-lookup.exp: New file.
14793 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14794 * gdb.perf/gmonster1-print-cerr.exp: New file.
14795 * gdb.perf/gmonster1-ptype-string.exp: New file.
14796 * gdb.perf/gmonster1-runto-main.exp: New file.
14797 * gdb.perf/gmonster1-select-file.exp: New file.
14798 * gdb.perf/gmonster1.cc: New file.
14799 * gdb.perf/gmonster1.exp: New file.
14800 * gdb.perf/gmonster2-null-lookup.exp: New file.
14801 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14802 * gdb.perf/gmonster2-print-cerr.exp: New file.
14803 * gdb.perf/gmonster2-ptype-string.exp: New file.
14804 * gdb.perf/gmonster2-runto-main.exp: New file.
14805 * gdb.perf/gmonster2-select-file.exp: New file.
14806 * gdb.perf/gmonster2.cc: New file.
14807 * gdb.perf/gmonster2.exp: New file.
14808
6eab34f3
DE
148092015-07-24 Doug Evans <dje@google.com>
14810
14811 * gdb.perf/README: New file.
14812 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14813 * lib/gen-perf-test.exp: New file.
14814
63738bfd
DE
148152015-07-24 Doug Evans <dje@google.com>
14816
14817 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14818 (PerfTest::startup): New function.
14819 (PerfTest::run): Return result of calling body.
14820 (PerfTest::assemble): Rewrite.
14821 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14822 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14823 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14824 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14825 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14826
7b606f95
DE
148272015-07-24 Doug Evans <dje@google.com>
14828
14829 * lib/gdb.exp (clean_restart): Make executable optional.
14830
a97b16b8
DE
148312015-07-24 Doug Evans <dje@google.com>
14832
14833 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14834 compiler_info references.
14835 * gdb.cp/temargs.exp: Ditto.
14836 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14837 (get_compiler_info): Early exit if already computed. Set compiler_info
14838 to "unknown" if there was a problem.
14839 (test_compiler_info): Add function comment. Call get_compiler_info.
14840
35baa57f
DE
148412015-07-24 Doug Evans <dje@google.com>
14842
14843 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14844 (workers/%.worker, build-perf): New rule.
14845 (GDB_PERFTEST_MODE): New variable.
14846 (check-perf): Use it.
14847 (clean): Clean up gdb.perf parallel build subdirs.
14848 * lib/build-piece.exp: New file.
14849 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14850 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14851 name.
14852 (standard_temp_file): Ditto.
14853 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14854 of $GDB_PARALLEL.
14855
6ebea266
DE
148562015-07-24 Doug Evans <dje@google.com>
14857
14858 * lib/future.exp (gdb_default_target_compile): New option
14859 "early_flags".
14860 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14861 --as-needed.
14862
1e76a7e9
SDJ
148632015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14864
14865 * gdb.base/catch-syscall.exp: Call gdb_exit before
14866 gdb_skip_xml_test.
14867
5068630a
PA
148682015-07-24 Pedro Alves <palves@redhat.com>
14869
14870 * gdb.python/py-events.exp: Accept output between the stop event
14871 and the prompt.
14872 * gdb.python/py-evsignal.exp: Likewise.
14873 * gdb.python/py-evthreads.exp: Likewise.
14874
77598427
PA
148752015-07-24 Pedro Alves <palves@redhat.com>
14876
14877 PR gdb/18717
14878 * gdb.threads/non-ldr-exit.c: New file.
14879 * gdb.threads/non-ldr-exit.exp: New file.
14880
11e6c98f
YQ
148812015-07-24 Yao Qi <yao.qi@linaro.org>
14882
14883 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14884 restarting process.
14885
51aee833
YQ
148862015-07-24 Yao Qi <yao.qi@linaro.org>
14887
14888 * gdb.server/ext-restart.exp: New file.
14889
8cfe207c
YQ
148902015-07-24 Yao Qi <yao.qi@linaro.org>
14891
14892 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14893 argument options.
14894 * gdb.server/ext-wrapper.exp: New file.
14895
cc12ce38
DE
148962015-07-23 Doug Evans <dje@google.com>
14897
14898 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14899 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14900
d0d84780
PMR
149012015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14902
14903 * gdb.ada/var_arr_typedef.exp: New testcase.
14904 * gdb.ada/var_arr_typedef/pack.adb: New file.
14905 * gdb.ada/var_arr_typedef/pack.ads: New file.
14906 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14907
8b558f79
JB
149082015-07-20 Joel Brobecker <brobecker@adacore.com>
14909
14910 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14911
775a3298
JK
149122015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14913
14914 * gdb.arch/i386-biarch-core.exp: Replace istarget
14915 by "complete set gnutarget". Remove expectation for the "core-file"
14916 command.
14917
db1ff28b
JK
149182015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14919
14920 Revert the previous commit:
14921 Tests for validate symbol file using build-id.
14922
0a94970d
JK
149232015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14924
14925 Tests for validate symbol file using build-id.
14926 * gdb.base/solib-mismatch-lib.c: New file.
14927 * gdb.base/solib-mismatch-libmod.c: New file.
14928 * gdb.base/solib-mismatch.c: New file.
14929 * gdb.base/solib-mismatch.exp: New file.
14930
03346981
SL
149312015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14932
14933 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14934 nios2-*-linux*.
14935 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14936 * gdb.base/siginfo.exp: Likewise.
14937 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14938
42422cc7
PL
149392015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14940
14941 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14942 Move it to ...
14943 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14944 ... here.
14945 * gdb.trace/range-stepping.exp: Check that the target supports
14946 range stepping.
14947
cfa68bae
JK
149482015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14949
14950 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14951
8ffdba26
PA
149522015-07-14 Pedro Alves <palves@redhat.com>
14953
14954 * gdb.base/killed-outside.exp: New file.
14955 * gdb.base/killed-outside.c: New file.
14956
218a5a11
JK
149572015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14958
14959 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14960 (n at main): New.
14961 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14962
e03ed3c6
AA
149632015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14964
14965 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14966 infcall tests instead of setting up for KFAIL.
14967
485668e5
MM
149682015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14969
14970 * gdb.btrace/record_goto-step.exp: New.
14971
08464196
JK
149722015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14973
14974 PR compile/18484
14975 * gdb.compile/compile.c (struct struct_type): Add volatile to
14976 selffield's type.
14977 * gdb.compile/compile.exp
14978 (compile code struct_object.selffield = &struct_object): Skip further
14979 struct_object tests if this one xfails.
14980
bcf5c1d9
RC
149812015-07-08 Robert O'Callahan <robert@ocallahan.org>
14982
14983 PR exp/18617
14984 * gdb.trace/ax.exp: Add test.
14985
4931af25
YQ
149862015-07-07 Yao Qi <yao.qi@linaro.org>
14987
14988 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14989 instead of istarget "aarch64*-*-*".
14990 * gdb.arch/aarch64-fp.exp: Likewise.
14991 * gdb.base/float.exp: Likewise.
14992 * gdb.reverse/aarch64.exp: Likewise.
14993 * lib/gdb.exp (is_aarch64_target): New proc.
14994
9fcf688e
YQ
149952015-07-07 Yao Qi <yao.qi@linaro.org>
14996
14997 * lib/gdb.exp (is_aarch32_target): New proc.
14998 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14999 instead of "istarget "arm*-*-*"".
15000 * gdb.arch/arm-disp-step.exp: Likewise.
15001 * gdb.arch/thumb-bx-pc.exp: Likewise.
15002 * gdb.arch/thumb-prologue.exp: Likewise.
15003 * gdb.arch/thumb-singlestep.exp: Likewise.
15004 * gdb.base/disp-step-syscall.exp: Likewise.
15005 * gdb.base/float.exp: Likewise.
15006
fbd8d50d
YQ
150072015-07-07 Yao Qi <yao.qi@linaro.org>
15008
15009 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15010 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15011
71be1fdc
YQ
150122015-07-07 Yao Qi <yao.qi@linaro.org>
15013
15014 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15015 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15016 if it exists.
15017 * gdb.multi/multi-arch.exp: Likewise.
15018
3e221d36
SM
150192015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15020
15021 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15022 print.
15023
d441430b
YQ
150242015-07-07 Yao Qi <yao.qi@linaro.org>
15025
15026 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15027
06f810bd
MG
150282015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15029
15030 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15031 '[' and ']' characters.
15032
5e61e7c0
IB
150332015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15034
15035 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15036
28bf096c
PA
150372015-06-29 Pedro Alves <palves@redhat.com>
15038
15039 PR threads/18127
15040 * gdb.threads/hand-call-new-thread.c: New file.
15041 * gdb.threads/hand-call-new-thread.c: New file.
15042
ee93cd5e
KS
150432015-06-26 Keith Seitz <keiths@redhat.com>
15044 Doug Evans <dje@google.com>
15045
15046 PR 16253
15047 * gdb.cp/var-tag-2.cc: New file.
15048 * gdb.cp/var-tag-3.cc: New file.
15049 * gdb.cp/var-tag-4.cc: New file.
15050 * gdb.cp/var-tag.cc: New file.
15051 * gdb.cp/var-tag.exp: New file.
15052
fc637f04
PP
150532015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15054
15055 * gdb.base/history-duplicates.exp: New test.
15056
2e52ae68
PP
150572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15058
15059 * gdb.base/completion.exp: Test the completion of the "focus"
15060 command.
15061
6e22494e
JK
150622015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15063
15064 * gdb.arch/amd64-prologue-skip.S: New file.
15065 * gdb.arch/amd64-prologue-skip.exp: New file.
15066
bf7b9cd9
SM
150672015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15068
15069 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15070 is_address_zero_readable check.
15071
201e8dfd
PB
150722015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15073
15074 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15075 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15076
5cd867b4
YQ
150772015-06-24 Yao Qi <yao.qi@linaro.org>
15078
15079 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15080 linux targets.
15081
4d7be007
YQ
150822015-06-24 Yao Qi <yao.qi@linaro.org>
15083
15084 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15085 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15086 * gdb.base/siginfo-thread.exp: Likewise.
15087
07fcd301
YQ
150882015-06-22 Yao Qi <yao.qi@linaro.org>
15089
15090 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15091
52042a00
YQ
150922015-06-22 Yao Qi <yao.qi@linaro.org>
15093
15094 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15095 aarch64*-*-*.
15096 (skip_hw_watchpoint_tests): Likewise.
15097
74bd41ce
PP
150982015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15099
15100 * gdb.base/gdbinit-history.exp: Test the interaction between
15101 setting GDBHISTSIZE and setting the history size via .gdbinit.
15102
bc460514
PP
151032015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15104
15105 PR gdb/16999
15106 * gdb.base/gdbhistsize-history.exp: New test.
15107
b58c513b
PP
151082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15109
15110 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15111 with GDBHISTSIZE.
15112 * gdb.base/readline.exp: Likewise.
15113
92046791
YQ
151142015-06-17 Yao Qi <yao.qi@linaro.org>
15115
15116 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15117 line.
15118
2093d2d3
PP
151192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15120
15121 * gdb.base/gdbinit-history.exp: Add test case to check that
15122 an unlimited history file does not get truncated on exit.
15123
e6c693af
AA
151242015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15125
15126 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15127 (VECTOR): New macro. Use it...
15128 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15129 ...for these typedefs.
15130 (int8, char1, int1, double1): New typedefs.
15131 (struct just_int2, struct two_int2): New structures.
15132 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15133 (add_structvecs, add_singlevecs): New functions.
15134 (main): Call add_some_intvecs twice.
15135 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15136 the compile and exit upon failure. Try compiling for the "native"
15137 architecture. Test inferior function calls with vector arguments
15138 and vector return value handling with "finish" and "return".
15139
c74f7d1c
JT
151402015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15141
15142 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15143 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15144 PE file.
15145 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15146
98aa42ee
AT
151472015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15148
15149 PR breakpoints/16465
15150 * gdb.mi/mi-dprintf-pending.c: New file.
15151 * gdb.mi/mi-dprintf-pending.exp: New test.
15152 * gdb.mi/mi-dprintf-pendshr.c: New file.
15153
7d73c23c 151542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15155 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15156
15157 * gdb.arch/i386-mpx-map.c: New file.
15158 * gdb.arch/i386-mpx-map.exp: New File.
15159
151602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15161
15162 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15163 * gdb.arch/i386-mpx.exp: Indentation fixed.
15164
151652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15166
15167 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15168 function and improved indentation.
15169 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15170 gdb_test_multiple. Added additional tests to skip the test.
15171
151722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15173
15174 * gdb.arch/i386-avx512.c: Change path in include file.
15175 * gdb.arch/i386-avx512.exp: Change include dir path
15176 compilation flag.
15177 * gdb.arch/i386-mpx.c: Change path in include file.
15178 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15179 flag.
15180
d5eba19a
JK
151812015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15182
15183 * gdb.compile/compile-print.exp (compile print *vararray@3)
15184 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15185
7f361056
JK
151862015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15187
15188 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15189 (do not keep jit in memory): ... this.
15190 (expect 5): Change it to ...
15191 (expect no 5): ... this.
15192
3b462ec2
SM
151932015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15194
15195 PR gdb/15564
15196 * gdb.mi/mi-detach.exp: New file.
15197
e0619de6
JK
151982015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15199
15200 PR symtab/18392
15201 * gdb.arch/amd64-tailcall-self.S: New file.
15202 * gdb.arch/amd64-tailcall-self.c: New file.
15203 * gdb.arch/amd64-tailcall-self.exp: New file.
15204
e970cb34
DB
152052015-05-28 Don Breazeal <donb@codesourcery.com>
15206
15207 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15208 tests for remote targets by checking is_target_gdbserver.
15209
b2e2f908
DE
152102015-05-27 Doug Evans <dje@google.com>
15211
15212 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15213 * gdb.dwarf2/opaque-type-lookup.c: New file.
15214 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15215
82c7be31
DE
152162015-05-26 Doug Evans <dje@google.com>
15217
15218 * gdb.cp/iostream.cc: New file.
15219 * gdb.cp/iostream.exp: New file.
15220
b4f54984
DE
152212015-05-26 Doug Evans <dje@google.com>
15222
15223 * gdb.dwarf2/dw2-op-call.exp: Update.
15224 * gdb.dwarf2/dw4-sig-types.exp: Update.
15225 * gdb.dwarf2/implptr.exp: Update.
15226 * gdb.mi/mi-cmd-param-changed.exp: Update.
15227
4ea6efe9
DE
152282015-05-26 Doug Evans <dje@google.com>
15229
15230 * gdb.python/py-lazy-string.c: New file.
15231 * gdb.python/py-lazy-string.exp: New file.
15232 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15233 (main): Update. Add estring3.
15234 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15235 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15236
f6bb7db3
YQ
152372015-05-26 Omair Javaid <omair.javaid@linaro.org>
15238 Yao Qi <yao.qi@linaro.org>
15239
15240 * gdb.reverse/aarch64.c: New.
15241 * gdb.reverse/aarch64.exp: New.
15242
a81bfbd0
OJ
152432015-05-26 Omair Javaid <omair.javaid@linaro.org>
15244
25d49b86
PA
15245 * lib/gdb.exp (supports_process_record): Return true for
15246 aarch64*-linux*.
a81bfbd0
OJ
15247 (supports_reverse): Likewise.
15248
158bf1b4
PP
152492015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15250
15251 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15252 Use with_test_prefix.
15253
a0145030
AB
152542015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15255
15256 * gdb.base/completion.exp: Add test for completion of layout
15257 names.
15258
ebe3b578
AB
152592015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15260
15261 * lib/gdb.exp (skip_tui_tests): New proc.
15262 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15263
84204ed7
PA
152642015-05-19 Pedro Alves <palves@redhat.com>
15265
15266 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15267 Save the whole env array instead of just HOME. Unset HISTSIZE in
15268 the environment while testing. Restore whole environment
15269 afterwards.
15270
37442ce1
DE
152712015-05-16 Doug Evans <xdje42@gmail.com>
15272
15273 * gdb.guile/scm-ports.c: New file.
15274 * gdb.guile/scm-ports.exp: Add memory port tests.
15275
36de76f9
JK
152762015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15277
15278 * gdb.compile/compile-print.c: New file.
15279 * gdb.compile/compile-print.exp: New file.
15280
3a9558c4
JK
152812015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15282
15283 * gdb.compile/compile-ops.exp: Cast param to void.
15284 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15285 (compile code struct_object.selffield = &struct_object): Add xfail.
15286
aa715135
JG
152872015-05-15 Joel Brobecker <brobecker@adacore.com>
15288
15289 * gdb.ada/arr_enum_with_gap: New testcase.
15290
931e5bc3
JG
152912015-05-15 Joel Brobecker <brobecker@adacore.com>
15292
15293 * gdb.ada/byte_packed_arr: New testcase.
15294
9cd4d857
JB
152952015-05-15 Joel Brobecker <brobecker@adacore.com>
15296
15297 * gdb.ada/pckd_neg: New testcase.
15298
ebfd00d2
PP
152992015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15300
15301 PR gdb/17820
15302 * gdb.base/gdbinit-history.exp: New test.
15303 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15304 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15305
4c082a81
SC
153062015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15307
15308 * gdb.python/py-xmethods.cc: Enhance test case.
15309 * gdb.python/py-xmethods.exp: New tests.
15310 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15311 function.
15312 (B_indexoper): Likewise.
15313 (global_dm_list) : Add new xmethod worker functions.
15314
f7797074
SDJ
153152015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15316
15317 * gdb.base/coredump-filter.exp: Correctly unset
15318 "coredump_var_addr" array.
15319
a4674e4e
PA
153202015-05-08 Pedro Alves <palves@redhat.com>
15321
15322 * gdb.server/non-existing-program.exp: Unset spawn_id.
15323
df2eb078
SC
153242015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15325
15326 PR python/18291
15327 * gdb.python/py-xmethods.exp: Add tests.
15328
422349a3
YQ
153292015-05-08 Yao Qi <yao.qi@linaro.org>
15330
15331 PR gdb/18208
15332 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15333 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15334 function set_coredump_filter, and remove remote_exec call.
15335 Remove argument ipid. Callers update.
15336 (top level): Don't get inferior's PID.
15337
63fc80ce
AA
153382015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15339
15340 * gdb.base/watch_thread_num.exp: Skip test on targets without
15341 access watchpoints.
15342
80ad801e
PA
153432015-05-06 Pedro Alves <palves@redhat.com>
15344
15345 PR server/18081
15346 * gdb.server/non-existing-program.exp: New file.
15347
0fa7fe50
JB
153482015-05-05 Joel Brobecker <brobecker@adacore.com>
15349
15350 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15351
3ea89b92
PMR
153522015-05-05 Joel Brobecker <brobecker@adacore.com>
15353
15354 * gdb.ada/out_of_line_in_inlined: New testcase.
15355
87b8eff0
JB
153562015-05-05 Joel Brobecker <brobecker@adacore.com>
15357
15358 * gdb.ada/var_rec_arr: New testcase.
15359
5fccc635
YQ
153602015-04-30 Yao Qi <yao.qi@linaro.org>
15361
15362 * gdb.base/break-idempotent.exp: If
15363 skip_hw_watchpoint_multi_tests returns true, skip the tests
15364 on "rwatch" and "awatch".
15365
42d38f42
YQ
153662015-04-30 Yao Qi <yao.qi@linaro.org>
15367
15368 * gdb.base/relativedebug.exp: Invoke gdb command
15369 "info sharedlibrary", and if libc.so doesn't have debug info,
15370 skip the test.
15371
2ce1cdbf
DE
153722015-04-29 Doug Evans <dje@google.com>
15373
15374 * gdb.python/py-xmethods.exp: Add ptype tests.
15375 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15376 get_result_type method.
15377
f24a38c5
LM
153782015-04-29 Luis Machado <lgustavo@codesourcery.com>
15379
15380 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15381 the target does not support hardware watchpoints.
15382
ecbf2b3c
LM
153832015-04-29 Luis Machado <lgustavo@codesourcery.com>
15384
15385 * gdb.base/break-always.exp: Abort testing if writing to memory
15386 causes an error.
15387
34f5f757
DE
153882015-04-28 Doug Evans <dje@google.com>
15389
15390 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15391 * gdb.python/py-pp-registration.exp: ... here. New file.
15392 * gdb.python/py-pp-registration.c: New file.
15393 * gdb.python/py-pp-registration.py: New file.
15394
69b4374a
DE
153952015-04-28 Doug Evans <dje@google.com>
15396
15397 * gdb.python/py-bad-printers.c: New file.
15398 * gdb.python/py-bad-printers.py: New file.
15399 * gdb.python/py-bad-printers.exp: New file.
15400
59fb7612
SS
154012015-04-28 Sasha Smundak <asmundak@google.com>
15402
15403 * gdb.python/py-type.exp: New test.
15404
2631b16a
AW
154052015-04-28 Andy Wingo <wingo@igalia.com>
15406
15407 * gdb.python/py-parameter.exp:
15408 * gdb.guile/scm-parameter.exp: Escape the path that we are
15409 matching against, as it might contain characters that are special
15410 to regular expressions.
15411
460efde1
JB
154122015-04-27 Joel Brobecker <brobecker@adacore.com>
15413
15414 * gdb.ada/rec_comp: New testcase.
15415
2d369d8e
SDJ
154162015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15417
15418 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15419 before using it.
15420
cf75d6c3
AB
154212015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15422
15423 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15424 new tests for verilog output.
15425
8dbe7ca5
YQ
154262015-04-24 Yao Qi <yao.qi@linaro.org>
15427
15428 * boards/remote-gdbserver-on-localhost.exp: New file.
15429
4ef9fb2f
PA
154302015-04-23 Pedro Alves <palves@redhat.com>
15431
15432 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15433 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15434 "end of file", remove $inferior_spawn_id from the indirect list.
15435
0a803169
PA
154362015-04-23 Pedro Alves <palves@redhat.com>
15437
15438 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15439
749ef8f8
PA
154402015-04-23 Pedro Alves <palves@redhat.com>
15441
15442 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15443 on $any_spawn_id instead of only on $gdb_spawn_id.
15444
8aae4344
PM
154452015-04-21 Pierre Muller <muller@sourceware.org>
15446
15447 PR pascal/17815
15448 * lib/pascal.exp (gpc_compile): Add new option "class".
15449 (fpc_compile): Likewise.
15450 * gdb.pascal/case-insensitive-symbols.pas: New file.
15451 * gdb.pascal/case-insensitive-symbols.exp: New file.
15452
1586c8fb
GB
154532015-04-20 Gary Benson <gbenson@redhat.com>
15454
15455 * gdb.base/attach.exp: Fix three extended remote failures.
15456
1b6e6f5c
GB
154572015-04-17 Gary Benson <gbenson@redhat.com>
15458
15459 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15460 the main executable over the remote protocol.
15461
e797481d
PA
154622015-04-16 Pedro Alves <palves@redhat.com>
15463
15464 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15465 a new gdbserver if gdbserver_reconnect_p is set.
15466
1ca99c42
PA
154672015-04-16 Pedro Alves <palves@redhat.com>
15468
15469 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15470 is set, don't exit gdbserver.
15471
af9fd6f8
AA
154722015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15473
15474 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15475 appropriate .insn, such that an older assembler can be used.
15476 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15477 the z/Architecture instruction set on 31-bit targets as well.
15478
04ff1e61
AA
154792015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15480
15481 * gdb.go/handcall.exp: Remove all logic related to the first
15482 breakpoint and rely on go_runto_main instead.
15483 * gdb.go/strings.exp: Likewise.
15484 * gdb.go/unsafe.exp: Likewise.
15485 * gdb.go/hello.exp: Likewise. Also rename the remaining
15486 breakpoint marker to "breakpoint 1".
15487 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15488 * gdb.go/strings.go: Likewise.
15489 * gdb.go/unsafe.go: Likewise.
15490 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15491 "set breakpoint 2 here" and rename the remaining breakpoint marker
15492 to "breakpoint 1".
15493
40d2f8d6
SM
154942015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15495
15496 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15497 if itertools.imap is not present.
15498 * gdb.python/py-objfile.exp: Add parentheses.
15499 * gdb.python/py-type.exp: Same.
15500 * gdb.python/py-unwind-maint.py: Same.
15501
8cbc97c6
YQ
155022015-04-15 Yao Qi <yao.qi@linaro.org>
15503
15504 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15505 of ":$ptr_size" and set its form explicitly.
15506
45fd756c
YQ
155072015-04-15 Pedro Alves <palves@redhat.com>
15508 Yao Qi <yao.qi@linaro.org>
15509
15510 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15511 timeout by factor of 4.
15512 (test_regular_watch): Likewise.
15513 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15514 * gdb.reverse/sigall-reverse.exp: Likewise.
15515 * gdb.reverse/until-precsave.exp: Likewise.
15516 * lib/gdb.exp (with_timeout_factor): New proc.
15517 (gdb_expect): Move some code to ...
15518 (get_largest_timeout): ... here. New procedure.
15519
9e811bc3
LM
155202015-04-14 Luis Machado <lgustavo@codesourcery.com>
15521
15522 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15523
0ff6fcb2
LM
155242015-04-13 Luis Machado <lgustavo@codesourcery.com>
15525
15526 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15527 to write to the .text section.
15528
7578d5f7
LM
155292015-04-13 Luis Machado <lgustavo@codesourcery.com>
15530
15531 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15532 Handle the case of targets that do not provide PID information.
15533
2efe15c4
YQ
155342015-04-13 Yao Qi <yao.qi@linaro.org>
15535
15536 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15537 and use expect instead of gdb_expect.
15538
8cd8f2f8
SDJ
155392015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15540
15541 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15542 "coredump_var_addr" to avoid naming conflict with other testcases.
15543
9ee41772
PA
155442015-04-10 Pedro Alves <palves@redhat.com>
15545
15546 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15547 gdb_test_sequence and gdb_assert.
15548
07473109
PA
155492015-04-10 Pedro Alves <palves@redhat.com>
15550
15551 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15552 test messages that don't include the breakpoint address.
15553
de3db44c
YQ
155542015-04-10 Yao Qi <yao.qi@linaro.org>
15555
15556 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15557 false for some offset and width combinations which aren't
15558 supported by linux kernel.
15559
c79d856c
PA
155602015-04-10 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15563 procedure, factored out from ...
15564 (top level): ... here. Add "set displaced-stepping" testing axis.
15565 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15566 parameter "displaced". Use it.
15567 (top level): Use foreach and add "set displaced-stepping" testing
15568 axis.
15569
ebc90b50
PA
155702015-04-10 Pedro Alves <palves@redhat.com>
15571
15572 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15573 Remove comment.
15574 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15575 both the address of the instruction that triggers the watchpoint
15576 and the address of the instruction immediately after, and use
15577 those addresses for the test. Fix comment.
15578
8f572e5c
PA
155792015-04-10 Pedro Alves <palves@redhat.com>
15580
15581 * gdb.base/sigstep.exp (breakpoint_to_handler)
15582 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15583 Test "backtrace" in handler.
15584 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15585 (top level): Add new "displaced" test axis to
15586 breakpoint_to_handler, breakpoint_to_handler_entry and
15587 breakpoint_over_handler.
15588
8d707a12
PA
155892015-04-10 Pedro Alves <palves@redhat.com>
15590
15591 PR gdb/18216
15592 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15593
ef713951
YQ
155942015-04-10 Yao Qi <yao.qi@linaro.org>
15595
15596 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15597 (test_add_rn_pc): New function.
15598 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15599 (top level): Invoke test_add_rn_pc.
15600
906d60cf
PA
156012015-04-10 Pedro Alves <palves@redhat.com>
15602
15603 PR gdb/13858
15604 * gdb.base/step-over-no-symbols.exp: New file.
15605
f2983cc3
AW
156062015-04-09 Andy Wingo <wingo@igalia.com>
15607
15608 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15609 after the Python tests.
15610
6d62641c
SDJ
156112015-04-08 Keith Seitz <keiths@redhat.com>
15612
15613 PR python/16699
15614 * gdb.python/py-completion.exp: New tests for completion.
15615 * gdb.python/py-completion.py (CompleteLimit1): New class.
15616 (CompleteLimit2): Likewise.
15617 (CompleteLimit3): Likewise.
15618 (CompleteLimit4): Likewise.
15619 (CompleteLimit5): Likewise.
15620 (CompleteLimit6): Likewise.
15621 (CompleteLimit7): Likewise.
15622
f3770638
PA
156232015-04-08 Pedro Alves <palves@redhat.com>
15624
15625 PR gdb/18214
15626 PR gdb/18216
15627 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15628 function.
15629 (main): Install it as SIGUSR1 handler.
15630 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15631 parameter. Always use "setup" as prefix. Toggle "set
15632 displaced-stepping" off/on depending on global. Don't switch to
15633 thread 1 here.
15634 (top level): Add displaced stepping "off/on" test axis. Update
15635 "setup" calls. Wrap each subtest with with_test_prefix. Test
15636 continuing with a queued signal in each thread.
15637
4496bed7
PA
156382015-04-08 Pedro Alves <palves@redhat.com>
15639
15640 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15641 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15642 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15643 Return early if running to main fails.
15644 * gdb.trace/while-stepping.exp: Likewise.
15645
b97fde92
PA
156462015-04-07 Pedro Alves <palves@redhat.com>
15647
15648 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15649 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15650 interact with inferior program.
15651
f71c18e7
PA
156522015-04-07 Pedro Alves <palves@redhat.com>
15653
15654 * lib/gdb.exp (inferior_spawn_id): New global.
15655 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15656 spawn id after processing the user code.
15657 (default_gdb_start): Set inferior_spawn_id.
15658 (send_inferior): New procedure.
15659 * lib/gdbserver-support.exp (gdbserver_start): Set
15660 inferior_spawn_id.
15661 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15662
6423214f
PA
156632015-04-07 Pedro Alves <palves@redhat.com>
15664
15665 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15666 * lib/gdbserver-support.exp (gdbserver_start): Make
15667 $server_spawn_id global.
15668 (gdbserver_start): Don't wait for gdbserver's spawn id with
15669 expect_background.
15670 (close_gdbserver): New procedure.
15671 (gdb_exit): Rename the default version and reimplement.
15672
71c0ee8c
PA
156732015-04-07 Pedro Alves <palves@redhat.com>
15674
72f4393d 15675 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15676 append the substituted item, not the original item.
15677
203bc29b
PA
156782015-04-07 Pedro Alves <palves@redhat.com>
15679
15680 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15681 gdb_expect.
15682
508a3ddf
PA
156832015-04-07 Pedro Alves <palves@redhat.com>
15684
15685 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15686 output appearing once only.
15687
9f6dbe2b
PA
156882015-04-07 Pedro Alves <palves@redhat.com>
15689
15690 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15691 that doesn't expect anything. Return early if running to main
15692 fails.
15693
337532fa
YQ
156942015-04-07 Yao Qi <yao.qi@linaro.org>
15695
15696 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15697 (child_function): Call alarm.
15698 (main): Move call to alarm into the loop.
15699 * gdb.threads/non-stop-fair-events.exp: Build program with
15700 -DTIMEOUT=$timeout.
15701
01b622d4
DE
157022015-04-06 Doug Evans <xdje42@gmail.com>
15703
15704 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15705 Fix dest parameter to board_info.
15706 (fpc_compile): Ditto.
15707 (gdb_compile_pascal): Rename dest arg to destfile.
15708
961f4160
PMR
157092015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15710
15711 * gdb.ada/funcall_ref.exp: New file.
15712 * gdb.ada/funcall_ref/foo.adb: New file.
15713
cafda597
YQ
157142015-04-02 Yao Qi <yao.qi@linaro.org>
15715
15716 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15717 is remote.
15718
fed040c6
GB
157192015-04-02 Gary Benson <gbenson@redhat.com>
15720
15721 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15722
d11916aa
SS
157232015-04-01 Sasha Smundak <asmundak@google.com>
15724
15725 * gdb.python/py-unwind-maint.c: New file.
15726 * gdb.python/py-unwind-maint.exp: New test.
15727 * gdb.python/py-unwind-maint.py: New file.
15728 * gdb.python/py-unwind.c: New file.
15729 * gdb.python/py-unwind.exp: New test.
15730 * gdb.python/py-unwind.py: New test.
15731
a1471180
PA
157322015-04-01 Pedro Alves <palves@redhat.com>
15733
15734 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15735 to fail instead of non-existent $test.
15736
0bbeccb1
PA
157372015-04-01 Pedro Alves <palves@redhat.com>
15738
15739 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15740 GDBFLAGS if not empty.
15741
3c724c8c
PMR
157422015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15743
15744 * gdb.ada/complete.exp: Remove "multi_line".
15745 * gdb.ada/info_exc.exp: Remove "multi_line".
15746 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15747 * gdb.ada/ptype_field.exp: Remove "multi_line".
15748 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15749 * gdb.ada/tagged.exp: Remove "multi_line".
15750 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15751 [multi_line ...]
15752 * gdb.btrace/delta.exp: Likewise.
15753 * gdb.btrace/exception.exp: Likewise.
15754 * gdb.btrace/function_call_history.exp: Likewise.
15755 * gdb.btrace/instruction_history.exp: Likewise.
15756 * gdb.btrace/nohist.exp: Likewise.
15757 * gdb.btrace/record_goto.exp: Likewise.
15758 * gdb.btrace/segv.exp: Likewise.
15759 * gdb.btrace/stepi.exp: Likewise.
15760 * gdb.btrace/tailcall.exp: Likewise.
15761 * gdb.btrace/unknown_functions.exp: Likewise.
15762 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15763 * lib/gdb.exp: Add the "multi_line" helper.
15764
4eec2deb
PA
157652015-04-01 Pedro Alves <palves@redhat.com>
15766
15767 * gdb.threads/tid-reuse.c: New file.
15768 * gdb.threads/tid-reuse.exp: New file.
15769
df8411da
SDJ
157702015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15771
15772 PR corefiles/16092
15773 * gdb.base/coredump-filter.c: New file.
15774 * gdb.base/coredump-filter.exp: Likewise.
15775
6ef37366
PM
157762015-03-27 Petr Machata <pmachata@redhat.com>
15777
15778 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15779 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15780 (Dwarf::assemble): Initialize them.
15781 (Dwarf::lines): New function.
15782
7ec911b0
JT
157832015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15784
15785 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15786 SYMBOL_PREFIX for x86_64-*-cygwin.
15787
ff908ebf
AW
157882015-03-26 Andy Wingo <wingo@igalia.com>
15789
15790 PR symtab/18148
15791 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15792 const_value but not a location.
15793 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15794 location defined in non-main CUs are visible.
15795
6d5f0679
YQ
157962015-03-26 Yao Qi <yao.qi@linaro.org>
15797
15798 PR testsuite/18139
15799 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15800 Add a line number entry for the same line.
15801 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15802 Add a line number entry for the same line.
15803
2898689b
YQ
158042015-03-26 Yao Qi <yao.qi@linaro.org>
15805
15806 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15807 .int 0.
15808 (func): Likewise. Add .Lfunc_1 label.
15809 Use .Lfunc_1 label.
15810 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15811 .int 0.
15812 (func): Likewise.
15813 Use .Lfunc_1 label.
15814
85180498
YQ
158152015-03-26 Yao Qi <yao.qi@linaro.org>
15816
15817 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15818 Call gdb_compile instead to compile each .s files without debug
15819 information.
15820
8aa08a8d
YQ
158212015-03-26 Yao Qi <yao.qi@linaro.org>
15822
15823 * gdb.base/savedregs.exp (process_saved_regs): Make
15824 "Saved registers:" optional in the pattern.
15825
66849923
MM
158262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15827
15828 * gdb.btrace/next.exp: Merged into step.exp.
15829 * gdb.btrace/finish.exp: Merged into step.exp.
15830 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15831 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15832 "record goto" and checking the exact replay position.
15833 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15834 check for "Recording format" in "info record" output.
15835 * gdb.btrace/record_goto.exp: Choose test file based on target.
15836 * gdb.btrace/x86-record_goto.S: Renamed into ...
15837 * gdb.btrace/x86_64-record_goto.S: ... this.
15838 * gdb.btrace/i686-record_goto.S: New.
15839 * gdb.btrace/x86-tailcall.S: Renamed into ...
15840 * gdb.btrace/x86_64-tailcall.S: ... this.
15841 * gdb.btrace/i686-tailcall.S: New.
15842 * gdb.btrace/x86-tailcall.c: Renamed into ...
15843 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15844 separate statements. Update test.
15845 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15846 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15847 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15848 * gdb.btrace/tailcall.exp: Choose test file based on target.
15849 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15850
11cc1b74
MM
158512015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15852
15853 * gdb.btrace/exception.exp: Increase BTS buffer size.
15854
a25d8bf9
PA
158552015-03-24 Pedro Alves <palves@redhat.com>
15856
15857 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15858
856e7dd6
PA
158592015-03-24 Pedro Alves <palves@redhat.com>
15860
15861 * gdb.threads/schedlock.exp (test_step): No longer expect that
15862 "set scheduler-locking step" with "next" over a function call runs
15863 threads unlocked.
15864
ad235a41
AT
158652015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15866
15867 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15868
15630549
AT
158692015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15870
15871 PR breakpoints/16466
15872 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15873 * gdb.mi/mi-pending.c (thread_func): New function.
15874 (int main): Add threading support required.
15875 * gdb.mi/mi-pending.exp: Add tests for this issue.
15876 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15877 (pendfunc2): Remove stdio dependency.
15878 * gdb.mi/mi-pendshr2.c: New file.
15879
693dca06
KS
158802015-03-23 Keith Seitz <keiths@redhat.com>
15881
15882 * gdb.linespec/keywords.c: New file.
15883 * gdb.linespec/keywords.exp: New file.
15884
7e993ebf
KS
158852015-03-23 Keith Seitz <keiths@redhat.com>
15886
15887 PR gdb/18021
15888 * gdb.dwarf2/staticvirtual.exp: New test.
15889
bc23328c
JK
158902015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15891
15892 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15893 * README: Remove HP-UX and gdb.hp.
15894 (configuration):
15895 * configure: Regenerate.
15896 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15897 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15898 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15899 gdb.hp/gdb.defects/Makefile.
15900 * gdb.hp/Makefile.in: File deleted.
15901 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15902 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15903 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15904 * gdb.hp/gdb.aCC/run.c: File deleted.
15905 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15906 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15907 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15908 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15909 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15910 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15911 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15912 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15913 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15914 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15915 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15916 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15917 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15918 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15919 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15920 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15921 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15922 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15923 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15924 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15925 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15926 * gdb.hp/gdb.compat/average.c: File deleted.
15927 * gdb.hp/gdb.compat/sum.c: File deleted.
15928 * gdb.hp/gdb.compat/xdb.c: File deleted.
15929 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15930 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15931 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15932 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15933 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15934 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15935 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15936 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15937 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15938 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15939 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15940 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15941 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15942 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15943 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15944 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15945 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15946 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15947 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15948 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15949 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15950 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15951 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15952 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15953 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15954 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15955 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15956 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15957 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15958 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15959 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15960 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15961 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15962 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15963 * gdb.hp/tools/odump: File deleted.
15964
8bf3b159
PA
159652015-03-19 Pedro Alves <palves@redhat.com>
15966
15967 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15968 (saw_thread_3): New globals.
15969 (top level): Increment them when an event for the corresponding
15970 thread is seen.
15971 (no thread starvation): New test.
15972
eb54c8bf
PA
159732015-03-19 Pedro Alves <palves@redhat.com>
15974
15975 * gdb.threads/continue-pending-status.c: New file.
15976 * gdb.threads/continue-pending-status.exp: New file.
15977
32d2e5d6
PA
159782015-03-18 Pedro Alves <palves@redhat.com>
15979
15980 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15981 Use gdb_is_target_remote instead of is_remote. Use
15982 gdb_test_multiple instead of gdb_expect. Exit early if
15983 gdb_test_multiple hits its internal matches. Tighten stepi tests
15984 expected output. Fail on exit with any signal, instead of just
15985 SIGILL.
15986
f68f11b7
YQ
159872015-03-18 Yao Qi <yao.qi@linaro.org>
15988
15989 PR tdep/18107
15990 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15991 variable.
15992 * gdb.base/catch-syscall.exp: Don't skip it on
15993 aarch64*-*-linux* target. Remove elements in all_syscalls.
15994 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15995 target.
15996 (setup_all_syscalls): New proc.
15997
ca5fd19b
YQ
159982015-03-16 Yao Qi <yao.qi@linaro.org>
15999
16000 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16001 (top level): Skip tests if valid_addr_p returns false for
16002 $cmd1 or $cmd2.
16003
85642ba0
AW
160042015-03-11 Andy Wingo <wingo@igalia.com>
16005
16006 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16007
e03f9645
YQ
160082015-03-11 Yao Qi <yao.qi@linaro.org>
16009
16010 * gdb.base/catch-syscall.exp: Fix typo in comments.
16011
5d0962b2
YQ
160122015-03-11 Yao Qi <yao.qi@linaro.org>
16013
16014 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16015
b2df3cef
PA
160162015-03-09 Pedro Alves <palves@redhat.com>
16017
16018 * dg-extract-results.py: Delete.
16019
ef878e53
PA
160202015-03-09 Pedro Alves <palves@redhat.com>
16021
16022 Merge dg-extract-results.sh from GCC upstream (r218843).
16023
16024 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16025 * dg-extract-results.sh: Use --text with grep to avoid issues with
16026 binary files. Fall back to cat -v, if that doesn't work.
16027
9494d219
PA
160282015-03-05 Pedro Alves <palves@redhat.com>
16029
16030 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16031
a8d9763a
SM
160322015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16033
16034 * lib/mi-support.exp (mi_expect_interrupt): Accept
16035 alternative event for when in all-stop mode.
16036
be9957b8
PA
160372015-03-04 Pedro Alves <palves@redhat.com>
16038
16039 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16040
d57be0f4 160412015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16042
16043 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16044
c214c7cf
AA
160452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16046
16047 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16048 regexps for GDB's current line display, accept a hex address
16049 preceding the line number.
16050
6d74a497
AA
160512015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16052
16053 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16054 the 'arch1' variable for "s390*-linux*" targets.
16055
511aee7c
PA
160562015-03-04 Pedro Alves <palves@redhat.com>
16057
16058 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16059 (main): Pass missing retval argument to pthread_join call.
16060
95e50b27
PA
160612015-03-02 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16064 (top level): Call do_test with non-stop as well.
16065
28054d69
PA
160662015-03-02 Pedro Alves <palves@redhat.com>
16067
16068 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16069 -1.
16070
4fa5d7b4
AA
160712015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16072
16073 * gdb.arch/s390-vregs.exp: New test.
16074 * gdb.arch/s390-vregs.S: New file.
16075
97c18565
PA
160762015-02-27 Pedro Alves <palves@redhat.com>
16077
16078 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16079 call to catch_command_errors.
16080 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16081 catch_command_errors.
16082
a37bfa30
PA
160832015-02-27 Pedro Alves <palves@redhat.com>
16084
16085 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16086 "true" for boolean result.
16087 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16088 prototype of main.
16089
6f98576f
PA
160902015-02-27 Pedro Alves <palves@redhat.com>
16091
16092 * lib/unbuffer_output.c: New file.
16093 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16094 (main): Call gdb_unbuffer_output.
16095
eba5ab56
YQ
160962015-02-27 Yao Qi <yao.qi@linaro.org>
16097
16098 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16099 target.
16100
0def5aaa
DE
161012015-02-26 Doug Evans <dje@google.com>
16102
16103 * gdb.cp/class2.cc (Dbase, D): New classes.
16104 (main): New local delta.
16105 * gdb.cp/class2.exp: Test printing delta.
16106 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16107 (dynbar): New global.
16108 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16109
081a1c2c
JK
161102015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16111
16112 * gdb.compile/compile-ifunc.c: New file.
16113 * gdb.compile/compile-ifunc.exp: New file.
16114
2f41223f
AT
161152015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16116
16117 * gdb.base/structs.exp: Check for correct struct on finish.
16118
03eddd80
YQ
161192015-02-26 Yao Qi <yao.qi@linaro.org>
16120
16121 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16122 is zero.
16123
80c57053
JK
161242015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16125
16126 * gdb.arch/cordic.ko.bz2: New file.
16127 * gdb.arch/cordic.ko.debug.bz2: New file.
16128 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16129
21613c12
YQ
161302015-02-25 Yao Qi <yao.qi@linaro.org>
16131
16132 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16133 aarch64*-*-* target.
16134
d8b901ed
PA
161352015-02-23 Pedro Alves <palves@redhat.com>
16136
16137 * lib/gdb.exp (delete_breakpoints): Rewrite using
16138 gdb_test_multiple.
16139
e5b85ead
PA
161402015-02-23 Pedro Alves <palves@redhat.com>
16141
16142 * gdb.base/info-os.c: Include stdlib.h.
16143
85c3a371
DE
161442015-02-22 Doug Evans <xdje42@gmail.com>
16145
16146 PR symtab/17855
16147 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16148 is read after symbols have been re-read.
16149 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16150 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16151
96553a0c
DE
161522015-02-21 Doug Evans <dje@google.com>
16153
16154 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16155
97a0c697
JK
161562015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16157
16158 PR corefiles/17808
16159 * gdb.arch/i386-biarch-core.core.bz2: New file.
16160 * gdb.arch/i386-biarch-core.exp: New file.
16161
a47cd6e9
PA
161622015-02-21 Pedro Alves <palves@redhat.com>
16163
16164 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16165 runto_main fails.
16166
c5facdc4
PA
161672015-02-20 Pedro Alves <palves@redhat.com>
16168
16169 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16170 info probes.
16171
2db9a427
PA
161722015-02-20 Pedro Alves <palves@redhat.com>
16173
16174 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16175
60fb7e9e
PA
161762015-02-20 Pedro Alves <palves@redhat.com>
16177
16178 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16179 clean_restart before gdb_target_supports_trace.
16180
5c5019c2
PA
161812015-02-20 Pedro Alves <palves@redhat.com>
16182
16183 PR threads/18006
16184 * gdb.threads/clone-thread_db.c: New file.
16185 * gdb.threads/clone-thread_db.exp: New file.
16186
c9587f88
AT
161872015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16188
16189 PR breakpoints/16812
16190 * gdb.base/catch-gdb-caused-signals.c: New file.
16191 * gdb.base/catch-gdb-caused-signals.exp: New file.
16192
f6a88844
JM
161932015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16194
16195 * configure: Regenerated.
16196 * configure.ac: Use GDB_AC_TRANSFORM.
16197 * aclocal.m4: sinclude ../transform.m4.
16198
497c491b
JM
161992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16200
16201 * lib/dtrace.exp: New file.
16202 * gdb.base/dtrace-probe.exp: Likewise.
16203 * gdb.base/dtrace-probe.d: Likewise.
16204 * gdb.base/dtrace-probe.c: Likewise.
16205 * lib/pdtrace.in: Likewise.
16206 * configure.ac: Output variables with the transformed names of
16207 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16208 * configure: Regenerated.
16209
03e98035
JM
162102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16211
16212 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16213 expected message when trying to access $_probe_* convenience
16214 variables while not on a probe.
16215
63cc30e9
JK
162162015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16217
16218 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16219
0703599a
PA
162202015-02-11 Pedro Alves <pedro@codesourcery.com>
16221
16222 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16223 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16224
7e60a48e
DE
162252015-02-10 Doug Evans <xdje42@gmail.com>
16226
16227 * lib/gdb.exp (gdb_load): Always return a result.
16228
01b088bc
PA
162292015-02-10 Pedro Alves <palves@redhat.com>
16230
16231 * gdb.threads/signal-sigtrap.c: New file.
16232 * gdb.threads/signal-sigtrap.exp: New file.
16233
b05ec7a5
AT
162342015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16235
16236 * gdb.trace/no-attach-trace.c: New file.
16237 * gdb.trace/no-attach-trace.exp: New file.
16238
a2c2acaf
MW
162392015-02-09 Mark Wielaard <mjw@redhat.com>
16240
16241 * gdb.dwarf2/atomic.c: New file.
16242 * gdb.dwarf2/atomic-type.exp: Likewise.
16243
31fd9caa
MM
162442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16245
16246 * gdb.btrace/buffer-size.exp: Update "info record" output.
16247 * gdb.btrace/delta.exp: Update "info record" output.
16248 * gdb.btrace/enable.exp: Update "info record" output.
16249 * gdb.btrace/finish.exp: Update "info record" output.
16250 * gdb.btrace/instruction_history.exp: Update "info record" output.
16251 * gdb.btrace/next.exp: Update "info record" output.
16252 * gdb.btrace/nexti.exp: Update "info record" output.
16253 * gdb.btrace/step.exp: Update "info record" output.
16254 * gdb.btrace/stepi.exp: Update "info record" output.
16255 * gdb.btrace/nohist.exp: Update "info record" output.
16256
d33501a5
MM
162572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16258
16259 * gdb.btrace/buffer-size: New.
16260
f4abbc16
MM
162612015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16262
16263 * gdb.btrace/delta.exp: Update "info record" output.
16264 * gdb.btrace/enable.exp: Update "info record" output.
16265 * gdb.btrace/finish.exp: Update "info record" output.
16266 * gdb.btrace/instruction_history.exp: Update "info record" output.
16267 * gdb.btrace/next.exp: Update "info record" output.
16268 * gdb.btrace/nexti.exp: Update "info record" output.
16269 * gdb.btrace/step.exp: Update "info record" output.
16270 * gdb.btrace/stepi.exp: Update "info record" output.
16271 * gdb.btrace/nohist.exp: Update "info record" output.
16272
b9d61307
SM
162732015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16274
16275 PR gdb/15678
16276 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16277
e584fdbc
PA
162782015-02-06 Pedro Alves <palves@redhat.com>
16279
16280 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16281 macro.
16282 (seconds_left, again): New globals.
16283 (main): Wait seconds_left in a 1-second sleep loop instead of
16284 sleeping 180 seconds. If 'again' is set, reset the seconds
16285 counter.
16286 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16287 'again' in the inferior before detaching. Print the seconds left.
16288 (options): New global.
16289 (top level): Build program with -DTIMEOUT=$timeout.
16290
77f41761
PA
162912015-02-06 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16294 determine how many seconds to pass to 'alarm'.
16295 * gdb.base/gdb-sigterm.exp (top level): Build program with
16296 -DTIMEOUT=$timeout.
16297 (do_test): Return success/failure indication. Add more verbose
16298 logging. Don't fail if 200 single steps are seen. Instead, fail
16299 when the test times out.
16300 (passes): New global.
16301 (top level): Break the testing loop if testing fails on any
16302 iteration. Use gdb_assert.
16303
b9394193
DB
163042015-02-04 Don Breazeal <donb@codesourcery.com>
16305
16306 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16307 and initialize them.
16308 (ipc_cleanup): New function.
16309 (main): Don't declare shmid, semid, and msqid. Add a call to
16310 atexit so that we call ipc_cleanup on exit.
16311
42d9e528
PA
163122015-02-04 Pedro Alves <palves@redhat.com>
16313
16314 * boards/native-extended-gdbserver.exp: Remove any target variant
16315 specifications from the board name before clearing the isremote
16316 flag from board_info.
16317
ae6ae975
DE
163182015-01-31 Doug Evans <xdje42@gmail.com>
16319
16320 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16321
cfb069a8
GB
163222015-01-31 Gary Benson <gbenson@redhat.com>
16323
16324 * gdb.base/completion.exp: Disable completion limiting for
16325 existing tests. Add new tests to check completion limiting.
16326 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16327
5dd31d79
DE
163282015-01-31 Doug Evans <xdje42@gmail.com>
16329
16330 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16331
9f050062
DE
163322015-01-31 Doug Evans <xdje42@gmail.com>
16333
16334 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16335 entries. Duplicate file section script entries.
16336 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16337 inlined entries. Add test for safe-path rejection.
16338 * gdb.python/py-section-script.c: Add duplicate inlined section script
16339 entries. Duplicate file section script entries.
16340 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16341 inlined entries. Add test for safe-path rejection.
16342
df25ebbd
JB
163432015-01-29 Joel Brobecker <brobecker@adacore.com>
16344
16345 * gdb.ada/disc_arr_bound: New testcase.
16346
4a0ca9ec
JB
163472015-01-29 Joel Brobecker <brobecker@adacore.com>
16348
16349 * gdb.ada/mi_var_array: New testcase.
16350
3a8b707a
DE
163512015-01-27 Doug Evans <dje@google.com>
16352
16353 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16354 Add test for objfile.filename, objfile.username after objfile
16355 has been unloaded.
16356
f8313f6e
JB
163572015-01-26 Joel Brobecker <brobecker@adacore.com>
16358
16359 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16360 the second test to print the name attribute of value
16361 returned by the call to gdb.lookup_type, and adjust
16362 the expected output accordingly.
16363
37bc665e
MW
163642015-01-25 Mark Wielaard <mjw@redhat.com>
16365
16366 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16367 * gdb.base/disp-step-fork.c: Include unistd.h.
16368 * gdb.base/siginfo-obj.c: Include stdio.h.
16369 * gdb.base/siginfo-thread.c: Likewise.
16370 * gdb.mi/non-stop.c: Include unistd.h.
16371 * gdb.mi/nsthrexec.c: Include stdio.h.
16372 * gdb.mi/pthreads.c: Include unistd.h.
16373 * gdb.modula2/unbounded1.c (main): Declare returns int.
16374 * gdb.reverse/consecutive-reverse.c: Likewise.
16375 * gdb.threads/create-fail.c: Include unistd.h.
16376 * gdb.threads/killed.c: Likewise.
16377 * gdb.threads/linux-dp.c: Likewise.
16378 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16379 * gdb.threads/non-ldr-exc-2.c: Likewise.
16380 * gdb.threads/non-ldr-exc-3.c: Likewise.
16381 * gdb.threads/non-ldr-exc-4.c: Likewise.
16382 * gdb.threads/pthreads.c: Include unistd.h.
16383 (main): Declare returns int.
16384 * gdb.threads/tls-main.c (foo): New declaration.
16385 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16386
f7e5394d
SM
163872015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16388
16389 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16390 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16391
743649fd
MW
163922015-01-15 Mark Wielaard <mjw@redhat.com>
16393
16394 * gdb.base/noreturn-return.c: New file.
16395 * gdb.base/noreturn-return.exp: New file.
16396 * gdb.base/noreturn-finish.c: New file.
16397 * gdb.base/noreturn-finish.exp: New file.
16398
198297aa
PA
163992015-01-23 Pedro Alves <palves@redhat.com>
16400
16401 * gdb.threads/continue-pending-after-query.c: New file.
16402 * gdb.threads/continue-pending-after-query.exp: New file.
16403
717cf30c
AG
164042015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16405 Simon Marchi <simon.marchi@ericsson.com>
16406
16407 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16408 * gdb.base/valgrind-db-attach.exp: Same.
16409 * gdb.base/valgrind-infcall.exp: Same.
16410 * lib/mi-support.exp (default_mi_gdb_start): Same.
16411 * lib/prompt.exp (default_prompt_gdb_start): Same.
16412 * lib/gdb.exp (default_gdb_spawn): Same.
16413 (gdb_interact): New.
16414
16415
4b62a76e
JK
164162015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16417
16418 * gdb.compile/compile.exp (pointer to jit function): New test.
16419
b4cdae6f
WW
164202015-01-17 Wei-cheng Wang <cole945@gmail.com>
16421
16422 * lib/gdb.exp (supports_process_record): Return true for
16423 powerpc*-*-linux*.
16424 (supports_reverse): Likewise.
16425
d221e7ef
DB
164262015-01-15 Don Breazeal <donb@codesourcery.com>
16427
16428 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16429 instead of checking whether the target board is remote and
16430 use spawn_wait_for_attach instead of exec/sleep.
16431 * gdb.base/attach-twice.exp: Likewise.
16432
bafffb51
JB
164332015-01-15 Joel Brobecker <brobecker@adacore.com>
16434
16435 * gdb.ada/var_arr_attrs: New testcase.
16436
5589af0e
PA
164372015-01-14 Pedro Alves <palves@redhat.com>
16438 Joel Brobecker <brobecker@adacore.com>
16439
16440 PR gdb/17525
16441 * gdb.base/bp-cmds-execution-x-script.c: New file.
16442 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16443 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16444
6c400b59
PA
164452015-01-14 Pedro Alves <palves@redhat.com>
16446
16447 PR cli/17828
16448 * gdb.base/batch-preserve-term-settings.c: New file.
16449 * gdb.base/batch-preserve-term-settings.exp: New file.
16450
e02c96a7
DE
164512015-01-13 Doug Evans <dje@google.com>
16452
16453 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16454 binary.
16455
576fd14c
JB
164562015-01-13 Joel Brobecker <brobecker@adacore.com>
16457
16458 * Makefile.in (clean mostlyclean): Do not delete *.py.
16459
04dccad0
JB
164602015-01-13 Joel Brobecker <brobecker@adacore.com>
16461
16462 * gdb.python/py-lookup-type.exp: New file.
16463
3d230f71
PA
164642015-01-12 Pedro Alves <palves@redhat.com>
16465
16466 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16467 restore GDBFLAGS before returning.
16468
7e67715d
JK
164692015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16470
16471 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16472 is_amd64_regs_target and is_x86_like_target.
16473
f2e0d4b4
DE
164742015-01-11 Doug Evans <xdje42@gmail.com>
16475
16476 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16477 is given without an explicit form.
16478 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16479 attributes.
16480 * gdb.dwarf/corrupt.exp: Ditto.
16481 * gdb.dwarf2/enum-type.exp: Ditto.
16482 * gdb.trace/entry-values.exp: Ditto.
16483 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16484
439250fb
DE
164852015-01-11 Doug Evans <xdje42@gmail.com>
16486
16487 PR gdb/15830
16488 * gdb.base/maint.exp: Remove references to "maint demangle".
16489 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16490 Add tests for explicitly specifying language to demangle.
16491 * gdb.dlang/demangle.exp: Ditto.
16492
ede9f622
PA
164932015-01-09 Pedro Alves <palves@redhat.com>
16494
16495 * gdb.threads/non-stop-fair-events.c: New file.
16496 * gdb.threads/non-stop-fair-events.exp: New file.
16497
a7b796db
PA
164982015-01-09 Pedro Alves <palves@redhat.com>
16499
16500 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16501 the global scope. Set a breakpoint after all threads are started
16502 rather than stepping over two source lines. Expect the prompt.
16503 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16504 global.
16505 (NUM): Now 15.
16506 (main): Use threads_started_barrier to wait for all threads to
16507 start. Main thread no longer calls thread_function. Exit after
16508 180 seconds.
16509 (loop): New function.
16510 (thread_function): Wait on threads_started_barrier barrier. Call
16511 'loop' at each iteration.
16512 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16513 threads have started, instead of hardcoding number of "next"
16514 steps. Use an access watchpoint instead of a write watchpoint.
16515
9665ffdd
PA
165162015-01-09 Pedro Alves <palves@redhat.com>
16517
16518 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16519 (thread_func): Wait on barrier.
16520 (main): Wait for all threads to start before stopping GDB.
16521 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16522 global.
16523 (thread1_func, thread2_func): Wait on barrier.
16524 (main): Wait for all threads to start before stopping GDB.
16525 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16526 New global.
16527 (thread1_func, thread2_func): Wait on barrier.
16528 (main): Wait for all threads to start before stopping GDB.
16529
c945a99f
PA
165302015-01-09 Pedro Alves <palves@redhat.com>
16531
16532 * gdb.threads/attach-many-short-lived-threads.c: New file.
16533 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16534
c1a747c1
PA
165352014-01-09 Pedro Alves <palves@redhat.com>
16536
16537 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16538 instead of to thread 2.
16539 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16540 Add barrier around each pthread_create call instead of around all
16541 calls.
16542 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16543 Set a break on thread_function and have the child threads hit it
16544 one at at a time.
16545
60b3033e
PA
165462015-01-09 Pedro Alves <palves@redhat.com>
16547
16548 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16549 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16550 false.
16551 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16552 checking whether the target board is remote.
16553 * gdb.multi/multi-attach.exp: Likewise.
16554 * gdb.python/py-sync-interp.exp: Likewise.
16555 * gdb.server/ext-attach.exp: Likewise.
16556 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16557 tests that need to attach, instead of checking whether the target
16558 board is remote at the top of the file.
16559
acc018ac
YQ
165602015-01-08 Yao Qi <yao@codesourcery.com>
16561
16562 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16563
50a18af8
JK
165642015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16565
16566 Fix testcase compilation.
16567 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16568
8503d6e1
JB
165692015-01-06 Joel Brobecker <brobecker@adacore.com>
16570
16571 * gdb.python/py-type.exp: Add a couple test about empty
16572 array creation, and negative-length array creation.
16573
cc73dbcc
DE
165742015-01-02 Doug Evans <xdje42@gmail.com>
16575
16576 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16577
0300bbc7
DE
165782015-01-02 Doug Evans <dje@google.com>
16579
16580 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16581
9d85a0ec
YQ
165822014-12-29 Yao Qi <yao@codesourcery.com>
16583
16584 * gdb.trace/entry-values.exp: Update comments. Rename variable
16585 bar_call_foo to returned_from_foo.
16586
87186c6a
MMN
165872014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16588
16589 PR gdb/17394
16590 * gdb.linespec/break-asm-file.c: New file.
16591 * gdb.linespec/break-asm-file.exp: New file.
16592 * gdb.linespec/break-asm-file0.s: New file.
16593 * gdb.linespec/break-asm-file1.s: New file.
16594
1bab7383
YQ
165952014-12-18 Nigel Stephens <nigel@mips.com>
16596 Maciej W. Rozycki <macro@codesourcery.com>
16597
16598 * gdb.base/float.exp: Handle the new output from "info float" on
16599 MIPS targets.
16600
1bc1068a
JK
166012014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16602
16603 Fix MinGW compilation.
16604 * gdb.compile/compile-ops.exp: Update untested message if
16605 !skip_compile_feature_tests.
16606 * gdb.compile/compile-setjmp.exp: Likewise.
16607 * gdb.compile/compile-tls.exp: Likewise.
16608 * gdb.compile/compile.exp: Likewise.
16609 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16610 supported on this host".
16611
b6615d10
DE
166122014-12-16 Doug Evans <xdje42@gmail.com>
16613
16614 * boards/stabs.exp: New file.
16615
25dda427
AA
166162014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16617
16618 * gdb.base/completion.exp: Adjust to format changes of "maint
16619 print user-registers".
16620
bf330350
CU
166212014-12-16 Catalin Udma <catalin.udma@freescale.com>
16622
16623 PR server/17457
16624 * gdb.arch/aarch64-fp.c: New file.
16625 * gdb.arch/aarch64-fp.exp: New file.
16626
395cf596
SDJ
166272014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16628
16629 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16630 r210637, r210913, r211666, r215400, r215817).
16631
16632 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16633 * dg-extract-results.py: New file.
16634 * dg-extract-results.sh: Use it if the environment seems
16635 suitable.
16636
16637 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16638
16639 * dg-extract-results.py (parse_run): Handle warnings that
16640 are printed before a test harness is run.
16641
16642 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16643
16644 * dg-extract-results.py (Named): Remove __cmp__ method.
16645 (output_variation): Use a key to sort variation.harnesses.
16646
16647 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16648
16649 * dg-extract-results.py: For Python 3, force sys.stdout to
16650 handle surrogate escape sequences.
16651 (safe_open): New function.
16652 (output_segment, main): Use it.
16653
16654 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16655
16656 * dg-extract-results.py (Prog.result_re): Include options
16657 in test name.
16658
16659 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16660
16661 * dg-extract-results.py (output_variation): Always sort if
16662 do_sum.
16663
e882ef3c
SM
166642014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16665
16666 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16667 as long as we get pagination notifications.
16668
4992aa20
JM
166692014-12-15 Jason Merrill <jason@redhat.com>
16670
16671 * Makefile.in (check-gdb.%): Restore.
16672 * README: Mention it.
16673
c1b5a1a6
JB
166742014-12-13 Joel Brobecker <brobecker@adacore.com>
16675
16676 * gdb.ada/str_uninit: New testcase.
16677
5537b577
JK
166782014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16679
16680 PR symtab/17642
16681 * gdb.base/vla-stub-define.c: New file.
16682 * gdb.base/vla-stub.c: New file.
16683 * gdb.base/vla-stub.exp: New file.
16684
bb2ec1b3
TT
166852014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16686 Jan Kratochvil <jan.kratochvil@redhat.com>
16687 Tom Tromey <tromey@redhat.com>
16688
16689 * configure.ac: Add gdb.compile/.
16690 * configure: Regenerate.
16691 * gdb.compile/Makefile.in: New file.
16692 * gdb.compile/compile-ops.exp: New file.
16693 * gdb.compile/compile-ops.c: New file.
16694 * gdb.compile/compile-tls.c: New file.
16695 * gdb.compile/compile-tls.exp: New file.
16696 * gdb.compile/compile-constvar.S: New file.
16697 * gdb.compile/compile-constvar.c: New file.
16698 * gdb.compile/compile-mod.c: New file.
16699 * gdb.compile/compile-nodebug.c: New file.
16700 * gdb.compile/compile-setjmp-mod.c: New file.
16701 * gdb.compile/compile-setjmp.c: New file.
16702 * gdb.compile/compile-setjmp.exp: New file.
16703 * gdb.compile/compile-shlib.c: New file.
16704 * gdb.compile/compile.c: New file.
16705 * gdb.compile/compile.exp: New file.
16706 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16707
4ff709eb
TT
167082014-12-12 Tom Tromey <tromey@redhat.com>
16709
16710 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16711 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16712
6dddd6a5
DE
167132014-12-12 Doug Evans <dje@google.com>
16714
16715 * lib/gdb-python.exp (get_python_valueof): New function.
16716 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16717
71c24708
AA
167182014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16719
16720 * gdb.base/completion.exp: Add test for completion of "info
16721 registers ".
16722
3e29f34a
MR
167232014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16724
16725 * gdb.base/func-ptrs.c: New file.
16726 * gdb.base/func-ptrs.exp: New file.
16727
fc126975
SM
167282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16729
16730 PR breakpoints/17012
16731 * gdb.base/dprintf-detach.c: New file.
16732 * gdb.base/dprintf-detach.exp: New file.
16733
0a46d518
SM
167342014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16735
16736 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16737 * lib/gdb.exp (target_is_gdbserver): New procedure.
16738
a0be3e44
DE
167392014-12-08 Doug Evans <dje@google.com>
16740
16741 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16742
df1b803a
YQ
167432014-12-05 Yao Qi <yao@codesourcery.com>
16744
16745 * gdb.guile/scm-error.exp: Remove the third argument to
16746 gdb_remote_download.
16747 * gdb.guile/scm-frame-args.exp: Likewise.
16748 * gdb.guile/scm-section-script.exp: Likewise.
16749
ddb9f679
YQ
167502014-12-05 Yao Qi <yao@codesourcery.com>
16751
16752 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16753
86e4ed39
DE
167542014-12-04 Doug Evans <dje@google.com>
16755
16756 * gdb.python/py-objfile.exp: Add tests for
16757 objfile.add_separate_debug_file.
16758
7c50a931
DE
167592014-12-04 Doug Evans <dje@google.com>
16760
16761 * lib/gdb.exp (get_build_id): New function.
16762 (build_id_debug_filename_get): Rewrite to use it.
16763 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16764
621661e3
MR
167652014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16766
16767 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16768 `method(long)', not just 0x0.
16769 * gdb.cp/nsalias.exp: Align code labels to 4.
16770 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16771 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16772 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16773 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16774 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16775 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16776
29f0c3b7
DE
167772014-12-02 Doug Evans <dje@google.com>
16778
e1e061e7 16779 PR symtab/17602
29f0c3b7 16780 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16781 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16782 * gdb.cp/anon-ns.exp: Update.
16783
162078c8
NB
167842014-12-02 Nick Bull <nicholaspbull@gmail.com>
16785
16786 * gdb.python/py-events.py (inferior_call_handler): New.
16787 (register_changed_handler, memory_changed_handler): New.
16788 (test_events.invoke): Register new handlers.
16789 * gdb.python/py-events.exp: Add tests for inferior call,
16790 memory_changed and register_changed events.
16791
fdb09caf
AA
167922014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16793
16794 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16795 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16796 if the linker doesn't understand this.
16797
55cfb2c4
SM
167982014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16799
16800 * gdb.python/python.exp: Change expected reply to help().
16801
9e8cd6df
YQ
168022014-12-01 Yao Qi <yao@codesourcery.com>
16803
16804 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16805 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16806 * configure: Re-generated.
16807
6c659fc2
SC
168082014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16809
16810 * gdb.cp/chained-calls.cc: New file.
16811 * gdb.cp/chained-calls.exp: New file.
16812 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16813
d7fc3181
SM
168142014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16815
16816 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16817 * gdb.dwarf2/symtab-producer.exp: Same.
16818 * gdb.gdb/python-interrupts.exp: Same.
16819 * gdb.gdb/python-selftest.exp: Same.
16820 * gdb.python/py-linetable.exp: Same.
16821 * gdb.python/py-type.exp: Same.
16822 * gdb.python/py-value-cc.exp: Same.
16823 * gdb.python/py-value.exp: Same.
16824
10e79639
YQ
168252014-11-28 Yao Qi <yao@codesourcery.com>
16826
16827 * gdb.base/break-probes.exp: Match library name prefixed with
16828 sysroot.
16829
f28a0564
SM
168302014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16831
16832 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16833 test expected output. Add parentheses for the call to print.
16834 Remove L suffix from integers.
16835
3fe1ce1d
DE
168362014-11-26 Doug Evans <dje@google.com>
16837
16838 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16839
84429e27
YQ
168402014-11-22 Yao Qi <yao@codesourcery.com>
16841
16842 * gdb.trace/entry-values.c: Remove asms.
16843 (foo): Add foo_label.
16844 (bar): Add bar_label.
16845 * gdb.trace/entry-values.exp: Remove code computing foo's
16846 length and bar's length.
16847 (Dwarf::assemble): Invoke function_range for bar and use
16848 MACRO_AT_func for foo.
16849
26741859
YQ
168502014-11-22 Yao Qi <yao@codesourcery.com>
16851
16852 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16853 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16854 Use .Lgcc43_procstart instead of gcc43.
16855
45e44d27
JB
168562014-11-21 Joel Brobecker <brobecker@adacore.com>
16857
16858 * gdb.ada/n_arr_bound: New testcase.
16859
458c8db8
SDJ
168602014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16861
16862 PR breakpoints/10737
16863 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16864 test_catch_syscall_multi_arch.
16865 (test_catch_syscall_multi_arch): New function.
16866
43f3e411
DE
168672014-11-20 Doug Evans <xdje42@gmail.com>
16868
16869 * gdb.base/maint.exp: Update expected output.
16870
0d7b2549
AA
168712014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16872
16873 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16874 4-byte instruction on S390.
16875
8908fca5
JB
168762014-11-19 Joel Brobecker <brobecker@adacore.com>
16877
16878 * gdb.ada/arr_arr: New testcase.
16879
4a46959e
JB
168802014-11-19 Joel Brobecker <brobecker@adacore.com>
16881
16882 * gdb.ada/pkd_arr_elem: New Testcase.
16883
470e2f4e
LM
168842014-11-18 Luis Machado <lgustavo@codesourcery.com>
16885
16886 * gdb.reverse/break-precsave: Expect completion message for
16887 core file reads.
16888 * gdb.reverse/consecutive-precsave.exp: Likewise.
16889 * gdb.reverse/finish-precsave.exp: Likewise.
16890 * gdb.reverse/i386-precsave.exp: Likewise.
16891 * gdb.reverse/machinestate-precsave.exp: Likewise.
16892 * gdb.reverse/sigall-precsave.exp: Likewise.
16893 * gdb.reverse/solib-precsave.exp: Likewise.
16894 * gdb.reverse/step-precsave.exp: Likewise.
16895 * gdb.reverse/until-precsave.exp: Likewise.
16896 * gdb.reverse/watch-precsave.exp: Likewise.
16897
a267f3ad
AA
168982014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16899
16900 * gdb.base/bp-permanent.c: Include unistd.h.
16901 * gdb.python/py-framefilter-mi.c (main): Add return type.
16902 * gdb.python/py-framefilter.c (main): Likewise.
16903 * gdb.trace/actions-changed.c (main): Likewise.
16904
12084a9a
AA
169052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16906
16907 * gdb.mi/until.c: Add eye-catchers.
16908 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16909 line numbers.
16910
dc7e1a77
AA
169112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16912
16913 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16914 function header variants in break1.c.
16915 * gdb.base/ena-dis-br.exp: Likewise.
16916 * gdb.base/hbreak2.exp: Likewise.
16917 * gdb.reverse/until-precsave.exp: Drop references to removed
16918 non-prototype function header variants in ur1.c.
16919 * gdb.reverse/until-reverse.exp: Likewise.
16920
41c77605
PM
169212014-11-17 Petr Machata <pmachata@redhat.com>
16922
16923 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16924 ${_cu_offset_size} bytes abbrev offset.
16925
34248c3a
DE
169262014-11-15 Doug Evans <xdje42@gmail.com>
16927
16928 PR symtab/17559
16929 * gdb.base/line-symtabs.exp: New file.
16930 * gdb.base/line-symtabs.c: New file.
16931 * gdb.base/line-symtabs.h: New file.
16932
646da059
YQ
169332014-11-14 Yao Qi <yao@codesourcery.com>
16934
16935 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16936 (func): Add label func_label.
16937 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16938 Replace low_pc and high_pc with MACRO_AT_range.
16939 Replace name, low_pc and high_pc with MACRO_AT_func.
16940
9301ebe6
YQ
169412014-11-14 Yao Qi <yao@codesourcery.com>
16942
16943 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16944 Replace name, low_pc and high_pc with MACRO_AT_func.
16945
f166b542
YQ
169462014-11-14 Yao Qi <yao@codesourcery.com>
16947
16948 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16949 produce debug information.
16950 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16951
0f6e71e3
YQ
169522014-11-14 Yao Qi <yao@codesourcery.com>
16953
16954 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16955 object and get function length.
16956 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16957 with MACRO_AT_func.
16958 (top-level): Replace gdb_compile and clean_restart with
16959 prepare_for_testing.
16960 * gdb.dwarf2/main.c (main): Add label main_label.
16961
876c4df9
YQ
169622014-11-14 Yao Qi <yao@codesourcery.com>
16963
16964 * lib/dwarf.exp (function_range): New procedure.
16965 (Dwarf::_handle_macro_at_func): New procedure.
16966 (Dwarf::_handle_macro_at_range): New procedure.
16967 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16968
02ad9cf1
YQ
169692014-11-14 Yao Qi <yao@codesourcery.com>
16970
16971 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16972 (_handle_attribute): New procedure.
16973
a59add0c
AA
169742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16975
16976 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16977 * gdb.base/call-sc.c (zed): Likewise.
16978 * gdb.base/checkpoint.c (main): Likewise.
16979 * gdb.base/dump.c (main): Likewise.
16980 * gdb.base/gcore.c (main): Likewise.
16981 * gdb.base/huge.c (main): Likewise.
16982 * gdb.base/multi-forks.c (main): Likewise.
16983 * gdb.base/pr10179-a.c (main): Likewise.
16984 * gdb.base/savedregs.c (main): Likewise.
16985 * gdb.base/sigaltstack.c (main): Likewise.
16986 * gdb.base/siginfo.c (main): Likewise.
16987 * gdb.base/structs.c (zed): Likewise.
16988 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16989 * gdb.mi/mi-syn-frame.c (main): Likewise.
16990 * gdb.mi/until.c (foo, main): Likewise.
16991 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16992 * gdb.base/solib-weak.c (foo): Declare.
16993 * gdb.base/attach-twice.c: Include stdio.h.
16994 * gdb.base/weaklib1.c: Likewise.
16995 * gdb.base/weaklib2.c: Likewise.
16996 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16997 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16998 unistd.h.
16999 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17000 * gdb.mi/mi-exit-code.c: Likewise.
17001 * gdb.base/break-interp-lib.c: Include string.h.
17002 * gdb.base/coremaker.c: Likewise.
17003 * gdb.base/testenv.c: Likewise.
17004 * gdb.python/py-finish-breakpoint.c: Likewise.
17005 * gdb.base/inferior-died.c: Include sys/wait.h.
17006 * gdb.base/fileio.c: Include time.h.
17007 * gdb.base/async-shell.c: Include unistd.h.
17008 * gdb.base/dprintf-non-stop.c: Likewise.
17009 * gdb.base/info-os.c: Likewise.
17010 * gdb.mi/mi-console.c: Likewise.
17011 * gdb.mi/watch-nonstop.c: Likewise.
17012 * gdb.python/py-events.c: Likewise.
17013 * gdb.base/async.c (baz): Move up before its invocation.
17014 * gdb.base/code_elim2.c (my_global_func): Likewise.
17015 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17016 * gdb.base/advance.c (func2): Likewise.
17017
3b5d5997
AA
170182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17019
17020 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17021 variant.
17022 * gdb.base/annota3.c: Likewise.
17023 * gdb.base/async.c: Likewise.
17024 * gdb.base/average.c: Likewise.
17025 * gdb.base/call-ar-st.c: Likewise.
17026 * gdb.base/call-rt-st.c: Likewise.
17027 * gdb.base/call-sc.c: Likewise.
17028 * gdb.base/call-strs.c: Likewise.
17029 * gdb.base/ending-run.c: Likewise.
17030 * gdb.base/execd-prog.c: Likewise.
17031 * gdb.base/exprs.c: Likewise.
17032 * gdb.base/foll-exec.c: Likewise.
17033 * gdb.base/foll-fork.c: Likewise.
17034 * gdb.base/foll-vfork.c: Likewise.
17035 * gdb.base/funcargs.c: Likewise.
17036 * gdb.base/gcore.c: Likewise.
17037 * gdb.base/jump.c: Likewise.
17038 * gdb.base/langs0.c: Likewise.
17039 * gdb.base/langs1.c: Likewise.
17040 * gdb.base/langs2.c: Likewise.
17041 * gdb.base/mips_pro.c: Likewise.
17042 * gdb.base/nodebug.c: Likewise.
17043 * gdb.base/opaque0.c: Likewise.
17044 * gdb.base/opaque1.c: Likewise.
17045 * gdb.base/recurse.c: Likewise.
17046 * gdb.base/run.c: Likewise.
17047 * gdb.base/scope0.c: Likewise.
17048 * gdb.base/scope1.c: Likewise.
17049 * gdb.base/setshow.c: Likewise.
17050 * gdb.base/setvar.c: Likewise.
17051 * gdb.base/shmain.c: Likewise.
17052 * gdb.base/shr1.c: Likewise.
17053 * gdb.base/shr2.c: Likewise.
17054 * gdb.base/sigall.c: Likewise.
17055 * gdb.base/signals.c: Likewise.
17056 * gdb.base/so-indr-cl.c: Likewise.
17057 * gdb.base/solib2.c: Likewise.
17058 * gdb.base/structs.c: Likewise.
17059 * gdb.base/sum.c: Likewise.
17060 * gdb.base/vforked-prog.c: Likewise.
17061 * gdb.base/watchpoint.c: Likewise.
17062 * gdb.reverse/shr2.c: Likewise.
17063 * gdb.reverse/until-reverse.c: Likewise.
17064 * gdb.reverse/ur1.c: Likewise.
17065 * gdb.reverse/watch-reverse.c: Likewise.
17066
066a77c5
AA
170672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17068
17069 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17070 variant.
17071 * gdb.base/sepdebug.exp: Drop references to removed code.
17072
4f204ea5
AA
170732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17074
17075 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17076 variant. Preserve original line numbering.
17077 * gdb.base/list1.c: Likewise.
17078
3b377a3a
AA
170792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17080
17081 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17082 variant.
17083 * gdb.base/break1.c: Likewise.
17084 * gdb.base/break.exp: Drop references to removed code.
17085
e444df73
AA
170862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17087
17088 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17089 variant.
17090
8008f2a7
AA
170912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17092
17093 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17094
a5a06887
AA
170952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17096
17097 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17098 logic into perform_all_tests() and invoke it with and without
17099 function header prototypes.
17100 (do_function_calls): Remove conditional XFAIL for PR 5318.
17101 (rerun_and_prepare): Remove duplicate code.
17102 (perform_all_tests): New. Main logic moved here.
17103
44dba9b9
AA
171042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17105
17106 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17107 code guarded by #ifdef NO_PROTOTYPES.
17108 (t_double_many_args): Likewise.
17109 (DEF_FUNC_MANY_ARGS_1): Likewise.
17110 (DEF_FUNC_VALUES_1): Likewise.
17111 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17112 guarded by #ifdef PROTOTYPES.
17113
d1fbcd56
AA
171142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17115
17116 * gdb.mi/mi-console.c: Add eye-catcher.
17117 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17118 instead of literal line number.
17119
b0e59b8f
AA
171202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17121
17122 * gdb.base/shr2.c: Add eye-catcher.
17123 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17124 line number.
17125
78f98cca
AA
171262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17127
17128 * gdb.base/jump.c: Add eye-catchers.
17129 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17130 numbers.
17131
58fa2af0
AA
171322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17133
17134 * gdb.base/execd-prog.c: Add eye-catchers.
17135 * gdb.base/foll-exec.c: Likewise.
17136 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17137 line numbers.
17138
04e5059b
AA
171392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17140
17141 * gdb.base/ending-run.c: Add eye-catchers.
17142 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17143 literal line numbers.
17144
dbfdb174
AA
171452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17146
17147 * gdb.base/call-rt-st.c: Add eye-catchers.
17148 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17149 literal line numbers.
17150
888a2ade
AA
171512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17152
17153 * gdb.base/call-ar-st.c: Add eye-catchers.
17154 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17155 literal line numbers.
17156
6acc2dde
AA
171572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17158
17159 * gdb.base/average.c: Add eye-catchers.
17160 * gdb.base/sum.c: Likewise.
17161 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17162 regexps dynamically.
17163
9ecfcd1d
AA
171642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17165
17166 * gdb.base/solib1.c: Add eye-catchers.
17167 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17168 literal line numbers.
17169
78708b7c
PA
171702014-11-12 Pedro Alves <palves@redhat.com>
17171
17172 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17173 leader has exited.
17174
af48d08f
PA
171752014-11-12 Pedro Alves <palves@redhat.com>
17176
17177 * gdb.arch/i386-bp_permanent.c: New file.
17178 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17179 (srcfile): Set to i386-bp_permanent.c.
17180 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17181 that stepi does not execute the 'leave' instruction, instead of
17182 testing it does execute.
17183 * gdb.base/bp-permanent.c: New file.
17184 * gdb.base/bp-permanent.exp: New file.
17185
af3768e9
DE
171862014-11-10 Doug Evans <xdje42@gmail.com>
17187
17188 PR symtab/17564
17189 * gdb.base/symtab-search-order.exp: New file.
17190 * gdb.base/symtab-search-order.c: New file.
17191 * gdb.base/symtab-search-order-1.c: New file.
17192 * gdb.base/symtab-search-order-shlib-1.c: New file.
17193
9de00a4a
PA
171942014-11-07 Pedro Alves <palves@redhat.com>
17195
17196 PR gdb/17511
17197 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17198 i?86-*-linux*.
17199
e0f52461
SC
172002014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17201
17202 PR c++/17494
17203 * gdb.cp/pr17494.cc: New file.
17204 * gdb.cp/pr17494.exp: New file.
17205
6ce8c980
YQ
172062014-11-02 Yao Qi <yao@codesourcery.com>
17207
17208 * gdb.python/python.exp: Get working directory and match the
17209 output of "set extended-prompt \\w " with it.
17210
02be9a71
DE
172112014-10-30 Doug Evans <dje@google.com>
17212
17213 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17214 in objfiles.
17215 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17216 in progspaces.
17217
3bdff46b
LM
172182014-10-30 Janis Johnson <janisjo@codesourcery.com>
17219
17220 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17221 * gdb.base/realname-expand.exp: Likewise.
17222 * gdb.linespec/macro-relative.exp: Likewise.
17223
ab917dfb
PA
172242014-10-29 Pedro Alves <palves@redhat.com>
17225
17226 PR gdb/17408
17227 * gdb.threads/schedlock.c (some_function): New function.
17228 (call_function): New global.
17229 (MAYBE_CALL_SOME_FUNCTION): New macro.
17230 (thread_function): Call it.
17231 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17232 and use it instead of a global counter. Adjust all callers.
17233 (get_current_thread): Use "find current thread" for test message
17234 here rather than having all callers pass down the same string.
17235 (goto_loop): New procedure, factored out from ...
17236 (my_continue): ... this.
17237 (step_ten_loops): Change parameter from test message to command to
17238 use. Adjust.
17239 (list_count): Delete global.
17240 (check_result): New procedure, factored out from duplicate top
17241 level code.
17242 (continue tests): Wrap in with_test_prefix.
17243 (test_step): New procedure, factored out from duplicate top level
17244 code.
17245 (top level): Test "step" in combination with all scheduler-locking
17246 modes. Test "next" in combination with all scheduler-locking
17247 modes, and in combination with stepping over a function call or
17248 not.
17249 * gdb.threads/next-bp-other-thread.c: New file.
17250 * gdb.threads/next-bp-other-thread.exp: New file.
17251
d3d4baed
PA
172522014-10-29 Pedro Alves <palves@redhat.com>
17253
17254 PR python/17372
17255 * gdb.python/python.exp: Test a multi-line command that spawns
17256 interactive Python.
17257 * gdb.base/multi-line-starts-subshell.exp: New file.
17258
563e8d85
YQ
172592014-10-29 Yao Qi <yao@codesourcery.com>
17260
17261 * gdb.base/fileio.exp: Make directories on host.
17262
0ea4d52e
YQ
172632014-10-29 Yao Qi <yao@codesourcery.com>
17264
17265 * gdb.base/fileio.c (test_write): Close the file.
17266
7f5ef605
PA
172672014-10-28 Pedro Alves <palves@redhat.com>
17268
17269 PR gdb/12623
17270 * gdb.base/sigstep.c (no_handler): New global.
17271 (main): If 'no_handler is true, set the signal handlers to
17272 SIG_IGN.
17273 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17274 with_sw_watch and no_handler parameters. Handle them.
17275 (top level) <stepping over handler when stopped at a breakpoint
17276 test>: Add a test axis for testing with a software watchpoint, and
17277 another for testing with the signal handler set to SIG_IGN.
17278 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17279 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17280
abbdbd03
PA
172812014-10-28 Pedro Alves <palves@redhat.com>
17282
17283 PR gdb/17511
17284 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17285 * gdb.base/sigstep.exp (other_handler_location): New global.
17286 (advance): Support stepping into the signal handler, and running
17287 commands while in the handler.
17288 (in_handler_map): New global.
17289 (top level): In the advance test, add combinations for getting
17290 into the handler with stepping commands, and for running commands
17291 in the handler. Add comment descripting the advancei tests.
17292
1df4399f
PA
172932014-10-28 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.base/sigstep.exp: Use build_executable instead of
17296 prepare_for_testing.
17297 (top level): Move code that starts GDB, runs to main and creates a
17298 display to ...
17299 (restart): ... this new procedure.
17300 (top level): Move backtrace from signal handler test to ...
17301 (validate_backtrace): ... this new procedure.
17302 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17303 with_test_prefix. Always restart GDB.
17304 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17305 with_test_prefix. Always restart GDB. No need to delete
17306 breakpoints after the test.
17307 (test_skip_handler): Remove prefix parameter.
17308 (skip_over_handler, breakpoint_to_handler)
17309 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17310 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17311 restart GDB. No need to delete breakpoints after the test.
17312 (top level): Use foreach to call the test procedures with
17313 different commands.
17314
a5b6e449
PA
173152014-10-28 Pedro Alves <palves@redhat.com>
17316
17317 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17318 instead of GNATS numbers.
17319 * gdb.base/sigbpt.exp: Likewise.
17320 * gdb.base/siginfo.exp: Likewise.
17321 * gdb.base/sigstep.exp: Likewise.
17322
e5f8a7cc
PA
173232014-10-27 Pedro Alves <palves@redhat.com>
17324
17325 * gdb.base/sigstep.c (dummy): New global.
17326 (main): Issue a couple writes to the new global.
17327 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17328 procedures.
17329 (skip_over_handler): Use test_skip_handler.
17330 (top level): Call skip_over_handler for stepi and nexti too.
17331 (breakpoint_over_handler): Use test_skip_handler.
17332 (top level): Call breakpoint_over_handler for stepi and nexti too.
17333
763905a3
YQ
173342014-10-27 Yao Qi <yao@codesourcery.com>
17335
17336 * gdb.trace/tfile.c (adjust_function_address)
17337 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17338 function descriptor.
17339
6f259a23
DB
173402014-10-24 Don Breazeal <donb@codesourcery.com>
17341
17342 * gdb.base/foll-fork.exp (test_follow_fork,
17343 catch_fork_child_follow): Check for updated fork messages emitted
17344 from infrun.c.
17345 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17346 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17347 vfork_and_exec_child_follow_through_step): Check for updated vfork
17348 messages emitted from infrun.c.
17349
09dd9a69
PA
173502014-10-24 Pedro Alves <palves@redhat.com>
17351
17352 * gdb.base/corefile.exp: Remove references to ultrix.
17353 * gdb.base/interrupt.exp: Likewise.
17354 * gdb.base/whatis.exp: Likewise.
17355 * gdb.gdb/selftest.exp: Likewise.
17356 * gdb.threads/manythreads.exp: Likewise.
17357 * gdb.threads/print-threads.exp: Likewise.
17358 * gdb.threads/pthreads.exp:: Likewise.
17359 * gdb.threads/schedlock.exp: Likewise.
17360
3433cfa5
SC
173612014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17362
17363 * gdb.cp/non-trivial-retval.cc: Add a test case.
17364 * gdb.cp/non-trivial-retval.exp: Add a test.
17365
092f880b
YQ
173662014-10-20 Yao Qi <yao@codesourcery.com>
17367
17368 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17369 * gdb.python/py-objfile-script-gdb.py: New file.
17370 * gdb.python/py-objfile-script.exp: Update reference to
17371 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17372 of remote_download. Remove the dest file.
17373
acbdb7f3
YQ
173742014-10-20 Yao Qi <yao@codesourcery.com>
17375
17376 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17377 * gdb.base/step-line.exp: Likewise.
17378 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17379 * gdb.dwarf2/dw2-basic.exp: Likewise.
17380 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17381 * gdb.dwarf2/dw2-filename.exp: Likewise.
17382 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17383 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17384 * gdb.dwarf2/dw2-producer.exp: Likewise.
17385 * gdb.dwarf2/mac-fileno.exp: Likewise.
17386 * gdb.python/py-frame-args.exp: Likewise.
17387 * gdb.python/py-framefilter.exp: Likewise.
17388 * gdb.python/py-mi.exp: Likewise.
17389 * gdb.python/py-objfile-script.exp: Likewise
17390 * gdb.python/py-pp-integral.exp: Likewise.
17391 * gdb.python/py-pp-re-notag.exp: Likewise.
17392 * gdb.python/py-prettyprint.exp: Likewise.
17393 * gdb.python/py-section-script.exp: Likewise.
17394 * gdb.python/py-typeprint.exp: Likewise.
17395 * gdb.python/py-xmethods.exp: Likewise.
17396 * gdb.stabs/weird.exp: Likewise.
17397 * gdb.xml/tdesc-regs.exp: Likewise.
17398
bd286a29
KCY
173992014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17400
17401 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17402 (out_cu): Use addr_len for the size of addresses.
17403 (out_line): Likewise. Size DW_LNE_set_address instruction
17404 according to addr_len.
17405 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17406 (FUNC): Add START_INSNS to definition.
17407
673dc4a0
YQ
174082014-10-18 Yao Qi <yao@codesourcery.com>
17409
17410 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17411 gdb_has_argv0 return true.
17412 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17413 check [target_info exists noargs], check [gdb_has_argv0]
17414 instead.
17415 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17416 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17417 procedures.
17418
4ffbba72
DE
174192014-10-17 Doug Evans <dje@google.com>
17420
17421 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17422 event.
17423 * gdb.python/py-events.py: Add clear_objfiles event.
17424
d096d8c1
DE
174252014-10-17 Doug Evans <dje@google.com>
17426
17427 * gdb.python/py-objfile.exp: Test progspace attribute.
17428
a80db015
LM
174292014-10-17 Luis Machado <lgustavo@codesourcery.com>
17430
17431 * gdb.guile/scm-breakpoint.exp: Do not assume any
17432 directory separators when matching source file paths.
17433 * gdb.python/py-breakpoint.exp: Likewise.
17434 * gdb.reverse/break-precsave.exp: Likewise.
17435 * gdb.reverse/break-reverse.exp: Likewise.
17436 * gdb.reverse/consecutive-precsave.exp: Likewise.
17437 * gdb.reverse/finish-precsave.exp: Likewise.
17438 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17439 * gdb.reverse/finish-reverse.exp: Likewise.
17440 * gdb.reverse/i386-precsave.exp: Likewise.
17441 * gdb.reverse/i387-env-reverse.exp: Likewise.
17442 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17443 * gdb.reverse/machinestate-precsave.exp: Likewise.
17444 * gdb.reverse/machinestate.exp: Likewise.
17445 * gdb.reverse/sigall-precsave.exp: Likewise.
17446 * gdb.reverse/solib-precsave.exp: Likewise.
17447 * gdb.reverse/step-precsave.exp: Likewise.
17448 * gdb.reverse/until-precsave.exp: Likewise.
17449 * gdb.reverse/watch-precsave.exp: Likewise.
17450 * gdb.reverse/watch-reverse.exp: Likewise.
17451
b22089ab
YQ
174522014-10-17 Yao Qi <yao@codesourcery.com>
17453
17454 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17455 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17456
6c4486e6
PA
174572014-10-17 Pedro Alves <palves@redhat.com>
17458
17459 PR gdb/17471
17460 * gdb.base/bg-execution-repeat.c: New file.
17461 * gdb.base/bg-execution-repeat.exp: New file.
17462
0ff33695
PA
174632014-10-17 Pedro Alves <palves@redhat.com>
17464
17465 PR gdb/17300
17466 * gdb.base/continue-all-already-running.c: New file.
17467 * gdb.base/continue-all-already-running.exp: New file.
17468
6fdebc3d
PA
174692014-10-17 Pedro Alves <palves@redhat.com>
17470
17471 PR gdb/17472
17472 * gdb.base/annota-input-while-running.c: New file.
17473 * gdb.base/annota-input-while-running.exp: New file.
17474
32a8097b
PA
174752014-10-17 Pedro Alves <palves@redhat.com>
17476
17477 * gdb.base/callfuncs.exp: emove references to osf.
17478 * gdb.base/sigall.exp: Likewise.
17479 * gdb.gdb/selftest.exp: Likewise.
17480 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17481 * gdb.mi/non-stop.c: Likewise.
17482 * gdb.mi/pthreads.c: Likewise.
17483 * gdb.reverse/sigall-precsave.exp: Likewise.
17484 * gdb.reverse/sigall-reverse.exp: Likewise.
17485 * gdb.threads/pthreads.c: Likewise.
17486 * gdb.threads/pthreads.exp: Likewise.
17487
7a3517ff
YQ
174882014-10-17 Yao Qi <yao@codesourcery.com>
17489
17490 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17491 check 'target_info exists noargs'.
17492 (test_command_prompt_position): Likewise.
17493 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17494 Remove "set args".
17495 (progvar_simple_while_test): Likewise.
17496 (progvar_complex_if_while_test): Likewise.
17497 (if_while_breakpoint_command_test): Likewise.
17498 (infrun_breakpoint_command_test): Likewise.
17499 (breakpoint_command_test): Likewise.
17500 (watchpoint_command_test): Likewise.
17501 (bp_deleted_in_command_test): Likewise.
17502 (temporary_breakpoint_commands): Likewise.
17503
bb99c472
YQ
175042014-10-16 Yao Qi <yao@codesourcery.com>
17505
17506 * gdb.base/remotetimeout.exp: Remove noargs checking.
17507
7c16b83e
PA
175082014-10-15 Pedro Alves <palves@redhat.com>
17509
17510 PR breakpoints/9649
17511 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17512 * gdb.base/breakpoint-in-ro-region.exp
17513 (probe_target_hardware_step): New procedure.
17514 (top level): Probe hardware stepping and hardware breakpoint
17515 support. Test stepping through a read-only region, with both
17516 "breakpoint auto-hw" on and off and both "always-inserted" on and
17517 off.
17518
35a49624
IB
175192014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17520
17521 * gdb.dlang/demangle.exp: Update for demangling changes.
17522
2d1c107c
SC
175232014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17524
17525 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17526 * gdb.cp/non-trivial-retval.exp: Add new tests.
17527
778811d5
SC
175282014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17529
17530 PR c++/13403
17531 PR c++/15154
17532 * gdb.cp/non-trivial-retval.cc: New file.
17533 * gdb.cp/non-trivial-retval.exp: New file.
17534
10c5f0a8
YQ
175352014-10-15 Yao Qi <yao@codesourcery.com>
17536
17537 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17538 remote host.
17539
65d7b369
YQ
175402014-10-15 Yao Qi <yao@codesourcery.com>
17541
17542 * gdb.python/py-symbol.exp: Match file base name if host is
17543 remote, otherwise match file name with dir name.
17544 * gdb.python/py-symtab.exp: Likewise.
17545 * gdb.python/python.exp: Likewise.
17546
46dc1394
YQ
175472014-10-15 Yao Qi <yao@codesourcery.com>
17548
17549 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17550 pattern.
17551 * gdb.python/py-symtab.exp: Likewise.
17552 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17553 locationn.
17554
c40cc657
JB
175552014-10-14 Joel Brobecker <brobecker@adacore.com>
17556
17557 * gdb.ada/addr_arith: New testcase.
17558
2abf49e1
MR
175592014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17560
17561 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17562 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17563 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17564 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17565
f7088df3
SDJ
175662014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17567
17568 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17569 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17570 * gdb.arch/stap-eval-lang-ada.exp: New file.
17571
4dc06805
YQ
175722014-10-14 Yao Qi <yao@codesourcery.com>
17573
17574 * gdb.mi/mi-var-child.c (nothing1): New function.
17575 (nothing2): New function.
17576 (do_children_tests): Set function pointers by nothing1 and
17577 nothing2.
17578 * gdb.mi/mi-var-child.exp: Step over new added statements.
17579 Update test to match the new output.
17580 * gdb.mi/var-cmd.c (nothing1): New function.
17581 (nothing2): New function.
17582 (do_children_tests): Set function pointers by nothing1 and
17583 nothing2.
17584 * gdb.mi/mi-var-display.exp: Update test to match output.
17585 Step to the line specified by $line_dct_nothing.
17586 Increase the number of lines to step.
17587
46a93de2
YQ
175882014-10-14 Yao Qi <yao@codesourcery.com>
17589
17590 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17591 tests.
17592 * gdb.mi/mi2-var-child.exp: Likewise.
17593
14ea52ee
DE
175942014-10-13 Doug Evans <dje@google.com>
17595
17596 * gdb.python/py-objfile.exp: Change name of file name test.
17597
e5c6e92b
DE
175982014-10-13 Doug Evans <dje@google.com>
17599
17600 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17601 from the start of the CU.
17602
c780cc2f
JK
176032014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17604 Yao Qi <yao@codesourcery.com>
17605
17606 Fix "save breakpoints" for "catch" command.
17607 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17608 Remove -nonewline. Match also the added "main" line.
17609
99894e11
JK
176102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17611
17612 Fix "save breakpoints" for "disable $bpnum" command.
17613 * gdb.base/save-bp.c (main): Add label.
17614 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17615
6e1ac5a3
JK
176162014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17617
17618 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17619
754dd2b0
YQ
176202014-10-11 Yao Qi <yao@codesourcery.com>
17621
17622 * gdb.server/server-kill.exp: Execute command
17623 "set remote trace-status-packet on" before "tstatus".
17624
f90183d7
YQ
176252014-10-11 Yao Qi <yao@codesourcery.com>
17626
17627 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17628 (main): Call getppid.
17629 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17630 and continue to it. Read variable "server_pid".
17631
bf40a607
YQ
176322014-10-11 Yao Qi <yao@codesourcery.com>
17633
17634 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17635
052ca370
YQ
176362014-10-11 Yao Qi <yao@codesourcery.com>
17637
17638 * gdb.threads/thread-find.exp: Don't execute command
17639 "info threads".
17640 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17641 * gdb.threads/linux-dp.exp: Don't check the condition
17642 $threads_created equals to zero.
17643
3831839c
PA
176442014-10-10 Pedro Alves <palves@redhat.com>
17645
17646 * gdb.base/bigcore.exp: Remove references to IRIX.
17647 * gdb.base/funcargs.exp: Likewise.
17648 * gdb.base/interrupt.exp: Likewise.
17649 * gdb.base/mips_pro.exp: Likewise.
17650 * gdb.base/nodebug.exp: Likewise.
17651 * gdb.base/setvar.exp: Likewise.
17652 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17653
8b9a549d
PA
176542014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17655 Pedro Alves <palves@redhat.com>
17656
17657 PR symtab/14466
17658 * gdb.base/vdso-warning.c: New file.
17659 * gdb.base/vdso-warning.exp: New file.
17660
d48ba5e8
DE
176612014-10-02 Doug Evans <dje@google.com>
17662
17663 * gdb.base/structs.c (main): Don't run forever.
17664
2278c276
PA
176652014-10-02 Pedro Alves <palves@redhat.com>
17666
17667 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17668 (top level) <stop threads 1, stop threads 2>: Use it.
17669
b57bacec
PA
176702014-10-02 Pedro Alves <palves@redhat.com>
17671
17672 * gdb.threads/break-while-running.exp (test): Add new
17673 'update_thread_list' argument. Skip "info threads" if false.
17674 (top level): Add new 'update_thread_list' axis.
17675
13fd3ff3
PA
176762014-10-02 Pedro Alves <palves@redhat.com>
17677
17678 PR breakpoints/17431
17679 * gdb.base/execl-update-breakpoints.c: New file.
17680 * gdb.base/execl-update-breakpoints.exp: New file.
17681
0fec99e8
PA
176822014-10-01 Pedro Alves <palves@redhat.com>
17683
17684 * gdb.base/breakpoint-in-ro-region.c: New file.
17685 * gdb.base/breakpoint-in-ro-region.exp: New file.
17686
2ddf4301
SM
176872014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17688
17689 * gdb.mi/mi-exit-code.exp: New file.
17690 * gdb.mi/mi-exit-code.c: New file.
17691
6a5f3f43
YQ
176922014-09-30 Yao Qi <yao@codesourcery.com>
17693
17694 * lib/prelink-support.exp (build_executable_own_libs): Error if
17695 the target isn't native.
17696
345bcc73
YQ
176972014-09-30 Yao Qi <yao@codesourcery.com>
17698
17699 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17700 false.
17701
a25a5a45
PA
177022014-09-22 Pedro Alves <palves@redhat.com>
17703
17704 * gdb.threads/break-while-running.exp: New file.
17705 * gdb.threads/break-while-running.c: New file.
17706
00ba3162
YQ
177072014-09-19 Yao Qi <yao@codesourcery.com>
17708
17709 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17710 Invoke test. Restart GDB with --readnow and invoke test again.
17711
c3b7b696
YQ
177122014-09-19 Yao Qi <yao@codesourcery.com>
17713
17714 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17715 proc set_breakpoint_on_gcd_function. Invoke
17716 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17717 invoke set_breakpoint_on_gcd_function again.
17718
2b4fd423
DE
177192014-09-18 Doug Evans <dje@google.com>
17720
17721 * gdb.dwarf2/symtab-producer.exp: New file.
17722
a5947601
SDJ
177232014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17724
17725 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17726 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17727 * gdb.base/global-var-nested-by-dso.c: Likewise.
17728 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17729
91c19059
SDJ
177302014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17731 Pedro Alves <palves@redhat.com>
17732
17733 * gdb.base/watch-bitfields.exp: Pass string other than test file
17734 name to prepare_for_testing.
17735 (watch): New procedure.
17736 (expect_watchpoint): Use with_test_prefix.
17737 (top level): Factor out tests to ...
17738 (test_watch_location, test_regular_watch): ... these new
17739 procedures, and use with_test_prefix and gdb_continue_to_end.
17740
bb9d5f81
PP
177412014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17742
17743 PR breakpoints/12526
17744 * gdb.base/watch-bitfields.exp: New file.
17745 * gdb.base/watch-bitfields.c: New file.
17746
635856f5
PA
177472014-09-16 Pedro Alves <palves@redhat.com>
17748
17749 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17750 software and hardware addresses, not software address against
17751 itself.
17752
7280ceea
PA
177532014-09-16 Pedro Alves <palves@redhat.com>
17754
17755 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17756 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17757
428b16bd
PA
177582014-09-16 Pedro Alves <palves@redhat.com>
17759
17760 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17761 files.
17762 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17763 "*-*-vxworks*" throughout.
17764 * gdb.base/break.exp: Likewise.
17765 * gdb.base/default.exp: Likewise.
17766 * gdb.base/scope.exp: Likewise.
17767 * gdb.base/sepdebug.exp: Likewise.
17768 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17769 throughout.
17770 * gdb.base/run.c: Likewise.
17771 * gdb.base/sepdebug.c: Likewise.
17772 * gdb.hp/gdb.aCC/run.c: Likewise.
17773 * gdb.reverse/until-reverse.c: Likewise.
17774 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17775
666d413c
YQ
177762014-09-16 Yao Qi <yao@codesourcery.com>
17777
17778 * boards/local-remote-host-native.exp: New file.
17779
57cbd724
DE
177802014-09-14 Doug Evans <xdje42@gmail.com>
17781
17782 * gdb.threads/queue-signal.c (thread_count): New variable.
17783 (thread_count_mutex, thread_count_condvar): New variables.
17784 (incr_thread_count, wait_all_threads_running): New functions.
17785 (main): Wait for all threads to be in their thread functions.
17786
81219e53
DE
177872014-09-13 Doug Evans <xdje42@gmail.com>
17788
17789 * gdb.threads/queue-signal.c: New file.
17790 * gdb.threads/queue-signal.exp: New file.
17791
3714cea7
DE
177922014-09-13 Doug Evans <xdje42@gmail.com>
17793
17794 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17795 be consistent with what default_gdb_init uses.
17796 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17797 the plain text of the prompt. Add some logging printfs.
17798 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17799
fa43b1d7
PA
178002014-09-12 Pedro Alves <palves@redhat.com>
17801
17802 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17803 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17804 * gdb.arch/i386-size-overlap.exp: Likewise.
17805 * gdb.arch/i386-size.exp: Likewise.
17806 * gdb.arch/i386-unwind.exp: Likewise.
17807 * gdb.base/a2-run.exp: Likewise.
17808 * gdb.base/break.exp: Likewise.
17809 * gdb.base/charset.exp: Likewise.
17810 * gdb.base/chng-syms.exp: Likewise.
17811 * gdb.base/commands.exp: Likewise.
17812 * gdb.base/dbx.exp: Likewise.
17813 * gdb.base/find.exp: Likewise.
17814 * gdb.base/funcargs.exp: Likewise.
17815 * gdb.base/jit-simple.exp: Likewise.
17816 * gdb.base/reread.exp: Likewise.
17817 * gdb.base/sepdebug.exp: Likewise.
17818 * gdb.base/step-bt.exp: Likewise.
17819 * gdb.cp/mb-inline.exp: Likewise.
17820 * gdb.cp/mb-templates.exp: Likewise.
17821 * gdb.objc/basicclass.exp: Likewise.
17822 * gdb.threads/killed.exp: Likewise.
17823
9d9bf2df
EBM
178242014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17825
17826 PR tdep/17379
17827 * gdb.arch/powerpc-stackless.S: New file.
17828 * gdb.arch/powerpc-stackless.exp: New file.
17829
1cf2f1b0
JK
178302014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17831
17832 * gdb.base/attach.c: Include unistd.h.
17833 (main): Call alarm. Add label postloop.
17834 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17835 gdb_breakpoint, gdb_continue_to_breakpoint.
17836 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17837
98880d46
PA
178382014-09-11 Pedro Alves <palves@redhat.com>
17839
17840 PR gdb/17347
17841 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17842 * gdb.base/attach.exp (test_command_line_attach_run): New
17843 procedure.
17844 (top level): Call it.
17845
4c92ff2c
PA
178462014-09-11 Pedro Alves <palves@redhat.com>
17847
17848 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17849 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17850 (do_command_attach_tests): Use spawn_wait_for_attach.
17851 * gdb.base/solib-overlap.exp: Likewise.
17852 * gdb.multi/multi-attach.exp: Likewise.
17853 * gdb.python/py-prompt.exp: Likewise.
17854 * gdb.python/py-sync-interp.exp: Likewise.
17855 * gdb.server/ext-attach.exp: Likewise.
17856
3adc1a7d
GKB
178572014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17858
17859 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17860 command in testcase. Simplify testcase.
17861
96334934
JB
178622014-09-10 Joel Brobecker <brobecker@adacore.com>
17863
17864 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17865
eb479039
JB
178662014-09-10 Joel Brobecker <brobecker@adacore.com>
17867
17868 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17869
deede10c
JB
178702014-09-10 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17873
7828a5f5
JB
178742014-09-10 Joel Brobecker <brobecker@adacore.com>
17875
17876 * gdb.dwarf2/dynarr-ptr.c: New file.
17877 * gdb.dwarf2/dynarr-ptr.exp: New file.
17878
33aeebcf
MR
178792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17880
17881 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17882 of 30 rather than hardcoding 120 for a slow test case. Take the
17883 `gdb,timeout' target setting into account for this calculation.
17884 Don't extend the timeout for the test cases that don't need it.
17885
7b415901
MR
178862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17887
17888 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17889 a factor of 2 for a slow test case. Take the `gdb,timeout'
17890 target setting into account for this calculation.
17891 * gdb.reverse/until-precsave.exp: Increase the timeout by
17892 a factor of 15 and 3 respectively rather than adding 120
17893 for a pair of slow test cases. Take the `gdb,timeout'
17894 target setting into account for this calculation.
17895
4a40f85a
MR
178962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17897
17898 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17899 timeout, don't pass one down to gdb_expect.
17900 (gdb_expect): Rework timeout selection.
17901
09635af7
MR
179022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17903
17904 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17905 exception on timeout.
17906 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17907 (gdbserver_start_extended): Catch any `gdbserver_start' error
17908 exceptions.
17909 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17910 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17911 `gdbserver_gdb_load' error exceptions.
17912
2bdd10b7
MR
179132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17914
17915 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17916 120 on waiting for the TCP socket to open.
17917
316935f0
DE
179182014-09-09 Doug Evans <xdje42@gmail.com>
17919
17920 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17921 _caller_matches, _any_caller_is, _any_caller_matches.
17922
83740597
DE
179232014-09-09 Doug Evans <xdje42@gmail.com>
17924
17925 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17926
4c122fc3
YQ
179272014-09-09 Yao Qi <yao@codesourcery.com>
17928
17929 * gdb.mi/mi-var-display.exp: Set print symbol off.
17930
a9f116cb
GKB
179312014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17932
17933 PR gdb/17035
17934 * gdb.base/commands.exp: Add tests to verify user-defined
17935 commands with empty bodies.
17936 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17937 python commands in `show user command`.
17938 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17939 scheme commands in `show user command`.
17940
c75bd3a2
JK
179412014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17942
17943 PR python/17355
17944 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17945 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17946 * gdb.python/py-framefilter-invalidarg.exp: New file.
17947 * gdb.python/py-framefilter-invalidarg.py: New file.
17948
faa42425
DE
179492014-09-06 Doug Evans <xdje42@gmail.com>
17950
17951 PR 15276
17952 * gdb.python/py-caller-is.c: New file.
17953 * gdb.python/py-caller-is.exp: New file.
17954
474ca4f6
SDJ
179552014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17956
17957 PR gdb/17235
17958 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17959 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17960
eb0b0463
SDJ
179612014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17962
17963 PR fortran/17237
17964 * gdb.fortran/print-formatted.exp: New file.
17965 * gdb.fortran/print-formatted.f90: Likewise.
17966
5f3b99cf
SS
179672014-09-03 Sasha Smundak <asmundak@google.com>
17968
17969 * gdb.python/py-frame.exp: Test Frame.read_register.
17970
7d793aa9
SDJ
179712014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17972
17973 PR python/16699
17974 * gdb.python/py-completion.exp: New file.
17975 * gdb.python/py-completion.py: Likewise.
17976
fb0576e9
DE
179772014-08-28 Doug Evans <dje@google.com>
17978
17979 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17980 eax,etc. are live with values set by gdb and thus the compiler can't
17981 use them.
17982 * gdb.arch/i386-pseudo.c (main): Ditto.
17983
ee92b0dd
DE
179842014-08-27 Doug Evans <dje@google.com>
17985
17986 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17987
6649db35
DE
179882014-08-25 Doug Evans <dje@google.com>
17989
17990 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17991 (main): Ditto.
17992
564b7600
DE
179932014-08-25 Doug Evans <dje@google.com>
17994
17995 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17996
3881fb67
YQ
179972014-08-24 Yao Qi <yao@codesourcery.com>
17998
17999 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18000 symbol off.
18001 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18002
a05a36a5
DE
180032014-08-22 Doug Evans <dje@google.com>
18004
18005 PR 17276
18006 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18007 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18008 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18009
7c343b48
YQ
180102014-08-22 Yao Qi <yao@codesourcery.com>
18011
18012 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18013 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18014 * gdb.python/python.exp: Likewise. Use .py file on the host
18015 instead of the build.
18016
22fd09ae
JK
180172014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18018
18019 * gdb.threads/gcore-stale-thread.c: New file.
18020 * gdb.threads/gcore-stale-thread.exp: New file.
18021
a8454a7c
PA
180222014-08-21 Pedro Alves <palves@redhat.com>
18023
18024 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18025 * gdb.base/gcore-relro-pie.exp: Likewise.
18026 * gdb.base/gcore-relro.exp: Likewise.
18027 * gdb.base/gcore.exp: Likewise.
18028 * gdb.base/print-symbol-loading.exp: Likewise.
18029 * gdb.threads/gcore-thread.exp: Likewise.
18030 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18031
2a31c623
PA
180322014-08-20 Pedro Alves <palves@redhat.com>
18033 Jan Kratochvil <jan.kratochvil@redhat.com>
18034
18035 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18036 configure.
18037 (EXPECT): Handle READ1 being set.
18038 (all): Depend on EXTRA_RULES.
18039 (check-read1, expect-read1, read1.so, read1): New rules.
18040 * README (Testsuite Parameters): Document the READ1 make variable.
18041 (Race detection): New section.
18042 * configure: Regenerate.
18043 * configure.ac: If build==host==target, and running under a
18044 GNU/glibc system, add read1 to the extra Makefile rules.
18045 (EXTRA_RULES): AC_SUBST it.
18046 * lib/read1.c: New file.
18047
d36430db
JB
180482014-08-20 Joel Brobecker <brobecker@adacore.com>
18049
18050 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18051 the handling of variables declared as a typedef to an array
18052 which a DW_AT_data_location attribute.
18053
9a0dc9e3
PA
180542014-08-19 Andrew Burgess <aburgess@broadcom.com>
18055 Pedro Alves <palves@redhat.com>
18056
18057 PR symtab/14604
18058 PR symtab/14605
18059 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18060 gdb_test.
18061
0718a8da
PA
180622014-08-19 Pedro Alves <palves@redhat.com>
18063
18064 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18065
13b448cd
YQ
180662014-08-19 Yao Qi <yao@codesourcery.com>
18067
18068 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18069 right line.
18070
1cbf5077
DB
180712014-08-18 David Blaikie <dblaikie@gmail.com>
18072
18073 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18074
bf0fae19
JB
180752014-08-18 Joel Brobecker <brobecker@adacore.com>
18076
18077 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18078 attribute in array range.
18079
3c8c5dcc
JB
180802014-08-18 Joel Brobecker <brobecker@adacore.com>
18081
18082 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18083
e66d4446
SC
180842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18085
18086 PR c++/17132
18087 * gdb.cp/pr17132.cc: New file.
18088 * gdb.cp/pr17132.exp: New file.
18089
940df408
SC
180902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18091
18092 * gdb.python/py-xmethods.py (A_getarrayind)
18093 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18094 Use 'print' with function call syntax.
18095 (E_method_matcher.match): Fix tab vs space indentation mixup.
18096
ebcc6c3a
YQ
180972014-08-15 Yao Qi <yao@codesourcery.com>
18098
18099 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18100 false.
18101
775e0f04
YQ
181022014-08-15 Yao Qi <yao@codesourcery.com>
18103
18104 * gdb.cp/casts.exp: Set print symbol off.
18105 * gdb.cp/class2.exp: Likewise.
18106 * gdb.cp/overload.exp: Likewise.
18107 * gdb.cp/templates.exp: Likewise.
18108
d769e349
DE
181092014-08-11 Doug Evans <dje@google.com>
18110
18111 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18112 (test_load_shlib): Update.
18113
20c6f1e1
YQ
181142014-08-09 Yao Qi <yao@codesourcery.com>
18115
18116 * gdb.base/display.exp: Invoke is_address_zero_readable.
18117 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18118 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18119 * gdb.base/hbreak-unmapped.exp: Return if
18120 is_address_zero_readable returns true.
18121 * gdb.base/signest.exp: Likewise.
18122 * gdb.base/signull.exp: Likewise.
18123 * gdb.base/sigbpt.exp: Likewise.
18124 * gdb.guile/scm-disasm.exp: Do the test if
18125 is_address_zero_readable returns false.
18126 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18127 * gdb.python/py-arch.exp: Likewise.
18128 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18129 * lib/gdb.exp (is_address_zero_readable): New proc.
18130
5792e8e3
YQ
181312014-08-09 Yao Qi <yao@codesourcery.com>
18132
18133 PR testsuite/13443
18134 * gdb.mi/mi-var-display.exp: Make test messages unique.
18135
3cecbbbe
TT
181362014-08-04 Tom Tromey <tromey@redhat.com>
18137
18138 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18139 target 0".
18140
00b51ff5
TT
181412014-08-04 Tom Tromey <tromey@redhat.com>
18142
18143 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18144 "target_resume".
18145
6908c509
JB
181462014-08-01 Joel Brobecker <brobecker@adacore.com>
18147
18148 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18149 inner_vla_struct_object_size.
18150 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18151 as xfail.
18152
cc6563d2
PA
181532014-07-30 Pedro Alves <palves@redhat.com>
18154
18155 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18156 comment.
18157
7e09a223
YQ
181582014-07-29 Yao Qi <yao@codesourcery.com>
18159
18160 PR gdb/17206
18161 * gdb.base/until-nodebug.exp: New.
18162
7ebdbe92
DE
181632014-07-28 Doug Evans <xdje42@gmail.com>
18164
18165 PR guile/17203
18166 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18167 previously existing parameter, and previously ambiguously spelled
18168 parameter.
18169
fdb1adc6
WN
181702014-07-28 Will Newton <will.newton@linaro.org>
18171
18172 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18173
186fcde0
DE
181742014-07-26 Ludovic Courtès <ludo@gnu.org>
18175 Doug Evans <xdje42@gmail.com>
18176
18177 PR guile/17146
18178 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18179
70509625
PA
181802014-07-25 Pedro Alves <palves@redhat.com>
18181
18182 * gdb.threads/signal-command-handle-nopass.c: New file.
18183 * gdb.threads/signal-command-handle-nopass.exp: New file.
18184 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18185 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18186 * gdb.threads/signal-delivered-right-thread.c: New file.
18187 * gdb.threads/signal-delivered-right-thread.exp: New file.
18188
c3f814a1
PA
181892014-07-25 Pedro Alves <palves@redhat.com>
18190
18191 * gdb.base/double-prompt-target-event-error.exp
18192 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18193 match.
18194 (cancel_pagination_in_target_event): Rework double prompt
18195 detection.
18196 * gdb.base/paginate-after-ctrl-c-running.exp
18197 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18198 <return>' match.
18199 * gdb.base/paginate-bg-execution.exp
18200 (test_bg_execution_pagination_return)
18201 (test_bg_execution_pagination_cancel): Remove '-notransfer
18202 <return>' matches.
18203 * gdb.base/paginate-execution-startup.exp
18204 (test_fg_execution_pagination_return)
18205 (test_fg_execution_pagination_cancel): Remove '-notransfer
18206 <return>' matches.
18207 * gdb.base/paginate-inferior-exit.exp
18208 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18209 match.
18210 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18211 * lib/gdb.exp (pagination_prompt): Run text through
18212 string_to_regexp.
18213 (gdb_test_multiple): Match $pagination_prompt instead of
18214 "<return>".
18215 (string_to_regexp): Move to lib/gdb-utils.exp.
18216
e214cf6c
JK
182172014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18218
18219 * gdb.arch/amd64-entry-value-paramref.S: New file.
18220 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18221 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18222 * gdb.arch/amd64-optimout-repeat.S: New file.
18223 * gdb.arch/amd64-optimout-repeat.c: New file.
18224 * gdb.arch/amd64-optimout-repeat.exp: New file.
18225
17d0c5c8
JK
182262014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18227
18228 PR gdb/17170
18229 * gdb.base/statistics.exp: New file.
18230
b8b8facf
DE
182312014-07-17 Doug Evans <dje@google.com>
18232
74b49205 18233 PR gdb/17170
b8b8facf
DE
18234 * gdb.base/maint.exp: Update testing of per-command stats.
18235
1b5d0ab3
PA
182362014-07-16 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18239 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18240 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18241 (tfile_write_buf): New functions.
18242 (add_memory_block): Rewrite using the above.
18243 (adjust_function_address): New function.
18244 (FUNCTION_ADDRESS): New macro.
18245 (write_basic_trace_file): Remove short_x local, and use
18246 tfile_write_16. Change type of func_addr local to unsigned long
18247 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18248 here. Cast argument of add_memory_block to char pointer.
18249 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18250 (main): Remove parameters.
18251 * gdb.trace/tfile.exp: Remove nowarnings.
18252
4d974e88
SM
182532014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18254
18255 * gdb.base/debug-expr.exp: Test string evaluation with
18256 "debug expression" on.
18257
41e99568
PA
182582014-07-15 Pedro Alves <palves@redhat.com>
18259
18260 * gdb.base/reread.exp: Use clean_restart.
18261
487d9753
PL
182622014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18263
18264 * gdb.arch/avr-flash-qualifer.c: New.
18265 * gdb.arch/avr-flash-qualifer.exp: New.
18266
cc1c52ad
PA
182672014-07-14 Pedro Alves <palves@redhat.com>
18268
18269 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18270 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18271
1e973570
PA
182722014-07-14 Pedro Alves <palves@redhat.com>
18273
18274 * gdb.base/double-prompt-target-event-error.c: New file.
18275 * gdb.base/double-prompt-target-event-error.exp: New file.
18276
93d6eb10
PA
182772014-07-14 Pedro Alves <palves@redhat.com>
18278
18279 PR gdb/17072
18280 * gdb.base/paginate-inferior-exit.c: New file.
18281 * gdb.base/paginate-inferior-exit.exp: New file.
18282
0017922d
PA
182832014-07-14 Pedro Alves <palves@redhat.com>
18284
18285 PR gdb/17072
18286 * gdb.base/paginate-bg-execution.c: New file.
18287 * gdb.base/paginate-bg-execution.exp: New file.
18288
94696ad3
PA
182892014-07-14 Pedro Alves <palves@redhat.com>
18290
18291 PR gdb/17072
18292 * gdb.base/paginate-execution-startup.c: New file.
18293 * gdb.base/paginate-execution-startup.exp: New file.
18294 * lib/gdb.exp (pagination_prompt): New global.
18295 (default_gdb_spawn): New procedure, factored out from
18296 default_gdb_spawn.
18297 (default_gdb_start): Adjust to call default_gdb_spawn.
18298 (gdb_spawn): New procedure.
18299
bd293940
PA
183002014-07-14 Pedro Alves <palves@redhat.com>
18301
18302 * lib/gdb.exp (gdb_assert): New procedure.
18303 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18304
c933f875
PA
183052014-07-14 Pedro Alves <palves@redhat.com>
18306
18307 * gdb.base/execution-termios.c: New file.
18308 * gdb.base/execution-termios.exp: New file.
18309
d98b7a16
TT
183102014-07-14 Tom Tromey <tromey@redhat.com>
18311
18312 * gdb.cp/vla-cxx.cc: New file.
18313 * gdb.cp/vla-cxx.exp: New file.
18314
548740d6
TT
183152014-07-14 Tom Tromey <tromey@redhat.com>
18316
18317 * gdb.reverse/rerun-prec.c: New file.
18318 * gdb.reverse/rerun-prec.exp: New file.
18319
a25eb028
MR
183202014-07-12 Maciej W. Rozycki <macro@mips.com>
18321 Maciej W. Rozycki <macro@codesourcery.com>
18322
18323 * lib/gdb-utils.exp: New file.
18324 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18325 inline `gdb_init_command' processing.
18326 (gdb_start_cmd): Likewise.
18327 * lib/mi-support.exp (mi_run_cmd): Likewise.
18328 * README: Document `gdb_init_command' and `gdb_init_commands'.
18329
218c2655
JK
183302014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18331
18332 Fix false FAIL running under a very long directory name.
18333 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18334 and "set print elements 10000". Twice.
18335
5401fde3
YQ
183362014-07-11 Yao Qi <yao@codesourcery.com>
18337
18338 * gdb.base/exprs.exp: "set print symbol off".
18339
e76126e8
PA
183402014-07-11 Pedro Alves <palves@redhat.com>
18341
18342 * gdb.threads/kill.c: New file.
18343 * gdb.threads/kill.exp: New file.
18344
2d6f0de6
YQ
183452014-07-10 Yao Qi <yao@codesourcery.com>
18346
18347 * gdb.trace/tfile.c (write_basic_trace_file)
18348 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18349 address written to trace file.
18350
7180e04a
PA
183512014-07-09 Pedro Alves <palves@redhat.com>
18352
18353 * gdb.base/attach-wait-input.exp: New file.
18354 * gdb.base/attach-wait-input.c: New file.
18355
9a9a7608
AB
183562014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18357
18358 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18359 setting up test structures.
18360 (main): Call new test function.
18361 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18362 test function, continue into test function and walk test
18363 structures.
18364
161ac41e
YQ
183652014-07-02 Yao Qi <yao@codesourcery.com>
18366
18367 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18368 'bar_start' at the beginning of functions 'foo' and 'bar'
18369 respectively.
18370 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18371 instead of 'foo' and 'bar'.
18372
1f267ae3
MM
183732014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18374
18375 * gdb.btrace/segv.exp: New.
18376 * gdb.btrace/segv.c: New.
18377
2b239efb
LM
183782014-07-02 Luis Machado <lgustavo@codesourcery.com>
18379
18380 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18381 instruction.
18382
cf363f18
MW
183832014-06-30 Mark Wielaard <mjw@redhat.com>
18384
18385 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18386 vulture, vilify, villar): New volatile array constants.
18387 (vindictive, vegetation): New const volatile array constants.
18388 * gdb.base/volatile.exp: Test volatile and const volatile array
18389 types.
18390
aebf9d24
AA
183912014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18392
18393 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18394 target lacks support for awatch, rwatch, or hbreak.
18395
b67a2c6f
YQ
183962014-06-27 Yao Qi <yao@codesourcery.com>
18397
18398 * gdb.multi/dummy-frame-restore.exp: New.
18399 * gdb.multi/dummy-frame-restore.c: New.
18400
aef92902
MM
184012014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18402
18403 * gdb.btrace/gcore.exp: New.
18404
8e9db26e
PA
184052014-06-23 Pedro Alves <palves@redhat.com>
18406
18407 * gdb.base/watchpoint-reuse-slot.c: New file.
18408 * gdb.base/watchpoint-reuse-slot.exp: New file.
18409
70afc5b7
SC
184102014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18411
18412 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18413 progspace's filename in 'info', 'enable' and 'disable' command
18414 tests.
18415
b972bd9c
JK
184162014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18417
18418 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18419 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18420 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18421
125f8a3d
GB
184222014-06-20 Gary Benson <gbenson@redhat.com>
18423
18424 * gdb.arch/i386-avx.exp: Fix include file location.
18425 * gdb.arch/i386-sse.exp: Likewise.
18426
3ed9baed
IB
184272014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18428
18429 * gdb.dlang/expression.exp: New file.
18430
034f788c
PA
184312014-06-19 Pedro Alves <palves@redhat.com>
18432
18433 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18434 out from ...
18435 (top level): ... here. Iterate running tests under different
18436 scheduler-locking settings.
18437
45371d0c
LM
184382014-06-18 Luis Machado <lgustavo@codesourcery.com>
18439
18440 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18441 to DW_FORM_addr and use non-zero addresses.
18442
5d376983
SC
184432014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18444
18445 PR gdb/17017
18446 * gdb.python/py-xmethods.cc: Add global function call counters and
18447 increment them in their respective functions. Remove "cout"
18448 statements.
18449 * gdb.python/py-xmethods.exp: Make tests check the global function
18450 call counters instead of depending on inferior IO.
18451
a1aa2221
LM
184522014-06-18 Don Breazeal <donb@codesourcery.com>
18453
18454 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18455 Deleted procedure.
18456 (explicit_fork_parent_follow): Deleted procedure.
18457 (explicit_fork_child_follow): Deleted procedure.
18458 (test_follow_fork): New procedure.
18459 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18460 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18461 procedure calls.
18462
0fc05997
YQ
184632014-06-17 Yao Qi <yao@codesourcery.com>
18464
18465 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18466 CP1252.
18467
70795c52
LM
184682014-06-17 Luis Machado <lgustavo@codesourcery.com>
18469
18470 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18471 Initialize ptr and S explicitly.
18472 (skip_type_update_when_not_use_rtti_test): Likewise.
18473
6be47f0c
KS
184742014-06-16 Keith Seitz <keiths@redhat.com>
18475
18476 PR mi/15863
18477 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18478 the inferior is started.
18479
d03de421
PA
184802014-06-16 Pedro Alves <palves@redhat.com>
18481
18482 * gdb.base/break-main-file-remove-fail.c: New file.
18483 * gdb.base/break-main-file-remove-fail.exp: New file.
18484 * gdb.base/break-unload-file.exp: Use build_executable instead of
18485 prepare_for_testing.
18486 (test_break): New parameter "initial_load". Handle it.
18487 (top level): Add initial_load cmdline/file axis.
18488
f9579b99
TT
184892014-06-12 Tom Tromey <tromey@redhat.com>
18490
18491 * gdb.base/completion.exp: Don't use directory name in test.
18492
3657956b
GB
184932014-06-09 Gary Benson <gbenson@redhat.com>
18494
18495 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18496 separate the always-available ANSI-standard signals from the
18497 signals that require checking.
18498 (main): Likewise.
18499 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18500 Likewise.
18501 (main): Likewise.
18502
4186eb54
KS
185032014-06-07 Keith Seitz <keiths@redhat.com>
18504
18505 Revert:
18506 PR c++/16253
18507 * gdb.cp/var-tag.cc: New file.
18508 * gdb.cp/var-tag.exp: New file.
18509 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18510 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18511 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18512 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18513
25326a28 185142014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18515
18516 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18517
829155c9
PA
185182014-06-06 Pedro Alves <palves@redhat.com>
18519
18520 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18521 in target debug output instead of looking at RSP packets,
18522 disabling the test on any target that uses hardware stepping.
18523 Update comments.
18524
61c8d22e
PA
185252014-06-06 Pedro Alves <palves@redhat.com>
18526
18527 * gdb.base/break-unload-file.exp: Fix typo.
18528
d9a47287
YQ
185292014-06-06 Yao Qi <yao@codesourcery.com>
18530
18531 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18532 from "jit_function" to "^jit_function".
18533
e5e01dbf
YQ
185342014-06-06 Yao Qi <yao@codesourcery.com>
18535
18536 * gdb.base/async.c (foo): Add one statement.
18537 * gdb.base/async.exp: Get the next instruction address and
18538 match the output of "nexti" by instruction address. Match
18539 the hex address in the output of "finish".
18540
73ba372c
GB
185412014-06-06 Gary Benson <gbenson@redhat.com>
18542
18543 * gdb.base/call-signals.c: Remove preprocessor conditionals
18544 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18545 SIGSEGV and SIGTERM.
18546 * gdb.base/sigall.c: Likewise.
18547 * gdb.base/unwindonsignal.c: Likewise.
18548 * gdb.reverse/sigall-reverse.c: Likewise.
18549
831517df
YQ
185502014-06-06 Yao Qi <yao@codesourcery.com>
18551
18552 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18553 readable, skip the test.
18554
b8b91e98
YQ
185552014-06-06 Yao Qi <yao@codesourcery.com>
18556
18557 * gdb.threads/staticthreads.c (thread_function): Move the line
18558 setting breakpoint on forward.
18559 * gdb.threads/staticthreads.exp: Update comments.
18560
fb934770
LC
185612014-06-05 Ludovic Courtès <ludo@gnu.org>
18562
18563 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18564 "history-append! type error".
18565
6ef284bd
SM
185662014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18567
18568 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18569 erroneous dprintf expected input.
18570
a872e241
DE
185712014-06-04 Doug Evans <xdje42@gmail.com>
18572
18573 * gdb.guile/scm-generics.exp: Delete.
18574
16f691fb
DE
185752014-06-04 Doug Evans <xdje42@gmail.com>
18576
18577 * gdb.guile/scm-breakpoint.exp: Update.
18578 Add tests for breakpoint registration.
18579
012370f6
TT
185802014-06-04 Tom Tromey <tromey@redhat.com>
18581
18582 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18583 VLA-in-union.
18584 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18585 inner_vla_struct, vla_union types. Initialize objects of those
18586 types and compute their sizes.
18587
9f5a4cef
HZ
185882014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18589 Hui Zhu <hui@codesourcery.com>
18590
18591 * gdb.base/fileio.exp: Add test for shell not available as well as
18592 available.
18593 * gdb.base/fileio.c (test_system): Check for shell twice.
18594
90a45c4d
YQ
185952014-06-04 Yao Qi <yao@codesourcery.com>
18596
18597 * gdb.base/auto-connect-native-target.exp: Remove redundant
18598 space from the regexp pattern.
18599
70017e41
YQ
186002014-06-04 Yao Qi <yao@codesourcery.com>
18601
18602 * gdb.base/default.exp: Replace "child" with "native" in
18603 regexp pattern.
18604
883964a7
SC
186052014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18606
18607 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18608 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18609 * gdb.python/py-xmethods.py: Python script supporting the
18610 new testcase and tests.
18611
ef370185
JB
186122014-06-03 Joel Brobecker <brobecker@adacore.com>
18613 Pedro Alves <palves@redhat.com>
18614
18615 PR breakpoints/17000
18616 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18617 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18618
1e2ccb61
BM
186192014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18620
18621 * gdb.base/subst.exp: Add tests to verify partial path matching
18622 output.
18623
c6ec5ab2
PA
186242014-06-03 Pedro Alves <palves@redhat.com>
18625
18626 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18627 target that doesn't use software single-stepping.
18628
835c559f
PA
186292014-06-03 Pedro Alves <palves@redhat.com>
18630
18631 PR breakpoints/17000
18632 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18633 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18634
06eb1586
DE
186352014-06-02 Doug Evans <xdje42@gmail.com>
18636
18637 * gdb.guile/scm-parameter.exp: New file.
18638
e698b8c4
DE
186392014-06-02 Doug Evans <xdje42@gmail.com>
18640
18641 * gdb.guile/scm-cmd.c: New file.
18642 * gdb.guile/scm-cmd.exp: New file.
18643
ded03782
DE
186442014-06-02 Doug Evans <xdje42@gmail.com>
18645
18646 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18647 pretty-printer lookup.
18648 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18649 (make-pp_s-printer): Call it.
18650 (make-pretty-printer-from-dict): New function.
18651 (lookup-pretty-printer-maker-from-dict): New function.
18652 (*pretty-printer*): Simplify.
18653 (make-objfile-pp_s-printer): New function.
18654 (install-objfile-pretty-printers!): New function.
18655 (make-progspace-pp_s-printer): New function.
18656 (install-progspace-pretty-printers!): New function.
18657 * gdb.guile/scm-progspace.c: New file.
18658 * gdb.guile/scm-progspace.exp: New file.
18659
41fac0cf
PA
186602014-06-02 Pedro Alves <palves@redhat.com>
18661
18662 * gdb.base/dprintf-bp-same-addr.c: New file.
18663 * gdb.base/dprintf-bp-same-addr.exp: New file.
18664
96ae5695
EBM
186652014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18666
18667 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18668 * gdb.arch/powerpc-power.s: Likewise.
18669
da02b3a8
JB
186702014-06-02 Joel Brobecker <brobecker@adacore.com>
18671
18672 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18673
c72b2e7b
YQ
186742014-06-01 Yao Qi <yao@codesourcery.com>
18675
18676 * gdb.base/watchpoint.exp (test_watch_location): Check null
18677 pointer can be dereferenced. If not, do the test, otherwise
18678 skip it.
18679
53e8a631
AB
186802014-05-30 Andrew Burgess <aburgess@broadcom.com>
18681
18682 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18683 results.
18684 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18685
938f0e2f
AB
186862014-05-30 Andrew Burgess <aburgess@broadcom.com>
18687
18688 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18689 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18690 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18691 * gdb.arch/amd64-invalid-stack-top.c: New file.
18692 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18693
9ba6657a
PA
186942014-05-30 Pedro Alves <palves@redhat.com>
18695
18696 PR breakpoints/17000
18697 * gdb.base/sss-bp-on-user-bp.c: New file.
18698 * gdb.base/sss-bp-on-user-bp.exp: New file.
18699
522c09bf
DB
187002014-05-30 David Blaikie <dblaikie@gmail.com>
18701
18702 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18703 gnu_inline semantics via attribute.
18704 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18705 source explicitly specifies the required semantics.
18706
bf4ef81e
MR
187072014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18708
18709 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18710
329ea579
PA
187112014-05-29 Pedro Alves <palves@redhat.com>
18712 Tom Tromey <tromey@redhat.com>
18713
18714 * gdb.base/async-shell.exp: Don't enable target-async.
18715 * gdb.base/async.exp
18716 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18717 parameter. Adjust.
18718 (top level): Don't test with "target-async".
18719 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18720 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18721 * gdb.base/inferior-died.exp: Don't enable target-async.
18722 * gdb.base/interrupt-noterm.exp: Likewise.
18723 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18724 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18725 * gdb.mi/mi-nonstop.exp: Likewise.
18726 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18727 * gdb.mi/mi-nsintrall.exp: Likewise.
18728 * gdb.mi/mi-nsmoribund.exp: Likewise.
18729 * gdb.mi/mi-nsthrexec.exp: Likewise.
18730 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18731 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18732 * gdb.python/py-evsignal.exp: Don't enable target-async.
18733 * gdb.python/py-evthreads.exp: Likewise.
18734 * gdb.python/py-prompt.exp: Likewise.
18735 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18736 * gdb.server/solib-list.exp: Don't enable target-async.
18737 * gdb.threads/thread-specific-bp.exp: Likewise.
18738 * lib/mi-support.exp: Adjust to use mi-async.
18739
fd664c91
PA
187402014-05-29 Pedro Alves <palves@redhat.com>
18741
18742 PR gdb/13860
18743 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18744 reason, even in sync mode.
18745
251bde03
PA
187462014-05-29 Pedro Alves <palves@redhat.com>
18747 Hui Zhu <hui@codesourcery.com>
18748
18749 PR PR15693
18750 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18751 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18752 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18753 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18754
7f3c0343
JB
187552014-05-28 Joel Brobecker <brobecker@adacore.com>
18756
18757 * config/monitor.exp (gdb_target_monitor): Replace use of
18758 "set remotebaud" by "set serial baud".
18759
b2715b27
AW
187602014-05-26 Andy Wingo <wingo@igalia.com>
18761
18762 * gdb.guile/scm-breakpoint.exp:
18763 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18764 properties instead of gdb-object-properties.
18765
498a4489
YQ
187662014-05-26 Yao Qi <yao@codesourcery.com>
18767
18768 * gdb.server/no-thread-db.exp: Specify source file name
18769 explicitly when setting a breakpoint.
18770
589fdceb
MM
187712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18772
18773 * gdb.btrace/vdso.c: New.
18774 * gdb.btrace/vdso.exp: New.
18775
e9089e05
MM
187762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18777
18778 * gdb.base/gcore.exp (capture_command_output): Move ...
18779 * lib/gdb.exp (capture_command_output): ... here.
18780
67b5c0c1
MM
187812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18782
18783 * gdb.btrace/data.exp: Test memory access during btrace replay.
18784
a2199296
SM
187852014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18786
18787 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18788
17b2616c
PA
187892014-05-21 Pedro Alves <palves@redhat.com>
18790
18791 PR gdb/13860
18792 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18793 (top level): Test that output related to execution commands is
18794 sent to the console with CLI commands, but not with MI commands.
18795 Test that breakpoint events are always mirrored to the console.
18796 Also expect the new source line to be output after a "next" in
18797 async mode too. Make it a pass/fail test.
18798 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18799 output.
18800 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18801
5166082f
PA
188022014-05-21 Pedro Alves <palves@redhat.com>
18803
18804 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18805 Use them to test variations of "list" after reaching a breakpoint.
18806 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18807 Test "list" with listsize 10 after reaching a breakpoint.
18808 * gdb.python/python.exp (decode_line current location line
18809 number): Adjust expected line number.
18810
2f25d70f
SM
188112014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18812
18813 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18814 behavior for $args, pass it directly to "run".
18815
ff604a67
MR
188162014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18817
18818 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18819 30000 to 65536.
18820
6a3cb8e8
PA
188212014-05-21 Pedro Alves <palves@redhat.com>
18822
18823 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18824 auto-connect-native-target off".
18825 * gdb.base/auto-connect-native-target.c: New file.
18826 * gdb.base/auto-connect-native-target.exp: New file.
18827
4ebfc96e
PA
188282014-05-21 Pedro Alves <palves@redhat.com>
18829
18830 * gdb.base/default.exp: Test "target native" instead of "target
18831 child".
18832
36d46afb
MW
188332014-05-21 Mark Wielaard <mjw@redhat.com>
18834
18835 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18836
5876f503
JK
188372014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18838
18839 Fix TLS access for -static -pthread.
18840 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18841 <HAVE_TLS> (thread_function, main): Initialize it.
18842 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18843 Add clean_restart.
18844 <$have_tls != "">: Check TLSVAR.
18845
0256a6ac
PA
188462014-05-21 Pedro Alves <palves@redhat.com>
18847
18848 * gdb.base/dcache-line-read-error.c: New.
18849 * gdb.base/dcache-line-read-error.exp: New.
18850
936d2992
PA
188512014-05-20 Pedro Alves <palves@redhat.com>
18852
18853 * gdb.base/compare-sections.c: New file.
18854 * gdb.base/compare-sections.exp: New file.
18855
802e8e6d
PA
188562014-05-20 Pedro Alves <palves@redhat.com>
18857
18858 * gdb.base/break-idempotent.c: New file.
18859 * gdb.base/break-idempotent.exp: New file.
18860
e59fa00f
MM
188612014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18862
18863 * gdb.btrace/nohist.exp: New.
18864
8b696e31
YQ
188652014-05-20 Yao Qi <yao@codesourcery.com>
18866
18867 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18868 gdb.reverse directory and gdb_reverse_timeout exists in board
18869 setting.
18870 * README: Document gdb_reverse_timeout.
18871
73c9764f
YQ
188722014-05-20 Yao Qi <yao@codesourcery.com>
18873
18874 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18875 'test_file_name'. Treat args as a string instead of a list.
18876 (gdb_init): Rename argument 'args' by 'test_file_name'.
18877
f1f4348a
JK
188782014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18879
18880 * gdb.arch/powerpc-power.exp: New file.
18881 * gdb.arch/powerpc-power.s: New file.
18882
0dbe70ce
DE
188832014-05-16 Doug Evans <dje@google.com>
18884
18885 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18886 * gdb.base/completion.exp: Check that all expected files exist
18887 before doing file completion.
0dbe70ce 18888
8d551b02
DE
188892014-05-16 Doug Evans <dje@google.com>
18890
18891 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18892 Update.
18893 (do_syscall_tests_without_xml): Update.
18894
73eb7709
PA
188952014-05-16 Pedro Alves <palves@redhat.com>
18896
18897 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18898 instead of "unknown output after running".
18899
3fae92fc
YQ
189002014-05-16 Yao Qi <yao@codesourcery.com>
18901
18902 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18903 file1.txt from host at the end.
18904 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18905
c2b2ccc5
DE
189062014-05-15 Doug Evans <dje@google.com>
18907
18908 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18909 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18910 loading file. Add test for TU lookup.
18911
8c217a4b
SM
189122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18913
18914 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18915 calling "-exec-arguments" or "set args" before running the
18916 inferior.
18917
3deb39c6
SM
189182014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18919
18920 * lib/mi-support.exp (mi_expect_stop): Expect message for
18921 inferiors that exit with non-zero exit code.
18922
71a79f8c
YQ
189232014-05-14 Yao Qi <yao@codesourcery.com>
18924
18925 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18926 match absolute path on remote host.
18927 (test_file_list_exec_source_files): Remove "/" from the
18928 pattern.
18929
f23fcd46
YQ
189302014-05-14 Yao Qi <yao@codesourcery.com>
18931
18932 * boards/local-remote-host-notty.exp (${board}_file): New
18933 proc.
18934
9404b58f
KM
189352014-05-07 Kyle McMartin <kyle@redhat.com>
18936
18937 Pushed by Joel Brobecker <brobecker@adacore.com>.
18938 * gdb.arch/aarch64-atomic-inst.c: New file.
18939 * gdb.arch/aarch64-atomic-inst.exp: New file.
18940
5e45f04c
YQ
189412014-05-07 Yao Qi <yao@codesourcery.com>
18942
18943 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18944 in current context" too.
18945
c888a17d
KS
189462014-05-05 Keith Seitz <keiths@redhat.com>
18947
18948 * gdb.linespec/ls-dollar.exp: Add test for linespec
18949 file:convenience_variable.
18950
290a839c
YQ
189512014-05-05 Yao Qi <yao@codesourcery.com>
18952
18953 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18954 traceframes into tfile and ctf trace files. Read data from
18955 trace file and test collected data.
18956 (gdb_collect_locals_test): Likewise.
18957 (gdb_unavailable_registers_test): Likewise.
18958 (gdb_unavailable_floats): Likewise.
18959 (gdb_collect_globals_test): Likewise.
18960 (top-level): Append "ctf" to trace_file_targets if GDB
18961 supports.
18962
b5262cd0
YQ
189632014-05-05 Yao Qi <yao@codesourcery.com>
18964
18965 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18966 code to ...
18967 (gdb_collect_args_test_1): ... it. New proc.
18968 (gdb_collect_locals_test): Move some code to ...
18969 (gdb_collect_locals_test_1): ... it. New proc.
18970 (gdb_unavailable_registers_test): Move some code to ...
18971 (gdb_unavailable_registers_test_1): ... it. New proc.
18972 (gdb_unavailable_floats): Move some code to ...
18973 (gdb_unavailable_floats_1): ... it. New proc.
18974
30a1e6cc
SDJ
189752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18976
18977 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18978 probes to test for bitness recognition.
18979 * gdb.arch/amd64-stap-optional-prefix.exp
18980 (test_probe_value_without_reg): New procedure.
18981 Add code to test for different kinds of bitness.
18982
f33da99a
SDJ
189832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18984
18985 PR breakpoints/16889
18986 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18987 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18988
5b80f00d
PA
189892014-05-01 Pedro Alves <palves@redhat.com>
18990
18991 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18992 gdb_file_cmd if no file is specified.
18993 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18994 last_loaded_file to set the remote exec-file.
18995
f8c2a73c
PA
189962014-05-01 Pedro Alves <palves@redhat.com>
18997
18998 * boards/local-remote-host.exp: New file.
18999
be6e8ac7
PA
190002014-05-01 Pedro Alves <palves@redhat.com>
19001
19002 * boards/local-remote-host.exp: Rename to ...
19003 * boards/local-remote-host-notty.exp: ... this.
19004
cac0dc8f
JB
190052014-04-28 Joel Brobecker <brobecker@adacore.com>
19006
19007 * gdb.ada/dyn_arrayidx: New testcase.
19008
9730e6cc
YQ
190092014-04-26 Yao Qi <yao@codesourcery.com>
19010
19011 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19012 and compute the length of function main. Save it in
19013 $main_length.
19014 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19015 (top-level): Use gdb_compile to compile objects into
19016 executable and restart GDB. Remove invocation to
19017 prepare_for_testing.
19018
7ae1a6a6
PA
190192014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19020 Pedro Alves <palves@redhat.com>
19021
19022 PR server/16255
19023 * gdb.multi/multi-attach.c: New file.
19024 * gdb.multi/multi-attach.exp: New file.
19025
4082afcc
PA
190262014-04-25 Pedro Alves <palves@redhat.com>
19027
19028 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19029 user.
19030 (top level): Test that "set remote conditional-breakpoints-packet
19031 off" works as intended.
19032 * gdb.base/dprintf.exp: Test that "set remote
19033 breakpoint-commands-packet off" works as intended.
19034 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19035 New function.
19036 (top level): Call it.
19037 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19038 remote fast-tracepoints-packet off" works as intended.
19039 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19040 * lib/gdb.exp (gdb_is_target_remote): ... here.
19041
2abc3f8d
DB
190422014-04-24 David Blaikie <dblaikie@gmail.com>
19043
19044 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19045 ensure clang would not discard them.
19046 * gdb.base/gdbvars.c: Ditto.
19047 * gdb.base/memattr.c: Ditto.
19048 * gdb.base/whatis.c: Ditto.
19049 * gdb.python/py-prettyprint.c: Ditto.
19050 * gdb.trace/actions.c: Ditto.
19051 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19052 ensure clang would not discard it.
19053
bfd39632
DB
190542014-04-24 David Blaikie <dblaikie@gmail.com>
19055
19056 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19057 clang to emit the full definition of type required by the test
19058 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19059
22842ff6
DB
190602014-04-24 David Blaikie <dblaikie@gmail.com>
19061
19062 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19063 coax Clang into emitting the definition of the type.
19064 * gdb.cp/pr10728-x.h (y): Ditto.
19065 * gdb.cp/pr10728-y.cc (y): Ditto.
19066
c2e827ad
DB
190672014-04-24 David Blaikie <dblaikie@gmail.com>
19068
19069 * gdb.base/label.exp: XFAIL label related tests under Clang.
19070 * gdb.cp/cplabel.exp: Ditto.
19071 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19072 under Clang those using labels.
19073
4c2d33e7
YQ
190742014-04-25 Yao Qi <yao@codesourcery.com>
19075
19076 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19077 double_label.
19078 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19079 partial_label and double_label.
19080
56083b99
DB
190812014-04-24 David Blaikie <dblaikie@gmail.com>
19082
19083 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19084
25d4e99d
DB
190852014-04-24 David Blaikie <dblaikie@gmail.com>
19086
19087 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19088 of the function to work across GCC and Clang.
19089 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19090 pointer types (const void ** const V void **).
19091
01f9f808
MS
190922014-04-24 Michael Sturm <michael.sturm@mintel.com>
19093 Walfred Tedeschi <walfred.tedeschi@intel.com>
19094
19095 * Makefile.in (EXECUTABLES): Added i386-avx512.
19096 * gdb.arch/i386-avx512.c: New file.
19097 * gdb.arch/i386-avx512.exp: Likewise.
19098
4b48d439
KS
190992014-04-23 Keith Seitz <keiths@redhat.com>
19100
19101 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19102 (mi_make_breakpoint_table): New procedure.
19103 (mi_create_breakpoint): Use mi_make_breakpoint
19104 and return the result.
19105 (mi_make_breakpoint): New procedure.
19106 (mi_build_kv_pairs): New procedure.
19107
19108 * gdb.mi/mi-break.exp: Remove unused globals,
19109 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19110 All callers updated.
19111 * gdb.mi/mi-dprintf.exp: Use variable to track command
19112 number.
19113 Update all callers of mi_create_breakpoint and use
19114 mi_make_breakpoint_table.
19115 Remove any unused global variables.
19116 * gdb.mi/mi-nonstop.exp: Likewise.
19117 * gdb.mi/mi-nsintrall.exp: Likewise.
19118 * gdb.mi/mi-nsmoribund.exp: Likewise.
19119 * gdb.mi/mi-nsthrexec.exp: Likewise.
19120 * gdb.mi/mi-reverse.exp: Likewise.
19121 * gdb.mi/mi-simplerun.exp: Likewise.
19122 * gdb.mi/mi-stepn.exp: Likewise.
19123 * gdb.mi/mi-syn-frame.exp: Likewise.
19124 * gdb.mi/mi-until.exp: Likewise.
19125 * gdb.mi/mi-var-cp.exp: Likewise.
19126 * gdb.mi/mi-var-display.exp: Likewise.
19127 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19128 * gdb.mi/mi2-var-child.exp: Likewise.
19129 * gdb.mi/mi-vla-c99.exp: Likewise.
19130 * lib/mi-support.exp: Likewise.
19131
19132 From Ian Lance Taylor <iant@cygnus.com>:
19133 * lib/gdb.exp (parse_args): New procedure.
19134
08351840
PA
191352014-04-23 Pedro Alves <palves@redhat.com>
19136
19137 * gdb.base/break-unload-file.c: New file.
19138 * gdb.base/break-unload-file.exp: New file.
19139 * gdb.base/sym-file-lib.c (baz): New function.
19140 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19141 field.
19142 (load): Store the segment's mapped size.
19143 (unload): New function.
19144 (unload_shlib): New function.
19145 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19146 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19147 set a breakpoint at baz, and call it.
19148 * gdb.base/sym-file.exp: New tests for stale breakpoint
19149 instructions.
19150
076855f9
PA
191512014-04-23 Pedro Alves <palves@redhat.com>
19152
19153 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19154 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19155 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19156 * gdb.base/hbreak-unmapped.c: New file.
19157 * gdb.base/hbreak-unmapped.exp: New file.
19158 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19159 * lib/gdb.exp (gdb_is_target_remote): ... here.
19160
483805cf
PA
191612014-04-22 Pedro Alves <palves@redhat.com>
19162
19163 * gdb.base/consecutive-step-over.c: New file.
19164 * gdb.base/consecutive-step-over.exp: New file.
19165
06d97543
PA
191662014-04-22 Pedro Alves <palves@redhat.com>
19167
19168 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19169 instead of send_gdb/gdb_expect.
19170
b4429ea2
YQ
191712014-04-22 Yao Qi <yao@codesourcery.com>
19172
19173 * lib/trace-support.exp (generate_tracefile): New procedure.
19174 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19175 return 0.
19176 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19177 if generate_tracefile returns 1.
19178
51d48146
PA
191792014-04-18 Tom Tromey <palves@redhat.com>
19180 Pedro alves <tromey@redhat.com>
19181
19182 PR backtrace/15558
19183 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19184 with a backtrace limit.
19185 * gdb.python/py-frame-inline.exp: Test running to an inline
19186 function with a backtrace limit, and printing the newest frame.
19187 * gdb.python/py-frame-inline.c (main): Call f.
19188
bd1dce5f
MS
191892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19190
19191 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19192
40d1a503
MS
191932014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19194
19195 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19196 Drop prefix from unsupported source file path.
19197
389b98f7
YQ
191982014-04-17 Yao Qi <yao@codesourcery.com>
19199
19200 * lib/gdb.exp (with_target_charset): New proc.
19201 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19202 with_target_charset.
19203 (test_print_strings): Likewise.
19204 (test_repeat_bytes): Likewise.
19205 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19206 for some tests.
19207
22869d73
KS
192082014-04-16 Keith Seitz <keiths@redhat.com>
19209
19210 PR gdb/15827
19211 * gdb.dwarf2/corrupt.c: New file.
19212 * gdb.dwarf2/corrupt.exp: New file.
19213
c4f87ca6
KS
192142014-04-16 Keith Seitz <keiths@redhat.com>
19215
19216 PR c++/16597
19217 * gdb.cp/namelessclass.cc: New file.
19218 * gdb.cp/namelessclass.exp: New file.
19219 * gdb.cp/namelessclass.S: New file.
19220
ab19de87
DE
192212014-04-16 Doug Evans <dje@google.com>
19222
19223 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19224 Add comment.
19225 (gdbserver_default_get_comm_port): New function.
19226 (gdbserver_start): Check if board file provided
19227 "gdbserver,get_comm_port" and use it if so.
19228 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19229 (gdb,socketport): Set to "stdio".
19230 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19231 (stdio_gdbserver_template): Delete.
19232 (${board}_get_remote_address): Update.
19233 (${board}_build_remote_cmd): Delete.
19234 (${board}_get_comm_port): New function.
19235 (${board}_spawn): Update.
19236 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19237 Delete.
19238 (${board}_get_remote_address): Update.
19239 (${board}_get_comm_port): New function.
19240
fc98a809
AB
192412014-04-16 Andrew Burgess <aburgess@broadcom.com>
19242
19243 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19244 appearing in any order.
19245
87fd9e6e
DE
192462014-04-15 Doug Evans <dje@google.com>
19247
19248 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19249 uninitialized value of "description".
19250
099fc3ea
KS
192512014-04-15 Keith Seitz <keiths@redhat.com>
19252
19253 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19254 Remove unused globals.
19255 (test_running_the_program): Likewise.
19256 (test_controlled_execution): Likewise.
19257 (test_controlling_breakpoints): Likewise.
19258 (test_program_termination): Likewise.
19259
5da151d4
KS
192602014-04-15 Keith Seitz <keiths@redhat.com>
19261
19262 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19263 unused globals.
19264 (test_rbreak_creation_and_listing): Likewise.
19265 (test_ignore_count): Likewise.
19266 (test_error): Likewise.
19267
35e5d2f0
PA
192682014-04-15 Pedro Alves <palves@redhat.com>
19269
19270 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19271 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19272 sym-file-loader.c.
19273 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19274 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19275 to sym-file-loader.c.
19276 (struct library): Forward declare.
19277 (load_shlib, lookup_function): Change prototypes.
19278 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19279 (translate_offset): Remove declarations.
19280 (get_text_addr): New declaration.
19281 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19282 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19283 sym-file-loader.h.
19284 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19285 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19286 here from sym-file-loader.h.
19287 (struct library): New structure.
19288 (load_shlib, lookup_function): Change prototypes and adjust to
19289 work with a struct library.
19290 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19291 (translate_offset): Make static.
19292 (get_text_addr): New function.
19293 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19294
eb4c1710
PA
192952014-04-15 Pedro Alves <palves@redhat.com>
19296
19297 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19298
2d1baf52
PA
192992014-04-15 Pedro Alves <palves@redhat.com>
19300
19301 * gdb.base/sym-file-loader.c: Include <limits.h>.
19302 (SELF_LINK): New define.
19303 (get_origin): New function.
19304 (load_shlib): Use it.
19305 * gdb.base/sym-file.exp: Don't early return if the target is
19306 remote. Use runto_main, and issue fail is that fails. Use
19307 gdb_load_shlibs.
19308 (shlib_name): Delete.
19309 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19310
7dd6df01
PA
193112014-04-15 Pedro Alves <palves@redhat.com>
19312
19313 * gdb.base/sym-file.exp: Remove regex characters from test
19314 message. Don't refer to breakpoint numbers in test messages.
19315
b50c8614
KS
193162014-04-14 Keith Seitz <keiths@redhat.com>
19317
19318 PR c++/16253
19319 * gdb.cp/var-tag.cc: New file.
19320 * gdb.cp/var-tag.exp: New file.
19321 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19322 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19323 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19324 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19325
3d567982
TT
193262014-04-14 Tom Tromey <tromey@redhat.com>
19327
19328 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19329 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19330 type.
19331 * gdb.cp/enum-class.exp: New file.
19332 * gdb.cp/enum-class.cc: New file.
19333
0626fc76
TT
193342014-04-14 Tom Tromey <tromey@redhat.com>
19335
19336 * gdb.dwarf2/enum-type.exp: New file.
19337
dca325b3
SA
193382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19339
19340 * gdb.mi/mi-vla-c99.exp: New file.
19341 * gdb.mi/vla.c: New file.
19342
5854b38a
SA
193432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19344
19345 * gdb.base/vla-datatypes.c: New file.
19346 * gdb.base/vla-datatypes.exp: New file.
19347
463bb957
SA
193482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19349
19350 * gdb.base/vla-ptr.c: New file.
19351 * gdb.base/vla-ptr.exp: New file.
19352
3dd170be
SA
193532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19354
19355 * gdb.dwarf2/count.exp: New file.
19356
5ecaaa66
SA
193572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19358
19359 * gdb.base/vla-sideeffect.c: New file.
19360 * gdb.base/vla-sideeffect.exp: New file.
19361
41f1ada5
DB
193622014-04-14 David Blaikie <dblaikie@gmail.com>
19363
19364 * gdb.mi/non-stop.c: Add return value for non-void function return
19365 statement.
19366 * gdb.threads/staticthreads.c: Ditto.
19367
0be03e84
DE
193682014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19369 Doug Evans <xdje42@gmail.com>
19370
19371 * gdb.guile/scm-value.c: Improve test case.
19372 * gdb.guile/scm-value.exp: Add new test.
19373
f180a1fb
DB
193742014-04-11 David Blaikie <dblaikie@gmail.com>
19375
19376 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19377 override Clang's default.
19378
6b662e19
JB
193792014-04-11 Joel Brobecker <brobecker@adacore.com>
19380
19381 Revert the following changes (regressions):
19382
19383 * gdb.base/vla-sideeffect.c: New file.
19384 * gdb.base/vla-sideeffect.exp: New file.
19385
19386 * gdb.dwarf2/count.exp: New file.
19387
19388 * gdb.base/vla-multi.c: New file.
19389 * gdb.base/vla-multi.exp: New file.
19390
19391 * gdb.base/vla-ptr.c: New file.
19392 * gdb.base/vla-ptr.exp: New file.
19393
19394 * gdb.base/vla-datatypes.c: New file.
19395 * gdb.base/vla-datatypes.exp: New file.
19396
19397 * gdb.mi/mi-vla-c99.exp: New file.
19398 * gdb.mi/vla.c: New file.
19399
245a5f0b
KS
194002014-04-11 Keith Seitz <keiths@redhat.com>
19401
19402 PR c++/16675
19403 * gdb.cp/cpsizeof.exp: New file.
19404 * gdb.cp/cpsizeof.cc: New file.
19405
58a84dcf
SA
194062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19407
191a8a90
JB
19408 * gdb.mi/mi-vla-c99.exp: New file.
19409 * gdb.mi/vla.c: New file.
58a84dcf 19410
c8655f75
SA
194112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19412
19413 * gdb.base/vla-datatypes.c: New file.
19414 * gdb.base/vla-datatypes.exp: New file.
19415
024e13b4
SA
194162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19417
19418 * gdb.base/vla-ptr.c: New file.
19419 * gdb.base/vla-ptr.exp: New file.
19420
1a237e0e
SA
194212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19422
19423 * gdb.base/vla-multi.c: New file.
19424 * gdb.base/vla-multi.exp: New file.
19425
504f3432
SA
194262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19427
19428 * gdb.dwarf2/count.exp: New file.
19429
3bce8237
SA
194302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19431
191a8a90
JB
19432 * gdb.base/vla-sideeffect.c: New file.
19433 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19434
322f9c21
YQ
194352014-04-11 Yao Qi <yao@codesourcery.com>
19436
19437 * gdb.base/completion.exp: Check file exists before running tests
19438 on file completion.
19439
d708bcd1
PA
194402014-04-10 Pedro Alves <palves@redhat.com>
19441
19442 * gdb.base/cond-eval-mode.c: New file.
19443 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19444 prepare_for_testing to build the new file. Check result of
19445 runto_main.
19446 (test_break, test_watch): New procedures.
19447 (top level): Use them.
19448
ae1d2761
PM
194492014-04-08 Pierre Muller <muller@sourceware.org>
19450
19451 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19452 Ctrl-V use for mingw hosts.
19453
7af389b8
SC
194542014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19455
19456 * gdb.python/py-value.c: Improve test case.
19457 * gdb.python/py-value.exp: Add new test.
19458
5e703181
DE
194592014-04-07 David Blaikie <dblaikie@gmail.com>
19460
19461 * lib/compiler.c: Identify the clang compiler.
19462 * lib/compiler.cc: Ditto.
19463
9810b410
YQ
194642014-04-03 Yao Qi <yao@codesourcery.com>
19465
19466 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19467
98d1b8dc
AB
194682014-04-01 Anton Blanchard <anton@samba.org>
19469
19470 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19471 messages unique.
19472
3114cea1
AB
194732014-04-01 Anton Blanchard <anton@samba.org>
19474
19475 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19476 prepare_for_testing.
19477
62f7182c
AB
194782014-04-01 Anton Blanchard <anton@samba.org>
19479
19480 * gdb.arch/ppc64-atomic-inst.c: Remove.
19481 * gdb.arch/ppc64-atomic-inst.S: New file.
19482 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19483
770e7fc7
DE
194842014-03-31 Doug Evans <dje@google.com>
19485
19486 * gdb.base/print-symbol-loading-lib.c: New file.
19487 * gdb.base/print-symbol-loading-main.c: New file.
19488 * gdb.base/print-symbol-loading.exp: New file.
19489
46e2bafa
YQ
194902014-03-31 Yao Qi <yao@codesourcery.com>
19491
19492 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19493
8776cfe9
JB
194942014-03-28 Joel Brobecker <brobecker@adacore.com>
19495
19496 * gdb.ada/mi_dyn_arr: New testcase.
19497
5d1ef361
DE
194982014-03-27 Doug Evans <dje@google.com>
19499
19500 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19501
b5bee914
YQ
195022014-03-27 Yao Qi <yao@codesourcery.com>
19503
19504 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19505 if target is nios2-*-*.
19506
0d4d0e77
YQ
195072014-03-26 Yao Qi <yao@codesourcery.com>
19508
19509 * lib/gdb.exp (readline_is_used): New proc.
19510 * gdb.base/completion.exp: Move tests on command complete up.
19511 Skip the rest of tests if readline is not used.
19512 * gdb.ada/complete.exp: Skp the test if readline is not
19513 used.
19514 * gdb.base/filesym.exp: Likewise.
19515 * gdb.base/macscp.exp: Likewise.
19516 * gdb.base/readline-ask.exp: Likewise.
19517 * gdb.base/readline.exp: Likewise.
19518 * gdb.python/py-cmd.exp: Likewise.
19519 * gdb.trace/tfile.exp: Likewise.
19520
29361eee
YQ
195212014-03-26 Yao Qi <yao@codesourcery.com>
19522
19523 * gdb.base/macscp.exp: Fix code format issues.
19524
bc9a5525
UW
195252014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19526
19527 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19528 * gdb.asm/powerpc64le.inc: New file.
19529
d3839ede
PA
195302014-03-25 Pedro Alves <palves@redhat.com>
19531 Doug Evans <dje@google.com>
19532
19533 * gdb.base/source-execution.c: New file.
19534 * gdb.base/source-execution.exp: New file.
19535 * gdb.base/source-execution.gdb: New file.
19536
01672a57
DE
195372014-03-24 Doug Evans <dje@google.com>
19538
19539 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19540 using fission.
19541
88bbeca9
HZ
195422014-03-24 Hui Zhu <hui@codesourcery.com>
19543 Pedro Alves <palves@redhat.com>
19544
19545 PR breakpoints/16101
19546 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19547 test pass/fail messages. Detect missing support for dprintf when
19548 breakpoints are actually inserted.
19549 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19550 breakpoints are actually inserted.
19551 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19552 fails.
19553
d2348791
JK
195542014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19555
19556 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19557
feef67ab
DE
195582014-03-22 Doug Evans <xdje42@gmail.com>
19559
19560 * gdb.python/python.exp (python not supported): Verify multi-line
19561 python command issues an error.
25d743f9 19562 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19563 guile command issues an error.
feef67ab 19564
ecebef6a
MR
195652014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19566
19567 * gdb.threads/thread-specific.exp: Handle the lack of usable
19568 $this_breakpoint and $this_thread.
19569
ccdd1909
HZ
195702014-03-21 Hui Zhu <hui@codesourcery.com>
19571
19572 * gdb.base/attach.exp (do_command_attach_tests): New.
19573
beb460e8
PA
195742014-03-20 Tom Tromey <tromey@redhat.com>
19575 Pedro Alves <palves@redhat.com>
19576
19577 PR cli/15718
19578 * gdb.base/condbreak-call-false.c: New file.
19579 * gdb.base/condbreak-call-false.exp: New file.
19580
40acf43a
PA
195812014-03-20 Pedro Alves <palves@redhat.com>
19582
19583 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19584 Delete.
19585 (block_signals, unblock_signals): Delete.
19586 (child_function_2, main): Remove references to deleted variable
19587 and functions.
19588
9f5e1e02
PA
195892014-03-20 Pedro Alves <palves@redhat.com>
19590
19591 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19592 Use pthread_kill to signal thread 2.
19593 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19594 Adjust to make the test send itself a signal rather than using the
19595 host's "kill" command.
19596
99619bea
PA
195972014-03-20 Pedro Alves <palves@redhat.com>
19598
19599 * gdb.threads/multiple-step-overs.c: New file.
19600 * gdb.threads/multiple-step-overs.exp: New file.
19601 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19602 Adjust expected infrun debug output.
19603
2adfaa28
PA
196042014-03-20 Pedro Alves <palves@redhat.com>
19605
19606 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19607 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19608
31e77af2
PA
196092014-03-20 Pedro Alves <palves@redhat.com>
19610
19611 PR breakpoints/7143
19612 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19613 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19614 of gdb_test_multiple.
19615 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19616 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19617
b9f437de
PA
196182014-03-20 Pedro Alves <palves@redhat.com>
19619
19620 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19621 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19622
05adc73e
PA
196232014-03-19 Pedro Alves <palves@redhat.com>
19624
19625 * gdb.base/async.exp: Remove early return.
19626
6048b950
PA
196272014-03-19 Pedro Alves <palves@redhat.com>
19628
19629 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19630
8bcfb00a
PA
196312014-03-19 Pedro Alves <palves@redhat.com>
19632
19633 * gdb.base/async.exp (test_background): Expect \r\n after
19634 "completed." in the fail pattern.
19635
884e37dc
PA
196362014-03-19 Pedro Alves <palves@redhat.com>
19637
19638 * gdb.base/async.exp (test_background): New procedure.
19639 Use it for all background execution command tests.
19640
148e57e2
PA
196412014-03-19 Pedro Alves <palves@redhat.com>
19642
19643 * gdb.base/async.exp: Use prepare_for_testing.
19644
f48088c7
PA
196452014-03-19 Pedro Alves <palves@redhat.com>
19646
19647 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19648 the same line.
19649
e2f6c966
PA
196502014-03-19 Pedro Alves <palves@redhat.com>
19651
19652 * gdb.base/async.c (main): Add "jump here" and "until here" line
19653 marker comments.
19654 * gdb.base/async.exp (jump_here): New global.
19655 (jump& test): Use it.
19656 (until_here): New global.
19657 (until& test): Use it.
19658
c30568d4
PA
196592014-03-19 Pedro Alves <palves@redhat.com>
19660
19661 * gdb.base/async.exp: Don't frob gdb_protocol.
19662
0172b6a7
DE
196632014-03-18 Doug Evans <xdje42@gmail.com>
19664
19665 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19666 Fix spelling of exec-done-display.
19667
06c868a8
JK
196682014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19669
19670 PR gdb/15358
19671 * gdb.base/gdb-sigterm.c: New file.
19672 * gdb.base/gdb-sigterm.exp: New file.
19673
0c7e1a46
PA
196742014-03-18 Pedro Alves <palves@redhat.com>
19675
19676 PR gdb/13860
19677 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19678 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19679 solib-event.
19680
f7c77d93
JB
196812014-03-17 Joel Brobecker <brobecker@adacore.com>
19682
19683 * gdb.ada/pckd_arr_ren: New testcase.
19684
5a1e8c7a
DE
196852014-03-13 Doug Evans <xdje42@gmail.com>
19686
19687 PR guile/16612
19688 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19689 collect after discarding symbols.
19690
350e1a76
DE
196912014-03-13 Ludovic Courtès <ludo@gnu.org>
19692 Doug Evans <xdje42@gmail.com>
19693
19694 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19695 to history survives a gc.
19696
a69900ae
PA
196972014-03-13 Pedro Alves <palves@redhat.com>
19698
19699 * gdb.base/default.exp: Don't test "target procfs".
19700
5db9f0bd
PA
197012014-03-13 Pedro Alves <palves@redhat.com>
19702
19703 * gdb.base/default.exp: Update "target child" and "target procfs"
19704 tests to not expect "Unix".
19705
b3ccfe11
TT
197062014-03-12 Tom Tromey <tromey@redhat.com>
19707
19708 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19709 New procs. Add target-async tests.
19710 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19711 Add target-async tests.
19712
646f4417
AA
197132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19714
19715 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19716 'func_start' and 'func_end' for the beginning and end of the
19717 function code, respectively.
19718 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19719 'func_end' instead of 'func' and 'main'.
19720
288c211f
AA
197212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19722
19723 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19724 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19725 generate the debug info assembler source.
19726
e0c0f156
AA
197272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19728
19729 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19730 * gdb.dwarf2/arr-subrange.exp: Likewise.
19731 * gdb.dwarf2/dwz.exp: Likewise.
19732 * gdb.dwarf2/method-ptr.exp: Likewise.
19733 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19734 * gdb.dwarf2/subrange.exp: Likewise.
19735 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19736 * gdb.dwarf2/implptrpiece.exp: Likewise.
19737 * gdb.dwarf2/nostaticblock.exp: Likewise.
19738
0e5c4555
AA
197392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19740
19741 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19742 directory to absolute path name arguments.
19743
5ec18f2b
JG
197442014-03-10 Joel Brobecker <brobecker@adacore.com>
19745
19746 * gdb.ada/tagged_access: New testcase.
19747
847fc4f2
MM
197482014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19749
19750 * gdb.btrace/data.exp: Update expected output.
19751
cc3da688
YQ
197522014-03-06 Yao Qi <yao@codesourcery.com>
19753
19754 * gdb.trace/pr16508.exp: New file.
19755
0f26cec1
PA
197562014-03-05 Pedro Alves <palves@redhat.com>
19757
19758 PR gdb/16575
19759 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19760 procedure.
19761 (top level): Adjust to use it. Add tests that exercise breakpoint
19762 interaction with the code-cache.
19763
7a5a839f
LC
197642014-02-26 Ludovic Courtès <ludo@gnu.org>
19765
19766 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19767 test for 'history-append!'.
19768
31aa7e4e
JB
197692014-02-26 Joel Brobecker <brobecker@adacore.com>
19770
19771 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19772 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19773 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19774 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19775 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19776 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19777
1b588015
JB
197782014-02-26 Joel Brobecker <brobecker@adacore.com>
19779
19780 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19781 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19782 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19783
55426c9d
JB
197842014-02-26 Joel Brobecker <brobecker@adacore.com>
19785
19786 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19787
dc53a7ad
JB
197882014-02-26 Joel Brobecker <brobecker@adacore.com>
19789
19790 * gdb.dwarf2/arr-stride.c: New file.
19791 * gdb.dwarf2/arr-stride.exp: New file.
19792
12ab52e9
PA
197932014-02-26 Pedro Alves <palves@redhat.com>
19794
19795 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19796 that won't ever trigger. Make sure that GDB reports the correct
19797 breakpoint that caused the stop.
19798
849c862e
JK
197992014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19800
19801 PR gdb/16626
19802 * gdb.base/auto-load-script: New file.
19803 * gdb.base/auto-load.c: New file.
19804 * gdb.base/auto-load.exp: New file.
19805
71b7d793
JK
19806 PR gdb/16626
19807 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19808
e2f0d509
JK
198092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19810
19811 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19812 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19813
50cc37c8
DE
198142014-02-24 Doug Evans <dje@google.com>
19815
19816 * lib/gdb.exp (run_on_host): Log error output if program fails.
19817
ea4758f2
PA
198182014-02-21 Pedro Alves <palves@redhat.com>
19819
19820 * gdb.threads/step-after-sr-lock.c: Rename to ...
19821 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19822 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19823 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19824 ... this.
19825
d7b30f67
SDJ
198262014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19827
19828 PR tdep/16397
19829 * gdb.arch/amd64-stap-special-operands.exp: New file.
19830 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19831 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19832 * gdb.arch/amd64-stap-triplet.S: Likewise.
19833 * gdb.arch/amd64-stap-triplet.c: Likewise.
19834
83deb43f
JB
198352014-02-20 Joel Brobecker <brobecker@adacore.com>
19836
19837 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19838 in .section pseudo-op.
19839
adde2bff
DE
198402014-02-20 lin zuojian <manjian2006@gmail.com>
19841 Joel Brobecker <brobecker@adacore.com>
19842 Doug Evans <xdje42@gmail.com>
19843
19844 PR symtab/16581
19845 * gdb.dwarf2/dw2-icycle.S: New file.
19846 * gdb.dwarf2/dw2-icycle.c: New file.
19847 * gdb.dwarf2/dw2-icycle.exp: New file.
19848
f7bd0f78
SC
198492014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19850
19851 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19852 operations on gdb.Value objects.
19853 * gdb.python/py-value-cc.exp: Add new test to test operations on
19854 gdb.Value objects.
19855
c17ef0d5
DE
198562014-02-18 Doug Evans <dje@google.com>
19857
19858 * Makefile.in (TESTS): New variable.
19859 (expanded_tests, expanded_tests_or_none): New variables
19860 (check-single): Pass $(expanded_tests_or_none) to runtest.
19861 (check-parallel): Only run tests in $(TESTS) if non-empty.
19862 (check/no-matching-tests-found): New rule.
19863 * README: Document TESTS makefile variable.
19864
5dd3176f
DE
198652014-02-18 Doug Evans <dje@google.com>
19866
19867 * Makefile.in (check-parallel): rm -rf outputs temp.
19868
0b10be4f
JK
198692014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19870
19871 Fix "ERROR: no fileid for" in the testsuite.
19872 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19873
85f224e7
DE
198742014-02-12 Doug Evans <dje@google.com>
19875
19876 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19877 (MISCELLANEOUS): New variable.
19878 (clean): rm -rf $(MISCELLANEOUS).
19879 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19880 dwp live in the same directory as symlinks, with each symlink pointed
19881 to a differently named file in a different directory.
19882
149b30ff
DE
198832014-02-11 Doug Evans <dje@google.com>
19884
19885 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19886 of Tcl file commands.
19887
1dfdac32
MK
198882014-02-10 Mark Kettenis <kettenis@gnu.org>
19889
19890 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19891 "kill -SIGUSR1 -1".
19892
aa4fb036
JB
198932014-02-10 Joel Brobecker <brobecker@adacore.com>
19894
19895 * gdb.ada/tick_length_array_enum_idx: New testcase.
19896
ed3ef339
DE
198972014-02-10 Doug Evans <xdje42@gmail.com>
19898
19899 * configure.ac (AC_OUTPUT): Add gdb.guile.
19900 * configure: Regenerate.
19901 * lib/gdb-guile.exp: New file.
19902 * lib/gdb.exp (get_target_charset): New function.
19903 * gdb.base/help.exp: Update expected output from "apropos apropos".
19904 * gdb.guile/Makefile.in: New file.
19905 * gdb.guile/guile.exp: New file.
19906 * gdb.guile/scm-arch.c: New file.
19907 * gdb.guile/scm-arch.exp: New file.
19908 * gdb.guile/scm-block.c: New file.
19909 * gdb.guile/scm-block.exp: New file.
19910 * gdb.guile/scm-breakpoint.c: New file.
19911 * gdb.guile/scm-breakpoint.exp: New file.
19912 * gdb.guile/scm-disasm.c: New file.
19913 * gdb.guile/scm-disasm.exp: New file.
19914 * gdb.guile/scm-equal.c: New file.
19915 * gdb.guile/scm-equal.exp: New file.
19916 * gdb.guile/scm-error.exp: New file.
19917 * gdb.guile/scm-error.scm: New file.
19918 * gdb.guile/scm-frame-args.c: New file.
19919 * gdb.guile/scm-frame-args.exp: New file.
19920 * gdb.guile/scm-frame-args.scm: New file.
19921 * gdb.guile/scm-frame-inline.c: New file.
19922 * gdb.guile/scm-frame-inline.exp: New file.
19923 * gdb.guile/scm-frame.c: New file.
19924 * gdb.guile/scm-frame.exp: New file.
19925 * gdb.guile/scm-generics.exp: New file.
19926 * gdb.guile/scm-gsmob.exp: New file.
19927 * gdb.guile/scm-iterator.c: New file.
19928 * gdb.guile/scm-iterator.exp: New file.
19929 * gdb.guile/scm-math.c: New file.
19930 * gdb.guile/scm-math.exp: New file.
19931 * gdb.guile/scm-objfile-script-gdb.in: New file.
19932 * gdb.guile/scm-objfile-script.c: New file.
19933 * gdb.guile/scm-objfile-script.exp: New file.
19934 * gdb.guile/scm-objfile.c: New file.
19935 * gdb.guile/scm-objfile.exp: New file.
19936 * gdb.guile/scm-ports.exp: New file.
19937 * gdb.guile/scm-pretty-print.c: New file.
19938 * gdb.guile/scm-pretty-print.exp: New file.
19939 * gdb.guile/scm-pretty-print.scm: New file.
19940 * gdb.guile/scm-section-script.c: New file.
19941 * gdb.guile/scm-section-script.exp: New file.
19942 * gdb.guile/scm-section-script.scm: New file.
19943 * gdb.guile/scm-symbol.c: New file.
19944 * gdb.guile/scm-symbol.exp: New file.
19945 * gdb.guile/scm-symtab-2.c: New file.
19946 * gdb.guile/scm-symtab.c: New file.
19947 * gdb.guile/scm-symtab.exp: New file.
19948 * gdb.guile/scm-type.c: New file.
19949 * gdb.guile/scm-type.exp: New file.
19950 * gdb.guile/scm-value-cc.cc: New file.
19951 * gdb.guile/scm-value-cc.exp: New file.
19952 * gdb.guile/scm-value.c: New file.
19953 * gdb.guile/scm-value.exp: New file.
19954 * gdb.guile/source2.scm: New file.
19955 * gdb.guile/types-module.cc: New file.
19956 * gdb.guile/types-module.exp: New file.
19957
7026a7c1
YQ
199582014-02-10 Yao Qi <yao@codesourcery.com>
19959
19960 PR testsuite/16543
19961 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19962 * configure: Regenerated.
19963 * Makefile.in: New file.
19964
6c466447
AS
199652014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19966
19967 * gdb.python/py-framefilter.exp: Fix typo.
19968
6e854735
YQ
199692014-02-08 Yao Qi <yao@codesourcery.com>
19970
19971 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19972 that no =breakpoint-modified is emitted when breakpoints are
19973 modified through MI commands.
19974
d137e6dc
PA
199752014-02-07 Pedro Alves <pedro@codesourcery.com>
19976 Pedro Alves <palves@redhat.com>
19977
19978 * gdb.threads/step-after-sr-lock.c: New file.
19979 * gdb.threads/step-after-sr-lock.exp: New file.
19980
b5ee5a50
PA
199812014-02-07 Pedro Alves <palves@redhat.com>
19982
19983 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19984
3c77faf3
JK
199852014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19986
19987 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19988 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19989
6dddc817
DE
199902014-02-06 Doug Evans <xdje42@gmail.com>
19991
19992 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19993 output.
19994
19995 * gdb.gdb/python-interrupts.exp: New file.
19996
de7b2893
YQ
199972014-02-05 Yao Qi <yao@codesourcery.com>
19998
19999 * gdb.trace/report.exp (use_collected_data): Test the output
20000 of "info threads" and "info inferiors".
20001
66d032ac
YQ
200022014-02-05 Yao Qi <yao@codesourcery.com>
20003
20004 Revert this patch:
20005
20006 2013-05-24 Yao Qi <yao@codesourcery.com>
20007
20008 * gdb.trace/tfile.exp: Test inferior and thread.
20009
591a12a1
UW
200102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20011
20012 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20013 on a function.
20014 * gdb.base/step-bt.c: Call hello via function pointer to make
20015 sure its first instruction is executed on powerpc64le-linux.
20016
0ff3e01f
UW
200172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20018
20019 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20020
084ee545
UW
200212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20022
20023 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20024 of the test patterns for use on little-endian systems.
20025
6ed14ff3
UW
200262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20027
20028 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20029 (decimal_vector): Fix for little-endian.
20030
401e27fd
JM
200312014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20032
20033 * gdb.arch/sparc-sysstep.exp: New file.
20034 * gdb.arch/sparc-sysstep.c: Likewise.
20035
20036 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20037
8b924729
EBM
200382014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20039
20040 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20041
fb151210
JB
200422014-01-23 Tom Tromey <tromey@redhat.com>
20043
20044 * gdb.ada/array_char_idx: New testcase.
20045
0740f8d8
TT
200462014-01-23 Tom Tromey <tromey@redhat.com>
20047
20048 PR python/16487:
20049 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20050 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20051 classes.
20052
21909fa1
TT
200532014-01-23 Tom Tromey <tromey@redhat.com>
20054
20055 PR python/16491:
20056 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20057 string from an inferior frame.
20058 * gdb.python/py-framefilter-mi.exp: Update.
20059
87ce2a04
DE
200602014-01-22 Doug Evans <dje@google.com>
20061
20062 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20063
237b092b
AA
200642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20065
20066 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20067
d674a709
AA
200682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20069
20070 * gdb.trace/entry-values.exp: Remove excess space character from
20071 regex patterns. Handle s390 call instruction.
20072
20fa3390
AA
200732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20074
20075 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20076 define "*_start" label. Make "name" static.
20077 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20078 ${name} by references to ${name}_start.
20079
78466714
AA
200802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20081
20082 * gdb.base/info-macros.exp: Remove "debug" from the compile
20083 options.
20084
ec9f644a
IB
200852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20086
20087 * gdb.dlang/demangle.exp: New file.
20088
94b1b47e
IB
200892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20090
20091 * gdb.dlang/primitive-types.exp: New file.
20092
7f420862
IB
200932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20094
20095 * configure.ac: Create gdb.dlang/Makefile.
20096 * configure: Regenerate.
20097 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20098 * gdb.dlang/Makefile.in: New file.
20099 * lib/d-support.exp: New file.
20100 * lib/gdb.exp (skip_d_tests): New proc.
20101
52834460
MM
201022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20103
20104 * gdb.btrace/delta.exp: Check reverse stepi.
20105 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20106 * gdb.btrace/finish.exp: New.
20107 * gdb.btrace/next.exp: New.
20108 * gdb.btrace/nexti.exp: New.
20109 * gdb.btrace/record_goto.c: Add comments.
20110 * gdb.btrace/step.exp: New.
20111 * gdb.btrace/stepi.exp: New.
20112 * gdb.btrace/multi-thread-step.c: New.
20113 * gdb.btrace/multi-thread-step.exp: New.
20114 * gdb.btrace/rn-dl-bind.c: New.
20115 * gdb.btrace/rn-dl-bind.exp: New.
20116 * gdb.btrace/data.c: New.
20117 * gdb.btrace/data.exp: New.
20118 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20119
6e07b1d2
MM
201202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20121
20122 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20123 * gdb.btrace/exception.exp: Update.
20124 * gdb.btrace/instruction_history.exp: Update.
20125 * gdb.btrace/record_goto.exp: Update.
20126 * gdb.btrace/tailcall.exp: Update.
20127 * gdb.btrace/unknown_functions.exp: Update.
20128 * gdb.btrace/delta.exp: New.
20129
0b722aec
MM
201302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20131
20132 * gdb.btrace/record_goto.exp: Add backtrace test.
20133 * gdb.btrace/tailcall.exp: Add backtrace test.
20134
066ce621
MM
201352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20136
20137 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20138 * gdb.btrace/record_goto.c: New.
20139 * gdb.btrace/record_goto.exp: New.
20140 * gdb.btrace/x86-record_goto.S: New.
20141
0688d04e
MM
201422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20143
20144 * gdb.btrace/function_call_history.exp: Update tests.
20145 * gdb.btrace/instruction_history.exp: Update tests.
20146
8710b709
MM
201472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20148
20149 * gdb.btrace/function_call_history.exp: Fix expected field
20150 order for "record function-call-history".
20151 Add new tests for "record function-call-history /c".
20152 * gdb.btrace/exception.cc: New.
20153 * gdb.btrace/exception.exp: New.
20154 * gdb.btrace/tailcall.exp: New.
20155 * gdb.btrace/x86-tailcall.S: New.
20156 * gdb.btrace/x86-tailcall.c: New.
20157 * gdb.btrace/unknown_functions.c: New.
20158 * gdb.btrace/unknown_functions.exp: New.
20159 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20160
5de9129b
MM
201612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20162
20163 * gdb.btrace/instruction_history.exp: Update.
20164 * gdb.btrace/function_call_history.exp: Update.
20165
23a7fe75
MM
201662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20167
20168 * gdb.btrace/function_call_history.exp: Fix expected function
20169 trace.
20170 * gdb.btrace/instruction_history.exp: Initialize traced.
20171 Remove traced_functions.
20172
724c7dd8
MM
201732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20174
20175 * gdb.btrace/function_call_history.exp: Update
20176 * gdb.btrace/instruction_history.exp: Update.
20177
6d78d93b
MM
201782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20179
20180 * gdb.btrace/enable.exp: Update expected text.
20181
93a360cc
OJ
201822014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20183
20184 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20185 bytes.
20186
3772b53f
MR
201872014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20188
20189 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20190
596662fa
OJ
201912014-01-15 Omair Javaid <omair.javaid@linaro.org>
20192
20193 * lib/gdb.exp (supports_process_record): Return true for
20194 arm*-linux*. (supports_reverse): Likewise.
20195
b5b08fb4
SC
201962014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20197
20198 PR python/15464
20199 PR python/16113
20200 * gdb.python/py-type.c: Enhance test case.
20201 * gdb.python/py-value-cc.cc: Likewise
20202 * gdb.python/py-type.exp: Add new tests.
20203 * gdb.python/py-value-cc.exp: Likewise
20204
52d7fb13
AA
202052014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20206 Pedro Alves <palves@redhat.com>
20207
20208 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20209 Make "name" extern.
20210 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20211 references to ${name}_start by references to ${name}.
20212
a2cd8cfe
JB
202132014-01-10 Joel Brobecker <brobecker@adacore.com>
20214
20215 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20216
4e23fced
JB
202172014-01-10 Joel Brobecker <brobecker@adacore.com>
20218
20219 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20220
c6a9e42c
PA
202212014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20222 Pedro Alves <palves@redhat.com>
20223
20224 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20225 mi_gdb_target_load.
c6a9e42c 20226
b7ea362b
PA
202272014-01-08 Pedro Alves <palves@redhat.com>
20228
20229 * gdb.threads/reconnect-signal.c: New file.
20230 * gdb.threads/reconnect-signal.exp: New file.
20231
5e3f4fab
EBM
202322014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20233
20234 * gdb.base/source-dir.exp: New file.
20235
79301218
JB
202362014-01-07 Joel Brobecker <brobecker@adacore.com>
20237
20238 * gdb.ada/mi_interface: New testcase.
20239
8e355c5d
JB
202402014-01-07 Joel Brobecker <brobecker@adacore.com>
20241
20242 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20243 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20244 gdb.ada/pp-rec-component/pck.ads: New files.
20245
c0d48811
JB
202462014-01-07 Joel Brobecker <brobecker@adacore.com>
20247
20248 * gdb.python/py-pp-integral.c: New file.
20249 * gdb.python/py-pp-integral.py: New file.
20250 * gdb.python/py-pp-integral.exp: New file.
20251
17b609c3 20252For older changes see ChangeLog-1993-2013.
c906108c 20253\f
8d8cb839
EZ
20254;; Local Variables:
20255;; mode: change-log
20256;; left-margin: 8
20257;; fill-column: 74
20258;; version-control: never
20259;; End:
902f2ccb 20260
b811d2c2 20261 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20262 Copying and distribution of this file, with or without modification,
20263 are permitted provided the copyright notice and this notice are preserved.
This page took 3.82382 seconds and 4 git commands to generate.