Fix gdb.base/list-missing-source.exp on remote host.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4d91c2a4
SL
12020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2
3 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4 for remote host.
5
87f83f20
SL
62020-06-19 Sandra Loosemore <sandra@codesourcery.com>
7 Hafiz Abid Qadeer <abidh@codesourcery.com>
8
9 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
10 file sent to remote host.
11 (top level): Allow int32_t as type of 32-bit register.
12
37ab8655
TV
132020-06-19 Tom de Vries <tdevries@suse.de>
14
15 * lib/gdb.exp (gdb_note): New proc.
16 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
17 (gdb_default_target_compile): ... here. Only call
18 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
19 (use_gdb_compile): Change to array.
20 (toplevel): Update sets of use_gdb_compile to specify language.
21 Warn about default_target_compile override. Store dejagnu's version
22 of default_target_compile in dejagnu_default_target_compile.
23
a8a56685
TV
242020-06-18 Tom de Vries <tdevries@suse.de>
25
26 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
27 (default_gdb_init): ... here.
28
581bea2c
SL
292020-06-17 Sandra Loosemore <sandra@codesourcery.com>
30
31 Fix TUI support checks in gdb.tui tests.
32
33 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
34 just say UNSUPPORTED.
35 * gdb.tui/corefile-run.exp: Likewise.
36 * gdb.tui/empty.exp: Likewise.
37 * gdb.tui/list-before.exp: Likewise.
38 * gdb.tui/list.exp: Likewise.
39 * gdb.tui/main.exp: Likewise.
40 * gdb.tui/regs.exp: Likewise.
41 * gdb.tui/resize.exp: Likewise.
42 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
43 * gdb.tui/tui-layout-asm.exp: Likewise.
44 * gdb.tui/tui-missing-src.exp: Likewise.
45 * gdb.tui/winheight.exp: Likewise.
46 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
47
05e682e3
SL
482020-06-17 Sandra Loosemore <sandra@codesourcery.com>
49
50 Fix TCL error in gdb.python/py-format-string.exp.
51
52 * gdb.python/py-format-string.exp: Move test for python support
53 earlier, out of function body.
54
efb763a5
SM
552020-06-15 Simon Marchi <simon.marchi@efficios.com>
56
57 * gdb.base/index-cache-load-twice.c: New.
58 * gdb.base/index-cache-load-twice.exp: New.
59
43327b20
KS
602020-06-17 Keith Seitz <keiths@redhat.com>
61
99cf27cf 62 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
63 when executing "gdb --configuration".
64
081e778c
TV
652020-06-17 Tom de Vries <tdevries@suse.de>
66
67 * lib/gdb.exp (gdb_tcl_unknown): New proc.
68 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
69 conditional on presence of gdb_tcl_unknown.
70 (gdb_finish): Make override undo conditional on presence of
71 gdb_tcl_unknown.
72
d2d1ea20
TT
732020-06-16 Tom Tromey <tom@tromey.com>
74
75 * gdb.python/tui-window.py (failwin): New function. Register it
76 as a TUI window type.
77 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
78
c802e8a7
GB
792020-06-16 Gary Benson <gbenson@redhat.com>
80
81 * gdb.python/py-nested-maps.c (create_map): Add missing return
82 value.
83 (create_map_map): Likewise.
84
ff08abb8
TBA
852020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
86
87 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
88 variable.
89 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
90 and use the already-defined 'options' variable.
91
a29d5112
AB
922020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
93 Tom de Vries <tdevries@suse.de>
94
95 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
96 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
97 (gdb_setup_known_globals): New proc.
98 (gdb_cleanup_globals): New proc.
99 * lib/gdb.exp (load_lib): New override proc.
100 (gdb_stdin_log_init): Set var in_file as persistent global.
101 * lib/pascal.exp (gdb_stdin_log_init): Set vars
102 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
103 fpc_compiler as persistent global.
104
8c74a764
TV
1052020-06-12 Tom de Vries <tdevries@suse.de>
106
107 * lib/tuiterm.exp (spawn): Rename to ...
108 (tui_spawn): ... this.
109 (toplevel): Move rename of spawn ...
110 (gdb_init_tuiterm): ... here. New proc.
111 (gdb_finish_tuiterm): New proc.
112 * lib/gdb.exp (gdb_finish_hooks): New global var.
113 (gdb_finish): Handle gdb_finish_hooks.
114 (tuiterm_env): New proc.
115 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
116 tuiterm_env.
117 * gdb.tui/basic.exp: Same.
118 * gdb.tui/corefile-run.exp: Same.
119 * gdb.tui/empty.exp: Same.
120 * gdb.tui/list-before.exp: Same.
121 * gdb.tui/list.exp: Same.
122 * gdb.tui/main.exp: Same.
123 * gdb.tui/new-layout.exp: Same.
124 * gdb.tui/regs.exp: Same.
125 * gdb.tui/resize.exp: Same.
126 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
127 * gdb.tui/tui-layout-asm.exp: Same.
128 * gdb.tui/tui-missing-src.exp: Same.
129 * gdb.tui/winheight.exp: Same.
130
26783bce
TV
1312020-06-12 Tom de Vries <tdevries@suse.de>
132
133 PR testsuite/26110
134 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
135 (gdb_finish): Reinstall dejagnu's override of ::unknown.
136
2b4e6a3f
TT
1372020-06-11 Tom Tromey <tom@tromey.com>
138
139 PR gdb/18318:
140 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
141 floating point tests.
142
2f33032a
KS
1432020-06-11 Keith Seitz <keiths@redhat.com>
144
145 PR gdb/21356
146 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
147 vla_struct.
148 Add new struct vla_typedef and union vla_typedef_union and
149 corresponding instantiation objects.
150 Initialize new objects.
151 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
152 and vla_typedef_union_object.
153 Fixup type for vla_struct_object.
154
a8baf0a3
TV
1552020-06-11 Tom de Vries <tdevries@suse.de>
156
157 * lib/gdb.exp (with_override): New proc, factored out of ...
158 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
159
7ab96794
TV
1602020-06-10 Tom de Vries <tdevries@suse.de>
161
162 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
163
cab5c3b7
SM
1642020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
165
166 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
167 parameter, update callers.
168
f8c41851
SM
1692020-06-04 Simon Marchi <simon.marchi@efficios.com>
170
171 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
172 * gdb.dwarf2/share-psymtabs-bt.c: New file.
173 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
174
1c07a73f
TV
1752020-06-04 Tom de Vries <tdevries@suse.de>
176
177 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
178
95146b5d
TV
1792020-06-04 Tom de Vries <tdevries@suse.de>
180
181 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
182 exp_continue.
183
0cfcd4f0
TV
1842020-06-04 Tom de Vries <tdevries@suse.de>
185
186 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
187
f9b5d5ea
TV
1882020-06-03 Tom de Vries <tdevries@suse.de>
189
190 PR symtab/26046
191 * gdb.cp/breakpoint-locs-2.cc: New test.
192 * gdb.cp/breakpoint-locs.cc: New test.
193 * gdb.cp/breakpoint-locs.exp: New file.
194 * gdb.cp/breakpoint-locs.h: New test.
195
5144dfba
TV
1962020-06-03 Tom de Vries <tdevries@suse.de>
197
198 PR testsuite/25609
199 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
200 value of global verbose.
201 * gdb.base/jit-elf.exp: Same.
202 * gdb.base/jit-reader.exp: Same.
203
621eacdf
TV
2042020-06-02 Tom de Vries <tdevries@suse.de>
205
206 * gdb.dwarf2/multidictionary.exp: Don't use
207 gdb_spawn_with_cmdline_opts.
208
1313c56e
AB
2092020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
210
211 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
212 use_header case.
213 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
214 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
215 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
216 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
217 * gdb.dwarf2/dw2-inline-header.c: New file.
218 * gdb.dwarf2/dw2-inline-header.h: New file.
219
f68f85b5
PA
2202020-05-30 Pedro Alves <palves@redhat.com>
221
222 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
223 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
224
678048e8
GB
2252020-05-29 Gary Benson <gbenson@redhat.com>
226
227 * gdb.compile/compile-cplus.exp (additional_flags): Also
228 set when building with clang.
229 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
230 when building with clang.
231
9fcafd23
GB
2322020-05-29 Gary Benson <gbenson@redhat.com>
233
234 * gdb.arch/i386-avx.exp (additional_flags): Also set when
235 building with clang.
236 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
237
735d5a07
GB
2382020-05-29 Gary Benson <gbenson@redhat.com>
239
240 * gdb.cp/koenig.exp (prepare_for_testing): Add
241 additional_flags=-Wno-unused-comparison.
242 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
243
4ad2c6a0
GB
2442020-05-28 Gary Benson <gbenson@redhat.com>
245
246 * gdb.base/sigaltstack.c (catcher): Add default case to switch
247 statement.
248
09fe663e
GB
2492020-05-28 Gary Benson <gbenson@redhat.com>
250
251 * gdb.cp/classes.exp (prepare_for_testing): Add
252 additional_flags=-Wno-deprecated-register.
253 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
254 * gdb.cp/misc.exp: Likewise.
255
cee00f17
GB
2562020-05-28 Gary Benson <gbenson@redhat.com>
257
258 * gdb.linespec/cpls-ops.cc (dummy): New static global.
259 (test_op_new::operator new): Add return statement.
260 (test_op_new_array::operator new[]): Likewise.
261
636edd00
PA
2622020-05-27 Pedro Alves <palves@redhat.com>
263
264 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
265 check. Use test_gdb_complete_unique instead of
266 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
267 test_gdb_complete_multiple instead of
268 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
269
c2b75043
LM
2702020-05-27 Luis Machado <luis.machado@linaro.org>
271
272 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
273 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
274 * gdb.arch/arm-disassembler-options.exp: Likewise.
275 * gdb.arch/arm-disp-step.exp: Likewise.
276 * gdb.arch/thumb-prologue.exp: Likewise.
277 * gdb.base/async.exp: Likewise.
278 * gdb.base/auxv.exp: Likewise.
279 * gdb.base/complex-parts.exp: Likewise.
280 * gdb.base/ena-dis-br.exp: Likewise.
281 * gdb.base/foll-exec.exp: Likewise.
282 * gdb.base/permissions.exp: Likewise.
283 * gdb.base/relocate.exp: Likewise.
284 * gdb.base/return2.exp: Likewise.
285 * gdb.base/sigbpt.exp: Likewise.
286 * gdb.base/siginfo-obj.exp: Likewise.
287 * gdb.cp/converts.exp: Likewise.
288 * gdb.cp/exceptprint.exp: Likewise.
289 * gdb.cp/inherit.exp: Likewise.
290 * gdb.cp/nsnoimports.exp: Likewise.
291 * gdb.cp/virtbase2.exp: Likewise.
292 * gdb.mi/mi-var-cmd.exp: Likewise.
293 * gdb.mi/var-cmd.c: Likewise.
294
53a47a3e
TT
2952020-05-26 Tom Tromey <tromey@adacore.com>
296
297 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
298
0bc2354b
TT
2992020-05-26 Tom Tromey <tromey@adacore.com>
300
301 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
302 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
303 type.
304 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
305 variable.
306
0db49895
CBG
3072020-05-26 Christian Biesinger <cbiesinger@google.com>
308
309 * Makefile.in: Use = instead of == for the test command
310 for portability.
311
40d22035
TV
3122020-05-26 Tom de Vries <tdevries@suse.de>
313
314 * gdb.base/gold-gdb-index-2.c: New test.
315 * gdb.base/gold-gdb-index.c: New test.
316 * gdb.base/gold-gdb-index.exp: New file.
317 * gdb.base/gold-gdb-index.h: New test.
318
043e2e02
TV
3192020-05-25 Tom de Vries <tdevries@suse.de>
320
321 * boards/gold-gdb-index.exp: New file.
322
462f72c5
SM
3232020-05-25 Simon Marchi <simon.marchi@efficios.com>
324
325 * boards/simavr.exp: New file.
326
6cf66e76
SM
3272020-05-25 Simon Marchi <simon.marchi@efficios.com>
328
329 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
330 * gdb.base/inferior-args.exp: New file.
331 * gdb.base/inferior-args.c: New file.
332
75d04512
SM
3332020-05-25 Simon Marchi <simon.marchi@efficios.com>
334
335 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
336 inferior_args. Pass it to gdb_reload.
337 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
338 inferior_args.
339 (gdb_reload): Add inferior_args argument.
340 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
341 pass it to gdbserver_run.
342 * boards/native-gdbserver.exp: Do not set noargs.
343 * boards/native-extended-gdbserver.exp (gdb_reload): Add
344 inferior_args argument.
345 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
346 * gdb.base/a2-run.exp: Check for use_gdb_stub.
347 * gdb.base/args.exp: Likewise.
348
42cf1844
TV
3492020-05-25 Tom de Vries <tdevries@suse.de>
350
351 * lib/gdb.exp (exec_is_pie): Add comment.
352
8f7d38ef
TV
3532020-05-25 Tom de Vries <tdevries@suse.de>
354
355 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
356 instead of $binfile in the untested message.
357
465e1b0f
TV
3582020-05-25 Tom de Vries <tdevries@suse.de>
359
360 PR testsuite/26031
361 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
362
3c5a0e02
TV
3632020-05-25 Tom de Vries <tdevries@suse.de>
364
365 * boards/gold.exp: New file.
366
0a4f5f8c
TT
3672020-05-23 Tom Tromey <tom@tromey.com>
368
369 * gdb.base/style.exp: Remove completion styling test.
370 * lib/gdb-utils.exp (style): Remove completion styles.
371
eca1f90c
TT
3722020-05-23 Tom Tromey <tom@tromey.com>
373
374 * gdb.base/style.exp: Add completion styling test.
375 * lib/gdb-utils.exp (style): Add completion styles.
376
7c13f4e8
AB
3772020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
378
379 * gdb.base/annota1.exp: Update expected results.
380 * gdb.cp/annota2.exp: Update expected results, remove duplicate
381 test name.
382 * gdb.cp/annota3.exp: Update expected results.
383
41977d16
SM
3842020-05-20 Simon Marchi <simon.marchi@efficios.com>
385
386 PR gdb/26016
387 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
388 against MAP_FAILED.
389 * gdb.base/coremaker.c (mmapdata): Likewise.
390 * gdb.base/jit-reader-host.c (main): Likewise.
391 * gdb.base/sym-file-loader.c (load): Likewise.
392 (load_shlib): Likewise.
393
b4757f2e
TT
3942020-05-20 Tom Tromey <tromey@adacore.com>
395
396 * gdb.ada/array_char_idx.exp: Recognize initialized array.
397
9a0bacfb
TV
3982020-05-20 Tom de Vries <tdevries@suse.de>
399
400 PR symtab/25833
401 * gdb.base/with-mf-inc.c: New test.
402 * gdb.base/with-mf-main.c: New test.
403 * gdb.base/with-mf.exp: New file.
404
76571211
TT
4052020-05-19 Tom Tromey <tromey@adacore.com>
406
407 * gdb.rust/simple.exp: Restore missing test result.
408
4cd9f3d5
TV
4092020-05-19 Tom de Vries <tdevries@suse.de>
410
411 * gdb.base/gdb-caching-proc.exp: Fix typo.
412
7d874253
TT
4132020-05-19 Tom Tromey <tromey@adacore.com>
414
415 * gdb.rust/simple.exp: Add some test descriptions.
416 (test_one_slice): Use with_test_prefix.
417
1d727695
TV
4182020-05-18 Tom de Vries <tdevries@suse.de>
419
420 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
421
7f32a4d5
PA
4222020-05-17 Pedro Alves <palves@redhat.com>
423
424 PR gdb/25741
425 * gdb.base/hw-sw-break-same-address.exp: New file.
426
7cfd74cf
PA
4272020-05-16 Pedro Alves <palves@redhat.com>
428
429 * gdb.multi/multi-re-run.exp (test_re_run): Switch
430 LAST_LOADED_FILE accordingly.
431
57b4f16e
PW
4322020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
433
434 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
435
7c05caf7
PW
4362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
437
438 * gdb.base/help.exp: Test apropos and help for commands
439 having aliases. Fixed comments not starting with an
440 upper-case letter or not finishing with a dot.
441
7aa1b46f
PW
4422020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
443
3b3aaacb
PW
444 * gdb.base/alias.exp: Update help output check.
445
57b4f16e 4462020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 447
7aa1b46f
PW
448 * gdb.base/default.exp: Update output following fixes.
449
0605465f
PW
4502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
451
452 * gdb.base/alias.exp: Test aliases starting with a prefix of
453 another alias.
454
86e4e63d
GB
4552020-05-15 Gary Benson <gbenson@redhat.com>
456
457 * gdb.base/info-os.c (main): Add return statement.
458 * gdb.base/info_minsym.c (minsym_fun): Likewise.
459 * gdb.base/large-frame-2.c (func): Likewise.
460 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
461 * gdb.base/pr10179-b.c (foo2): Likewise.
462 * gdb.base/valgrind-disp-step.c (foo): Likewise.
463 * gdb.base/watch-cond.c (func): Likewise.
464 * gdb.multi/goodbye.c (verylongfun): Likewise.
465 * gdb.multi/hello.c (commonfun): Likewise.
466 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
467 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
468 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
469 Likewise.
470 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
471 * gdb.threads/interrupt-while-step-over.c (child_function):
472 Likewise.
473 * gdb.trace/actions-changed.c (end): Likewise.
474
163df4df
GB
4752020-05-15 Gary Benson <gbenson@redhat.com>
476
477 * gdb.opencl/callfuncs.exp: Report when test skipped.
478 * gdb.opencl/convs_casts.exp: Likewise.
479 * gdb.opencl/datatypes.exp: Likewise.
480 * gdb.opencl/operators.exp: Likewise.
481 * gdb.opencl/vec_comps.exp: Likewise.
482
6dbc505a
TV
4832020-05-15 Tom de Vries <tdevries@suse.de>
484
485 * gdb.base/align.exp.in: Rename to ...
486 * gdb.base/align.exp.tcl: ... this.
487 * gdb.base/align-c++.exp: Update.
488 * gdb.base/align-c.exp: Update.
489 * gdb.base/all-architectures.exp.in: Rename to ...
490 * gdb.base/all-architectures.exp: ... this.
491 * gdb.base/all-architectures-0.exp: Update.
492 * gdb.base/all-architectures-1.exp: Update.
493 * gdb.base/all-architectures-2.exp: Update.
494 * gdb.base/all-architectures-3.exp: Update.
495 * gdb.base/all-architectures-4.exp: Update.
496 * gdb.base/all-architectures-5.exp: Update.
497 * gdb.base/all-architectures-6.exp: Update.
498 * gdb.base/all-architectures-7.exp: Update.
499 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
500 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
501 * gdb.base/infcall-nested-structs-c++.exp: Update.
502 * gdb.base/infcall-nested-structs-c.exp: Update.
503 * gdb.base/info-types.exp.in: Rename to ...
504 * gdb.base/info-types.exp.tcl: ... this.
505 * gdb.base/info-types-c++.exp: Update.
506 * gdb.base/info-types-c.exp: Update.
507 * gdb.base/max-depth.exp.in: Rename to ...
508 * gdb.base/max-depth.exp.tcl: ... this.
509 * gdb.base/max-depth-c++.exp: Update.
510 * gdb.base/max-depth-c.exp: Update.
511 * gdb.cp/cpexprs.exp.in: Rename to ...
512 * gdb.cp/cpexprs.exp.tcl: ... this.
513 * gdb.cp/cpexprs-debug-types.exp: Update.
514 * gdb.cp/cpexprs.exp: Update.
515 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
516 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
517 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
518 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
519 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
520 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
521 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
522 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
523 * gdb.dwarf2/clang-debug-names-2.exp: Update.
524 * gdb.dwarf2/clang-debug-names.exp: Update.
525
d1034d78
AB
5262020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * lib/check-test-names.exp: Remove code that prevents this file
529 loading when tests are run in parallel.
530
3c5c3649
PA
5312020-05-15 Pedro Alves <palves@redhat.com>
532
533 * gdb.multi/multi-kill.exp (start_inferior): Remove
534 'testpid' parameter. Refer to namespace variable directly.
535 (testpid): Declare as namespace variable.
536
272c36b8
PA
5372020-05-15 Pedro Alves <palves@redhat.com>
538
539 * gdb.multi/multi-kill.exp: Wrap in namespace.
540 (start_inferior): Add TESTPID parameter. Use it instead of the
541 testpid global.
542 (top level): Define empty TESTPID array, and pass it down to
543 start_inferior.
544
02eba61a
TV
5452020-05-14 Tom de Vries <tdevries@suse.de>
546
547 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
548 output.
549
971a3747
TV
5502020-05-14 Tom de Vries <tdevries@suse.de>
551
552 * gdb.base/align.exp: Split into ...
553 * gdb.base/align.exp.in: ...
554 * gdb.base/align-c++.exp: ...
555 * gdb.base/align-c.exp: ... these.
556 * gdb.base/infcall-nested-structs.exp: Split into ...
557 * gdb.base/infcall-nested-structs.exp.in: ...
558 * gdb.base/infcall-nested-structs-c++.exp: ...
559 * gdb.base/infcall-nested-structs-c.exp: ... these.
560 * gdb.base/info-types.exp: Split into ...
561 * gdb.base/info-types.exp.in: ...
562 * gdb.base/info-types-c++.exp: ...
563 * gdb.base/info-types-c.exp: ... these.
564 * gdb.base/max-depth.exp: Split into ...
565 * gdb.base/max-depth.exp.in: ...
566 * gdb.base/max-depth-c++.exp: ...
567 * gdb.base/max-depth-c.exp: ... these.
568 * gdb.cp/infcall-nodebug.exp: Split into ...
569 * gdb.cp/infcall-nodebug.exp.in: ...
570 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
571 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
572 * gdb.cp/infcall-nodebug-c-d0.exp: ...
573 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
574
a05575d3
TBA
5752020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
576 Pedro Alves <palves@redhat.com>
577
578 * gdb.multi/multi-exit.c: New file.
579 * gdb.multi/multi-exit.exp: New file.
580 * gdb.multi/multi-kill.c: New file.
581 * gdb.multi/multi-kill.exp: New file.
582
6ad82919
TBA
5832020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
584
585 * gdb.base/annota1.exp: Update the expected output.
586 * gdb.cp/annota2.exp: Ditto.
587
843f4d93
AB
5882020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * lib/check-test-names.exp: Disable when testing is being run in
591 parallel.
592
c7c66341
TV
5932020-05-12 Tom de Vries <tdevries@suse.de>
594
595 * gdb.base/jit-elf.exp: Fix string concat.
596
1b59ca1c
TV
5972020-05-12 Tom de Vries <tdevries@suse.de>
598
599 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
600 messages.
601
b4991d29
TV
6022020-05-12 Tom de Vries <tdevries@suse.de>
603
604 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
605
dbb0ab10
TV
6062020-05-12 Tom de Vries <tdevries@suse.de>
607
608 * gdb.ada/catch_ex.exp: Use with_test_prefix.
609 * gdb.ada/mi_catch_ex.exp: Same.
610 * gdb.ada/mi_catch_ex_hand.exp: Same.
611
7549fed8
TV
6122020-05-12 Tom de Vries <tdevries@suse.de>
613
614 * gdb.fortran/complex.exp: Use with_test_prefix.
615
af2d5cd8
TV
6162020-05-12 Tom de Vries <tdevries@suse.de>
617
618 * gdb.trace/passcount.exp: Fix test-names.
619
7c121311
TV
6202020-05-12 Tom de Vries <tdevries@suse.de>
621
622 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
623
c9f3b40e
TV
6242020-05-12 Tom de Vries <tdevries@suse.de>
625
626 * gdb.gdb/complaints.exp: Use with_test_prefix.
627 * gdb.xml/tdesc-regs.exp: Same.
628 * gdb.opt/inline-locals.exp: Fix test name.
629
111b33f0
TV
6302020-05-12 Tom de Vries <tdevries@suse.de>
631
632 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
633 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
634 * gdb.dwarf2/implref-struct.exp: Same.
635 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
636 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
637
ebf47080
SM
6382020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
639
640 * gdb.base/jit-so.exp (one_jit_test): Change test name.
641
d30dcd12
AB
6422020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
643
644 * lib/check-test-names.exp (all_test_names): New module variable.
645 (counts): Add 'duplicates' field.
646 (_check_duplicates): New procedure.
647 (check): Also check for duplicates.
648 (do_log_summary): Print duplicates count.
649 (do_reset_vars): Reset counter for duplicate test names, and
650 discard all know test names.
651
34584c09
AB
6522020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * lib/gdb.exp: Include check-test-names.exp library.
655 * lib/check-test-names.exp: New file.
656
e0002117
TV
6572020-05-11 Tom de Vries <tdevries@suse.de>
658
659 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
660
53f539a3
KS
6612020-05-11 Keith Seitz <keiths@redhat.com>
662
663 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
664
113ee09a
TV
6652020-05-11 Tom de Vries <tdevries@suse.de>
666
667 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
668 * gdb.cp/cpexprs.exp.in: .. here.
669 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
670 cpexprs.exp.
671
ba3e70b0
KS
6722020-05-11 Keith Seitz <keiths@redhat.com>
673
674 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
675 test names.
676 * gdb.ada/arrayptr.exp: Likewise.
677 * gdb.ada/assign_arr.exp: Likewise.
678 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
679 * gdb.ada/bp_on_var.exp: Likewise.
680 * gdb.ada/call_pn.exp: Likewise.
681 * gdb.ada/complete.exp: Likewise.
682 * gdb.ada/fun_overload_menu.exp: Likewise.
683 * gdb.ada/funcall_param.exp: Likewise.
684 * gdb.ada/funcall_ref.exp: Likewise.
685 * gdb.ada/packed_array_assign.exp: Likewise.
686 * gdb.ada/same_component_name.exp: Likewise.
687 * gdb.ada/type_coercion.exp: Likewise.
688 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
689 * gdb.ada/variant_record_packed_array.exp: Likewise.
690
3ee6bb11
TV
6912020-05-11 Tom de Vries <tdevries@suse.de>
692
693 PR symtab/25941
694 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
695 out of ...
696 * gdb.dwarf2/clang-debug-names.exp: ... here.
697 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
698 clang-debug-names.exp.in.
699 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
700 * gdb.dwarf2/clang-debug-names-2.c: New test.
701
86cd6bc8
AKS
7022020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
703
704 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
705 (fortran_runto_main): New Proc, fortran version of runto_main.
706 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
707 * gdb.fortran/array-bounds.exp: Likewise.
708 * gdb.fortran/array-slices.exp: Likewise.
709 * gdb.fortran/block-data.exp: Likewise.
710 * gdb.fortran/charset.exp: Likewise.
711 * gdb.fortran/common-block.exp: Likewise.
712 * gdb.fortran/complex.exp: Likewise.
713 * gdb.fortran/derived-type-function.exp: Likewise.
714 * gdb.fortran/derived-type.exp: Likewise.
715 * gdb.fortran/info-modules.exp: Likewise.
716 * gdb.fortran/info-types.exp: Likewise.
717 * gdb.fortran/intrinsics.exp: Likewise.
718 * gdb.fortran/library-module.exp: Likewise.
719 * gdb.fortran/logical.exp: Likewise.
720 * gdb.fortran/max-depth.exp: Likewise.
721 * gdb.fortran/module.exp: Likewise.
722 * gdb.fortran/multi-dim.exp: Likewise.
723 * gdb.fortran/nested-funcs.exp: Likewise.
724 * gdb.fortran/print-formatted.exp: Likewise.
725 * gdb.fortran/print_type.exp: Likewise.
726 * gdb.fortran/printing-types.exp: Likewise.
727 * gdb.fortran/ptr-indentation.exp: Likewise.
728 * gdb.fortran/ptype-on-functions.exp: Likewise.
729 * gdb.fortran/subarray.exp: Likewise.
730 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
731 * gdb.fortran/vla-datatypes.exp: Likewise.
732 * gdb.fortran/vla-history.exp: Likewise.
733 * gdb.fortran/vla-ptr-info.exp: Likewise.
734 * gdb.fortran/vla-ptype-sub.exp: Likewise.
735 * gdb.fortran/vla-ptype.exp: Likewise.
736 * gdb.fortran/vla-sizeof.exp: Likewise.
737 * gdb.fortran/vla-type.exp: Likewise.
738 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
739 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
740 * gdb.fortran/vla-value-sub.exp: Likewise.
741 * gdb.fortran/vla-value.exp: Likewise.
742 * gdb.fortran/whatis_type.exp: Likewise.
743 * gdb.mi/mi-var-child-f.exp: Likewise.
744
6dc55ce9 7452020-05-09 Tom de Vries <tdevries@suse.de>
746
747 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
748
283cb58c
TV
7492020-05-08 Tom de Vries <tdevries@suse.de>
750
751 * gdb.dwarf2/clang-debug-names.c: New test.
752 * gdb.dwarf2/clang-debug-names.exp: New file.
753
ac4a4f1c
SM
7542020-05-06 Simon Marchi <simon.marchi@efficios.com>
755
756 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
757 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
758
24fe640b
TV
7592020-05-06 Tom de Vries <tdevries@suse.de>
760
761 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
762 breakpoint is at a "recommended breakpoint location".
763 * gdb.reverse/consecutive-reverse.exp: Same.
764
0d8683a3
TV
7652020-05-06 Tom de Vries <tdevries@suse.de>
766
767 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
768 address.
769
b8983c46
TV
7702020-05-06 Tom de Vries <tdevries@suse.de>
771
772 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
773
abf6d805
TV
7742020-05-06 Tom de Vries <tdevries@suse.de>
775
776 * gdb.base/store.exp (check_set, up_set): Allowing missing location
777 info for r.
778
0fc2a808
TV
7792020-05-06 Tom de Vries <tdevries@suse.de>
780
781 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
782 necessary.
783
873dd427
TV
7842020-05-06 Tom de Vries <tdevries@suse.de>
785
786 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
787 void.
788
7c99e7e2
TV
7892020-05-06 Tom de Vries <tdevries@suse.de>
790
791 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
792 of ...
793 * gdb.base/async.exp: ... here.
794 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
795 "recommended breakpoint location".
796
6173d6a6
TV
7972020-05-06 Tom de Vries <tdevries@suse.de>
798
799 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
800
6015a067
TV
8012020-05-04 Tom de Vries <tdevries@suse.de>
802
803 * gdb.base/async.exp: Check whether instruction addresses are a
804 "recommended breakpoint location".
805
3b6acaee
TT
8062020-05-03 Tom Tromey <tom@tromey.com>
807
808 * gdb.base/sepdebug.exp: Remove "catch" test.
809 * gdb.base/break.exp: Remove "catch" test.
810 * gdb.base/default.exp: Update expected output.
811
5beb4d17
TV
8122020-05-02 Tom de Vries <tdevries@suse.de>
813
814 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
815 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
816 * gdb.arch/i386-mpx-map.exp: Same.
817 * gdb.arch/i386-mpx-sigsegv.exp: Same.
818 * gdb.arch/i386-mpx-simple_segv.exp: Same.
819 * gdb.arch/i386-mpx.exp: Same.
820
8caf140d
TV
8212020-05-02 Tom de Vries <tdevries@suse.de>
822
823 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
824
693196cb
TV
8252020-05-01 Tom de Vries <tdevries@suse.de>
826
827 * gdb.ada/operator_bp.exp: Allow more than required amount of
828 breakpoint.
829
53ae0aa9
TV
8302020-05-01 Tom de Vries <tdevries@suse.de>
831
832 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
833
ee9d1e5f
HD
8342020-04-30 Hannes Domani <ssbssa@yahoo.de>
835
836 PR gdb/18706
837 * gdb.cp/stub-array-size.cc: New test.
838 * gdb.cp/stub-array-size.exp: New file.
839 * gdb.cp/stub-array-size.h: New test.
840 * gdb.cp/stub-array-size2.cc: New test.
841
d5cf82c0
HD
8422020-04-30 Hannes Domani <ssbssa@yahoo.de>
843
844 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
845 output to the new format.
846
42e165c3
SM
8472020-04-29 Simon Marchi <simon.marchi@efficios.com>
848
849 * gdb.base/break.exp: Use with_test_prefix.
850
6e4e3fe1
TV
8512020-04-29 Tom de Vries <tdevries@suse.de>
852
853 * lib/gdb.exp (debug_types): New proc.
854 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
855 * gdb.python/py-symtab.exp: Same.
856
d642b692
HD
8572020-04-29 Hannes Domani <ssbssa@yahoo.de>
858
859 PR gdb/17320
860 * gdb.base/pretty-array.c: New test.
861 * gdb.base/pretty-array.exp: New file.
862
ea90f227
TV
8632020-04-29 Tom de Vries <tdevries@suse.de>
864
865 PR symtab/25889
866 * gdb.cp/cpexprs.exp: Adapt for inclusion.
867 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
868 and include cpexprs.exp.
869
a65189c9
TV
8702020-04-28 Mark Williams <mark@myosotissp.com>
871
872 PR gdb/24480
873 * dw4-toplevel-types.exp: Test for top level types.
874 * dw4-toplevel-types.cc: Test for top level types.
875
32d1f47a
TBA
8762020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
877
878 * gdb.threads/stop-with-handle.exp: Fix typo in comment
879 (theads -> threads).
880
56a4f5a1
TV
8812020-04-28 Tom de Vries <tdevries@suse.de>
882
883 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
884
0b2f8a3b
TV
8852020-04-28 Tom de Vries <tdevries@suse.de>
886
887 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
888
5390c717
TV
8892020-04-28 Tom de Vries <tdevries@suse.de>
890
891 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
892
15cd93d0
TV
8932020-04-28 Tom de Vries <tdevries@suse.de>
894
895 * gdb.dwarf2/main-foo.c: New test.
896 * gdb.dwarf2/struct-with-sig.exp: New file.
897
d472f0fb
TV
8982020-04-25 Tom de Vries <tdevries@suse.de>
899
900 * boards/debug-types.exp: New file.
901
8d840e05
AB
9022020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
903
904 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
905
bcfe6157
TT
9062020-04-24 Tom Tromey <tom@tromey.com>
907
908 PR symtab/12707:
909 * gdb.python/py-symbol.exp: Update expected results for
910 linkage_name test.
911 * gdb.cp/print-demangle.exp: New file.
912 * gdb.base/c-linkage-name.exp: Fix test.
913 * gdb.guile/scm-symbol.exp: Update expected results for
914 linkage_name test.
915
f049a313
TT
9162020-04-24 Tom Tromey <tom@tromey.com>
917
918 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
919 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
920 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
921 assembler.
922
7cf28874
TV
9232020-04-24 Tom de Vries <tdevries@suse.de>
924
925 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
926 C++.
927
dac2fef7
TT
9282020-04-24 Tom Tromey <tromey@adacore.com>
929
930 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
931 values.
932 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
933 values. Update test for minimal encodings.
934 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
935 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
936 values. Update test for minimal encodings.
937
1acda803
TT
9382020-04-24 Tom Tromey <tromey@adacore.com>
939
940 PR python/23662:
941 * gdb.ada/variant.exp: Add Python checks.
942 * gdb.rust/simple.exp: Add dynamic type checks.
943
adfb9815
TT
9442020-04-24 Tom Tromey <tromey@adacore.com>
945
946 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
947 Make array type matching more lax.
948 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
949 * gdb.ada/mi_variant.exp: New file.
950 * gdb.ada/mi_variant/pck.ads: New file.
951 * gdb.ada/mi_variant/pkg.adb: New file.
952 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
953 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
954
7d79de9a
TT
9552020-04-24 Tom Tromey <tromey@adacore.com>
956
957 * gdb.ada/variant.exp: Add dynamic field offset tests.
958 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
959 * gdb.ada/variant/pkg.adb: Add new variables.
960
f8e89861
TT
9612020-04-24 Tom Tromey <tromey@adacore.com>
962
963 * gdb.ada/variant.exp: New file
964 * gdb.ada/variant/pkg.adb: New file
965 * gdb.ada/variant/pck.adb: New file
966
86e887ae
TV
9672020-04-24 Tom de Vries <tdevries@suse.de>
968
969 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
970
88428775
TV
9712020-04-24 Tom de Vries <tdevries@suse.de>
972
973 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
974 flags.
975
4e86f6e7
TV
9762020-04-24 Tom de Vries <tdevries@suse.de>
977
978 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
979
2016d3e6
TV
9802020-04-24 Tom de Vries <tdevries@suse.de>
981
982 * lib/gdb.exp (default_gdb_start): Handle eof.
983 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
984 failure.
985 * gdb.base/readnever.exp: Handle clean_restart failure.
986
70bc38f5
TV
9872020-04-23 Tom de Vries <tdevries@suse.de>
988
989 * gdb.base/decl-before-def.exp: Run to main and print a again.
990
de82891c
TV
9912020-04-23 Tom de Vries <tdevries@suse.de>
992
993 * gdb.base/decl-before-def-decl.c: New test.
994 * gdb.base/decl-before-def-def.c: New test.
995 * gdb.base/decl-before-def.exp: New file.
996
96038148
TV
9972020-04-23 Tom de Vries <tdevries@suse.de>
998
999 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1000
54ac3df1
TV
10012020-04-22 Tom de Vries <tdevries@suse.de>
1002
1003 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1004 debug_info_offset.
1005 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1006 before $objsfile in the line line.
1007
714534e1
TV
10082020-04-22 Tom de Vries <tdevries@suse.de>
1009
1010 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1011
16a7dbf4
MS
10122020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1013
1014 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1015 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1016 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1017 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1018 * gdb.base/jit-protocol.h: Update definitions to match all usage
1019 contexts.
1020
10212020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1022
1023 * gdb.base: Rename all jit related test and source files.
1024
10252020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1026
1027 * gdb.base/jit-reader.exp: Relax register output check.
1028
317d2668
TV
10292020-04-22 Tom de Vries <tdevries@suse.de>
1030
1031 PR symtab/25764
1032 * gdb.base/psym-external-decl-2.c: New test.
1033 * gdb.base/psym-external-decl.c: New test.
1034 * gdb.base/psym-external-decl.exp: New file.
1035 * gdb.threads/tls.exp: Add PR25807 kfail.
1036
eea9e357
TV
10372020-04-22 Tom de Vries <tdevries@suse.de>
1038
1039 PR symtab/25801
1040 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1041 in "info source" output.
1042
3d5afab3
TV
10432020-04-22 Tom de Vries <tdevries@suse.de>
1044
1045 PR symtab/25700
1046 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1047 symtab for imported_unit.c.
1048
b32102f6
GB
10492020-04-21 Gary Benson <gbenson@redhat.com>
1050
1051 * gdb.base/advance.c (func): New argument, to match call site.
1052 (func2, func3): Add return statements.
1053
d43b7a2d
TBA
10542020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1055
1056 * gdb.multi/run-only-second-inf.c: New file.
1057 * gdb.multi/run-only-second-inf.exp: New file.
1058
d89edf9b
MM
10592020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1060
1061 * gdb.btrace/multi-inferior.c: New test.
1062 * gdb.btrace/multi-inferior.exp: New file.
1063
1a476b6d
MM
10642020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1065
1066 * gdb.btrace/enable-new-thread.c: New test.
1067 * gdb.btrace/enable-new-thread.exp: New file.
1068
4778a5f8
TV
10692020-04-21 Tom de Vries <tdevries@suse.de>
1070
1071 PR gdb/25471
1072 * gdb.threads/killed-outside.c: New test.
1073 * gdb.threads/killed-outside.exp: New file.
1074
9b2c992c
GB
10752020-04-20 Gary Benson <gbenson@redhat.com>
1076
1077 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1078 * gdb.base/nested-subp2.exp: Likewise.
1079 * gdb.base/nested-subp3.exp: Likewise.
1080
b5d1d6f7
GB
10812020-04-20 Gary Benson <gbenson@redhat.com>
1082
1083 * gdb.base/nested-subp1.exp: Disable test when using clang.
1084 * gdb.base/nested-subp2.exp: Likewise.
1085 * gdb.base/nested-subp3.exp: Likewise.
1086
25230285
GB
10872020-04-20 Gary Benson <gbenson@redhat.com>
1088
1089 * gdb.cp/exception.cc: Fix compilation error with clang.
1090
fa93cc8f
GB
10912020-04-20 Gary Benson <gbenson@redhat.com>
1092
809730f3 1093 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 1094
e0c45f30
GB
10952020-04-20 Gary Benson <gbenson@redhat.com>
1096
1097 * gdb.base/jit-main.c: Fix compilation error with clang.
1098
4ddfec93
KR
10992020-04-17 Kamil Rytarowski <n54@gmx.com>
1100
1101 * gdb.base/attach-twice.c: Include "sys/types.h".
1102 (PTRACE_ATTACH): Add fallback definition.
1103 (main): Pass `0' to the 4th argument of `ptrace'.
1104
2bed205e
KR
11052020-04-17 Kamil Rytarowski <n54@gmx.com>
1106
1107 * gdb.base/fork-running-state.c: Include "signal.h".
1108
0743fc83
TT
11092020-04-17 Tom Tromey <tromey@adacore.com>
1110
1111 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1112 Update tests.
1113 * gdb.btrace/cpu.exp: Update tests.
1114 * gdb.base/maint.exp: Update tests.
1115 * gdb.base/default.exp: Update tests.
1116 * gdb.base/completion.exp: Update tests.
1117
efba5c23
TV
11182020-04-16 Tom de Vries <tdevries@suse.de>
1119
1120 PR symtab/25791
1121 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1122 (ensure_gdb_index): and factor out and move ...
1123 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1124 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1125
d191d716
TV
11262020-04-16 Tom de Vries <tdevries@suse.de>
1127
1128 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1129 loading exec.
1130
99f1bc6a
AB
11312020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1132
1133 * gdb.base/many-completions.exp: New file.
1134
194d088f
TV
11352020-04-14 Tom de Vries <tdevries@suse.de>
1136
1137 PR symtab/25718
1138 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1139
c1a66c06
TV
11402020-04-14 Tom de Vries <tdevries@suse.de>
1141
1142 PR symtab/25720
1143 * gdb.base/maint-expand-symbols-header-file.c: New test.
1144 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1145 * gdb.base/maint-expand-symbols-header-file.h: New test.
1146
21b0982c
AB
11472020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1148
1149 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1150 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1151 get_func_info.
1152 (get_func_info): Delete.
1153 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1154 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1155 * lib/dwarf.exp (get_func_info): New function.
1156
dd1cab06
TV
11572020-04-13 Tom de Vries <tdevries@suse.de>
1158
1159 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1160 to what find_gnatmake does.
1161
71ea2b6b
TV
11622020-04-10 Tom de Vries <tdevries@suse.de>
1163
1164 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1165 -readnow.
1166
bdfc1e8a
TV
11672020-04-10 Tom de Vries <tdevries@suse.de>
1168
1169 PR cli/25808
1170 * gdb.base/style.c: Add leading newlines.
1171 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1172 Check listing of main's one-line body.
1173
14ca8ecf
TV
11742020-04-08 Tom de Vries <tdevries@suse.de>
1175
1176 * lib/gdb.exp (psymtabs_p): New proc.
1177 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1178 importing unit" unsupported if there are no partial symbols.
1179
e21d048f
TV
11802020-04-08 Tom de Vries <tdevries@suse.de>
1181
1182 PR testsuite/25760
1183 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1184
25c11aca
TV
11852020-04-07 Tom de Vries <tdevries@suse.de>
1186
1187 PR symtab/25796
1188 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1189
5707e24b
TV
11902020-04-07 Tom de Vries <tdevries@suse.de>
1191
1192 * gdb.base/check-psymtab.c: New test.
1193 * gdb.base/check-psymtab.exp: New file.
1194
6ee448cc
TT
11952020-04-06 Tom Tromey <tromey@adacore.com>
1196
1197 * gdb.ada/variant-record/proc.adb: New file.
1198 * gdb.ada/variant-record/value.adb: New file.
1199 * gdb.ada/variant-record/value.s: New file.
1200 * gdb.ada/variant-record.exp: New file.
1201
9e7c9a03
HD
12022020-04-03 Hannes Domani <ssbssa@yahoo.de>
1203
1204 PR gdb/25325
1205 * gdb.cp/typed-enum.cc: New test.
1206 * gdb.cp/typed-enum.exp: New file.
1207
c90d28ac
AB
12082020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1209
1210 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1211 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1212 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1213 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1214 * gdb.opt/inline-small-func.c: New file.
1215 * gdb.opt/inline-small-func.exp: New file.
1216 * gdb.opt/inline-small-func.h: New file.
1217
34e9a9fa
AB
12182020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1221 function.
1222
6a354911
AB
12232020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * lib/dwarf.exp (function_range): Allow compiler options to be
1226 specified.
1227
880d9777
TV
12282020-04-02 Tom de Vries <tdevries@suse.de>
1229
1230 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1231 __attribute__((always_inline)).
1232 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1233
f32682ea
TV
12342020-04-02 Tom de Vries <tdevries@suse.de>
1235
1236 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1237 (gdbserver_gdb_exit): ... here. Add timeout warning.
1238 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1239 (connect_target_extended_remote): Append new server_spawn_id to
1240 server_spawn_ids.
1241 (cleanup): New proc.
1242 (setup, <toplevel>): Call cleanup.
1243
d3214198
TV
12442020-04-02 Tom de Vries <tdevries@suse.de>
1245
1246 * gdb.base/main-psymtab.exp: New file.
1247
cc77ed24
TV
12482020-04-02 Tom de Vries <tdevries@suse.de>
1249
1250 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1251
3638a098
TT
12522020-04-01 Tom Tromey <tom@tromey.com>
1253
1254 * gdb.base/complex-parts.exp: Add type tests.
1255
c34e8714
TT
12562020-04-01 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.base/complex-parts.exp: Add arithmetic tests.
1259
981c08ce
TT
12602020-04-01 Tom Tromey <tom@tromey.com>
1261
1262 * gdb.compile/compile.exp: Update.
1263 * gdb.compile/compile-cplus.exp: Update.
1264 * gdb.base/varargs.exp: Update.
1265 * gdb.base/floatn.exp: Update.
1266 * gdb.base/endianity.exp: Update.
1267 * gdb.base/callfuncs.exp (do_function_calls): Update.
1268 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1269 (complex_float_integral_args): Update.
1270 * gdb.base/complex.exp: Update.
1271 * gdb.base/complex-parts.exp: Update.
1272
3d1cfd43
TT
12732020-04-01 Tom Tromey <tromey@adacore.com>
1274
1275 * gdb.rust/union.rs: New file.
1276 * gdb.rust/union.exp: New file.
1277 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1278 (main): Update.
1279 * gdb.rust/simple.exp: Move union tests to union.exp.
1280
e033dfa9
TT
12812020-04-01 Tom Tromey <tromey@adacore.com>
1282
1283 * gdb.rust/simple.rs (main): Remove "y0".
1284
53cccef1
TBA
12852020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1286
1287 * gdb.multi/stop-all-on-exit.c: New test.
1288 * gdb.multi/stop-all-on-exit.exp: New file.
1289
60e22c1e
HD
12902020-04-01 Hannes Domani <ssbssa@yahoo.de>
1291
1292 PR gdb/24789
1293 * gdb.cp/misc.cc: Add integer reference variable.
1294 * gdb.cp/misc.exp: Add test.
1295
e139a727
TBA
12962020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1297
1298 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1299 scenario to cover execution until the end and also the case
1300
16b0db75
TV
13012020-03-31 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1304 c. Use "maint info symtabs" to check symtab expansion.
1305
c0502da6
TV
13062020-03-30 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1309 unsupported.
1310 (verify_psymtab_expanded): Move ...
1311 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1312 test.
1313 (readnow): New proc.
1314
5935fd15
AB
13152020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1318 with $hex.
1319
1773be9e
TT
13202020-03-20 Tom Tromey <tromey@adacore.com>
1321
1322 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1323
70304be9
TT
13242020-03-20 Tom Tromey <tromey@adacore.com>
1325
1326 * gdb.ada/sub_variant/subv.adb: New file.
1327 * gdb.ada/sub_variant.exp: New file.
1328
0dd7b8f7
TV
13292020-03-20 Tom de Vries <tdevries@suse.de>
1330
1331 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1332 first break fails.
1333 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1334
cada5fc9
AB
13352020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1336
1337 * gdb.server/exit-multiple-threads.c: New file.
1338 * gdb.server/exit-multiple-threads.exp: New file.
1339
6b8c53f2
AB
13402020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.fortran/mixed-lang-stack.c: New file.
1343 * gdb.fortran/mixed-lang-stack.cpp: New file.
1344 * gdb.fortran/mixed-lang-stack.exp: New file.
1345 * gdb.fortran/mixed-lang-stack.f90: New file.
1346
19a2740f
AB
13472020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * gdb.linespec/cp-completion-aliases.cc: New file.
1350 * gdb.linespec/cp-completion-aliases.exp: New file.
1351
d8c8b848
TV
13522020-03-19 Tom de Vries <tdevries@suse.de>
1353
1354 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1355 more precise.
1356
a9933ccf
TV
13572020-03-18 Tom de Vries <tdevries@suse.de>
1358
1359 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1360 * gdb.dwarf2/break-inline-psymtab.c: New test.
1361 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1362
2f89101f
TV
13632020-03-16 Tom de Vries <tdevries@suse.de>
1364
1365 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1366 cache_verify and cache_verify_proc.
1367
6b9374f1
TV
13682020-03-15 Tom de Vries <tdevries@suse.de>
1369
1370 * gdb.server/solib-list.exp: Handle
1371 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1372
eaeaf44c
TV
13732020-03-15 Tom de Vries <tdevries@suse.de>
1374
1375 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1376 objfiles".
1377
3293bbaf
TT
13782020-03-14 Tom Tromey <tom@tromey.com>
1379
1380 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1381
ab44624c
TV
13822020-03-14 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1385
54c43825
TV
13862020-03-14 Tom de Vries <tdevries@suse.de>
1387
1388 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1389 result in line-by-line fashion.
1390
2ac70237
TV
13912020-03-14 Tom de Vries <tdevries@suse.de>
1392
1393 * lib/gdb.exp (supports_statement_frontiers): New proc.
1394 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1395
09546b56
TV
13962020-03-14 Tom de Vries <tdevries@suse.de>
1397
1398 * gdb.base/printcmds.exp: Add missing quoting for "print
1399 teststring2".
1400
a1f6a07c
TT
14012020-03-13 Tom Tromey <tom@tromey.com>
1402
1403 * gdb.base/printcmds.exp (test_print_strings): Add regression
1404 test.
1405 * gdb.base/printcmds.c (charptr): New typedef.
1406 (teststring2): New global.
1407
1b83d09c
AB
14082020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1409
1410 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1411 full path in the test name.
1412 (test_ld): Add some with_test_prefix blocks to make test names
1413 unique.
1414
2d61316c
TV
14152020-03-13 Tom de Vries <tdevries@suse.de>
1416
1417 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1418
2e9145ac
TV
14192020-03-13 Tom de Vries <tdevries@suse.de>
1420
1421 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1422
96c7f873
TV
14232020-03-13 Tom de Vries <tdevries@suse.de>
1424
1425 PR symtab/25646
1426 * gdb.dwarf2/imported-unit.exp: Add test.
1427
49ba92c0
TV
14282020-03-13 Tom de Vries <tdevries@suse.de>
1429
1430 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1431 (var1, var2): New variable.
1432 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1433 matching symbols.
1434
301b21e0
TV
14352020-03-13 Tom de Vries <tdevries@suse.de>
1436
1437 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1438 (Term::command): Use prompt prefix.
1439 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1440 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1441 command_no_prompt_prefix instead of prefix.
1442 * gdb.tui/tui-layout-asm.exp: Same.
1443
3f512721
SM
14442020-03-12 Simon Marchi <simon.marchi@efficios.com>
1445
1446 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1447
40310f30
SM
14482020-03-12 Simon Marchi <simon.marchi@efficios.com>
1449
1450 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1451 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1452 on" while stepping over the test instruction, match printed
1453 message.
1454
09252140
TV
14552020-03-12 Tom de Vries <tdevries@suse.de>
1456
1457 * gdb.base/info-types.exp: Use exp_continue during matching of output
1458 of "info types".
1459
14e9c72c
TV
14602020-03-12 Tom de Vries <tdevries@suse.de>
1461
1462 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1463
e515d67e
TV
14642020-03-12 Tom de Vries <tdevries@suse.de>
1465
1466 * gdb.fortran/module.exp: Use exp_continue during matching of output
1467 of "info variable -n".
1468
307eafd8
TV
14692020-03-12 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1472 gdb.dwarf2/dw2-ranges-base.c.
1473
9a2de3fc
TV
14742020-03-12 Tom de Vries <tdevries@suse.de>
1475
1476 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1477 in presence of GLIBC debuginfo.
1478
3217502e
TV
14792020-03-12 Tom de Vries <tdevries@suse.de>
1480
1481 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1482 $core.
1483
1281424c
TV
14842020-03-12 Tom de Vries <tdevries@suse.de>
1485
1486 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1487 more precise.
1488
038b97fc
SM
14892020-03-11 Simon Marchi <simon.marchi@efficios.com>
1490
1491 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1492 from Unix to Windows path.
1493
5308d1e7
TV
14942020-03-11 Tom de Vries <tdevries@suse.de>
1495
1496 * gdb.ada/minsyms.exp: Set language to ada.
1497
f870f78f
TV
14982020-03-11 Tom de Vries <tdevries@suse.de>
1499
1500 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1501
5a13315d
TV
15022020-03-11 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1505
976862ed
TT
15062020-03-11 Tom Tromey <tromey@adacore.com>
1507
1508 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1509
7462c383
TV
15102020-03-11 Tom de Vries <tdevries@suse.de>
1511
1512 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1513
1c6c46a0
TV
15142020-03-11 Tom de Vries <tdevries@suse.de>
1515
1516 * gdb.base/break-interp.exp: Limit verbose scope.
1517
44f41bb7
TV
15182020-03-11 Tom de Vries <tdevries@suse.de>
1519
1520 * gdb.fortran/logical.f90: Define variable with character type.
1521 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1522
b76f3a42
TV
15232020-03-11 Tom de Vries <tdevries@suse.de>
1524
1525 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1526
1c33af77
TV
15272020-03-11 Tom de Vries <tdevries@suse.de>
1528
1529 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1530 symtabs.
1531
8c95582d
AB
15322020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1533 Bernd Edlinger <bernd.edlinger@hotmail.de>
1534
1535 * gdb.cp/step-and-next-inline.cc: New file.
1536 * gdb.cp/step-and-next-inline.exp: New file.
1537 * gdb.cp/step-and-next-inline.h: New file.
1538 * gdb.dwarf2/dw2-is-stmt.c: New file.
1539 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1540 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1541 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1542 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1543
cecf8547
AB
15442020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1545
1546 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1547 is-stmt flag in the line table.
1548
0ba678c9
TV
15492020-03-09 Tom de Vries <tdevries@suse.de>
1550
1551 * lib/gdb.exp (cached_file): Create cache dir.
1552
72fbdf83
TV
15532020-03-07 Tom de Vries <tdevries@suse.de>
1554
1555 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1556 * gdb.cp/rvalue-ref-params.exp: Same.
1557
436b5e99
TV
15582020-03-06 Tom de Vries <tdevries@suse.de>
1559
1560 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1561 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1562
09f2921c
TV
15632020-03-06 Tom de Vries <tdevries@suse.de>
1564
1565 * README: Fix "the the".
1566 * gdb.base/dprintf.exp: Same.
1567
50a3cc5d
TV
15682020-03-05 Tom de Vries <tdevries@suse.de>
1569
1570 * gdb.base/maint.exp: Update "main print statistics" expected output.
1571
0a709cba
AKS
15722020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1573
1574 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1575 (fortran_int8): Likewise.
1576 (fortran_real4): Likewise.
1577 (fortran_real8): Likewise.
1578 (fortran_complex4): Likewise.
1579 (fortran_logical4): Likewise.
1580 (fortran_character1): Likewise.
1581
5e5d66b6
AB
15822020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1583
1584 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1585 printed as true.
1586
7b973adc
SDJ
15872020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1588
1589 * gdb.base/printcmds.exp: Add test to verify printf of a
1590 variable holding an address.
1591
478e490a
TV
15922020-03-03 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1595
1ef44e86
TV
15962020-03-03 Tom de Vries <tdevries@suse.de>
1597
1598 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1599 gdb_test_multiple call.
1600
b98cc2cf
TV
16012020-03-03 Tom de Vries <tdevries@suse.de>
1602
1603 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1604 gdb_test_multiple calls.
1605
63e163f2
AB
16062020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1607
1608 * gdb.base/default.exp: Remove test of 'set history filename'.
1609 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1610 filename to the empty string.
1611 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1612 and GDBHISTSIZE.
1613
24ed6739
AB
16142020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1615
1616 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1617 disabled.
1618
590003dc
TV
16192020-03-02 Pedro Alves <palves@redhat.com>
1620 Tom de Vries <tdevries@suse.de>
1621
1622 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1623 -prompt prefix, before user_code argument. Add -lbl option likewise.
1624 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1625 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1626 argument.
1627 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1628 have "\r\n" at start-of-line, instead of at end-of-line.
1629
f5e46084
SM
16302020-02-28 Simon Marchi <simon.marchi@efficios.com>
1631
1632 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1633 libinproctrace.so.
1634
f7a7000d
LM
16352020-02-28 Luis Machado <luis.machado@linaro.org>
1636
1637 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1638 to "p/x".
1639
718e0816
LM
16402020-02-28 Luis Machado <luis.machado@linaro.org>
1641
1642 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1643 asm/ptrace.h and error.h.
1644
13c3a74a
TV
16452020-02-28 Tom de Vries <tdevries@suse.de>
1646
1647 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1648 (struct wrapper, do_something, mundane/symada__cS): Move ...
1649 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1650 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1651 Update "print symada__cS before partial symtab expansion" regexp.
1652 Update breakpoint location. Flush symbol cache after expansion.
1653
85d2d5bb
LM
16542020-02-28 Luis Machado <luis.machado@linaro.org>
1655
1656 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1657
3608f86c
TV
16582020-02-27 Tom de Vries <tdevries@suse.de>
1659
1660 * config/sid.exp: Remove unused globals.
1661 * gdb.base/attach.exp: Same.
1662 * gdb.base/catch-load.exp: Same.
1663 * gdb.base/dbx.exp: Same.
1664 * lib/gdb.exp: Same.
1665 * lib/mi-support.exp: Same.
1666 * lib/prompt.exp: Same.
1667
c8d4f6df
TV
16682020-02-27 Tom de Vries <tdevries@suse.de>
1669
1670 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1671 not set.
1672
0d79cdc4
AM
16732020-02-26 Aaron Merey <amerey@redhat.com>
1674
1675 * gdb.debuginfod: New directory for debuginfod tests.
1676 * gdb.debuginfod/main.c: New test file.
1677 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1678
0dce4280
TV
16792020-02-26 Tom de Vries <tdevries@suse.de>
1680
1681 PR gdb/25603
1682 * gdb.base/persistent-lang.cc: New test.
1683 * gdb.base/persistent-lang.exp: New file.
1684
9e80cfa1
AB
16852020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1686
1687 * gdb.fortran/derived-type-striding.exp: Add a new test.
1688 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1689 new test.
1690
2078dbb2
AB
16912020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1692
1693 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1694 names.
1695
70d49700
TV
16962020-02-25 Tom de Vries <tdevries@suse.de>
1697
1698 PR go/18926
1699 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1700
a88ef40d
TV
17012020-02-24 Tom de Vries <tdevries@suse.de>
1702
1703 PR gdb/25592
1704 * gdb.base/info-locals-unused-static-var.c: New test.
1705 * gdb.base/info-locals-unused-static-var.exp: New file.
1706
01b1af32
TT
17072020-02-22 Tom Tromey <tom@tromey.com>
1708
1709 * gdb.python/tui-window.exp: New file.
1710 * gdb.python/tui-window.py: New file.
1711
7c043ba6
TT
17122020-02-22 Tom Tromey <tom@tromey.com>
1713
1714 PR tui/17850:
1715 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1716 tests.
1717
c22fef7e
TT
17182020-02-22 Tom Tromey <tom@tromey.com>
1719
1720 * gdb.tui/new-layout.exp: Add sub-layout tests.
1721
ee325b61
TT
17222020-02-22 Tom Tromey <tom@tromey.com>
1723
1724 * gdb.tui/new-layout.exp: New file.
1725
3f0cbb04
TT
17262020-02-22 Tom Tromey <tom@tromey.com>
1727
1728 * gdb.rust/rust-style.rs: New file.
1729 * gdb.rust/rust-style.exp: New file.
1730 * gdb.base/style.exp: Test structure printing.
1731 * gdb.base/style.c (struct some_struct): New type.
1732 (enum etype): New type.
1733 (struct_value): New global.
1734
75525152
TV
17352020-02-21 Tom de Vries <tdevries@suse.de>
1736
1737 PR go/18926
1738 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1739 Remove blanket xfails. Use message argument for gdb_breakpoint.
1740 Make continuing to breakpoint test conditional on setting breakpoint.
1741 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1742 DW_AT_name attribute. Add xfail for GCC PR93866.
1743
bd360d30
AB
17442020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1745
1746 * gdb.dwarf2/cpp-linkage-name.c: New file.
1747 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1748
c7adb09f 17492020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1750
1751 * lib/gdb.exp (gdb_wrapper_init): Reset
1752 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1753 not exist.
1754
a9c79803
TV
17552020-02-20 Tom de Vries <tdevries@suse.de>
1756
1757 PR go/17018
1758 * gdb.go/hello.exp: Copy ...
1759 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1760 print of st to print value of global definition. Add xfail for GCC
1761 PR93844.
1762 * gdb.go/hello.exp: Remove printing of st before definition.
1763 * gdb.go/hello.go: Copy ...
1764 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1765 to st.
1766 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1767
d7445728
TV
17682020-02-20 Tom de Vries <tdevries@suse.de>
1769
1770 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1771 (gdb_simple_compile): Handle compile_flags go by using .go extension
1772 for source file.
1773 * gdb.go/chan.exp: Use support_go_compile.
1774 * gdb.go/handcall.exp: Same.
1775 * gdb.go/hello.exp: Same.
1776 * gdb.go/integers.exp: Same.
1777 * gdb.go/max-depth.exp: Same.
1778 * gdb.go/methods.exp: Same.
1779 * gdb.go/package.exp: Same.
1780 * gdb.go/strings.exp: Same.
1781 * gdb.go/types.exp: Same.
1782 * gdb.go/unsafe.exp: Same.
1783
c9c41e6d
TV
17842020-02-19 Tom de Vries <tdevries@suse.de>
1785
1786 * gdb.python/lib-types.exp: Make xfail more strict.
1787
f20ff837
TV
17882020-02-19 Tom de Vries <tdevries@suse.de>
1789
1790 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1791
08410482
DE
17922020-02-19 Doug Evans <dje@google.com>
1793
1794 PR rust/25535
1795 * gdb.rust/simple.exp: Add test.
1796 * gdb.rust/simple.rs: Add test.
1797
623563f7
TV
17982020-02-19 Tom de Vries <tdevries@suse.de>
1799
1800 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1801 output line-by-line.
1802
d3308cfd
TV
18032020-02-19 Tom de Vries <tdevries@suse.de>
1804
1805 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1806
86cbc5dc
TV
18072020-02-19 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1810 prelink.
1811
9db2b96b
TV
18122020-02-19 Tom de Vries <tdevries@suse.de>
1813
1814 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1815 (gdb_do_cache): Use gdb_do_cache_wrap.
1816 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1817
89e2fdc5
TV
18182020-02-19 Tom de Vries <tdevries@suse.de>
1819
1820 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1821 gdb_compile option.
1822
373d7ac0
SM
18232020-02-18 Simon Marchi <simon.marchi@efficios.com>
1824
1825 * gdb.base/printcmds.exp (test_print_enums): Update expected
1826 output.
1827
b29a2df0
SM
18282020-02-18 Simon Marchi <simon.marchi@efficios.com>
1829
1830 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1831 for "unknown".
1832
6740f0cc
SM
18332020-02-18 Simon Marchi <simon.marchi@efficios.com>
1834
1835 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1836 enumerator.
1837
edd45eb0
SM
18382020-02-18 Simon Marchi <simon.marchi@efficios.com>
1839
1840 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1841 FE_, add FE_NONE.
1842 (three): Update.
1843 (enum flag_enum_without_zero): New enum.
1844 (flag_enum_without_zero): New variable.
1845 (enum not_flag_enum): New enum.
1846 (three_not_flag): New variable.
1847 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1848 (test_print_enums): Add more tests for printing flag enums.
1849
d4295de4
TV
18502020-02-18 Tom de Vries <tdevries@suse.de>
1851
1852 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1853 (gdb_compile_ada): ... here.
1854 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1855 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1856
f251f505
TT
18572020-02-14 Tom Tromey <tom@tromey.com>
1858
1859 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1860 build directory.
1861 * boards/gdbserver-base.exp: Update path to gdbserver.
1862
8f432634
TV
18632020-02-13 Tom de Vries <tdevries@suse.de>
1864
1865 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1866
92b6eaf7
TV
18672020-02-13 Tom de Vries <tdevries@suse.de>
1868
1869 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1870 are missing.
1871
f3b0f7fe
TV
18722020-02-13 Tom de Vries <tdevries@suse.de>
1873
1874 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1875 call.
1876
f6be8713
SDJ
18772020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1878
1879 PR tui/25126
1880 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1881 * gdb.base/cached-source-file.c: New file.
1882 * gdb.base/cached-source-file.exp: New file.
1883
b2770d5e
TV
18842020-02-11 Tom de Vries <tdevries@suse.de>
1885
1886 PR testsuite/25488
1887 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1888
44f6938e
TV
18892020-02-10 Tom de Vries <tdevries@suse.de>
1890
1891 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1892
5f0e2eb7
MR
18932020-02-10 Maciej W. Rozycki <macro@wdc.com>
1894
1895 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1896 and $after_addr are both integers before making a comparison.
1897
46ce2b6f
TV
18982020-02-09 Tom de Vries <tdevries@suse.de>
1899
1900 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1901 command output and paste it into gdb.log. If any, paste catch message
1902 to gdb.log.
1903
5abbbe1d
TT
19042020-02-07 Tom Tromey <tromey@adacore.com>
1905
1906 PR breakpoints/24915:
1907 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1908
1d5d29e7
SV
19092020-02-06 Shahab Vahedi <shahab@synopsys.com>
1910
1911 * gdb.tui/tui-missing-src.exp: Add the "missing source
1912 file" test for the TUI.
1913
b0999b9b
AB
19142020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1915
1916 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1917 including a port number in the output.
1918
c3b149eb
AKS
19192020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1920
1921 * lib/fortran.exp (fortran_int4): Handle clang.
1922 (fortran_int8): Likewise.
1923 (fortran_real4): Likewise.
1924 (fortran_real8): Likewise.
1925 (fortran_complex4): Likewise.
1926 (fortran_logical4): Likewise.
1927 (fortran_character1): Likewise.
1928
f8dcc90b
TV
19292020-02-04 Tom de Vries <tdevries@suse.de>
1930
1931 * README (Race detection): Add note.
1932
f90ac7c2
TV
19332020-02-04 Tom de Vries <tdevries@suse.de>
1934
1935 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1936
780636ae
TV
19372020-02-04 Tom de Vries <tdevries@suse.de>
1938
1939 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1940
5d2e1193
RA
19412020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1942
1943 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1944 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1945 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1946 blttar, bnetarl.
1947 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1948 binary for blttar, bnetarl.
1949 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1950 wait instruction. Delete ldmx test.
1951 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1952
e409c542
AKS
19532020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1954
1955 * gdb.fortran/array-bounds-high.exp: New file.
1956 * gdb.fortran/array-bounds-high.f90: New file.
1957
b0029748
LD
19582020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1959
1960 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1961 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1962
195a8287
TV
19632020-02-01 Tom de Vries <tdevries@suse.de>
1964
1965 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1966
42330a68
AB
19672020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1968
1969 PR tui/9765
1970 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1971 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1972
b62a8028
LM
19732020-01-29 Luis Machado <luis.machado@linaro.org>
1974
1975 * gdb.arch/aarch64-brk-patterns.c: New source file.
1976 * gdb.arch/aarch64-brk-patterns.exp: New test.
1977
5f440116
TBA
19782020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1979
1980 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1981 GCC/Clang version.
1982 * gdb.cp/pass-by-ref.exp: Ditto.
1983
ee2a6fc6
TV
19842020-01-29 Tom de Vries <tdevries@suse.de>
1985
1986 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1987 * gdb.threads/watchpoint-fork-mt.c: Same.
1988 * gdb.threads/watchpoint-fork-parent.c: Same.
1989 * gdb.threads/watchpoint-fork-st.c: Same.
1990 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1991
16b10d6e
LM
19922020-01-27 Luis Machado <luis.machado@linaro.org>
1993
1994 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1995 sitting at a syscall instruction when we hit the syscall function's
1996 breakpoint.
1997 Check PC against one obtained with the x command.
1998 Validate syscall number.
1999 (step_over_syscall): Don't continue to the syscall instruction if
2000 we're already there.
2001
b1468492
PW
20022020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2003
2004 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2005
7ffa82e1
AB
20062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2007
2008 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2009 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2010
3d92a3e3
AB
20112020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2012
2013 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2014 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2015
94a72be7
AB
20162020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2017
2018 * gdb.base/maint.exp: Update line table parsing test.
2019 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2020
53af73bf
PA
20212020-01-24 Pedro Alves <palves@redhat.com>
2022
2023 PR gdb/25410
2024 * gdb.multi/multi-re-run-1.c: New.
2025 * gdb.multi/multi-re-run-2.c: New.
2026 * gdb.multi/multi-re-run.exp: New.
2027
1ba1ac88
AB
20282020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2029
2030 PR gdb/23718
2031 * gdb.server/server-kill-python.exp: New file.
2032
f3364a6d
AB
20332020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2034
2035 * gdb.server/multi-ui-errors.c: New file.
2036 * gdb.server/multi-ui-errors.exp: New file.
2037
733d0a67
AB
20382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2039
2040 PR tui/9765
2041 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2042
4f13c1c0
TT
20432020-01-19 Tom Tromey <tom@tromey.com>
2044
2045 * gdb.tui/main.exp: Add check for plain "file".
2046
40c94099
CB
20472020-01-16 Christian Biesinger <cbiesinger@google.com>
2048
2049 * lib/gdb.exp: Fix spelling error (seperatelly).
2050
ff47f4f0
TT
20512020-01-14 Tom Tromey <tom@tromey.com>
2052
2053 PR symtab/12535:
2054 * gdb.python/python.exp: Test decode_line with empty string
2055 argument.
2056
717c684d
BE
20572020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2058
2059 * gdb.base/skip-inline.exp: Extend test.
2060
44e4c775
AB
20612020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2062
2063 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2064 * gdb.dwarf2/dw2-bad-elf.c: New file.
2065 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2066
d93c6db7
AB
20672020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2070 _line_saw_file.
2071
9a6d629c
AB
20722020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2073
2074 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2075 border.
2076
d9ebdab7
TBA
20772020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2078
2079 * gdb.multi/multi-target.exp (setup): Factor out "info
2080 connections" and "info inferiors" tests to ...
2081 (test_info_inferiors): ... this new procedure.
2082 (top level): Run new "info-inferiors" tests.
2083
f3c469b9
PA
20842020-01-10 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.server/bkpt-other-inferior.exp: New file.
2087
121b3efd
PA
20882020-01-10 Pedro Alves <palves@redhat.com>
2089
2090 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2091 of "add-inferior".
2092 * gdb.base/quit-live.exp: Likewise.
2093 * gdb.base/remote-exec-file.exp: Likewise.
2094 * gdb.guile/scm-progspace.exp: Likewise.
2095 * gdb.linespec/linespec.exp: Likewise.
2096 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2097 * gdb.mi/user-selected-context-sync.exp: Likewise.
2098 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2099 "info inferiors" tests.
2100 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2101 "add-inferior".
2102 * gdb.multi/watchpoint-multi.exp: Likewise.
2103 * gdb.python/py-inferior.exp: Likewise.
2104 * gdb.server/extended-remote-restart.exp: Likewise.
2105 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2106 "info inferiors".
2107 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2108 * gdb.trace/report.exp: Likewise.
2109
1dadb1dd
PA
21102020-01-10 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.multi/multi-target.c: New file.
2113 * gdb.multi/multi-target.exp: New file.
2114 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2115 mode requested, but remote does not support non-stop".
2116
78f2c40a
PA
21172020-01-10 Pedro Alves <palves@redhat.com>
2118
2119 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2120 disconnect before reconnecting.
2121
e7af6c70
TBA
21222020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2123 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.server/connect-without-multi-process.exp: Also test
2126 continuing to end.
2127
acdf84a6
PA
21282020-01-10 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/remote-exec-file.exp: New file.
2131
873657b9
PA
21322020-01-10 Pedro Alves <palves@redhat.com>
2133
2134 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2135 output.
2136 * gdb.threads/async.c: New.
2137 * gdb.threads/async.exp: New.
2138 * gdb.multi/tids-gid-reset.c: New.
2139 * gdb.multi/tids-gid-reset.exp: New.
2140
7f0ae84c
GB
21412020-01-10 George Barrett <bob@bob131.so>
2142
2143 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2144 to help in finding the image relocation offset.
2145 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2146 options in arguments.
2147 (stap_test_no_debuginfo): Likewise.
2148 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2149 test variants.
2150 (stap_test): Add null semaphore relocation test.
2151
47e9d49d
GB
21522020-01-10 George Barrett <bob@bob131.so>
2153
2154 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2155 * gdb.base/stap-probe.exp: Likewise.
2156 (stap_test): Pass argument as an additional flag.
2157 (stap_test_no_debuginfo): Likewise.
2158 (stap_test): Check `info probes stap' output for semaphore
2159 addresses if the test binary is supposed to have them.
2160
f5a7c406
AB
21612020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 * gdb.tui/basic.exp: Add more scrolling tests.
2164
9ae6bf64
TT
21652020-01-09 Tom Tromey <tom@tromey.com>
2166
2167 PR tui/18932:
2168 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2169 meangingful value.
2170 (Term::command, Term::resize): Update.
2171 * gdb.tui/basic.exp: Add scrolling test.
2172
b2efe70c
AB
21732020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2174
2175 * gdb.tui/tui-layout-asm.exp: New file.
2176
3804da7e
AB
21772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2178
2179 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2180
b40aa28f
AB
21812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2182
2183 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2184 (Term::enter_tui): Use Term::prepare_for_tui.
2185
63ffd7c9
AB
21862020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2187
2188 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2189 called.
2190
3be966f6
AB
21912020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2192
2193 * gdb.base/skip.exp: Fix race condition in test.
2194
153d79c4
AB
21952020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * gdb.base/backtrace.c: New file.
2198 * gdb.base/backtrace.exp: New file.
2199
f2302a34
AB
22002020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2201
2202 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2203
6ec1d75e
PW
22042020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2205
2206 * gdb.base/style.exp: Test that warnings are styled.
2207
c296cbe6
BE
22082019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2209
2210 * gdb.base/line65535.exp: New file.
2211 * gdb.base/line65535.c: New file.
2212
b28a729d
SM
22132019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2214
2215 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2216 * lib/gnat_debug_info_test.adb: New file.
2217 * gdb.ada/ptype_tagged_param.exp: Use
2218 gnat_runtime_has_debug_info, expect a different output if
2219 runtime does not have debug info.
2220
7f2d7a0d
SM
22212019-12-20 Simon Marchi <simon.marchi@efficios.com>
2222
2223 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2224 (another) quote in test name.
2225
f3bce483
SM
22262019-12-20 Simon Marchi <simon.marchi@efficios.com>
2227
2228 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2229 Add quote in test name.
2230
c855a912
TBA
22312019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2232
2233 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2234 directory instead.
2235 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2236 * gdb.cp/pass-by-ref-2.cc: New file.
2237 * gdb.cp/pass-by-ref-2.exp: New file.
2238
fc9d2d72
TT
22392019-12-20 Tom Tromey <tom@tromey.com>
2240
2241 * gdb.tui/list-before.exp: New file.
2242
77b97e00
TT
22432019-12-20 Tom Tromey <tom@tromey.com>
2244
2245 * gdb.tui/list.exp: Check for source on initial listing.
2246
f69656d0
TT
22472019-12-11 Tom Tromey <tromey@adacore.com>
2248
2249 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2250 Add crlf test.
2251
99a55965
SM
22522019-12-18 Simon Marchi <simon.marchi@efficios.com>
2253
2254 * gdb.base/default.exp: Update value of $_gdb_major.
2255
5024637f
BE
22562019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2257
2258 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2259
b63634be
BE
22602019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2261
2262 * gdb.base/skip.exp: Whitespace fix.
2263
45d73523
BE
22642019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2265
2266 * gdb.base/skip-inline.c: New file.
2267 * gdb.base/skip-inline.exp: New file.
2268
d043f8c8
SM
22692019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2270
2271 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2272 jit_function_00 to jit_function_stack_mangle.
2273 * gdb.base/jithost.c (jit_function_t): Rename to...
2274 (jit_function_stack_mangle_t): ... this.
2275 (jit_function_add_t): New typedef.
2276 (jit_function_00_code): Rename to...
2277 (jit_function_stack_mangle_code): ... this, make static.
2278 (jit_function_add_code): New.
2279 (main): Generate "add" function and call it. Adjust to changes
2280 in jithost_abi.
2281 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2282 (struct jithost_abi) <begin, end>: Remove fields.
2283 <object, function_stack_mangle, function_add>: New fields.
2284 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2285 code_end>: Remove fields.
2286 <func_stack_mangle>: New field.
2287 (read_debug_info): Adjust to renaming, create block for "add"
2288 function.
2289 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2290
873de05c
TT
22912019-12-11 Tom Tromey <tom@tromey.com>
2292
2293 * gdb.tui/resize.exp: Fix regexp.
2294 * gdb.tui/regs.exp: Fix regexps.
2295 * gdb.tui/main.exp: Fix regexp.
2296
3d979945
TT
22972019-12-11 Tom Tromey <tom@tromey.com>
2298
2299 * gdb.tui/resize.exp: Update.
2300 * gdb.tui/empty.exp (layouts): Update.
2301
2192a9d3
TT
23022019-12-11 Tom Tromey <tom@tromey.com>
2303
2304 * gdb.tui/regs.exp: Update.
2305 * gdb.tui/empty.exp (layouts): Update.
2306 * gdb.tui/basic.exp: Update.
2307 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2308
d8edc8b7
PW
23092019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2310
2311 * gdb.base/options.exp: Add -raw-values in the print completion list.
2312 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2313
4c12d936
KB
23142019-12-10 Kevin Buettner <kevinb@redhat.com>
2315
2316 * gdb.threads/omp-par-scope.c: New file.
2317 * gdb/threads/omp-par-scope.exp: New file.
2318
26b911fb
KB
23192019-12-10 Kevin Buettner <kevinb@redhat.com>
2320
bb47f919
KB
2321 * lib/gdb.exp (support_nested_function_tests): New proc.
2322
23232019-12-10 Kevin Buettner <kevinb@redhat.com>
2324
2325 * lib/gdb.exp (gdb_compile_openmp): New proc.
2326 (build_executable_from_specs): Add an "openmp" option.
2327 (gdb_compile_pthreads): Add non-executable case.
26b911fb 2328
6c71eb7d
TT
23292019-12-10 Tom Tromey <tromey@adacore.com>
2330
2331 * gdb.ada/unchecked_union.exp: New file.
2332 * gdb.ada/unchecked_union/pck.adb: New file.
2333 * gdb.ada/unchecked_union/pck.ads: New file.
2334 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2335 * gdb-utils.exp (string_to_regexp): Also quote "?".
2336
bac7c5cf
GB
23372019-12-10 George Barrett <bob@bob131.so>
2338
2339 Test scripted probe breakpoints.
2340 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2341 * gdb.python/py-breakpoint.c (main): Likewise.
2342 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2343 specifier test.
2344 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2345
330f1d38
TBA
23462019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2347
2348 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2349 an rvalue parameter.
2350 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2351 parameter.
2352
b43315e2
AB
23532019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2356 modules.
2357
54f73dad
AB
23582019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2361 broken version of GCC.
2362
d57cbee9
AB
23632019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2366 sym-info-cmds library.
2367 * gdb.fortran/info-types.exp: Likewise.
2368 * lib/sym-info-cmds.exp: New file.
2369
c14aab8c
TV
23702019-12-08 Tom de Vries <tdevries@suse.de>
2371
2372 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2373
aa2d5a42
KS
23742019-12-07 Keith Seitz <keiths@redhat.com>
2375
2376 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2377 * gdb.base/corefile-buildid-shlib.c: New file.
2378 * gdb.base/corefile-buildid.c: New file.
2379 * gdb.base/corefile-buildid.exp: New file.
2380
93e55f0a
TV
23812019-12-06 Tom de Vries <tdevries@suse.de>
2382
2383 * gdb.dwarf2/varval.exp: Add decl before def test.
2384
c7d12402
TBA
23852019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2386
2387 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2388
06acc08f
TBA
23892019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2390
2391 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2392 CV and reference conversion for overload resolution.
2393 * gdb.cp/rvalue-ref-overload.exp: Test it.
2394
e0fad1ea
PW
23952019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2396
2397 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2398 * gdb.base/frameapply.exp: Test faas without command.
2399
8d70a9f0
AB
24002019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2403 Fortran tests.
2404 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2405 order.
2406
36c8fb93
AB
24072019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2408
2409 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2410 casting to type with no kind specified.
2411 (test_basic_parsing_of_type_kinds): Additional tests for types
2412 with no kind specified, and add tests for single/double
2413 precision/complex types.
2414
4139ff00
TT
24152019-12-04 Tom Tromey <tromey@adacore.com>
2416
2417 * gdb.base/endianity.c (struct other) <x>: New field.
2418 (main): Initialize it.
2419 * gdb.base/endianity.exp: Update.
2420
a05cf17a
TT
24212019-12-04 Tom Tromey <tromey@adacore.com>
2422
2423 * gdb.ada/scalar_storage/storage.adb: New file.
2424 * gdb.ada/scalar_storage/pck.adb: New file.
2425 * gdb.ada/scalar_storage/pck.ads: New file.
2426 * gdb.ada/scalar_storage.exp: New file.
2427
103a685e
TT
24282019-12-04 Tom Tromey <tromey@adacore.com>
2429
2430 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2431 (main): Initialize it.
2432 * gdb.base/endianity.exp: Update.
2433
c2512106
AB
24342019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2435
2436 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2437
293b38d6
AB
24382019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2439
2440 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2441 -symbol-info-module-functions and -symbol-info-module-variables.
2442
216a7e6b
AB
24432019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2446
5bbd8269
AB
24472019-12-01 Richard Bunt <richard.bunt@arm.com>
2448 Andrew Burgess <andrew.burgess@embecosm.com>
2449
2450 * gdb.fortran/derived-type-striding.exp: New file.
2451 * gdb.fortran/derived-type-striding.f90: New file.
2452 * gdb.fortran/array-slices.exp: New file.
2453 * gdb.fortran/array-slices.f90: New file.
2454
be09caf1
PW
24552019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2456
2457 * gdb.base/define.exp: Test . in command names.
2458 * gdb.base/setshow.exp: Update test, as . is now part of
2459 command name.
2460
643c0cbe
PW
24612019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2462
2463 * gdb.base/define-prefix.exp: New file.
2464
dcdec678
AB
24652019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2466
2467 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2468 compile.
2469 (skip_btrace_pt_tests): Likewise.
2470
640ab947
AB
24712019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2472
2473 * gdb.fortran/info-modules.exp: Compile source files in correct
2474 order.
2475
d22670f0
KB
24762019-11-27 Kevin Buettner <kevinb@redhat.com>
2477
2478 * gdb.dwarf2/imported-unit.exp: New file.
2479 * gdb.dwarf2/imported-unit.c: New file.
2480
db5960b4
AB
24812019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2482
2483 * gdb.mi/mi-fortran-modules-2.f90: New file.
2484 * gdb.mi/mi-fortran-modules.exp: New file.
2485 * gdb.mi/mi-fortran-modules.f90: New file.
2486
7dc42066
AB
24872019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2488
2489 * gdb.mi/mi-sym-info-1.c: New file.
2490 * gdb.mi/mi-sym-info-2.c: New file.
2491 * gdb.mi/mi-sym-info.exp: New file.
2492
0dfeecca
TT
24932019-11-22 Tom Tromey <tromey@adacore.com>
2494
2495 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2496 * gdb.ada/tasks/foo.adb: Add another stopping location.
2497
34877895
PJ
24982019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2499
2500 * gdb.base/endianity.c: New test.
2501 * gdb.base/endianity.exp: New file.
2502
2e84f897
LD
25032019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2504
2505 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2506
65d1cd5f
TV
25072019-11-21 Tom de Vries <tdevries@suse.de>
2508
2509 PR gdb/24956
2510 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2511
4f22c3f4
SDJ
25122019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2513
2514 * gdb.python/py-progspace.exp: Add missing parentheses on some
2515 'print' commands.
2516
9f6ad286
TT
25172019-11-19 Tom Tromey <tom@tromey.com>
2518
2519 * gdb.tui/winheight.exp: New file.
2520
0b8dbf3f
AB
25212019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2522
2523 * gdb.base/ctf-whatis.c: Delete.
2524 * gdb.base/ctf-whatis.exp: Delete.
2525 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2526
f833b7a7
AB
25272019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2528
2529 * gdb.base/ctf-cvexpr.exp: Delete.
2530 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2531
30d0a636
AB
25322019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2533
2534 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2535 the compiler. Clean up header comment a little.
2536 * gdb.base/ctf-ptype.exp: Likewise.
2537 * gdb.base/ctf-whatis.exp: Likewise.
2538 * lib/gdb.exp (skip_ctf_tests): New proc.
2539
494409bb
SDJ
25402019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2541
2542 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2543 * gdb.tui/corefile-run.exp: New file.
2544
55708e99
TT
25452019-11-14 Tom Tromey <tromey@adacore.com>
2546
2547 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2548 regression tests.
2549
45e42163
TT
25502019-11-12 Tom Tromey <tom@tromey.com>
2551
2552 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2553 after any command. Expect prompt after WAIT_FOR is seen.
2554 (enter_tui): Enable resize messages.
2555 (command): Expect command in output.
2556 (get_line): Avoid error when cursor appears to be off-screen.
2557 (dump_screen): Include screen size in title.
2558 (_do_resize): New proc, from "resize".
2559 (resize): Rewrite. Do resize in two steps.
2560 * gdb.tui/empty.exp (layouts): Fix entries.
2561 (check_boxes): Remove xfail.
2562 (check_text): Dump screen on failure.
2563
086baaf1
AB
25642019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * gdb.python/py-symbol.exp: Add test for
2567 gdb.lookup_static_symbols.
2568
09ff83af
AB
25692019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2570
2571 * gdb.python/py-symbol.c: Declare and call function from new
2572 py-symbol-2.c file.
2573 * gdb.python/py-symbol.exp: Compile both source files, and add new
2574 tests for gdb.lookup_static_symbol.
2575 * gdb.python/py-symbol-2.c: New file.
2576
11af934b
TV
25772019-11-02 Tom de Vries <tdevries@suse.de>
2578
2579 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2580 * gdb.base/anon.exp: Same.
2581 * gdb.base/auto-connect-native-target.exp: Same.
2582 * gdb.base/call-ar-st.exp: Same.
2583 * gdb.base/catch-syscall.exp: Same.
2584 * gdb.base/commands.exp: Same.
2585 * gdb.base/default.exp: Same.
2586 * gdb.base/display.exp: Same.
2587 * gdb.base/float.exp: Same.
2588 * gdb.base/foll-fork.exp: Same.
2589 * gdb.base/help.exp: Same.
2590 * gdb.base/info-macros.exp: Same.
2591 * gdb.base/info-proc.exp: Same.
2592 * gdb.base/info-target.exp: Same.
2593 * gdb.base/long_long.exp: Same.
2594 * gdb.base/macscp.exp: Same.
2595 * gdb.base/memattr.exp: Same.
2596 * gdb.base/nofield.exp: Same.
2597 * gdb.base/pointers.exp: Same.
2598 * gdb.base/printcmds.exp: Same.
2599 * gdb.base/ptype.exp: Same.
2600 * gdb.base/restore.exp: Same.
2601 * gdb.base/return.exp: Same.
2602 * gdb.base/scope.exp: Same.
2603 * gdb.base/set-noassign.exp: Same.
2604 * gdb.base/setshow.exp: Same.
2605 * gdb.base/shlib-call.exp: Same.
2606 * gdb.base/signals.exp: Same.
2607 * gdb.base/sigstep.exp: Same.
2608 * gdb.base/skip.exp: Same.
2609 * gdb.base/solib-symbol.exp: Same.
2610 * gdb.base/stap-probe.exp: Same.
2611 * gdb.base/step-line.exp: Same.
2612 * gdb.base/step-test.exp: Same.
2613 * gdb.base/style.exp: Same.
2614 * gdb.base/varargs.exp: Same.
2615 * gdb.base/vla-datatypes.exp: Same.
2616 * gdb.base/vla-ptr.exp: Same.
2617 * gdb.base/vla-sideeffect.exp: Same.
2618 * gdb.base/volatile.exp: Same.
2619 * gdb.base/watch-cond-infcall.exp: Same.
2620 * gdb.base/watchpoint.exp: Same.
2621
e96ec2ba
TV
26222019-11-02 Tom de Vries <tdevries@suse.de>
2623
2624 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2625 * gdb.cp/cpexprs.exp: Same.
2626 * gdb.cp/except-multi-location.exp: Same.
2627 * gdb.cp/exceptprint.exp: Same.
2628 * gdb.cp/gdb2384.exp: Same.
2629 * gdb.cp/inherit.exp: Same.
2630 * gdb.cp/m-static.exp: Same.
2631 * gdb.cp/meth-typedefs.exp: Same.
2632 * gdb.cp/misc.exp: Same.
2633 * gdb.cp/namespace.exp: Same.
2634 * gdb.cp/non-trivial-retval.exp: Same.
2635 * gdb.cp/overload.exp: Same.
2636 * gdb.cp/pr17132.exp: Same.
2637 * gdb.cp/re-set-overloaded.exp: Same.
2638 * gdb.cp/rvalue-ref-types.exp: Same.
2639 * gdb.cp/templates.exp: Same.
2640
bd5766ec
LM
26412019-11-01 Luis Machado <luis.machado@linaro.org>
2642
2643 PR gdb/25124
2644
2645 * gdb.arch/pr25124.S: New file.
2646 * gdb.arch/pr25124.exp: New file.
2647
165f8965
AB
26482019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2649
2650 * gdb.fortran/info-modules.exp: Update expected results, and add
2651 additional tests for 'info module functinos', and 'info module
2652 variables'.
2653 * gdb.fortran/info-types.exp: Update expected results.
2654 * gdb.fortran/info-types.f90: Extend testcase with additional
2655 module variables and functions.
2656
59c35742
AB
26572019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2658
2659 * gdb.fortran/info-modules.exp: New file.
2660 * gdb.fortran/info-types.exp: Build with new file.
2661 * gdb.fortran/info-types.f90: Include and use new module.
2662 * gdb.fortran/info-types-2.f90: New file.
2663
f3fb2519
PW
26642019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2665
2666 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2667 * gdb.base/settings.exp: Test all settings types using
2668 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2669 that now verifies that the value of "maint show" is the same as
2670 returned by the settings functions. Test the type of the
2671 maintenance settings.
2672 * gdb.base/default.exp: Update show_conv_list.
2673
d1e36019
TV
26742019-10-31 Tom de Vries <tdevries@suse.de>
2675
2676 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2677 gdb_test.
2678 * gdb.arch/amd64-disp-step.exp: Same.
2679 * gdb.asm/asm-source.exp: Same.
2680 * gdb.btrace/buffer-size.exp: Same.
2681 * gdb.btrace/cpu.exp: Same.
2682 * gdb.btrace/enable.exp: Same.
2683 * gdb.dwarf2/count.exp: Same.
2684 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2685 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2686 * gdb.fortran/vla-datatypes.exp: Same.
2687 * gdb.fortran/vla-history.exp: Same.
2688 * gdb.fortran/vla-ptype.exp: Same.
2689 * gdb.fortran/vla-value.exp: Same.
2690 * gdb.fortran/whatis_type.exp: Same.
2691 * gdb.guile/guile.exp: Same.
2692 * gdb.multi/tids.exp: Same.
2693 * gdb.python/py-finish-breakpoint.exp: Same.
2694 * gdb.python/py-framefilter.exp: Same.
2695 * gdb.python/py-pp-registration.exp: Same.
2696 * gdb.python/py-xmethods.exp: Same.
2697 * gdb.python/python.exp: Same.
2698 * gdb.server/connect-with-no-symbol-file.exp: Same.
2699 * gdb.server/no-thread-db.exp: Same.
2700 * gdb.server/run-without-local-binary.exp: Same.
2701 * gdb.stabs/weird.exp: Same.
2702 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2703 * gdb.threads/thread-find.exp: Same.
2704 * gdb.threads/tls-shared.exp: Same.
2705 * gdb.threads/tls.exp: Same.
2706 * gdb.threads/wp-replication.exp: Same.
2707 * gdb.trace/ax.exp: Same.
2708 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2709
3d11e68e
TV
27102019-10-31 Tom de Vries <tdevries@suse.de>
2711
2712 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2713 * gdb.ada/array_subscript_addr.exp: Same.
2714 * gdb.ada/arrayidx.exp: Same.
2715 * gdb.ada/arrayparam.exp: Same.
2716 * gdb.ada/arrayptr.exp: Same.
2717 * gdb.ada/boolean_expr.exp: Same.
2718 * gdb.ada/call_pn.exp: Same.
2719 * gdb.ada/complete.exp: Same.
2720 * gdb.ada/fixed_cmp.exp: Same.
2721 * gdb.ada/fun_addr.exp: Same.
2722 * gdb.ada/funcall_param.exp: Same.
2723 * gdb.ada/interface.exp: Same.
2724 * gdb.ada/mod_from_name.exp: Same.
2725 * gdb.ada/null_array.exp: Same.
2726 * gdb.ada/packed_array.exp: Same.
2727 * gdb.ada/packed_tagged.exp: Same.
2728 * gdb.ada/print_chars.exp: Same.
2729 * gdb.ada/print_pc.exp: Same.
2730 * gdb.ada/ptype_arith_binop.exp: Same.
2731 * gdb.ada/ptype_field.exp: Same.
2732 * gdb.ada/ptype_tagged_param.exp: Same.
2733 * gdb.ada/rec_return.exp: Same.
2734 * gdb.ada/ref_tick_size.exp: Same.
2735 * gdb.ada/str_ref_cmp.exp: Same.
2736 * gdb.ada/taft_type.exp: Same.
2737 * gdb.ada/tagged.exp: Same.
2738 * gdb.ada/type_coercion.exp: Same.
2739 * gdb.ada/uninitialized_vars.exp: Same.
2740
60b6ede8
TV
27412019-10-30 Tom de Vries <tdevries@suse.de>
2742
2743 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2744
30baf67b
TV
27452019-10-26 Tom de Vries <tdevries@suse.de>
2746
2747 * gdb.base/bigcore.c: Fix typos in comments.
2748 * gdb.base/ctf-ptype.c: Same.
2749 * gdb.base/long_long.c: Same.
2750 * gdb.dwarf2/dw2-op-out-param.S: Same.
2751 * gdb.python/py-evthreads.c: Same.
2752 * gdb.reverse/i387-stack-reverse.c: Same.
2753 * gdb.trace/tfile.c: Same.
2754 * lib/compiler.c: Same.
2755 * lib/compiler.cc: Same.
2756
158da0d1
TV
27572019-10-25 Tom de Vries <tdevries@suse.de>
2758
2759 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2760 gdb_test_multiple calls.
2761 * gdb.reverse/sigall-reverse.exp: Same.
2762 * gdb.reverse/solib-precsave.exp: Same.
2763 * gdb.reverse/solib-reverse.exp: Same.
2764 * gdb.reverse/until-precsave.exp: Same.
2765 * gdb.reverse/until-reverse.exp: Same.
2766
4ccdfbec
TV
27672019-10-24 Tom de Vries <tdevries@suse.de>
2768
2769 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2770 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2771 kfail using -wrap pattern flag and convenience variable
2772 gdb_test_name.
2773
33d569b7
AB
27742019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2775
2776 * gdb.python/py-progspace.exp: Add tests for the
2777 Progspace.block_for_pc method.
2778
4d0b984b
TT
27792019-10-23 Tom Tromey <tom@tromey.com>
2780
2781 * configure: Rebuild.
2782 * aclocal.m4: Use m4_include, not sinclude.
2783
94cb3754
TV
27842019-10-21 Tom de Vries <tdevries@suse.de>
2785
2786 * gdb.base/infcall-nested-structs.c: Add
2787 __attribute__((noinline,noclone)) to all functions.
2788 (call_all): Add missing variable initialization. Simplify return value.
2789 (breakpt): Increment volatile variable, to prevent call from being
2790 optimized out.
2791 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2792
062f1fc1
TV
27932019-10-17 Tom de Vries <tdevries@suse.de>
2794
2795 * gdb.fortran/module.exp: Allow info variables to print info for files
2796 other than module.f90.
2797
0b54364d
AB
27982019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2799
2800 * gdb.fortran/module.exp: Extend with 'info variables' test.
2801
7ff5fae7
AB
28022019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2803
2804 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2805 F77_FOR_TARGET.
2806
d10eccaa
TV
28072019-10-16 Tom de Vries <tdevries@suse.de>
2808
2809 PR tdep/25096
2810 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2811
745ff14e
TV
28122019-10-16 Tom de Vries <tdevries@suse.de>
2813
2814 PR tdep/24104
2815 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2816 Add KFAIL for PR tdep/25096.
2817
03e1ab94
TV
28182019-10-16 Tom de Vries <tdevries@suse.de>
2819
2820 PR testsuite/25059
2821 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2822
b17fcc10
TV
28232019-10-16 Tom de Vries <tdevries@suse.de>
2824
2825 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2826 as signed.
2827
9223170f
SM
28282019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2829
2830 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2831 one instead of increasing timeout.
2832
d6e76313
TV
28332019-10-13 Tom de Vries <tdevries@suse.de>
2834
2835 PR record/25038
2836 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2837 * gdb.reverse/sigall-reverse.exp: Same.
2838 * gdb.reverse/solib-precsave.exp: Same.
2839 * gdb.reverse/solib-reverse.exp: Same.
2840 * gdb.reverse/step-precsave.exp: Same.
2841 * gdb.reverse/until-precsave.exp: Same.
2842 * gdb.reverse/until-reverse.exp: Same.
2843 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2844
6dfc0041
AA
28452019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2846
2847 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2848 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2849 (cmp_struct_05_01, cmp_struct_static_02_01)
2850 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2851 comparisons.
2852
abcf2cc8
TV
28532019-10-10 Tom de Vries <tdevries@suse.de>
2854
2855 PR testsuite/24888
2856 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2857 gnatlink.
2858
a50faaf6
TV
28592019-10-09 Tom de Vries <tdevries@suse.de>
2860
2861 PR testsuite/25048
2862 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2863
60ff3cd7
AB
28642019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2865
2866 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2867 exceptions due to missing debug information.
2868
dfee8566
TV
28692019-10-07 Tom de Vries <tdevries@suse.de>
2870
2871 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2872
3d63690a
AB
28732019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2874
2875 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2876 * gdb.base/annota1.exp: Update to use gdb_test_name.
2877
30d1f018
WP
28782019-10-07 Weimin Pan <weimin.pan@oracle.com>
2879
2880 * gdb.base/ctf-whatis.exp: New file.
2881 * gdb.base/ctf-whatis.c: New file.
2882 * gdb.base/ctf-ptype.exp: New file.
2883 * gdb.base/ctf-ptype.c: New file.
2884 * gdb.base/ctf-constvars.exp: New file.
2885 * gdb.base/ctf-constvars.c: New file.
2886 * gdb.base/ctf-cvexpr.exp: New file.
2887
4dbbb47c
TV
28882019-10-04 Tom de Vries <tdevries@suse.de>
2889
2890 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2891 for loop.
2892
77c2dba3
TT
28932019-10-03 Tom Tromey <tom@tromey.com>
2894
2895 PR rust/24976:
2896 * gdb.rust/simple.rs (Union2): New type.
2897 (main): Use Union2.
2898 * gdb.rust/simple.exp: Add test.
2899
179aed7f
AB
29002019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2901
2902 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2903 nested function prefix.
2904
0a4b0913
AB
29052019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2906 Richard Bunt <richard.bunt@arm.com>
2907 Andrew Burgess <andrew.burgess@embecosm.com>
2908
2909 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2910 nested functions.
2911 * gdb.fortran/nested-funcs.f90: Update expected results.
2912 * gdb.fortran/nested-funcs-2.exp: New file.
2913 * gdb.fortran/nested-funcs-2.f90: New file.
2914
082cce05
AB
29152019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2916
2917 * gdb.python/py-parameter.exp: Make test names unique.
2918 * gdb.python/py-template.exp: Likewise.
2919 * gdb.python/py-value.exp: Likewise.
2920
2b74ba5a
AB
29212019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.base/break-interp.exp: Reduce test name duplication.
2924 * gdb.base/call-sc.exp: Likewise.
2925 * gdb.base/callfuncs.exp: Likewise.
2926 * gdb.base/charset.exp: Likewise.
2927 * gdb.base/dump.exp: Likewise.
2928 * gdb.base/ena-dis-br.exp: Likewise.
2929 * gdb.base/relational.exp: Likewise.
2930 * gdb.base/step-over-syscall.exp: Likewise.
2931 * gdb.base/structs.exp: Likewise.
2932
58eb20d5
AB
29332019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2934
2935 * gdb.linespec/explicit.exp: Make test names unique.
2936 * gdb.linespec/ls-errs.exp: Likewise.
2937
4d421147
AB
29382019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2939
2940 * gdb.reverse/break-precsave.exp: Make test names unique.
2941 * gdb.reverse/break-reverse.exp: Likewise.
2942 * gdb.reverse/finish-precsave.exp: Likewise.
2943 * gdb.reverse/finish-reverse.exp: Likewise.
2944 * gdb.reverse/machinestate-precsave.exp: Likewise.
2945 * gdb.reverse/machinestate.exp: Likewise.
2946 * gdb.reverse/readv-reverse.exp: Likewise.
2947 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2948 * gdb.reverse/sigall-precsave.exp: Likewise.
2949 * gdb.reverse/sigall-reverse.exp: Likewise.
2950 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2951 * gdb.reverse/watch-precsave.exp: Likewise.
2952 * gdb.reverse/watch-reverse.exp: Likewise.
2953
d8c06f22
AB
29542019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2955
2956 * gdb.threads/stop-with-handle.c: New file.
2957 * gdb.threads/stop-with-handle.exp: New file.
2958
3a56ed86
TV
29592019-10-03 Tom de Vries <tdevries@suse.de>
2960
2961 PR testsuite/25059
2962 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2963 directory" line to be missing.
2964
42275044
TV
29652019-10-03 Tom de Vries <tdevries@suse.de>
2966
2967 PR testsuite/25059
2968 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2969 type optional.
2970
9ef62df0
AA
29712019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2972
2973 * gdb.python/py-format-string.c (string.h): New include.
2974 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2975 the same value, for endianness-independence.
2976 * gdb.python/py-format-string.exp (default_regexp_dict)
2977 (test_pretty_structs, test_format): Adjust expected output to the
2978 changed initialization.
2979
37f6a7f4
TT
29802019-10-02 Tom Tromey <tromey@adacore.com>
2981
2982 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2983
1d58d6a2
PA
29842019-10-02 Pedro Alves <palves@redhat.com>
2985 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2988 "print-file-var.h".
2989 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2990 (get_version_1): Print this_version_id and its address.
2991 Add extern "C" wrappers around interface functions.
2992 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2993 "print-file-var.h".
2994 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2995 (get_version_2): Print this_version_id and its address.
2996 Add extern "C" wrappers around interface functions.
2997 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2998 <stddef.h> and "print-file-var.h".
2999 Add extern "C" wrappers around interface functions.
3000 [VERSION_ID_MAIN] (this_version_id): Define.
3001 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3002 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3003 up extern "C" blocks.
3004 * gdb.base/print-file-var.exp (test): New, factored out from top
3005 level.
3006 (top level): Test all combinations of attribute hidden or not,
3007 dlopen or not, and this_version_id symbol in main file or not.
3008 Compile tests as both C++ and C, make test names unique.
3009
d770d56f
TT
30102019-10-01 Tom Tromey <tom@tromey.com>
3011
3012 * gdb.base/style.exp: Test "show logging filename".
3013
7f6aba03
TT
30142019-10-01 Tom Tromey <tom@tromey.com>
3015
3016 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3017 * gdb.base/style.exp: Add metadata style test.
3018
14309bb6
TT
30192019-10-01 Tom Tromey <tom@tromey.com>
3020
3021 * gdb.base/style.exp: Test "pwd".
3022
2a3c1174
PA
30232019-10-01 Tom Tromey <tom@tromey.com>
3024
3025 * gdb.base/style.exp: Update tests.
3026
53d666ec
AA
30272019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3028
3029 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3030 'six' to unsigned.
3031 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3032 'five'. Use an all-ones bit pattern for each.
3033 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3034 to its changed values.
3035
4a56a520
TT
30362019-09-30 Tom Tromey <tromey@adacore.com>
3037
3038 * gdb.rust/traits.rs: Disable all warnings.
3039
0df0352a
TV
30402019-09-29 Tom de Vries <tdevries@suse.de>
3041
aac66a4c 3042 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3043
73d9a918
TV
30442019-09-29 Tom de Vries <tdevries@suse.de>
3045
3046 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3047
060b3ab4
TV
30482019-09-27 Tom de Vries <tdevries@suse.de>
3049
3050 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3051
68f7d34d
TV
30522019-09-27 Tom de Vries <tdevries@suse.de>
3053
3054 PR record/23188
3055 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3056
5d63b30a
TT
30572019-09-26 Tom Tromey <tromey@adacore.com>
3058
3059 * gdb.ada/py_taft.exp: New file.
3060 * gdb.ada/py_taft/main.adb: New file.
3061 * gdb.ada/py_taft/pkg.adb: New file.
3062 * gdb.ada/py_taft/pkg.ads: New file.
3063
3d435220
TV
30642019-09-24 Tom de Vries <tdevries@suse.de>
3065
3066 PR gdb/24598
3067 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3068
77d03678
TV
30692019-09-22 Tom de Vries <tdevries@suse.de>
3070
3071 * gdb.base/restore.exp: Allow register variables to be optimized out at
3072 -O0.
3073
abf516c6
UW
30742019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3075
3076 * gdb.arch/spu-info.exp: Remove file.
3077 * gdb.arch/spu-info.c: Remove file.
3078 * gdb.arch/spu-ls.exp: Remove file.
3079 * gdb.arch/spu-ls.c: Remove file.
3080
3081 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3082 * gdb.asm/spu.inc: Remove file.
3083
3084 * gdb.base/dump.exp: Remove support for spu*-*-*.
3085 * gdb.base/stack-checking.exp: Likewise.
3086 * gdb.base/overlays.exp: Likewise.
3087 * gdb.base/ovlymgr.c: Likewise.
3088 * gdb.base/spu.ld: Remove file.
3089
3090 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3091 * gdb.cp/cpexprs.exp: Likewise.
3092 * gdb.cp/exception.exp: Likewise.
3093 * gdb.cp/gdb2495.exp: Likewise.
3094 * gdb.cp/mb-templates.exp: Likewise.
3095 * gdb.cp/pr9167.exp: Likewise.
3096 * gdb.cp/userdef.exp: Likewise.
3097
3098 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3099
3100 * gdb.cell: Remove directory.
3101 * lib/cell.exp: Remove file.
3102
e452e88f
TV
31032019-09-19 Tom de Vries <tdevries@suse.de>
3104
3105 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3106
8a625130
TV
31072019-09-19 Tom de Vries <tdevries@suse.de>
3108
3109 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3110
81dc3ab5
TV
31112019-09-19 Tom de Vries <tdevries@suse.de>
3112
3113 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3114 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3115 (gdb_target_cmd): ... here.
3116 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3117 value 2.
3118
b078f3ac
AB
31192019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3120
3121 * gdb.base/source-dir.exp: Avoid having directory names in test
3122 names.
3123
f1b620e9
MG
31242019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3125
3126 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3127 directory.
3128
67f3ed6a
AB
31292019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3130
3131 * gdb.base/list-missing-source.exp: New file.
3132
d1b70248
TV
31332019-09-14 Tom de Vries <tdevries@suse.de>
3134
3135 PR teststuite/24599
3136 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3137 * lib/ada.exp (gnatmake_version_at_least): New proc.
3138
5fabdcd6
AB
31392019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3140
3141 * gdb.base/maint.exp: Use exec_has_index_section.
3142
aa17805f
AB
31432019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3144
3145 * gdb.base/maint.exp: Add test for 'maint info sections'.
3146
25e5c209
TV
31472019-09-12 Tom de Vries <tdevries@suse.de>
3148
3149 * gdb.base/store.exp: Allow register variables to be optimized out at
3150 -O0.
3151
4993045d
PW
31522019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3153
3154 * gdb.ada/rdv_wait.exp: Update to new task names.
3155 * gdb.base/task_switch_in_core.exp: Likewise.
3156 * gdb.base/info_sources_base.c: Likewise.
3157
8a516164
TT
31582019-09-10 Tom Tromey <tromey@adacore.com>
3159
3160 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3161
aa391654
TT
31622019-09-10 Tom Tromey <tromey@adacore.com>
3163
3164 * gdb.ada/dgopt.exp: New file.
3165 * gdb.ada/dgopt/x.adb: New file.
3166
8634b462
TT
31672019-09-08 Tom Tromey <tom@tromey.com>
3168
3169 * gdb.tui/resize.exp: Remove setup_xfail.
3170 * gdb.tui/regs.exp: Remove setup_xfail.
3171 * gdb.tui/basic.exp: Remove setup_xfail.
3172
736b0f76
DB
31732019-09-06 David Blaikie <dblaikie@gmail.com>
3174
3175 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3176 * gdb.cp/cplabel.exp: Ditto.
3177 * gdb.linespec/ls-errs.exp: Ditto.
3178
30331a6c
TV
31792019-09-05 Tom de Vries <tdevries@suse.de>
3180
3181 * lib/gdb.exp (cmp_file_string): New proc.
3182 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3183 runto_main. Verify save breakpoints output.
3184
98b0ebab
PW
31852019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3186
3187 * gdb.base/info-var.exp: Test info variables without running
3188 to main, to avoid expect's buffer overflow.
3189
4e962e74
TT
31902019-09-03 Tom Tromey <tromey@adacore.com>
3191
3192 * gdb.ada/bias.exp: New file.
3193 * gdb.ada/bias/bias.adb: New file.
3194 * gdb.ada/print_chars.exp: Add regression test.
3195 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3196 (MC): New variable.
3197
2ea1a07a
SL
31982019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3199
3200 * gdb.base/argv0-symlink.exp: Run only on native target
3201 and local host.
3202
8077c50d
TV
32032019-08-29 Tom de Vries <tdevries@suse.de>
3204
3205 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3206 diverse debug info.
3207 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3208
48352473
TV
32092019-08-28 Tom de Vries <tdevries@suse.de>
3210
3211 * gdb.base/info-var.exp: Allow info variables to print info for files
3212 other than info-var-f1.c and info-var-f2.c.
3213
d8f27c60
AB
32142019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3215
3216 * gdb.fortran/info-types.exp: Add module.
3217 * gdb.fortran/info-types.f90: Update expected results.
3218
1f20c35e
AB
32192019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3220
3221 * gdb.fortran/info-types.exp: New file.
3222 * gdb.fortran/info-types.f90: New file.
3223 * lib/fortran.exp (fortran_character1): New proc.
3224
4acfdd20
AB
32252019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3226
3227 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3228 functions'. Reindent as needed.
3229 * gdb.base/info-var-f1.c: New file.
3230 * gdb.base/info-var-f2.c: New file.
3231 * gdb.base/info-var.exp: New file.
3232 * gdb.base/info-var.h: New file.
3233
5c31b358
TV
32342019-08-26 Tom de Vries <tdevries@suse.de>
3235
3236 PR c++/24852
3237 * gdb.cp/no-libstdcxx-probe.exp: New test.
3238
b694989f
TV
32392019-08-26 Tom de Vries <tdevries@suse.de>
3240
3241 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3242 * tests need to be skipped.
3243 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3244 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3245 mi_skip_libstdcxx_probe_tests.
3246
d9c4ba53
SDJ
32472019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3248
3249 * gdb.python/py-xmethods.exp: Use raw strings when passing
3250 arguments to SimpleXMethodMatcher.
3251
395fad09
TV
32522019-08-22 Tom de Vries <tdevries@suse.de>
3253
3254 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3255 more informative.
3256
26c957f1
PA
32572019-08-21 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.base/with.exp: Test "with" with no arguments.
3260
61f80d5d
TV
32612019-08-21 Tom de Vries <tdevries@suse.de>
3262
3263 * gdb.base/gdb-caching-proc.exp: Sort files.
3264
d7a11d13
TV
32652019-08-20 Tom de Vries <tdevries@suse.de>
3266
3267 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3268 compilation.
3269
34dafe9f
TV
32702019-08-16 Tom de Vries <tdevries@suse.de>
3271
3272 * gdb.base/compare-sections.exp ("after run to main"): Allow
3273 mismatched read-only sections for PIE executables.
3274
398fdd60
TT
32752019-08-16 Tom Tromey <tom@tromey.com>
3276
3277 * lib/tuiterm.exp (_csi_Z): New proc.
3278 * gdb.tui/basic.exp: Update window positions.
3279 * gdb.tui/empty.exp: Update window positions.
3280
d8f9e51c
SL
32812019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3282
3283 * gdb.base/examine-backward.exp: Correct regexp for
3284 "examine 3 bytes backward from ${address_zero}".
3285
3df505f6
TT
32862019-08-15 Tom Tromey <tom@tromey.com>
3287
3288 * gdb.tui/empty.exp: Enable resizing tests.
3289
272560b5
TT
32902019-08-15 Tom Tromey <tromey@adacore.com>
3291
3292 * gdb.ada/char_enum.exp: Add regression tests.
3293 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3294 and '0'.
3295 (Char, Gchar): Update.
3296 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3297
08235187
CB
32982019-08-15 Christian Biesinger <cbiesinger@google.com>
3299
3300 * gdb.python/python.exp: Expect a leading underscore on
3301 GdbOutput{,Error}File.
3302
22a2ab04
SL
33032019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3304
3305 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3306 Windows host.
3307
835b995b
SL
33082019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3309
3310 * gdb.base/batch-preserve-term-settings.exp
3311 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3312
97dd8e07
CB
33132019-08-15 Christian Biesinger <cbiesinger@google.com>
3314
3315 * lib/gdb.exp: When running on a mingw target, replace
3316 /x/ with x:/.
3317
75faf5c4
AH
33182019-08-14 Alan Hayward <alan.hayward@arm.com>
3319
3320 * gdb.arch/aarch64-prologue.c: New test.
3321 * gdb.arch/aarch64-prologue.exp: New file.
3322
abc6c00f
TV
33232019-08-13 Tom de Vries <tdevries@suse.de>
3324
3325 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3326 Thread.
3327
74c2c1f4
SL
33282019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3329
3330 * gdb.python/py-completion.exp: Download the .py file to the host
3331 and use its host pathname. Conditionalize tests that use
3332 tab completion and manipulate files on the build machine.
3333 * gdb.python/py-events.exp: Download the .py file to the host
3334 and use its host pathname.
3335 * gdb.python/py-evsignal.exp: Likewise.
3336 * gdb.python/py-evthreads.exp: Likewise.
3337 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3338 pathname syntax.
3339 * gdb.python/py-framefilter.exp: Download the .py file to the right
3340 place on the host. Match Windows pathname syntax.
3341 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3342 .py file to the host and use its host pathname.
3343 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3344 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3345 build pathname. Skip symlink test on Windows host. Add missing
3346 newline at end of file.
3347 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3348 and use its host pathname.
3349 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3350 * gdb.python/py-section-script.exp: Use host location of binfile
3351 on safe-path. Use correct path separator on Windows host.
3352 Reorder alternatives in gdb_test_multiple to prevent matching
3353 the wrong alternative on success.
3354 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3355
ca2589f3
PP
33562019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3357
3358 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3359 expect the GDB inferior to no longer immediately stop after
3360 being resumed with "signal SIGINT".
3361
020a839d
SL
33622019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3363
3364 * gdb.linespec/break-ask.exp: Generalize regexps to match
3365 Windows pathnames too.
3366
128d6509
TV
33672019-08-08 Tom de Vries <tdevries@suse.de>
3368
3369 PR testsuite/24862
3370 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3371
590042fc
PW
33722019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3373
3374 * gdb.base/style.exp: Update tests for help doc new invariants.
3375 * gdb.base/help.exp: Likewise.
3376
046bebe1
TT
33772019-08-06 Tom Tromey <tom@tromey.com>
3378
3379 * gdb.base/style.exp: Add disassemble test.
3380 * gdb.base/style.c (some_called_function): New function.
3381 (main): Use it.
3382
0b27c27d
CB
33832019-08-05 Christian Biesinger <cbiesinger@google.com>
3384
3385 * gdb.python/py-block.exp: Test dictionary access on blocks.
3386
580f1034
SM
33872019-08-05 Simon Marchi <simon.marchi@efficios.com>
3388
3389 PR gdb/24863
3390 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3391 -list-thread-groups --available test when running under
3392 check-read1.
3393
d86bd7cb
TV
33942019-08-05 Tom de Vries <tdevries@suse.de>
3395
3396 PR testsuite/24863
3397 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3398 * gdb.base/help.exp: Use with_read1_timeout_factor.
3399 * gdb.base/info-macros.exp: Same.
3400 * gdb.cp/nested-types.exp: Same.
3401
a80cf5d8
TV
34022019-08-05 Tom de Vries <tdevries@suse.de>
3403
3404 * lib/gdb.exp (version_at_least): Factor out of ...
3405 (tcl_version_at_least): ... here.
3406 (gdb_compile): Fail if pie results in non-PIE executable.
3407 (readelf_version, readelf_prints_pie): New proc.
3408 (exec_is_pie): Return -1 if unknown.
3409
d0962838
TV
34102019-08-05 Tom de Vries <tdevries@suse.de>
3411
3412 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3413
2252ff3d
SL
34142019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3415
3416 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3417
26655f53
SL
34182019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3419
3420 * lib/completion-support.exp (test_gdb_complete_none): Skip
3421 tab completion tests if no readline support.
3422 (test_gdb_complete_unique_re): Likewise.
3423 (test_gdb_complete_multiple): Likewise.
3424
db4dc13e
PW
34252019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3426
3427 * gdb.base/info_sources.exp: New file.
3428 * gdb.base/info_sources.c: New file.
3429 * gdb.base/info_sources_base.c: New file.
3430
0eba165a
PFC
34312019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3432
3433 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3434 prefix argument.
3435 (test_exit_status): Add prefix argument.
3436
59bd512b
TV
34372019-08-01 Tom de Vries <tdevries@suse.de>
3438
3439 PR testsuite/24863
3440 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3441 calling exp_continue for new thread and thread exited messages.
3442
2a3ad588
TV
34432019-08-01 Tom de Vries <tdevries@suse.de>
3444
3445 PR testsuite/24863
3446 * gdb.base/structs.exp: Fix check-read1 timeout using
3447 gdb_test_sequence.
3448 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3449
117eb594
TV
34502019-08-01 Tom de Vries <tdevries@suse.de>
3451
3452 PR testsuite/24863
3453 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3454 line.
3455
ed591340
TV
34562019-08-01 Tom de Vries <tdevries@suse.de>
3457
3458 PR testsuite/24863
3459 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3460
aa3b6533
TT
34612019-07-30 Tom Tromey <tromey@adacore.com>
3462
3463 * gdb.ada/display_nested.exp: New file.
3464 * gdb.ada/display_nested/foo.adb: New file.
3465 * gdb.ada/display_nested/pack.adb: New file.
3466 * gdb.ada/display_nested/pack.ads: New file.
3467
2906593f
CB
34682019-07-30 Christian Biesinger <cbiesinger@google.com>
3469
3470 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3471 namespace.
3472 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3473
0f575925
TV
34742019-07-30 Tom de Vries <tdevries@suse.de>
3475
3476 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3477 instead.
3478
b13057d9
TV
34792019-07-30 Tom de Vries <tdevries@suse.de>
3480
3481 PR testsuite/24834
3482 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3483 (exec_is_pie): New proc.
3484
5c4dde85
CB
34852019-07-29 Christian Biesinger <cbiesinger@google.com>
3486
3487 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3488
c620ed88
CB
34892019-07-29 Christian Biesinger <cbiesinger@google.com>
3490
3491 * gdb.python/py-objfile.c: Add global and static vars.
3492 * gdb.python/py-objfile.exp: Test new functions Objfile.
3493 lookup_global_symbol and lookup_static_symbol.
3494
3d235706
TT
34952019-07-29 Tom Tromey <tom@tromey.com>
3496
3497 * lib/tuiterm.exp (Term::_csi_@): New proc.
3498 (Term::_csi_X): Don't move cursor.
3499
c7e4c0a6
PW
35002019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3501
3502 * gdb.base/options.exp: Update backtrace - completion to
3503 new option -frame-info.
3504 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3505 Test new 'set print frame-info'. Test backtrace -frame-info
3506 overriding 'set print frame-info'.
3507 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3508 Test new 'set print frame-info'.
3509 Verify consistency of backtrace with and without filters, with and
3510 without -no-filters.
3511 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3512 default.
3513
de28a3b7
TV
35142019-07-29 Tom de Vries <tdevries@suse.de>
3515
3516 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3517 no arguments".
3518
507dd60e
TV
35192019-07-29 Tom de Vries <tdevries@suse.de>
3520
3521 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3522 is a substring of the first for "complete non-unique file name".
3523
5beafce9
TV
35242019-07-29 Tom de Vries <tdevries@suse.de>
3525
3526 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3527 with ".*".
3528
2d274232
TV
35292019-07-29 Tom de Vries <tdevries@suse.de>
3530
3531 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3532 Pass prompt_regexp parameter to gdb_test_multiple calls.
3533
9197cd8b
TV
35342019-07-29 Tom de Vries <tdevries@suse.de>
3535
3536 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3537 print registers" regexps.
9197cd8b 3538
b528dae0
TV
35392019-07-29 Tom de Vries <tdevries@suse.de>
3540
3541 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3542
d17725d7
TV
35432019-07-29 Tom de Vries <tdevries@suse.de>
3544
3545 PR gdb/24855
3546 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3547 (skip_python_tests_prompt): Add prompt_regexp argument to
3548 gdb_test_multiple calls.
3549
52b75bf1
TT
35502019-07-27 Tom Tromey <tom@tromey.com>
3551
3552 * gdb.tui/main.exp: New file.
3553
2b1d00c2
TT
35542019-07-27 Tom Tromey <tom@tromey.com>
3555
3556 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3557 optional.
3558 * gdb.tui/empty.exp: New file.
3559
ded631d5
TT
35602019-07-27 Tom Tromey <tom@tromey.com>
3561
3562 * lib/tuiterm.exp (spawn): New proc.
3563 (Term::resize): New proc.
3564 * gdb.tui/resize.exp: New file.
3565
58ac439d
TT
35662019-07-27 Tom Tromey <tom@tromey.com>
3567
3568 * gdb.tui/list.exp: New file.
3569
fe1f56ee
TT
35702019-07-27 Tom Tromey <tom@tromey.com>
3571
3572 * gdb.tui/regs.exp: New file.
3573
f790b310
TT
35742019-07-27 Tom Tromey <tom@tromey.com>
3575
3576 * gdb.tui/basic.exp: Add "layout split" test.
3577
d95fc6ee
TT
35782019-07-27 Tom Tromey <tom@tromey.com>
3579
3580 * gdb.tui/basic.exp: Add "layout asm" test.
3581
c3786b3a
TT
35822019-07-27 Tom Tromey <tom@tromey.com>
3583
3584 * lib/tuiterm.exp: New file.
3585 * gdb.tui/basic.exp: New file.
3586
98a617f8
KB
35872019-07-27 Kevin Buettner <kevinb@redhat.com>
3588
3589 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3590 Enable tests associated with this flag. Adjust regex
3591 referencing "foo_low" to now refer to "foo_cold" instead.
3592
5c076da4
KB
35932019-07-27 Kevin Buettner <kevinb@redhat.com>
3594
3595 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3596 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3597 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3598 foo_cold. Revise comments to match.
3599 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3600 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3601 were wrapped into this proc; Call do_test in loop from outermost
3602 level.
3603 (foo_low): Rename all occurrences to "foo_cold".
3604 (backtrace from baz): New test.
3605 (x2/i foo_cold): New test.
3606 (info line *foo_cold): New test.
3607
1512d3b7
TV
36082019-07-26 Tom de Vries <tdevries@suse.de>
3609
3610 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3611
297989a1
TV
36122019-07-25 Tom de Vries <tdevries@suse.de>
3613
3614 PR testsuite/24830
3615 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3616 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3617 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3618 (skip_libstdcxx_probe_tests): ... here.
3619 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3620
b3b965fb
TV
36212019-07-24 Tom de Vries <tdevries@suse.de>
3622
3623 PR testsuite/24807
3624 * gdb.objc/basicclass.m: Include stdio.h.
3625 * gdb.objc/nondebug.m: Same.
3626 * gdb.objc/objcdecode.m: Same.
3627
4625b4d0
TV
36282019-07-24 Tom de Vries <tdevries@suse.de>
3629
3630 PR testsuite/24612
3631 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3632 additional_flags.
3633
024a5840
TV
36342019-07-24 Tom de Vries <tdevries@suse.de>
3635
3636 PR testsuite/24831
3637 * gdb.multi/tids.exp: Update error messages for info threads.
3638
c76ddaa3
TV
36392019-07-24 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.base/info-types.exp: Allow info types to print info for more than
3642 one file.
3643
9a618ef6
TV
36442019-07-23 Tom de Vries <tdevries@suse.de>
3645
3646 PR testsuite/24842
3647 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3648 gdb_spawn_with_cmdline_opts.
3649
40eadf04
SP
36502019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3651
3652 * gdb.arch/arm-cmse-sgstubs.c: New test.
3653 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3654
5ba29434
TV
36552019-07-23 Tom de Vries <tdevries@suse.de>
3656
3657 PR testsuite/24711
3658 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3659 issuing next command.
3660
a8e9d247
AB
36612019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3662
3663 * gdb.ada/info_auto_lang.exp: Update expected results.
3664 * gdb.base/info-types.c: Add additional types to check.
3665 * gdb.base/info-types.exp: Update expected results.
3666
eb86c5e2
AB
36672019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3668
3669 * gdb.base/info-types.c: New file.
3670 * gdb.base/info-types.exp: New file.
3671
01e175fe
AB
36722019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3673
3674 * gdb.arch/riscv-bp-infcall.c: New file.
3675 * gdb.arch/riscv-bp-infcall.exp: New file.
3676
6b78c3f8
AB
36772019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3678
3679 PR breakpoints/24541
3680 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3681
da738167
TV
36822019-07-14 Tom de Vries <tdevries@suse.de>
3683
3684 PR testsuite/24760
3685 * gdb.objc/basicclass.exp: Fix unterminated string.
3686
0d4e84ed
AB
36872019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3688 Andrew Burgess <andrew.burgess@embecosm.com>
3689
3690 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3691 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3692 negative bounds.
3693 * gdb.fortran/vla-value.exp: Print elements of an array with
3694 negative bounds.
3695 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3696 testing.
3697
021d8588
AB
36982019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3699
3700 * gdb.base/options.exp (expect_string): Dequote strings in
3701 results.
3702 (test-string): Test strings with different quoting and reindent.
3703
f06f1252
TT
37042019-07-10 Tom Tromey <tromey@adacore.com>
3705
3706 * gdb.ada/mi_ex_cond.exp: Update expected results.
3707 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3708 * gdb.ada/mi_catch_ex.exp: Update expected results.
3709 * gdb.ada/mi_catch_assert.exp: Update expected results.
3710 * gdb.ada/catch_ex.exp (catch_exception_info)
3711 (catch_exception_entry, catch_assert_entry)
3712 (catch_unhandled_entry): Update.
3713 * gdb.ada/catch_assert_if.exp: Update expected results.
3714
b863685d
RB
37152019-07-10 Richard Bunt <richard.bunt@arm.com>
3716 Stephen Roberts <stephen.roberts@arm.com>
3717
3718 * gdb.base/define.exp: Restore original prompt.
3719
cb1e4e32
PA
37202019-07-09 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3723 breakpoints" output.
3724 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3725 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3726 throw" creates breakpoint.
3727 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3728 'type="catchpoint"'.
3729
b58a68fe
PA
37302019-07-09 Pedro Alves <palves@redhat.com>
3731
3732 PR c++/15468
3733 * gdb.cp/except-multi-location-lib.cc: New.
3734 * gdb.cp/except-multi-location-main.cc: New.
3735 * gdb.cp/except-multi-location.exp: New.
3736
0826779b
PW
37372019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3738
3739 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3740 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3741 argument and update callers.
3742
5b0e2db4
AB
37432019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3744
3745 * gdb.arch/amd64-break-on-asm-line.S: New file.
3746 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3747
1f6f6e21
PW
37482019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3749
3750 * gdb.base/printcmds.exp: Test printing C string and
3751 C wide string convenience vars without transiting via the inferior.
3752 Also make test names unique.
3753
ea142fbf
AH
37542019-07-08 Alan Hayward <alan.hayward@arm.com>
3755
5862c886 3756 PR breakpoints/25011
ea142fbf
AH
3757 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3758
213fd9fa
PA
37592019-07-04 Pedro Alves <palves@redhat.com>
3760
3761 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3762 body returned ok(0), break(3) or continue(4).
3763 * gdb.testsuite/foreach_with_prefix.exp: New file.
3764
2b40fda7
AH
37652019-07-04 Alan Hayward <alan.hayward@arm.com>
3766
3767 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3768
a26c8de0
PA
37692019-07-03 Pedro Alves <palves@redhat.com>
3770
3771 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3772 "return -code".
3773
5f4ba3e7
PA
37742019-07-03 Pedro Alves <palves@redhat.com>
3775
3776 PR cli/24732
3777 * gdb.base/shell.exp: Load completion-support.exp.
3778 Adjust expected error output. Add completion tests.
3779
a994424f
PA
37802019-07-03 Pedro Alves <palves@redhat.com>
3781
3782 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3783 string_to_regexp.
3784
3d9be6f5
PA
37852019-07-03 Pedro Alves <palves@redhat.com>
3786
3787 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3788 (expect_integer): Adjust to expect "-string".
3789 (expect_string): New.
3790 (all_options): Expect "-string".
3791 (test-flag, test-boolean): Adjust to expect "-string".
3792 (test-string): New proc.
3793 (top level): Call it.
3794
41fc454c
PA
37952019-07-03 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3798 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3799 the expected output in the success.
3800
b2b2a215
PA
38012019-07-03 Pedro Alves <palves@redhat.com>
3802
3803 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3804 Split one gdb_test_multiple call in two to avoid a race.
3805
fdbc9870
PA
38062019-07-03 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/with.c: New file.
3809 * gdb.base/with.exp: New file.
3810
c6ac8931
PA
38112019-07-03 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.base/settings.exp: Replace all references to "maint
3814 test-settings set" with references to "maint set test-settings",
3815 and all references to "maint test-settings show" with references
3816 to "maint show test-settings".
3817
970f9d09
PA
38182019-07-03 Pedro Alves <palves@redhat.com>
3819
3820 * gdb.base/settings.exp (test-string): Adjust expected out when
3821 testing "maint test-settings show filename"
3822
54d66006
PA
38232019-07-02 Pedro Alves <palves@redhat.com>
3824
3825 * gdb.base/options.exp (test-info-threads): New procedure.
3826 (top level): Call it.
3827
10d06d82
TT
38282019-06-28 Tom Tromey <tromey@adacore.com>
3829
3830 * gdb.dwarf2/ada-linkage-name.c: New file.
3831 * gdb.dwarf2/ada-linkage-name.exp: New file.
3832
3d507ff2
TT
38332019-06-27 Tom Tromey <tromey@adacore.com>
3834
d039f014 3835 PR c++/20020:
3d507ff2
TT
3836 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3837
8af58ffe
TV
38382019-06-26 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3841
22e21752
TV
38422019-06-26 Tom de Vries <tdevries@suse.de>
3843
3844 * gdb.base/index-cache.exp: Add back missing debug option.
3845
b65b566c
PW
38462019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3847
3848 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3849
5c2c8c69
TV
38502019-06-25 Tom de Vries <tdevries@suse.de>
3851
3852 PR testsuite/24727
3853 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3854
164e3873
TV
38552019-06-24 Tom de Vries <tdevries@suse.de>
3856
3857 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3858
824eacee
TV
38592019-06-24 Tom de Vries <tdevries@suse.de>
3860
3861 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3862 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3863 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3864
385b97d3
TV
38652019-06-24 Tom de Vries <tdevries@suse.de>
3866
3867 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3868
c596f180
TV
38692019-06-21 Tom de Vries <tdevries@suse.de>
3870
3871 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3872
b13a7d03
TV
38732019-06-21 Tom de Vries <tdevries@suse.de>
3874
3875 PR testsuite/24518
3876 PR ada/24713
3877 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3878 index.
3879
899277ae
TT
38802019-06-19 Tom Tromey <tromey@adacore.com>
3881
3882 * gdb.ada/length_cond.exp: Add intro comment.
3883
680e1bee
TT
38842019-06-19 Tom Tromey <tromey@adacore.com>
3885
3886 * gdb.ada/length_cond.exp: New file.
3887 * gdb.ada/length_cond/length_cond.adb: New file.
3888 * gdb.ada/length_cond/pck.adb: New file.
3889 * gdb.ada/length_cond/pck.ads: New file.
3890
0ed4690a
TV
38912019-06-18 Tom de Vries <tdevries@suse.de>
3892
3893 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3894
d20ed5fd
TT
38952019-06-18 Tom Tromey <tromey@adacore.com>
3896
3897 * gdb.base/list0.h: Add comment explaining control character.
3898
86e04673
TV
38992019-06-18 Tom de Vries <tdevries@suse.de>
3900
3901 * boards/fission.exp: Break up long debug_flags line.
3902
c4973306
SM
39032019-06-16 Tom de Vries <tdevries@suse.de>
3904
3905 PR gdb/24445
3906 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3907 generated index.
3908
93cb9841
AB
39092019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3910
3911 PR gdb/24686
3912 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3913 improve detection of bug gdb/24541.
3914
399aaebd
SM
39152019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3916
3917 PR gdb/24669
3918 * gdb.base/index-cache.exp (uses_readnow,
3919 expecting_index_cache_use): Define global variable.
3920 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3921 expecting_index_cache_use.
3922
584a927c
AB
39232019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3924 Andrew Burgess <andrew.burgess@embecosm.com>
3925
3926 * gdb.fortran/pointers.f90: New file.
3927 * gdb.fortran/print_type.exp: New file.
3928 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3929 * gdb.fortran/vla-type.exp: Likewise.
3930 * gdb.fortran/vla-value.exp: Likewise.
3931 * gdb.mi/mi-vla-fortran.exp: Likewise.
3932
30056ea0
AB
39332019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3934
3935 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3936 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3937 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3938 as a stop reason.
3939
ec8e2b6d
AB
39402019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3941
3942 * gdb.base/annota1.exp: Update expected results.
3943 * gdb.cp/annota2.exp: Likewise.
3944 * gdb.cp/annota3.exp: Likewise.
3945
09e4c4e1
AB
39462019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * gdb.base/style-logging.exp: Remove path from test name.
3949
0735b091
TT
39502019-06-14 Tom Tromey <tromey@adacore.com>
3951
3952 PR gdb/24502:
3953 * gdb.base/style-logging.exp: New file.
3954
f5686554
TT
39552019-06-14 Tom Tromey <tromey@adacore.com>
3956
3957 * gdb.base/symfile-warn.exp: New file.
3958 * gdb.base/symfile-warn.c: New file.
3959
a0c1ffed
TT
39602019-06-14 Tom Tromey <tromey@adacore.com>
3961
3962 * gdb.base/annotate-symlink.exp: New file.
3963
f411722c
TT
39642019-06-14 Tom Tromey <tromey@adacore.com>
3965
3966 * gdb.ada/set_wstr.exp: Add reassignment test.
3967
4268ec18
TT
39682019-06-14 Tom Tromey <tromey@adacore.com>
3969
3970 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3971 'unchecked_access and 'unrestricted_access as well.
3972
9a9e394b
TT
39732019-06-14 Tom Tromey <tromey@adacore.com>
3974
3975 PR ada/24539:
3976 * gdb.ada/vla.exp: Update tests.
3977 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3978 pragma.
3979
4c048731
PA
39802019-06-13 Pedro Alves <palves@redhat.com>
3981
3982 * gdb.base/settings.exp (test-integer): Test junk after
3983 "unlimited".
3984
6665660a
PA
39852019-06-13 Pedro Alves <palves@redhat.com>
3986
3987 * gdb.base/options.exp (test-thread-apply): New.
3988 (top level): Call it.
3989
5d707134
PA
39902019-06-13 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.base/options.exp (test-frame-apply): New.
3993 (top level): Test print commands with different "frame apply"
3994 prefixes.
3995
e2a689da
PA
39962019-06-13 Pedro Alves <palves@redhat.com>
3997
e79be6e5 3998 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3999 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4000 'max_completions' parameter and handle it.
4001 (test_gdb_completion_offers_commands): New.
4002
90a1ef87
PA
40032019-06-13 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4006
d4c16835
PA
40072019-06-13 Pedro Alves <palves@redhat.com>
4008
4009 * gdb.base/options.exp (test-backtrace): New.
4010 (top level): Call it.
4011
2daf894e
PA
40122019-06-13 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.guile/scm-frame-args.exp: Use "set print
4015 raw-frame-arguments" instead of "set print raw frame-arguments".
4016 * gdb.python/py-frame-args.exp: Likewise.
4017
e6ed716c
PA
40182019-06-13 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.compile/compile.exp: Adjust expected output to option
4021 processing changes.
4022
7d8062de
PA
40232019-06-13 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.base/options.exp: Build executable.
4026 (test-print): New procedure.
4027 (top level): Call it, once for "print" and another for "compile
4028 print".
4029
9d0faba9
PA
40302019-06-13 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.base/options.c: New file.
4033 * gdb.base/options.exp: New file.
4034
dee7b4c8
PA
40352019-06-13 Pedro Alves <palves@redhat.com>
4036
4037 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4038 that "o" is ambiguous.
4039
dca0f6c0
PA
40402019-06-13 Pedro Alves <palves@redhat.com>
4041
4042 * gdb.base/settings.c: New file.
4043 * gdb.base/settings.exp: New file.
4044
ccf46844
PA
40452019-06-13 Pedro Alves <palves@redhat.com>
4046
4047 * gdb.base/completion.exp: Fix comment typo.
4048
b9a3f842
PA
40492019-06-13 Pedro Alves <palves@redhat.com>
4050
4051 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4052 foo --1" test.
4053
d106773e
PA
40542019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4055
4056 * gdb.fortran/block-data.f: New.
4057 * gdb.fortran/block-data.exp: New.
4058
fea82da0
TV
40592019-06-11 Tom de Vries <tdevries@suse.de>
4060
4061 PR testsuite/24521
4062 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4063 message.
4064
8c2e74f1
TV
40652019-06-11 Tom de Vries <tdevries@suse.de>
4066
4067 PR testsuite/24521
4068 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4069
b49851c8
TV
40702019-06-11 Tom de Vries <tdevries@suse.de>
4071
4072 * boards/readnow.exp: New file.
4073
a7067863
AB
40742019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4075
4076 * gdb.fortran/vla-sizeof.exp: Update expected results.
4077
1a3da2cd
AB
40782019-06-06 Amos Bird <amosbird@gmail.com>
4079
4080 * gdb.base/annota1.exp (thread_switch): Add test for
4081 thread-exited annotation.
4082
3847a7bf
TT
40832019-06-06 Tom Tromey <tromey@adacore.com>
4084
4085 * gdb.base/maint.exp: Expect command started/finished output.
4086
0088ba59
AB
40872019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4088
4089 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4090 comment.
4091 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4092
312617a3
AB
40932019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4094
4095 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4096 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4097 * gdb.arch/riscv-unwind-long-insn.c: New file.
4098 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4099
e1f2e1a2
CB
41002019-06-04 Christian Biesinger <cbiesinger@google.com>
4101
d3238f7d 4102 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 4103
206584bd
PW
41042019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4105
4106 * lib/gdb.exp (help_list_trailer): New regexp variable
4107 factorizing the help trailer message.
4108 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4109 arg to allow to better factorize various tests.
4110 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4111 (test_prefix_command_help): Use help_list_trailer.
4112 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4113 * gdb.guile/scm-cmd.exp: Likewise.
4114 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4115 * gdb.base/help.exp: Use test_user_defined_class_help.
4116 * gdb.base/style.exp: Add tests for styling of help and apropos.
4117 * lib/gdb-utils.exp (style): Add title and highlight styles.
4118
708dc93e
PW
41192019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4120
4121 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4122 $_shell_exitsignal.
4123 * gdb.base/default.exp: Update for new convenience variables.
4124
f49055a5
TT
41252019-05-29 Tom Tromey <tromey@adacore.com>
4126
4127 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4128 to "break complete ada" test case's regexp.
4129
4330d61d
TT
41302019-05-29 Tom Tromey <tromey@adacore.com>
4131
4132 PR c++/20020:
4133 * gdb.cp/constexpr-field.exp: New file.
4134 * gdb.cp/constexpr-field.cc: New file.
4135
000439d5
TT
41362019-05-29 Tom Tromey <tromey@adacore.com>
4137
4138 * gdb.base/finish.exp (finish_no_print): New proc.
4139 (finish_tests): Call it.
4140
5a01c34c
TV
41412019-05-24 Tom de Vries <tdevries@suse.de>
4142
4143 * gdb.dwarf2/gdb-add-index.exp: New file.
4144
18125b16
TT
41452019-05-22 Tom Tromey <tromey@adacore.com>
4146
4147 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4148 * gdb.base/style.exp: Use "style".
4149 * lib/gdb-utils.exp (style): New proc.
4150
af1a8d03
TV
41512019-05-22 Tom de Vries <tdevries@suse.de>
4152
4153 * gdb.base/align.exp: Require c++11.
4154
e7fe496b
TV
41552019-05-22 Tom de Vries <tdevries@suse.de>
4156
4157 PR testsuite/24586
4158 * gdb.python/py-mi-var-info-path-expression.exp: Call
4159 mi_skip_python_tests to check if python is supported.
4160
8fca4da0
AH
41612019-05-22 Alan Hayward <alan.hayward@arm.com>
4162
4163 * gdb.arch/aarch64-pauth.c: New test.
4164 * gdb.arch/aarch64-pauth.exp: New file.
4165
b7060614
AH
41662019-05-22 Alan Hayward <alan.hayward@arm.com>
4167
4168 * README (Re-running Tests Outside The Testsuite): New section.
4169
669d0468
TV
41702019-05-21 Tom de Vries <tdevries@suse.de>
4171
4172 * gdb.arch/amd64-eval.exp: Require c++11.
4173 * gdb.base/max-depth.exp: Same.
4174 * gdb.compile/compile-cplus-array-decay.exp: Same.
4175 * gdb.cp/meth-typedefs.exp: Same.
4176 * gdb.cp/subtypes.exp: Same.
4177 * gdb.cp/temargs.exp: Same.
4178
ce3ebcaa
AH
41792019-05-21 Alan Hayward <alan.hayward@arm.com>
4180
4181 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4182
34d11c68
AB
41832019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4184
4185 PR gdb/18644
4186 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4187 * gdb.fortran/printing-types.exp: Add new test.
4188 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4189 testing.
4190 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4191 setup_kfail call.
4192
87781e84
AH
41932019-05-17 Alan Hayward <alan.hayward@arm.com>
4194
4195 * README (Running the Testsuite): Change example.
4196 (Testsuite Parameters): Remove TRANSCRIPT.
4197 * lib/gdb.exp: Remove TRANSCRIPT check.
4198
b420b89e
AH
41992019-05-17 Alan Hayward <alan.hayward@arm.com>
4200
4201 * README (Testsuite Parameters): Add replay logging to
4202 GDBSERVER_DEBUG.
4203 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4204 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4205 as a comma separated list.
4206 (gdb_debug_init): Override procedure.
4207
408e9b8b
AH
42082019-05-17 Alan Hayward <alan.hayward@arm.com>
4209
4210 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4211 (gdb_write_cmd_file): New procedure.
4212 * lib/gdbserver-support.exp (gdbserver_start): Call
4213 gdbserver_write_cmd_file.
4214 (gdbserver_write_cmd_file): New procedure.
4215
f9e2e39d
AH
42162019-05-17 Alan Hayward <alan.hayward@arm.com>
4217
4218 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4219 (delete_breakpoints): Likewise.
4220 (gdb_run_cmd): Likewise.
4221 (gdb_start_cmd): Likewise.
4222 (gdb_starti_cmd): Likewise.
4223 (gdb_internal_error_resync): Likewise.
4224 (gdb_test_multiple): Likewise.
4225 (gdb_reinitialize_dir): Likewise.
4226 (default_gdb_exit): Likewise.
4227 (gdb_file_cmd): Mark kill as optional.
4228 (default_gdb_start): Call gdb_stdin_log_init.
4229 (send_gdb): Call gdb_stdin_log_write.
4230 (rerun_to_main): Mark Y as an answer.
4231 (gdb_stdin_log_init): New function.
4232 (gdb_stdin_log_write): Likewise.
4233
81f47ac2
AH
42342019-05-17 Alan Hayward <alan.hayward@arm.com>
4235
4236 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4237 * gdb.base/debug-expr.exp: Likewise.
4238 * gdb.base/foll-fork.exp: Likewise.
4239 * gdb.base/foll-vfork.exp: Likewise.
4240 * gdb.base/fork-print-inferior-events.exp: Likewise.
4241 * gdb.base/gdb-sigterm.exp: Likewise.
4242 * gdb.base/gdbinit-history.exp: Likewise.
4243 * gdb.base/osabi.exp: Likewise.
4244 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4245 * gdb.base/ui-redirect.exp: Likewise.
4246 * gdb.gdb/unittest.exp: Likewise.
4247 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4248 * gdb.mi/mi-watch.exp: Likewise.
4249 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4250 * gdb.mi/user-selected-context-sync.exp: Likewise.
4251 * gdb.python/python.exp: Disable debug test when debugging.
4252 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4253 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4254 Likewise.
4255 * gdb.threads/stepi-random-signal.exp: Likewise.
4256
29b52314
AH
42572019-05-17 Alan Hayward <alan.hayward@arm.com>
4258
4259 * Makefile.in: Pass through GDB_DEBUG.
4260 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4261 (gdb,debug): Add board setting.
4262 * lib/gdb.exp (default_gdb_start): Start debugging.
4263 (gdb_debug_enabled): New procedure.
4264 (gdb_debug_init): Likewise.
29b52314
AH
4265
42662019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 4267
29b52314
AH
4268 * Makefile.in: Pass through GDB_DEBUG.
4269 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
4270 (gdb,debug): Add board setting.
4271 * lib/gdb.exp (default_gdb_start): Start debugging.
4272 (gdb_debug_enabled): New procedure.
4273 (gdb_debug_init): Likewise.
29b52314 4274
ca1285d1
AH
42752019-05-17 Alan Hayward <alan.hayward@arm.com>
4276
4277 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4278
f3a09c80
AH
42792019-05-17 Alan Hayward <alan.hayward@arm.com>
4280
4281 * gdb.base/ui-redirect.exp: Test redirection.
4282
26648588
JV
42832019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4284
4285 * gdb.mi/mi-complete.exp: New file.
4286 * gdb.mi/mi-complete.cc: Likewise.
4287
14237686
AB
42882019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4289
4290 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4291 indexed and sliced arrays, and pointers to arrays.
4292
e7bd7fba
TT
42932019-05-14 Tom Tromey <tromey@adacore.com>
4294
4295 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4296 styling test.
4297
2764128d
TV
42982019-05-14 Tom de Vries <tdevries@suse.de>
4299
4300 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4301 selection entry encoding.
4302
71bed2db
TT
43032019-05-10 Tom Tromey <tromey@adacore.com>
4304
4305 * gdb.ada/info_exc.exp: Add "complete" test.
4306
63b667ad
TV
43072019-05-09 Tom de Vries <tdevries@suse.de>
4308
4309 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4310 CU-relative.
4311
9cfd2b89
TV
43122019-05-09 Tom de Vries <tdevries@suse.de>
4313
4314 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4315 CU-relative.
4316
2228ef77
XR
43172019-05-08 Joel Brobecker <brobecker@adacore.com>
4318
4319 * gdb.ada/frame_arg_lang.exp: New testcase.
4320 * gdb.ada/frame_arg_lang/bla.adb: New file.
4321 * gdb.ada/frame_arg_lang/pck.ads: New file.
4322 * gdb.ada/frame_arg_lang/pck.adb: New file.
4323 * gdb.ada/frame_arg_lang/foo.c: New file.
4324
80e55b13
TT
43252019-05-08 Tom Tromey <tromey@adacore.com>
4326
4327 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4328
9d3421af
TT
43292019-05-08 Tom Tromey <tromey@adacore.com>
4330
4331 * gdb.base/ptype-offsets.exp: Update tests.
4332
844333e2
TT
43332019-05-08 Tom Tromey <tromey@adacore.com>
4334
4335 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4336 cases.
4337 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4338 "short".
4339
988915ee
TT
43402019-05-08 Tom Tromey <tromey@adacore.com>
4341
4342 * gdb.ada/vla.exp: New file.
4343 * gdb.ada/vla/vla.adb: New file.
4344
7bd55dac
TV
43452019-05-07 Tom de Vries <tdevries@suse.de>
4346
4347 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4348
75f06e9d
TV
43492019-05-07 Tom de Vries <tdevries@suse.de>
4350
4351 PR testsuite/24522
4352 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4353 section.
4354
77e7aaa4
TV
43552019-05-07 Tom de Vries <tdevries@suse.de>
4356
4357 PR testsuite/24522
4358 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4359 .debug_aranges section.
4360
456ba0fa
TV
43612019-05-07 Tom de Vries <tdevries@suse.de>
4362
4363 PR testsuite/24159
4364 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4365
5a56d6a6
TV
43662019-05-06 Tom de Vries <tdevries@suse.de>
4367
4368 * lib/gdb.exp (exec_has_index_section): New proc.
4369 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4370 section.
4371
9d6d4be8
TV
43722019-05-04 Tom de Vries <tdevries@suse.de>
4373
4374 * boards/cc-with-debug-names.exp: New file.
4375
222a8d25
TT
43762019-05-03 Tom Tromey <tromey@adacore.com>
4377
4378 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4379 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4380 * gdb.ada/char_enum.exp: Add test.
4381
0fdfd794
TV
43822019-05-03 Tom de Vries <tdevries@suse.de>
4383
4384 * boards/cc-with-gdb-index.exp: New file.
4385
80062eb9
AB
43862019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4387
4388 * gdb.rust/simple.exp: Add new test case.
4389 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4390 (main): Initialise an instance of the new struct.
4391
4504bbde
TT
43922019-05-01 Tom Tromey <tromey@adacore.com>
4393
4394 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4395 record.
4396 (NPR): New variable.
4397 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4398 test.
4399
d48e62f4
TT
44002019-05-01 Tom Tromey <tromey@adacore.com>
4401
4402 * gdb.ada/packed_array_assign.exp: Add packed assignment
4403 regression test.
4404
f59f30f5
TV
44052019-05-01 Tom de Vries <tdevries@suse.de>
4406
4407 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4408
b70bfc54
TV
44092019-05-01 Tom de Vries <tdevries@suse.de>
4410
4411 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4412
15f18d14
AT
44132019-04-30 Ali Tamur <tamur@google.com>
4414
4415 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4416
2ff0a947
TT
44172019-04-30 Tom Tromey <tromey@adacore.com>
4418
4419 * lib/ada.exp (find_ada_tool): New proc.
4420 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4421 * gdb.ada/catch_ex_std.exp: New file.
4422 * gdb.ada/catch_ex_std/foo.adb: New file.
4423 * gdb.ada/catch_ex_std/some_package.adb: New file.
4424 * gdb.ada/catch_ex_std/some_package.ads: New file.
4425
a776957c
TT
44262019-04-30 Tom Tromey <tromey@adacore.com>
4427
4428 PR c++/24470:
4429 * gdb.cp/temargs.cc: Add test code from PR.
4430
bc68014d
AB
44312019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4432
4433 * gdb.fortran/vla-datatypes.exp: Update expected results.
4434 * gdb.fortran/vla-ptype.exp: Likewise.
4435 * gdb.fortran/vla-type.exp: Likewise.
4436 * gdb.fortran/vla-value.exp: Likewise.
4437
f1fdc960
AB
44382019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4439
4440 * gdb.fortran/ptr-indentation.exp: Update expected results.
4441 * gdb.fortran/ptype-on-functions.exp: Likewise.
4442 * gdb.fortran/vla-ptr-info.exp: Likewise.
4443 * gdb.fortran/vla-value.exp: Likewise.
4444
bf7a4de1
AB
44452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4446
4447 * gdb.fortran/ptype-on-functions.exp: New file.
4448 * gdb.fortran/ptype-on-functions.f90: New file.
4449
bbe75b9d
AB
44502019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4451
4452 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4453 case void string.
4454
1db455a7
AB
44552019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4456
4457 * gdb.fortran/complex.exp: Expand.
4458 * gdb.fortran/complex.f: Renamed to...
4459 * gdb.fortran/complex.f90: ...this, and extended to add more
4460 complex values.
4461
b6d03bb2
AB
44622019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4465 MODULO, CMPLX.
4466
2e62ab40
AB
44672019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4468 Richard Bunt <richard.bunt@arm.com>
4469
4470 * gdb.base/max-depth.c: New file.
4471 * gdb.base/max-depth.exp: New file.
4472 * gdb.python/py-nested-maps.c: New file.
4473 * gdb.python/py-nested-maps.exp: New file.
4474 * gdb.python/py-nested-maps.py: New file.
4475 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4476 (test_all_common): Call test_max_depth.
4477 * gdb.fortran/max-depth.exp: New file.
4478 * gdb.fortran/max-depth.f90: New file.
4479 * gdb.go/max-depth.exp: New file.
4480 * gdb.go/max-depth.go: New file.
4481 * gdb.modula2/max-depth.exp: New file.
4482 * gdb.modula2/max-depth.c: New file.
4483 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4484
d2b584a5
TV
44852019-04-29 Tom de Vries <tdevries@suse.de>
4486
4487 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4488
136afab8
PW
44892019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4490
4491 * gdb.base/callexit.exp: Test may-call-functions off.
4492
725cbb63
KS
44932019-04-25 Keith Seitz <keiths@redhat.com>
4494
4495 PR c++/24367
4496 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4497 (another_incomplete_struct, test_incomplete): New definitions.
4498 (main): Use new definitions.
4499 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4500 functions.
4501
701adfb0
PA
45022019-04-25 Ali Tamur <tamur@google.com>
4503
4504 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4505
82433e3e
SDJ
45062019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4507
4508 PR corefiles/11608
4509 PR corefiles/18187
4510 * gdb.base/coredump-filter-build-id.exp: New file.
4511
dd06d4d6
AH
45122019-04-25 Alan Hayward <alan.hayward@arm.com>
4513
e79be6e5
SM
4514 * Makefile.in: Pass through GDBSERVER_DEBUG.
4515 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4516 (gdbserver,debug): Add board setting.
4517 * gdb.trace/tspeed.exp: Skip when debugging.
4518 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4519 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4520
1670072e
TT
45212019-04-24 Tom Tromey <tromey@adacore.com>
4522
4523 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4524 Rust.
4525
a59240a4
TT
45262019-04-24 Tom Tromey <tromey@adacore.com>
4527
4528 * gdb.arch/amd64-eval.exp: Test bitfield return.
4529 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4530 (class Foo) <return_bitfields>: New method.
4531 (main): Call it.
4532
b907456c
AB
45332019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4534
4535 * gdb.cp/many-args.cc: New file.
4536 * gdb.cp/many-args.exp: New file.
4537
5c565afd
TV
45382019-04-23 Tom de Vries <tdevries@suse.de>
4539
4540 PR gdb/24433
4541 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4542
ba22ff86
AH
45432019-04-23 Alan Hayward <alan.hayward@arm.com>
4544
4545 * gdb.trace/backtrace.exp: Use nopie flag.
4546 * gdb.trace/circ.exp: Likewise.
4547 * gdb.trace/collection.exp: Likewise.
4548 * gdb.trace/ftrace.exp: Likewise.
4549 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4550 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4551 * gdb.trace/qtro.exp: Likewise.
4552 * gdb.trace/read-memory.exp: Likewise.
4553 * gdb.trace/report.exp: Likewise.
4554 * gdb.trace/tfile.exp: Likewise.
4555 * gdb.trace/tfind.exp: Likewise.
4556 * gdb.trace/unavailable.exp: Likewise.
4557
7905fc35
PA
45582019-04-22 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/solib-probes-nosharedlibrary.c,
4561 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4562
8ecb59f8
TT
45632019-04-19 Tom Tromey <tromey@adacore.com>
4564
4565 * gdb.ada/ptype_union.c: New file.
4566 * gdb.ada/ptype_union.exp: New file.
4567
62160ec9
TT
45682019-04-19 Tom Tromey <tromey@adacore.com>
4569
4570 PR symtab/24423:
4571 * gdb.base/list0.h (foo): Add a control-l character.
4572
36cd4ba5
TV
45732019-04-18 Tom de Vries <tdevries@suse.de>
4574
4575 PR gdb/24433
4576 * boards/local-board.exp: Set sysroot to "".
4577
b73715df
TV
45782019-04-18 Tom de Vries <tdevries@suse.de>
4579 Pedro Alves <palves@redhat.com>
4580
4581 PR gdb/24454
4582 * gdb.threads/vfork-follow-child-exec.c: New file.
4583 * gdb.threads/vfork-follow-child-exec.exp: New file.
4584 * gdb.threads/vfork-follow-child-exit.c: New file.
4585 * gdb.threads/vfork-follow-child-exit.exp: New file.
4586
4aa866af
LS
45872019-04-15 Leszek Swirski <leszeks@google.com>
4588
4589 * gdb.arch/amd64-eval.cc: New file.
4590 * gdb.arch/amd64-eval.exp: New file.
4591
e5a1a79a
AH
45922019-04-11 Alan Hayward <alan.hayward@arm.com>
4593
4594 * gdb.server/sysroot.c: New test.
4595 * gdb.server/sysroot.exp: New file.
4596 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4597 matching param.
4598
41077b66
AB
45992019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4600
4601 * gdb.base/align.exp: Extend test to cover structures containing
4602 only static fields.
4603
c30391f8
TV
46042019-04-11 Tom de Vries <tdevries@suse.de>
4605
4606 * boards/cc-with-dwz-m.exp: New file.
4607 * boards/cc-with-dwz.exp: New file.
4608 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4609
e242fd12
SM
46102019-04-09 Simon Marchi <simon.marchi@efficios.com>
4611
4612 * gdb.base/start-cpp.exp: New file.
4613 * gdb.base/start-cpp.cc: New file.
4614
2b0c8b01
KB
46152019-04-08 Kevin Buettner <kevinb@redhat.com>
4616
4617 * gdb.python/py-thrhandle.exp: Adjust tests to call
4618 thread_from_handle instead of thread_from_thread_handle.
4619
947210e5
KB
46202019-04-08 Kevin Buettner <kevinb@redhat.com>
4621
4622 * gdb.python/py-thrhandle.exp: Add tests for
4623 gdb.InferiorThread.handle.
4624
d7df6549
AB
46252019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4626
4627 * gdb.python/py-function.exp: Check calling helper function from
4628 all languages.
4629 * lib/gdb.exp (gdb_supported_languages): New proc.
4630
8bdc1658
AB
46312019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4632
4633 * gdb.base/complex-parts.c: New file.
4634 * gdb.base/complex-parts.exp: New file.
4635
05caa1d2
TT
46362019-04-01 Tom Tromey <tromey@adacore.com>
4637
4638 PR symtab/23331:
4639 * gdb.dwarf2/dw2-ranges-main.c: New file.
4640 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4641 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4642
7734102d
EZ
46432019-03-30 Simon Marchi <simark@simark.ca>
4644
4645 * gdb.base/default.exp: Add values for $_gdb_major and
4646 $_gdb_minor.
4647
188e1fa9
TT
46482019-03-29 Tom Tromey <tromey@adacore.com>
4649
4650 * gdb.base/help.exp: Tighten apropos regexp.
4651
2880242d
KS
46522019-03-29 Keith Seitz <keiths@redhat.com>
4653
4654 * gdb.fortran/array-bounds.exp: New file.
4655 * gdb.fortran/array-bounds.f90: New file.
4656
077cad8e
PW
46572019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4658
4659 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4660
80047cfc
PW
46612019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4662
4663 * gdb.multi/hello.c (main): Increase alarm timer.
4664
f489207e
SL
46652019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4666
4667 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4668 factor when no hardware watchpoint support.
4669
c92df149
AH
46702019-03-28 Alan Hayward <alan.hayward@arm.com>
4671 Pedro Alves <palves@redhat.com>
4672
4673 * boards/local-board.exp: set sysroot to /.
4674
933aebfa
AH
46752019-03-27 Alan Hayward <alan.hayward@arm.com>
4676
4677 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4678 in child.
4679
9f9aa852
AB
46802019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4681
4682 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4683 field.
4684 (make_container): Initialise new field.
4685 * gdb.python/py-prettyprint.exp: Add new tests.
4686 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4687 <display_hint>: New method.
4688
3714a195
AB
46892019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4690
4691 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4692 gdb_continue_to_breakpoint more throughout this test.
4693 (run_lang_tests) Supply unique test names, and use
4694 gdb_test_no_output.
4695
18c77628
AB
46962019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4697
4698 * gdb.base/finish-pretty.exp: Update expected results.
4699 * gdb.base/pretty-print.c: New file.
4700 * gdb.base/pretty-print.exp: New file.
4701
9a93502f
PA
47022019-03-25 Pedro Alves <palves@redhat.com>
4703
4704 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4705 move comments outside list. Append '-i "" eof' section.
4706
968aa7ae
AH
47072019-03-22 Alan Hayward <alan.hayward@arm.com>
4708
34a7f2a4 4709 PR testsuite/25016
968aa7ae
AH
4710 * README: Add pie options.
4711 * gdb.base/break-interp.exp: Ensure pie is disabled.
4712 * gdb.base/dump.exp: Likewise.
4713 * lib/gdb.exp (gdb_compile): Add pie option.
4714
4c7d57e7
TT
47152019-03-19 Tom Tromey <tromey@adacore.com>
4716
4717 * gdb.mi/mi2-cli-display.c: New file.
4718 * gdb.mi/mi2-cli-display.exp: New file.
4719
bff8c71f
TT
47202019-03-18 Joel Brobecker <brobecker@adacore.com>
4721 Tom Tromey <tromey@adacore.com>
4722
4723 * gdb.ada/ptype_array/pck.adb: New file.
4724 * gdb.ada/ptype_array/pck.ads: New file.
4725 * gdb.ada/ptype_array/foo.adb: New file.
4726 * gdb.ada/ptype_array.exp: New file.
4727
d085f989
TT
47282019-03-14 Tom Tromey <tromey@adacore.com>
4729
4730 * gdb.base/style.exp: Add "set style sources" test.
4731
b4be1b06
SM
47322019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4733
4734 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4735 * mi-breakpoint-multiple-locations.exp: ... this.
4736 (make_breakpoints_pattern): New proc.
4737 (do_test): Add mi_version parameter, test -break-insert,
4738 -break-info and =breakpoint-created.
4739
7cde5fc2
AB
47402019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4741
4742 * config/default.exp: Remove 'load_lib gdb.exp'.
4743 * config/monitor.exp: Likewise.
4744 * config/sid.exp: Likewise.
4745 * config/sim.exp: Likewise.
4746 * config/slite.exp: Likewise.
4747 * config/unix.exp: Likewise.
4748 * gdb.base/default.exp: Remove unhelpful comment.
4749
efbecbc1
AB
47502019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4751
4752 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4753
0841c79a
AB
47542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4755
4756 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4757
4a270568
AB
47582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4759
4760 * gdb.fortran/type-kinds.exp: Update expected results.
4761
067630bd
AB
47622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4763
4764 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4765
3be47f7a
AB
47662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4767
4768 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4769 function.
4770 (test_basic_parsing_of_type_kinds): Expand types tested.
4771 (test_parsing_invalid_type_kinds): New function.
4772
4d00f5d8
AB
47732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4774
4775 * gdb.fortran/intrinsics.exp: New file.
4776 * gdb.fortran/intrinsics.f90: New file.
4777 * gdb.fortran/type-kinds.exp: New file.
4778
c8f91604
AB
47792019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4780
4781 * gdb.fortran/dot-ops.exp: New file.
4782
dd9f2c76
AB
47832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4784
4785 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4786 Check upper and lower case logical literals.
4787
84ec9724
AB
47882019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4789
4790 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4791 Remove duplicate tests.
4792
c3734e09
AH
47932019-03-06 Alan Hayward <alan.hayward@arm.com>
4794
4795 * lib/gdb.exp (builtin_cd): rename of cd.
4796 (cd): Override builtin.
4797
aa3cfbda
RB
47982019-03-06 Richard Bunt <richard.bunt@arm.com>
4799
4800 * gdb.fortran/function-calls.exp: New file.
4801 * gdb.fortran/function-calls.f90: New test.
4802
7b63ad86
RB
48032019-03-04 Richard Bunt <richard.bunt@arm.com>
4804
4805 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4806 on user program standard output.
4807 * gdb.fortran/short-circuit-argument-list.f90: Record function
4808 calls.
4809
01abb042
AH
48102019-02-28 Alan Hayward <alan.hayward@arm.com>
4811
c3734e09
AH
4812 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4813 failure.
01abb042 4814
92137da0
RO
48152019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4816
4817 PR gdb/8527
4818 * gdb.base/interrupt-daemon-attach.c,
4819 gdb.base/interrupt-daemon-attach.exp: New test.
4820
5862844d
PA
48212019-02-27 Pedro Alves <palves@redhat.com>
4822
4823 * gdb.base/page.exp: Add tests for "set width/height -1".
4824
8ed25214
PA
48252019-02-27 Pedro Alves <palves@redhat.com>
4826
4827 * gdb.base/page.exp: Add tests for "set/show width/height" with
4828 "infinite" values.
4829
6c28e44a
TT
48302019-02-27 Tom Tromey <tromey@adacore.com>
4831
4832 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4833 2.4.
4834 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4835 workaround.
4836
bf9a735e
AB
48372019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4838
4839 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4840 tests for structs with static members.
4841
8791793c
TT
48422019-02-26 Tom Tromey <tromey@adacore.com>
4843
4844 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4845 ValueError, not TypeError.
4846
bc2a507e
KB
48472019-02-26 Kevin Buettner <kevinb@redhat.com>
4848
4849 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4850 call from main program.
4851
e0e7d3bd
JB
48522019-02-23 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4855 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4856 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4857 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4858 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4859
9600246d
KS
48602019-02-22 Keith Seitz <keiths@redhat.com>
4861
4862 PR symtab/23853
4863 * gdb.base/symlink-sourcefile.c: New file.
4864 * gdb.base/symlink-sourcefile.exp: New file.
4865
0c95f9ed
TT
48662019-02-20 Tom Tromey <tom@tromey.com>
4867
4868 * gdb.base/info_qt.exp: Update.
4869
6caa91b6
SM
48702019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4871
4872 * gdb.base/source.exp: Move "error in sourced script" code to
4873 the end.
4874 * gdb.base/source-error.gdb: Move contents to
4875 source-error-1.gdb. Add new code to source source-error-1.gdb.
4876 * gdb.base/source-error-1.gdb: New file, from previous
4877 source-error.gdb.
4878
6506371f
TT
48792019-02-17 Tom Tromey <tom@tromey.com>
4880
4881 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4882 for macro styling.
4883 * gdb.base/style.c (SOME_MACRO): New macro.
4884
a0087920
TT
48852019-02-17 Tom Tromey <tom@tromey.com>
4886
4887 * gdb.base/style.exp: Add line-wrapping tests.
4888 * gdb.base/page.exp: Add test for quitting during pagination.
4889
a2cd4f14
JB
48902019-02-17 Joel Brobecker <brobecker@adacore.com>
4891
4892 * gdb.ada/big_packed_array: New testcase.
4893 * gdb.ada/homonym.exp: Fix incorrect expected output for
4894 "break <homonym__get_value>" test.
4895
9d70ffbc
WP
48962019-02-13 Weimin Pan <weimin.pan@oracle.com>
4897
4898 PR breakpoints/21870
4899 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4900 and prepare_for_testing. Add comment.
4901 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4902 redundant cleanup call. Clean up comment.
4903
01c7ae81
WP
49042019-02-12 Weimin Pan <weimin.pan@oracle.com>
4905
4906 PR breakpoints/21870
4907 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4908 * gdb.arch/aarch64-dbreg-contents.c: New file.
4909
aff29d1c
JB
49102019-02-10 Joel Brobecker <brobecker@adacore.com>
4911
4912 * gdb.ada/mi_ref_changeable: New testcase.
4913
df0da8a2
AH
49142019-02-07 Alan Hayward <alan.hayward@arm.com>
4915
4916 * gdb.base/attach.exp: Add double attach test.
4917
bd447abb
SM
49182019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4919
4920 * lib/gdb.exp (default_gdb_start): Don't match pagination
4921 prompt.
4922 (gdb_init): Set stty_init.
4923
1dbc40b9
TT
49242019-01-27 Tom Tromey <tom@tromey.com>
4925
4926 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4927 skip_python_tests.
4928
353229bf
AH
49292019-01-24 Alan Hayward <alan.hayward@arm.com>
4930
4931 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4932 New structure.
4933 (struct struct_static_02_02): Likewise.
4934 (struct struct_static_02_03): Likewise.
4935 (struct struct_static_02_04): Likewise.
4936 (struct struct_static_04_01): Likewise.
4937 (struct struct_static_04_02): Likewise.
4938 (struct struct_static_04_03): Likewise.
4939 (struct struct_static_04_04): Likewise.
4940 (struct struct_static_06_01): Likewise.
4941 (struct struct_static_06_02): Likewise.
4942 (struct struct_static_06_03): Likewise.
4943 (struct struct_static_06_04): Likewise.
4944 (cmp_struct_static_02_01): Likewise.
4945 (cmp_struct_static_02_02): Likewise.
4946 (cmp_struct_static_02_03): Likewise.
4947 (cmp_struct_static_02_04): Likewise.
4948 (cmp_struct_static_04_01): Likewise.
4949 (cmp_struct_static_04_02): Likewise.
4950 (cmp_struct_static_04_03): Likewise.
4951 (cmp_struct_static_04_04): Likewise.
4952 (cmp_struct_static_06_01): Likewise.
4953 (cmp_struct_static_06_02): Likewise.
4954 (cmp_struct_static_06_03): Likewise.
4955 (cmp_struct_static_06_04): Likewise.
4956 (call_all): Test new structs.
4957 * gdb.base/infcall-nested-structs.exp: Likewise.
4958
73021deb
AH
49592019-01-21 Alan Hayward <alan.hayward@arm.com>
4960 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4961
fc65c7db
AH
49622019-01-21 Alan Hayward <alan.hayward@arm.com>
4963 * gdb.base/stack-protector.c: New test.
4964 * gdb.base/stack-protector.exp: New file.
4965 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4966 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4967 option.
4968 (gdb_compile): Remove stack protector for GCC and prevent
4969 recursion.
4970
c24bdb02
KS
49712019-01-16 Keith Seitz <keiths@redhat.com>
4972
4973 PR gdb/23773
4974 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4975
6f072a10
PFC
49762019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4977
4978 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4979 aliases.
4980 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4981 tests.
4982 * gdb.arch/powerpc-vector-regs.c: New file.
4983 * gdb.arch/powerpc-vector-regs.exp: New file.
4984
a7b8d682
PFC
49852019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4986
4987 * gdb.arch/altivec-regs.exp: Fix the list passed to
4988 gdb_expect_list when testing "info vector".
4989
6eb6fb67
AB
49902019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4991
4992 * gdb.base/style.exp: Don't include path in testname.
4993
b56f80d8
KS
49942019-01-10 Keith Seitz <keiths@redhat.com>
4995
4996 PR gdb/23712
4997 PR symtab/23010
4998 * gdb.dwarf2/multidictionary.exp: New file.
4999
041be526
SM
50002019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5001
5002 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5003 (test_gnuv3_style_demangling): ... this.
5004 (test_lucid_style_demangling): Remove.
5005 (test_arm_style_demangling): Remove.
5006 (test_hp_style_demangling): Remove.
5007 (do_tests): Remove calls to the above.
5008
d820d0c3
AB
50092019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5010
5011 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5012 case.
5013
f097f5ad
TT
50142019-01-06 Tom Tromey <tom@tromey.com>
5015
5016 PR gdb/28155:
5017 * gdb.dwarf2/typedef-void-finish.exp: New file.
5018
2cd8cc0b
TT
50192018-12-28 Tom Tromey <tom@tromey.com>
5020 Simon Marchi <simark@simark.ca>
5021
5022 * gdb.base/jit-exec.exp: New file.
5023 * gdb.base/jit-exec.c: New file.
5024 * gdb.base/jit-execd.c: New file.
5025
35fb8261
TT
50262018-12-28 Tom Tromey <tom@tromey.com>
5027
5028 * gdb.base/style.exp: Update test to check for address styling.
5029
47fd17cd
TT
50302018-12-28 Tom Tromey <tom@tromey.com>
5031
5032 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5033 message.
5034
d47032b7
TT
50352018-12-28 Tom Tromey <tom@tromey.com>
5036
5037 * gdb.base/style.exp: Add test for version number styling.
5038
af79b68d
TT
50392018-12-28 Tom Tromey <tom@tromey.com>
5040
5041 * gdb.base/style.exp: Add test for print_address_symbolic.
5042
0bb296cb
TT
50432018-12-28 Tom Tromey <tom@tromey.com>
5044
5045 * gdb.base/style.exp: Add test for breakpoint setting.
5046
80ae2043
TT
50472018-12-28 Tom Tromey <tom@tromey.com>
5048
5049 * gdb.base/style.exp: Add test for variable names.
5050
cbe56571
TT
50512018-12-28 Tom Tromey <tom@tromey.com>
5052
5053 * gdb.base/style.exp: New file.
5054 * gdb.base/style.c: New file.
5055
9162a27c
TT
50562018-12-28 Tom Tromey <tom@tromey.com>
5057
5058 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5059 "dumb".
5060 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5061 the TERM environment variable.
5062
bc543c90
TT
50632018-12-27 Tom Tromey <tom@tromey.com>
5064
5065 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5066 pagination test.
5067
6f0ffe50
AB
50682018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5069
5070 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5071 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5072
b5a1e557
PW
50732018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5074
5075 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5076 Filename a.adb changed to bp_fun_addr.adb.
5077 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5078
6e8b1ab2
JV
50792018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5080
5081 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5082 non-PIE executables.
5083 * README: Mention the gdb,nopie_flag board setting.
5084 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5085 non-PIE executable.
5086 * gdb.arch/amd64-entry-value.exp: Likewise.
5087 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5088 * gdb.arch/i386-float.exp: Likewise.
5089 * gdb.arch/i386-signal.exp: Likewise.
5090 * gdb.mi/mi-reg-undefined.exp: Likewise.
5091
d00a27c5
PM
50922018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5093
5094 PR gdb/23974
5095 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5096
161d081c
PW
50972018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5098
5099 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5100 Update order of results accordingly.
5101
b001de23
AB
51022018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.base/annota1.exp: Update a test regexp.
5105
99e1a184
AB
51062018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5107
5108 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5109
7a81c1e2
PW
51102018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5111
5112 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5113 (reuse_time): Initialize to REUSE_TIME_CAP.
5114 (check_rc): New function.
5115 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5116 Check pthread_create rc.
5117 (spawner_thread_func): Check pthread_create and pthread_join rc.
5118
73e8dc90
PA
51192018-12-08 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.base/list.exp (test_forward_search): Rename to ...
5122 (test_forward_reverse_search): ... this. Also test reverse-search
5123 and the forward-search alias.
5124
13f2ed32
AB
51252018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5126
5127 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5128 local timeout variable before return, and remove all local timeout
5129 variable entirely.
5130 (gdb_load): Likewise.
5131
64d27cfc
TV
51322018-12-01 Tom de Vries <tdevries@suse.de>
5133
5134 * gdb.base/gdb-caching-proc.exp: New file.
5135
f63c03b4
SDJ
51362018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5137
5138 * Makefile.in (TIMESTAMP): New variable.
5139 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5140 command.
5141 (check-single-racy): Likewise.
5142 (check/%.exp): Likewise.
5143 (check-racy/%.exp): Likewise.
5144 (workers/%.worker): Likewise.
5145 (build-perf): Likewise.
5146 (check-perf): Likewise.
5147 * README: Describe new "TS" and "TS_FORMAT" variables.
5148 * print-ts.py: New file.
5149
1c97054b
BF
51502018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5151
5152 PR python/23714
5153 * gdb.python/python.exp: Test command repetition after
5154 gdb.execute.
5155
1871a62d
AB
51562018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5157
5158 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5159 is correctly aligned.
5160
fb5e1ed9
PW
51612018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5162
5163 * gdb.ada/info_auto_lang.exp: New testcase.
5164 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5165 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5166 * gdb.ada/info_auto_lang/some_c.c: New file.
5167
43d397ca
PW
51682018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5169
5170 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5171 FUNC_lang language syntax.
5172
beddd671
PW
51732018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5174
5175 * gdb.base/info_minsym.c: New file.
5176 * gdb.base/info_minsym.exp: New file.
5177
73fc52c4
TT
51782018-11-19 Tom Tromey <tom@tromey.com>
5179
5180 PR rust/23625:
5181 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5182 * gdb.rust/expr.exp: Update expected output. Change one test.
5183
994b876a
TT
51842018-11-19 Tom Tromey <tom@tromey.com>
5185
5186 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5187
6769f276
PA
51882018-11-19 Pedro Alves <palves@redhat.com>
5189
5190 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5191 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5192 see the expected warning.
5193
38a72da0
AH
51942018-11-16 Alan Hayward <alan.hayward@arm.com>
5195
5196 PR gdb/22736:
5197 * gdb.cp/infcall-nodebug-lib.c: New test.
5198 * gdb.cp/infcall-nodebug-main.c: New test.
5199 * gdb.cp/infcall-nodebug.exp: New file.
5200
53a89d6e
SM
52012018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5202
5203 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5204 completer tests.
5205
9325300d
TV
52062018-11-09 Tom de Vries <tdevries@suse.de>
5207
5208 * gdb.base/msym-lang.c: New test.
5209 * gdb.base/msym-lang.exp: New file.
5210 * gdb.base/msym-lang-main.c: New test.
5211
20f0d60d
TT
52122018-11-08 Tom Tromey <tom@tromey.com>
5213
5214 PR gdb/23555:
5215 PR gdb/23838:
5216 * gdb.base/warning.exp: New file.
5217
b5420128
JB
52182018-11-08 Jan Beulich <jbeulich@suse.com>
5219
5220 * testsuite/gdb.arch/i386-avx512.c,
5221 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5222
cd115d61
AB
52232018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5224
5225 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5226 point hardware.
5227
35ee2dc2
AB
52282018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5229
5230 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5231 * gdb.dwarf2/missing-type-name.exp: New file.
5232
31aceee8
TV
52332018-11-06 Tom de Vries <tdevries@suse.de>
5234
5235 * gdb.base/many-headers.c: New test.
5236 * gdb.base/many-headers.exp: New file.
5237
109be305
JW
52382018-11-06 Jim Wilson <jimw@sifive.com>
5239
5240 * gdb.base/code_elim.exp: For riscv, set additional_flags
5241 to include -msmall-data-limit=0.
5242
e2b7af72
JB
52432018-11-01 Joel Brobecker <brobecker@adacore.com>
5244
5245 * gdb.ada/watch_minus_l: New testcase.
5246
cdcda965
SM
52472018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5248
5249 * gdb.arch/aix-sighandle.c: New file.
5250 * gdb.arch/aix-sighandle.exp: New file.
5251
92dcebf3
AB
52522018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5253
5254 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5255 registers being unions.
5256
68b9ac18
TV
52572018-10-31 Tom de Vries <tdevries@suse.de>
5258
5259 * lib/valgrind.exp: New file.
5260 (vgdb_start, vgdb_stop): New procs, factored out of ...
5261 * gdb.base/valgrind-bt.exp: ... here, ...
5262 * gdb.base/valgrind-disp-step.exp: ... here and ...
5263 * gdb.base/valgrind-infcall.exp: ... here.
5264
1443936e
TV
52652018-10-31 Tom de Vries <tdevries@suse.de>
5266
5267 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5268
eb77c9df
AB
52692018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5270
5271 * gdb.dwarf2/void-type.c: New file.
5272 * gdb.dwarf2/void-type.exp: New file.
5273
82b5e646
PW
52742018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5275
5276 * gdb.base/info_qt.c: New file.
5277 * gdb.base/info_qt.exp: New file.
5278
8d619c01
EBM
52792018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5280
5281 * gdb.arch/powerpc-htm-regs.c: New file.
5282 * gdb.arch/powerpc-htm-regs.exp: New file.
5283
f2cf6173
EBM
52842018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5285
5286 * gdb.arch/powerpc-tar.c: New file.
5287 * gdb.arch/powerpc-tar.exp: New file.
5288
7ca18ed6
EBM
52892018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5290
5291 * gdb.arch/powerpc-ppr-dscr.c: New file.
5292 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5293
bfcc0eba
TV
52942018-10-25 Tom de Vries <tdevries@suse.de>
5295
5296 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5297
fe1a5cad
TV
52982018-10-24 Tom de Vries <tdevries@suse.de>
5299
5300 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5301 longer exists error.
5302
a76dc3b7
TV
53032018-10-24 Tom de Vries <tdevries@suse.de>
5304
5305 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5306
4df46df7
TV
53072018-10-24 Tom de Vries <tdevries@suse.de>
5308
5309 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5310 --db-attach in valgrind.
5311
0dbfcfff
AB
53122018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5313
5314 * gdb.arch/riscv-reg-aliases.c: New file.
5315 * gdb.arch/riscv-reg-aliases.exp: New file.
5316
b04480b1
AH
53172018-10-19 Alan Hayward <alan.hayward@arm.com>
5318
5319 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5320
2c6ac8d7
AH
53212018-10-19 Alan Hayward <alan.hayward@arm.com>
5322
5323 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5324
2bc69f25
AH
53252018-10-19 Alan Hayward <alan.hayward@arm.com>
5326
5327 * gdb.cp/ovldbreak.exp: Fix regexps.
5328
1f1ae3a3
AH
53292018-10-19 Alan Hayward <alan.hayward@arm.com>
5330
5331 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5332
94c18618
SDJ
53332018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5334
5335 PR cli/23785
5336 * gdb.base/restore.exp: New test to check if "restore" with an
5337 invalid file doesn't segfault.
5338
812cd6eb
TV
53392018-10-18 Tom de Vries <tdevries@suse.de>
5340
5341 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5342 * gdb.ada/excep_handle.exp: Same.
5343 * gdb.ada/mi_string_access.exp: Same.
5344 * gdb.ada/mi_var_union.exp: Same.
5345 * gdb.arch/arc-analyze-prologue.exp: Same.
5346 * gdb.arch/arc-decode-insn.exp: Same.
5347 * gdb.base/readnever.exp: Same.
5348 * gdb.fortran/printing-types.exp: Same.
5349 * gdb.guile/scm-lazy-string.exp: Same.
5350
c4b90788
TV
53512018-10-16 Tom de Vries <tdevries@suse.de>
5352
5353 PR gdb/23730
5354 * gdb.base/catch-follow-exec.c: Add copyright notice.
5355 * gdb.base/catch-follow-exec.exp: Rewrite to use
5356 gdb_spawn_with_cmdline_opts. Require gdb-native.
5357
8bca2978
SL
53582018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5359
5360 * gdb.trace/actions-changed.exp: Check for arch support.
5361 * gdb.trace/actions.exp: Likewise.
5362 * gdb.trace/ax.exp: Likewise.
5363 * gdb.trace/backtrace.exp: Likewise.
5364 * gdb.trace/change-loc.exp: Likewise.
5365 * gdb.trace/deltrace.exp: Likewise.
5366 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5367 * gdb.trace/ftrace.exp: Likewise.
5368 * gdb.trace/infotrace.exp: Check for arch support.
5369 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5370 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5371 * gdb.trace/mi-tsv-changed.exp: Likewise.
5372 * gdb.trace/packetlen.exp: Likewise.
5373 * gdb.trace/passc-dyn.exp: Likewise.
5374 * gdb.trace/passcount.exp: Likewise.
5375 * gdb.trace/pending.exp: Likewise.
5376 * gdb.trace/range-stepping.exp: Check for shlib support.
5377 * gdb.trace/report.exp: Check for arch support.
5378 * gdb.trace/save-trace.exp: Likewise.
5379 * gdb.trace/signal.exp: Check for signal support.
5380 * gdb.trace/tfind.exp: Check for arch support.
5381 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5382 * gdb.trace/trace-common.h: Add comment.
5383 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5384 * gdb.trace/trace-enable-disable.exp: Likewise.
5385 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5386 * gdb.trace/tracecmd.exp: Check for arch support.
5387 * gdb.trace/tspeed.exp: Check for shlib and target support.
5388 * gdb.trace/tstatus.exp: Check for arch support.
5389 * gdb.trace/tsv.exp: Likewise.
5390 * gdb.trace/while-dyn.exp: Likewise.
5391 * gdb.trace/while-stepping.exp: Likewise.
5392 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5393
f9c49bff
SM
53942018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5395
5396 * gdb.trace/tspeed.exp: Remove nowarnings.
5397 (prepare_for_trace_test): Declare "global ipalib".
5398 * gdb.trace/tspeed.c: Include unistd.h.
5399 (main): Remove superfluous printf argument.
5400
d4330bde
SL
54012018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5402
5403 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5404 directory prefix on the filename.
5405
8ecfd7bd
SDJ
54062018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5407
5408 * gdb.gdb/unittest.exp: Update expected message informing that
5409 selftests have been disabled.
5410 * gdb.server/unittest.exp: Likewise.
5411
58bbcd02
TV
54122018-10-09 Tom de Vries <tdevries@suse.de>
5413
5414 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5415 with runto_main.
5416
9f6b697b
WP
54172018-10-08 Weimin Pan <weimin.pan@oracle.com>
5418
5419 PR c++/16841
5420 * gdb.cp/virtbase2.cc: New file.
5421 * gdb.cp/virtbase2.exp: New file.
5422
add5ded5
TT
54232018-10-06 Tom Tromey <tom@tromey.com>
5424
5425 PR python/19399:
5426 * gdb.python/py-inferior.exp: Add architecture test.
5427
f9e48344
TT
54282018-10-06 Tom Tromey <tom@tromey.com>
5429
5430 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5431 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5432
2a8be203
TT
54332018-10-06 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5436 of a "throw" catchpoint.
5437
e04caa70
SDJ
54382018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5439
5440 * gdb.base/info-proc.exp: Update string expected from "help info
5441 proc".
5442
5ca8c39f
TT
54432018-10-04 Tom Tromey <tom@tromey.com>
5444
5445 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5446 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5447 (test_initial_complaints, test_empty_complaints): Update.
5448 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5449
3453e7e4
TT
54502018-10-04 Tom Tromey <tom@tromey.com>
5451
5452 PR cli/19551:
5453 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5454 * lib/gdb.exp (gdb_file_cmd): Update.
5455 * gdb.stabs/weird.exp (print_weird_var): Update.
5456 * gdb.server/solib-list.exp: Update.
5457 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5458 * gdb.mi/mi-cli.exp: Update.
5459 * gdb.linespec/linespec.exp: Update.
5460 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5461 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5462 * gdb.cp/cp-relocate.exp: Update.
5463 * gdb.base/sym-file.exp: Update.
5464 * gdb.base/relocate.exp: Update.
5465 * gdb.base/readnever.exp: Update.
5466 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5467 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5468 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5469 * gdb.base/code_elim.exp: Update.
5470 * gdb.base/break-unload-file.exp (test_break): Update.
5471 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5472 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5473 Update.
5474 * gdb.base/attach.exp (do_attach_tests): Update.
5475 * gdb.base/sepdebug.exp: Update.
5476 * gdb.python/py-section-script.exp: Update.
5477
6afcf761
TT
54782018-10-04 Tom Tromey <tom@tromey.com>
5479
5480 PR cli/22234:
5481 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5482 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5483 output.
5484
fef1b293
TT
54852018-10-04 Tom Tromey <tom@tromey.com>
5486
5487 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5488 set width and height to 0.
5489 (test_command_line_attach_run): Use -quiet.
5490
ca98345e
SL
54912018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5492
5493 * lib/gdb.exp (skip_ifunc_tests): New.
5494 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5495 other compile failures.
5496 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5497
ff34e6ae
SM
54982018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5499
5500 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5501 is_amd64_regs_target.
5502
6bb8890e
AH
55032018-10-01 Alan Hayward <alan.hayward@arm.com>
5504
5505 * gdb.arch/aarch64-sighandler-regs.c: New test.
5506 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5507 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5508
224d30d3
MM
55092018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5510
5511 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5512 assembly.
5513
f67ffa6a
AB
55142018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5515
5516 * gdb.base/frame-selection.exp: New file.
5517 * gdb.base/frame-selection.c: New file.
5518
9fc3183f
AH
55192018-09-27 Alan Hayward <alan.hayward@arm.com>
5520
5521 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5522 pthread barrier.
5523 (main): Likewise.
5524
d354055e
AB
55252018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5526
5527 * gdb.base/large-frame-1.c: New file.
5528 * gdb.base/large-frame-2.c: New file.
5529 * gdb.base/large-frame.exp: New file.
5530 * gdb.base/large-frame.h: New file.
5531
db727370
JL
55322018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5533
5534 PR gdb/20948
5535 * gdb.base/write_mem.exp: New test.
5536 * gdb.base/write_mem.c: Likewise.
5537
ae778caf
TT
55382018-09-23 Tom Tromey <tom@tromey.com>
5539
5540 PR python/18852:
5541 * gdb.python/py-parameter.exp: Add test for parameter that throws
5542 on "set".
5543
fd3ba736
TT
55442018-09-23 Tom Tromey <tom@tromey.com>
5545
5546 PR python/17284:
5547 * gdb.python/py-template.exp (test_template_arg): Add test for
5548 negative template argument number.
5549
39a24317
TT
55502018-09-23 Tom Tromey <tom@tromey.com>
5551
5552 PR python/14062:
5553 * gdb.python/python.exp: Add test for post_event error.
5554
f5769a2c
TT
55552018-09-23 Tom Tromey <tom@tromey.com>
5556
5557 PR python/18170:
5558 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5559 convert pointers to int and long.
5560
1c1e54f6
TT
55612018-09-23 Tom Tromey <tom@tromey.com>
5562
5563 PR python/20126:
5564 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5565 signed-ness conversion tests.
5566
fb4fa946
TT
55672018-09-23 Tom Tromey <tom@tromey.com>
5568
5569 PR python/18352;
5570 * gdb.python/py-value.exp (test_float_conversion): New proc.
5571 Use it.
5572
a466edac
HAQ
55732018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5574
5575 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5576
4ee9b0c5
SL
55772018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5578
5579 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5580 no readline.
5581 * gdb.base/utf8-identifiers.exp: Likewise.
5582 * gdb.cp/cpcompletion.exp: Likewise.
5583 * gdb.linespec/cpcompletion.exp: Likewise.
5584 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5585 * gdb.linespec/cpls-ops.exp: Likewise.
5586
23be8da7
RB
55872018-09-19 Richard Bunt <richard.bunt@arm.com>
5588 Chris January <chris.january@arm.com>
5589
5590 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5591 * gdb.fortran/short-circuit-argument-list.exp: New file.
5592 * gdb.fortran/short-circuit-argument-list.f90: New test.
5593
5031d0ae
SDJ
55942018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5597 "arch=" keyword when executing "-stack-list-frames".
5598
b4c0d1a4
SDJ
55992018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5600
5601 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5602 "arch=" keyword when executing "-stack-list-frames".
5603
7a6d2b45
SDJ
56042018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5605
5606 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5607 break ada".
5608
8588b356
SM
56092018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5610
5611 PR python/23669
5612 * gdb.python/python.exp: Test gdb.execute("show commands").
5613
65e65158
TT
56142018-09-16 Tom Tromey <tom@tromey.com>
5615
5616 * gdb.base/new-ui.exp (do_execution_tests): Update.
5617 * gdb.base/dbx.exp (test_breakpoints): Update.
5618
bf326452
AH
56192018-09-14 Alan Hayward <alan.hayward@arm.com>
5620
5621 * lib/gdb.exp (gdb_simple_compile): Add proc.
5622 (is_elf_target): Use gdb_simple_compile.
5623 (skip_altivec_tests): Likewise.
5624 (skip_vsx_tests): Likewise.
5625 (skip_tsx_tests): Likewise.
5626 (skip_btrace_tests): Likewise.
5627 (skip_btrace_pt_tests): Likewise.
5628 (gdb_can_simple_compile): Likewise.
5629 (gdb_has_argv0): Likewise.
5630 (gdb_target_symbol_prefix): Likewise.
5631 (target_supports_scheduler_locking): Likewise.
5632
2361b0fb
TT
56332018-09-13 Tom Tromey <tom@tromey.com>
5634
5635 * Makefile.in (TAGS): Recognize proc_with_prefix and
5636 gdb_caching_proc.
5637
0ae1a321
SM
56382018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5639
5640 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5641 method.
5642
a40bf0c2
SM
56432018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5644
5645 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5646 and a few other Inferior properties when the Inferior is no
5647 longer valid.
5648
4a3fe98f
TT
56492018-09-13 Tom Tromey <tom@tromey.com>
5650
5651 PR rust/23650:
5652 * gdb.rust/simple.exp: Add test for enum field access error.
5653
098b2108
TT
56542018-09-13 Tom Tromey <tom@tromey.com>
5655
5656 PR rust/23626:
5657 * gdb.rust/simple.rs (EmptyEnum): New type.
5658 (main): Use it.
5659 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5660
1256af7d
SM
56612018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5662
5663 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5664 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5665 * gdb.python/py-symtab.exp: Update test printing an objfile.
5666
4aa8e6c2
SM
56672018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5668
5669 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5670 object.
5671
c221b2f7
AH
56722018-09-12 Alan Hayward <alan.hayward@arm.com>
5673
5674 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5675 (support_complex_tests): Use gdb_can_simple_compile.
5676 (is_ilp32_target): Likewise.
5677 (is_lp64_target): Likewise.
5678 (is_64_target): Likewise.
5679 (is_amd64_regs_target): Likewise.
5680 (is_aarch32_target): Likewise.
5681 (gdb_int128_helper): Likewise.
5682
6f1107b5
JK
56832018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5684
5685 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5686
1f5d1570
JG
56872018-09-10 Jerome Guitton <guitton@adacore.com>
5688
5689 * gdb.ada/same_component_name: Add test for case of tagged record
5690 with variable-length fields.
5691
cc330e39
XR
56922018-09-10 Xavier Roirand <roirand@adacore.com>
5693
5694 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5695 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5696 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5697 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5698
b9c50e9a
XR
56992018-09-10 Xavier Roirand <roirand@adacore.com>
5700
5701 * gdb.ada/mi_string_access.exp: New testcase.
5702 * gdb.ada/mi_string_access/bar.adb: New file.
5703 * gdb.ada/mi_string_access/pck.adb: New file.
5704 * gdb.ada/mi_string_access/pck.asd: New file.
5705
2963898f
XR
57062018-09-10 Xavier Roirand <roirand@adacore.com>
5707
5708 * gdb.ada/mi_var_union.exp: New testcase.
5709 * gdb.ada/mi_var_union/bar.adb: New file.
5710 * gdb.ada/mi_var_union/pck.adb: New file.
5711 * gdb.ada/mi_var_union/pck.asd: New file.
5712
1aac008f
TT
57132018-09-08 Tom Tromey <tom@tromey.com>
5714
5715 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5716
332cf4c9
TT
57172018-09-08 Tom Tromey <tom@tromey.com>
5718
5719 PR python/16047:
5720 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5721 (register_pretty_printers): Register new printer.
5722 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5723 test.
5724 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5725 (an_int_type3): New global.
5726
424da6cf
JB
57272018-09-08 Joel Brobecker <brobecker@adacore.com>
5728
5729 * gdb.ada/expr_with_funcall: New testcase.
5730
2a62dfa9
JB
57312018-09-08 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.ada/packed_array_assign: New testcase.
5734
96b6697f
AB
57352018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5736
5737 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5738 names, and add test prefixes to make test names unique.
5739
e4a62c65
TV
57402018-09-05 Tom de Vries <tdevries@suse.de>
5741
5742 * gdb.dwarf2/varval.exp: Add test.
5743
dd083ee2
GB
57442018-09-04 Gary Benson <gbenson@redhat.com>
5745
5746 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5747 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5748
aef9346c
TT
57492018-08-31 Tom Tromey <tom@tromey.com>
5750
5751 * gdb.rust/simple.rs: Rename second variable "v".
5752
c67f2e15
AB
57532018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5754
5755 * gdb.base/funcargs.c (use_a): New function.
5756 (recurse): Call use_a.
5757
078a0207
KS
57582018-08-29 Keith Seitz <keiths@redhat.com>
5759
5760 * gdb.compile/compile-cplus-anonymous.cc: New file.
5761 * gdb.compile/compile-cplus-anonymous.exp: New file.
5762 * gdb.compile/compile-cplus-array-decay.cc: New file.
5763 * gdb.compile/compile-cplus-array-decay.exp: New file.
5764 * gdb.compile/compile-cplus-inherit.cc: New file.
5765 * gdb.compile/compile-cplus-inherit.exp: New file.
5766 * gdb.compile/compile-cplus-member.cc: New file.
5767 * gdb.compile/compile-cplus-member.exp: New file.
5768 * gdb.compile/compile-cplus-method.cc: New file.
5769 * gdb.compile/compile-cplus-method.exp: New file.
5770 * gdb.compile/compile-cplus-mod.c: "New" file.
5771 * gdb.compile/compile-cplus-namespace.cc: New file.
5772 * gdb.compile/compile-cplus-namespace.exp: New file.
5773 * gdb.compile/compile-cplus-nested.cc: New file.
5774 * gdb.compile/compile-cplus-nested.exp: New file.
5775 * gdb.compile/compile-cplus-print.c: "New" file.
5776 * gdb.compile/compile-cplus-print.exp: "New" file.
5777 * gdb.compile/compile-cplus-virtual.cc: New file.
5778 * gdb.compile/compile-cplus-virtual.exp: New file.
5779 * gdb.compile/compile-cplus.c: "New" file.
5780 * gdb.compile/compile-cplus.exp: "New" file.
5781 * lib/compile-support.exp: New file.
5782
b0f492b9
GB
57832018-08-16 Gary Benson <gbenson@redhat.com>
5784
5785 PR gdb/13000:
5786 * gdb.base/batch-exit-status.exp: New file.
5787 * gdb.base/batch-exit-status.good-commands: Likewise.
5788 * gdb.base/batch-exit-status.bad-commands: Likewise.
5789
36eb4c5f
AH
57902018-08-29 Alan Hayward <alan.hayward@arm.com>
5791
5792 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5793 (struct struct02): Likewise.
5794 (struct struct03): Likewise.
5795 (struct struct04): Likewise.
5796 (struct struct_01_01): New struct.
5797 (struct struct_01_02): Likewise.
5798 (struct struct_01_03): Likewise.
5799 (struct struct_01_04): Likewise.
5800 (struct struct_02_01): Likewise.
5801 (struct struct_02_02): Likewise.
5802 (struct struct_02_03): Likewise.
5803 (struct struct_02_04): Likewise.
5804 (struct struct_04_01): Likewise.
5805 (struct struct_04_02): Likewise.
5806 (struct struct_04_03): Likewise.
5807 (struct struct_04_04): Likewise.
5808 (struct struct_05_01): Likewise.
5809 (struct struct_05_02): Likewise.
5810 (struct struct_05_03): Likewise.
5811 (struct struct_05_04): Likewise.
5812 (cmp_struct01): Remove function.
5813 (cmp_struct02): Likewise.
5814 (cmp_struct03): Likewise.
5815 (cmp_struct04): Likewise.
5816 (cmp_struct_01_01): Add Function.
5817 (cmp_struct_01_02): Likewise.
5818 (cmp_struct_01_03): Likewise.
5819 (cmp_struct_01_04): Likewise.
5820 (cmp_struct_02_01): Likewise.
5821 (cmp_struct_02_02): Likewise.
5822 (cmp_struct_02_03): Likewise.
5823 (cmp_struct_02_04): Likewise.
5824 (cmp_struct_04_01): Likewise.
5825 (cmp_struct_04_02): Likewise.
5826 (cmp_struct_04_03): Likewise.
5827 (cmp_struct_04_04): Likewise.
5828 (cmp_struct_05_01): Likewise.
5829 (cmp_struct_05_02): Likewise.
5830 (cmp_struct_05_03): Likewise.
5831 (cmp_struct_05_04): Likewise.
5832 (call_all): Add new structs.
5833 * gdb.base/infcall-nested-structs.exp: Likewise.
5834
3bf9c013
JV
58352018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5836
5837 * gdb.python/py-framefilter-mi.exp: Update regexp to
5838 check for "arch" field in frame output.
5839
450d1e88
KB
58402018-08-23 Kevin Buettner <kevinb@redhat.com>
5841
5842 * gdb.dwarf2/dw2-ranges-func.c: New file.
5843 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5844
ae739fe7
SM
58452018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5846
5847 * gdb.base/term.exp: Compare terminal settings with values from
5848 the inferior.
5849 * gdb.base/term.c: Get and set terminal settings.
5850
6d52907e
JV
58512018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5852
5853 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5854 accommodate new "arch" field in frame output.
5855 * gdb.mi/mi-return.exp: Likewise.
5856 * gdb.mi/mi-stack.exp: Likewise.
5857 * gdb.mi/mi-syn-frame.exp: Likewise.
5858 * gdb.mi/user-selected-context-sync.exp: Likewise.
5859
be2d111a
MS
58602018-08-19 Michael Spang <spang@google.com>
5861
5862 PR gdb/11786
5863 * gdb.base/gcore-tls-pie.c: New file.
5864 * gdb.base/gcore-tls-pie.exp: New file.
5865
ae3a7c47
KB
58662018-08-18 Kevin Buettner <kevinb@redhat.com>
5867
5868 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5869 * gdb.dwarf2/varval.c: New file.
5870 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5871
2ecae92e
AH
58722018-08-17 Alan Hayward <alan.hayward@arm.com>
5873
5874 PR gdb/18931
5875 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5876
c1854f1d
KS
58772018-08-16 Keith Seitz <keiths@redhat.com>
5878
5879 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5880 tests expected to pass.
5881
26fb3983
JV
58822018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5883
5884 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5885 -data-disassemble -a.
5886 (test_disassembly_bogus_args): Likewise.
5887
67943c00
AB
58882018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5889
5890 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5891
5ff2bbae
AB
58922018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5893
5894 * gdb.base/vla-optimized-out.exp: Add new test.
5895
e5bbcd0f
AB
58962018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5897
5898 * gdb.base/vla-optimized-out-o3.exp: Delete.
5899 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5900 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5901 deleted tests.
5902
9d4a934c
AB
59032018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5904
5905 PR gdb/18050:
5906 * gdb.server/extended-remote-restart.c: New file.
5907 * gdb.server/extended-remote-restart.exp: New file.
5908
045cf012
SM
59092018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5910
5911 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5912 "set variable index = 42".
5913
87d6a7aa
SM
59142018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5915
5916 * boards/index-cache-gdb.exp: New file.
5917 * gdb.dwarf2/index-cache.exp: New file.
5918 * gdb.dwarf2/index-cache.c: New file.
5919 * gdb.base/maint.exp: Check if we are using the index cache.
5920
96d68bd4
RO
59212018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5922
5923 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5924 MAKEFLAGS.
5925
5a699617
RO
59262018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5927
5928 * dg-extract-results.sh: Move to toplevel contrib.
5929 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5930 * Makefile.in (check-parallel-racy): Likewise.
5931
5bd18990
AB
59322018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5933
5934 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5935 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5936 tests if the target supports scheduler locking.
5937
3fbbcf47
TV
59382018-08-04 Tom de Vries <tdevries@suse.de>
5939
5940 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5941
3e1d3d8c
TT
59422018-08-02 Tom Tromey <tom@tromey.com>
5943
5944 PR symtab/16842.
5945 * gdb.cp/temargs.exp: Test "info address" of a template
5946 parameter.
5947
5abe0f0c
JV
59482018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5949
5950 * gdb.python/py-mi-var-info-path-expression.c: New file.
5951 * gdb.python/py-mi-var-info-path-expression.py: New file.
5952 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5953
fb66cde8
SDJ
59542018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5955
5956 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5957 error after "cannot resolve name" string.
5958
c708f4d2
AB
59592018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5960
5961 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5962 started.
5963 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5964
37cc0cae
TV
59652018-07-28 Tom de Vries <tdevries@suse.de>
5966
5967 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5968
63b4ecf7
TV
59692018-07-26 Tom de Vries <tdevries@suse.de>
5970
5971 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5972
3c3bb058
AB
59732018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5974
5975 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5976 is visible.
5977
9e7f3bbb
TV
59782018-07-26 Tom de Vries <tdevries@suse.de>
5979
5980 PR breakpoints/23366
5981 * gdb.base/catch-follow-exec.c: New test.
5982 * gdb.base/catch-follow-exec.exp: New file.
5983
16f808ec
TV
59842018-07-25 Tom de Vries <tdevries@suse.de>
5985
5986 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5987 vla-optimized-out.c.
5988
d7154a8d
JV
59892018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5990
5991 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5992 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5993
232a0032
TV
59942018-07-20 Tom de Vries <tdevries@suse.de>
5995
5996 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5997 NOCLONE macro.
5998 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5999
fbb1d502
TV
60002018-07-19 Tom de Vries <tdevries@suse.de>
6001
6002 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6003 regular expression.
6004
42dc7699
TV
60052018-07-18 Tom de Vries <tdevries@suse.de>
6006
6007 * gdb.base/vla-optimized-out.c: New test.
6008 * gdb.base/vla-optimized-out.exp: New file.
6009
7f1f7e23
SDJ
60102018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6011
6012 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6013 message "No address associated with hostname" when gdbserver
6014 cannot resolve the hostname.
6015
5759ebb3
PW
60162018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6017
6018 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6019 Add some test prefixes to make tests unique.
6020
3606ccab
PW
60212018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6022
6023 * gdb.base/frameapply.c: New file.
6024 * gdb.base/frameapply.exp: New file.
6025
529c08b2
PW
60262018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6027
6028 * gdb.base/skip.exp: Update expected error message.
6029
c7ab0aef
SDJ
60302018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6031 Jan Kratochvil <jan.kratochvil@redhat.com>
6032 Paul Fertser <fercerpav@gmail.com>
6033 Tsutomu Seki <sekiriki@gmail.com>
6034
6035 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6036 parameter.
6037 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6038 by default.
6039 * boards/native-gdbserver.exp: Likewise.
6040 * gdb.server/run-without-local-binary.exp: Improve regexp used
6041 for detecting when a remote debugging connection succeeds.
6042 * gdb.server/server-connect.exp: New file.
6043 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6044 Do not prefix the port number with ":".
6045 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6046 support for detecting and using it. Add '$debughost_gdbserver'
6047 to the list of arguments used to start gdbserver. Handle case
6048 when gdbserver cannot resolve a network name.
6049
16ff70dd
SDJ
60502018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6051
6052 PR c++/23373
6053 * gdb.base/ptype-offsets.cc (struct static_member): New
6054 struct.
6055 (main) <stmember>: New variable.
6056 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6057 with a static member in it.
6058
3541979f
AB
60592018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6060
6061 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6062 watchpoints enabled and disabled.
6063
c8ad9b9a
AB
60642018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6065
6066 * gdb.base/examine-backward.exp: Still run tests around address
6067 0x0, even if address 0x0 is not readable. Update the pattern for
6068 matching address 0x0 in expected output.
6069
e0e5e971
AB
60702018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6071
6072 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6073 malloc/free.
6074
1ea5da02
TV
60752018-07-04 Tom de Vries <tdevries@suse.de>
6076
6077 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6078
471b9d15
MR
60792018-07-02 Maciej W. Rozycki <macro@mips.com>
6080
6081 PR tdep/8282
6082 * gdb.arch/mips-disassembler-options.exp: New test.
6083 * gdb.arch/mips-disassembler-options.s: New test source.
6084
75acb486
PA
60852018-06-29 Pedro Alves <palves@redhat.com>
6086
6087 * gdb.threads/names.exp: Adjust expected "info threads" output.
6088
cd2bb709
PA
60892018-06-29 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.opt/inline-break.exp (line number, address): Add "info
6092 break" tests.
6093
991ff292
PA
60942018-06-29 Pedro Alves <palves@redhat.com>
6095
6096 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6097 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6098 number and address and running to them.
6099
356819b6 61002018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
6101
6102 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6103
2512d7ef
JK
61042018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6105
6106 * lib/compiler.c: Remove executable permission flag.
6107
be1b6474
RB
61082018-06-28 Richard Bunt <richard.bunt@arm.com>
6109
6110 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6111 code.
6112 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6113
291f9a96
PT
61142018-06-28 Petr Tesarik <ptesarik@suse.cz>
6115
6116 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6117
ed6dfe51
PT
61182018-06-28 Petr Tesarik <ptesarik@suse.cz>
6119
6120 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6121 address argument is omitted.
6122
d4d429d5
PT
61232018-06-28 Petr Tesarik <ptesarik@suse.cz>
6124
6125 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6126
7ab6656f
OJ
61272018-06-27 Omair Javaid <omair.javaid@linaro.org>
6128
6129 PR gdb/21695
6130 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6131 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6132
a33ccfc7
TT
61332018-06-26 Tom Tromey <tom@tromey.com>
6134
6135 PR rust/22574:
6136 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6137 * gdb.rust/simple.rs (struct SimpleLayout): New.
6138
6d72d289
SM
61392018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6140
6141 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6142 "info registers" output.
6143
8363f9d5
RB
61442018-06-21 Richard Bunt <richard.bunt@arm.com>
6145
6146 * gdb.base/watchpoint-hw-attach.c: New test.
6147 * gdb.base/watchpoint-hw-attach.exp: New file.
6148
f00674fe
SM
61492018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6150
6151 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6152 through /bin/sh.
6153 * boards/dwarf4-gdb-index.exp: Likewise.
6154 * boards/fission-dwp.exp: Likewise.
6155
1d554008
UW
61562018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6157
6158 * gdb.base/float128.exp: Add comment and improved fail message
6159 to the failure case of "print large128" test.
6160
d0ac1c44
SM
61612018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6162
6163 * configure.ac: Remove AC_PREREQ.
6164 * configure: Re-generate.
6165
61b04dd0
PA
61662018-06-19 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6169 (func_extern_caller): New.
6170 (main): Call func_extern_caller.
6171 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6172 logic change.
6173
f63b508a
SM
61742018-06-18 Weimin Pan <weimin.pan@oracle.com>
6175
6176 PR gdb/16841
6177 * gdb.cp/typedef-base.cc: New file.
6178 * gdb.cp/typedef-base.exp: New file.
6179
0fe3a558
TV
61802018-06-18 Tom de Vries <tdevries@suse.de>
6181
6182 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6183
7010835a
AB
61842018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6185 Richard Bunt <Richard.Bunt@arm.com>
6186
6187 * gdb.threads/attach-slow-waitpid.c: New file.
6188 * gdb.threads/attach-slow-waitpid.exp: New file.
6189 * gdb.threads/slow-waitpid.c: New file.
6190
14897d65
PA
61912018-06-14 Pedro Alves <palves@redhat.com>
6192
6193 * gdb.base/fork-running-state.c: Include <errno.h>.
6194 (exit_if_relative_exits): New.
6195 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6196 exits.
6197 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6198 child exits.
6199
5d9a0608
TV
62002018-06-14 Tom de Vries <tdevries@suse.de>
6201
6202 PR cli/22573
6203 * gdb.base/finish-pretty.c: New test.
6204 * gdb.base/finish-pretty.exp: New file.
6205
11ae5818
PA
62062018-06-14 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6209 gdb's expected startup output.
6210
1d39de44
PA
62112018-06-14 Pedro Alves <palves@redhat.com>
6212
6213 * lib/selftest-support.exp (selftest_setup): Remove inlined
6214 function handling.
6215
70ee0000
TV
62162018-06-14 Tom de Vries <tdevries@suse.de>
6217
6218 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6219 matching of breakpoint printing.
6220
11f4b608
TV
62212018-06-13 Tom de Vries <tdevries@suse.de>
6222
6223 PR testsuite/23269
6224 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6225 (fork_child): ... here, and ...
6226 (fork_parent): ... here.
6227
62282018-06-12 Tom de Vries <tdevries@suse.de>
6229
6230 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6231
9516f85a
AB
62322018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6233 Stephen Roberts <stephen.roberts@arm.com>
6234
6235 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6236 rewrite test to describe action performed, rather than possible
6237 failure.
6238
5045b3d7
GB
62392018-06-08 Gary Benson <gbenson@redhat.com>
6240
6241 * gdb.threads/check-libthread-db.exp: New file.
6242 * gdb.threads/check-libthread-db.c: Likewise.
6243
c61b06a1
TT
62442018-06-05 Tom Tromey <tom@tromey.com>
6245
6246 * gdb.base/default.exp: Update expected "show version" output.
6247
eb6af809
TT
62482018-06-05 Tom Tromey <tom@tromey.com>
6249
6250 PR cli/12326:
6251 * gdb.cp/static-print-quit.exp: Update.
6252 * lib/gdb.exp (pagination_prompt): Update.
6253 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6254 * gdb.python/python.exp: Update.
6255
178d6a63
JB
62562018-06-04 Joel Brobecker <brobecker@adacore.com>
6257
6258 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6259
8e817061
JB
62602018-06-01 Joel Brobecker <brobecker@adacore.com>
6261
6262 * gdb.ada/bp_fun_addr: New testcase.
6263
e86ca25f
TT
62642018-06-01 Tom Tromey <tom@tromey.com>
6265
6266 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6267 results.
6268 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6269 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6270 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6271 * gdb.base/maint.exp (maint_pass_if): Update.
6272
4b2dfa9d
MR
62732018-05-31 Maciej W. Rozycki <macro@mips.com>
6274
6275 * gdb.base/endian.exp: New test.
6276 * gdb.base/endian.c: New test source.
6277
45f25d6c
AB
62782018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6279
6280 PR gdb/23203
6281 * gdb.base/bt-selected-frame.c: New file.
6282 * gdb.base/bt-selected-frame.exp: New file.
6283 * lib/gdb.exp (get_current_frame_number): New function.
6284
d9f6d7f8
MR
62852018-05-24 Maciej W. Rozycki <macro@mips.com>
6286 Pedro Alves <palves@redhat.com>
6287
6288 * gdb.threads/tls-core.c: Include <stdlib.h>
6289 (thread_proc): Call `abort'.
6290 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6291 (tls_core_test): New procedure, bits factored out from ...
6292 (top level): ... here. Test both native cores and gcore cores.
6293
ff1cf532
TT
62942018-05-23 Tom Tromey <tom@tromey.com>
6295
6296 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6297
b98664d3
TT
62982018-05-23 Tom Tromey <tom@tromey.com>
6299
6300 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6301 symfile_complaints.
6302 (test_short_complaints): Likewise.
6303 (test_empty_complaints): Likewise.
6304 (test_initial_complaints): Update.
6305
4e9668d0
TT
63062018-05-23 Tom Tromey <tom@tromey.com>
6307
6308 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6309
43ba33c7
TT
63102018-05-23 Tom Tromey <tom@tromey.com>
6311
6312 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6313 (test_short_complaints): Update.
6314
035522c0
PA
63152018-05-22 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.base/remote.exp: Only gdb_start after compiling the
6318 testcase. Issue "disconnect" before testing "set remote" command
6319 defaults. Issue clean_restart before running to main.
6320
cc0be08f
PA
63212018-05-22 Pedro Alves <palves@redhat.com>
6322
6323 * gdb.base/remote.exp: Adjust expected output of "show remote
6324 memory-write-packet-size". Add tests for "set remote
6325 memory-write-packet-size 0" and "set remote
6326 memory-write-packet-size fixed/limit".
6327
b1b60145
PA
63282018-05-22 Pedro Alves <palves@redhat.com>
6329
6330 PR gdb/22973
6331 * gdb.base/utf8-identifiers.c: New file.
6332 * gdb.base/utf8-identifiers.exp: New file.
6333
0ec848ad
PFC
63342018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6335
6336 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6337
2c3305f6
PFC
63382018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6339
6340 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6341
ce1e8424
TT
63422018-05-18 Tom Tromey <tom@tromey.com>
6343
6344 * gdb.base/ptype-offsets.exp: Update.
6345
ddfe970e
KS
63462018-05-17 Keith Seitz <keiths@redhat.com>
6347
6348 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6349 in expected breakpoint stop locations.
6350 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6351 move to proper scope to test variable values.
6352 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6353 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6354 New functions.
6355 (main): Call not_inline_func3.
6356 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6357 inline_func1, inline_func2, and inline_func3. Test that when each
6358 breakpoint is hit, GDB properly reports both the stop location
6359 and the backtrace. Repeat tests for temporary breakpoints.
6360
0726fcc6
MR
63612018-05-15 Maciej W. Rozycki <macro@mips.com>
6362
6363 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6364 rather then trying to access it in determining whether the PID
6365 of `gdbserver' could have been retrieved.
6366
8ee22052
AB
63672018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6368
6369 * gdb.arch/amd64-init-x87-values.S: New file.
6370 * gdb.arch/amd64-init-x87-values.exp: New file.
6371
7785df48
JK
63722018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6373
6374 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6375
56bcdbea
TT
63762018-05-04 Tom Tromey <tom@tromey.com>
6377
6378 PR python/22730:
6379 * gdb.python/python.exp: Test multi-line execute.
6380
a913fffb
TT
63812018-05-04 Tom Tromey <tom@tromey.com>
6382
6383 PR python/22731:
6384 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6385
7a2c85f2
TT
63862018-05-04 Tom Tromey <tom@tromey.com>
6387
6388 PR gdb/11750:
6389 * gdb.base/define.exp: Test defining a user command inside a user
6390 command.
6391 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6392
a3b60e45
JK
63932018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6394 Pedro Alves <palves@redhat.com>
6395
6396 PR breakpoints/19806 and support for PR external/20207.
6397 * gdb.base/watchpoint-unaligned.c: New file.
6398 * gdb.base/watchpoint-unaligned.exp: New file.
6399
45fe4a03
AB
64002018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6401
6402 * gdb.base/maint.exp: Make test names unique, use
6403 test_prefix_command_help to test 'help maint info', and remove
6404 repeated test of 'help maint'.
6405
9be2ae8f
TT
64062018-05-04 Tom Tromey <tom@tromey.com>
6407
6408 PR gdb/22619:
6409 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6410 behavior.
6411
11859c31
AB
64122018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6413
6414 * gdb.base/maint.exp: Process output from 'maint print registers'
6415 line at a time.
6416
089a9490
AB
64172018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6418
6419 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6420 timeout.
6421
9b0797e2
AB
64222018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6423
6424 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6425 filter pattern.
6426
f6ac5f3d
PA
64272018-05-02 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6430 to_log_command renames.
6431 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6432
77d3c63b
TT
64332018-05-02 Tom Tromey <tom@tromey.com>
6434
6435 * gdb.python/py-parameter.exp: Set test message.
6436
0489430a
TT
64372018-05-02 Tom Tromey <tom@tromey.com>
6438
6439 PR python/20084:
6440 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6441 PARAM_ZUINTEGER_UNLIMITED tests.
6442
1632f8ba
DR
64432018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6444
6445 PR rust/23124
6446 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6447 when casting.
6448
6d7bb824
TT
64492018-04-30 Tom Tromey <tom@tromey.com>
6450
6451 * gdb.python/py-type.exp: Check align attribute.
6452 * gdb.python/py-type.c: New "aligncheck" global.
6453
007e1530
TT
64542018-04-30 Tom Tromey <tom@tromey.com>
6455
6456 PR exp/17095:
6457 * gdb.dwarf2/dw2-align.exp: New file.
6458 * gdb.cp/align.exp: New file.
6459 * gdb.base/align.exp: New file.
6460 * lib/gdb.exp (gdb_int128_helper): New proc.
6461 (has_int128_c, has_int128_cxx): New caching procs.
6462
6873858b
TT
64632018-04-27 Tom Tromey <tom@tromey.com>
6464
6465 PR rust/22545:
6466 * gdb.rust/simple.exp: Add inclusive range tests.
6467
79188d8d
PA
64682018-04-26 Pedro Alves <palves@redhat.com>
6469
6470 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6471 ifunc breakpoint locations correctly of ifunc breakpoints set
6472 while the program resolves the ifunc.
6473
c7075ad5
PA
64742018-04-26 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.base/gnu-ifunc-final.c: New file.
6477 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6478 * gdb.base/gnu-ifunc.exp (executable): Delete.
6479 (staticexecutable): Adjust.
6480 (lib_opts, exec_opts): Delete.
6481 (make_binsuffix, build, set-break): New procedures.
6482 (misc_tests): New, with tests factored out from the top level.
6483 (top level): Test different combinations of ifunc resolver name,
6484 resolver with and with debug info, and ifunc target with and
6485 without debug info. Wrap static tests with with_target_prefix.
6486
8388016d
PA
64872018-04-26 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6490 return type" warnings.
6491
249b5733
PA
64922018-04-25 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6495 killed".
6496 * gdb.base/kill-after-signal.exp: Likewise.
6497 * gdb.threads/kill.exp: Likewise.
6498
f67c0c91
SDJ
64992018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6500 Sergio Durigan Junior <sergiodj@redhat.com>
6501 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6504 regexps to expect for '[Inferior ... detached]' as well.
6505 * gdb.base/attach.exp: Likewise.
6506 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6507 "gdb_continue_to_end".
6508 (test_catch_syscall_with_wrong_args): Likewise.
6509 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6510 ']'. Don't set 'verbose' on.
6511 * gdb.base/foll-vfork.exp: Likewise.
6512 * gdb.base/fork-print-inferior-events.c: New file.
6513 * gdb.base/fork-print-inferior-events.exp: New file.
6514 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6515 '[Inferior ... has been killed]' message.
6516 * gdb.base/kill-after-signal.exp: Likewise.
6517 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6518 detach message.
6519 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6520 message.
6521 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6522 regexps to expect for '[Inferior ... detached]' as well.
6523 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6524
0a8ddac4
SM
65252018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6526
6527 PR gdb/23104
6528 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6529
701adfb0
PA
65302018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6531
6532 PR gdb/23095
6533 * gdb.base/break-probes.exp: Pass shlib_load to
6534 prepare_for_testing. Set normal_bp to r_debug_state if target is
6535 bsd.
6536
d27d16bf
RB
65372018-04-19 Richard Bunt <richard.bunt@arm.com>
6538
6539 * gdb.threads/multiple-successive-infcall.c: New test.
6540 * gdb.threads/multiple-successive-infcall.exp: New file.
6541
a037790e
TT
65422018-04-17 Tom Tromey <tom@tromey.com>
6543
6544 * gdb.rust/simple.rs (Union): New type.
6545 (main): New local "u".
6546 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6547
e3a91079
AA
65482018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6549
6550 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6551 number information in output of "whereis" command.
6552 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6553
b744723f
AA
65542018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6555
6556 * gdb.ada/info_types.exp: Adjust expected output to the line
6557 numbers now printed by "info var/func/type".
6558 * gdb.base/completion.exp: Likewise.
6559 * gdb.base/included.exp: Likewise.
6560 * gdb.cp/cp-relocate.exp: Likewise.
6561 * gdb.cp/cplusfuncs.exp: Likewise.
6562 * gdb.cp/namespace.exp: Likewise.
6563 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6564
4a4495d6
MM
65652018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6566
6567 * gdb.btrace/cpu.exp: New.
6568
1d509aa6
MM
65692018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6570
6571 * gdb.base/step-indirect-call-thunk.exp: New.
6572 * gdb.base/step-indirect-call-thunk.c: New.
6573 * gdb.reverse/step-indirect-call-thunk.exp: New.
6574 * gdb.reverse/step-indirect-call-thunk.c: New.
6575
6295b6da
SM
65762018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6577
6578 * gdb.base/pie-fork.c: New file.
6579 * gdb.base/pie-fork.exp: New file.
6580
50146e70
TT
65812018-04-11 Tom Tromey <tom@tromey.com>
6582
6583 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6584
f50d8a2e
PA
65852018-04-10 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6588 exits. Instead loop running forever.
6589 (fork_parent): Run forever too.
6590
a0be7a36
SM
65912018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6592
6593 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6594 mi_continue_to_line.
6595 * gdb.mi/mi-stack.c (callee4): Add comment.
6596
9b73db36
SM
65972018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6598
6599 * gdb.mi/mi-stack.exp: Fix indentation.
6600
c912f608
SM
66012018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6602
6603 PR gdb/22979
6604 * gdb.arch/amd64-osabi.exp: New file.
6605
26540402
SM
66062018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6607
6608 PR gdb/22980
6609 * gdb.base/osabi.exp: New file.
6610
121ad66c 66112018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6612
6613 * gdb.cp/static-typedef-print.exp: New file.
6614 * gdb.cp/static-typedef-print.cc: New file.
6615
3fcded8f
JB
66162018-03-27 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.ada/varsize_limit: New testcase.
6619
59cc4834
JB
66202018-03-27 Joel Brobecker <brobecker@adacore.com>
6621
6622 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6623
6624 * gdb.ada/notcplusplus: New testcase.
6625
6626 * gdb.base/c-linkage-name.c: New file.
6627 * gdb.base/c-linkage-name.exp: New testcase.
6628
4ca59a9f
TT
66292018-03-26 Tom Tromey <tom@tromey.com>
6630
6631 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6632 * gdb.python/py-framefilter.py (name_error): New global.
6633 (ErrorInName.function): Use name_error.
6634
978d6c75
TT
66352018-03-26 Tom Tromey <tom@tromey.com>
6636
6637 PR backtrace/15582:
6638 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6639
b7fee5a3
KS
66402018-03-23 Keith Seitz <keiths@redhat.com>
6641
6642 PR c++/22968
6643 * gdb.cp/subtypes.exp: New file.
6644 * gdb.cp/subtypes.h: New file.
6645 * gdb.cp/subtypes.cc: New file.
6646 * gdb.cp/subtypes-2.cc: New file.
6647
376be529
AB
66482018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6651 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6652 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6653 -nostartfiles when compiling the test. Confirm that all registers
6654 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6655
066cfa98
AB
66562018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6657
6658 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6659 option, syntax was wrong anyway.
6660 * gdb.arch/arm-disp-step.exp: Likewise.
6661 * gdb.arch/sparc64-regs.exp: Likewise.
6662 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6663 option, syntax was wrong anyway, switch to use
6664 prepare_for_testing.
6665 * gdb.arch/i386-disp-step.exp: Likewise.
6666
079670b9
AA
66672018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6668
6669 * gdb.ada/exec_changed.exp: Replace "target_info exists
6670 use_gdb_stub" by "use_gdb_stub".
6671 * gdb.ada/start.exp: Likewise.
6672 * gdb.base/async-shell.exp: Likewise.
6673 * gdb.base/attach-pie-misread.exp: Likewise.
6674 * gdb.base/attach-wait-input.exp: Likewise.
6675 * gdb.base/break-entry.exp: Likewise.
6676 * gdb.base/break-interp.exp: Likewise.
6677 * gdb.base/dprintf-detach.exp: Likewise.
6678 * gdb.base/nostdlib.exp: Likewise.
6679 * gdb.base/solib-nodir.exp: Likewise.
6680 * gdb.base/statistics.exp: Likewise.
6681 * gdb.base/testenv.exp: Likewise.
6682 * gdb.mi/mi-exec-run.exp: Likewise.
6683 * gdb.mi/mi-start.exp: Likewise.
6684 * gdb.multi/dummy-frame-restore.exp: Likewise.
6685 * gdb.multi/multi-arch-exec.exp: Likewise.
6686 * gdb.multi/multi-arch.exp: Likewise.
6687 * gdb.multi/tids.exp: Likewise.
6688 * gdb.multi/watchpoint-multi.exp: Likewise.
6689 * gdb.python/py-events.exp: Likewise.
6690 * gdb.threads/attach-into-signal.exp: Likewise.
6691 * gdb.threads/attach-stopped.exp: Likewise.
6692 * gdb.threads/threadapply.exp: Likewise.
6693 * lib/selftest-support.exp: Likewise.
6694
26d6cec4
AA
66952018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6696
6697 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6698
4ee89e90
SR
66992018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6700
6701 * gdb.perf/template-breakpoints.cc: New file.
6702 * gdb.perf/template-breakpoints.exp: New file.
6703 * gdb.perf/template-breakpoints.py: New file.
6704
92630041
TT
67052018-03-19 Tom Tromey <tom@tromey.com>
6706
6707 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6708 y0.
6709 * gdb.rust/simple.exp: Test bare identifier form of struct
6710 initializer.
6711
76727919
TT
67122018-03-19 Tom Tromey <tom@tromey.com>
6713
6714 * gdb.gdb/observer.exp: Remove.
6715
194ed413
AA
67162018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6717
6718 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6719 "qualified" option when setting breakpoints.
6720 * gdb.trace/backtrace.exp: Likewise.
6721 * gdb.trace/circ.exp: Likewise.
6722 * gdb.trace/collection.exp: Likewise.
6723 * gdb.trace/disconnected-tracing.exp: Likewise.
6724 * gdb.trace/ftrace-lock.exp: Likewise.
6725 * gdb.trace/ftrace.exp: Likewise.
6726 * gdb.trace/infotrace.exp: Likewise.
6727 * gdb.trace/packetlen.exp: Likewise.
6728 * gdb.trace/passc-dyn.exp: Likewise.
6729 * gdb.trace/qtro.exp: Likewise.
6730 * gdb.trace/read-memory.exp: Likewise.
6731 * gdb.trace/report.exp: Likewise.
6732 * gdb.trace/signal.exp: Likewise.
6733 * gdb.trace/status-stop.exp: Likewise.
6734 * gdb.trace/strace.exp: Likewise.
6735 * gdb.trace/tfind.exp: Likewise.
6736 * gdb.trace/trace-break.exp: Likewise.
6737 * gdb.trace/trace-condition.exp: Likewise.
6738 * gdb.trace/trace-mt.exp: Likewise.
6739 * gdb.trace/tstatus.exp: Likewise.
6740 * gdb.trace/tsv.exp: Likewise.
6741 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6742 * gdb.trace/unavailable.exp: Likewise.
6743 * gdb.trace/while-dyn.exp: Likewise.
6744
8b067d2c
AA
67452018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6746
6747 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6748 that libinproctrace is copied to the target.
6749
3ae9ce5d
TT
67502018-03-14 Tom Tromey <tom@tromey.com>
6751
6752 PR cli/14977:
6753 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6754 a null pointer.
6755 * gdb.base/wchar.exp: Likewise.
6756
b8c2339b
TT
67572018-03-14 Tom Tromey <tom@tromey.com>
6758
6759 PR cli/19918:
6760 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6761 flag.
6762
4872dc46
SM
67632018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6764
6765 PR gdb/22841
6766 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6767 "target" to remote_exec.
6768
e4fe3756
SM
67692018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6770
6771 PR gdb/22841
6772 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6773 ${board}_upload): Remove.
6774
e95a97d4
AA
67752018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6776
6777 * gdb.cp/watch-cp.cc: New test.
6778 * gdb.cp/watch-cp.exp: New file.
6779
dbbb1059
AB
67802018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6781
6782 * gdb.base/infcall-nested-structs.exp: New file.
6783 * gdb.base/infcall-nested-structs.c: New file.
6784 * gdb.base/float.exp: Add riscv support.
6785
ecc054c0
TP
67862018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6787
6788 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6789 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6790
25e3c82c
SDJ
67912018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6792
6793 * gdb.server/abspath.exp: New file.
6794 * lib/gdb.exp (with_cwd): New procedure.
6795
3083294d
SM
67962018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6797
6798 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6799 use it.
6800 (gdb_is_target_remote_prompt): New proc.
6801 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6802 (gdb_is_target_native): Pass prompt parameter to
6803 gdb_is_target_1.
6804
3275ef47
SM
68052018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6806
6807 * gdb.base/load-command.c: New file.
6808 * gdb.base/load-command.exp: New file.
6809 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6810 (gdb_is_target_1): ...this, and generalize for other targets
6811 than just remote.
6812 (gdb_is_target_remote): Use gdb_is_target_1.
6813 (gdb_is_target_native): use gdb_is_target_1.
6814
6893c19a
TT
68152018-02-26 Tom Tromey <tom@tromey.com>
6816
6817 PR python/16497:
6818 * gdb.python/py-framefilter.exp: Update test.
6819
2ddeaf8a
TT
68202018-02-26 Tom Tromey <tom@tromey.com>
6821
6822 * gdb.dwarf2/variant.c: New file.
6823 * gdb.dwarf2/variant.exp: New file.
6824
c9317f21
TT
68252018-02-26 Tom Tromey <tom@tromey.com>
6826
6827 * gdb.rust/simple.exp: Accept more possible results in enum test.
6828
6f6d0c26
SM
68292018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6830
6831 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6832 parentheses.
6833
11b03145
MR
68342018-02-23 Maciej W. Rozycki <macro@mips.com>
6835
6836 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6837 name of a variable: $actual_linejj -> $actual_line.
6838
54a27fe5
JB
68392018-02-21 John Baldwin <jhb@FreeBSD.org>
6840
6841 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6842
de65820c
MM
68432018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6844
6845 * gdb.btrace/buffer-size.exp: Do not force BTS.
6846
980548fd
PA
68472018-02-14 Pedro Alves <palves@redhat.com>
6848
6849 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6850 getting a "Quit".
6851
c4e12631
MM
68522018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6853
6854 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6855 Fix test name.
6856
c2e0e465
SM
68572018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6858
6859 * gdb.cp/m-static.exp: Check type of optimized out static
6860 member.
6861
f7216783
AB
68622018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6863
6864 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6865 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6866
0625771b
LS
68672018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6868 Leszek Swirski <leszeks@google.com>
6869
6870 * gdb.python/py-prettyprint.c
6871 (struct to_string_returns_value_inner,
6872 struct to_string_returns_value_wrapper): New.
6873 (main): Add tsrvw variable.
6874 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6875 ToStringReturnsValueWrapper): New classes.
6876 (register_pretty_printers): Register new pretty-printers.
6877 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6878 recursive pretty printer.
6879 * gdb.python/py-mi.exp: Likewise.
6880
59498c30
LS
68812018-02-01 Leszek Swirski <leszeks@google.com>
6882
6883 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6884 functions with the same name as an include file are parsed
6885 correctly.
6886
d4d38844
YQ
68872018-02-01 Yao Qi <yao.qi@linaro.org>
6888
6889 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6890 "\[^\r\n\]*".
6891
07e5f5cf
NP
68922018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6893
6894 * gdb.arch/powerpc-prologue-frame.s: New file.
6895 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6896 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6897
929b5ad4
JB
68982018-01-31 Joel Brobecker <brobecker@adacore.com>
6899
6900 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6901
e671cd59
PA
69022018-01-30 Pedro Alves <palves@redhat.com>
6903
6904 PR gdb/13211
6905 * gdb.base/interrupt-daemon.c: New.
6906 * gdb.base/interrupt-daemon.exp: New.
6907 * gdb.multi/multi-term-settings.c: New.
6908 * gdb.multi/multi-term-settings.exp: New.
6909
fc413dc4
JB
69102018-01-30 Joel Brobecker <brobecker@adacore.com>
6911
6912 * gdb.base/break.exp: Save the location where the breakpoint
6913 on break.c:47 was actually inserted when debugging the version
6914 compiled at -O2 and use it in the expected output of the "info
6915 break" test performed soon after.
6916
5c319bb2
PA
69172018-01-22 Pedro Alves <palves@redhat.com>
6918 Sergio Durigan Junior <sergiodj@redhat.com>
6919
6920 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6921 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6922
a9e40818
JB
69232018-01-22 Joel Brobecker <brobecker@adacore.com>
6924
6925 * gdb.base/break-include.c, gdb.base/break-include.inc,
6926 gdb.base/break-include.exp: New files.
6927 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6928 line number now being the actual line number where the breakpoint
6929 was inserted.
6930 * gdb.mi/mi-break.exp: Likewise.
6931 * gdb.mi/mi-reverse.exp: Likewise.
6932 * gdb.mi/mi-simplerun.exp: Ditto.
6933
e707fc44
AB
69342018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6935
6936 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6937 varobj.
6938 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6939
ae451627
AB
69402018-01-21 Don Breazeal <donb@codesourcery.com>
6941 Andrew Burgess <andrew.burgess@embecosm.com>
6942
6943 * gdb.mi/basics.c: Add new global.
6944 * gdb.mi/mi-frame-regs.exp: New file.
6945 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6946 case.
6947
b1b189e0
AB
69482018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6949
6950 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6951 non-parameter, and on an unknown symbol.
6952
fcfcc376
TT
69532018-01-19 Tom Tromey <tom@tromey.com>
6954
6955 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6956 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6957
634c1c31
AA
69582018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6959
6960 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6961 setrlimit and chdir to int.
6962
d6ad07fd
AA
69632018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6964
6965 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6966 function.
6967 (my_tend): Likewise.
6968 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6969 rationale of avoiding FP- and vector instructions.
6970
adf8243b
RK
69712018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6972
6973 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6974 "info reg" with "\[ \t\]*".
6975 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6976 "\[ \t\]+".
6977 * gdb.arch/s390-multiarch.exp: Ditto.
6978 * gdb.base/pc-fp.exp: Ditto.
6979 * gdb.reverse/i386-precsave.exp: Ditto.
6980 * gdb.reverse/i386-reverse.exp: Ditto.
6981 * gdb.reverse/i387-env-reverse.exp: Ditto.
6982 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6983
dcc06925
AA
69842018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6985
6986 * lib/gdb.exp (gdb_compile): Re-enable use of
6987 universal_compile_options for languages other than Rust.
6988
25d4fd80
AA
69892018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6990
6991 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6992
ee7f689e 69932018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6994
6995 PR gdb/16577
6996 * gdb.base/solib-vanish.exp: New.
6997 * gdb.base/solib-vanish-main.c: New.
6998 * gdb.base/solib-vanish-lib1.c: New.
6999 * gdb.base/solib-vanish-lib2.c: New.
7000
d8447b6b
YQ
70012018-01-17 Yao Qi <yao.qi@linaro.org>
7002
7003 * gdb.compile/compile.exp: Match the address printed for
7004 frame in the output of command "bt".
7005
86d6a90c
TT
70062018-01-15 Tom Tromey <tom@tromey.com>
7007
7008 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7009 compute sp_reg.
7010
cbcdb1aa
AB
70112018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7012
7013 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7014 to prepare.
7015 (prepare): Return 0 on error, 1 on success.
7016
eea61984
PA
70172018-01-12 Pedro Alves <palves@redhat.com>
7018
7019 * gdb.base/continue-after-aborted-step-over.c: New.
7020 * gdb.base/continue-after-aborted-step-over.exp: New.
7021
6181e9c2
SM
70222018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7023
7024 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7025 options when not creating an executable.
7026
3cada740
PA
70272018-01-11 Pedro Alves <palves@redhat.com>
7028
7029 PR remote/22597
7030 * gdb.server/stop-reply-no-thread.c: New file.
7031 * gdb.server/stop-reply-no-thread.exp: New file.
7032
c63d3e8d
PA
70332018-01-10 Pedro Alves <palves@redhat.com>
7034
7035 PR gdb/22670
7036 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7037 functions too. Test setting breakpoints and printing C functions
7038 with no debug info too.
7039 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7040
d4c2a405
PA
70412018-01-10 Pedro Alves <palves@redhat.com>
7042
7043 PR gdb/22670
7044 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7045 a fail.
7046
8825213e
PA
70472018-01-10 Pedro Alves <palves@redhat.com>
7048
7049 PR gdb/22670
7050 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7051
605fd3c6
YQ
70522018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7053
7054 * gdb.server/unittest.exp: Match the output in non-development
7055 mode.
7056
1e5ded6c
YQ
70572018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7058
7059 * gdb.gdb/unittest.exp: Match output in non-development mode.
7060
30066b0b
JB
70612018-01-08 Joel Brobecker <brobecker@adacore.com>
7062
7063 * gdb.ada/access_tagged_param.exp: Relax expected output
7064 for value of "ObjL" in "continue" to pck.inspect breakpoint
7065 test.
7066
04bafb1e
XR
70672018-01-08 Joel Brobecker <brobecker@adacore.com>
7068
9f86398b
JB
7069 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7070 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 7071
e379cee6
PA
70722018-01-05 Pedro Alves <palves@redhat.com>
7073
7074 PR gdb/18653
7075 * gdb.base/libsegfault.exp: New.
7076
de63c46b
PA
70772018-01-05 Joel Brobecker <brobecker@adacore.com>
7078
7079 PR gdb/22670
7080 * gdb.ada/access_tagged_param.exp: New file.
7081 * gdb.ada/access_tagged_param/foo.adb: New file.
7082
f98fc17b
PA
70832018-01-05 Pedro Alves <palves@redhat.com>
7084
7085 PR gdb/22670
7086 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7087 exercise lower case too, and to exercise both full matching and
7088 wild matching.
7089
342f8240
JB
70902018-01-05 Joel Brobecker <brobecker@adacore.com>
7091
7092 * gdb.ada/rename_subscript_param: New testcase.
7093
7150d33c
JG
70942018-01-05 Jerome Guitton <guitton@adacore.com>
7095
7096 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7097
cc0e770c
JB
70982018-01-05 Joel Brobecker <brobecker@adacore.com>
7099
7100 * gdb.ada/convvar_comp: New testcase.
7101
672a41aa 71022018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
7103
7104 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7105 (My_Table): New global variable.
7106 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7107
7365ec2f
JB
71082018-01-04 Joel Brobecker <brobecker@adacore.com>
7109
7110 PR gdb/22670
7111 * gdb.ada/maint_with_ada: New testcase.
7112
289483b6
JB
71132018-01-04 Joel Brobecker <brobecker@adacore.com>
7114
7115 PR gdb/22670
7116 * gdb.ada/bp_c_mixed_case: New testcase.
7117
344420da
JB
71182018-01-04 Joel Brobecker <brobecker@adacore.com>
7119
7120 PR gdb/22670
7121 * gdb.ada/complete.exp: Add "complete break ada" test.
7122
66fc87a0
JB
71232018-01-04 Joel Brobecker <brobecker@adacore.com>
7124
7125 PR gdb/22670
7126 * gdb.ada/info_addr_mixed_case: New testcase.
7127
9f757bf7
XR
71282018-01-03 Xavier Roirand <roirand@adacore.com>
7129
7130 * gdb.ada/excep_handle.exp: New testcase.
7131 * gdb.ada/excep_handle/foo.adb: New file.
7132 * gdb.ada/excep_handle/pck.ads: New file.
7133
bd570f80
JB
71342018-01-03 Joel Brobecker <brobecker@adacore.com>
7135
7136 * gdb.base/step-line.c: Add extra empty line in copyright header.
7137 * gdb.base/step-line.inp: Likewise.
7138
9fe561ab
JB
71392018-01-02 Joel Brobecker <brobecker@adacore.com>
7140
7141 * gdb.ada/dyn_stride.exp: Add slice test.
7142
a405673c
JB
71432018-01-02 Joel Brobecker <brobecker@adacore.com>
7144
7145 * gdb.ada/dyn_stride: New testcase.
7146
cef0f868
SH
71472017-12-27 Stafford Horne <shorne@gmail.com>
7148
7149 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7150 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7151
b67d92b0
SH
71522017-12-27 Stafford Horne <shorne@gmail.com>
7153
7154 * gdb.base/reggroups.c: New file.
7155 * gdb.base/reggroups.exp: New file.
7156
eccab96d
JB
71572017-12-18 Joel Brobecker <brobecker@adacore.com>
7158
7159 * gdb.dwarf2/ada-valprint-error.c: New file.
7160 * gdb.dwarf2/ada-valprint-error.exp: New file.
7161
0e2da9f0
JB
71622017-12-18 Joel Brobecker <brobecker@adacore.com>
7163
7164 * gdb.ada/assign_arr: New testcase.
7165
cb923fcc
XR
71662017-12-18 Xavier Roirand <roirand@adacore.com>
7167
7168 * gdb.ada/funcall_ptr: New testcase.
7169
7c161838
SDJ
71702017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7171
7172 PR cli/16224
7173 * gdb.base/ptype-offsets.cc: New file.
7174 * gdb.base/ptype-offsets.exp: New file.
7175
1af17fd9
YQ
71762017-12-15 Yao Qi <yao.qi@linaro.org>
7177
7178 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7179 if XML is disabled.
7180
828d5846
XR
71812017-12-15 Xavier Roirand <roirand@adacore.com>
7182
7183 * gdb.ada/same_component_name: New testcase.
7184
79e8fcaa
JB
71852017-12-14 Joel Brobecker <brobecker@adacore.com>
7186
7187 * gdb.ada/str_binop_equal: New testcase.
7188
e05fa6f9
JB
71892017-12-14 Joel Brobecker <brobecker@adacore.com>
7190
7191 * gdb.ada/task_switch_in_core: New testcase.
7192
b89641ba
SM
71932017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7194
7195 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7196 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7197 call test_bkpt_qualified.
7198 (test_bkpt_qualified): New proc.
7199
6892d2e4
PA
72002017-12-13 Pedro Alves <palves@redhat.com>
7201
7202 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7203 Tighten regexp by matching with an anchor.
7204
a22ecf70
PA
72052017-12-13 Pedro Alves <palves@redhat.com>
7206
7207 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7208 ("expression with namespace"): New set of tests.
7209 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7210 (Nested::Test_NS::qux): New.
7211 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7212 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7213
9937536c
JB
72142017-12-13 Joel Brobecker <brobecker@adacore.com>
7215
7216 * gdb.base/server-del-break.c: New file.
7217 * gdb.base/server-del-break.exp: New file.
7218
fe49c6f5
SH
72192017-12-12 Stafford Horne <shorne@gmail.com>
7220
7221 * gdb.xml/tdesc-regs.exp: Add or1k support.
7222
c3d18620
SH
72232017-12-12 Stafford Horne <shorne@gmail.com>
7224
7225 * gdb.base/bp-permanent.c: Define nop of or1k.
7226
c5f9cfc8
JB
72272017-12-11 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7230 output with components being reordered.
7231
a9c135fc
JB
72322017-12-11 Joel Brobecker <brobecker@adacore.com>
7233
7234 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7235 output with components being reordered.
7236
927aa2e7
JK
72372017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7238 Pedro Alves <palves@redhat.com>
7239
7240 * gdb.base/maint.exp (check for .gdb_index): Check also for
7241 .debug_names.
7242 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7243 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7244 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7245 (.gdb_index used after symbol reloading): Support also .debug_names.
7246 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7247
f17d9474
YQ
72482017-12-08 Yao Qi <yao.qi@linaro.org>
7249
7250 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7251 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7252
a0de8c21
YQ
72532017-12-08 Yao Qi <yao.qi@linaro.org>
7254
7255 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7256 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7257
a738ea1d
YQ
72582017-12-08 Yao Qi <yao.qi@linaro.org>
7259
7260 * gdb.arch/aarch64-tagged-pointer.c: New file.
7261 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7262
1cd9a73b
SDJ
72632017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7264
7265 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7266 "int".
7267
fa6eb693
KS
72682017-12-07 Keith Seitz <keiths@redhat.com>
7269
7270 PR breakpoints/22569
7271 * gdb.linespec/ls-errs.exp: Change expected result of "break
7272 -source this file has spaces.c -line 3".
7273 Check that an explicit source file followed by whitespace is
7274 identified as an invalid explicit location.
7275
883fd55a
KS
72762017-12-07 Keith Seitz <keiths@redhat.com>
7277
7278 * gdb.cp/nested-types.cc: New file.
7279 * gdb.cp/nested-types.exp: New file.
7280 * lib/cp-support.exp: Load data-structures.exp library.
7281 (debug_cp_test_ptype_class): New global.
7282 (cp_ptype_class_verbose, next_line): New procedures.
7283 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7284 Add and document new return value.
7285 Switch the list of lines to a queue.
7286 Add support for new `type' key for nested type definitions.
7287 Add debugging/troubleshooting messages.
7288 * lib/data-structures.exp: New file.
7289
ec72db3e
SM
72902017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7291
7292 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7293 with proc_with_prefix, don't use with_test_prefix.
7294
99598d71
TT
72952017-12-07 Tom Tromey <tom@tromey.com>
7296
7297 * gdb.base/break.exp: Add test for empty "commands".
7298
a8806230
YQ
72992017-12-07 Yao Qi <yao.qi@linaro.org>
7300
7301 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7302 malloc and catch syscall.
7303
824cc835
PM
73042017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7305
e79be6e5 7306 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
7307 tests for explicit locations.
7308
7cc244de
PA
73092017-12-06 Pedro Alves <palves@redhat.com>
7310
7311 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7312 force-disabling XML descriptions.
7313
50a1fdd5
PA
73142017-12-04 Pedro Alves <palves@redhat.com>
7315
7316 PR gdb/22499
7317 * gdb.arch/amd64-disp-step-avx.S: New file.
7318 * gdb.arch/amd64-disp-step-avx.exp: New file.
7319
f0fb2488
PA
73202017-12-03 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7323 and <string.h>.
7324 (parent_function): Print distinct messages when waitpid fails, or
7325 the child exits with a signal, or the child exits for an unhandled
7326 reason.
7327 * gdb.threads/process-dies-while-detaching.exp
7328 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7329 it. Wait for both inferior output and GDB's prompt. Use an
7330 indirect spawn id list.
7331 (do_detach): New parameter 'child_exit'. Use it to compute
7332 expected inferior output.
7333 (test_detach, test_detach_watch, test_detach_killed_outside):
7334 Adjust to pass down the expected child exit kind.
7335
97cbe998
SDJ
73362017-12-01 Joel Brobecker <brobecker@adacore.com>
7337 Sergio Durigan Junior <sergiodj@redhat.com>
7338 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7341
40fc416f
SDJ
73422017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7343
7344 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7345 to 'symbol-file' and 'add-symbol-file' can be
7346 position-independent.
7347
1cc75e92
YQ
73482017-12-01 Yao Qi <yao.qi@linaro.org>
7349
7350 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7351 the URL in copyright header.
7352 * gdb.arch/aarch64-fp.exp: Likewise.
7353 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7354 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7355 * gdb.base/expand-psymtabs.exp: Likewise.
7356 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7357 * gdb.fortran/common-block.exp: Likewise.
7358 * gdb.fortran/common-block.f90: Likewise.
7359 * gdb.fortran/logical.exp: Likewise.
7360 * gdb.fortran/vla-datatypes.f90: Likewise.
7361 * gdb.fortran/vla-sub.f90: Likewise.
7362
875fb7a7
JB
73632017-11-30 Joel Brobecker <brobecker@adacore.com>
7364
7365 * gdb.ada/repeat_dyn: New testcase.
7366
6f14765f
UW
73672017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7368
7369 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7370 Update for changed thread numbering.
7371 * gdb.cell/bt.exp: Update for changed GDB output.
7372
f1af7b94
SM
73732017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7374
7375 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7376 setting isremote by hand.
7377 * boards/dwarf4-gdb-index.exp: Likewise.
7378 * boards/fission.exp: Likewise.
7379 * boards/stabs.exp: Likewise.
7380
e3919f3e
PA
73812017-11-30 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.linespec/cpls-ops.exp
7384 (check_explicit_skips_function_argument): Extract the underlying
7385 type of size_t instead of hardcoding it.
7386
bd69330d
PA
73872017-11-29 Pedro Alves <palves@redhat.com>
7388
7389 PR c++/19436
7390 * gdb.linespec/cpls-abi-tag.cc: New file.
7391 * gdb.linespec/cpls-abi-tag.exp: New file.
7392
a20714ff
PA
73932017-11-29 Pedro Alves <palves@redhat.com>
7394
7395 * gdb.base/langs.exp: Use -qualified.
7396 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7397 it.
7398 * gdb.cp/namespace.exp: Use -qualified.
7399 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7400 (overload-3, template-overload, template-ret-type, const-overload)
7401 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7402 procedures.
7403 (test_driver): Call them.
7404 * gdb.cp/save-bp-qualified.cc: New.
7405 * gdb.cp/save-bp-qualified.exp: New.
7406 * gdb.linespec/explicit.exp: Test -qualified.
7407 * lib/completion-support.exp (completion::explicit_opts_list): Add
7408 "-qualified".
7409 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7410
f6f1d339
PM
74112017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7412
7413 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7414
02ca603a
TT
74152017-11-29 Tom Tromey <tom@tromey.com>
7416
7417 * gdb.base/relocate.exp: Update invalid argument test.
7418 Add new tests for invalid arguments.
7419
ed6c0bfb
TP
74202017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7421
7422 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7423 Return 0 as a long.
7424 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7425
f106e10e
TP
74262017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7427
7428 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7429 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7430 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7431 func ().
7432 * gdb.cp/shadow.cc (B.func): Return 0.
7433
10329bb2
JB
74342017-11-27 Joel Brobecker <brobecker@adacore.com>
7435
7436 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7437 expected output in gdb_expect call to allow the exception
7438 message to be present as well. Fix syntax confusion to avoid
7439 TCL thinking that exception_name is an array.
7440
617cd4bc
UW
74412017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7442
7443 * gdb.arch/spu-info.c: Include <unistd.h>.
7444 (do_signal_test): Fix broken calls to write.
7445 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7446 Fix checks for empty mailboxes. Update signal tests for corrected
7447 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7448 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7449 * gdb.cell/arch.exp: Use standard_output_file.
7450 * gdb.cell/break.exp: Likewise.
7451 * gdb.cell/bt.exp: Likewise.
7452 * gdb.cell/core.exp: Likewise.
7453 * gdb.cell/dwarfaddr.exp: Likewise.
7454 * gdb.cell/ea-cache.exp: Likewise.
7455 * gdb.cell/ea-standalone.exp: Likewise.
7456 * gdb.cell/f-regs.exp: Likewise.
7457 * gdb.cell/fork.exp: Likewise.
7458 * gdb.cell/gcore.exp: Likewise.
7459 * gdb.cell/mem-access.exp: Likewise.
7460 * gdb.cell/ptype.exp: Likewise.
7461 * gdb.cell/registers.exp: Likewise.
7462 * gdb.cell/sizeof.exp: Likewise.
7463 * gdb.cell/solib-symbol.exp: Likewise.
7464 * gdb.cell/solib.exp: Likewise.
617cd4bc 7465
a81aaca0
PA
74662017-11-25 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.base/complete-empty.exp: New file.
7469 * gdb.base/completion.exp: Adjust.
7470
6a3c6ee4
PA
74712017-11-25 Pedro Alves <palves@redhat.com>
7472
7473 * gdb.linespec/cpls-ops.cc: New file.
7474 * gdb.linespec/cpls-ops.exp: New file.
7475 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7476 factored out from ...
7477 (test_complete_prefix_range): ... this.
7478
8955eb2d
PA
74792017-11-24 Pedro Alves <palves@redhat.com>
7480
7481 * gdb.linespec/cpcompletion.exp: New file.
7482 * gdb.linespec/cpls-hyphen.cc: New file.
7483 * gdb.linespec/cpls.cc: New file.
7484 * gdb.linespec/cpls2.cc: New file.
7485 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7486 test to use test_gdb_complete_unique. Add label completion,
7487 keyword completion and explicit location completion tests.
7488 * lib/completion-support.exp: New file.
7489
e547c119
JB
74902017-11-24 Joel Brobecker <brobecker@adacore.com>
7491
7492 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7493 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7494 when hitting an exception catchpoint.
7495
7c3c1aa8
YQ
74962017-11-22 Yao Qi <yao.qi@linaro.org>
7497
7498 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7499
41bd68f5
SM
75002017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7501
7502 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7503 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7504 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7505
1daad298
YQ
75062017-11-22 Yao Qi <yao.qi@linaro.org>
7507
7508 * gdb.base/info-os.exp: Pass pthreads.
7509 * gdb.multi/multi-attach.exp: Likewise.
7510
88465e87
YQ
75112017-11-22 Yao Qi <yao.qi@linaro.org>
7512
7513 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7514 compiler.
7515
dc196b23
YQ
75162017-11-22 Yao Qi <yao.qi@linaro.org>
7517
7518 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7519 * gdb.base/break-interp.exp: Likewise.
7520 * gdb.base/jit-attach-pie.exp: Likewise.
7521
2400729e
UW
75222017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7523
7524 * gdb.base/float128.c (large128): New variable.
7525 * gdb.base/float128.exp: Add test to print largest __float128 value.
7526
7a26362d
UW
75272017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7528
7529 * gdb.arch/vsx-regs.exp: Update register content checks.
7530
ed0f4273
UW
75312017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7532
7533 * gdb.arch/ppc-longdouble.exp: New file.
7534 * gdb.arch/ppc-longdouble.c: Likewise.
7535
a25d69c6
PA
75362017-11-21 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7539
73fcf641
PA
75402017-11-20 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7543 (long_double_typedef): New typedefs.
7544 Use DEF on double and long double.
7545 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7546 cases.
7547 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7548 and 'long_double_ptr_same_size' locals. Use them to decide
7549 whether cast from array/function to float is valid/invalid.
7550
71a3c369
TT
75512017-11-17 Tom Tromey <tom@tromey.com>
7552
7553 * gdb.rust/traits.rs: New file.
7554 * gdb.rust/traits.exp: New file.
7555
ced9779b
JB
75562017-11-17 Joel Brobecker <brobecker@adacore.com>
7557
7558 * gdb.ada/minsyms: New testcase.
7559
a0922d80
PA
75602017-11-16 Pedro Alves <palves@redhat.com>
7561
7562 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7563 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7564
ea04e54c
PA
75652017-11-16 Pedro Alves <palves@redhat.com>
7566
7567 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7568 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7569
e849ea89
PA
75702017-11-16 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.server/reconnect-ctrl-c.c: New file.
7573 * gdb.server/reconnect-ctrl-c.exp: New file.
7574
d8ae99a7
PM
75752017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7576
7577 * gdb.python/py-rbreak.exp: New file.
7578 * gdb.python/py-rbreak.c: New file.
7579 * gdb.python/py-rbreak-func2.c: New file.
7580
968a13f8
PA
75812017-11-16 Pedro Alves <palves@redhat.com>
7582
7583 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7584 pattern.
7585 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7586 GDB.
7587
71774bc9
SM
75882017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7591 regex.
7592
ddbb44cf
SM
75932017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7594
7595 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7596 test names.
7597
584a564f
PA
75982017-11-09 Pedro Alves <palves@redhat.com>
7599
7600 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7601 factored out from ...
7602 (top level): ... here, and adjusted to avoid expecting beyond the
7603 prompt in a single gdb_test_multiple.
7604
5ed7a928
PA
76052017-11-09 Pedro Alves <palves@redhat.com>
7606
7607 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7608 output.
7609 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7610 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7611 * gdb.server/ext-run.exp ("kill" test): Likewise.
7612 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7613
a60e0738
PA
76142017-11-09 Pedro Alves <palves@redhat.com>
7615
7616 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7617 match till end of line.
7618
2c88253f
PA
76192017-11-09 Pedro Alves <palves@redhat.com>
7620
7621 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7622
c7a38517
PA
76232017-11-09 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7626 New procedures, factored out from ...
7627 (top level): ... here, and adjusted to avoid expecting beyond the
7628 prompt in one go.
7629
f29f4b6b
PA
76302017-11-09 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7633 output. Fix '?' match.
7634
286acbb5
JB
76352017-11-08 Joel Brobecker <brobecker@adacore.com>
7636
7637 * gdb.ada/scoped_watch: New testcase.
7638 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7639 which is actually correct.
7640 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7641 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7642
62d7ae92
PA
76432017-11-08 Pedro Alves <palves@redhat.com>
7644
7645 * gdb.gdb/complaints.exp (test_initial_complaints)
7646 (test_serial_complaints, test_short_complaints): Call
7647 complaint_internal instead of complaint.
7648
280ca31f
DT
76492017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7650
7651 * gdb.threads/tls-core.c: New file.
7652 * gdb.threads/tls-core.exp: Likewise.
7653
b5ec771e
PA
76542017-11-08 Pedro Alves <palves@redhat.com>
7655
7656 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7657 (p Exported_Capitalized): New test.
7658 (p exported_capitalized): New test.
7659
a02b41a7
PA
76602017-11-07 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7663
95e95a6d
PA
76642017-11-07 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7667 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7668 (disable_invalid, disable_inverted, disable_negative): New
7669 procedures.
7670 ("bad numbers"): New set of tests.
7671
cee62dbd
PA
76722017-11-07 Pedro Alves <palves@redhat.com>
7673
7674 * gdb.cp/ena-dis-br-range.exp: Add tests.
7675
cc638e86
PA
76762017-11-07 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7679
d0fe4701
XR
76802017-11-07 Xavier Roirand <roirand@adacore.com>
7681 Pedro Alves <palves@redhat.com>
7682
7683 * gdb.base/ena-dis-br.exp: Add reference to
7684 gdb.cp/ena-dis-br-range.exp.
7685 * gdb.cp/ena-dis-br-range.exp: New file.
7686 * gdb.cp/ena-dis-br-range.cc: New file.
7687
46f67f80
PA
76882017-11-06 Pedro Alves <palves@redhat.com>
7689
7690 * gdb.base/attach-non-pgrp-leader.c: New.
7691 * gdb.base/attach-non-pgrp-leader.exp: New.
7692
726e1356
PA
76932017-11-06 Pedro Alves <palves@redhat.com>
7694
7695 * configure.ac: No longer check for termio.h and sgtty.h.
7696 * configure: Regenerate.
7697 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7698 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7699 Remove termio and sgtty code.
7700
50ab6ace
YQ
77012017-11-03 Yao Qi <yao.qi@linaro.org>
7702
7703 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7704 in GDB is disabled.
7705
8e68731c
YQ
77062017-11-03 Yao Qi <yao.qi@linaro.org>
7707
7708 * gdb.python/py-thrhandle.exp: Skip it if python is not
7709 enabled.
7710
3a87ae65
SM
77112017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7712
7713 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7714 as a breakpoint command.
7715
484d8d36
MD
77162017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7717
7718 PR python/21213
7719 * gdb.python/py-infthread.exp: Test calling
7720 InferiorThread.inferior () multiple times in a row.
7721
4a27f119
KS
77222017-10-27 Keith Seitz <keiths@redhat.com>
7723
7724 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7725 Test "info break" for every inlined function breakpoint.
7726
bb11dd58
YQ
77272017-10-27 Yao Qi <yao.qi@linaro.org>
7728
7729 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7730
a43f3893
PF
77312017-10-26 Patrick Frants <osscontribute@gmail.com>
7732
7733 * gdb.cp/classes.exp (test_static_members): Test printing
7734 Outer::instance.
7735 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7736 (Inner::instance, Outer::instance): New.
7737
792ccf00
PA
77382017-10-24 Pedro Alves <palves@redhat.com>
7739
7740 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7741 extra console" test in two stages.
7742
eb2bfbad
PA
77432017-10-24 Pedro Alves <palves@redhat.com>
7744
7745 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7746
1f75a651
PA
77472017-10-24 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7750 loop.
7751
779990d9
PA
77522017-10-24 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7755 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7756
ad9b8f5d
PA
77572017-10-24 Pedro Alves <palves@redhat.com>
7758
7759 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7760 parameter and handle it. Don't output read value in test name.
7761
fee6da6e
PA
77622017-10-24 Pedro Alves <palves@redhat.com>
7763
7764 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7765 custom test name.
7766
10389c2c
PA
77672017-10-24 Pedro Alves <palves@redhat.com>
7768
7769 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7770 include the unstable output directory name in the test's name.
7771 (initial_setup_simple) <'set args'>: Use custom test name.
7772
a80e65a9
PA
77732017-10-24 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7776 with explicit test name.
7777
15763a09
PA
77782017-10-20 Pedro Alves <palves@redhat.com>
7779
7780 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7781 'wait -i'. Use gdb_assert and remote_close.
7782
49a4ce2e
AB
77832017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7784
7785 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7786 number from variable rather than hard-coded.
7787
a75868f5
PA
77882017-10-19 Pedro Alves <palves@redhat.com>
7789
7790 * gdb.base/long-inferior-output.c: New file.
7791 * gdb.base/long-inferior-output.exp: New file.
7792
c8ba13ad
KS
77932017-11-18 Keith Seitz <keiths@redhat.com>
7794
7795 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7796 method.
7797 (main): Call it.
7798 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7799 Add additional user-defined conversion operator tests.
7800
b27de576
PA
78012017-10-17 Pedro Alves <palves@redhat.com>
7802
7803 * boards/native-stdio-gdbserver.exp: Load "local-board".
7804
8484c955
PA
78052017-10-17 Pedro Alves <palves@redhat.com>
7806
7807 * gdb.base/quit-live.c: New file.
7808 * gdb.base/quit-live.exp: New file.
7809
83d5a34d
KS
78102017-10-16 Keith Seitz <keiths@redhat.com>
7811
7812 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7813 (class_with_protected_typedef, class_with_private_typedef)
7814 (struct_with_public_typedef, struct_with_protected_typedef)
7815 (struct_with_private_typedef): New classes/structs.
7816 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7817 typedefs and access specifiers.
7818
739b3f1d
PA
78192017-10-16 Pedro Alves <palves@redhat.com>
7820 Simon Marchi <simon.marchi@polymtl.ca>
7821
7822 * README (Local vs Remote vs Native): New section.
7823 * boards/local-board.exp: New file, with bits factored out from
7824 ...
7825 * boards/native-extended-gdbserver.exp: ... here. Load
7826 "local-board".
7827 * boards/native-gdbserver.exp: Load "local-board".
7828 (${board}_spawn, ${board}_exec): Delete.
7829 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7830 ...
7831 * boards/stdio-gdbserver-base.exp: ... this new file.
7832 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7833 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7834 procedure.
7835 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7836 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7837 stdio_gdbserver_command.
7838 (${board}_get_remote_address, ${board}_get_comm_port)
7839 (${board}_download, ${board}_upload): Delete.
7840 (get_target_remote_pipe_cmd): New.
7841
fe68b953
SM
78422017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7843
7844 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7845 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7846 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7847 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7848 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7849 remove with_test_prefix.
7850
300b6685
PA
78512017-10-13 Pedro Alves <palves@redhat.com>
7852
7853 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7854 * gdb.base/annota1.exp: Use it instead of is_remote.
7855 * gdb.base/annota3.exp: Use it instead of is_remote.
7856 * gdb.cp/annota2.exp: Use it instead of is_remote.
7857 * gdb.cp/annota3.exp: Use it instead of is_remote.
7858 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7859
50500caf
PA
78602017-10-13 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7863 (test_num_test_vars, run_and_count_vars, find_env)
7864 (test_set_unset_env, test_inherit_env_var): New procedures.
7865 (top level): Use them.
7866
dad0c6d2
PA
78672017-10-13 Pedro Alves <palves@redhat.com>
7868
7869 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7870 also skip on stub-like targets.
7871
8b0553c1
PA
78722017-10-13 Pedro Alves <palves@redhat.com>
7873
7874 PR gdb/22293
7875 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7876 (top level): Move some tests to ...
7877 (test_not_found): ... this new procedure.
7878 (top level): Call it.
7879
7594f623
PA
78802017-10-13 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7883 expect different "info terminal" output if testing with a
7884 non-native target.
7885
ebe3b402
PA
78862017-10-13 Pedro Alves <palves@redhat.com>
7887 Simon Marchi <simon.marchi@polymtl.ca>
7888
7889 PR python/12966
7890 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7891
42f1b161
PA
78922017-10-13 Pedro Alves <palves@redhat.com>
7893
7894 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7895 already.
7896
8d6ef72b
PA
78972017-10-13 Pedro Alves <palves@redhat.com>
7898
7899 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7900 is_remote.
7901
d7bcd5b8
PA
79022017-10-13 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7905 is_remote.
7906
df479dc6
PA
79072017-10-13 Pedro Alves <palves@redhat.com>
7908
7909 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7910 is set.
7911 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7912 instead of is_remote.
7913
23fb630a
PA
79142017-10-13 Pedro Alves <palves@redhat.com>
7915
7916 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7917 (top level): Add comment.
7918
cc77b1dc
PA
79192017-10-13 Pedro Alves <palves@redhat.com>
7920
7921 * gdb.base/remote.exp (top level): Fix comment typo and add
7922 missing return.
7923
27c9e813
PA
79242017-10-13 Pedro Alves <palves@redhat.com>
7925 Simon Marchi <simon.marchi@polymtl.ca>
7926
7927 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7928 calls and add comments. Skip test if use_gdb_stub is set.
7929 (top level): Use "set cwd" command instead of "cd" command.
7930
5e830d98
PA
79312017-10-13 Pedro Alves <palves@redhat.com>
7932
7933 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7934 is_remote target check.
7935
f5ca0032
PA
79362017-10-13 Pedro Alves <palves@redhat.com>
7937
7938 * gdb.base/scope.exp: Use build_executable + clean_restart +
7939 gdb_file_cmd instead of prepare_for_testing and no longer skip
7940 "before run" tests on is_remote target boards. Update comments.
7941 * boards/native-extended-gdbserver.exp
7942 (extended_gdbserver_load_last_file): New, factored out from ...
7943 (gdb_load): ... this. Move further below and add comment.
7944 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7945
8aed1c0d
PA
79462017-10-12 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.base/attach.exp: Remove references to gdb64.
7949 * gdb.base/dbx.exp: Remove references to gdb64.
7950
cfa34c87
SM
79512017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7952 Pedro Alves <palves@redhat.com>
7953
7954 * gdb.base/label.exp: Remove is_remote target check.
7955
9192b7de
PA
79562017-10-12 Pedro Alves <palves@redhat.com>
7957
7958 * gdb.base/auvx.exp (coredir): Update comment.
7959 (top level) <core_works>: Use "set cwd" command instead of "cd"
7960 command.
7961
6bf0052d
PA
79622017-10-12 Pedro Alves <palves@redhat.com>
7963 Simon Marchi <simon.marchi@polymtl.ca>
7964
7965 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7966 target boards.
7967
e48ef82d
PA
79682017-10-12 Pedro Alves <palves@redhat.com>
7969 Simon Marchi <simon.marchi@polymtl.ca>
7970
7971 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7972 Instead skip if there's any gdb_protocol set.
7973
8d7aea57
SM
79742017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7975 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7978
30440677
PA
79792017-10-12 Pedro Alves <palves@redhat.com>
7980 Simon Marchi <simon.marchi@polymtl.ca>
7981
7982 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7983 instead of on dejagnu remote boards.
7984
4e04f045 79852017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7986 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7987
7988 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7989 checks. Use build_executable + clean_restart instead of
7990 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7991 of enabling non-stop after starting gdb.
7992
871a186e
PA
79932017-10-12 Pedro Alves <palves@redhat.com>
7994
7995 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7996 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7997 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7998 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7999
56d704da
AK
80002017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8001
8002 * gdb.arch/arc-tdesc-cpu.exp: New file.
8003 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8004
2f20e312
SM
80052017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8006
8007 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8008
65630365
PA
80092017-10-10 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8012 expect CLI output.
8013
bf469271
PA
80142017-10-10 Pedro Alves <palves@redhat.com>
8015
8016 * lib/selftest-support.exp (selftest_setup): Update for
8017 captured_command_loop's prototype change.
8018
777a42f1
PA
80192017-10-09 Pedro Alves <palves@redhat.com>
8020
8021 Test both arch1=>arch2 and arch2=>arch1.
8022
8023 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8024 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8025 factored out to...
8026 (append_arch1_options, append_arch2_options, append_arch_options)
8027 (build_executables): New procedures.
8028 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8029 local.
8030 (top level): Add new 'first_arch' testing axis.
8031
cbd2b4e3
PA
80322017-10-09 Pedro Alves <palves@redhat.com>
8033
8034 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8035 (barrier): New.
8036 (thread_start, all_started): New functions.
8037 (main): Spawn new thread and wait until it is scheduled.
8038 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8039 option.
8040 (do_test): Add 'selected_thread' parameter. Run to all_started
8041 instead of main. Explicitly set the breakpoint at main. Switch
8042 to the SELECTED_THREAD thread.
8043 (top level): Test handling the exec event with either the main
8044 thread or the second thread selected.
8045
5c9e4427
PA
80462017-10-09 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8049 logic. Move STOP marker after the value checks.
8050 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8051 regexp.
8052
b3b7c423
SL
80532017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8054
8055 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8056
3b4b2f16
UW
80572017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8058
8059 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8060 integer-to-dfp conversion.
8061 * gdb.base/dfp-test.exp: Likewise.
8062
5cd63fda
PA
80632017-10-04 Pedro Alves <palves@redhat.com>
8064
8065 * gdb.multi/hangout.c: Include <unistd.h>.
8066 (hangout_loop): New function.
8067 (main): Call alarm. Call hangout_loop in a loop.
8068 * gdb.multi/hello.c: Include <unistd.h>.
8069 (hello_loop): New function.
8070 (main): Call alarm. Call hangout_loop in a loop.
8071 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8072 inferior with the other selected.
8073
4c71c105
SM
80742017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8075
8076 * gdb.mi/list-thread-groups-available.exp: New file.
8077 * gdb.mi/list-thread-groups-available.c: New file.
8078
bc3b087d
SDJ
80792017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8080
8081 * gdb.base/set-cwd.exp: Make it available on
8082 native-extended-gdbserver.
8083
d092c5a2
SDJ
80842017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8085
8086 * gdb.base/set-cwd.c: New file.
8087 * gdb.base/set-cwd.exp: Likewise.
8088
45320ffa
TT
80892017-10-02 Tom Tromey <tom@tromey.com>
8090
8091 PR rust/22236:
8092 * gdb.rust/simple.rs (main): New variable "fslice".
8093 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8094
b3e3859b
TT
80952017-10-02 Tom Tromey <tom@tromey.com>
8096
8097 * gdb.rust/simple.exp: Test ptype of a slice.
8098
01af5e0d
TT
80992017-10-02 Tom Tromey <tom@tromey.com>
8100
8101 * gdb.rust/simple.exp: Test index of slice.
8102
a9bbfbd8
TT
81032017-09-27 Tom Tromey <tom@tromey.com>
8104
8105 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8106
df8899e5
TP
81072017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8108 Pedro Alves <palves@redhat.com>
8109
8110 * gdb.base/compare-sections.exp (get value of read-only section): Read
8111 as unsigned value.
8112 (corrupt read-only section): Likewise and don't set written if patching
8113 failed.
8114
757bf54b
KB
81152017-09-21 Kevin Buettner <kevinb@redhat.com>
8116
8117 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8118 files.
8119
06871ae8
PA
81202017-09-20 Pedro Alves <palves@redhat.com>
8121
8122 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8123 symbol names in gdb's output.
8124 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8125
e5f25bc5
PA
81262017-09-20 Pedro Alves <palves@redhat.com>
8127
8128 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8129 Rename to ...
8130 (test_list_ambiguous_symbol): ... this and add a symbol name
8131 parameter. Adjust.
8132 (test_list_ambiguous_function): Reimplement on top of
8133 test_list_ambiguous_symbol and also test listing ambiguous
8134 variables.
8135 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8136 (ambiguous_fun): ... this.
8137 (ambiguous_var): New.
8138 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8139 (ambiguous_fun): ... this.
8140 (ambiguous_var): New.
8141
4e5a4f58
JB
81422017-09-19 John Baldwin <jhb@FreeBSD.org>
8143
8144 * gdb.base/starti.c: New file.
8145 * gdb.base/starti.exp: New file.
8146 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8147
26e53f3e
PA
81482017-09-14 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8151 (top level): Use it instead of runto.
8152
cb791d59
TT
81532017-09-11 Tom Tromey <tom@tromey.com>
8154
8155 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8156
7c96f8c1
TT
81572017-09-11 Tom Tromey <tom@tromey.com>
8158
8159 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8160 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8161
469412dd
CW
81622017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8163
8164 * gdb.fortran/printing-types.exp: New file.
8165 * gdb.fortran/printing-types.exp: New file.
8166
e0f86435
BH
81672017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8168
8169 * gdb.fortran/vla-ptype.exp: Fix typos.
8170 * gdb.fortran/vla-value.exp: Same.
8171
9e9af4be
BH
81722017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8173
8174 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8175 * gdb.mi/mi-var-child-f.exp: Likewise.
8176 * gdb.mi/mi-vla-fortran.exp: Likewise.
8177
a5ad232b 81782017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
8179 Christoph Weinmann <christoph.t.weinmann@intel.com>
8180 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
8181
8182 * gdb.fortran/ptr-indentation.f90: New file.
8183 * gdb.fortran/ptr-indentation.exp: New file.
8184
5aec60eb
TT
81852017-09-05 Tom Tromey <tom@tromey.com>
8186
8187 PR gdb/22010:
8188 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8189
8f8f8152
TP
81902017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8191
8192 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8193
fbd1b771
JK
81942017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8195
8196 * gdb.threads/tls-nodebug-pie.c: New file.
8197 * gdb.threads/tls-nodebug-pie.exp: New file.
8198
5eb5f850
TT
81992017-09-05 Tom Tromey <tom@tromey.com>
8200
8201 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8202 for rust.
8203
ae780a21
SM
82042017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8205
8206 * gdb.multi/multi-arch-exec.exp: Test with different
8207 "follow-exec-mode" settings.
8208 (do_test): New procedure.
8209
3693fdb3
PA
82102017-09-04 Pedro Alves <palves@redhat.com>
8211
8212 * gdb.base/func-static.c (S::method const, S::method volatile)
8213 (S::method volatile const): New methods.
8214 (c_s, v_s, cv_s): New instances.
8215 (main): Call method() on them.
8216 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8217 (cannot_resolve): New procedure.
8218 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8219 print-quote-unquoted columns.
8220 (do_test): Test printing each scope too.
8221
e68cb8e0
PA
82222017-09-04 Pedro Alves <palves@redhat.com>
8223
8224 * gdb.base/local-static.exp: Also test with
8225 class::method::variable wholly quoted.
8226 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8227
858be34c
PA
82282017-09-04 Pedro Alves <palves@redhat.com>
8229
8230 * gdb.base/local-static.c: New.
8231 * gdb.base/local-static.cc: New.
8232 * gdb.base/local-static.exp: New.
8233
46a4882b
PA
82342017-09-04 Pedro Alves <palves@redhat.com>
8235
8236 * gdb.asm/asm-source.exp: Add casts to int.
8237 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8238 (dataglobal64_1, dataglobal64_2): New globals.
8239 * gdb.base/nodebug.exp: Test different expressions involving the
8240 new globals, with print, whatis and ptype. Add casts to int.
8241 * gdb.base/solib-display.exp: Add casts to int.
8242 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8243 * gdb.cp/m-static.exp: Add cast to int.
8244 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8245 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8246 tls variable with no debug info without a cast. Test with a cast
8247 to int too.
8248 * gdb.trace/entry-values.exp: Add casts.
8249
2c5a2be1
PA
82502017-09-04 Pedro Alves <palves@redhat.com>
8251
8252 * gdb.base/nodebug.exp: Test that ptype's error about functions
8253 with unknown return type includes the function name too.
8254
7022349d
PA
82552017-09-04 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8258 return type of munmap in infcall.
8259 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8260 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8261 type of ftell in infcall.
8262 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8263 type of getpid in infcall.
8264 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8265 infcall.
8266 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8267 Bail on failure to extract the pid.
8268 * gdb.base/nodebug.c: #include <stdint.h>.
8269 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8270 New functions.
8271 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8272 Change expected output of print/whatis/ptype with functions with
8273 no debug info. Test all supported languages. Call
8274 test_call_promotion.
8275 * gdb.compile/compile.exp: Adjust expected output to expect
8276 warning.
8277 * gdb.threads/siginfo-threads.exp: Likewise.
8278
54990598
PA
82792017-09-04 Pedro Alves <palves@redhat.com>
8280
8281 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8282 "prototypes". Test calling float functions via prototyped and
8283 unprototyped function pointers.
8284 (perform_all_tests): New parameter "prototypes". Pass it down.
8285 (top level): Pass down "prototypes" parameter to
8286 perform_all_tests.
8287
34d16ea2
SM
82882017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8289
8290 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8291 Test with nested loops.
8292
9521ecda
SM
82932017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8294
8295 * gdb.base/commands.exp: Call the new procedures.
8296 (loop_break_test, loop_continue_test): New procedures.
8297
80a65e9b
SM
82982017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8299
8300 * gdb.base/commands.exp: Call new procedure.
8301 (define_if_without_arg_test): New procedure.
8302
e439fa14
PA
83032017-09-04 Pedro Alves <palves@redhat.com>
8304
8305 * gdb.base/list-ambiguous.exp: New file.
8306 * gdb.base/list-ambiguous0.c: New file.
8307 * gdb.base/list-ambiguous1.c: New file.
8308 * gdb.base/list.exp (test_list_range): Adjust expected output.
8309
0a2dde4a
SDJ
83102017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8311
8312 * gdb.base/share-env-with-gdbserver.c: New file.
8313 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8314
5e89eb3a
SM
83152017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8316
8317 * gdb.base/commands.exp (gdbvar_simple_if_test,
8318 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8319 progvar_simple_if_test, progvar_simple_while_test,
8320 progvar_complex_if_while_test, user_defined_command_test,
8321 user_defined_command_args_eval,
8322 user_defined_command_args_stack_test,
8323 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8324 temporary_breakpoint_commands,
8325 gdb_test_no_prompt, redefine_hook_test,
8326 redefine_backtrace_test): Remove "global gdb_prompt".
8327
fd437cbc
SM
83282017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8329
8330 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8331 New proc, call it from toplevel.
8332
87215ad1
SDJ
83332017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8334
8335 PR remote/21852
8336 * gdb.server/normal.c: New file, copied from gdb.base.
8337 * gdb.server/run-without-local-binary.exp: New file.
8338
58afddc6
WP
83392017-08-07 Weimin Pan <weimin.pan@oracle.com>
8340
8341 * gdb.arch/sparc64-adi.exp: New file.
8342 * gdb.arch/sparc64-adi.c: New file.
8343
5277199a
PA
83442017-08-22 Pedro Alves <palves@redhat.com>
8345
8346 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8347 (top level): Add "list all overloads" tests.
8348
14278e1f
TT
83492017-08-22 Tom Tromey <tom@tromey.com>
8350
8351 * gdb.gdb/xfullpath.exp: Remove.
8352
bf223d3e
PA
83532017-08-21 Pedro Alves <palves@redhat.com>
8354
8355 PR gdb/19487
8356 * gdb.base/symbol-alias.c: New.
8357 * gdb.base/symbol-alias2.c: New.
8358 * gdb.base/symbol-alias.exp: New.
8359
c973d0aa
PA
83602017-08-21 Pedro Alves <palves@redhat.com>
8361
8362 * gdb.base/dfp-test.c
8363 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8364 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8365 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8366 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8367 * gdb.base/whatis-ptype-typedefs.c: New.
8368 * gdb.base/whatis-ptype-typedefs.exp: New.
8369 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8370 (an_int, an_int_type, an_int_type2): New globals.
8371 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8372 involving typedefs and cast expressions.
8373 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8374 (lookup_typedefs_function): New.
8375 (typedefs_pretty_printers_dict): New.
8376 (top level): Register lookup_typedefs_function in
8377 gdb.pretty_printers.
8378
6d580b63
YQ
83792017-08-18 Yao Qi <yao.qi@linaro.org>
8380
8381 * gdb.server/unittest.exp: New.
8382
206726fb
SDJ
83832017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8384
8385 PR gdb/21954
8386 * gdb.base/environ.exp: Add test to check if 'unset environment'
8387 works.
8388
bf0ec4c2
AA
83892017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8390
8391 * lib/gdb.exp (universal_compile_options): New caching proc.
8392 (gdb_compile): Suppress GCC's coloring of messages.
8393
d6382fff
TT
83942017-08-14 Tom Tromey <tom@tromey.com>
8395
8396 PR gdb/21675:
8397 * gdb.base/printcmds.exp (test_radices): New function.
8398 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8399 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8400 * lib/gdb.exp (get_integer_valueof): Use p/d.
8401
c2c2dd9f
SM
84022017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8403
8404 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8405 characters.
8406
fdffd6f4
TT
84072017-08-05 Tom Tromey <tom@tromey.com>
8408
8409 * gdb.rust/simple.exp: Allow String to appear in a different
8410 namespace.
8411
27d41eac
YQ
84122017-07-26 Yao Qi <yao.qi@linaro.org>
8413
8414 * gdb.gdb/unittest.exp: Invoke command
8415 "maintenance check xml-descriptions".
8416
031ed05d
AA
84172017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8418
8419 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8420 calling context.
8421 (hex128): Drop erroneous calculation of parameters.
8422
dcd27ddf
SM
84232017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8424
8425 * gdb.python/py-unwind.exp: Disable stack protection when
8426 building test file.
8427
47e77640
PA
84282017-07-20 Pedro Alves <palves@redhat.com>
8429
8430 * gdb.base/default.exp (set language): Adjust expected output.
8431
62d2a18a
PA
84322017-07-20 Pedro Alves <palves@redhat.com>
8433
8434 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8435 (test_minsym): ... this, and make static.
8436 (get_pck__foo__bar__minsym): Rename to ...
8437 (get_test_minsym): ... this.
8438 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8439 symbol names and comments.
8440 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8441 (get_test_minsym): ... this.
8442 (pck__foo__bar__minsym__2): Rename to ...
8443 (test_minsym): ... this.
8444 (main): Adjust.
8445
c45ec17c
PA
84462017-07-17 Pedro Alves <palves@redhat.com>
8447
8448 * gdb.base/completion.exp: Adjust expected output.
8449 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8450 the completer works.
8451
c6756f62
PA
84522017-07-17 Pedro Alves <palves@redhat.com>
8453
8454 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8455
5bd68487
AB
84562017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8457
8458 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8459
8880f2a9
TT
84602017-07-14 Tom Tromey <tom@tromey.com>
8461
8462 PR rust/21764:
8463 * gdb.rust/simple.exp: Add tests.
8464
65547233
TT
84652017-07-14 Tom Tromey <tom@tromey.com>
8466
8467 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8468
8f14146e
PA
84692017-07-14 Pedro Alves <palves@redhat.com>
8470
8471 * gdb.linespec/base/one/thefile.cc (z1): New function.
8472 * gdb.linespec/base/two/thefile.cc (z2): New function.
8473 * gdb.linespec/linespec.exp: Add tests.
8474
b4365d02
AB
84752017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8476
8477 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8478 to mi_create_breakpoint.
8479
5d2cbaa5
AB
84802017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8481
8482 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8483 mi_create_breakpoint.
8484
11cb5716
IB
84852017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8486
8487 * gdb.dlang/demangle.exp: Update for demangling changes.
8488
03278692
TT
84892017-07-09 Tom Tromey <tom@tromey.com>
8490
8491 * gdb.dwarf2/shortpiece.exp: New file.
8492
33c5cd75
DB
84932017-07-06 David Blaikie <dblaikie@gmail.com>
8494
8495 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8496 built from fissiont-multi-cu{1,2}.c.
8497 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8498 except putting 'main' and 'func' in separate CUs in the same DWO file.
8499 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8500 test.
8501 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8502 test.
8503
8455d262
PA
85042017-07-06 Pedro Alves <palves@redhat.com>
8505
8506 * gdb.python/py-unwind.exp: Test flushregs.
8507
dc4bde35
SDJ
85082017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8509
8510 PR cli/21688
8511 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8512 tests for alias commands and trailing whitespace.
8513
51ed89aa
SDJ
85142017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8515
8516 PR cli/21688
8517 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8518 procedure. Call it.
8519
eb17d413
PA
85202017-06-29 Pedro Alves <palves@redhat.com>
8521
8522 * gdb.base/printcmds.exp: Add tests.
8523
41664b45
DG
85242017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8525
8526 PR gdb/21337
8527 * gdb.base/reread-readsym.exp: New file.
8528 * gdb.base/reread-readsym.c: New file.
8529
75312ae3
KB
85302017-06-21 Kevin Buettner <kevinb@redhat.com>
8531
8532 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8533 subpattern.
8534
66953522
PB
85352017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8536
8537 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8538 extended mnemonic.
8539 * gdb.arch/powerpc-power9.s: Likewise.
8540
5524b525
AA
85412017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8542
8543 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8544 on 32-bit x86 targets. Exploit is_*_target macros where
8545 appropriate.
8546
03c8af18
AA
85472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8548
8549 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8550 register pieces.
8551
3bf31011
AA
85522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8553
8554 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8555 located in one or more DWARF pieces.
8556
805acca0
AA
85572017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8558
8559 * lib/gdb.exp (get_endianness): New proc.
8560 * gdb.arch/aarch64-fp.exp: Use it.
8561 * gdb.arch/altivec-regs.exp: Likewise.
8562 * gdb.arch/e500-regs.exp: Likewise.
8563 * gdb.arch/vsx-regs.exp: Likewise.
8564 * gdb.base/dump.exp: Likewise.
8565 * gdb.base/funcargs.exp: Likewise.
8566 * gdb.base/gnu_vector.exp: Likewise.
8567 * gdb.dwarf2/formdata16.exp: Likewise.
8568 * gdb.dwarf2/implptrpiece.exp: Likewise.
8569 * gdb.dwarf2/nonvar-access.exp: Likewise.
8570 * gdb.python/py-inferior.exp: Likewise.
8571 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8572
e9352324
AA
85732017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8574
8575 PR gdb/21226
8576 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8577 stack value pieces are taken from the LSB end.
8578
d5d1163e
AA
85792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8580
8581 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8582 variable at nonzero offset.
8583
0567c986
AA
85842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8585
8586 * gdb.dwarf2/var-access.c: New file.
8587 * gdb.dwarf2/var-access.exp: New test.
8588 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8589
973e9aab
TT
85902017-06-12 Tom Tromey <tom@tromey.com>
8591
8592 * gdb.dwarf2/formdata16.exp: Add tests.
8593
d9109c80
TT
85942017-06-12 Tom Tromey <tom@tromey.com>
8595
8596 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8597
30a25466
TT
85982017-06-12 Tom Tromey <tom@tromey.com>
8599
8600 PR exp/16225:
8601 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8602 * gdb.arch/vsx-regs.exp: Update tests.
8603 * gdb.arch/s390-vregs.exp (hex128): New proc.
8604 Update test.
8605 * gdb.arch/altivec-regs.exp: Update tests.
8606
aefd8b33
SDJ
86072017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8608
8609 * gdb.base/startup-with-shell.c: New file.
8610 * gdb.base/startup-with-shell.exp: Likewise.
8611
2090129c
SDJ
86122017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8613
8614 * gdb.server/non-existing-program.exp: Update regex in order to
8615 reflect the fact that gdbserver is now using fork_inferior (with a
8616 shell) to startup the inferior.
8617
8e86a419
SM
86182017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8619
8620 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8621 support function calls from GDB.
8622
e6cf65f2
TT
86232017-05-21 Tom Tromey <tom@tromey.com>
8624
8625 PR rust/21466:
8626 * gdb.rust/unsized.exp: New file.
8627 * gdb.rust/unsized.rs: New file.
8628
43cc5389
TT
86292017-05-19 Tom Tromey <tom@tromey.com>
8630
8631 PR rust/21484:
8632 * gdb.rust/watch.exp: New file.
8633 * gdb.rust/watch.rs: New file.
8634
ec8df234
TT
86352017-05-18 Tom Tromey <tom@tromey.com>
8636
8637 * gdb.rust/simple.exp: Allow Box to be qualified.
8638
3e3e7fae
TP
86392017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8640
8641 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8642
59cc050d
PA
86432017-05-18 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.base/fileio.c (test_write, test_read, test_close)
8646 (test_fstat): Don't print 'ret' in the fail path.
8647
c8f6abd1
PA
86482017-05-18 Pedro Alves <palves@redhat.com>
8649
8650 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8651 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8652 (test_system, test_rename, test_unlink, test_time): Change
8653 prototypes.
8654 * gdb.base/fileio.exp (stop_msg): Adjust.
8655
d2a03b77
PA
86562017-05-18 Pedro Alves <palves@redhat.com>
8657
8658 * gdb.base/fileio.c (null_str): New global.
8659 (test_stat): Use it.
8660 * gdb.base/fileio.exp: Remove nowarnings.
8661
0d5c6999
YQ
86622017-05-17 Yao Qi <yao.qi@linaro.org>
8663
8664 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8665
21873064
YQ
86662017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8667
8668 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8669 argument command.
8670 (top-level): Invoke test_set_inferior_tty.
8671
d512d31c
PA
86722017-05-04 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8675 Add parens to print call for Python 3.
8676
90cef2ed
KS
86772017-05-03 Keith Seitz <keiths@redhat.com>
8678
8679 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8680 (main): Call it.
8681
14f819c8
TW
86822017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8683
8684 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8685 to prev and next.
8686
913aeadd
TW
86872017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8688
8689 * gdb.python/py-record-btrace.exp: Remove test for
8690 gdb.BtraceInstruction.error.
8691
a3be24ad
TW
86922017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8693
8694 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8695
ae20e79a
TW
86962017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8697
8698 * gdb.python/py-record-btrace-threads.c: New file.
8699 * gdb.python/py-record-btrace-threads.exp: New file.
8700
45ce1b47
SDJ
87012017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8702
8703 PR testsuite/8595
8704 * gdb.base/environ.exp: Make test available in all architectures.
8705 Move bits related to "info program" testing to
8706 gdb.base/info-program.exp. Rewrite tests to use the two new
8707 procedures mentione below.
8708 (test_set_show_env_var) New procedure.
8709 (test_set_show_env_var_equal): Likewise.
8710 * gdb.base/info-program.exp: New file.
8711
e15c3eb4
KS
87122017-04-27 Keith Seitz <keiths@redhat.com>
8713
8714 * gdb.cp/oranking.cc (test15): New function.
8715 (main): Call test15 and declare additional variables for testing.
8716 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8717 "p foo101('abc')" tests.
8718 Add tests for cv qualifier overloads.
8719 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8720 "lvalue reference overload" test.
8721 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8722 "print value of f1 on Child&& in f2" test.
8723
3a3fd0fd
PA
87242017-04-19 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8727 procedure.
8728 (top level): Call it.
8729 * lib/gdb.exp (gdb_define_cmd): New procedure.
8730
53375380
PA
87312017-04-12 Pedro Alves <palves@redhat.com>
8732
8733 PR gdb/21323
8734 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8735 (wchar): New global.
8736 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8737 (do_test_wide_char, wide_char_types_no_program, top level): Add
8738 wchar_t testing.
8739
53e710ac
PA
87402017-04-12 Pedro Alves <palves@redhat.com>
8741
8742 PR c++/21323
8743 * gdb.cp/wide_char_types.c: New file.
8744 * gdb.cp/wide_char_types.exp: New file.
8745
0ad9d8c7
SDJ
87462017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8747
8748 PR gdb/21352
8749 * gdb.trace/tsv.exp: Add test for "tsave -r".
8750
b1b45502
IB
87512017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8752
8753 * gdb.dlang/watch-loc.c: New file.
8754 * gdb.dlang/watch-loc.exp: New file.
8755
ec13808e
JK
87562017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8757
8758 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8759
fe5f7374
AK
87602017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8761
8762 * gdb.arch/arc-analyze-prologue.S: New file.
8763 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8764
eea78757
AK
87652017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8766
8767 * gdb.arch/arc-decode-insn.S: New file.
8768 * gdb.arch/arc-decode-insn.exp: Likewise.
8769
5badf10a
IR
87702017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8771
8772 PR tdep/20928
8773 * gdb.arch/sparc64-regs.exp: New file.
8774 * gdb.arch/sparc64-regs.S: Likewise.
8775
cee59b3f
TW
87762017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8777
8778 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8779 and memory view on Python 3.
8780
c0f55cc6
AV
87812017-03-20 Artemiy Volkov <artemiyv@acm.org>
8782 Keith Seitz <keiths@redhat.com>
8783
8784 PR gdb/14441
8785 * gdb.cp/demangle.exp: Add rvalue reference tests.
8786 * gdb.cp/rvalue-ref-casts.cc: New file.
8787 * gdb.cp/rvalue-ref-casts.exp: New file.
8788 * gdb.cp/rvalue-ref-overload.cc: New file.
8789 * gdb.cp/rvalue-ref-overload.exp: New file.
8790 * gdb.cp/rvalue-ref-params.cc: New file.
8791 * gdb.cp/rvalue-ref-params.exp: New file.
8792 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8793 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8794 * gdb.cp/rvalue-ref-types.cc: New file.
8795 * gdb.cp/rvalue-ref-types.exp: New file.
8796 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8797 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8798
51457a05
MAL
87992017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8800
8801 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8802 New procedure.
8803
5b291c04
MAL
88042017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8805
8806 * lib/mi-support.exp (mi_gdb_test): Add additional message
8807 for unexpected output.
8808
59a56148
AA
88092017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8810
8811 * gdb.base/examine-backward.c (Barrier): New character array
8812 constant, to ensure that TestStrings is preceded by a string
8813 terminator.
8814
7942e96e
AA
88152017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8816
8817 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8818 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8819 and implicit pointer into such a location.
8820
6ebac3fb
DE
88212017-03-16 Doug Evans <dje@google.com>
8822
8823 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8824
ec3b243d
TP
88252017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8826
8827 * gdb.cp/m-static.exp: Fix expectation for prototype of
8828 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8829
88302017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8831
8832 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8833 * gdb.guile/scm-lazy-string.c: New file.
8834 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8835 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8836 for pointer, array, typedef lazy strings.
8837
2cc36e25 88382017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8839
8840 PR python/17728, python/18439, python/18779
8841 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8842 * gdb.python/py-lazy-string.c (pointer): New typedef.
8843 (main): New locals ptr, array, typedef_ptr.
8844 * gdb.python/py-value.exp: Move lazy string tests to ...
8845 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8846 array, typedef lazy strings.
ec3b243d 8847
0efcde63
AK
88482017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8849
8850 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8851 Add optional 'test' parameter.
8852
7978d7c3
SM
88532017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8854
8855 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8856 Skip for versions of DejaGnu < 1.5.
8857
896c0c1e
SM
88582017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8859
8860 * lib/gdb.exp (dejagnu_version): New proc.
8861 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8862 Use dejagnu_version.
8863
5f4d1085
KS
88642017-03-10 Keith Seitz <keiths@redhat.com>
8865
8866 PR c++/8128
8867 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8868 type from destructor regexps.
8869 Add a branch which actually passes the test.
8870 Adjust "ptype t5i" test names.
8871
1de05205
PA
88722017-03-08 Pedro Alves <palves@redhat.com>
8873
8874 * gdb.base/step-over-exit.exp: Add explicit test message.
8875
c65d6b55
PA
88762017-03-08 Pedro Alves <palves@redhat.com>
8877
8878 PR gdb/18360
8879 * gdb.threads/interrupt-while-step-over.c: New file.
8880 * gdb.threads/interrupt-while-step-over.exp: New file.
8881
2e86a283
PA
88822017-03-08 Pedro Alves <palves@redhat.com>
8883
8884 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8885 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8886
25dcbff6
PA
88872017-03-08 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8890 PKRU as not supported as a PASS.
8891
dc9366eb
PA
88922017-03-08 Pedro Alves <palves@redhat.com>
8893
8894 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8895 prefix instead of $binfile1/$binfile2.
8896 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8897 in test message.
8898 * gdb.python/py-completion.exp: Use "load python file" as test
8899 messages instead of unstable path names.
8900
6e5d74e7
PA
89012017-03-08 Pedro Alves <palves@redhat.com>
8902 Jan Kratochvil <jan.kratochvil@redhat.com>
8903
8904 PR cli/21218
8905 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8906 New proc.
8907 (top level): Call it.
8908
9753a2f6
PA
89092017-03-08 Pedro Alves <palves@redhat.com>
8910
8911 PR tui/21216
8912 * gdb.tui/tui-nl-filtered-output.exp: New file.
8913
1a4dd9dd
PA
89142017-03-08 Pedro Alves <palves@redhat.com>
8915
8916 * gdb.base/completion.exp: Move TUI completion tests to ...
8917 * gdb.tui/completion.exp: ... this new file.
8918
7cbbff33
PA
89192017-03-08 Pedro Alves <palves@redhat.com>
8920
8921 * gdb.base/tui-disasm-long-lines.c,
8922 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8923 gdb.base/tui-layout.exp: Move to ...
8924 * gdb.tui/: ... this new directory.
8925
5f6fd321
PA
89262017-03-07 Pedro Alves <palves@redhat.com>
8927
8928 * gdb.base/tui-layout.c: New file.
8929 * gdb.base/tui-layout.exp: New file.
8930
44959fa8
PA
89312017-03-07 Pedro Alves <palves@redhat.com>
8932
8933 * gdb.base/tui-layout.c: Rename to ...
8934 * gdb.base/tui-disasm-long-lines.c: ... this.
8935 * gdb.base/tui-layout.exp: Rename to ...
8936 * gdb.base/tui-disasm-long-lines.exp: ... this.
8937
f8c4e718
PA
89382017-03-07 Pedro Alves <palves@redhat.com>
8939
8940 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8941
6dbb839a 89422017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8943
8944 * i386-mpx-call.c: New file.
8945 * i386-mpx-call.exp: New file.
8946
65b48a81
PB
89472017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8948
8949 * gdb.arch/powerpc-power.exp: Delete test.
8950 * gdb.arch/powerpc-power.s: Likewise.
8951 * gdb.disasm/disassembler-options.exp: New test.
8952 * gdb.arch/powerpc-altivec.exp: Likewise.
8953 * gdb.arch/powerpc-altivec.s: Likewise.
8954 * gdb.arch/powerpc-altivec2.exp: Likewise.
8955 * gdb.arch/powerpc-altivec2.s: Likewise.
8956 * gdb.arch/powerpc-altivec3.exp: Likewise.
8957 * gdb.arch/powerpc-altivec3.s: Likewise.
8958 * gdb.arch/powerpc-power7.exp: Likewise.
8959 * gdb.arch/powerpc-power7.s: Likewise.
8960 * gdb.arch/powerpc-power8.exp: Likewise.
8961 * gdb.arch/powerpc-power8.s: Likewise.
8962 * gdb.arch/powerpc-power9.exp: Likewise.
8963 * gdb.arch/powerpc-power9.s: Likewise.
8964 * gdb.arch/powerpc-vsx.exp: Likewise.
8965 * gdb.arch/powerpc-vsx.s: Likewise.
8966 * gdb.arch/powerpc-vsx2.exp: Likewise.
8967 * gdb.arch/powerpc-vsx2.s: Likewise.
8968 * gdb.arch/powerpc-vsx3.exp: Likewise.
8969 * gdb.arch/powerpc-vsx3.s: Likewise.
8970 * gdb.arch/arm-disassembler-options.exp: Likewise.
8971 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8972 * gdb.arch/s390-disassembler-options.exp: Likewise.
8973
17cd4947
LM
89742017-02-23 Luis Machado <lgustavo@codesourcery.com>
8975
8976 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8977 (check_supported_features): ... this. Changed return type to void.
8978 (supports_rdseed): New static global.
8979 (rdseed): Check supports_rdseed.
8980 (initialize): Call check_supported_features.
8981
2039d74e
EBM
89822017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8983
8984 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8985 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8986 and lqarx/stqcx.
8987 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8988 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8989
a51d7ecf
EBM
89902017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8991
8992 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8993 uppercase.
8994
0224619f
JK
89952017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8996
8997 * gdb.dwarf2/formdata16.c: New file.
8998 * gdb.dwarf2/formdata16.exp: New file.
8999 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9000
216f72a1
JK
90012017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9004 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9005 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9006 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9007 DW_AT_GNU_*.
9008
43988095
JK
90092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9012
99e8a4f9
SDJ
90132017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9014
9015 PR gdb/21164
9016 * gdb.base/maint.exp: Add testcases for when the commands do
9017 not have arguments.
9018
b58a8c0c
TP
90192017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9020
9021 * gdb.cp/chained-calls.exp: Use p instead of P.
9022
4e746bb6
TW
90232017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9024
9025 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9026 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9027
3f77c769
TT
90282017-02-14 Tom Tromey <tom@tromey.com>
9029
9030 PR python/13598:
9031 * gdb.python/py-events.exp: Add before_prompt event tests.
9032
075beec0
AA
90332017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9034
9035 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9036
bf5f525c
LM
90372017-02-13 Luis Machado <lgustavo@codesourcery.com>
9038
9039 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9040 (main): Call my_unique_function_name.
9041 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9042 completion of patterns with a single match.
9043 Add missing -re switches to gdb_test_multiple calls.
9044
13a66184
LM
90452017-02-13 Luis Machado <lgustavo@codesourcery.com>
9046
9047 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9048 return if core file is not recognized.
9049
26a06916
SM
90502017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9051
9052 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9053 and extra UIs.
9054
b761ca9e
SM
90552017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9056
9057 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9058 proc_with_prefix.
9059
b964bee0
TT
90602017-02-10 Tom Tromey <tom@tromey.com>
9061
9062 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9063
18da0c51
MG
90642017-02-10 Martin Galvan <martingalvan@sourceware.org>
9065
9066 PR gdb/21122
9067 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9068
604c4576
JG
90692017-02-08 Jerome Guitton <guitton@adacore.com>
9070
9071 * gdb.base/define.exp: Add test for command abbreviations
9072 in define.
9073
20b477a7
LM
90742017-02-06 Luis Machado <lgustavo@codesourcery.com>
9075
9076 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9077 * gdb.reverse/insn-reverse-x86.c: New file.
9078
3f7b46f2
IR
90792017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9080
9081 PR tdep/20936
9082 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9083
f0fd41c1
TT
90842017-02-03 Tom Tromey <tom@tromey.com>
9085
9086 PR rust/21097:
9087 * gdb.rust/simple.exp: Add new tests.
9088
5be5dbf0
PA
90892017-02-02 Pedro Alves <palves@redhat.com>
9090
9091 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9092 tests.
9093
7346ef59
AA
90942017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9095
9096 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9097 taking a 2-byte value out of a 4-byte DWARF implicit value on
9098 big-endian targets.
9099 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9100 logic. Add test cases for DW_OP_implicit.
9101
787f0025
MM
91022017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9103
9104 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9105
68777c29
MM
91062017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9107
9108 * gdb.btrace/enable.exp: Call gdb_exit before
9109 skip_gdbserver_tests.
9110
0a1c7e28
MM
91112017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9112
9113 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9114 GDBFLAGS.
9115
b5ac99b0
MM
91162017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9117
9118 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9119 the test is skipped.
9120 * gdb.btrace/data.exp: Likewise.
9121 * gdb.btrace/delta.exp: Likewise.
9122 * gdb.btrace/dlopen.exp: Likewise.
9123 * gdb.btrace/enable-running.exp: Likewise.
9124 * gdb.btrace/enable.exp: Likewise.
9125 * gdb.btrace/exception.exp: Likewise.
9126 * gdb.btrace/function_call_history.exp: Likewise.
9127 * gdb.btrace/gcore.exp: Likewise.
9128 * gdb.btrace/instruction_history.exp: Likewise.
9129 * gdb.btrace/multi-thread-step.exp: Likewise.
9130 * gdb.btrace/nohist.exp: Likewise.
9131 * gdb.btrace/non-stop.exp: Likewise.
9132 * gdb.btrace/reconnect.exp: Likewise.
9133 * gdb.btrace/record_goto-step.exp: Likewise.
9134 * gdb.btrace/record_goto.exp: Likewise.
9135 * gdb.btrace/rn-dl-bind.exp: Likewise.
9136 * gdb.btrace/segv.exp: Likewise.
9137 * gdb.btrace/step.exp: Likewise.
9138 * gdb.btrace/stepi.exp: Likewise.
9139 * gdb.btrace/tailcall-only.exp: Likewise.
9140 * gdb.btrace/tailcall.exp: Likewise.
9141 * gdb.btrace/tsx.exp: Likewise.
9142 * gdb.btrace/unknown_functions.exp: Likewise.
9143 * gdb.btrace/vdso.exp: Likewise.
9144
cd4007e4
MM
91452017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9146
9147 * gdb.btrace/enable-running.c: New.
9148 * gdb.btrace/enable-running.exp: New.
9149
2735833d
WT
91502017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9151
9152 * gdb.arch/amd64-gs_base.c: New file.
9153 * gdb.arch/amd64-gs_base.exp: New file.
9154
b51e1e94
LM
91552017-01-26 Luis Machado <lgustavo@codesourcery.com>
9156
9157 * lib/memory.exp: Remove spurious empty newlines.
9158
72ca0410
SM
91592017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9160
9161 * gdb.python/py-bad-printers.exp: Load python file using "source".
9162 * gdb.python/py-events.exp: Likewise.
9163 * gdb.python/py-evsignal.exp: Likewise.
9164 * gdb.python/py-evthreads.exp: Likewise.
9165 * gdb.python/py-frame-args.exp: Likewise.
9166 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9167 * gdb.python/py-framefilter-mi.exp: Likewise.
9168 * gdb.python/py-framefilter.exp: Likewise.
9169 * gdb.python/py-mi.exp: Likewise.
9170 * gdb.python/py-pp-maint.exp: Likewise.
9171 * gdb.python/py-pp-registration.exp: Likewise.
9172 * gdb.python/py-prettyprint.exp: Likewise.
9173 (run_lang_tests): Likewise.
9174 * gdb.python/py-typeprint.exp: Likewise.
9175
e309aa65
LM
91762017-01-26 Luis Machado <lgustavo@codesourcery.com>
9177
9178 * lib/memory.exp: New file.
9179 * lib/gdb.exp: Load memory.exp.
9180 * gdb.base/memattr.exp (delete_memory): Move proc to
9181 lib/memory.exp and rename to delete_memory_regions.
9182 Replace delete_memory with delete_memory_regions.
9183 Cleanup memory regions before tests.
9184 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9185 before tests.
9186
515aff23
LM
91872017-01-26 Luis Machado <lgustavo@codesourcery.com>
9188
9189 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9190 files.
9191 (initialize): New function conditionally defined.
9192 (testcases): Move within conditional block.
9193 (main): Call initialize.
9194 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9195 of gdb.reverse/insn-reverse.c.
9196 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9197 gdb.reverse/insn-reverse.c.
9198
d8b49cf0
YQ
91992017-01-26 Yao Qi <yao.qi@linaro.org>
9200
9201 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9202 disassemble on address 0.
9203
f13a9a0c
YQ
92042017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9205 Yao Qi <yao.qi@linaro.org>
9206
9207 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9208 * gdb.dwarf2/implptr-64bit.S: Remove.
9209 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9210 variables in caller's context. Add DW_OP_implicit_value.
9211
5ac95241
YQ
92122017-01-25 Yao Qi <yao.qi@linaro.org>
9213
9214 * lib/dwarf.exp (Dwarf::_location): Handle
9215 DW_OP_GNU_implicit_pointer with proper size.
9216
23e82930
LM
92172017-01-20 Luis Machado <lgustavo@codesourcery.com>
9218
9219 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9220 and add untested calls.
9221
d334ae25
LM
92222017-01-20 Luis Machado <lgustavo@codesourcery.com>
9223
9224 * gdb.python/python.exp: Check line number against what GDB thinks
9225 the line number is for func1.
9226
f5e6296e
IB
92272017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9228
9229 * gdb.dlang/debug-expr.exp: New file.
9230
5b362f04
LM
92312016-12-23 Luis Machado <lgustavo@codesourcery.com>
9232
9233 Fix test names for the following files:
9234
9235 * gdb.ada/exec_changed.exp
9236 * gdb.ada/info_types.exp
9237 * gdb.arch/aarch64-atomic-inst.exp
9238 * gdb.arch/aarch64-fp.exp
9239 * gdb.arch/altivec-abi.exp
9240 * gdb.arch/altivec-regs.exp
9241 * gdb.arch/amd64-byte.exp
9242 * gdb.arch/amd64-disp-step.exp
9243 * gdb.arch/amd64-dword.exp
9244 * gdb.arch/amd64-entry-value-inline.exp
9245 * gdb.arch/amd64-entry-value-param.exp
9246 * gdb.arch/amd64-entry-value-paramref.exp
9247 * gdb.arch/amd64-entry-value.exp
9248 * gdb.arch/amd64-i386-address.exp
9249 * gdb.arch/amd64-invalid-stack-middle.exp
9250 * gdb.arch/amd64-invalid-stack-top.exp
9251 * gdb.arch/amd64-optimout-repeat.exp
9252 * gdb.arch/amd64-prologue-skip.exp
9253 * gdb.arch/amd64-prologue-xmm.exp
9254 * gdb.arch/amd64-stap-special-operands.exp
9255 * gdb.arch/amd64-stap-wrong-subexp.exp
9256 * gdb.arch/amd64-tailcall-cxx.exp
9257 * gdb.arch/amd64-tailcall-noret.exp
9258 * gdb.arch/amd64-tailcall-ret.exp
9259 * gdb.arch/amd64-tailcall-self.exp
9260 * gdb.arch/amd64-word.exp
9261 * gdb.arch/arm-bl-branch-dest.exp
9262 * gdb.arch/arm-disp-step.exp
9263 * gdb.arch/arm-neon.exp
9264 * gdb.arch/arm-single-step-kernel-helper.exp
9265 * gdb.arch/avr-flash-qualifier.exp
9266 * gdb.arch/disp-step-insn-reloc.exp
9267 * gdb.arch/e500-abi.exp
9268 * gdb.arch/e500-regs.exp
9269 * gdb.arch/ftrace-insn-reloc.exp
9270 * gdb.arch/i386-avx512.exp
9271 * gdb.arch/i386-bp_permanent.exp
9272 * gdb.arch/i386-byte.exp
9273 * gdb.arch/i386-cfi-notcurrent.exp
9274 * gdb.arch/i386-disp-step.exp
9275 * gdb.arch/i386-dr3-watch.exp
9276 * gdb.arch/i386-float.exp
9277 * gdb.arch/i386-gnu-cfi.exp
9278 * gdb.arch/i386-mpx-map.exp
9279 * gdb.arch/i386-mpx-sigsegv.exp
9280 * gdb.arch/i386-mpx-simple_segv.exp
9281 * gdb.arch/i386-mpx.exp
9282 * gdb.arch/i386-permbkpt.exp
9283 * gdb.arch/i386-prologue.exp
9284 * gdb.arch/i386-signal.exp
9285 * gdb.arch/i386-size-overlap.exp
9286 * gdb.arch/i386-unwind.exp
9287 * gdb.arch/i386-word.exp
9288 * gdb.arch/mips-fcr.exp
9289 * gdb.arch/powerpc-d128-regs.exp
9290 * gdb.arch/powerpc-stackless.exp
9291 * gdb.arch/ppc64-atomic-inst.exp
9292 * gdb.arch/s390-stackless.exp
9293 * gdb.arch/s390-tdbregs.exp
9294 * gdb.arch/s390-vregs.exp
9295 * gdb.arch/sparc-sysstep.exp
9296 * gdb.arch/thumb-bx-pc.exp
9297 * gdb.arch/thumb-singlestep.exp
9298 * gdb.arch/thumb2-it.exp
9299 * gdb.arch/vsx-regs.exp
9300 * gdb.asm/asm-source.exp
9301 * gdb.base/a2-run.exp
9302 * gdb.base/advance.exp
9303 * gdb.base/all-bin.exp
9304 * gdb.base/anon.exp
9305 * gdb.base/args.exp
9306 * gdb.base/arithmet.exp
9307 * gdb.base/async-shell.exp
9308 * gdb.base/async.exp
9309 * gdb.base/attach-pie-noexec.exp
9310 * gdb.base/attach-twice.exp
9311 * gdb.base/auto-load.exp
9312 * gdb.base/bang.exp
9313 * gdb.base/bitfields.exp
9314 * gdb.base/break-always.exp
9315 * gdb.base/break-caller-line.exp
9316 * gdb.base/break-entry.exp
9317 * gdb.base/break-inline.exp
9318 * gdb.base/break-on-linker-gcd-function.exp
9319 * gdb.base/break-probes.exp
9320 * gdb.base/break.exp
9321 * gdb.base/breakpoint-shadow.exp
9322 * gdb.base/call-ar-st.exp
9323 * gdb.base/call-sc.exp
9324 * gdb.base/call-signal-resume.exp
9325 * gdb.base/call-strs.exp
9326 * gdb.base/callfuncs.exp
9327 * gdb.base/catch-fork-static.exp
9328 * gdb.base/catch-gdb-caused-signals.exp
9329 * gdb.base/catch-load.exp
9330 * gdb.base/catch-signal-fork.exp
9331 * gdb.base/catch-signal.exp
9332 * gdb.base/catch-syscall.exp
9333 * gdb.base/charset.exp
9334 * gdb.base/checkpoint.exp
9335 * gdb.base/chng-syms.exp
9336 * gdb.base/code-expr.exp
9337 * gdb.base/code_elim.exp
9338 * gdb.base/commands.exp
9339 * gdb.base/completion.exp
9340 * gdb.base/complex.exp
9341 * gdb.base/cond-expr.exp
9342 * gdb.base/condbreak.exp
9343 * gdb.base/consecutive.exp
9344 * gdb.base/continue-all-already-running.exp
9345 * gdb.base/coredump-filter.exp
9346 * gdb.base/corefile.exp
9347 * gdb.base/dbx.exp
9348 * gdb.base/debug-expr.exp
9349 * gdb.base/define.exp
9350 * gdb.base/del.exp
9351 * gdb.base/disabled-location.exp
9352 * gdb.base/disasm-end-cu.exp
9353 * gdb.base/disasm-optim.exp
9354 * gdb.base/display.exp
9355 * gdb.base/duplicate-bp.exp
9356 * gdb.base/ena-dis-br.exp
9357 * gdb.base/ending-run.exp
9358 * gdb.base/enumval.exp
9359 * gdb.base/environ.exp
9360 * gdb.base/eu-strip-infcall.exp
9361 * gdb.base/eval-avoid-side-effects.exp
9362 * gdb.base/eval-skip.exp
9363 * gdb.base/exitsignal.exp
9364 * gdb.base/expand-psymtabs.exp
9365 * gdb.base/filesym.exp
9366 * gdb.base/find-unmapped.exp
9367 * gdb.base/finish.exp
9368 * gdb.base/float.exp
9369 * gdb.base/foll-exec-mode.exp
9370 * gdb.base/foll-exec.exp
9371 * gdb.base/foll-fork.exp
9372 * gdb.base/fortran-sym-case.exp
9373 * gdb.base/freebpcmd.exp
9374 * gdb.base/func-ptr.exp
9375 * gdb.base/func-ptrs.exp
9376 * gdb.base/funcargs.exp
9377 * gdb.base/gcore-buffer-overflow.exp
9378 * gdb.base/gcore-relro-pie.exp
9379 * gdb.base/gcore-relro.exp
9380 * gdb.base/gcore.exp
9381 * gdb.base/gdb1090.exp
9382 * gdb.base/gdb11530.exp
9383 * gdb.base/gdb11531.exp
9384 * gdb.base/gdb1821.exp
9385 * gdb.base/gdbindex-stabs.exp
9386 * gdb.base/gdbvars.exp
9387 * gdb.base/hbreak.exp
9388 * gdb.base/hbreak2.exp
9389 * gdb.base/included.exp
9390 * gdb.base/infcall-input.exp
9391 * gdb.base/inferior-died.exp
9392 * gdb.base/infnan.exp
9393 * gdb.base/info-macros.exp
9394 * gdb.base/info-os.exp
9395 * gdb.base/info-proc.exp
9396 * gdb.base/info-shared.exp
9397 * gdb.base/info-target.exp
9398 * gdb.base/infoline.exp
9399 * gdb.base/interp.exp
9400 * gdb.base/interrupt.exp
9401 * gdb.base/jit-reader.exp
9402 * gdb.base/jit-simple.exp
9403 * gdb.base/kill-after-signal.exp
9404 * gdb.base/kill-detach-inferiors-cmd.exp
9405 * gdb.base/label.exp
9406 * gdb.base/langs.exp
9407 * gdb.base/ldbl_e308.exp
9408 * gdb.base/line-symtabs.exp
9409 * gdb.base/linespecs.exp
9410 * gdb.base/list.exp
9411 * gdb.base/long_long.exp
9412 * gdb.base/longest-types.exp
9413 * gdb.base/maint.exp
9414 * gdb.base/max-value-size.exp
9415 * gdb.base/memattr.exp
9416 * gdb.base/mips_pro.exp
9417 * gdb.base/morestack.exp
9418 * gdb.base/moribund-step.exp
9419 * gdb.base/multi-forks.exp
9420 * gdb.base/nested-addr.exp
9421 * gdb.base/nextoverexit.exp
9422 * gdb.base/noreturn-finish.exp
9423 * gdb.base/noreturn-return.exp
9424 * gdb.base/nostdlib.exp
9425 * gdb.base/offsets.exp
9426 * gdb.base/opaque.exp
9427 * gdb.base/pc-fp.exp
9428 * gdb.base/permissions.exp
9429 * gdb.base/print-symbol-loading.exp
9430 * gdb.base/prologue-include.exp
9431 * gdb.base/psymtab.exp
9432 * gdb.base/ptype.exp
9433 * gdb.base/random-signal.exp
9434 * gdb.base/randomize.exp
9435 * gdb.base/range-stepping.exp
9436 * gdb.base/readline-ask.exp
9437 * gdb.base/recpar.exp
9438 * gdb.base/recurse.exp
9439 * gdb.base/relational.exp
9440 * gdb.base/restore.exp
9441 * gdb.base/return-nodebug.exp
9442 * gdb.base/return.exp
9443 * gdb.base/run-after-attach.exp
9444 * gdb.base/save-bp.exp
9445 * gdb.base/scope.exp
9446 * gdb.base/sect-cmd.exp
9447 * gdb.base/set-lang-auto.exp
9448 * gdb.base/set-noassign.exp
9449 * gdb.base/setvar.exp
9450 * gdb.base/sigall.exp
9451 * gdb.base/sigbpt.exp
9452 * gdb.base/siginfo-addr.exp
9453 * gdb.base/siginfo-infcall.exp
9454 * gdb.base/siginfo-obj.exp
9455 * gdb.base/siginfo.exp
9456 * gdb.base/signals-state-child.exp
9457 * gdb.base/signest.exp
9458 * gdb.base/sigstep.exp
9459 * gdb.base/sizeof.exp
9460 * gdb.base/skip.exp
9461 * gdb.base/solib-corrupted.exp
9462 * gdb.base/solib-nodir.exp
9463 * gdb.base/solib-search.exp
9464 * gdb.base/stack-checking.exp
9465 * gdb.base/stale-infcall.exp
9466 * gdb.base/stap-probe.exp
9467 * gdb.base/start.exp
9468 * gdb.base/step-break.exp
9469 * gdb.base/step-bt.exp
9470 * gdb.base/step-line.exp
9471 * gdb.base/step-over-exit.exp
9472 * gdb.base/step-over-syscall.exp
9473 * gdb.base/step-resume-infcall.exp
9474 * gdb.base/step-test.exp
9475 * gdb.base/store.exp
9476 * gdb.base/structs3.exp
9477 * gdb.base/sym-file.exp
9478 * gdb.base/symbol-without-target_section.exp
9479 * gdb.base/term.exp
9480 * gdb.base/testenv.exp
9481 * gdb.base/ui-redirect.exp
9482 * gdb.base/until.exp
9483 * gdb.base/unwindonsignal.exp
9484 * gdb.base/value-double-free.exp
9485 * gdb.base/vla-datatypes.exp
9486 * gdb.base/vla-ptr.exp
9487 * gdb.base/vla-sideeffect.exp
9488 * gdb.base/volatile.exp
9489 * gdb.base/watch-cond-infcall.exp
9490 * gdb.base/watch-cond.exp
9491 * gdb.base/watch-non-mem.exp
9492 * gdb.base/watch-read.exp
9493 * gdb.base/watch-vfork.exp
9494 * gdb.base/watchpoint-cond-gone.exp
9495 * gdb.base/watchpoint-delete.exp
9496 * gdb.base/watchpoint-hw-hit-once.exp
9497 * gdb.base/watchpoint-hw.exp
9498 * gdb.base/watchpoint-stops-at-right-insn.exp
9499 * gdb.base/watchpoints.exp
9500 * gdb.base/wchar.exp
9501 * gdb.base/whatis-exp.exp
9502 * gdb.btrace/buffer-size.exp
9503 * gdb.btrace/data.exp
9504 * gdb.btrace/delta.exp
9505 * gdb.btrace/dlopen.exp
9506 * gdb.btrace/enable.exp
9507 * gdb.btrace/exception.exp
9508 * gdb.btrace/function_call_history.exp
9509 * gdb.btrace/gcore.exp
9510 * gdb.btrace/instruction_history.exp
9511 * gdb.btrace/nohist.exp
9512 * gdb.btrace/reconnect.exp
9513 * gdb.btrace/record_goto-step.exp
9514 * gdb.btrace/record_goto.exp
9515 * gdb.btrace/rn-dl-bind.exp
9516 * gdb.btrace/segv.exp
9517 * gdb.btrace/step.exp
9518 * gdb.btrace/stepi.exp
9519 * gdb.btrace/tailcall-only.exp
9520 * gdb.btrace/tailcall.exp
9521 * gdb.btrace/tsx.exp
9522 * gdb.btrace/unknown_functions.exp
9523 * gdb.btrace/vdso.exp
9524 * gdb.compile/compile-ifunc.exp
9525 * gdb.compile/compile-ops.exp
9526 * gdb.compile/compile-print.exp
9527 * gdb.compile/compile-setjmp.exp
9528 * gdb.cp/abstract-origin.exp
9529 * gdb.cp/ambiguous.exp
9530 * gdb.cp/annota2.exp
9531 * gdb.cp/annota3.exp
9532 * gdb.cp/anon-ns.exp
9533 * gdb.cp/anon-struct.exp
9534 * gdb.cp/anon-union.exp
9535 * gdb.cp/arg-reference.exp
9536 * gdb.cp/baseenum.exp
9537 * gdb.cp/bool.exp
9538 * gdb.cp/breakpoint.exp
9539 * gdb.cp/bs15503.exp
9540 * gdb.cp/call-c.exp
9541 * gdb.cp/casts.exp
9542 * gdb.cp/chained-calls.exp
9543 * gdb.cp/class2.exp
9544 * gdb.cp/classes.exp
9545 * gdb.cp/cmpd-minsyms.exp
9546 * gdb.cp/converts.exp
9547 * gdb.cp/cp-relocate.exp
9548 * gdb.cp/cpcompletion.exp
9549 * gdb.cp/cpexprs.exp
9550 * gdb.cp/cplabel.exp
9551 * gdb.cp/cplusfuncs.exp
9552 * gdb.cp/cpsizeof.exp
9553 * gdb.cp/ctti.exp
9554 * gdb.cp/derivation.exp
9555 * gdb.cp/destrprint.exp
9556 * gdb.cp/dispcxx.exp
9557 * gdb.cp/enum-class.exp
9558 * gdb.cp/exception.exp
9559 * gdb.cp/exceptprint.exp
9560 * gdb.cp/expand-psymtabs-cxx.exp
9561 * gdb.cp/expand-sals.exp
9562 * gdb.cp/extern-c.exp
9563 * gdb.cp/filename.exp
9564 * gdb.cp/formatted-ref.exp
9565 * gdb.cp/fpointer.exp
9566 * gdb.cp/gdb1355.exp
9567 * gdb.cp/gdb2495.exp
9568 * gdb.cp/hang.exp
9569 * gdb.cp/impl-this.exp
9570 * gdb.cp/infcall-dlopen.exp
9571 * gdb.cp/inherit.exp
9572 * gdb.cp/iostream.exp
9573 * gdb.cp/koenig.exp
9574 * gdb.cp/local.exp
9575 * gdb.cp/m-data.exp
9576 * gdb.cp/m-static.exp
9577 * gdb.cp/mb-ctor.exp
9578 * gdb.cp/mb-inline.exp
9579 * gdb.cp/mb-templates.exp
9580 * gdb.cp/member-name.exp
9581 * gdb.cp/member-ptr.exp
9582 * gdb.cp/meth-typedefs.exp
9583 * gdb.cp/method.exp
9584 * gdb.cp/method2.exp
9585 * gdb.cp/minsym-fallback.exp
9586 * gdb.cp/misc.exp
9587 * gdb.cp/namelessclass.exp
9588 * gdb.cp/namespace-enum.exp
9589 * gdb.cp/namespace-nested-import.exp
9590 * gdb.cp/namespace.exp
9591 * gdb.cp/nextoverthrow.exp
9592 * gdb.cp/no-dmgl-verbose.exp
9593 * gdb.cp/non-trivial-retval.exp
9594 * gdb.cp/noparam.exp
9595 * gdb.cp/nsdecl.exp
9596 * gdb.cp/nsimport.exp
9597 * gdb.cp/nsnested.exp
9598 * gdb.cp/nsnoimports.exp
9599 * gdb.cp/nsrecurs.exp
9600 * gdb.cp/nsstress.exp
9601 * gdb.cp/nsusing.exp
9602 * gdb.cp/operator.exp
9603 * gdb.cp/oranking.exp
9604 * gdb.cp/overload-const.exp
9605 * gdb.cp/overload.exp
9606 * gdb.cp/ovldbreak.exp
9607 * gdb.cp/ovsrch.exp
9608 * gdb.cp/paren-type.exp
9609 * gdb.cp/parse-lang.exp
9610 * gdb.cp/pass-by-ref.exp
9611 * gdb.cp/pr-1023.exp
9612 * gdb.cp/pr-1210.exp
9613 * gdb.cp/pr-574.exp
9614 * gdb.cp/pr10687.exp
9615 * gdb.cp/pr12028.exp
9616 * gdb.cp/pr17132.exp
9617 * gdb.cp/pr17494.exp
9618 * gdb.cp/pr9067.exp
9619 * gdb.cp/pr9167.exp
9620 * gdb.cp/pr9631.exp
9621 * gdb.cp/printmethod.exp
9622 * gdb.cp/psmang.exp
9623 * gdb.cp/psymtab-parameter.exp
9624 * gdb.cp/ptype-cv-cp.exp
9625 * gdb.cp/ptype-flags.exp
9626 * gdb.cp/re-set-overloaded.exp
9627 * gdb.cp/ref-types.exp
9628 * gdb.cp/rtti.exp
9629 * gdb.cp/scope-err.exp
9630 * gdb.cp/shadow.exp
9631 * gdb.cp/smartp.exp
9632 * gdb.cp/static-method.exp
9633 * gdb.cp/static-print-quit.exp
9634 * gdb.cp/temargs.exp
9635 * gdb.cp/templates.exp
9636 * gdb.cp/try_catch.exp
9637 * gdb.cp/typedef-operator.exp
9638 * gdb.cp/typeid.exp
9639 * gdb.cp/userdef.exp
9640 * gdb.cp/using-crash.exp
9641 * gdb.cp/var-tag.exp
9642 * gdb.cp/virtbase.exp
9643 * gdb.cp/virtfunc.exp
9644 * gdb.cp/virtfunc2.exp
9645 * gdb.cp/vla-cxx.exp
9646 * gdb.disasm/t01_mov.exp
9647 * gdb.disasm/t02_mova.exp
9648 * gdb.disasm/t03_add.exp
9649 * gdb.disasm/t04_sub.exp
9650 * gdb.disasm/t05_cmp.exp
9651 * gdb.disasm/t06_ari2.exp
9652 * gdb.disasm/t07_ari3.exp
9653 * gdb.disasm/t08_or.exp
9654 * gdb.disasm/t09_xor.exp
9655 * gdb.disasm/t10_and.exp
9656 * gdb.disasm/t11_logs.exp
9657 * gdb.disasm/t12_bit.exp
9658 * gdb.disasm/t13_otr.exp
9659 * gdb.dlang/circular.exp
9660 * gdb.dwarf2/arr-stride.exp
9661 * gdb.dwarf2/arr-subrange.exp
9662 * gdb.dwarf2/atomic-type.exp
9663 * gdb.dwarf2/bad-regnum.exp
9664 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9665 * gdb.dwarf2/callframecfa.exp
9666 * gdb.dwarf2/clztest.exp
9667 * gdb.dwarf2/corrupt.exp
9668 * gdb.dwarf2/data-loc.exp
9669 * gdb.dwarf2/dup-psym.exp
9670 * gdb.dwarf2/dw2-anon-mptr.exp
9671 * gdb.dwarf2/dw2-anonymous-func.exp
9672 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9673 * gdb.dwarf2/dw2-bad-unresolved.exp
9674 * gdb.dwarf2/dw2-basic.exp
9675 * gdb.dwarf2/dw2-canonicalize-type.exp
9676 * gdb.dwarf2/dw2-case-insensitive.exp
9677 * gdb.dwarf2/dw2-common-block.exp
9678 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9679 * gdb.dwarf2/dw2-compressed.exp
9680 * gdb.dwarf2/dw2-const.exp
9681 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9682 * gdb.dwarf2/dw2-cu-size.exp
9683 * gdb.dwarf2/dw2-dup-frame.exp
9684 * gdb.dwarf2/dw2-entry-value.exp
9685 * gdb.dwarf2/dw2-icycle.exp
9686 * gdb.dwarf2/dw2-ifort-parameter.exp
9687 * gdb.dwarf2/dw2-inline-break.exp
9688 * gdb.dwarf2/dw2-inline-param.exp
9689 * gdb.dwarf2/dw2-intercu.exp
9690 * gdb.dwarf2/dw2-intermix.exp
9691 * gdb.dwarf2/dw2-lexical-block-bare.exp
9692 * gdb.dwarf2/dw2-linkage-name-trust.exp
9693 * gdb.dwarf2/dw2-minsym-in-cu.exp
9694 * gdb.dwarf2/dw2-noloc.exp
9695 * gdb.dwarf2/dw2-op-call.exp
9696 * gdb.dwarf2/dw2-op-out-param.exp
9697 * gdb.dwarf2/dw2-opt-structptr.exp
9698 * gdb.dwarf2/dw2-param-error.exp
9699 * gdb.dwarf2/dw2-producer.exp
9700 * gdb.dwarf2/dw2-ranges-base.exp
9701 * gdb.dwarf2/dw2-ref-missing-frame.exp
9702 * gdb.dwarf2/dw2-reg-undefined.exp
9703 * gdb.dwarf2/dw2-regno-invalid.exp
9704 * gdb.dwarf2/dw2-restore.exp
9705 * gdb.dwarf2/dw2-restrict.exp
9706 * gdb.dwarf2/dw2-single-line-discriminators.exp
9707 * gdb.dwarf2/dw2-strp.exp
9708 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9709 * gdb.dwarf2/dw2-unresolved.exp
9710 * gdb.dwarf2/dw2-var-zero-addr.exp
9711 * gdb.dwarf2/dw4-sig-types.exp
9712 * gdb.dwarf2/dwz.exp
9713 * gdb.dwarf2/dynarr-ptr.exp
9714 * gdb.dwarf2/enum-type.exp
9715 * gdb.dwarf2/gdb-index.exp
9716 * gdb.dwarf2/implptr-64bit.exp
9717 * gdb.dwarf2/implptr-optimized-out.exp
9718 * gdb.dwarf2/implptr.exp
9719 * gdb.dwarf2/implref-array.exp
9720 * gdb.dwarf2/implref-const.exp
9721 * gdb.dwarf2/implref-global.exp
9722 * gdb.dwarf2/implref-struct.exp
9723 * gdb.dwarf2/mac-fileno.exp
9724 * gdb.dwarf2/main-subprogram.exp
9725 * gdb.dwarf2/member-ptr-forwardref.exp
9726 * gdb.dwarf2/method-ptr.exp
9727 * gdb.dwarf2/missing-sig-type.exp
9728 * gdb.dwarf2/nonvar-access.exp
9729 * gdb.dwarf2/opaque-type-lookup.exp
9730 * gdb.dwarf2/pieces-optimized-out.exp
9731 * gdb.dwarf2/pieces.exp
9732 * gdb.dwarf2/pr10770.exp
9733 * gdb.dwarf2/pr13961.exp
9734 * gdb.dwarf2/staticvirtual.exp
9735 * gdb.dwarf2/subrange.exp
9736 * gdb.dwarf2/symtab-producer.exp
9737 * gdb.dwarf2/trace-crash.exp
9738 * gdb.dwarf2/typeddwarf.exp
9739 * gdb.dwarf2/valop.exp
9740 * gdb.dwarf2/watch-notconst.exp
9741 * gdb.fortran/array-element.exp
9742 * gdb.fortran/charset.exp
9743 * gdb.fortran/common-block.exp
9744 * gdb.fortran/complex.exp
9745 * gdb.fortran/derived-type-function.exp
9746 * gdb.fortran/derived-type.exp
9747 * gdb.fortran/logical.exp
9748 * gdb.fortran/module.exp
9749 * gdb.fortran/multi-dim.exp
9750 * gdb.fortran/nested-funcs.exp
9751 * gdb.fortran/print-formatted.exp
9752 * gdb.fortran/subarray.exp
9753 * gdb.fortran/vla-alloc-assoc.exp
9754 * gdb.fortran/vla-datatypes.exp
9755 * gdb.fortran/vla-history.exp
9756 * gdb.fortran/vla-ptr-info.exp
9757 * gdb.fortran/vla-ptype-sub.exp
9758 * gdb.fortran/vla-ptype.exp
9759 * gdb.fortran/vla-sizeof.exp
9760 * gdb.fortran/vla-type.exp
9761 * gdb.fortran/vla-value-sub-arbitrary.exp
9762 * gdb.fortran/vla-value-sub-finish.exp
9763 * gdb.fortran/vla-value-sub.exp
9764 * gdb.fortran/vla-value.exp
9765 * gdb.fortran/whatis_type.exp
9766 * gdb.go/chan.exp
9767 * gdb.go/handcall.exp
9768 * gdb.go/hello.exp
9769 * gdb.go/integers.exp
9770 * gdb.go/methods.exp
9771 * gdb.go/package.exp
9772 * gdb.go/strings.exp
9773 * gdb.go/types.exp
9774 * gdb.go/unsafe.exp
9775 * gdb.guile/scm-arch.exp
9776 * gdb.guile/scm-block.exp
9777 * gdb.guile/scm-breakpoint.exp
9778 * gdb.guile/scm-cmd.exp
9779 * gdb.guile/scm-disasm.exp
9780 * gdb.guile/scm-equal.exp
9781 * gdb.guile/scm-frame-args.exp
9782 * gdb.guile/scm-frame-inline.exp
9783 * gdb.guile/scm-frame.exp
9784 * gdb.guile/scm-iterator.exp
9785 * gdb.guile/scm-math.exp
9786 * gdb.guile/scm-objfile.exp
9787 * gdb.guile/scm-ports.exp
9788 * gdb.guile/scm-symbol.exp
9789 * gdb.guile/scm-symtab.exp
9790 * gdb.guile/scm-value-cc.exp
9791 * gdb.guile/types-module.exp
9792 * gdb.linespec/break-ask.exp
9793 * gdb.linespec/cpexplicit.exp
9794 * gdb.linespec/explicit.exp
9795 * gdb.linespec/keywords.exp
9796 * gdb.linespec/linespec.exp
9797 * gdb.linespec/ls-dollar.exp
9798 * gdb.linespec/ls-errs.exp
9799 * gdb.linespec/skip-two.exp
9800 * gdb.linespec/thread.exp
9801 * gdb.mi/mi-async.exp
9802 * gdb.mi/mi-basics.exp
9803 * gdb.mi/mi-break.exp
9804 * gdb.mi/mi-catch-load.exp
9805 * gdb.mi/mi-cli.exp
9806 * gdb.mi/mi-cmd-param-changed.exp
9807 * gdb.mi/mi-console.exp
9808 * gdb.mi/mi-detach.exp
9809 * gdb.mi/mi-disassemble.exp
9810 * gdb.mi/mi-eval.exp
9811 * gdb.mi/mi-file-transfer.exp
9812 * gdb.mi/mi-file.exp
9813 * gdb.mi/mi-fill-memory.exp
9814 * gdb.mi/mi-inheritance-syntax-error.exp
9815 * gdb.mi/mi-linespec-err-cp.exp
9816 * gdb.mi/mi-logging.exp
9817 * gdb.mi/mi-memory-changed.exp
9818 * gdb.mi/mi-read-memory.exp
9819 * gdb.mi/mi-record-changed.exp
9820 * gdb.mi/mi-reg-undefined.exp
9821 * gdb.mi/mi-regs.exp
9822 * gdb.mi/mi-return.exp
9823 * gdb.mi/mi-reverse.exp
9824 * gdb.mi/mi-simplerun.exp
9825 * gdb.mi/mi-solib.exp
9826 * gdb.mi/mi-stack.exp
9827 * gdb.mi/mi-stepi.exp
9828 * gdb.mi/mi-syn-frame.exp
9829 * gdb.mi/mi-until.exp
9830 * gdb.mi/mi-var-block.exp
9831 * gdb.mi/mi-var-child.exp
9832 * gdb.mi/mi-var-cmd.exp
9833 * gdb.mi/mi-var-cp.exp
9834 * gdb.mi/mi-var-display.exp
9835 * gdb.mi/mi-var-invalidate.exp
9836 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9837 * gdb.mi/mi-vla-fortran.exp
9838 * gdb.mi/mi-watch.exp
9839 * gdb.mi/mi2-var-child.exp
9840 * gdb.mi/user-selected-context-sync.exp
9841 * gdb.modula2/unbounded-array.exp
9842 * gdb.multi/dummy-frame-restore.exp
9843 * gdb.multi/multi-arch-exec.exp
9844 * gdb.multi/multi-arch.exp
9845 * gdb.multi/tids.exp
9846 * gdb.multi/watchpoint-multi.exp
9847 * gdb.opencl/callfuncs.exp
9848 * gdb.opencl/convs_casts.exp
9849 * gdb.opencl/datatypes.exp
9850 * gdb.opencl/operators.exp
9851 * gdb.opencl/vec_comps.exp
9852 * gdb.opt/clobbered-registers-O2.exp
9853 * gdb.opt/inline-break.exp
9854 * gdb.opt/inline-bt.exp
9855 * gdb.opt/inline-cmds.exp
9856 * gdb.opt/inline-locals.exp
9857 * gdb.pascal/case-insensitive-symbols.exp
9858 * gdb.pascal/floats.exp
9859 * gdb.pascal/gdb11492.exp
9860 * gdb.python/lib-types.exp
9861 * gdb.python/py-arch.exp
9862 * gdb.python/py-as-string.exp
9863 * gdb.python/py-bad-printers.exp
9864 * gdb.python/py-block.exp
9865 * gdb.python/py-breakpoint-create-fail.exp
9866 * gdb.python/py-breakpoint.exp
9867 * gdb.python/py-caller-is.exp
9868 * gdb.python/py-cmd.exp
9869 * gdb.python/py-explore-cc.exp
9870 * gdb.python/py-explore.exp
9871 * gdb.python/py-finish-breakpoint.exp
9872 * gdb.python/py-finish-breakpoint2.exp
9873 * gdb.python/py-frame-args.exp
9874 * gdb.python/py-frame-inline.exp
9875 * gdb.python/py-frame.exp
9876 * gdb.python/py-framefilter-mi.exp
9877 * gdb.python/py-infthread.exp
9878 * gdb.python/py-lazy-string.exp
9879 * gdb.python/py-linetable.exp
9880 * gdb.python/py-mi-events.exp
9881 * gdb.python/py-mi-objfile.exp
9882 * gdb.python/py-mi.exp
9883 * gdb.python/py-objfile.exp
9884 * gdb.python/py-pp-integral.exp
9885 * gdb.python/py-pp-maint.exp
9886 * gdb.python/py-pp-re-notag.exp
9887 * gdb.python/py-pp-registration.exp
9888 * gdb.python/py-recurse-unwind.exp
9889 * gdb.python/py-strfns.exp
9890 * gdb.python/py-symbol.exp
9891 * gdb.python/py-symtab.exp
9892 * gdb.python/py-sync-interp.exp
9893 * gdb.python/py-typeprint.exp
9894 * gdb.python/py-unwind-maint.exp
9895 * gdb.python/py-unwind.exp
9896 * gdb.python/py-value-cc.exp
9897 * gdb.python/py-xmethods.exp
9898 * gdb.reverse/amd64-tailcall-reverse.exp
9899 * gdb.reverse/break-precsave.exp
9900 * gdb.reverse/break-reverse.exp
9901 * gdb.reverse/consecutive-precsave.exp
9902 * gdb.reverse/consecutive-reverse.exp
9903 * gdb.reverse/finish-precsave.exp
9904 * gdb.reverse/finish-reverse-bkpt.exp
9905 * gdb.reverse/finish-reverse.exp
9906 * gdb.reverse/fstatat-reverse.exp
9907 * gdb.reverse/getresuid-reverse.exp
9908 * gdb.reverse/i386-precsave.exp
9909 * gdb.reverse/i386-reverse.exp
9910 * gdb.reverse/i386-sse-reverse.exp
9911 * gdb.reverse/i387-env-reverse.exp
9912 * gdb.reverse/i387-stack-reverse.exp
9913 * gdb.reverse/insn-reverse.exp
9914 * gdb.reverse/machinestate-precsave.exp
9915 * gdb.reverse/machinestate.exp
9916 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9917 * gdb.reverse/pipe-reverse.exp
9918 * gdb.reverse/readv-reverse.exp
9919 * gdb.reverse/recvmsg-reverse.exp
9920 * gdb.reverse/rerun-prec.exp
9921 * gdb.reverse/s390-mvcle.exp
9922 * gdb.reverse/step-precsave.exp
9923 * gdb.reverse/step-reverse.exp
9924 * gdb.reverse/time-reverse.exp
9925 * gdb.reverse/until-precsave.exp
9926 * gdb.reverse/until-reverse.exp
9927 * gdb.reverse/waitpid-reverse.exp
9928 * gdb.reverse/watch-precsave.exp
9929 * gdb.reverse/watch-reverse.exp
9930 * gdb.rust/generics.exp
9931 * gdb.rust/methods.exp
9932 * gdb.rust/modules.exp
9933 * gdb.rust/simple.exp
9934 * gdb.server/connect-with-no-symbol-file.exp
9935 * gdb.server/ext-attach.exp
9936 * gdb.server/ext-restart.exp
9937 * gdb.server/ext-wrapper.exp
9938 * gdb.server/file-transfer.exp
9939 * gdb.server/server-exec-info.exp
9940 * gdb.server/server-kill.exp
9941 * gdb.server/server-mon.exp
9942 * gdb.server/wrapper.exp
9943 * gdb.stabs/exclfwd.exp
9944 * gdb.stabs/gdb11479.exp
9945 * gdb.threads/clone-new-thread-event.exp
9946 * gdb.threads/corethreads.exp
9947 * gdb.threads/current-lwp-dead.exp
9948 * gdb.threads/dlopen-libpthread.exp
9949 * gdb.threads/gcore-thread.exp
9950 * gdb.threads/sigstep-threads.exp
9951 * gdb.threads/watchpoint-fork.exp
9952 * gdb.trace/actions-changed.exp
9953 * gdb.trace/backtrace.exp
9954 * gdb.trace/change-loc.exp
9955 * gdb.trace/circ.exp
9956 * gdb.trace/collection.exp
9957 * gdb.trace/disconnected-tracing.exp
9958 * gdb.trace/ftrace.exp
9959 * gdb.trace/mi-trace-frame-collected.exp
9960 * gdb.trace/mi-trace-unavailable.exp
9961 * gdb.trace/mi-traceframe-changed.exp
9962 * gdb.trace/mi-tsv-changed.exp
9963 * gdb.trace/no-attach-trace.exp
9964 * gdb.trace/passc-dyn.exp
9965 * gdb.trace/qtro.exp
9966 * gdb.trace/range-stepping.exp
9967 * gdb.trace/read-memory.exp
9968 * gdb.trace/save-trace.exp
9969 * gdb.trace/signal.exp
9970 * gdb.trace/status-stop.exp
9971 * gdb.trace/tfile.exp
9972 * gdb.trace/trace-break.exp
9973 * gdb.trace/trace-buffer-size.exp
9974 * gdb.trace/trace-condition.exp
9975 * gdb.trace/tracefile-pseudo-reg.exp
9976 * gdb.trace/tstatus.exp
9977 * gdb.trace/unavailable.exp
9978 * gdb.trace/while-dyn.exp
9979 * gdb.trace/while-stepping.exp
9980
34c41c68
DE
99812016-12-22 Doug Evans <xdje42@gmail.com>
9982
9983 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9984 and msymbols.
9985
16e69324
YQ
99862016-12-19 Yao Qi <yao.qi@linaro.org>
9987
9988 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9989 (test_with_self): Don't call do_steps_and_nexts, and remove
9990 code about stepping into xmalloc.
9991
f94f411b
YQ
99922016-12-09 Yao Qi <yao.qi@linaro.org>
9993
9994 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9995
99962016-12-09 Yao Qi <yao.qi@linaro.org>
9997
9998 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9999
f1b5deee
PA
100002016-12-09 Pedro Alves <palves@redhat.com>
10001
10002 * gdb.base/all-architectures-0.exp: New file.
10003 * gdb.base/all-architectures-1.exp: New file.
10004 * gdb.base/all-architectures-2.exp: New file.
10005 * gdb.base/all-architectures-3.exp: New file.
10006 * gdb.base/all-architectures-4.exp: New file.
10007 * gdb.base/all-architectures-5.exp: New file.
10008 * gdb.base/all-architectures-6.exp: New file.
10009 * gdb.base/all-architectures-7.exp: New file.
10010 * gdb.base/all-architectures.exp.in: New file.
10011
364ca42e
YQ
100122016-12-09 Yao Qi <yao.qi@linaro.org>
10013
10014 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10015
107c2d62
LM
100162016-12-02 Luis Machado <lgustavo@codesourcery.com>
10017
10018 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10019 possible.
10020 Remove useless pattern-matching code.
10021
df3ee9ca
PA
100222016-12-02 Pedro Alves <palves@redhat.com>
10023
10024 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10025 procedure.
10026 (top level): Call it.
10027
ec835369
PA
100282016-12-02 Pedro Alves <palves@redhat.com>
10029
10030 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10031 New procedure.
10032 (top level): Call it.
10033
01770bbd
PA
100342016-12-02 Pedro Alves <palves@redhat.com>
10035
10036 PR cli/20559
10037 * gdb.base/commands.exp (user_defined_command_args_eval): New
10038 procedure.
10039 (top level): Call it.
10040
008459ea
LM
100412016-12-02 Luis Machado <lgustavo@codesourcery.com>
10042
10043 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10044 timeout handling.
10045
0c1b455e
TT
100462016-12-02 Tom Tromey <tom@tromey.com>
10047
10048 * gdb.dwarf2/main-subprogram.c: New file.
10049 * gdb.dwarf2/main-subprogram.exp: New file.
10050
018572b8
LM
100512016-12-01 Luis Machado <lgustavo@codesourcery.com>
10052
10053 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10054 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10055 gdb_test_no_output for a couple of cases.
10056 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10057
84c93cd5
LM
100582016-12-01 Luis Machado <lgustavo@codesourcery.com>
10059
10060 Fix test names and standardize compilation error messages throughout
10061 the following files:
10062
10063 * gdb.ada/start.exp
10064 * gdb.arch/alpha-step.exp
10065 * gdb.arch/e500-prologue.exp
10066 * gdb.arch/ftrace-insn-reloc.exp
10067 * gdb.arch/gdb1291.exp
10068 * gdb.arch/gdb1431.exp
10069 * gdb.arch/gdb1558.exp
10070 * gdb.arch/i386-dr3-watch.exp
10071 * gdb.arch/i386-sse-stack-align.exp
10072 * gdb.arch/ia64-breakpoint-shadow.exp
10073 * gdb.arch/pa-nullify.exp
10074 * gdb.arch/powerpc-aix-prologue.exp
10075 * gdb.arch/thumb-bx-pc.exp
10076 * gdb.base/annota1.exp
10077 * gdb.base/annota3.exp
10078 * gdb.base/arrayidx.exp
10079 * gdb.base/assign.exp
10080 * gdb.base/attach.exp
10081 * gdb.base/auxv.exp
10082 * gdb.base/bang.exp
10083 * gdb.base/bfp-test.exp
10084 * gdb.base/bigcore.exp
10085 * gdb.base/bitfields2.exp
10086 * gdb.base/break-fun-addr.exp
10087 * gdb.base/break-probes.exp
10088 * gdb.base/call-rt-st.exp
10089 * gdb.base/callexit.exp
10090 * gdb.base/catch-fork-kill.exp
10091 * gdb.base/charset.exp
10092 * gdb.base/checkpoint.exp
10093 * gdb.base/comprdebug.exp
10094 * gdb.base/constvars.exp
10095 * gdb.base/coredump-filter.exp
10096 * gdb.base/cursal.exp
10097 * gdb.base/cvexpr.exp
10098 * gdb.base/detach.exp
10099 * gdb.base/display.exp
10100 * gdb.base/dmsym.exp
10101 * gdb.base/dprintf-pending.exp
10102 * gdb.base/dso2dso.exp
10103 * gdb.base/dtrace-probe.exp
10104 * gdb.base/dump.exp
10105 * gdb.base/enum_cond.exp
10106 * gdb.base/exe-lock.exp
10107 * gdb.base/exec-invalid-sysroot.exp
10108 * gdb.base/execl-update-breakpoints.exp
10109 * gdb.base/exprs.exp
10110 * gdb.base/fileio.exp
10111 * gdb.base/find.exp
10112 * gdb.base/finish.exp
10113 * gdb.base/fixsection.exp
10114 * gdb.base/foll-vfork.exp
10115 * gdb.base/frame-args.exp
10116 * gdb.base/gcore.exp
10117 * gdb.base/gdb1250.exp
10118 * gdb.base/global-var-nested-by-dso.exp
10119 * gdb.base/gnu-ifunc.exp
10120 * gdb.base/hashline1.exp
10121 * gdb.base/hashline2.exp
10122 * gdb.base/hashline3.exp
10123 * gdb.base/hbreak-in-shr-unsupported.exp
10124 * gdb.base/huge.exp
10125 * gdb.base/infcall-input.exp
10126 * gdb.base/info-fun.exp
10127 * gdb.base/info-shared.exp
10128 * gdb.base/jit-simple.exp
10129 * gdb.base/jit-so.exp
10130 * gdb.base/jit.exp
10131 * gdb.base/jump.exp
10132 * gdb.base/label.exp
10133 * gdb.base/lineinc.exp
10134 * gdb.base/logical.exp
10135 * gdb.base/longjmp.exp
10136 * gdb.base/macscp.exp
10137 * gdb.base/miscexprs.exp
10138 * gdb.base/new-ui-echo.exp
10139 * gdb.base/new-ui-pending-input.exp
10140 * gdb.base/new-ui.exp
10141 * gdb.base/nodebug.exp
10142 * gdb.base/nofield.exp
10143 * gdb.base/offsets.exp
10144 * gdb.base/overlays.exp
10145 * gdb.base/pending.exp
10146 * gdb.base/pointers.exp
10147 * gdb.base/pr11022.exp
10148 * gdb.base/printcmds.exp
10149 * gdb.base/prologue.exp
10150 * gdb.base/ptr-typedef.exp
10151 * gdb.base/realname-expand.exp
10152 * gdb.base/relativedebug.exp
10153 * gdb.base/relocate.exp
10154 * gdb.base/remote.exp
10155 * gdb.base/reread.exp
10156 * gdb.base/return2.exp
10157 * gdb.base/savedregs.exp
10158 * gdb.base/sep.exp
10159 * gdb.base/sepdebug.exp
10160 * gdb.base/sepsymtab.exp
10161 * gdb.base/set-inferior-tty.exp
10162 * gdb.base/setshow.exp
10163 * gdb.base/shlib-call.exp
10164 * gdb.base/sigaltstack.exp
10165 * gdb.base/siginfo-addr.exp
10166 * gdb.base/signals.exp
10167 * gdb.base/signull.exp
10168 * gdb.base/sigrepeat.exp
10169 * gdb.base/so-impl-ld.exp
10170 * gdb.base/solib-display.exp
10171 * gdb.base/solib-overlap.exp
10172 * gdb.base/solib-search.exp
10173 * gdb.base/solib-symbol.exp
10174 * gdb.base/structs.exp
10175 * gdb.base/structs2.exp
10176 * gdb.base/symtab-search-order.exp
10177 * gdb.base/twice.exp
10178 * gdb.base/unload.exp
10179 * gdb.base/varargs.exp
10180 * gdb.base/watchpoint-solib.exp
10181 * gdb.base/watchpoint.exp
10182 * gdb.base/whatis.exp
10183 * gdb.base/wrong_frame_bt_full.exp
10184 * gdb.btrace/dlopen.exp
10185 * gdb.cell/ea-standalone.exp
10186 * gdb.cell/ea-test.exp
10187 * gdb.cp/dispcxx.exp
10188 * gdb.cp/gdb2384.exp
10189 * gdb.cp/method2.exp
10190 * gdb.cp/nextoverthrow.exp
10191 * gdb.cp/pr10728.exp
10192 * gdb.disasm/am33.exp
10193 * gdb.disasm/h8300s.exp
10194 * gdb.disasm/mn10300.exp
10195 * gdb.disasm/sh3.exp
10196 * gdb.dwarf2/dw2-dir-file-name.exp
10197 * gdb.fortran/complex.exp
10198 * gdb.fortran/library-module.exp
10199 * gdb.guile/scm-pretty-print.exp
10200 * gdb.guile/scm-symbol.exp
10201 * gdb.guile/scm-type.exp
10202 * gdb.guile/scm-value.exp
10203 * gdb.linespec/linespec.exp
10204 * gdb.mi/gdb701.exp
10205 * gdb.mi/gdb792.exp
10206 * gdb.mi/mi-breakpoint-changed.exp
10207 * gdb.mi/mi-dprintf-pending.exp
10208 * gdb.mi/mi-dprintf.exp
10209 * gdb.mi/mi-exit-code.exp
10210 * gdb.mi/mi-pending.exp
10211 * gdb.mi/mi-solib.exp
10212 * gdb.mi/new-ui-mi-sync.exp
10213 * gdb.mi/pr11022.exp
10214 * gdb.mi/user-selected-context-sync.exp
10215 * gdb.opt/solib-intra-step.exp
10216 * gdb.python/py-events.exp
10217 * gdb.python/py-finish-breakpoint.exp
10218 * gdb.python/py-mi.exp
10219 * gdb.python/py-prettyprint.exp
10220 * gdb.python/py-shared.exp
10221 * gdb.python/py-symbol.exp
10222 * gdb.python/py-template.exp
10223 * gdb.python/py-type.exp
10224 * gdb.python/py-value.exp
10225 * gdb.reverse/solib-precsave.exp
10226 * gdb.reverse/solib-reverse.exp
10227 * gdb.server/solib-list.exp
10228 * gdb.stabs/weird.exp
10229 * gdb.threads/reconnect-signal.exp
10230 * gdb.threads/stepi-random-signal.exp
10231 * gdb.trace/actions.exp
10232 * gdb.trace/ax.exp
10233 * gdb.trace/backtrace.exp
10234 * gdb.trace/change-loc.exp
10235 * gdb.trace/deltrace.exp
10236 * gdb.trace/ftrace-lock.exp
10237 * gdb.trace/ftrace.exp
10238 * gdb.trace/infotrace.exp
10239 * gdb.trace/mi-tracepoint-changed.exp
10240 * gdb.trace/packetlen.exp
10241 * gdb.trace/passcount.exp
10242 * gdb.trace/pending.exp
10243 * gdb.trace/range-stepping.exp
10244 * gdb.trace/report.exp
10245 * gdb.trace/stap-trace.exp
10246 * gdb.trace/tfind.exp
10247 * gdb.trace/trace-break.exp
10248 * gdb.trace/trace-condition.exp
10249 * gdb.trace/trace-enable-disable.exp
10250 * gdb.trace/trace-mt.exp
10251 * gdb.trace/tracecmd.exp
10252 * gdb.trace/tspeed.exp
10253 * gdb.trace/tsv.exp
10254 * lib/perftest.exp
10255
fb9feb35
LM
102562016-12-01 Luis Machado <lgustavo@codesourcery.com>
10257
10258 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10259 with gdb_test_no_output.
10260 Use command as test name.
10261
cd2ddb6c
LM
102622016-12-01 Luis Machado <lgustavo@codesourcery.com>
10263
10264 Fix test names starting with uppercase throughout the files.
10265
10266 * gdb.ada/assign_1.exp
10267 * gdb.ada/boolean_expr.exp
10268 * gdb.base/arrayidx.exp
10269 * gdb.base/del.exp
10270 * gdb.base/gcore-buffer-overflow.exp
10271 * gdb.base/testenv.exp
10272 * gdb.compile/compile.exp
10273 * gdb.python/py-framefilter-invalidarg.exp
10274 * gdb.python/py-framefilter.exp
10275
bb95117e
LM
102762016-12-01 Luis Machado <lgustavo@codesourcery.com>
10277
10278 Fix test names starting with uppercase throughout the files.
10279
10280 * gdb.ada/array_return.exp
10281 * gdb.ada/expr_delims.exp
10282 * gdb.ada/mi_dyn_arr.exp
10283 * gdb.ada/mi_interface.exp
10284 * gdb.ada/mi_var_array.exp
10285 * gdb.ada/watch_arg.exp
10286 * gdb.arch/alpha-step.exp
10287 * gdb.arch/altivec-regs.exp
10288 * gdb.arch/e500-regs.exp
10289 * gdb.arch/powerpc-d128-regs.exp
10290 * gdb.base/arrayidx.exp
10291 * gdb.base/break.exp
10292 * gdb.base/checkpoint.exp
10293 * gdb.base/debug-expr.exp
10294 * gdb.base/dmsym.exp
10295 * gdb.base/radix.exp
10296 * gdb.base/sepdebug.exp
10297 * gdb.base/testenv.exp
10298 * gdb.base/watch_thread_num.exp
10299 * gdb.base/watchpoint-cond-gone.exp
10300 * gdb.cell/break.exp
10301 * gdb.cell/ea-cache.exp
10302 * gdb.compile/compile.exp
10303 * gdb.cp/gdb2495.exp
10304 * gdb.gdb/selftest.exp
10305 * gdb.gdb/xfullpath.exp
10306 * gdb.go/hello.exp
10307 * gdb.go/integers.exp
10308 * gdb.objc/basicclass.exp
10309 * gdb.pascal/hello.exp
10310 * gdb.pascal/integers.exp
10311 * gdb.python/py-breakpoint.exp
10312 * gdb.python/py-cmd.exp
10313 * gdb.python/py-linetable.exp
10314 * gdb.python/py-xmethods.exp
10315 * gdb.python/python.exp
10316 * gdb.reverse/consecutive-precsave.exp
10317 * gdb.reverse/finish-precsave.exp
10318 * gdb.reverse/i386-precsave.exp
10319 * gdb.reverse/machinestate-precsave.exp
10320 * gdb.reverse/sigall-precsave.exp
10321 * gdb.reverse/solib-precsave.exp
10322 * gdb.reverse/step-precsave.exp
10323 * gdb.reverse/until-precsave.exp
10324 * gdb.reverse/watch-precsave.exp
10325 * gdb.threads/leader-exit.exp
10326 * gdb.threads/pthreads.exp
10327 * gdb.threads/wp-replication.exp
10328 * gdb.trace/actions.exp
10329 * gdb.trace/mi-tsv-changed.exp
10330 * gdb.trace/tsv.exp
10331
de97fdd4
LM
103322016-12-01 Luis Machado <lgustavo@codesourcery.com>
10333
10334 Fix test names starting with uppercase throughout the files.
10335
10336 * gdb.arch/i386-bp_permanent.exp
10337 * gdb.arch/i386-gnu-cfi.exp
10338 * gdb.base/disasm-end-cu.exp
10339 * gdb.base/macscp.exp
10340 * gdb.base/pending.exp
10341 * gdb.base/watch_thread_num.exp
10342 * gdb.cp/exception.exp
10343 * gdb.cp/gdb2495.exp
10344 * gdb.cp/local.exp
10345 * gdb.python/py-evsignal.exp
10346 * gdb.python/python.exp
10347 * gdb.trace/tracecmd.exp
10348
9f058c10
LM
103492016-12-01 Luis Machado <lgustavo@codesourcery.com>
10350
10351 Fix test names starting with uppercase throughout the files.
10352
10353 * gdb.base/charset.exp
10354 * gdb.base/eval.exp
10355 * gdb.base/multi-forks.exp
10356 * gdb.guile/scm-progspace.exp
10357 * gdb.opencl/datatypes.exp
10358 * gdb.python/py-block.exp
10359 * gdb.python/py-function.exp
10360 * gdb.python/py-symbol.exp
10361 * gdb.python/py-symtab.exp
10362 * gdb.python/py-xmethods.exp
10363 * gdb.reverse/break-precsave.exp
10364 * gdb.reverse/break-reverse.exp
10365 * gdb.reverse/consecutive-precsave.exp
10366 * gdb.reverse/consecutive-reverse.exp
10367 * gdb.reverse/finish-precsave.exp
10368 * gdb.reverse/finish-reverse-bkpt.exp
10369 * gdb.reverse/finish-reverse.exp
10370 * gdb.reverse/fstatat-reverse.exp
10371 * gdb.reverse/getresuid-reverse.exp
10372 * gdb.reverse/i386-precsave.exp
10373 * gdb.reverse/i386-reverse.exp
10374 * gdb.reverse/i386-sse-reverse.exp
10375 * gdb.reverse/i387-stack-reverse.exp
10376 * gdb.reverse/insn-reverse.exp
10377 * gdb.reverse/machinestate-precsave.exp
10378 * gdb.reverse/machinestate.exp
10379 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10380 * gdb.reverse/pipe-reverse.exp
10381 * gdb.reverse/readv-reverse.exp
10382 * gdb.reverse/recvmsg-reverse.exp
10383 * gdb.reverse/rerun-prec.exp
10384 * gdb.reverse/s390-mvcle.exp
10385 * gdb.reverse/sigall-precsave.exp
10386 * gdb.reverse/sigall-reverse.exp
10387 * gdb.reverse/solib-precsave.exp
10388 * gdb.reverse/solib-reverse.exp
10389 * gdb.reverse/step-precsave.exp
10390 * gdb.reverse/step-reverse.exp
10391 * gdb.reverse/time-reverse.exp
10392 * gdb.reverse/until-precsave.exp
10393 * gdb.reverse/until-reverse.exp
10394 * gdb.reverse/waitpid-reverse.exp
10395 * gdb.reverse/watch-precsave.exp
10396 * gdb.reverse/watch-reverse.exp
10397
cdc7edd7
LM
103982016-12-01 Luis Machado <lgustavo@codesourcery.com>
10399
10400 Fix test names starting with uppercase throughout the files.
10401
10402 * gdb.arch/i386-mpx-simple_segv.exp
10403 * gdb.arch/i386-mpx.exp
10404 * gdb.arch/i386-permbkpt.exp
10405 * gdb.arch/pa-nullify.exp
10406 * gdb.arch/powerpc-d128-regs.exp
10407 * gdb.arch/vsx-regs.exp
10408 * gdb.base/bfp-test.exp
10409 * gdb.base/break.exp
10410 * gdb.base/breakpoint-shadow.exp
10411 * gdb.base/callfuncs.exp
10412 * gdb.base/charset.exp
10413 * gdb.base/commands.exp
10414 * gdb.base/completion.exp
10415 * gdb.base/dfp-test.exp
10416 * gdb.base/echo.exp
10417 * gdb.base/ending-run.exp
10418 * gdb.base/eval.exp
10419 * gdb.base/expand-psymtabs.exp
10420 * gdb.base/float128.exp
10421 * gdb.base/floatn.exp
10422 * gdb.base/foll-exec-mode.exp
10423 * gdb.base/gdb1056.exp
10424 * gdb.base/gdb11531.exp
10425 * gdb.base/kill-after-signal.exp
10426 * gdb.base/multi-forks.exp
10427 * gdb.base/overlays.exp
10428 * gdb.base/pending.exp
10429 * gdb.base/sepdebug.exp
10430 * gdb.base/testenv.exp
10431 * gdb.base/valgrind-db-attach.exp
10432 * gdb.base/watch_thread_num.exp
10433 * gdb.base/watchpoint-cond-gone.exp
10434 * gdb.base/watchpoint.exp
10435 * gdb.base/watchpoints.exp
10436 * gdb.cp/arg-reference.exp
10437 * gdb.cp/baseenum.exp
10438 * gdb.cp/operator.exp
10439 * gdb.cp/shadow.exp
10440 * gdb.dwarf2/dw2-op-out-param.exp
10441 * gdb.dwarf2/dw2-reg-undefined.exp
10442 * gdb.go/chan.exp
10443 * gdb.go/hello.exp
10444 * gdb.go/integers.exp
10445 * gdb.go/methods.exp
10446 * gdb.go/package.exp
10447 * gdb.guile/scm-parameter.exp
10448 * gdb.guile/scm-progspace.exp
10449 * gdb.guile/scm-value.exp
10450 * gdb.mi/mi-pending.exp
10451 * gdb.mi/user-selected-context-sync.exp
10452 * gdb.multi/multi-attach.exp
10453 * gdb.multi/tids.exp
10454 * gdb.opt/clobbered-registers-O2.exp
10455 * gdb.pascal/floats.exp
10456 * gdb.pascal/integers.exp
10457 * gdb.python/py-block.exp
10458 * gdb.python/py-events.exp
10459 * gdb.python/py-parameter.exp
10460 * gdb.python/py-symbol.exp
10461 * gdb.python/py-symtab.exp
10462 * gdb.python/py-type.exp
10463 * gdb.python/py-value.exp
10464 * gdb.python/py-xmethods.exp
10465 * gdb.python/python.exp
10466 * gdb.reverse/break-precsave.exp
10467 * gdb.reverse/consecutive-precsave.exp
10468 * gdb.reverse/finish-precsave.exp
10469 * gdb.reverse/i386-precsave.exp
10470 * gdb.reverse/machinestate-precsave.exp
10471 * gdb.reverse/sigall-precsave.exp
10472 * gdb.reverse/solib-precsave.exp
10473 * gdb.reverse/step-precsave.exp
10474 * gdb.reverse/until-precsave.exp
10475 * gdb.reverse/watch-precsave.exp
10476 * gdb.server/ext-attach.exp
10477 * gdb.server/ext-restart.exp
10478 * gdb.server/ext-run.exp
10479 * gdb.server/ext-wrapper.exp
10480 * gdb.stabs/gdb11479.exp
10481 * gdb.stabs/weird.exp
10482 * gdb.threads/attach-many-short-lived-threads.exp
10483 * gdb.threads/kill.exp
10484 * gdb.threads/watchpoint-fork.exp
10485
bc6c7af4
LM
104862016-12-01 Luis Machado <lgustavo@codesourcery.com>
10487
10488 Fix test names starting with uppercase throughout all the files below.
10489
10490 * gdb.ada/array_return.exp
10491 * gdb.ada/catch_ex.exp
10492 * gdb.ada/info_exc.exp
10493 * gdb.ada/mi_catch_ex.exp
10494 * gdb.ada/mi_dyn_arr.exp
10495 * gdb.ada/mi_ex_cond.exp
10496 * gdb.ada/mi_exc_info.exp
10497 * gdb.ada/mi_interface.exp
10498 * gdb.ada/mi_task_arg.exp
10499 * gdb.ada/mi_task_info.exp
10500 * gdb.ada/mi_var_array.exp
10501 * gdb.arch/alpha-step.exp
10502 * gdb.arch/amd64-disp-step.exp
10503 * gdb.arch/arm-disp-step.exp
10504 * gdb.arch/disp-step-insn-reloc.exp
10505 * gdb.arch/e500-prologue.exp
10506 * gdb.arch/ftrace-insn-reloc.exp
10507 * gdb.arch/gdb1558.exp
10508 * gdb.arch/i386-bp_permanent.exp
10509 * gdb.arch/i386-disp-step.exp
10510 * gdb.arch/i386-float.exp
10511 * gdb.arch/i386-gnu-cfi.exp
10512 * gdb.arch/ia64-breakpoint-shadow.exp
10513 * gdb.arch/mips16-thunks.exp
10514 * gdb.arch/pa-nullify.exp
10515 * gdb.arch/powerpc-aix-prologue.exp
10516 * gdb.arch/powerpc-power.exp
10517 * gdb.arch/ppc-dfp.exp
10518 * gdb.arch/s390-tdbregs.exp
10519 * gdb.arch/spu-info.exp
10520 * gdb.arch/spu-ls.exp
10521 * gdb.arch/thumb-bx-pc.exp
10522 * gdb.base/advance.exp
10523 * gdb.base/annota-input-while-running.exp
10524 * gdb.base/arrayidx.exp
10525 * gdb.base/asmlabel.exp
10526 * gdb.base/async.exp
10527 * gdb.base/attach-wait-input.exp
10528 * gdb.base/auto-connect-native-target.exp
10529 * gdb.base/batch-preserve-term-settings.exp
10530 * gdb.base/bfp-test.exp
10531 * gdb.base/bigcore.exp
10532 * gdb.base/bp-permanent.exp
10533 * gdb.base/break-always.exp
10534 * gdb.base/break-fun-addr.exp
10535 * gdb.base/break-idempotent.exp
10536 * gdb.base/break-main-file-remove-fail.exp
10537 * gdb.base/break-probes.exp
10538 * gdb.base/break-unload-file.exp
10539 * gdb.base/break.exp
10540 * gdb.base/call-ar-st.exp
10541 * gdb.base/call-rt-st.exp
10542 * gdb.base/call-sc.exp
10543 * gdb.base/call-signal-resume.exp
10544 * gdb.base/call-strs.exp
10545 * gdb.base/callexit.exp
10546 * gdb.base/callfuncs.exp
10547 * gdb.base/catch-gdb-caused-signals.exp
10548 * gdb.base/catch-signal-siginfo-cond.exp
10549 * gdb.base/catch-syscall.exp
10550 * gdb.base/compare-sections.exp
10551 * gdb.base/cond-eval-mode.exp
10552 * gdb.base/condbreak-call-false.exp
10553 * gdb.base/consecutive-step-over.exp
10554 * gdb.base/cursal.exp
10555 * gdb.base/disabled-location.exp
10556 * gdb.base/disasm-end-cu.exp
10557 * gdb.base/display.exp
10558 * gdb.base/double-prompt-target-event-error.exp
10559 * gdb.base/dprintf-bp-same-addr.exp
10560 * gdb.base/dprintf-detach.exp
10561 * gdb.base/dprintf-next.exp
10562 * gdb.base/dprintf-non-stop.exp
10563 * gdb.base/dprintf-pending.exp
10564 * gdb.base/dso2dso.exp
10565 * gdb.base/ending-run.exp
10566 * gdb.base/enum_cond.exp
10567 * gdb.base/examine-backward.exp
10568 * gdb.base/exe-lock.exp
10569 * gdb.base/exec-invalid-sysroot.exp
10570 * gdb.base/execl-update-breakpoints.exp
10571 * gdb.base/execution-termios.exp
10572 * gdb.base/fileio.exp
10573 * gdb.base/fixsection.exp
10574 * gdb.base/foll-exec-mode.exp
10575 * gdb.base/foll-exec.exp
10576 * gdb.base/fork-running-state.exp
10577 * gdb.base/frame-args.exp
10578 * gdb.base/fullpath-expand.exp
10579 * gdb.base/func-ptr.exp
10580 * gdb.base/gcore-relro-pie.exp
10581 * gdb.base/gdb1090.exp
10582 * gdb.base/gdb1555.exp
10583 * gdb.base/global-var-nested-by-dso.exp
10584 * gdb.base/gnu-ifunc.exp
10585 * gdb.base/hbreak-in-shr-unsupported.exp
10586 * gdb.base/hbreak-unmapped.exp
10587 * gdb.base/hook-stop.exp
10588 * gdb.base/infcall-input.exp
10589 * gdb.base/info-fun.exp
10590 * gdb.base/info-shared.exp
10591 * gdb.base/interrupt-noterm.exp
10592 * gdb.base/jit-so.exp
10593 * gdb.base/jit.exp
10594 * gdb.base/line-symtabs.exp
10595 * gdb.base/list.exp
10596 * gdb.base/longjmp.exp
10597 * gdb.base/macscp.exp
10598 * gdb.base/max-value-size.exp
10599 * gdb.base/nodebug.exp
10600 * gdb.base/nofield.exp
10601 * gdb.base/overlays.exp
10602 * gdb.base/paginate-after-ctrl-c-running.exp
10603 * gdb.base/paginate-bg-execution.exp
10604 * gdb.base/paginate-inferior-exit.exp
10605 * gdb.base/pending.exp
10606 * gdb.base/pr11022.exp
10607 * gdb.base/printcmds.exp
10608 * gdb.base/ptr-typedef.exp
10609 * gdb.base/ptype.exp
10610 * gdb.base/randomize.exp
10611 * gdb.base/range-stepping.exp
10612 * gdb.base/realname-expand.exp
10613 * gdb.base/relativedebug.exp
10614 * gdb.base/remote.exp
10615 * gdb.base/savedregs.exp
10616 * gdb.base/sepdebug.exp
10617 * gdb.base/set-noassign.exp
10618 * gdb.base/shlib-call.exp
10619 * gdb.base/shreloc.exp
10620 * gdb.base/sigaltstack.exp
10621 * gdb.base/sigbpt.exp
10622 * gdb.base/siginfo-addr.exp
10623 * gdb.base/siginfo-obj.exp
10624 * gdb.base/siginfo-thread.exp
10625 * gdb.base/signest.exp
10626 * gdb.base/signull.exp
10627 * gdb.base/sigrepeat.exp
10628 * gdb.base/skip.exp
10629 * gdb.base/so-impl-ld.exp
10630 * gdb.base/solib-corrupted.exp
10631 * gdb.base/solib-disc.exp
10632 * gdb.base/solib-display.exp
10633 * gdb.base/solib-overlap.exp
10634 * gdb.base/solib-search.exp
10635 * gdb.base/solib-symbol.exp
10636 * gdb.base/source-execution.exp
10637 * gdb.base/sss-bp-on-user-bp-2.exp
10638 * gdb.base/sss-bp-on-user-bp.exp
10639 * gdb.base/stack-checking.exp
10640 * gdb.base/stale-infcall.exp
10641 * gdb.base/step-break.exp
10642 * gdb.base/step-line.exp
10643 * gdb.base/step-over-exit.exp
10644 * gdb.base/step-test.exp
10645 * gdb.base/structs.exp
10646 * gdb.base/sym-file.exp
10647 * gdb.base/symtab-search-order.exp
10648 * gdb.base/term.exp
10649 * gdb.base/type-opaque.exp
10650 * gdb.base/unload.exp
10651 * gdb.base/until-nodebug.exp
10652 * gdb.base/until.exp
10653 * gdb.base/unwindonsignal.exp
10654 * gdb.base/watch-cond.exp
10655 * gdb.base/watch-non-mem.exp
10656 * gdb.base/watch_thread_num.exp
10657 * gdb.base/watchpoint-reuse-slot.exp
10658 * gdb.base/watchpoint-solib.exp
10659 * gdb.base/watchpoint.exp
10660 * gdb.btrace/dlopen.exp
10661 * gdb.cell/arch.exp
10662 * gdb.cell/break.exp
10663 * gdb.cell/bt.exp
10664 * gdb.cell/core.exp
10665 * gdb.cell/data.exp
10666 * gdb.cell/dwarfaddr.exp
10667 * gdb.cell/ea-cache.exp
10668 * gdb.cell/ea-standalone.exp
10669 * gdb.cell/ea-test.exp
10670 * gdb.cell/f-regs.exp
10671 * gdb.cell/fork.exp
10672 * gdb.cell/gcore.exp
10673 * gdb.cell/mem-access.exp
10674 * gdb.cell/ptype.exp
10675 * gdb.cell/registers.exp
10676 * gdb.cell/sizeof.exp
10677 * gdb.cell/solib-symbol.exp
10678 * gdb.cell/solib.exp
10679 * gdb.compile/compile-tls.exp
10680 * gdb.cp/exception.exp
10681 * gdb.cp/gdb2495.exp
10682 * gdb.cp/local.exp
10683 * gdb.cp/mb-inline.exp
10684 * gdb.cp/mb-templates.exp
10685 * gdb.cp/pr10687.exp
10686 * gdb.cp/pr9167.exp
10687 * gdb.cp/scope-err.exp
10688 * gdb.cp/templates.exp
10689 * gdb.cp/virtfunc.exp
10690 * gdb.dwarf2/dw2-dir-file-name.exp
10691 * gdb.dwarf2/dw2-single-line-discriminators.exp
10692 * gdb.fortran/complex.exp
10693 * gdb.fortran/library-module.exp
10694 * gdb.guile/guile.exp
10695 * gdb.guile/scm-cmd.exp
10696 * gdb.guile/scm-frame-inline.exp
10697 * gdb.guile/scm-objfile.exp
10698 * gdb.guile/scm-pretty-print.exp
10699 * gdb.guile/scm-symbol.exp
10700 * gdb.guile/scm-type.exp
10701 * gdb.guile/scm-value.exp
10702 * gdb.linespec/keywords.exp
10703 * gdb.linespec/ls-errs.exp
10704 * gdb.linespec/macro-relative.exp
10705 * gdb.linespec/thread.exp
10706 * gdb.mi/mi-breakpoint-changed.exp
10707 * gdb.mi/mi-dprintf-pending.exp
10708 * gdb.mi/mi-fullname-deleted.exp
10709 * gdb.mi/mi-logging.exp
10710 * gdb.mi/mi-pending.exp
10711 * gdb.mi/mi-solib.exp
10712 * gdb.mi/new-ui-mi-sync.exp
10713 * gdb.mi/user-selected-context-sync.exp
10714 * gdb.multi/dummy-frame-restore.exp
10715 * gdb.multi/multi-arch-exec.exp
10716 * gdb.multi/remove-inferiors.exp
10717 * gdb.multi/watchpoint-multi-exit.exp
10718 * gdb.opt/solib-intra-step.exp
10719 * gdb.perf/backtrace.exp
10720 * gdb.perf/single-step.exp
10721 * gdb.perf/skip-command.exp
10722 * gdb.perf/skip-prologue.exp
10723 * gdb.perf/solib.exp
10724 * gdb.python/lib-types.exp
10725 * gdb.python/py-as-string.exp
10726 * gdb.python/py-bad-printers.exp
10727 * gdb.python/py-block.exp
10728 * gdb.python/py-breakpoint.exp
10729 * gdb.python/py-cmd.exp
10730 * gdb.python/py-events.exp
10731 * gdb.python/py-evthreads.exp
10732 * gdb.python/py-finish-breakpoint.exp
10733 * gdb.python/py-finish-breakpoint2.exp
10734 * gdb.python/py-frame-inline.exp
10735 * gdb.python/py-frame.exp
10736 * gdb.python/py-inferior.exp
10737 * gdb.python/py-infthread.exp
10738 * gdb.python/py-mi.exp
10739 * gdb.python/py-objfile.exp
10740 * gdb.python/py-pp-maint.exp
10741 * gdb.python/py-pp-registration.exp
10742 * gdb.python/py-prettyprint.exp
10743 * gdb.python/py-recurse-unwind.exp
10744 * gdb.python/py-shared.exp
10745 * gdb.python/py-symbol.exp
10746 * gdb.python/py-symtab.exp
10747 * gdb.python/py-template.exp
10748 * gdb.python/py-type.exp
10749 * gdb.python/py-unwind-maint.exp
10750 * gdb.python/py-unwind.exp
10751 * gdb.python/py-value.exp
10752 * gdb.python/python.exp
10753 * gdb.reverse/finish-reverse-bkpt.exp
10754 * gdb.reverse/insn-reverse.exp
10755 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10756 * gdb.reverse/solib-precsave.exp
10757 * gdb.reverse/solib-reverse.exp
10758 * gdb.stabs/gdb11479.exp
10759 * gdb.stabs/weird.exp
10760 * gdb.threads/fork-child-threads.exp
10761 * gdb.threads/fork-plus-threads.exp
10762 * gdb.threads/fork-thread-pending.exp
10763 * gdb.threads/forking-threads-plus-breakpoint.exp
10764 * gdb.threads/hand-call-in-threads.exp
10765 * gdb.threads/interrupted-hand-call.exp
10766 * gdb.threads/linux-dp.exp
10767 * gdb.threads/local-watch-wrong-thread.exp
10768 * gdb.threads/next-while-other-thread-longjmps.exp
10769 * gdb.threads/non-ldr-exit.exp
10770 * gdb.threads/pending-step.exp
10771 * gdb.threads/print-threads.exp
10772 * gdb.threads/process-dies-while-detaching.exp
10773 * gdb.threads/process-dies-while-handling-bp.exp
10774 * gdb.threads/pthreads.exp
10775 * gdb.threads/queue-signal.exp
10776 * gdb.threads/reconnect-signal.exp
10777 * gdb.threads/signal-command-handle-nopass.exp
10778 * gdb.threads/signal-command-multiple-signals-pending.exp
10779 * gdb.threads/signal-delivered-right-thread.exp
10780 * gdb.threads/signal-sigtrap.exp
10781 * gdb.threads/sigthread.exp
10782 * gdb.threads/staticthreads.exp
10783 * gdb.threads/stepi-random-signal.exp
10784 * gdb.threads/thread-unwindonsignal.exp
10785 * gdb.threads/thread_check.exp
10786 * gdb.threads/thread_events.exp
10787 * gdb.threads/tid-reuse.exp
10788 * gdb.threads/tls-nodebug.exp
10789 * gdb.threads/tls-shared.exp
10790 * gdb.threads/tls-so_extern.exp
10791 * gdb.threads/tls.exp
10792 * gdb.threads/wp-replication.exp
10793 * gdb.trace/actions-changed.exp
10794 * gdb.trace/actions.exp
10795 * gdb.trace/backtrace.exp
10796 * gdb.trace/change-loc.exp
10797 * gdb.trace/collection.exp
10798 * gdb.trace/deltrace.exp
10799 * gdb.trace/disconnected-tracing.exp
10800 * gdb.trace/entry-values.exp
10801 * gdb.trace/ftrace-lock.exp
10802 * gdb.trace/ftrace.exp
10803 * gdb.trace/infotrace.exp
10804 * gdb.trace/mi-trace-frame-collected.exp
10805 * gdb.trace/mi-trace-unavailable.exp
10806 * gdb.trace/mi-traceframe-changed.exp
10807 * gdb.trace/mi-tracepoint-changed.exp
10808 * gdb.trace/mi-tsv-changed.exp
10809 * gdb.trace/no-attach-trace.exp
10810 * gdb.trace/packetlen.exp
10811 * gdb.trace/passc-dyn.exp
10812 * gdb.trace/passcount.exp
10813 * gdb.trace/pending.exp
10814 * gdb.trace/pr16508.exp
10815 * gdb.trace/qtro.exp
10816 * gdb.trace/range-stepping.exp
10817 * gdb.trace/read-memory.exp
10818 * gdb.trace/report.exp
10819 * gdb.trace/save-trace.exp
10820 * gdb.trace/signal.exp
10821 * gdb.trace/stap-trace.exp
10822 * gdb.trace/status-stop.exp
10823 * gdb.trace/strace.exp
10824 * gdb.trace/tfile.exp
10825 * gdb.trace/tfind.exp
10826 * gdb.trace/trace-break.exp
10827 * gdb.trace/trace-condition.exp
10828 * gdb.trace/trace-enable-disable.exp
10829 * gdb.trace/trace-mt.exp
10830 * gdb.trace/tracecmd.exp
10831 * gdb.trace/tracefile-pseudo-reg.exp
10832 * gdb.trace/tspeed.exp
10833 * gdb.trace/tstatus.exp
10834 * gdb.trace/tsv.exp
10835 * gdb.trace/unavailable.exp
10836 * gdb.trace/while-dyn.exp
10837 * gdb.trace/while-stepping.exp
10838 * lib/gdb-guile.exp
10839 * lib/gdb.exp
10840 * lib/mi-support.exp
10841 * lib/pascal.exp
10842 * lib/perftest.exp
10843 * lib/prelink-support.exp
10844 * lib/selftest-support.exp
10845
ad02e4fe
SM
108462016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10847
10848 * Makefile.in: Include disable-implicit-rules.mk.
10849
22347e55
AA
108502016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10851
10852 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10853 non-byte-aligned bit fields.
10854
da5b30da
AA
108552016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10856
10857 PR gdb/12616
10858 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10859 respects the DW_AT_data_bit_offset attribute.
10860
b593ecca
SM
108612016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10862
10863 * gdb.base/default.exp: Fix output of "set language".
10864
3b165252
SM
108652016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10866
10867 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10868 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10869 make.
10870 * configure.ac: Remove checks for the make program.
10871 * configure: Re-generate.
10872
1a2f3d7f
KB
108732016-11-16 Kevin Buettner <kevinb@redhat.com>
10874
10875 * gdb.python/py-recurse-unwind.c (main): Add loop.
10876 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10877 to read_register() and gdb.parse_and_eval(). Make each code
10878 call a separate case that can be individually tested.
10879 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10880 proc. Call cont_and_backtrace for each of the code paths that
10881 we want to test in the unwinder.
10882
b7f38fda
AA
108832016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10884
10885 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10886 the definition of struct S.
10887
1f8db343
CM
108882016-11-11 Catherine Moore <clm@codesourcery.com>
10889
10890 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10891
fad0c9fb
PA
108922016-11-09 Pedro Alves <palves@redhat.com>
10893
10894 * gdb.base/commands.exp (runto_or_return): New procedure.
10895 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10896 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10897 (progvar_simple_while_test, progvar_complex_if_while_test)
10898 (if_while_breakpoint_command_test)
10899 (infrun_breakpoint_command_test, breakpoint_command_test)
10900 (user_defined_command_test, watchpoint_command_test)
10901 (test_command_prompt_position, redefine_hook_test)
10902 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10903 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10904 multi_line_input and multi_line. Remove gdb_expect and
10905 gdb_stop_suppressing_tests uses.
10906 * lib/gdb.exp (valnum_re): New global.
10907 (multi_line_input): New procedure.
10908
8354c62c
SM
109092016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10910
10911 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10912 Remove.
10913 (test_setup): Define with proc_with_prefix.
10914 (test_cli_inferior): Likewise.
10915 (test_cli_thread): Likewise.
10916 (test_cli_frame): Likewise.
10917 (test_cli_select_frame): Likewise.
10918 (test_cli_up_down): Likewise.
10919 (test_mi_thread_select): Likewise.
10920 (test_mi_stack_select_frame): Likewise.
10921 (test_cli_in_mi_inferior): Likewise.
10922 (test_cli_in_mi_thread): Likewise.
10923 (test_cli_in_mi_frame): Likewise.
10924 (top level): Do not use with_test_prefix_procname.
10925
64f367a2
PA
109262016-11-09 Pedro Alves <palves@redhat.com>
10927
10928 * gdb.base/commands.exp (gdbvar_simple_if_test)
10929 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10930 (progvar_simple_if_test, progvar_simple_while_test)
10931 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10932 (infrun_breakpoint_command_test, breakpoint_command_test)
10933 (user_defined_command_test, watchpoint_command_test)
10934 (test_command_prompt_position, deprecated_command_test)
10935 (bp_deleted_in_command, temporary_breakpoint_commands)
10936 (stray_arg0_test, source_file_with_indented_comment)
10937 (recursive_source_test, if_commands_test)
10938 (error_clears_commands_left, redefine_hook_test)
10939 (redefine_backtrace_test): Use proc_with_prefix.
10940 * lib/gdb.exp (proc_with_prefix): New proc.
10941
0bb65f1e
AA
109422016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10943
10944 * gdb.base/tui-layout.c: New file.
10945 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10946 disassembly window contains very long lines.
10947
7353f247
TT
109482016-11-08 Tom Tromey <tom@tromey.com>
10949
10950 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10951 depend on Python 2.
10952
30a7bb83
TT
109532016-11-08 Tom Tromey <tom@tromey.com>
10954
10955 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10956 New method.
10957
cdf5a07c
MG
109582016-10-29 Manish Goregaokar <manish@mozilla.com>
10959
2806dc7e 10960 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10961
51a789c3
MG
109622016-10-27 Manish Goregaokar <manish@mozilla.com>
10963
2806dc7e
PA
10964 * gdb.rust/simple.rs: Add test for univariant enums without
10965 discriminants and for encoded struct-like enums.
51a789c3 10966
f610ab6d
PA
109672016-10-28 Pedro Alves <palves@redhat.com>
10968
10969 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10970 gdb_test_multiple, tighten regexps and match symtabs and line
10971 tables incrementally.
10972
b129b0ca
LM
109732016-10-28 Luis Machado <lgustavo@codesourcery.com>
10974
10975 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10976 general.
10977
ecf45d2c
SL
109782016-10-25 Luis Machado <lgustavo@codesourcery.com>
10979
10980 * gdb.base/exec-invalid-sysroot.exp: New file.
10981
b8d38ee4
JK
109822016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10983
10984 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10985
f90fd8c2
JK
109862016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10987
10988 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10989
2d2476aa
MR
109902016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10991
2806dc7e
PA
10992 * gdb.base/killed-outside.exp: Remove $options from a call to
10993 `prepare_for_testing'.
2d2476aa 10994
e42b25a0
SM
109952016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10996
10997 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10998 Change test message.
10999
3ccdb432
SM
110002016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11001
11002 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11003 Update comment.
11004
5bad3170
SM
110052016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11006
11007 * gdb.trace/mi-trace-save.exp: New file.
11008
5ad9dba7
YQ
110092016-10-13 Yao Qi <yao.qi@linaro.org>
11010
11011 * gdb.base/code_elim.exp (get_var_address): Remove.
11012 * gdb.base/relocate.exp: Likewise.
11013 * gdb.base/shreloc.exp: Likewise.
11014 * lib/gdb.exp (get_var_address): New.
11015
62df7e21
YQ
110162016-10-13 Yao Qi <yao.qi@linaro.org>
11017
11018 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11019 floating point tests if $skip_float_test is false.
11020
4dac951e
LM
110212016-10-12 Luis Machado <lgustavo@codesourcery.com>
11022
11023 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11024 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11025 argc values.
11026 Add 1 to argc so we guarantee distinct initial/modified argc values.
11027
8f1a8fc4
JK
110282016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11029
11030 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11031
16c85b5d
JK
110322016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11033
11034 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11035 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11036 * gdb.arch/vsx-regs.exp: Likewise.
11037
1d0e042a
YQ
110382016-10-07 Yao Qi <yao.qi@linaro.org>
11039
11040 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11041
68dadef5
MM
110422016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11043
11044 * gdb.python/python.exp: Test decode_line("*0").
11045
33fa2c6e
DE
110462016-10-06 Doug Evans <dje@google.com>
11047
11048 * gdb.python/py-value.exp (test_value_creation): Add test for large
11049 unsigned 64-bit value.
11050
9c37b5ae
TT
110512016-10-06 Tom Tromey <tom@tromey.com>
11052
11053 * gdb.compile/compile.exp: Change java tests to rust.
11054 * gdb.base/setshow.exp: Change java tests to rust.
11055 * gdb.base/default.exp: Remove java from language list.
11056 * README (Examples): Update language example.
11057 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11058 test.
11059 * lib/gdb.exp (skip_java_tests): Remove.
11060 * lib/java.exp: Remove.
11061 * gdb.java: Remove.
11062
78b86327
MR
110632016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11064
11065 * gdb.arch/mips-fcr.exp: New test.
11066 * gdb.arch/mips-fcr.c: Source for the new test.
11067
7470adbb
MR
110682016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11069
11070 * gdb.base/solib-disc.exp: Use `standard_output_file'
11071 throughout.
11072
4a556533
PA
110732016-10-06 Pedro Alves <palves@redhat.com>
11074
11075 * gdb.base/jit-simple-dl.c: New file.
11076 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11077 * gdb.base/jit-simple.c: ... this.
11078 * gdb.base/jit-simple.exp (jit_run): Delete.
11079 (build_jit): New proc.
11080 (jit_test_reread): Recompile either the main program or the shared
11081 library, depending on what is being tested. Skip changing address
11082 if caller wants to. Compare before/after addresses. If testing
11083 standalone, explicitly load the binary. Test "maint info
11084 breakpoints".
11085 (top level): Add "standalone vs shared lib" and "change address"
11086 vs "same address" axes.
11087
5a122fbc
PA
110882016-10-06 Pedro Alves <palves@redhat.com>
11089
11090 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11091 call.
11092 (jit_run): Delete.
11093 (jit_test_reread): Use with_test_prefix. Reload the main binary
11094 explicitly. Compare the before/after addresses of the JIT
11095 descriptor.
11096
ee8da4b8
DE
110972016-08-15 Doug Evans <dje@google.com>
11098
11099 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11100 for single bitfields is bool.
11101 * gdb.xml/tdesc-regs.exp: Ditto.
11102
f389f6fe
JK
111032016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11104
11105 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11106
fdebf1a4
YQ
111072016-10-05 Yao Qi <yao.qi@linaro.org>
11108
11109 * lib/gdb.exp (support_complex_tests): Return zero if
11110 gdb_skip_float_test return true.
11111
9c36d954 111122016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11113 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
11114
11115 PR gdb/20487
11116 * gdb.mi/user-selected-context-sync.exp: New file.
11117 * gdb.mi/user-selected-context-sync.c: New file.
11118
4034d0ff 111192016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 11120 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
11121
11122 PR gdb/20487
11123 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11124 =thread-select-event check.
11125
a4297203
PB
111262016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11127
11128 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11129 the compulsory L operand changes.
11130 * gdb.arch/powerpc-power.s: Likewise.
11131
bb805577
JK
111322016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11133
11134 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11135 * gdb.base/jit-attach-pie.c: New file.
11136 * gdb.base/jit-attach-pie.exp: New file.
11137
6d61dee5
PA
111382016-09-28 Pedro Alves <palves@redhat.com>
11139
11140 * gdb.base/infcall-input.c: New file.
11141 * gdb.base/infcall-input.exp: New file.
11142
f73842fc
YQ
111432016-09-22 Yao Qi <yao.qi@linaro.org>
11144
11145 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11146 (gdb_exit): Rename it to ...
11147 (gdbserver_gdb_exit): ... Close GDBserver.
11148 (gdb_exit): New proc, call gdbserver_gdb_exit.
11149 (mi_gdb_exit): Likewise.
11150
90681dab
YQ
111512016-09-22 Yao Qi <yao.qi@linaro.org>
11152
11153 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11154 path.
11155 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11156 Remove duplication.
11157
9c211fd8
YQ
111582016-09-22 Yao Qi <yao.qi@linaro.org>
11159
11160 * lib/gdbserver-support.exp: Check the existence of
11161 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11162
ad0a504f
AK
111632016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11164
11165 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11166
36cf1806
TT
111672016-09-21 Tom Tromey <tom@tromey.com>
11168
11169 PR gdb/20604:
11170 * gdb.base/quit.exp: New file.
11171
74172ecf
SM
111722016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11173
11174 * .gitignore: New file.
11175
3d0ec882
MR
111762016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11177
11178 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11179 throughout.
11180
8193adea
AA
111812016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11182
11183 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11184
d41a5c09
JK
111852016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 * gdb.cp/casts.cc (decltype): Move it ...
11188 (main): ... with its call to ...
11189 * gdb.cp/casts03.cc: ... a new file.
11190 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11191
d2dfe700
JK
111922016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11193
11194 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11195
e2a92b16
PB
111962016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11197
11198 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11199 and sync up the test with tests in gas/testsuite/gas/ppc.
11200 * gdb.arch/powerpc-power.exp: Likewise.
11201
49b4de64
JK
112022016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11203
11204 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11205
2c29df25
SDJ
112062016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11207 Jan Kratochvil <jan.kratochvil@redhat.com>
11208
11209 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11210 make m1's definition to be different from m2's. Use 'dummy' as an
11211 argument for probe 'two'.
11212
cc3c2846
JB
112132016-09-10 Jon Beniston <jon@beniston.com>
11214
11215 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11216 for sim target.
11217
e1b2624a
AA
112182016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11219
11220 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11221 variable declaration.
11222 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11223 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11224 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11225 received HWCAP as its argument.
11226
4295e285
PA
112272016-09-06 Pedro Alves <palves@redhat.com>
11228
11229 * gdb.base/new-ui-pending-input.c: New file.
11230 * gdb.base/new-ui-pending-input.exp: New file.
11231 * gdb.exp (clear_gdb_spawn_id): New procedure.
11232 (with_spawn_id): Check whether gdb_spawn_id exists before
11233 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11234 on exit.
11235
00d5215e
UW
112362016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11237
11238 * gdb.base/float128.c: New file.
11239 * gdb.base/float128.exp: Likewise.
11240 * gdb.base/floatn.c: Likewise.
11241 * gdb.base/floatn.exp: Likewise.
11242
a9ff5f12
UW
112432016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11244
11245 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11246
f245535c
PA
112472016-09-05 Pedro Alves <palves@redhat.com>
11248
11249 PR backtrace/19927
11250 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11251 unwinders are immediately called as side effect of "source" or
11252 "disable unwinder" commands.
11253 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11254
ae9cf263
YQ
112552016-09-02 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11258 is true and $type is "float" or "double".
11259
27aba047
YQ
112602016-09-02 Yao Qi <yao.qi@linaro.org>
11261
11262 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11263 true.
11264 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11265 * gdb.base/call-rt-st.exp: Likewise.
11266 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11267 return value instead of gdb,skip_float_test.
11268 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11269 (do_function_calls): Use its return value instead of
11270 gdb,skip_float_test.
11271 * gdb.base/finish.exp: Likewise.
11272 * gdb.base/funcargs.exp: Likewise.
11273 * gdb.base/return.exp: Likewise.
11274 * gdb.base/return2.exp: Likewise.
11275 * gdb.base/varargs.exp: Likewise.
11276 * lib/gdb.exp (gdb_skip_float_test): Change it to
11277 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11278
5af962df
AA
112792016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11280
11281 * gdb.multi/tids.exp: Test "thread apply all".
11282
7fac6910
JK
112832016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11284
11285 * gdb.base/default.exp (tty): Remove.
11286
bb1fe4ac
KB
112872016-08-24 Kevin Buettner <kevinb@redhat.com>
11288
2806dc7e
PA
11289 * gdb.python/py-recurse-unwind.c: New file.
11290 * gdb.python/py-recurse-unwind.py: New file.
11291 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 11292
0a1ddfa6
SM
112932016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11294
11295 * gdb.base/set-inferior-tty.exp: New file.
11296 * gdb.base/set-inferior-tty.c: New file.
11297
d9de1fe3
PA
112982016-08-23 Pedro Alves <palves@redhat.com>
11299
11300 PR gdb/20494
11301 * gdb.base/new-ui-echo.c: New file.
11302 * gdb.base/new-ui-echo.exp: New file.
11303
e9d9abd7
YQ
113042016-08-23 Yao Qi <yao.qi@linaro.org>
11305
11306 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11307 gdbserver_spawn.
11308 * gdb.server/connect-without-multi-process.exp (do_test):
11309 Likewise.
11310
3589529e
YQ
113112016-08-23 Yao Qi <yao.qi@linaro.org>
11312
11313 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11314 standalone_txt. Delete gdb_txt and standalone_txt on host
11315 and target. Spawn the binary on target. Copy files from
11316 target to host.
11317
6bb90213
PA
113182016-08-22 Pedro Alves <palves@redhat.com>
11319
11320 PR gdb/20505
11321 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11322 with_test_prefix. Factor out bits to ...
11323 (test_no_vdso): ... this new procedure.
11324
20c2c024
CL
113252016-08-19 Carl Love <cel@us.ibm.com>
11326
11327 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11328 maintaining separate logic for constructing the output path.
11329 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11330 * gdb.arch/ppc-dfp.exp: Likewise.
11331 * gdb.arch/ppc-fp.exp: Likewise.
11332 * gdb.arch/vsx-regs.exp: Likewise.
11333 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11334 binprefix for generating the additional binary files.
11335
0646e07d
PA
113362016-08-19 Pedro Alves <palves@redhat.com>
11337
11338 * gdb.trace/mi-trace-frame-collected.exp
11339 (test_trace_frame_collected): On x32, expect two registers.
11340
46da9242
CL
113412016-08-18 Carl Love <cel@us.ibm.com>
11342
11343 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11344 and sync up the test with tests in gas/testsuite/gas/ppc.
11345 * gdb.arch/powerpc-power.exp: Likewise.
11346
eb2332d7
SM
113472016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11348
11349 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11350 expected error message.
11351
63c61e04
SM
113522016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11353
11354 * gdb.multi/remove-inferiors.exp: New file.
11355 * gdb.multi/remove-inferiors.c: New file.
11356
7b17065f
YQ
113572016-08-12 Yao Qi <yao.qi@linaro.org>
11358
11359 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11360 argument list.
11361
01d3dedf
PA
113622016-08-10 Pedro Alves <palves@redhat.com>
11363
11364 PR gdb/19187
11365 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11366 setup_kfails.
11367
3eb7562a
PA
113682016-08-09 Pedro Alves <palves@redhat.com>
11369 Simon Marchi <simon.marchi@ericsson.com>
11370
11371 PR gdb/20418
11372 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11373 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11374
80614914
PA
113752016-08-09 Pedro Alves <palves@redhat.com>
11376
11377 PR mi/20431
11378 * gdb.mi/mi-cmd-error.exp: New file.
11379
f348d89a
PA
113802016-08-09 Pedro Alves <palves@redhat.com>
11381
11382 PR gdb/18653
11383 * gdb.base/signals-state-child.c: New file.
11384 * gdb.base/signals-state-child.exp: New file.
11385 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11386
e5ca03b4
PA
113872016-08-09 Pedro Alves <palves@redhat.com>
11388
11389 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11390
282a0691
TT
113912016-08-03 Tom Tromey <tom@tromey.com>
11392
11393 PR python/18565:
11394 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11395
41bfcd63
YQ
113962016-08-01 Yao Qi <yao.qi@linaro.org>
11397
11398 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11399 variable mode to "multi-process" if $multi_process is 1, otherwise
11400 set it to "single-process".
11401
e3465b24
YQ
114022016-08-01 Yao Qi <yao.qi@linaro.org>
11403
11404 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11405 * gdb.cp/cpexprs.exp: Likewise.
11406 * gdb.cp/m-static.exp: Likewise.
11407
0b31a4bc
TT
114082016-07-26 Tom Tromey <tom@tromey.com>
11409
11410 PR python/20190:
11411 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11412 test.
11413
e0461dbb
MM
114142016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11415
11416 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11417 selecting assembly source files.
11418 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11419 assembly source files.
11420 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11421 assembly source files.
11422 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11423 selecting assembly source files.
11424
8194e927
SM
114252016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11426
11427 * gdb.base/new-ui.exp (do_test_invalid_args): New
11428 procedure.
11429
c0272db5
TW
114302016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11431
11432 * gdb.btrace/reconnect.c: New file.
11433 * gdb.btrace/reconnect.exp: New file.
11434
e3487908
GKB
114352016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11436
11437 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11438 to test_catch_syscall_group.
11439 (test_catch_syscall_group): New.
11440
12df5c00
TT
114412016-07-21 Tom Tromey <tom@tromey.com>
11442
11443 * gdb.rust/simple.rs (main): Use empty struct expression.
11444 * gdb.rust/simple.exp: Add tests for empty struct expression.
11445
bae62ee2
YQ
114462016-07-21 Yao Qi <yao.qi@linaro.org>
11447
11448 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11449 if gdb_skip_xml_test is true on some targets.
11450
b1b53fb3
YQ
114512016-07-21 Yao Qi <yao.qi@linaro.org>
11452
11453 * gdb.server/solib-list.exp: Unset last_loaded_file.
11454
027d97f8
JK
114552016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11456
11457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11458 "step into captured_main (args)".
11459
7674d381
JK
114602016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11463
72b5d099
JK
114642016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11465
11466 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11467
1f960ced
PA
114682016-07-19 Pedro Alves <palves@redhat.com>
11469
11470 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11471 * gdb.opt/inline-bt.exp: Likewise.
11472 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11473 additional_flags=-Winline.
11474 * gdb.opt/inline-locals.exp: Likewise.
11475 * gdb.opt/inline-markers.c (ATTR): Define.
11476 (inlined_fn): Use it.
11477
f25827c1
YQ
114782016-07-19 Yao Qi <yao.qi@linaro.org>
11479
11480 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11481 (test_with_self): Remove some code. Remove argument executable.
11482 (top-level): Use do_self_tests.
11483
37539ebe
DB
114842016-07-15 Zachary Welch <zwelch@codesourcery.com>
11485 Don Breazeal <donb@codesourcery.com>
11486
11487 * gdb.base/maint.exp: Escape paths used in regular expressions.
11488 * gdb.stabs/weird.exp: Likewise.
11489
dac790e1
TT
114902016-07-13 Tom Tromey <tom@tromey.com>
11491
11492 PR python/15620, PR python/18620:
11493 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11494 (test_bkpt_events): New procs.
11495
93daf339
TT
114962016-07-13 Tom Tromey <tom@tromey.com>
11497
11498 PR python/17698:
11499 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11500 test.
11501 (test_watchpoints): Likewise.
11502 (test_bkpt_pending): New proc.
11503
6571a381
TT
115042016-07-13 Tom Tromey <tom@tromey.com>
11505
11506 PR cli/18053:
11507 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11508 completion test.
11509
e8732474
JK
115102016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11511
11512 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11513 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11514 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11515 f_label.
11516 (g): Rename g_end_lbl to g_label.
11517 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11518 low_pc and high_pc.
11519 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11520
e0f3fd7c
TT
115212016-07-12 Tom Tromey <tom@tromey.com>
11522
11523 PR python/19293:
11524 * gdb.python/py-unwind-maint.exp: Update tests.
11525
3cfe46b6
YQ
115262016-07-12 Yao Qi <yao.qi@linaro.org>
11527
11528 * lib/selftest-support.exp (selftest_setup): Match the output
11529 when captured_main is inlined.
11530
4f19a0e6
WT
115312016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11532
11533 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11534 New variables.
11535 (print this%a, print this%b, print this): New tests.
11536 * gdb.fortran/derived-types.f90 (this): New object and
11537 initialization.
11538
986cf455
SM
115392016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11540
11541 * gdb.ada/arraydim.exp: Remove extra directory level in build
11542 directory.
11543
f0464b23
SM
115442016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11545
11546 * lib/ada.exp: Remove extra directory level in build directory.
11547 * gdb.ada/cond_lang.exp: Likewise.
11548 * gdb.ada/exec_changed.exp: Likewise.
11549 * gdb.ada/lang_switch.exp: Likewise.
11550
42d94011
MG
115512016-07-06 Manish Goregaokar <manish@mozilla.com>
11552
2806dc7e
PA
11553 * simple.rs: Add test for raw pointer subscripting.
11554 * simple.exp: Add test expectations.
42d94011 11555
647c264c
YQ
115562016-07-05 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.mi/mi-reverse.exp: Match =record-started output.
11559
20aa2c60
PA
115602016-07-01 Pedro Alves <palves@redhat.com>
11561
11562 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11563 procedure.
11564 (jit_reader_test): Test the jit reader's unwinder.
11565 * gdb.base/jithost.c (jit_function_00_code): New global.
11566 (main): Use memcpy to fill in the mmapped code, instead of poking
11567 bytes manually here.
11568 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11569 value.
11570 (read_debug_info): Save the function's range.
11571 (read_sp): New function.
11572 (unwind_frame): Use it. Also unwind RBP.
11573 (get_frame_id): Use read_sp.
11574 (gdb_init_reader): Use calloc instead of malloc.
11575 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11576 parameter. Use gdb_test_multiple.
11577
ced2dffb
PA
115782016-07-01 Pedro Alves <palves@redhat.com>
11579 Antoine Tremblay <antoine.tremblay@ericsson.com>
11580
11581 * gdb.threads/process-dies-while-detaching.c: New file.
11582 * gdb.threads/process-dies-while-detaching.exp: New file.
11583
63000888
PA
115842016-07-01 Pedro Alves <palves@redhat.com>
11585
11586 * gdb.multi/watchpoint-multi-exit.c: New file.
11587 * gdb.multi/watchpoint-multi-exit.exp: New file.
11588
038d4868
PA
115892016-06-30 Pedro Alves <palves@redhat.com>
11590
11591 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11592 unset inferior_spawn_id.
11593
994e9c83
PA
115942016-06-30 Pedro Alves <palves@redhat.com>
11595
11596 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11597 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11598
e5653468
YQ
115992016-06-29 Yao Qi <yao.qi@linaro.org>
11600
11601 * gdb.base/return.c: Add copyright header.
11602
803b47e5
TT
116032016-06-29 Tom Tromey <tom@tromey.com>
11604
11605 PR python/20129:
11606 * gdb.python/py-framefilter.exp: Add tests for setting priority
11607 and disabling of non-existent frame filter.
11608
28244707
YQ
116092016-06-29 Yao Qi <yao.qi@linaro.org>
11610
11611 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11612 0x0f07ff.
11613
a31d2f06
YQ
116142016-06-28 Yao Qi <yao.qi@linaro.org>
11615
11616 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11617 triplets. Start gdb, execute catch syscall, and continue. Check
11618 gdb's output to determine catch syscall is supported.
11619
921d8f54
MG
116202016-06-27 Manish Goregaokar <manish@mozilla.com>
11621
25d49b86
PA
11622 * gdb.rust/simple.rs: Add test for returning unit in a function.
11623 * gdb.rust/simple.exp: Add expectation for functions returning
11624 unit.
921d8f54 11625
f4952523
PMR
116262016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11627
11628 * gdb.python/py-breakpoint-create-fail.c,
11629 gdb.python/py-breakpoint-create-fail.exp,
11630 gdb.python/py-breakpoint-create-fail.py: New testcase.
11631
fccb08f8
MG
116322016-06-25 Manish Goregaokar <manish@mozilla.com>
11633
11634 PR gdb/20239
11635 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11636 * gdb.rust/simple.exp: Add test expectations for new NonZero
11637 tests.
fccb08f8 11638
6b850546
DT
116392016-06-24 David Taylor <dtaylor@emc.com>
11640
11641 * gdb.base/offsets.exp: New file.
11642 * gdb.base/offsets.c: New file.
11643
17621150
TT
116442016-06-23 Tom Tromey <tom@tromey.com>
11645
11646 PR gdb/16483:
11647 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11648 before any filters are loaded.
11649
04d59df6
WT
116502016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11651
11652 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11653 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11654 structs.
11655 * gdb.fortran/derived-type-function.exp: New file.
11656 * gdb.fortran/derived-type-function.f90: New file.
11657
11658
ac69f786
PA
116592016-06-21 Pedro Alves <palves@redhat.com>
11660
11661 * gdb.base/new-ui.exp: New file.
11662 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11663 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11664 (with_spawn_id): New procedure.
11665
49940788
PA
116662016-06-21 Pedro Alves <palves@redhat.com>
11667
11668 * gdb.mi/mi-exec-run.exp: New file.
11669
ef274d26
PA
116702016-06-21 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11673 breakpoint command's output on the main UI.
11674 (test_break): New procedure, factored out from calls in the top
11675 level.
11676 (top level): Use foreach_with_prefix to test MI as main UI and as
11677 separate UI.
11678
468afe6c
PA
116792016-06-21 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11682 (test_awatch_creation_and_listing)
11683 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11684 Remove 'type' parameter.
11685 (test_watchpoint_all): New parameter mi_mode. Remove
11686 with_test_prefix.
11687 (top level): Use foreach_with_prefix, and add main/separate UI MI
11688 testing axis.
11689
51f77c37
PA
116902016-06-21 Pedro Alves <palves@redhat.com>
11691
11692 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11693 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11694 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11695 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11696 (gdb_main_spawn_id, mi_spawn_id): Declare and
11697 comment.
11698 (mi_create_inferior_pty): New procedure,
11699 factored out from default_mi_gdb_start.
11700 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11701 procedures.
11702 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11703 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11704 Use mi_create_inferior_pty.
11705 (mi_gdb_start): Use eval to pass down args list.
11706
8980e177
PA
117072016-06-21 Pedro Alves <palves@redhat.com>
11708
11709 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11710 * gdb.opt/inline-cmds.exp: Add MI tests.
11711
f38d3ad1
PA
117122016-06-21 Pedro Alves <palves@redhat.com>
11713
11714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11715
45db7c09
PA
117162016-06-21 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11719 (top level): Use it instead of mi_execute_to.
11720
5a069ab3
PA
117212016-06-21 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11724 (cont_handler_str): New.
11725 (signal_stop_handler): Set stop_handler_str instead of printing to
11726 stdout.
11727 (continue_handler): Set cont_handler_str instead of printing to
11728 stdout.
11729 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11730 mi_send_resuming_command. Print stop_handler_str and
11731 cont_handler_str instead of expecting the python events print
11732 directly.
11733
2838cc1d
SD
117342016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11735
11736 * gdb.base/jit-reader.exp: New file.
11737 * gdb.base/jithost.c: New file.
11738 * gdb.base/jithost.h: New file.
11739 * gdb.base/jitreader.c : New file.
11740 * gdb.base/jit-protocol.h: New file.
11741
21a77091
YQ
117422016-06-17 Yao Qi <yao.qi@linaro.org>
11743
11744 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11745 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11746 and detach-on-fork. Adjust tests.
11747 (top level): Invoke break_cond_on_syscall with combinations of
11748 syscall, follow-fork-mode and detach-on-fork.
11749
f50bf8e5
YQ
117502016-06-17 Yao Qi <yao.qi@linaro.org>
11751
11752 * gdb.base/step-over-exit.c: New.
11753 * gdb.base/step-over-exit.exp: New.
11754
a28d8e50
YTL
117552016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11756
11757 * gdb.base/float.exp: Add target check for nds32*-*-*.
11758 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11759
cad8e26d
AB
117602016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11761
11762 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11763 for unsupported target features.
11764 * gdb.base/call-rt-st.exp: Likewise.
11765 * gdb.base/call-sc.exp: Likewise.
11766 * gdb.base/call-signal-resume.exp: Likewise.
11767 * gdb.base/call-strs.exp: Likewise.
11768 * gdb.base/callexit.exp: Likewise.
11769 * gdb.base/callfuncs.exp: Likewise.
11770 * gdb.base/nodebug.exp: Likewise.
11771 * gdb.base/printcmds.exp: Likewise.
11772 * gdb.base/ptype.exp: Likewise.
11773 * gdb.base/structs.exp: Likewise.
11774 * gdb.base/unwindonsignal.exp: Likewise.
11775 * gdb.cp/gdb2495.exp: Likewise.
11776 * gdb.cp/templates.exp: Likewise.
11777 * gdb.cp/virtfunc.exp: Likewise.
11778 * gdb.threads/hand-call-in-threads.exp: Likewise.
11779 * gdb.threads/interrupted-hand-call.exp: Likewise.
11780 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11781
347dc102
TT
117822016-06-10 Tom Tromey <tom@tromey.com>
11783
11784 PR rust/20110:
11785 * gdb.rust/expr.exp: Add test for integer constant larger than
11786 i32.
11787
5e13cf25
BH
117882016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11789
11790 * gdb.fortran/nested-funcs.exp: New.
11791 * gdb.fortran/nested-funcs.f90: New.
11792
bb556f1f
TK
117932016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11794
11795 * gdb.base/examine-backward.c: New file.
11796 * gdb.base/examine-backward.exp: New file.
11797
38b022b4
SM
117982016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11799
11800 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11801 matching.
11802
1b40ec05
TT
118032016-06-02 Tom Tromey <tom@tromey.com>
11804
11805 PR python/18984:
11806 * gdb.python/py-shared.exp: Add solib_name test.
11807
193bd378
SM
118082016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11809
11810 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11811
3326303b
MG
118122016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11813
11814 PR c++/19893
11815 * gdb.dwarf2/implref.exp: Rename to...
11816 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11817 * gdb.dwarf2/implref-array.c: New file.
11818 * gdb.dwarf2/implref-array.exp: Likewise.
11819 * gdb.dwarf2/implref-global.c: Likewise.
11820 * gdb.dwarf2/implref-global.exp: Likewise.
11821 * gdb.dwarf2/implref-struct.c: Likewise.
11822 * gdb.dwarf2/implref-struct.exp: Likewise.
11823
825c8ef2
AT
118242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11825
11826 * gdb.trace/trace-condition.exp: Add 64bit tests.
11827
2320162a
AT
118282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11829
11830 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11831 bits types.
11832 (main): Adapt to 8 to 64 bits types.
11833 * gdb.trace/trace-condition.exp: Add new tests.
11834
a7818233
AT
118352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11836
11837 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11838
0d336466
AT
118392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11840
11841 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11842 Move condition tests...
11843 * gdb.trace/trace-condition.exp: Here.
11844
7faeb45a
AT
118452016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11846
11847 * gdb.trace/trace-condition.exp: Add counter-case tests.
11848
e385593e
JK
118492016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11850
11851 PR c++/15231
11852 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11853 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11854
744608cc
PA
118552016-05-27 Pedro Alves <palves@redhat.com>
11856
11857 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11858 New procedure.
11859 (top level): Call it, and bail out of DejaGnu is known to be bad.
11860
ac775bf4
AB
118612016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11862
11863 * gdb.base/whatis.c: Extend the test case.
11864 * gdb.base/whatis.exp: Add additional tests.
11865
2bbad2ea
BH
118662016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11867
11868* gdb.fortran/type.f90: Add pointer variable.
11869* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11870
8b70175d
BH
118712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11872
11873 * gdb.fortran/vla-type.exp: Fix testcase name.
11874
86d8a848
BH
118752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11876
11877 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11878
e188eb36
BH
118792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11880
11881 * gdb.fortran/type.f90: Add nested structures.
11882 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11883 * gdb.fortran/derived-type.exp: Adapt expected output.
11884 * gdb.fortran/vla-type.exp: Adapt expected output.
11885
9b2db1fd
BH
118862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11887
11888 * gdb.fortran/whatis_type.exp: Adapt expected output.
11889
72b17055
BH
118902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11891
11892 * gdb.fortran/print_type.exp: Fix expected output.
11893 * gdb.fortran/whatis_type.exp: Fix expected output.
11894
3cd81d8d
BH
118952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11896
11897 * gdb.fortran/whatis_type.exp: Use multi_line.
11898
ddae9462
TT
118992016-05-24 Tom Tromey <tom@tromey.com>
11900
11901 PR python/17386:
11902 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11903 use value as an index.
11904
1957f6b8
TT
119052016-05-23 Tom Tromey <tom@tromey.com>
11906
11907 PR python/17981:
11908 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11909 no-breakpoint case.
11910
026a9174
PA
119112016-05-24 Pedro Alves <palves@redhat.com>
11912
11913 PR gdb/19828
11914 * gdb.threads/clone-attach-detach.c: New file.
11915 * gdb.threads/clone-attach-detach.exp: New file.
11916
e70a7231
FR
119172016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11918
11919 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11920
0f6ed0e0
TT
119212016-05-23 Tom Tromey <tom@tromey.com>
11922
11923 PR python/19438, PR python/18393:
11924 * gdb.python/py-progspace.exp: Add "dir" test.
11925 * gdb.python/py-objfile.exp: Add "dir" test.
11926
ffd19d61
YQ
119272016-05-23 Yao Qi <yao.qi@linaro.org>
11928
11929 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11930 * gdb.arch/thumb2-it.exp: Likewise.
11931
9e8f9b05
SM
119322016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11933
11934 * gdb.mi/mi-threads-interrupt.c: New file.
11935 * gdb.mi/mi-threads-interrupt.exp: New file.
11936
61c6156d
SM
119372016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11938
11939 PR gdb/18077
11940 * gdb.mi/mi-async-run.exp: New file.
11941 * gdb.mi/mi-async-run.c: New file.
11942
67218854
TT
119432016-05-17 Tom Tromey <tom@tromey.com>
11944 Manish Goregaokar <manishsmail@gmail.com>
11945
11946 * lib/rust-support.exp: New file.
11947 * lib/gdb.exp (skip_rust_tests): New proc.
11948 (build_executable_from_specs): Handle rust.
11949 * lib/future.exp (gdb_find_rustc): New proc.
11950 (gdb_default_target_compile): Handle rust.
11951 * gdb.rust/expr.exp: New file.
11952 * gdb.rust/generics.exp: New file.
11953 * gdb.rust/generics.rs: New file.
11954 * gdb.rust/methods.exp: New file.
11955 * gdb.rust/methods.rs: New file.
11956 * gdb.rust/modules.exp: New file.
11957 * gdb.rust/modules.rs: New file.
11958 * gdb.rust/simple.exp: New file.
11959 * gdb.rust/simple.rs: New file.
11960
c44af4eb
TT
119612016-05-17 Tom Tromey <tom@tromey.com>
11962
11963 * gdb.base/default.exp (set language): Add rust.
11964
dcd1f979
TT
119652016-05-17 Tom Tromey <tom@tromey.com>
11966
11967 * gdb.gdb/unittest.exp: New file.
11968
155b7f57
YQ
119692016-05-16 Yao Qi <yao.qi@linaro.org>
11970
11971 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11972 shell_prompt. Update shell_prompt_re.
11973
8ddd5a6c
DE
119742016-05-12 Doug Evans <dje@google.com>
11975
11976 PR symtab/19999
11977 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11978 $options when building executable.
11979 * gdb.dwarf2/fission-loclists-pie.S: New file.
11980 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11981
02e370d9
SM
119822016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11983
11984 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11985 of [is_remote target],
11986
8929ad8b
SM
119872016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11988
11989 * lib/gdb.exp (use_gdb_stub): New procedure.
11990
6c447423
DE
119912016-05-03 Yunlian Jiang <yunlian@google.com>
11992 Doug Evans <dje@google.com>
11993
11994 PR symtab/19914
11995 * gdb.dwarf2/dwp-sepdebug.c: New file.
11996 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11997
444e826c
SM
119982016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11999
12000 * gdb.base/detach.exp: Remove is_remote check.
12001
740feeaa
SM
120022016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12003
12004 * gdb.base/annota-input-while-running.exp: Don't check for
12005 [is_remote target]. Enable annotations after running to main.
12006 Remove unused "set test..." line.
12007
9080ac9d
SM
120082016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12009
12010 * gdb.trace/trace-enable-disable.exp: New file.
12011 * gdb.trace/trace-enable-disable.c: New file.
12012
952ebca5
SM
120132016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12014
12015 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12016 use it in info sharedlibrary test.
12017 * gdb.trace/ftrace-lock.exp: Likewise.
12018 * gdb.trace/ftrace.exp: Likewise.
12019 * gdb.trace/range-stepping.exp: Likewise.
12020 * gdb.trace/trace-break.exp: Likewise.
12021 * gdb.trace/trace-condition.exp: Likewise.
12022 * gdb.trace/trace-mt.exp: Likewise.
12023
d9019901
SM
120242016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12025
12026 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12027 (gdb_load_shlib): ... this.
12028 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12029 gdb_load_shlib.
12030 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12031 * gdb.base/ctxobj.exp: Likewise.
12032 * gdb.base/dprintf-pending.exp: Likewise.
12033 * gdb.base/dso2dso.exp: Likewise.
12034 * gdb.base/fixsection.exp: Likewise.
12035 * gdb.base/gcore-relro.exp: Likewise.
12036 * gdb.base/gdb1555.exp: Likewise.
12037 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12038 * gdb.base/gnu-ifunc.exp: Likewise.
12039 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12040 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12041 * gdb.base/pending.exp: Likewise.
12042 * gdb.base/print-file-var.exp: Likewise.
12043 * gdb.base/print-symbol-loading.exp: Likewise.
12044 * gdb.base/shlib-call.exp: Likewise.
12045 * gdb.base/shreloc.exp: Likewise.
12046 * gdb.base/so-impl-ld.exp: Likewise.
12047 * gdb.base/solib-disc.exp: Likewise.
12048 * gdb.base/solib-nodir.exp: Likewise.
12049 * gdb.base/solib-overlap.exp: Likewise.
12050 * gdb.base/solib-symbol.exp: Likewise.
12051 * gdb.base/solib-weak.exp (do_test): Likewise.
12052 * gdb.base/sym-file.exp: Likewise.
12053 * gdb.base/symtab-search-order.exp: Likewise.
12054 * gdb.base/type-opaque.exp: Likewise.
12055 * gdb.base/unload.exp: Likewise.
12056 * gdb.base/watchpoint-solib.exp: Likewise.
12057 * gdb.compile/compile.exp: Likewise.
12058 * gdb.cp/gdb2384.exp: Likewise.
12059 * gdb.cp/infcall-dlopen.exp: Likewise.
12060 * gdb.cp/re-set-overloaded.exp: Likewise.
12061 * gdb.fortran/library-module.exp: Likewise.
12062 * gdb.opt/solib-intra-step.exp: Likewise.
12063 * gdb.python/py-finish-breakpoint.exp: Likewise.
12064 * gdb.python/py-shared.exp: Likewise.
12065 * gdb.reverse/solib-precsave.exp: Likewise.
12066 * gdb.reverse/solib-reverse.exp: Likewise.
12067 * gdb.server/solib-list.exp: Likewise.
12068 * gdb.threads/dlopen-libpthread.exp: Likewise.
12069 * gdb.threads/tls-shared.exp: Likewise.
12070 * gdb.threads/tls-so_extern.exp: Likewise.
12071 * gdb.trace/change-loc.exp: Likewise.
12072 * gdb.trace/ftrace-lock.exp: Likewise.
12073 * gdb.trace/ftrace.exp: Likewise.
12074 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12075 * gdb.trace/pending.exp: Likewise.
12076 * gdb.trace/range-stepping.exp: Likewise.
12077 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12078 (strace_info_marker): Likewise.
12079 (strace_probe_marker): Likewise.
12080 (strace_trace_on_same_addr): Likewise.
12081 (strace_trace_on_diff_addr): Likewise.
12082 * gdb.trace/trace-break.exp: Likewise.
12083 * gdb.trace/trace-condition.exp: Likewise.
12084 * gdb.trace/trace-mt.exp: Likewise.
12085
fca4cfd9
SM
120862016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12087
12088 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12089 result of gdb_remote_download.
12090 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12091 * gdb.base/dso2dso.exp: Likewise.
12092 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12093 * gdb.base/print-file-var.exp: Likewise.
12094 * gdb.base/shlib-call.exp: Likewise.
12095 * gdb.base/shreloc.exp: Likewise.
12096 * gdb.base/solib-overlap.exp: Likewise.
12097 * gdb.base/solib-weak.exp (do_test): Likewise.
12098 * gdb.base/unload.exp: Likewise.
12099
11cf4ffb
YQ
121002016-04-27 Yao Qi <yao.qi@linaro.org>
12101
12102 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12103 exists.
12104
3e2e34f8
KB
121052016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12106
12107 * vla-type.exp: Print structure from toplevel.
12108
8f07e298
BH
121092016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12110
12111 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12112 of dynamic types.
12113 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12114 of dynamic types.
12115
9920b434
BH
121162016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12117
12118 * gdb.fortran/vla-type.f90: New file.
12119 * gdb.fortran/vla-type.exp: New file.
12120
f3abeff5
YQ
121212016-04-25 Yao Qi <yao.qi@linaro.org>
12122
12123 * gdb.base/branch-to-self.c: New file.
12124 * gdb.base/branch-to-self.exp: New file.
12125
0a5d52f0
YQ
121262016-04-22 Yao Qi <yao.qi@linaro.org>
12127
12128 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12129 more after $hex.
12130
495346f6
YQ
121312016-04-22 Yao Qi <yao.qi@linaro.org>
12132
12133 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12134 * gdb.base/annota3.exp: Likewise.
12135
4a7e075c
YQ
121362016-04-22 Yao Qi <yao.qi@linaro.org>
12137
12138 * gdb.reverse/step-precsave.exp: Do one step and test program
12139 stops in "callee" and do multiple steps until program goes out
12140 of "callee".
12141 * gdb.reverse/step-reverse.exp: Likewise.
12142
5b061e98
YQ
121432016-04-22 Yao Qi <yao.qi@linaro.org>
12144
12145 * gdb.trace/signal.exp: Also pass if
12146 $tracepoint_hits($i) > $iterations.
12147
5c5dc57f
YQ
121482016-04-22 Yao Qi <yao.qi@linaro.org>
12149
12150 * gdb.trace/signal.c: New file.
12151 * gdb.trace/signal.exp: New file.
12152
a55411b9
DE
121532016-04-19 Doug Evans <xdje42@gmail.com>
12154
12155 * gdb.base/bad-file.exp: New file.
12156
a22df60a
MG
121572016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12158
12159 * gdb.dwarf2/implref.exp: New file.
12160
0c13f7e5
BH
121612016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12162
12163 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12164 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12165 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12166 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12167 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12168 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12169 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12170 * lib/fortran.exp (fortran_int4): New procedure.
12171 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12172 (fortran_logical4): Likewise.
12173
9b9b09e9
BH
121742016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12175
12176 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12177
a14d1f4d
BH
121782016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12179
12180 * lib/compiler.c: Add Intel specific preprocessor macros.
12181 * lib/compiler.cc: Likewise.
25d49b86 12182
7d49b1d0
LM
121832016-04-13 Luis Machado <lgustavo@codesourcery.com>
12184
12185 * gdb.server/connect-with-no-symbol-file.c: New file.
12186 * gdb.server/connect-with-no-symbol-file.exp: New file.
12187
8392fa22
SM
121882016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12189
12190 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12191
8c4c4aeb
SM
121922016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12193
12194 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12195 standard output directory.
12196
45e3745e
AT
121972016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12198
12199 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12200
e26b7e41
MM
122012016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12202
12203 * gdb.btrace/instruction_history.c (loop): Add declaration.
12204
8ce09462
AT
122052016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12206
12207 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12208
2e88a1ea
SM
122092016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12210
12211 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12212 parentheses to print.
12213 (continue_handler): Likewise.
12214
f48e22e3
SM
122152016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12216
12217 * gdb.server/solib-list.exp: Remove is_remote check.
12218 Pass shlib= to gdb_compile. Don't link shared library with
12219 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12220 Run binary filename through "readlink -f" on the target.
12221
096be756
PA
122222016-04-08 Pedro Alves <palves@redhat.com>
12223
12224 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12225 interpreter filename as argument to gdbserver_spawn.
12226 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12227 Return empty if $last_loaded_file does not exist.
12228
06500533
JK
122292016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12230
12231 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12232 * gdb.base/jit-main.c: Use exit after usage.
12233
2d35e871
JK
122342016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12235
12236 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12237 GDBHISTSIZE prior to the tests.
12238 * gdb.base/gdbinit-history.exp: Likewise.
12239
122402016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
12241
12242 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12243 instead of build_executable. Use gdb_load_shlibs.
12244
c8064e7e
YQ
122452016-04-07 Yao Qi <yao.qi@linaro.org>
12246
12247 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12248 Execute "si" command.
12249
bde47561
YQ
122502016-04-07 Yao Qi <yao.qi@linaro.org>
12251
12252 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12253 number instead of the comments on some line.
12254
b16f8a3b
DB
122552016-04-06 Don Breazeal <donb@codesourcery.com>
12256
12257 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12258 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12259
c2f901df
SM
122602016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12261
12262 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12263 standard_output_file. Remove unused binfile variable.
12264
ac17fda0
CU
122652016-04-05 Catalin Udma <catalin.udma@freescale.com>
12266
12267 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12268 * gdb.python/py-mi-objfile.exp: Match "list main" output
12269 in console format.
12270
03a8c4df
SM
122712016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12272
12273 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12274 absolute.
12275
6e774b13
SM
122762016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12277
12278 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12279 absolute.
12280 * gdb.trace/ftrace.exp: Likewise.
12281 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12282 targets as well.
12283 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12284 (gdb_load_shlibs): Copy libraries to test directory when testing
12285 natively. Only set solib-search-path if testing remotely.
12286 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12287
7817ea46
SM
122882016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12289
12290 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12291 gdb_download. Use it even if the target is not remote.
12292 * gdb.base/jit.exp (compile_jit_test): Likewise.
12293 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12294 output directory if the destination board is local, otherwise use
12295 the standard remote_download from DejaGnu.
12296 (gdb_download): Remove.
12297 (gdb_load_shlibs): Use gdb_remote_download instead of
12298 gdb_download.
12299 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12300 Use gdb_remote_download instead of gdb_download. Use it even if
12301 the target is not remote.
12302 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12303 instead of gdb_download.
12304
7beb7f68
SM
123052016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12306
12307 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12308 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12309 run.
12310
cc63428a
AV
123112016-04-01 Artemiy Volkov <artemiyv@acm.org>
12312
12313 PR gdb/19820
12314 * gdb.base/printcmds.exp: Add artificial arrays tests.
12315
64cdf930
PA
123162016-03-31 Pedro Alves <palves@redhat.com>
12317
12318 PR gdb/19858
12319 * gdb.base/jit-main.c: Include unistd.h.
12320 (ATTACH): Define to 0 if not already defined.
12321 (wait_for_gdb, mypid): New globals.
12322 (WAIT_FOR_GDB): New macro.
12323 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12324 some breakpoint locations.
12325 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12326 New procedures.
12327 (one_jit_test): Add REATTACH parameter, and handle it. Use
12328 continue_to_test_location.
12329 (top level): Test attach, and adjusts calls to one_jit_test.
12330
40dea8cb
PA
123312016-03-31 Pedro Alves <palves@redhat.com>
12332
12333 PR gdb/19858
12334 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12335 BINSUFFIX parameter, and handle it.
12336 (top level): Adjust calls compile_jit_test.
12337
e7ea3ec7
CU
123382016-03-31 Catalin Udma <catalin.udma@freescale.com>
12339
12340 PR python/19743
12341 * gdb.python/py-mi-events-gdb.py: New file.
12342 * gdb.python/py-mi-events.c: New file.
12343 * gdb.python/py-mi-events.exp: New file.
12344
e6359af3
YQ
123452016-03-30 Yao Qi <yao.qi@linaro.org>
12346
12347 * gdb.reverse/until-precsave.exp: Match function name only.
12348 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12349 Move malloc to a condition block.
12350 * gdb.reverse/until-reverse.exp: Match function name only.
12351
a4105d04
MK
123522016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12353
12354 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12355 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12356 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12357 variable for GPR 0 instead of assuming it is register 0.
12358 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12359 * lib/trace-support.exp: Add s390 registers.
12360
bfa6adb9
YQ
123612016-03-29 Yao Qi <yao.qi@linaro.org>
12362
12363 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12364
1e6697ea
YQ
123652016-03-24 Yao Qi <yao.qi@linaro.org>
12366
12367 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12368 test message.
12369
64bcd522
AA
123702016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12371
12372 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12373 maintaining separate logic for constructing the output path.
12374
7868401b
DB
123752016-03-16 Don Breazeal <donb@codesourcery.com>
12376
12377 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12378 Retry fork and waitpid on interrupted system call errors.
12379 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12380 Use with_timeout_factor to increase timeout by factor of 10.
12381
1cafadb4
DB
123822016-03-15 Don Breazeal <donb@codesourcery.com>
12383
12384 * gdb.cp/scope-err.cc: New test program.
12385 * gdb.cp/scope-err.exp: New test script.
12386 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12387 lines and "set breakpoint here" comment.
12388 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12389 Fixed some whitespace and format issues.
12390 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12391 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12392
81516450
DE
123932016-03-15 Doug Evans <dje@google.com>
12394
12395 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12396 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12397 All callers updated. Add tests for enums, mixed flags register.
12398
aa52b601
DE
123992016-03-15 Doug Evans <dje@google.com>
12400
12401 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12402 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12403
fa4ff313
SM
124042016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12405
12406 * gdb.base/default.exp: Add $_as_string to the list of expected
12407 convenience functions.
12408
f2403c39
AB
124092016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12410
12411 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12412
f2f3ccb9
SM
124132016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12414
12415 * gdb.python/py-as-string.exp: New file.
12416 * gdb.python/py-as-string.c: New file.
12417
00dbd492
PA
124182016-03-09 Pedro Alves <palves@redhat.com>
12419
12420 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12421 signal" -> "Thread NN received signal" output change.
12422 * gdb.threads/ia64-sigill.exp: Likewise.
12423 * gdb.threads/linux-dp.exp: Likewise.
12424 * gdb.threads/manythreads.exp: Likewise.
12425 * gdb.threads/pending-step.exp: Likewise.
12426 * gdb.threads/print-threads.exp: Likewise.
12427 * gdb.threads/sigstep-threads.exp: Likewise.
12428 * gdb.threads/staticthreads.exp: Likewise.
12429 * gdb.threads/tls.exp: Likewise.
12430
1e6697ea
YQ
124312016-03-09 Pedro Alves <palves@redhat.com>
12432
12433 * gdb.base/command-line-input.exp: New file.
12434
b04fd3be
MK
124352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12436
12437 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12438 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12439 * gdb.trace/pending.exp: Accept leading dot before function name.
12440 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12441 * lib/trace-support.exp: Set registers for ppc.
12442
98fa59e9
MK
124432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12444
12445 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12446 use it for disassembly; accept .main in addition to main in backtrace.
12447
f77198c8
MK
124482016-03-09 Wei-cheng Wang <cole945@gmail.com>
12449 Marcin Kościelnicki <koriakin@0x04.net>
12450
12451 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12452 (gdb_recursion_test_ptr): New global variable.
12453 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12454 gdb_recursion_test.
12455 (gdb_c_test): Ditto.
12456
ba84e0da
MK
124572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12458
12459 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12460 ordering.
12461
4366d36e
MK
124622016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12463
12464 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12465 (bar): Add bar_start_lbl label.
12466 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12467 of foo/bar for emitting DWARF and tracing.
12468
5eb264df
SDJ
124692016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12470
12471 * analyze-racy-logs.py: Set executable bit.
12472
fb6a751f
SDJ
124732016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12474
12475 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12476 (CHECK_TARGET_TMP): Likewise.
12477 (check-single-racy): New rule.
12478 (check-parallel-racy): Likewise.
12479 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12480 (do-check-parallel-racy): New rule.
12481 (check-racy/%.exp): Likewise.
12482 * README (Racy testcases): New section.
12483 * analyze-racy-logs.py: New file.
12484
bdf7e230
DE
124852016-03-03 Doug Evans <dje@google.com>
12486
12487 * gdb.base/skip.exp: Use with_test_prefix.
12488
4719d415
YQ
124892016-03-03 Yao Qi <yao.qi@linaro.org>
12490
12491 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12492 Invoke step_over_syscall "clone" and break_cond_on_syscall
12493 "clone".
12494 * gdb.base/step-over-clone.c: New file.
12495
ea507862
YQ
124962016-03-03 Yao Qi <yao.qi@linaro.org>
12497
12498 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12499 code format.
12500
8fc8cbda
YQ
125012016-03-03 Yao Qi <yao.qi@linaro.org>
12502
12503 * gdb.base/disp-step-fork.c: Rename to ...
12504 * gdb.base/step-over-fork.c: ... it. New file.
12505 * gdb.base/disp-step-vfork.c: Rename to ...
12506 * gdb.base/step-over-vfork.c: ... it. New file.
12507 * gdb.base/disp-step-syscall.exp: Rename to ...
12508 * gdb.base/step-over-syscall.exp: ... it. New file.
12509 (disp_step_cross_syscall): Rename to ...
12510 (step_over_syscall): ... it.
12511
92fa70b0
YQ
125122016-03-03 Yao Qi <yao.qi@linaro.org>
12513
12514 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12515 If target supports condition evaluation on target, invoke
12516 break_cond_on_syscall for fork and vfork.
12517
e197ad3c
YQ
125182016-03-03 Yao Qi <yao.qi@linaro.org>
12519
12520 * gdb.base/disp-step-syscall.exp: Don't invoke
12521 support_displaced_stepping.
12522 (disp_step_cross_syscall): Test with displaced stepping off and
12523 on if supported.
12524
0b47da9f
YQ
125252016-03-03 Yao Qi <yao.qi@linaro.org>
12526
12527 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12528 proc.
12529 (setup): New proc.
12530 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12531 and setup.
12532
065ab6dc
BH
125332016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12534
12535 * gdb.fortran/vla-history.exp: Remove breakpoint.
12536
07e448ad 125372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12538
25d49b86
PA
12539 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12540 exceeds timeout.
07e448ad 12541
9ac2d526 125422016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12543
25d49b86
PA
12544 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12545 breakpoint.
9ac2d526 12546
17807369
BH
125472016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12548
12549 * gdb.mi/vla.f90: Nullify pointer after declaration.
12550
86e501af
PA
125512016-03-01 Pedro Alves <palves@redhat.com>
12552
12553 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12554
1e903e32
PA
125552016-03-01 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12558 before anything else.
12559 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12560 _GNU_SOURCE here.
12561 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12562 before anything else.
12563 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12564
6ccb54e2
PA
125652016-03-01 Pedro Alves <palves@redhat.com>
12566
12567 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12568
30ca9da1
YQ
125692016-03-01 Yao Qi <yao.qi@linaro.org>
12570
12571 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12572 prepare_for_testing.
12573
dc856b38
YQ
125742016-03-01 Yao Qi <yao.qi@linaro.org>
12575
12576 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12577
4a932159
AA
125782016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12579
12580 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12581 manually constructing the output path.
12582
f2489477
AA
125832016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12584
12585 * gdb.arch/s390-stackless.S: New.
12586 * gdb.arch/s390-stackless.exp: New.
12587
38899f16
IB
125882016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12589
12590 * gdb.dlang/circular.c: New file.
12591 * gdb.dlang/circular.exp: New file.
12592
9fde51ed
YQ
125932016-02-26 Yao Qi <yao.qi@linaro.org>
12594
12595 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12596 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12597 (testcases): Update.
12598
ce90fefe
YQ
125992016-02-26 Yao Qi <yao.qi@linaro.org>
12600
12601 * gdb.reverse/aarch64.c: Rename to ...
12602 * gdb.reverse/insn-reverse.c: ... it.
12603 * gdb.reverse/aarch64.exp: Rename to ...
12604 * gdb.reverse/insn-reverse.exp: ... it.
12605
3263bceb
YQ
126062016-02-26 Yao Qi <yao.qi@linaro.org>
12607
12608 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12609 (testcase_ftype): New.
12610 (testcases): New array.
12611 (n_testcases): New.
12612 (main): Call each element in testcases.
12613 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12614 (read_testcase): New.
12615 Do the tests in a loop.
12616
6cb59ff1
YQ
126172016-02-25 Yao Qi <yao.qi@linaro.org>
12618
12619 * gdb.base/branches.c: Remove.
12620
ae91f625
MK
126212016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12622
12623 PR gdb/13808
12624 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12625
678b48b7
MK
126262016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12627
12628 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12629
7337a6f2
MK
126302016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12631
12632 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12633 change x86_64 call_insn to 'callq'.
12634
861ca91f
AT
126352016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12636
12637 * gdb.trace/tfile-avx.c: Move to...
12638 * gdb.trace/tracefile-pseudo-reg.c: Here.
12639 * gdb.trace/tfile-avx.exp: Move to...
12640 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12641
bf74e428
GB
126422016-02-24 Gary Benson <gbenson@redhat.com>
12643
12644 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12645 message on attach.
12646
cce0e923
DE
126472016-02-23 Doug Evans <dje@google.com>
12648
12649 * gdb.base/skip.c (test_skip): New function.
12650 (end_test_skip_file_and_function): New function.
12651 (test_skip_file_and_function): New function.
12652 * gdb.base/skip1.c (test_skip): New function.
12653 (skip1_test_skip_file_and_function): New function.
12654 * gdb.base/skip.exp: Add tests for new skip options.
12655 * gdb.base/skip-solib.exp: Update expected output.
12656 * gdb.perf/skip-command.cc: New file.
12657 * gdb.perf/skip-command.exp: New file.
12658 * gdb.perf/skip-command.py: New file.
12659
4000e47e
MK
126602016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12661
12662 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12663 info registers pattern.
12664
24f75ead
IB
126652016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12666
12667 * lib/future.exp: Add D support.
12668 (gdb_find_gdc): New proc.
12669 (gdb_default_target_compile): Add D support.
12670
fbb7bcbe
WW
126712016-02-18 Wei-cheng Wang <cole945@gmail.com>
12672
12673 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12674 user+system time.
12675 (trace_speed_test): Determine the iteration count for a time
12676 between 15..30 seconds.
12677
012b3a21
WT
126782016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12679
12680 * gdb.arch/i386-mpx-sigsegv.c: New file.
12681 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12682 * gdb.arch/i386-mpx-simple_segv.c: New file.
12683 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12684
2d5189bd
YQ
126852016-02-18 Yao Qi <yao.qi@linaro.org>
12686
12687 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12688 Don't call setup_kfail.
12689
40fb20d0
YQ
126902016-02-18 Yao Qi <yao.qi@linaro.org>
12691
12692 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12693 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12694
21b1f8d2
DE
126952016-02-16 Doug Evans <dje@google.com>
12696
12697 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12698 * gdb.base/skip1.c: Ditto.
12699 * gdb.base/skip.exp: Whitespace cleanup.
12700
4041ed77
DB
127012016-02-16 Don Breazeal <donb@codesourcery.com>
12702
12703 PR remote/19496
12704 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12705 Remove kfail for PR remote/19496.
12706
c4ef31bf
SM
127072016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12708
12709 * lib/gdb.exp (standard_temp_file): Return a path specific to
12710 the runtest invocation.
12711
266b65b3
SM
127122016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12713
12714 * gdb.trace/save-trace.exp: Change relative path to be in the
12715 standard output directory.
12716
a7a0a6a9
JK
127172016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12718
12719 * gdb.arch/i386-prologue.c: Add missing prototypes.
12720
c99dbb42
JK
127212016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12722
12723 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12724 * gdb.arch/i386-prologue.exp: Likewise.
12725 * gdb.arch/i386-size.exp: Likewise.
12726
aa480355
SM
127272016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12728
12729 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12730 define object file path.
12731 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12732 file path.
12733 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12734 standard_output_file to define binfile.
12735
ba881f50
JK
127362016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12737
12738 Fix compatibility with recent gfortran-5.3.1.
12739 * gdb.fortran/vla-history.exp (print vla1 allocated)
12740 (print vla2 allocated, print $2, print $3): Remove
12741 (print $4): Rename to ...
12742 (print $2): ... here.
12743 (print $9): Rename to ...
12744 (print $5): ... here.
12745 (print $10): Rename to ...
12746 (print $6): ... here.
12747 * gdb.fortran/vla.f90: Add pvla initialization.
12748
e9fb005c
JK
127492016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12750
12751 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12752 New test.
12753 * gdb.fortran/vla-value-sub.exp: Likewise.
12754
e44e00ff
MK
127552016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12756
12757 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12758
97e94151
SM
127592016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12760
12761 * i386-biarch-core.exp: Define corefile using
12762 standard_output_file.
12763
01113bc1
YQ
127642016-02-12 Yao Qi <yao.qi@linaro.org>
12765
12766 * gdb.arch/arm-single-step-kernel-helper.c: New.
12767 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12768
33b4777c
MM
127692016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12770
12771 * gdb.btrace/tailcall-only.exp: New.
12772 * gdb.btrace/tailcall-only.c: New.
12773 * gdb.btrace/x86_64-tailcall-only.S: New.
12774 * gdb.btrace/i686-tailcall-only.S: New.
12775
acc23c11
PA
127762016-02-11 Pedro Alves <palves@redhat.com>
12777
12778 * README (Parallel testing): Add missing double quotes.
12779
e352bf0a
PA
127802016-02-11 Pedro Alves <palves@redhat.com>
12781
12782 * README (Parallel testing): New section.
12783 (GDB_PARALLEL): Rewrite.
12784 (FORCE_PARALLEL): Document.
12785
9f5fed78
MK
127862016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12787
12788 * gdb.trace/tfile-avx.c: New test.
12789 * gdb.trace/tfile-avx.exp: New test.
12790
9ef9e6a6
KS
127912016-02-09 Keith Seitz <keiths@redhat.com>
12792
12793 PR breakpoints/19546
12794 * gdb.base/infcall-exec.c: New file.
12795 * gdb.base/infcall-exec2.c: New file.
12796 * gdb.base/infcall-exec.exp: New file.
12797
a96e36da
KS
127982016-02-09 Keith Seitz <keiths@redhat.com>
12799
12800 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12801 (toplevel): Call test_bkpt_address.
12802
9f61929f
KS
128032016-02-09 Keith Seitz <keiths@redhat.com>
12804
12805 PR python/19506
12806 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12807 (toplevel): Call test_bkpt_address.
12808
1e94266c
SM
128092016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12810
12811 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12812 to AC_OUTPUT.
12813 * configure: Regenerate.
12814
2a7f3dff
PA
128152016-02-09 Pedro Alves <palves@redhat.com>
12816
12817 PR breakpoints/19548
12818 * gdb.base/execl-update-breakpoints.c (some_function): New
12819 function.
12820 (main): Call it.
12821 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12822 Tighten expected GDB output.
12823
2151ccc5
SM
128242016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12825
12826 * Makefile.in (ALL_SUBDIRS): Remove.
12827 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12828 (distclean maintainer-clean realclean): Likewise.
12829 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12830 * configure: Regenerate.
12831 * gdb.ada/Makefile.in: Delete.
12832 * gdb.arch/Makefile.in: Likewise.
12833 * gdb.asm/Makefile.in: Likewise.
12834 * gdb.base/Makefile.in: Likewise.
12835 * gdb.btrace/Makefile.in: Likewise.
12836 * gdb.cell/Makefile.in: Likewise.
12837 * gdb.compile/Makefile.in: Likewise.
12838 * gdb.cp/Makefile.in: Likewise.
12839 * gdb.disasm/Makefile.in: Likewise.
12840 * gdb.dlang/Makefile.in: Likewise.
12841 * gdb.dwarf2/Makefile.in: Likewise.
12842 * gdb.fortran/Makefile.in: Likewise.
12843 * gdb.gdb/Makefile.in: Likewise.
12844 * gdb.go/Makefile.in: Likewise.
12845 * gdb.guile/Makefile.in: Likewise.
12846 * gdb.java/Makefile.in: Likewise.
12847 * gdb.linespec/Makefile.in: Likewise.
12848 * gdb.mi/Makefile.in: Likewise.
12849 * gdb.modula2/Makefile.in: Likewise.
12850 * gdb.multi/Makefile.in: Likewise.
12851 * gdb.objc/Makefile.in: Likewise.
12852 * gdb.opencl/Makefile.in: Likewise.
12853 * gdb.opt/Makefile.in: Likewise.
12854 * gdb.pascal/Makefile.in: Likewise.
12855 * gdb.perf/Makefile.in: Likewise.
12856 * gdb.python/Makefile.in: Likewise.
12857 * gdb.reverse/Makefile.in: Likewise.
12858 * gdb.server/Makefile.in: Likewise.
12859 * gdb.stabs/Makefile.in: Likewise.
12860 * gdb.threads/Makefile.in: Likewise.
12861 * gdb.trace/Makefile.in: Likewise.
12862 * gdb.xml/Makefile.in: Likewise.
12863 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12864 GDB_PARALLEL.
12865 (standard_output_file): Remove check for GDB_PARALLEL, always
12866 return path in outputs/$subdir/$testname.
12867
437277d4
SM
128682016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12869
12870 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12871 (site.exp): Assign abs_srcdir to tcl's srcdir.
12872
31d913c7
YQ
128732016-02-04 Yao Qi <yao.qi@linaro.org>
12874
12875 * gdb.base/foll-exec-mode.c: Include limits.h.
12876 (main): Add parameters argc and argv. Get directory from
12877 argv[0].
12878 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12879 compilation.
12880 * gdb.base/foll-exec.c: Include limits.h.
12881 (main): Add parameters argc and argv.
12882 Get directory from argv[0].
12883 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12884 Adjust tests on the number of lines as source code changed.
12885 * gdb.base/foll-vfork-exit.c: Include limits.h.
12886 (main): Add one line of statement before vfork.
12887 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12888 (main): Add parameters argc and argv. Get directory from
12889 argv[0].
12890 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12891 (setup_gdb): Set tbreak to skip some source lines.
12892 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12893 (main): Add parameters argc and argv. Get directory from
12894 argv[0].
12895 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12896 compilation.
12897 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12898 (main): Add parameters argc and argv. Get directory from
12899 argv[0].
12900 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12901 compilation.
12902
9482b9fb
DE
129032016-02-01 Doug Evans <dje@google.com>
12904
12905 * gdb.base/skip.exp: Clean up multiple references to same test name.
12906
6b2e4f10
PA
129072016-02-01 Pedro Alves <palves@redhat.com>
12908
ccb6afd6 12909 PR remote/19496
6b2e4f10
PA
12910 * gdb.threads/forking-threads-plus-breakpoint.exp
12911 (displaced_stepping_supported): New global.
12912 (probe_displaced_stepping_support): New procedure.
12913 (do_test): Add 'displaced' parameter, and use it.
12914 (top level): Check for displaced stepping support. Add displaced
12915 stepping on/off testing axis.
12916
37a8db1a
AB
129172016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12918
12919 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12920 pointer. Don't perform further tests on the unassociated pointer
12921 if the first test fails.
12922
5fdf6324
AB
129232016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12924
12925 * gdb.base/max-value-size.c: New file.
12926 * gdb.base/max-value-size.exp: New file.
12927 * gdb.base/huge.exp: Disable max-value-size for this test.
12928
935c6144
IB
129292016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12930
12931 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12932
7fe8399d
YQ
129332016-01-28 Yao Qi <yao.qi@linaro.org>
12934
12935 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12936
a2077e25
PA
129372016-01-25 Pedro Alves <palves@redhat.com>
12938
12939 PR threads/19461
12940 * gdb.base/fork-running-state.c: New file.
12941 * gdb.base/fork-running-state.exp: New file.
12942
1d2736d4
PA
129432016-01-25 Pedro Alves <palves@redhat.com>
12944
12945 PR gdb/19494
12946 * gdb.base/catch-fork-kill.c: New file.
12947 * gdb.base/catch-fork-kill.exp: New file.
12948
f1da4b11
PA
129492016-01-25 Pedro Alves <palves@redhat.com>
12950
12951 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12952 Delete, moved to lib/gdb.exp.
12953 * gdb.threads/forking-threads-plus-breakpoint.exp
12954 (foreach_with_prefix): Likewise.
12955 * gdb.threads/process-dies-while-handling-bp.exp
12956 (foreach_with_prefix): Likewise.
12957 * lib/gdb.exp (foreach_with_prefix): New procedure.
12958
45f38546
MK
129592016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12960
12961 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12962 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12963
dc29a1ce
MK
129642016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12965
12966 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12967 endian targets.
12968
092127d7
JK
129692016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12970 Pedro Alves <palves@redhat.com>
12971
12972 Fix testsuite compatibility with Guile.
12973 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12974 number.
12975
31d765d3
JK
129762016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12977
12978 Fix testsuite compatibility with Guile.
12979 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12980 (thread 1): New test for backtrace through signal handler.
12981
1ac78c04
YQ
129822016-01-22 Yao Qi <yao.qi@linaro.org>
12983
12984 PR testsuite/19491
12985 * gdb.base/multi-forks.c: Include
12986 ../lib/unbuffer_output.c
12987 (main): Call gdb_unbuffer_output.
12988
4f5946a8
DE
129892016-01-21 Doug Evans <dje@google.com>
12990
12991 * lib/ada.exp (gdb_compile_ada): Fix typo.
12992
305e13e6
JB
129932016-01-21 Joel Brobecker <brobecker@adacore.com>
12994
12995 * gdb.base/break-fun-addr.exp: New file.
12996 * gdb.base/break-fun-addr1.c: New file.
12997 * gdb.base/break-fun-addr2.c: New file.
12998
5f5dfff6
SM
129992016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13000
13001 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13002 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13003 enum flag values.
13004
fd356fa2
AA
130052016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13006
13007 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13008 when GDB can not set the vector return value. Add more comments
13009 for clarification.
13010
9df22175
AT
130112016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13012
13013 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13014 command.
13015
41d1845e
SM
130162016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13017
13018 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13019
01ac6840
SM
130202016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13021
13022 * Makefile.in (check-single): Pass --status to runtest.
13023 (check/%.exp): Likewise.
13024
130252016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13026
13027 * Makefile.in (check-parallel): Propagate return code from make
13028 do-check-parallel.
13029
bd0a71fa
MK
130302016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13031
13032 * gdb.trace/ftrace.exp: Fix expected message on continue.
13033 * gdb.trace/pending.exp: Fix expected message on continue.
13034 * gdb.trace/trace-break.exp: Fix expected message on continue.
13035
8bcbad33
SM
130362016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13037
13038 * lib/gdb.exp (gdb_test): Remove unused global references.
13039
f303dbd6
PA
130402016-01-18 Pedro Alves <palves@redhat.com>
13041
13042 * gdb.base/async-shell.exp: Adjust expected output.
13043 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13044 * gdb.base/siginfo-thread.exp: Adjust expected output.
13045 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13046 * gdb.java/jnpe.exp: Adjust expected output.
13047 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13048 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13049 * gdb.threads/leader-exit.exp: Adjust expected output.
13050 * gdb.threads/manythreads.exp: Adjust expected output.
13051 * gdb.threads/pthreads.exp: Adjust expected output.
13052 * gdb.threads/schedlock.exp: Adjust expected output.
13053 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13054 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13055 expected output.
13056 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13057 output.
13058 * gdb.threads/sigthread.exp: Adjust expected output.
13059 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13060
b2789696
YQ
130612016-01-18 Yao Qi <yao.qi@linaro.org>
13062
13063 * gdb.guile/scm-section-script.c: Replace @progbits with
13064 %progbits.
13065 * gdb.python/py-section-script.c: Likewise.
13066
71ef29a8
PA
130672016-01-15 Pedro Alves <palves@redhat.com>
13068
13069 * gdb.multi/tids.exp: Test star wildcard ranges.
13070
3f5b7598
PA
130712016-01-15 Pedro Alves <palves@redhat.com>
13072
13073 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13074 command from "thread apply" invocation.
13075 (thr_apply_info_thr_invalid): Default the expected output to the
13076 input tid list.
13077 (top level): Add tests that use convenience variables. Add tests
13078 for "thread apply" with a valid TID list, but missing the command.
13079
663f6d42
PA
130802016-01-13 Pedro Alves <palves@redhat.com>
13081
13082 * gdb.base/default.exp: Expect $_gthread as well.
13083 * gdb.multi/tids.exp: Test $_gthread.
13084 * gdb.threads/thread-specific.exp: Test $_gthread.
13085
c84f6bbf
PA
130862016-01-13 Pedro Alves <palves@redhat.com>
13087
13088 * gdb.multi/tids.exp: Test "info threads -gid".
13089
22a02324
PA
130902016-01-13 Pedro Alves <palves@redhat.com>
13091
13092 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13093 Breakpoint.thread.
13094 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13095
5d5658a1
PA
130962016-01-07 Pedro Alves <palves@redhat.com>
13097
13098 * gdb.base/break.exp: Adjust to output changes.
13099 * gdb.base/hbreak2.exp: Likewise.
13100 * gdb.base/sepdebug.exp: Likewise.
13101 * gdb.base/watch_thread_num.exp: Likewise.
13102 * gdb.linespec/keywords.exp: Likewise.
13103 * gdb.multi/info-threads.exp: Likewise.
13104 * gdb.threads/thread-find.exp: Likewise.
13105 * gdb.multi/tids.c: New file.
13106 * gdb.multi/tids.exp: New file.
13107
84654457
PA
131082016-01-13 Pedro Alves <palves@redhat.com>
13109
13110 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13111
e3940304
PA
131122016-01-13 Pedro Alves <palves@redhat.com>
13113
13114 * gdb.base/default.exp: Expect $_inferior as well.
13115 * gdb.multi/base.exp: Test $_inferior.
13116
a911d87a
PA
131172016-01-13 Pedro Alves <palves@redhat.com>
13118
13119 PR breakpoints/19388
13120 * gdb.base/catch-signal-siginfo-cond.c: New file.
13121 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13122
82075af2
JS
131232016-01-12 Josh Stone <jistone@redhat.com>
13124 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13125
13126 * gdb.base/catch-syscall.c (do_execve): New variable.
13127 (main): Conditionally trigger an execve.
13128 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13129 (test_catch_syscall_execve): New, check entry/return across execve.
13130 (do_syscall_tests): Call test_catch_syscall_execve.
13131
e46eeedd
PA
131322016-01-12 Pedro Alves <palves@redhat.com>
13133
13134 * gdb.base/random-signal.exp (do_test): New procedure, with body
13135 of testcase moved in.
13136
01d8c27e
JK
131372016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13138 Pedro Alves <palves@redhat.com>
13139
13140 * gdb.base/funcargs.exp (finish from indirectly called function):
13141 Reintroduce the case for 'First'.
13142
9a706302
JK
131432016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13144 Pedro Alves <palves@redhat.com>
13145
13146 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13147 (tcatch_vfork_then_child_follow_exec)
13148 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13149 identification.
13150
c0ecb95f
JK
131512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13152
13153 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13154 and repeats to unlimited.
13155 * gdb.python/py-value.exp: Likewise.
13156 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13157 and repeats to unlimited.
13158
6cfc1fcb
JK
131592016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13160
13161 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13162 and reordering the functions.
13163 * gdb.multi/hangout.c: Likewise.
13164 * gdb.multi/hello.c: Likewise.
13165
582a1b00
SM
131662016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13167
13168 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13169 absolute.
13170 (SingleStatisticTestResult.report): Use dict.keys instead of
13171 dict.iterkeys.
13172
79bc59cb
PA
131732016-01-06 Pedro Alves <palves@redhat.com>
13174
13175 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13176
43368e1d
MM
131772016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13178
13179 * gdb.btrace/dlopen.exp: New.
13180 * gdb.btrace/dlopen.c: New.
13181 * gdb.btrace/dlopen-dso.c: New.
13182
79fad5b8
SL
131832015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13184
13185 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13186 PATTERN argument is optional.
13187
ab8314b3
JB
131882015-12-24 Joel Brobecker <brobecker@adacore.com>
13189
13190 * lib/ada.exp (target_compile_ada_from_dir): New function.
13191 (gdb_compile_ada): Reimplement avoiding the use of project files.
13192 * gdb.ada/gnat_ada.gpr: Delete.
13193 * gdb.ada/cond_lang.exp: Adjust test to make path before
13194 filename optional.
13195 * gdb.ada/small_reg_param.exp: Likewise.
13196
fe33faff
SM
131972015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13198
13199 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13200
6d265cb4
TP
132012015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13202
13203 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13204 case.
13205
10125099
SM
132062015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13207
13208 * gdb.base/break.exp: Remove dead code.
13209 * gdb.base/sepdebug.exp: Likewise.
13210
3ca22649
SM
132112015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13212
13213 * gdb.asm/asm-source.exp: Remove HP-UX references.
13214 * gdb.base/annota1.exp: Likewise.
13215 * gdb.base/annota3.exp: Likewise.
13216 * gdb.base/attach.exp: Likewise.
13217 * gdb.base/bigcore.exp: Likewise.
13218 * gdb.base/break.exp: Likewise.
13219 * gdb.base/call-ar-st.exp: Likewise.
13220 * gdb.base/callfuncs.exp: Likewise.
13221 * gdb.base/catch-fork-static.exp: Likewise.
13222 * gdb.base/display.exp: Likewise.
13223 * gdb.base/foll-exec-mode.exp: Likewise.
13224 * gdb.base/foll-exec.exp: Likewise.
13225 * gdb.base/foll-fork.exp: Likewise.
13226 * gdb.base/foll-vfork.exp: Likewise.
13227 * gdb.base/funcargs.exp: Likewise.
13228 * gdb.base/hbreak2.exp: Likewise.
13229 * gdb.base/inferior-died.exp: Likewise.
13230 * gdb.base/interrupt.exp: Likewise.
13231 * gdb.base/multi-forks.exp: Likewise.
13232 * gdb.base/nodebug.exp: Likewise.
13233 * gdb.base/sepdebug.exp: Likewise.
13234 * gdb.base/solib1.c: Likewise.
13235 * gdb.base/step-test.exp: Likewise.
13236 * gdb.mi/non-stop.c: Likewise.
13237 * gdb.mi/pthreads.c: Likewise.
13238 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13239 * gdb.threads/pthreads.c: Likewise.
13240 * gdb.threads/staticthreads.exp: Likewise.
13241 * lib/future.exp: Likewise.
13242 * lib/gdb.exp: Likewise.
13243 * gdb.base/so-indr-cl.c: Remove.
13244 * gdb.base/so-indr-cl.exp: Likewise.
13245 * gdb.base/solib.c: Likewise.
13246 * gdb.base/solib.exp: Likewise.
13247 * gdb.base/solib2.c: Likewise.
13248
b6304613
SM
132492015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13250
13251 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13252 * gdb.base/call-ar-st.exp: Likewise.
13253 * gdb.base/callfuncs.exp: Likewise.
13254 * gdb.base/condbreak.exp: Likewise.
13255 * gdb.base/constvars.exp: Likewise.
13256 * gdb.base/hbreak2.exp: Likewise.
13257 * gdb.base/langs.exp: Likewise.
13258 * gdb.base/list.exp: Likewise.
13259 * gdb.base/long_long.exp: Likewise.
13260 * gdb.base/ptype.exp: Likewise.
13261 * gdb.base/scope.exp: Likewise.
13262 * gdb.base/signals.exp: Likewise.
13263 * gdb.base/so-impl-ld.exp: Likewise.
13264 * gdb.base/varargs.exp: Likewise.
13265 * gdb.base/volatile.exp: Likewise.
13266 * gdb.base/whatis.exp: Likewise.
13267 * gdb.cp/cplusfuncs.exp: Likewise.
13268 * gdb.cp/inherit.exp: Likewise.
13269 * gdb.cp/local.exp: Likewise.
13270 * gdb.cp/member-ptr.exp: Likewise.
13271 * gdb.cp/method.exp: Likewise.
13272 * gdb.cp/overload.exp: Likewise.
13273 * gdb.cp/templates.exp: Likewise.
13274 * gdb.stabs/weird.exp: Likewise.
13275 * lib/compiler.c: Likewise.
13276 * lib/compiler.cc: Likewise.
13277 * lib/cp-support.exp: Likewise.
13278 * lib/gdb.exp: Likewise.
13279
bf401b07
SM
132802015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13281
13282 * configure.ac: Remove HP-UX case.
13283 * configure: Regenerate.
13284
aff9c0f8
SM
132852015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13286
13287 * lib/gdb.exp (gdb_compile): Add function doc.
13288
a6904d5a
PA
132892015-12-17 Pedro Alves <palves@redhat.com>
13290
13291 PR threads/19354
13292 * gdb.multi/info-threads.exp: New file.
13293
a22279dd
YQ
132942015-12-15 Yao Qi <yao.qi@linaro.org>
13295
13296 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13297 is aarch64*-*-*.
13298
0588c796
SL
132992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13300
13301 * gdb.base/history-duplicates.exp: Skip if no readline support.
13302
5d978e17
SL
133032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13304
13305 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13306
7e763b86
SL
133072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13308
13309 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13310
87a3a92c
SL
133112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13312
13313 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13314 ctrl-C if nointerrupts target property is set.
13315 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13316 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13317 * gdb.base/paginate-bg-execution.exp: Likewise.
13318 * gdb.base/paginate-execution-startup.exp: Likewise.
13319 * gdb.base/random-signal.exp: Likewise.
13320 * gdb.base/range-stepping.exp: Likewise.
13321 * gdb.cp/annota2.exp: Likewise.
13322 * gdb.cp/annota3.exp: Likewise.
13323 * gdb.gdb/selftest.exp: Likewise.
13324 * gdb.threads/continue-pending-status.exp: Likewise.
13325 * gdb.threads/leader-exit.exp: Likewise.
13326 * gdb.threads/manythreads.exp: Likewise.
13327 * gdb.threads/pthreads.exp: Likewise.
13328 * gdb.threads/schedlock.exp: Likewise.
13329 * gdb.threads/sigthread.exp: Likewise.
13330
a8f077dc
DB
133312015-12-11 Don Breazeal <donb@codesourcery.com>
13332
13333 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13334 remote.
13335 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13336 * gdb.base/foll-exec.exp (main): Enable for target remote.
13337 * gdb.base/foll-fork.exp (main): Likewise.
13338 * gdb.base/foll-vfork.exp (main): Likewise.
13339 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13340 (proc continue_to_exit_bp_loc): Use clean_restart.
13341 * gdb.base/pie-execl.exp (main): Disable for target remote.
13342 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13343 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13344 * gdb.threads/execl.exp (main): Likewise.
13345 * gdb.threads/fork-child-threads.exp (main): Likewise.
13346 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13347 remote.
13348 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13349 remote.
13350 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13351 pid.tid style ptids, instead of just tid.
13352 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13353 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13354 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13355 ptids, instead of just tid.
13356
3b2464a8
AB
133572015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13358
13359 * gdb.base/list.exp (test_list_forward): Add end of file error
13360 test.
13361 (test_repeat_list_command): Add end of file error test.
13362 (test_list_backwards): Add beginning of file error test.
13363
a0def019
AB
133642015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13365
13366 * gdb.base/list.exp (test_list_invalid_args): New function,
13367 defined, and called.
13368
5c000dff
AB
133692015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13370
13371 * gdb.base/list.exp (test_list): Make test names unique.
13372
f1637ebe
YQ
133732015-12-11 Yao Qi <yao.qi@linaro.org>
13374
13375 * gdb.base/coremaker2.c: Remove.
13376
36d6fc0a
PA
133772015-12-10 Pedro Alves <palves@redhat.com>
13378
13379 * gdb.multi/base.exp: Remove stale "spaces" references.
13380
762f7747
PA
133812015-12-10 Pedro Alves <palves@redhat.com>
13382
13383 * gdb.multi/base.exp: Don't use nowarnings.
13384 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13385 * gdb.multi/hangout.c: Include stdio.h.
13386 * gdb.multi/hello.c: Include stdlib.h.
13387 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13388 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13389 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13390
28d2bfb9
AB
133912015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13392
13393 * gdb.dwarf2/dw2-ranges-base.c: New file.
13394 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13395 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13396 support additional line table, and debug ranges generation.
13397 (Dwarf::ranges): New function, generate .debug_ranges.
13398 (Dwarf::lines): Support generating simple line table programs.
13399 (Dwarf::assemble): Initialise new namespace variables.
13400
5fc2beac
KB
134012015-12-09 Kevin Buettner <kevinb@redhat.com>
13402
13403 * gdb.base/async.exp (proc test_background): Add case for
13404 asynchronous execution not supported.
13405
1c35a88f
LM
134062015-12-09 Luis Machado <lgustavo@codesourcery.com>
13407
13408 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13409 format and change test names to make them unique.
13410
b593e3d9
RK
134112015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13412 Pedro Alves <pedro@redhat.com>
13413
13414 PR gdb/18702
13415 Add checking of floatformats setup on x86_64 hosts.
13416 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13417 (smallval, bigval): New labels/constants.
13418 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13419 float" after loading bigval and smallval.
13420
d72413e6
PMR
134212015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13422
13423 * gdb.ada/fun_overload_menu.exp: New testcase.
13424 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13425
ece66d65
JS
134262015-12-04 Josh Stone <jistone@redhat.com>
13427
13428 * gdb.base/catch-fork-static.exp: New.
13429
41d0efca
YQ
134302015-12-03 Yao Qi <yao.qi@linaro.org>
13431
13432 * gdb.base/sizeof.c: Don't include stdio.h and
13433 ../lib/unbuffer_output.c.
13434 (main): New variable 'size' and 'value'. Remove printf and
13435 gdb_unbuffer_output. Assign return value to size and value.
13436 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13437 at the beginning.
13438 (check_sizeof): Check the result by printing variable 'size'.
13439 (check_valueof): Check the result by printing variable 'value'.
13440
99fd02d9
YQ
134412015-12-01 Yao Qi <yao.qi@linaro.org>
13442
13443 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13444 for aarch64*-*-linux* target.
13445
f2faf941
PA
134462015-11-30 Pedro Alves <palves@redhat.com>
13447
13448 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13449
04bf20c5
PA
134502015-11-30 Pedro Alves <palves@redhat.com>
13451
13452 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13453 Handle non-stop mode vCont replies.
13454
09df4675
PA
134552015-11-30 Pedro Alves <palves@redhat.com>
13456
13457 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13458 prepare_for_testing. Start gdb with "set non-stop on" appended to
13459 GDBFLAGS. Lax expected stop output.
13460
58b584af
YQ
134612015-11-27 Yao Qi <yao.qi@linaro.org>
13462
13463 * gdb.arch/arm-neon.exp: New.
13464 * gdb.arch/arm-neon.c: New.
13465
dfcb77a8
YQ
134662015-11-27 Yao Qi <yao.qi@linaro.org>
13467
13468 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13469
88e8ec1b
YQ
134702015-11-27 Yao Qi <yao.qi@linaro.org>
13471
13472 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13473 frames-invalid annotation.
13474
bfde72c2
YQ
134752015-11-27 Yao Qi <yao.qi@linaro.org>
13476
13477 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13478
f6512a69
SM
134792015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13480
13481 * gdb.threads/names.exp: New file.
13482 * gdb.threads/names.c: New file.
13483 * README: Mention gdb,no_thread_names.
13484
46a3515b
MM
134852015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13486
13487 PR 19297
13488 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13489 support" error.
13490
62147a22
PA
134912015-11-24 Pedro Alves <palves@redhat.com>
13492
13493 PR 17539
13494 * gdb.base/display.exp: Expect displays to be sorted in ascending
13495 order. Use multi_line.
13496 * gdb.base/solib-display.exp: Likewise.
13497
2f341b6e
PA
134982015-11-24 Pedro Alves <palves@redhat.com>
13499
13500 PR 17539
25d49b86
PA
13501 * gdb.base/display.exp: Expect displays to be sorted in ascending
13502 order. Use multi_line.
13503 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13504
7e0aa6aa
PA
135052015-11-24 Pedro Alves <palves@redhat.com>
13506
13507 PR 17539
13508 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13509 threads in ascending order.
13510 * gdb.base/foll-fork.exp: Likewise.
13511 * gdb.base/foll-vfork.exp: Likewise.
13512 * gdb.base/multi-forks.exp: Likewise.
13513 * gdb.mi/mi-nonstop.exp: Likewise.
13514 * gdb.mi/mi-nsintrall.exp: Likewise.
13515 * gdb.multi/base.exp: Likewise.
13516 * gdb.multi/multi-arch.exp: Likewise.
13517 * gdb.python/py-inferior.exp: Likewise.
13518 * gdb.threads/break-while-running.exp: Likewise.
13519 * gdb.threads/execl.exp: Likewise.
13520 * gdb.threads/gcore-thread.exp: Likewise.
13521 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13522 * gdb.threads/kill.exp: Likewise.
13523 * gdb.threads/linux-dp.exp: Likewise.
13524 * gdb.threads/multiple-step-overs.exp: Likewise.
13525 * gdb.threads/next-bp-other-thread.exp: Likewise.
13526 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13527 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13528 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13529 * gdb.threads/thread-find.exp: Likewise.
13530 * gdb.threads/tls.exp: Likewise.
13531 * lib/mi-support.exp (mi_reverse_list): Delete.
13532 (mi_check_thread_states): No longer reverse list.
13533
2cc57ad8
PA
135342015-11-24 Pedro Alves <palves@redhat.com>
13535
13536 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13537 use lowercase.
13538
c93e8391
SM
135392015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13540
13541 * gdb.trace/actions.c: Include trace-common.h.
13542 (main): Add a location for a fast tracepoint.
13543 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13544 the normal tracepoints.
13545 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13546
045ccf91
SM
135472015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13548
13549 * save-trace.exp: Factor out code to these...
13550 (gdb_save_tracepoints): New.
13551 (gdb_load_tracepoints): New.
13552 (do_save_load_test): New.
13553
5506f9f6
KB
135542015-11-23 Kevin Buettner <kevinb@redhat.com>
13555
13556 * gdb.base/asmlabel.exp: New test.
13557 * gdb.base/asmlabel.c: New test case.
13558
16c3b12f
JB
135592015-11-23 Joel Brobecker <brobecker@adacore.com>
13560
13561 * gdb.base/wrong_frame_bt_full-main.c: New file.
13562 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13563 * gdb.base/wrong_frame_bt_full.exp: New file.
13564
155bfbd3
JB
135652015-11-23 Joel Brobecker <brobecker@adacore.com>
13566
13567 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13568
bb097445
JM
135692015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13570
206853a0 13571 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13572 pstate register when comparing registers values in
13573 sparc64-*-linux-gnu targets to avoid spurious differences.
13574
9c88ed8f
JM
135752015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13576
206853a0 13577 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13578
96161e25
SL
135792015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13580
13581 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13582 as type argument to gdb_compile.
13583 * gdb.base/nested-subp2.exp: Likewise.
13584 * gdb.base/nested-subp3.exp: Likewise.
13585
340c2830
DV
135862015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13587
13588 * lib/dwarf.exp (_note): Fix left shift of negative value.
13589 * gdb.trace/trace-condition.exp: Likewise.
13590
c1862d0f
YQ
135912015-11-13 Yao Qi <yao.qi@linaro.org>
13592
13593 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13594 comments about d10v.
13595 (test_scalar_returns): Likewise.
13596 * gdb.base/d10v.ld: Remove.
13597 * gdb.base/overlays.exp: Remove the target triplet checking for
13598 d10v-*-*.
13599 * gdb.base/structs.exp (test_struct_returns): Remove the
13600 comments about d10v.
13601 (test_struct_calls): Likewise.
13602
77ae9c19
YQ
136032015-11-13 Yao Qi <yao.qi@linaro.org>
13604
13605 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13606 * gdb.base/gnu_vector.c: Don't include stdio.h.
13607 (main): Don't print res and call add_some_intvecs.
13608
430e004e
MK
136092015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13610
13611 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13612 macro.
13613 (func5): Removed.
13614 (func4): Use FAST_TRACEPOINT_LABEL.
13615 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13616 macro.
13617 (func): Removed.
13618 (thread_function): Use FAST_TRACEPOINT_LABEL.
13619 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13620 (func): Remove.
13621 (marker): Use FAST_TRACEPOINT_LABEL.
13622 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13623 (pendfunc1): Remove.
13624 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13625 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13626 (foo): Remove.
13627 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13628 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13629 macro.
13630 (func): Remove.
13631 (marker): Use FAST_TRACEPOINT_LABEL.
13632 * gdb.trace/trace-common.h: New header.
13633 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13634 macro.
13635 (func): Remove.
13636 (marker): Use FAST_TRACEPOINT_LABEL.
13637 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13638 (func): Remove.
13639 (thread_function): Use FAST_TRACEPOINT_LABEL.
13640
6e7675a7
MK
136412015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13642
13643 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13644 in front.
13645 * gdb.trace/change-loc.exp: Use global pcreg definition.
13646 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13647 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13648 in front.
13649 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13650 * gdb.trace/pending.exp: Likewise.
13651 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13652 * gdb.trace/trace-break.exp: Likewise.
13653 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13654 in front.
13655 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13656 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13657 in front.
13658 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13659
dddc0e16
JB
136602015-11-09 Joel Brobecker <brobecker@adacore.com>
13661
13662 * gdb.ada/fin_fun_out: New testcase.
13663
c6f0b406
KB
136642015-11-07 Kevin Buettner <kevinb@redhat.com>
13665
13666 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13667 value associated with DW_AT_byte_size.
13668 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13669 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13670 DW_AT_upper_bound.
13671
f01dcfd9
KB
136722015-11-07 Kevin Buettner <kevinb@redhat.com>
13673
13674 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13675 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13676 version.
13677 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13678 gdb.dwarf2/dw2-canonicalize-type.exp,
13679 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13680 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13681 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13682 provided by gdb_target_symbol_prefix_flags_asm.
13683 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13684 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13685 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13686 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13687 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13688 macros where needed). Use this macro for symbols which require
13689 the prefix provided by SYMBOL_PREFIX.
13690
2223449a
KB
136912015-11-05 Kevin Buettner <kevinb@redhat.com>
13692
13693 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13694 New procs.
13695 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13696 representing expressions, of more than one list element.
13697 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13698 to prepend linker symbol prefix to f.
13699 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13700 table_1 and table_2.
13701 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13702 Likewise, for f and g.
13703 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13704 for ptr.
13705 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13706 for main.
13707 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13708 table_1_ptr and table_2_ptr.
13709
6f2f1a3a
JK
137102015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13711 Joel Brobecker <brobecker@adacore.com>
13712
13713 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13714
566c56c9
MK
137152015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13716
13717 * gdb.reverse/s390-mvcle.c: New test.
13718 * gdb.reverse/s390-mvcle.exp: New file.
13719 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13720
d5f0636b
MK
137212015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13722
13723 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13724
7ad8b86c
MK
137252015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13726
13727 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13728 reaching marker2.
13729 * gdb.reverse/getresuid-reverse.exp: Likewise.
13730 * gdb.reverse/pipe-reverse.exp: Likewise.
13731 * gdb.reverse/readv-reverse.exp: Likewise.
13732 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13733 * gdb.reverse/time-reverse.exp: Likewise.
13734 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13735
4081c0f1
YQ
137362015-10-30 Yao Qi <yao.qi@linaro.org>
13737
13738 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13739 (empty_cycle): Remove.
13740 (main): Don't call empty_cycle. Don't use watch_count_done.
13741 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13742 empty_cycle. Rewrite the code counting HW watchpoints.
13743
452b4ba5
MK
137442015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13745
13746 * gdb.reverse/fstatat-reverse.c: New test.
13747 * gdb.reverse/fstatat-reverse.exp: New file.
13748 * gdb.reverse/getresuid-reverse.c: New test.
13749 * gdb.reverse/getresuid-reverse.exp: New file.
13750 * gdb.reverse/pipe-reverse.c: New test.
13751 * gdb.reverse/pipe-reverse.exp: New file.
13752 * gdb.reverse/readv-reverse.c: New test.
13753 * gdb.reverse/readv-reverse.exp: New file.
13754 * gdb.reverse/recvmsg-reverse.c: New test.
13755 * gdb.reverse/recvmsg-reverse.exp: New file.
13756 * gdb.reverse/time-reverse.c: New test.
13757 * gdb.reverse/time-reverse.exp: New file.
13758 * gdb.reverse/waitpid-reverse.c: New test.
13759 * gdb.reverse/waitpid-reverse.exp: New file.
13760
5e2e7507
JK
137612015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13762
13763 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13764
0fde2c53
DE
137652015-10-26 Doug Evans <dje@google.com>
13766
13767 PR symtab/17391
13768 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13769 * gdb.dwarf2/bad-regnum.c: New file.
13770 * gdb.dwarf2/bad-regnum.exp: New file.
13771
1a70ae97
DE
137722015-10-26 Doug Evans <dje@google.com>
13773
13774 PR python/18938
13775 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13776 file.
13777
27dc26ab
JK
137782015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13779
13780 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13781 for a change by "Mention language in compile error message".
13782
bed91f4d
SM
137832015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13784
13785 PR python/18073
13786 * gdb.python/py-type.c (C::a_method): New.
13787 (C::a_const_method): New.
13788 (C::a_static_method): New.
13789 (a_function): New.
13790 * gdb.python/py-type.exp (test_fields): Test getting fields
13791 from function and method.
13792
3f2f83dd
KB
137932015-10-21 Keven Boell <keven.boell@intel.com>
13794
13795 * gdb.fortran/vla-alloc-assoc.exp: New file.
13796 * gdb.fortran/vla-datatypes.exp: New file.
13797 * gdb.fortran/vla-datatypes.f90: New file.
13798 * gdb.fortran/vla-history.exp: New file.
13799 * gdb.fortran/vla-ptype-sub.exp: New file.
13800 * gdb.fortran/vla-ptype.exp: New file.
13801 * gdb.fortran/vla-sizeof.exp: New file.
13802 * gdb.fortran/vla-sub.f90: New file.
13803 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13804 * gdb.fortran/vla-value-sub-finish.exp: New file.
13805 * gdb.fortran/vla-value-sub.exp: New file.
13806 * gdb.fortran/vla-value.exp: New file.
13807 * gdb.fortran/vla-ptr-info.exp: New file.
13808 * gdb.mi/mi-vla-fortran.exp: New file.
13809 * gdb.mi/vla.f90: New file.
13810
27145d50
SL
138112015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13812
13813 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13814 of hardwired timeout value.
13815
5f3ff4f8
JK
138162015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13817 Pedro Alves <palves@redhat.com>
13818
13819 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13820 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13821
bfd09d20
JS
138222015-10-19 Josh Stone <jistone@redhat.com>
13823
13824 * gdb.base/catch-syscall.c: Include <sched.h>.
13825 (unknown_syscall): New variable.
13826 (main): Trigger a vfork and an unknown syscall.
13827 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13828 (unknown_syscall_number): Likewise.
13829 (check_call_to_syscall): Accept an optional syscall pattern.
13830 (check_return_from_syscall): Likewise.
13831 (check_continue): Likewise.
13832 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13833 (test_catch_syscall_skipping_return): New test toggling off 'catch
13834 syscall' to step over the syscall return, then toggling back on.
13835 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13836 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13837 (do_syscall_tests): Call test_catch_syscall_without_args and
13838 test_catch_syscall_mid_vfork.
13839 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13840 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13841
b32b93c6
AS
138422015-10-19 Andrew Stubbs <ams@codesourcery.com>
13843
13844 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13845 print g_vE): Add new pass patterns.
13846 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13847 print various symbol names for vptr fields.
13848
9d622bda
AB
138492015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13850
13851 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13852 results.
13853
0fd8ac1c
YQ
138542015-10-12 Yao Qi <yao.qi@linaro.org>
13855
13856 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13857
34240514
YQ
138582015-10-12 Yao Qi <yao.qi@linaro.org>
13859
13860 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13861 is aarch64*-*-linux*.
13862
8240f442
YQ
138632015-10-12 Yao Qi <yao.qi@linaro.org>
13864
13865 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13866 (can_relocate_bcond_true): ... it.
13867 (can_relocate_bcond_false): New function.
13868 (foo): Likewise.
13869 (can_relocate_bl): Likewise.
13870 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13871 can_relocate_bl.
13872
2520f728
PMR
138732015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13874
13875 * gdb.base/nested-addr.c: New file.
13876 * gdb.base/nested-addr.exp: New testcase.
13877
abcef95a
MM
138782015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13879
13880 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13881 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13882 its output. Ignore the output of "record goto begin" and instead
13883 check that GDB is replaying.
13884
145e3ddb
PA
138852015-10-09 Pedro Alves <palves@redhat.com>
13886
13887 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13888 (top level): Use it in the run with no args test.
13889
d5d8c4e1
IB
138902015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13891
13892 * gdb.dlang/properties.exp: New file.
13893
06e635ef
SL
138942015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13895
13896 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13897 whether or not address 0x1000 is mapped on the target.
13898
e019fd1d
SM
138992015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13900
13901 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13902 build.
13903
77ba2a67
MM
139042015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13905
13906 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13907 instruction-history test.
13908
c60eb31f
DE
139092015-09-28 Doug Evans <dje@google.com>
13910
13911 * gdb.base/gcore.c (array_func): Add reference to static_array.
13912
9a3c8263
SM
139132015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13914
13915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13916 source line.
13917
9720e656
SL
139182015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13919
13920 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13921 short or char as base type.
13922
938d3bf2
SL
139232015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13924
13925 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13926 to allow any size enum.
13927
e6c2c623
PMR
139282015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13929
13930 * gdb.ada/array_ptr_renaming.exp: New testcase.
13931 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13932 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13933
06da0f77
PL
139342015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13935
13936 * gdb.trace/ftrace-lock.c: New file.
13937 * gdb.trace/ftrace-lock.exp: New file.
13938
4f51c22a
PL
139392015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13940
13941 * gdb.arch/insn-reloc.c: New file.
13942 * gdb.arch/ftrace-insn-reloc.exp: New file.
13943
7041adf4
PL
139442015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13945
13946 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13947 instruction.
13948 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13949 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13950 * gdb.trace/range-stepping.c: Likewise.
13951 * gdb.trace/trace-break.c: Likewise.
13952 * gdb.trace/trace-mt.c (thread_function): Likewise.
13953 * gdb.trace/ftrace.c (marker): Likewise.
13954 * gdb.trace/trace-condition.c (marker): Likewise.
13955 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13956 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13957 is_aarch64_target.
13958
015d2e7e
DE
139592015-09-18 Doug Evans <xdje42@gmail.com>
13960
13961 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13962 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13963
26b188a2
SL
139642015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13965
13966 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13967 the breakpoint.
13968
79dc332b
SL
139692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13970
13971 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13972 the pending breakpoint. Remove timeout override for "Run till
13973 MI pending breakpoint on pendfunc3 on thread 2" test.
13974
f57929f2
SL
139752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13976
13977 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13978 filename pattern.
13979
3f469b17
SL
139802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13981
13982 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13983 in breakpoint filename pattern.
13984
515b89b3
SL
139852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13986
7800dbe4
SL
13987 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13988
139892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13990
515b89b3
SL
13991 * gdb.linespec/explicit.exp: Check for readline support for
13992 tab-completion tests. Fix obvious typo.
13993
d2939ba2
MM
139942015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13995
13996 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13997 and replay.
13998
cbb55fa7
MM
139992015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14000
14001 * gdb.btrace/non-stop.c: New.
14002 * gdb.btrace/non-stop.exp: New.
14003
43691ca1
PL
140042015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14005 Yao Qi <yao.qi@linaro.org>
14006
14007 * gdb.trace/trace-condition.c: New file.
14008 * gdb.trace/trace-condition.exp: New file.
14009
d78908cf
WW
140102015-09-16 Wei-cheng Wang <cole945@gmail.com>
14011
14012 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14013 for testing bytecode compilation.
14014
1ed415e2
PA
140152015-09-16 Pedro Alves <palves@redhat.com>
14016 Sandra Loosemore <sandra@codesourcery.com>
14017
14018 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14019 (SECONDS): Redefine.
14020 (main): Call pthread_kill and alarm early.
14021 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14022 support.
14023 (test): If the target can't hardware step and doesn't support
14024 displaced stepping, increase the timeout.
14025
d136eff5
PA
140262015-09-16 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14029 (enable_debug): New procedures.
14030 (test): Use them. Bail out if waiting for threads fails.
14031 (top level): Bail out if a test fails.
14032
991f019c
YQ
140332015-09-16 Yao Qi <yao.qi@linaro.org>
14034
14035 * gdb.asm/asm-source.exp: Set asm-arch for
14036 aarch64*-*-* target.
14037 * gdb.asm/aarch64.inc: New file.
14038
bfca584f
PMR
140392015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14040
14041 * gdb.ada/array_of_variable_length.exp: New testcase.
14042 * gdb.ada/array_of_variable_length/foo.adb: New file.
14043 * gdb.ada/array_of_variable_length/pck.adb: New file.
14044 * gdb.ada/array_of_variable_length/pck.ads: New file.
14045
b326e587
DE
140462015-09-15 Doug Evans <dje@google.com>
14047
14048 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14049 of function static local variable.
14050
5382cfab
PW
140512015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14052
14053 * gdb.threads/tls-so_extern.exp: New test file.
14054 * gdb.threads/tls-so_extern.c: New test file.
14055 * gdb.threads/tls-so_extern_main.c: New test file.
14056
141c5cc4
JK
140572015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14058
14059 * gdb.opt/solib-intra-step-lib.c: New file.
14060 * gdb.opt/solib-intra-step-main.c: New file.
14061 * gdb.opt/solib-intra-step.exp: New file.
14062
d15dcecd
PA
140632015-09-15 Pedro Alves <palves@redhat.com>
14064
14065 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14066 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14067
4c2f2a79
PA
140682015-09-14 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.base/hook-stop-continue.c: Delete.
14071 * gdb.base/hook-stop-continue.exp: Delete.
14072 * gdb.base/hook-stop-frame.c: Delete.
14073 * gdb.base/hook-stop-frame.exp: Delete.
14074 * gdb.base/hook-stop.c: New file.
14075 * gdb.base/hook-stop.exp: New file.
14076
919e6dbe
PMR
140772015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14078
14079 * gdb.ada/access_to_packed_array.exp: New testcase.
14080 * gdb.ada/access_to_packed_array/foo.adb: New file.
14081 * gdb.ada/access_to_packed_array/pack.adb: New file.
14082 * gdb.ada/access_to_packed_array/pack.ads: New file.
14083
157280a4
MM
140842015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14085
14086 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14087 buffer size test.
14088
2fd33e94
DB
140892015-09-11 Don Breazeal <donb@codesourcery.com>
14090
14091 * gdb.base/foll-exec.c: Add copyright header. Fix
14092 formatting issues.
14093 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14094 (do_exec_tests): Use clean_restart in place of zap_session,
14095 and for test initialization. Fix formatting issues. Use
14096 fail in place of perror.
14097 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14098 an expect statement to match an expression with output from
14099 the program under debug.
14100 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14101 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14102 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14103 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14104 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14105
e70b6e8e
DE
141062015-09-09 Doug Evans <dje@google.com>
14107
14108 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14109
7a551a51
DE
141102015-09-09 Doug Evans <dje@google.com>
14111
14112 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14113
4c666f84
DE
141142015-09-09 Doug Evans <dje@google.com>
14115
14116 * gdb.base/savedregs.exp: Fix typo.
14117
243a9253
PA
141182015-09-09 Pedro Alves <palves@redhat.com>
14119
14120 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14121
c0fa8fbd
SL
141222015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14123
14124 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14125 command actually switches threads. Give up on remaining
14126 tests if target fails to stop at breakpoint.
14127
cd7c1778
PMR
141282015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14129
14130 * gdb.ada/funcall_char.exp: New testcase.
14131 * gdb.ada/funcall_char/foo.adb: New file.
14132
dc5c8746
PMR
141332015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14134
14135 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14136 expected outputs. Add two testcases for completing ambiguous
14137 functions.
14138 * gdb.ada/complete/aux_pck.adb: New file.
14139 * gdb.ada/complete/aux_pck.ads: New file.
14140 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14141 Ambiguous_Func functions.
14142 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14143 * gdb.ada/complete/pck.adb: Likewise.
14144
4e83a1e7
UW
141452015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14146
14147 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14148 failures to run the test program under GDB.
14149
8ce74153
LM
141502015-08-26 Luis Machado <lgustavo@codesourcery.com>
14151
14152 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14153 to C.
14154
e9756d52
PP
141552015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14156
14157 * gdb.base/run-after-attach.exp: New test file.
14158 * gdb.base/run-after-attach.c: New test file.
14159
8d37573b
DB
141602015-08-26 Don Breazeal <donb@codesourcery.com>
14161
14162 * gdb.base/foll-exec-2.c: New test program.
14163 * gdb.base/foll-exec-2.exp: New test.
14164
63e43d3a
PMR
141652015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14166
14167 * gdb.base/nested-subp1.exp: New file.
14168 * gdb.base/nested-subp1.c: New file.
14169 * gdb.base/nested-subp2.exp: New file.
14170 * gdb.base/nested-subp2.c: New file.
14171 * gdb.base/nested-subp3.exp: New file.
14172 * gdb.base/nested-subp3.c: New file.
14173
3d40fbb5
PA
141742015-08-24 Pedro Alves <palves@redhat.com>
14175
14176 * gdb.server/connect-without-multi-process.c: New file.
14177 * gdb.server/connect-without-multi-process.exp: New file.
14178
4422ac93
LM
141792015-08-24 Luis Machado <lgustavo@codesourcery.com>
14180
14181 * gdb.opt/inline-markers.c: Make z int.
14182
91dddb86
LM
141832015-08-24 Luis Machado <lgustavo@codesourcery.com>
14184
14185 * gdb.opt/inline-markers.c: Make z volatile.
14186
a48847ee
LM
141872015-08-24 Luis Machado <lgustavo@codesourcery.com>
14188
14189 * gdb.opt/inline-bt.c: New volatile global z.
14190 * gdb.opt/inline-cmds.c: Likewise.
14191 * gdb.opt/inline-locals.c: Likewise.
14192 * gdb.opt/inline-markers.c: New extern global z.
14193 (marker): Use z.
14194 (inline_fn): Likewise.
14195
0ebbc52b
PA
141962015-08-24 Pedro Alves <palves@redhat.com>
14197
14198 * config/m32r-stub.exp: Remove file.
14199 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14200 * gdb.base/call-rt-st.exp: Likewise.
14201 * gdb.base/call-strs.exp: Likewise.
14202 * gdb.base/default.exp: Remove references to h8300-*-hms and
14203 *-*-udi*.
14204 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14205
77c365df
AA
142062015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14207
14208 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14209 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14210 and "return" use KFAIL when GDB can not read/write the vector
14211 return value.
14212
4313b8c0
GB
142132015-08-21 Gary Benson <gbenson@redhat.com>
14214
14215 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14216
0e433b32
PA
142172015-08-20 Pedro Alves <palves@redhat.com>
14218
14219 * gdb.server/solib-list.exp: No longer expect an interior stop in
14220 non-stop mode.
14221
221e1a37
PA
142222015-08-20 Pedro Alves <palves@redhat.com>
14223
14224 * gdb.server/connect-stopped-target.c: New file.
14225 * gdb.server/connect-stopped-target.exp: New file.
14226
40e3ad0e
PA
142272015-08-20 Pedro Alves <palves@redhat.com>
14228
14229 * gdb.dwarf2/comp-unit-lang.exp: New file.
14230 * gdb.dwarf2/comp-unit-lang.c: New file.
14231
af39b327
PMR
142322015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14233
14234 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14235 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14236
7d45c7c3 142372015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 14238
7d45c7c3
KB
14239 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14240 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14241
4d6cceb4
DE
142422015-08-18 Doug Evans <dje@google.com>
14243 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14244
14245 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14246 skip_python_tests. New arg prompt_regexp.
14247 (skip_python_tests): New function.
14248 * lib/mi-support.exp (mi_skip_python_tests): New function.
14249 * gdb.python/py-mi-objfile-gdb.py: New file.
14250 * gdb.python/py-mi-objfile.c: New file.
14251 * gdb.python/py-mi-objfile.exp: New file.
14252
ad89c2aa
KS
142532015-08-17 Keith Seitz <keiths@redhat.com>
14254
14255 * gdb.linespec/explicit.exp: Move strace test from here ...
14256 * gdb.trace/strace.exp: ... to here.
14257
e3ae3c43
PP
142582015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14259
14260 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14261 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14262
604b2636
DE
142632015-08-14 Doug Evans <xdje42@gmail.com>
14264
14265 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14266 inferior before selecting a new file.
14267
6ff0ba5f
DE
142682015-08-14 Doug Evans <xdje42@gmail.com>
14269
14270 * gdb.mi/mi-disassemble.exp: Update.
14271 * gdb.base/disasm-optim.S: New file.
14272 * gdb.base/disasm-optim.c: New file.
14273 * gdb.base/disasm-optim.h: New file.
14274 * gdb.base/disasm-optim.exp: New file.
14275
9ca98f92
KS
142762015-08-14 Keith Seitz <keiths@redhat.com>
14277
14278 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14279 "evaluated-by".
14280
52bbc560
JB
142812015-08-13 Joel Brobecker <brobecker@adacore.com>
14282
14283 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14284
5d8c3ed3
PMR
142852015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14286
14287 * gdb.ada/fun_renaming.exp: New testcase.
14288 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14289 * gdb.ada/fun_renaming/pack.adb: New file.
14290 * gdb.ada/fun_renaming/pack.ads: New file.
14291
ea8812bc
KS
142922015-08-12 Keith Seitz <keiths@redhat.com>
14293
14294 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14295 gdb_get_line_number.
14296
4dafcdeb
JB
142972015-08-12 Joel Brobecker <brobecker@adacore.com>
14298
14299 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14300 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14301 gdb.base/dso2dso.exp: New files.
14302
5ba32597
SDJ
143032015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14304 Pedro Alves <palves@redhat.com>
14305 Keith Seitz <keiths@redhat.com>
14306
14307 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14308 GDBFLAGS.
14309
b6dafabf
PP
143102015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14311
14312 * gdb.base/gdbhistsize-history.exp
14313 (test_histsize_history_setting): Use save_vars.
14314 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14315 Use save_vars.
14316 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14317 * gdb.base/readline.exp: Use save_vars.
14318
abe8e607
PP
143192015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14320
14321 * lib/gdb.exp (save_vars): New proc.
14322
629500fa
KS
143232015-08-11 Keith Seitz <keiths@redhat.com>
14324
14325 * gdb.base/help.exp: Update help_breakpoint_text.
14326
eb8c4e2e
KS
143272015-08-11 Keith Seitz <keiths@redhat.com>
14328
14329 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14330 (at toplevel): Call test_explicit_breakpoints.
14331 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14332 breakpoints.
14333 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14334 breakpoint conditions, "-cond".
14335
87f0e720
KS
143362015-08-11 Keith Seitz <keiths@redhat.com>
14337
14338 * gdb.linespec/3explicit.c: New file.
14339 * gdb.linespec/cpexplicit.cc: New file.
14340 * gdb.linespec/cpexplicit.exp: New file.
14341 * gdb.linespec/explicit.c: New file.
14342 * gdb.linespec/explicit.exp: New file.
14343 * gdb.linespec/explicit2.c: New file.
14344 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14345 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14346 before using in the matching pattern.
14347 Clarify that `prefix' is a regular expression.
14348
f00aae0f
KS
143492015-08-11 Keith Seitz <keiths@redhat.com>
14350
14351 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14352 test.
14353 Add tests for missing ",FMT" and ",".
14354
e27852be
DE
143552015-08-10 Doug Evans <dje@google.com>
14356 Keith Seitz <keiths@redhat.com>
14357
14358 PR gdb/17960
14359 * gdb.base/completion.exp: Add location completer tests.
14360
7f03bd92
PA
143612015-08-07 Pedro Alves <palves@redhat.com>
14362
14363 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14364 tests here.
14365 (top level): Run do_test with and without displaced stepping.
14366
3fc8eb30
PA
143672015-08-07 Pedro Alves <palves@redhat.com>
14368
14369 * gdb.base/valgrind-disp-step.c: New file.
14370 * gdb.base/valgrind-disp-step.exp: New file.
14371
d4569d7b
PA
143722015-08-07 Pedro Alves <palves@redhat.com>
14373
14374 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14375 Delete function.
14376 (main): Add alarm. Run an infinite loop instead of calling
14377 wait_threads.
14378 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14379 comment.
14380 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14381 Delete function.
14382 (main): Add alarm. Run an infinite loop instead of calling
14383 wait_threads.
14384 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14385 comment.
14386
e1316e60
PA
143872015-08-07 Pedro Alves <palves@redhat.com>
14388
14389 * gdb.base/checkpoint-ns.exp: New file.
14390 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14391 standard_testfile.
14392
da8c46d2
MM
143932015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14394
14395 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14396 * gdb.btrace/instruction_history.exp: Update.
14397 * gdb.btrace/tsx.exp: New.
14398 * gdb.btrace/tsx.c: New.
14399
de1c2c52
PA
144002015-08-06 Pedro Alves <palves@redhat.com>
14401
14402 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14403 increase timeout.
14404 * gdb.reverse/until-precsave.exp: Bump timeouts.
14405
782e0bf4
PA
144062015-08-06 Pedro Alves <palves@redhat.com>
14407
14408 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14409
83e97ed0
PA
144102015-08-06 Pedro Alves <palves@redhat.com>
14411
14412 PR gdb/18749
14413 * gdb.threads/process-dies-while-handling-bp.c: New file.
14414 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14415
863d01bd
PA
144162015-08-06 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14419 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14420
0a39bb32
PA
144212015-08-05 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14424 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14425
ee2d2b10
SL
144262015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14427
14428 * gdb.base/bp-permanent.exp: Report test as unsupported if
14429 the target cannot stop at the permanent breakpoint.
14430
4e1bdb00
DE
144312015-08-03 Doug Evans <dje@google.com>
14432
14433 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14434 10000.
14435
3d338901
DE
144362015-08-03 Doug Evans <dje@google.com>
14437
14438 * Makefile.in (workers/%.worker, build-perf): New rule.
14439 (GDB_PERFTEST_MODE): New variable.
14440 (check-perf): Use it.
14441 (clean): Clean up gdb.perf parallel build subdirs.
14442 * lib/build-piece.exp: New file.
14443 * lib/gdb.exp (make_gdb_parallel_path): New function
14444 (standard_output_file, standard_temp_file): Call it.
14445 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14446 of $GDB_PARALLEL.
14447 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14448
af061d3e
DE
144492015-08-03 Doug Evans <dje@google.com>
14450
8e1afc81 14451 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14452 (LOG_FILE_NAME): New global.
14453 (TextReporter.__init__): Initialize self.txt_sum.
14454 (TextReporter.report): Add support for multiple data-points.
14455 Move report to perftest.sum, put raw data in perftest.log.
14456 (TextReporter.start): Open sum and log files.
14457 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14458 * gdb.perf/lib/perftest/testresult.py
14459 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14460
2c8c5d37
PA
144612015-07-31 Pedro Alves <palves@redhat.com>
14462
14463 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14464 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14465 kill_wait_spawned_process instead of explicit "kill -9".
14466 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14467 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14468 kill_wait_spawned_process.
14469 * gdb.base/attach-twice.exp: Likewise.
14470 * gdb.base/attach.exp: Likewise.
14471 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14472 gdb_test_multiple.
14473 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14474 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14475 kill_wait_spawned_process.
14476 * gdb.base/valgrind-infcall.exp: Likewise.
14477 * gdb.multi/multi-attach.exp: Likewise.
14478 * gdb.python/py-prompt.exp: Likewise.
14479 * gdb.python/py-sync-interp.exp: Likewise.
14480 * gdb.server/ext-attach.exp: Likewise.
14481 * gdb.threads/attach-into-signal.exp (corefunc): Use
14482 spawn_wait_for_attach, spawn_id_get_pid and
14483 kill_wait_spawned_process.
14484 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14485 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14486 spawn_id_get_pid and kill_wait_spawned_process.
14487 * gdb.threads/attach-stopped.exp (corefunc): Use
14488 spawn_wait_for_attach, spawn_id_get_pid and
14489 kill_wait_spawned_process.
14490 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14491 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14492 kill_wait_spawned_process instead of explicit "kill -9".
14493 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14494 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14495 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14496 processes. Don't map cygwin/windows pids here. Now returns a
14497 spawn id list.
14498
032a0fca
SL
144992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14500
14501 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14502 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14503 correct patch.
14504
61a934ca
SL
145052015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14506
14507 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14508
4bc4d428
SL
145092015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14510
14511 Reapply:
14512 2014-05-21 Mark Wielaard <mjw@redhat.com>
14513
14514 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14515
998d452a
PA
145162015-07-30 Pedro Alves <palves@redhat.com>
14517
14518 * linux-low.c (handle_extended_wait): Set the child's last
14519 reported status to TARGET_WAITKIND_STOPPED.
14520
69dde7dc
PA
145212015-07-30 Pedro Alves <palves@redhat.com>
14522
14523 PR threads/18600
14524 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14525 only shows inferior 1.
14526
4dd63d48
PA
145272015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14528 Pedro Alves <palves@redhat.com>
14529
14530 PR threads/18600
14531 * gdb.threads/fork-plus-threads.c: New file.
14532 * gdb.threads/fork-plus-threads.exp: New file.
14533
d618e4c5
PP
145342015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14535
14536 * gdb.base/batch-preserve-term-settings.exp
14537 (test_terminal_settings_preserved_after_cli_exit): Use
14538 send_quit_command.
14539
1eef6428
PA
145402015-07-29 Pedro Alves <palves@redhat.com>
14541 Don Breazeal <donb@codesourcery.com>
14542
14543 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14544 output from both inferior_spawn_id and gdb_spawn_id.
14545
7da5b897
SDJ
145462015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14547
14548 * gdb.threads/attach-into-signal.exp (corefunc): Use
14549 with_test_prefix on nested loops, uniquefying the test messages.
14550
dac804df
SDJ
145512015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14552
14553 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14554 commit.
14555
06265e53
PP
145562015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14557
14558 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14559 New proc.
14560 (test_terminal_settings_preserved_after_sigterm): New test.
14561
18206ca3
PP
145622015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14563
14564 * gdb.base/batch-preserve-term-settings.exp
14565 (test_terminal_settings_preserved_after_cli_exit): New test.
14566
90074d11
PP
145672015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14568
14569 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14570 manipulation of saved_gdbflags.
14571 (test_terminal_settings_preserved): Remove global declaration of
14572 the unused variable pagination_prompt. Remove manipulation of
14573 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14574 GDBFLAGS.
14575
eb1a7902
PA
145762015-07-29 Pedro Alves <palves@redhat.com>
14577
14578 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14579
8b75dd3b
PA
145802015-07-29 Pedro Alves <palves@redhat.com>
14581
14582 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14583 at the top.
14584
dedad4e3
PA
145852015-07-29 Pedro Alves <palves@redhat.com>
14586
14587 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14588 (main): Call gdb_unbuffer_output.
14589 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14590 (main): Call gdb_unbuffer_output.
14591 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14592 (main): Call gdb_unbuffer_output.
14593 * gdb.base/call-strs.exp: Adjust to step over the
14594 gdb_unbuffer_output call.
14595 * gdb.base/catch-gdb-caused-signals.c: Include
14596 "../lib/unbuffer_output.c".
14597 (main): Call gdb_unbuffer_output.
14598 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14599 (main): Call gdb_unbuffer_output.
14600 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14601 (main): Call gdb_unbuffer_output.
14602 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14603 (main): Call gdb_unbuffer_output.
14604 * gdb.base/shlib-call.exp: Adjust to step over the
14605 gdb_unbuffer_output call.
14606 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14607 (main): Call gdb_unbuffer_output.
14608 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14609 (main): Call gdb_unbuffer_output.
14610 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14611 (main): Rename to ...
14612 (test): ... this.
14613 (main): Reimplement.
14614 * gdb.base/varargs.exp: Run to test instead of to main.
14615 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14616 (main): Call gdb_unbuffer_output.
14617
58789a91
PA
146182015-07-29 Pedro Alves <palves@redhat.com>
14619
14620 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14621 factore out from mi_continue_dprintf. For call-style dprintfs,
14622 expect dprintf output out of $inferior_spawn_id.
14623 (mi_continue_dprintf): Use mi_expect_dprintf.
14624 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14625 (main): Call gdb_unbuffer_output.
14626
e8376742
PA
146272015-07-29 Pedro Alves <palves@redhat.com>
14628
14629 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14630 (default_mi_gdb_start): Set inferior_spawn_id instead of
14631 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14632 gdb_spawn_id.
14633 (mi_gdb_test): Always expect inferior output from both
14634 $inferior_spawn_id and $gdb_spawn_id.
14635
08280010
PA
146362015-07-29 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14639 send_inferior and $inferior_spawn_id.
14640
4d30e432
PA
146412015-07-29 Pedro Alves <palves@redhat.com>
14642
14643 * gdb.gdb/complaints.exp (test_initial_complaints)
14644 (test_serial_complaints, test_short_complaints): Use
14645 gdb_test_stdio.
14646 (test_empty_complaint): Handle $inferior_spawn_id !=
14647 $gdb_spawn_id.
14648
0d30a335
PA
146492015-07-29 Pedro Alves <palves@redhat.com>
14650
14651 * gdb.base/varargs.exp: Use gdb_test_stdio.
14652
39413b29
PA
146532015-07-29 Pedro Alves <palves@redhat.com>
14654
14655 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14656
7cb000a9
PA
146572015-07-29 Pedro Alves <palves@redhat.com>
14658
14659 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14660
d7b8ac82
PA
146612015-07-29 Pedro Alves <palves@redhat.com>
14662
14663 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14664 parameter into two new parameters, "inf_result" and "gdb_result".
14665 Expect inferior output and gdb output from $inferior_spawn_id and
14666 $gdb_spawn_id, respectively. Adjust all callers.
14667
789c3a0c
PA
146682015-07-29 Pedro Alves <palves@redhat.com>
14669
14670 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14671 of gdb_test_sequence.
14672
77e760c3
PA
146732015-07-29 Pedro Alves <palves@redhat.com>
14674
14675 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14676 (saw_spurious_output): Expect inferior output from
14677 $inferior_spawn_id. Use gdb_test_stdio.
14678
8396d2cd
PA
146792015-07-29 Pedro Alves <palves@redhat.com>
14680
14681 * gdb.base/dprintf.exp: Use standard_testfile. Change
14682 prepare_for_testing call.
14683 (srcfile): Don't set.
14684 (restart): New procedure.
14685 (test_dprintf): New procecure, use to continue over dprintfs.
14686 (test_call, test_agent): New procedures, tests moved here.
14687 Restart gdb and recreate dprintfs. Adjust expected output.
14688
2051d61f
PA
146892015-07-29 Pedro Alves <palves@redhat.com>
14690
14691 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14692
452397af
PA
146932015-07-29 Pedro Alves <palves@redhat.com>
14694
14695 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14696
8aed9555
PA
146972015-07-29 Pedro Alves <palves@redhat.com>
14698
14699 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14700 gdb_test_stdio.
14701
188a61b4
PA
147022015-07-29 Pedro Alves <palves@redhat.com>
14703
14704 * lib/gdb.exp (gdb_test_stdio): New procedure.
14705
12264a45
PA
147062015-07-29 Pedro Alves <palves@redhat.com>
14707
14708 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14709
23ffc893
PA
147102015-07-29 Pedro Alves <palves@redhat.com>
14711
14712 * gdb.base/call-signal-resume.exp: Remove check for
14713 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14714 * gdb.base/unwindonsignal.exp: Likewise.
14715 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14716 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14717
65566918
PA
147182015-07-29 Pedro Alves <palves@redhat.com>
14719
14720 * gdb.base/siginfo-addr.c (pass): New function.
14721 (handler): Call it iff si_addr is correct.
14722 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14723 Set a breakpoint at "pass" and continue to it.
14724
d60a9221
SDJ
147252015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14726
14727 * gdb.python/py-objfile.exp: Make some tests have unique names.
14728 * gdb.python/py-pp-registration.exp: Likewise.
14729
bde40b8f
PA
147302015-07-28 Pedro Alves <palves@redhat.com>
14731
14732 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14733
13e1dec8
SM
147342015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14735
14736 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14737
da33c9a7
SM
147382015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14739
14740 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14741
077836f7
PP
147422015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14743
14744 * gdb.base/gdb-sigterm-2.exp: New test.
14745
b8cc7b2e
DE
147462015-07-25 Doug Evans <xdje42@gmail.com>
14747
14748 Revert:
14749 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14750 (workers/%.worker, build-perf): New rule.
14751 (GDB_PERFTEST_MODE): New variable.
14752 (check-perf): Use it.
14753 (clean): Clean up gdb.perf parallel build subdirs.
14754 * lib/build-piece.exp: New file.
14755 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14756 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14757 name.
14758 (standard_temp_file): Ditto.
14759 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14760 of $GDB_PARALLEL.
14761
c8bd4544
DE
147622015-07-24 Doug Evans <dje@google.com>
14763
14764 * gdb.perf/lib/perftest/utils.py: New file.
14765 * gdb.perf/gm-hello.cc: New file.
14766 * gdb.perf/gm-pervasive-typedef.cc: New file.
14767 * gdb.perf/gm-pervasive-typedef.h: New file.
14768 * gdb.perf/gm-std.cc: New file.
14769 * gdb.perf/gm-std.h: New file.
14770 * gdb.perf/gm-use-cerr.cc: New file.
14771 * gdb.perf/gm-utils.h: New file.
14772 * gdb.perf/gmonster-null-lookup.py: New file.
14773 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14774 * gdb.perf/gmonster-print-cerr.py: New file.
14775 * gdb.perf/gmonster-ptype-string.py: New file.
14776 * gdb.perf/gmonster-runto-main.py: New file.
14777 * gdb.perf/gmonster-select-file.py: New file.
14778 * gdb.perf/gmonster1-null-lookup.exp: New file.
14779 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14780 * gdb.perf/gmonster1-print-cerr.exp: New file.
14781 * gdb.perf/gmonster1-ptype-string.exp: New file.
14782 * gdb.perf/gmonster1-runto-main.exp: New file.
14783 * gdb.perf/gmonster1-select-file.exp: New file.
14784 * gdb.perf/gmonster1.cc: New file.
14785 * gdb.perf/gmonster1.exp: New file.
14786 * gdb.perf/gmonster2-null-lookup.exp: New file.
14787 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14788 * gdb.perf/gmonster2-print-cerr.exp: New file.
14789 * gdb.perf/gmonster2-ptype-string.exp: New file.
14790 * gdb.perf/gmonster2-runto-main.exp: New file.
14791 * gdb.perf/gmonster2-select-file.exp: New file.
14792 * gdb.perf/gmonster2.cc: New file.
14793 * gdb.perf/gmonster2.exp: New file.
14794
6eab34f3
DE
147952015-07-24 Doug Evans <dje@google.com>
14796
14797 * gdb.perf/README: New file.
14798 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14799 * lib/gen-perf-test.exp: New file.
14800
63738bfd
DE
148012015-07-24 Doug Evans <dje@google.com>
14802
14803 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14804 (PerfTest::startup): New function.
14805 (PerfTest::run): Return result of calling body.
14806 (PerfTest::assemble): Rewrite.
14807 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14808 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14809 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14810 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14811 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14812
7b606f95
DE
148132015-07-24 Doug Evans <dje@google.com>
14814
14815 * lib/gdb.exp (clean_restart): Make executable optional.
14816
a97b16b8
DE
148172015-07-24 Doug Evans <dje@google.com>
14818
14819 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14820 compiler_info references.
14821 * gdb.cp/temargs.exp: Ditto.
14822 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14823 (get_compiler_info): Early exit if already computed. Set compiler_info
14824 to "unknown" if there was a problem.
14825 (test_compiler_info): Add function comment. Call get_compiler_info.
14826
35baa57f
DE
148272015-07-24 Doug Evans <dje@google.com>
14828
14829 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14830 (workers/%.worker, build-perf): New rule.
14831 (GDB_PERFTEST_MODE): New variable.
14832 (check-perf): Use it.
14833 (clean): Clean up gdb.perf parallel build subdirs.
14834 * lib/build-piece.exp: New file.
14835 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14836 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14837 name.
14838 (standard_temp_file): Ditto.
14839 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14840 of $GDB_PARALLEL.
14841
6ebea266
DE
148422015-07-24 Doug Evans <dje@google.com>
14843
14844 * lib/future.exp (gdb_default_target_compile): New option
14845 "early_flags".
14846 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14847 --as-needed.
14848
1e76a7e9
SDJ
148492015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14850
14851 * gdb.base/catch-syscall.exp: Call gdb_exit before
14852 gdb_skip_xml_test.
14853
5068630a
PA
148542015-07-24 Pedro Alves <palves@redhat.com>
14855
14856 * gdb.python/py-events.exp: Accept output between the stop event
14857 and the prompt.
14858 * gdb.python/py-evsignal.exp: Likewise.
14859 * gdb.python/py-evthreads.exp: Likewise.
14860
77598427
PA
148612015-07-24 Pedro Alves <palves@redhat.com>
14862
14863 PR gdb/18717
14864 * gdb.threads/non-ldr-exit.c: New file.
14865 * gdb.threads/non-ldr-exit.exp: New file.
14866
11e6c98f
YQ
148672015-07-24 Yao Qi <yao.qi@linaro.org>
14868
14869 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14870 restarting process.
14871
51aee833
YQ
148722015-07-24 Yao Qi <yao.qi@linaro.org>
14873
14874 * gdb.server/ext-restart.exp: New file.
14875
8cfe207c
YQ
148762015-07-24 Yao Qi <yao.qi@linaro.org>
14877
14878 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14879 argument options.
14880 * gdb.server/ext-wrapper.exp: New file.
14881
cc12ce38
DE
148822015-07-23 Doug Evans <dje@google.com>
14883
14884 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14885 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14886
d0d84780
PMR
148872015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14888
14889 * gdb.ada/var_arr_typedef.exp: New testcase.
14890 * gdb.ada/var_arr_typedef/pack.adb: New file.
14891 * gdb.ada/var_arr_typedef/pack.ads: New file.
14892 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14893
8b558f79
JB
148942015-07-20 Joel Brobecker <brobecker@adacore.com>
14895
14896 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14897
775a3298
JK
148982015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14899
14900 * gdb.arch/i386-biarch-core.exp: Replace istarget
14901 by "complete set gnutarget". Remove expectation for the "core-file"
14902 command.
14903
db1ff28b
JK
149042015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14905
14906 Revert the previous commit:
14907 Tests for validate symbol file using build-id.
14908
0a94970d
JK
149092015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14910
14911 Tests for validate symbol file using build-id.
14912 * gdb.base/solib-mismatch-lib.c: New file.
14913 * gdb.base/solib-mismatch-libmod.c: New file.
14914 * gdb.base/solib-mismatch.c: New file.
14915 * gdb.base/solib-mismatch.exp: New file.
14916
03346981
SL
149172015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14918
14919 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14920 nios2-*-linux*.
14921 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14922 * gdb.base/siginfo.exp: Likewise.
14923 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14924
42422cc7
PL
149252015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14926
14927 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14928 Move it to ...
14929 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14930 ... here.
14931 * gdb.trace/range-stepping.exp: Check that the target supports
14932 range stepping.
14933
cfa68bae
JK
149342015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14935
14936 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14937
8ffdba26
PA
149382015-07-14 Pedro Alves <palves@redhat.com>
14939
14940 * gdb.base/killed-outside.exp: New file.
14941 * gdb.base/killed-outside.c: New file.
14942
218a5a11
JK
149432015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14944
14945 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14946 (n at main): New.
14947 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14948
e03ed3c6
AA
149492015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14950
14951 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14952 infcall tests instead of setting up for KFAIL.
14953
485668e5
MM
149542015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14955
14956 * gdb.btrace/record_goto-step.exp: New.
14957
08464196
JK
149582015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14959
14960 PR compile/18484
14961 * gdb.compile/compile.c (struct struct_type): Add volatile to
14962 selffield's type.
14963 * gdb.compile/compile.exp
14964 (compile code struct_object.selffield = &struct_object): Skip further
14965 struct_object tests if this one xfails.
14966
bcf5c1d9
RC
149672015-07-08 Robert O'Callahan <robert@ocallahan.org>
14968
14969 PR exp/18617
14970 * gdb.trace/ax.exp: Add test.
14971
4931af25
YQ
149722015-07-07 Yao Qi <yao.qi@linaro.org>
14973
14974 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14975 instead of istarget "aarch64*-*-*".
14976 * gdb.arch/aarch64-fp.exp: Likewise.
14977 * gdb.base/float.exp: Likewise.
14978 * gdb.reverse/aarch64.exp: Likewise.
14979 * lib/gdb.exp (is_aarch64_target): New proc.
14980
9fcf688e
YQ
149812015-07-07 Yao Qi <yao.qi@linaro.org>
14982
14983 * lib/gdb.exp (is_aarch32_target): New proc.
14984 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14985 instead of "istarget "arm*-*-*"".
14986 * gdb.arch/arm-disp-step.exp: Likewise.
14987 * gdb.arch/thumb-bx-pc.exp: Likewise.
14988 * gdb.arch/thumb-prologue.exp: Likewise.
14989 * gdb.arch/thumb-singlestep.exp: Likewise.
14990 * gdb.base/disp-step-syscall.exp: Likewise.
14991 * gdb.base/float.exp: Likewise.
14992
fbd8d50d
YQ
149932015-07-07 Yao Qi <yao.qi@linaro.org>
14994
14995 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14996 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14997
71be1fdc
YQ
149982015-07-07 Yao Qi <yao.qi@linaro.org>
14999
15000 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15001 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15002 if it exists.
15003 * gdb.multi/multi-arch.exp: Likewise.
15004
3e221d36
SM
150052015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15006
15007 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15008 print.
15009
d441430b
YQ
150102015-07-07 Yao Qi <yao.qi@linaro.org>
15011
15012 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15013
06f810bd
MG
150142015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15015
15016 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15017 '[' and ']' characters.
15018
5e61e7c0
IB
150192015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15020
15021 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15022
28bf096c
PA
150232015-06-29 Pedro Alves <palves@redhat.com>
15024
15025 PR threads/18127
15026 * gdb.threads/hand-call-new-thread.c: New file.
15027 * gdb.threads/hand-call-new-thread.c: New file.
15028
ee93cd5e
KS
150292015-06-26 Keith Seitz <keiths@redhat.com>
15030 Doug Evans <dje@google.com>
15031
15032 PR 16253
15033 * gdb.cp/var-tag-2.cc: New file.
15034 * gdb.cp/var-tag-3.cc: New file.
15035 * gdb.cp/var-tag-4.cc: New file.
15036 * gdb.cp/var-tag.cc: New file.
15037 * gdb.cp/var-tag.exp: New file.
15038
fc637f04
PP
150392015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15040
15041 * gdb.base/history-duplicates.exp: New test.
15042
2e52ae68
PP
150432015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15044
15045 * gdb.base/completion.exp: Test the completion of the "focus"
15046 command.
15047
6e22494e
JK
150482015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15049
15050 * gdb.arch/amd64-prologue-skip.S: New file.
15051 * gdb.arch/amd64-prologue-skip.exp: New file.
15052
bf7b9cd9
SM
150532015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15054
15055 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15056 is_address_zero_readable check.
15057
201e8dfd
PB
150582015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15059
15060 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15061 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15062
5cd867b4
YQ
150632015-06-24 Yao Qi <yao.qi@linaro.org>
15064
15065 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15066 linux targets.
15067
4d7be007
YQ
150682015-06-24 Yao Qi <yao.qi@linaro.org>
15069
15070 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15071 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15072 * gdb.base/siginfo-thread.exp: Likewise.
15073
07fcd301
YQ
150742015-06-22 Yao Qi <yao.qi@linaro.org>
15075
15076 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15077
52042a00
YQ
150782015-06-22 Yao Qi <yao.qi@linaro.org>
15079
15080 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15081 aarch64*-*-*.
15082 (skip_hw_watchpoint_tests): Likewise.
15083
74bd41ce
PP
150842015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15085
15086 * gdb.base/gdbinit-history.exp: Test the interaction between
15087 setting GDBHISTSIZE and setting the history size via .gdbinit.
15088
bc460514
PP
150892015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15090
15091 PR gdb/16999
15092 * gdb.base/gdbhistsize-history.exp: New test.
15093
b58c513b
PP
150942015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15095
15096 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15097 with GDBHISTSIZE.
15098 * gdb.base/readline.exp: Likewise.
15099
92046791
YQ
151002015-06-17 Yao Qi <yao.qi@linaro.org>
15101
15102 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15103 line.
15104
2093d2d3
PP
151052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15106
15107 * gdb.base/gdbinit-history.exp: Add test case to check that
15108 an unlimited history file does not get truncated on exit.
15109
e6c693af
AA
151102015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15111
15112 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15113 (VECTOR): New macro. Use it...
15114 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15115 ...for these typedefs.
15116 (int8, char1, int1, double1): New typedefs.
15117 (struct just_int2, struct two_int2): New structures.
15118 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15119 (add_structvecs, add_singlevecs): New functions.
15120 (main): Call add_some_intvecs twice.
15121 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15122 the compile and exit upon failure. Try compiling for the "native"
15123 architecture. Test inferior function calls with vector arguments
15124 and vector return value handling with "finish" and "return".
15125
c74f7d1c
JT
151262015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15127
15128 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15129 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15130 PE file.
15131 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15132
98aa42ee
AT
151332015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15134
15135 PR breakpoints/16465
15136 * gdb.mi/mi-dprintf-pending.c: New file.
15137 * gdb.mi/mi-dprintf-pending.exp: New test.
15138 * gdb.mi/mi-dprintf-pendshr.c: New file.
15139
7d73c23c 151402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 15141 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
15142
15143 * gdb.arch/i386-mpx-map.c: New file.
15144 * gdb.arch/i386-mpx-map.exp: New File.
15145
151462015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15147
15148 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15149 * gdb.arch/i386-mpx.exp: Indentation fixed.
15150
151512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15152
15153 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15154 function and improved indentation.
15155 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15156 gdb_test_multiple. Added additional tests to skip the test.
15157
151582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15159
15160 * gdb.arch/i386-avx512.c: Change path in include file.
15161 * gdb.arch/i386-avx512.exp: Change include dir path
15162 compilation flag.
15163 * gdb.arch/i386-mpx.c: Change path in include file.
15164 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15165 flag.
15166
d5eba19a
JK
151672015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15168
15169 * gdb.compile/compile-print.exp (compile print *vararray@3)
15170 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15171
7f361056
JK
151722015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15173
15174 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15175 (do not keep jit in memory): ... this.
15176 (expect 5): Change it to ...
15177 (expect no 5): ... this.
15178
3b462ec2
SM
151792015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15180
15181 PR gdb/15564
15182 * gdb.mi/mi-detach.exp: New file.
15183
e0619de6
JK
151842015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15185
15186 PR symtab/18392
15187 * gdb.arch/amd64-tailcall-self.S: New file.
15188 * gdb.arch/amd64-tailcall-self.c: New file.
15189 * gdb.arch/amd64-tailcall-self.exp: New file.
15190
e970cb34
DB
151912015-05-28 Don Breazeal <donb@codesourcery.com>
15192
15193 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15194 tests for remote targets by checking is_target_gdbserver.
15195
b2e2f908
DE
151962015-05-27 Doug Evans <dje@google.com>
15197
15198 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15199 * gdb.dwarf2/opaque-type-lookup.c: New file.
15200 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15201
82c7be31
DE
152022015-05-26 Doug Evans <dje@google.com>
15203
15204 * gdb.cp/iostream.cc: New file.
15205 * gdb.cp/iostream.exp: New file.
15206
b4f54984
DE
152072015-05-26 Doug Evans <dje@google.com>
15208
15209 * gdb.dwarf2/dw2-op-call.exp: Update.
15210 * gdb.dwarf2/dw4-sig-types.exp: Update.
15211 * gdb.dwarf2/implptr.exp: Update.
15212 * gdb.mi/mi-cmd-param-changed.exp: Update.
15213
4ea6efe9
DE
152142015-05-26 Doug Evans <dje@google.com>
15215
15216 * gdb.python/py-lazy-string.c: New file.
15217 * gdb.python/py-lazy-string.exp: New file.
15218 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15219 (main): Update. Add estring3.
15220 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15221 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15222
f6bb7db3
YQ
152232015-05-26 Omair Javaid <omair.javaid@linaro.org>
15224 Yao Qi <yao.qi@linaro.org>
15225
15226 * gdb.reverse/aarch64.c: New.
15227 * gdb.reverse/aarch64.exp: New.
15228
a81bfbd0
OJ
152292015-05-26 Omair Javaid <omair.javaid@linaro.org>
15230
25d49b86
PA
15231 * lib/gdb.exp (supports_process_record): Return true for
15232 aarch64*-linux*.
a81bfbd0
OJ
15233 (supports_reverse): Likewise.
15234
158bf1b4
PP
152352015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15236
15237 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15238 Use with_test_prefix.
15239
a0145030
AB
152402015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15241
15242 * gdb.base/completion.exp: Add test for completion of layout
15243 names.
15244
ebe3b578
AB
152452015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15246
15247 * lib/gdb.exp (skip_tui_tests): New proc.
15248 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15249
84204ed7
PA
152502015-05-19 Pedro Alves <palves@redhat.com>
15251
15252 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15253 Save the whole env array instead of just HOME. Unset HISTSIZE in
15254 the environment while testing. Restore whole environment
15255 afterwards.
15256
37442ce1
DE
152572015-05-16 Doug Evans <xdje42@gmail.com>
15258
15259 * gdb.guile/scm-ports.c: New file.
15260 * gdb.guile/scm-ports.exp: Add memory port tests.
15261
36de76f9
JK
152622015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15263
15264 * gdb.compile/compile-print.c: New file.
15265 * gdb.compile/compile-print.exp: New file.
15266
3a9558c4
JK
152672015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15268
15269 * gdb.compile/compile-ops.exp: Cast param to void.
15270 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15271 (compile code struct_object.selffield = &struct_object): Add xfail.
15272
aa715135
JG
152732015-05-15 Joel Brobecker <brobecker@adacore.com>
15274
15275 * gdb.ada/arr_enum_with_gap: New testcase.
15276
931e5bc3
JG
152772015-05-15 Joel Brobecker <brobecker@adacore.com>
15278
15279 * gdb.ada/byte_packed_arr: New testcase.
15280
9cd4d857
JB
152812015-05-15 Joel Brobecker <brobecker@adacore.com>
15282
15283 * gdb.ada/pckd_neg: New testcase.
15284
ebfd00d2
PP
152852015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15286
15287 PR gdb/17820
15288 * gdb.base/gdbinit-history.exp: New test.
15289 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15290 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15291
4c082a81
SC
152922015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15293
15294 * gdb.python/py-xmethods.cc: Enhance test case.
15295 * gdb.python/py-xmethods.exp: New tests.
15296 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15297 function.
15298 (B_indexoper): Likewise.
15299 (global_dm_list) : Add new xmethod worker functions.
15300
f7797074
SDJ
153012015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15302
15303 * gdb.base/coredump-filter.exp: Correctly unset
15304 "coredump_var_addr" array.
15305
a4674e4e
PA
153062015-05-08 Pedro Alves <palves@redhat.com>
15307
15308 * gdb.server/non-existing-program.exp: Unset spawn_id.
15309
df2eb078
SC
153102015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15311
15312 PR python/18291
15313 * gdb.python/py-xmethods.exp: Add tests.
15314
422349a3
YQ
153152015-05-08 Yao Qi <yao.qi@linaro.org>
15316
15317 PR gdb/18208
15318 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15319 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15320 function set_coredump_filter, and remove remote_exec call.
15321 Remove argument ipid. Callers update.
15322 (top level): Don't get inferior's PID.
15323
63fc80ce
AA
153242015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15325
15326 * gdb.base/watch_thread_num.exp: Skip test on targets without
15327 access watchpoints.
15328
80ad801e
PA
153292015-05-06 Pedro Alves <palves@redhat.com>
15330
15331 PR server/18081
15332 * gdb.server/non-existing-program.exp: New file.
15333
0fa7fe50
JB
153342015-05-05 Joel Brobecker <brobecker@adacore.com>
15335
15336 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15337
3ea89b92
PMR
153382015-05-05 Joel Brobecker <brobecker@adacore.com>
15339
15340 * gdb.ada/out_of_line_in_inlined: New testcase.
15341
87b8eff0
JB
153422015-05-05 Joel Brobecker <brobecker@adacore.com>
15343
15344 * gdb.ada/var_rec_arr: New testcase.
15345
5fccc635
YQ
153462015-04-30 Yao Qi <yao.qi@linaro.org>
15347
15348 * gdb.base/break-idempotent.exp: If
15349 skip_hw_watchpoint_multi_tests returns true, skip the tests
15350 on "rwatch" and "awatch".
15351
42d38f42
YQ
153522015-04-30 Yao Qi <yao.qi@linaro.org>
15353
15354 * gdb.base/relativedebug.exp: Invoke gdb command
15355 "info sharedlibrary", and if libc.so doesn't have debug info,
15356 skip the test.
15357
2ce1cdbf
DE
153582015-04-29 Doug Evans <dje@google.com>
15359
15360 * gdb.python/py-xmethods.exp: Add ptype tests.
15361 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15362 get_result_type method.
15363
f24a38c5
LM
153642015-04-29 Luis Machado <lgustavo@codesourcery.com>
15365
15366 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15367 the target does not support hardware watchpoints.
15368
ecbf2b3c
LM
153692015-04-29 Luis Machado <lgustavo@codesourcery.com>
15370
15371 * gdb.base/break-always.exp: Abort testing if writing to memory
15372 causes an error.
15373
34f5f757
DE
153742015-04-28 Doug Evans <dje@google.com>
15375
15376 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15377 * gdb.python/py-pp-registration.exp: ... here. New file.
15378 * gdb.python/py-pp-registration.c: New file.
15379 * gdb.python/py-pp-registration.py: New file.
15380
69b4374a
DE
153812015-04-28 Doug Evans <dje@google.com>
15382
15383 * gdb.python/py-bad-printers.c: New file.
15384 * gdb.python/py-bad-printers.py: New file.
15385 * gdb.python/py-bad-printers.exp: New file.
15386
59fb7612
SS
153872015-04-28 Sasha Smundak <asmundak@google.com>
15388
15389 * gdb.python/py-type.exp: New test.
15390
2631b16a
AW
153912015-04-28 Andy Wingo <wingo@igalia.com>
15392
15393 * gdb.python/py-parameter.exp:
15394 * gdb.guile/scm-parameter.exp: Escape the path that we are
15395 matching against, as it might contain characters that are special
15396 to regular expressions.
15397
460efde1
JB
153982015-04-27 Joel Brobecker <brobecker@adacore.com>
15399
15400 * gdb.ada/rec_comp: New testcase.
15401
2d369d8e
SDJ
154022015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15403
15404 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15405 before using it.
15406
cf75d6c3
AB
154072015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15408
15409 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15410 new tests for verilog output.
15411
8dbe7ca5
YQ
154122015-04-24 Yao Qi <yao.qi@linaro.org>
15413
15414 * boards/remote-gdbserver-on-localhost.exp: New file.
15415
4ef9fb2f
PA
154162015-04-23 Pedro Alves <palves@redhat.com>
15417
15418 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15419 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15420 "end of file", remove $inferior_spawn_id from the indirect list.
15421
0a803169
PA
154222015-04-23 Pedro Alves <palves@redhat.com>
15423
15424 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15425
749ef8f8
PA
154262015-04-23 Pedro Alves <palves@redhat.com>
15427
15428 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15429 on $any_spawn_id instead of only on $gdb_spawn_id.
15430
8aae4344
PM
154312015-04-21 Pierre Muller <muller@sourceware.org>
15432
15433 PR pascal/17815
15434 * lib/pascal.exp (gpc_compile): Add new option "class".
15435 (fpc_compile): Likewise.
15436 * gdb.pascal/case-insensitive-symbols.pas: New file.
15437 * gdb.pascal/case-insensitive-symbols.exp: New file.
15438
1586c8fb
GB
154392015-04-20 Gary Benson <gbenson@redhat.com>
15440
15441 * gdb.base/attach.exp: Fix three extended remote failures.
15442
1b6e6f5c
GB
154432015-04-17 Gary Benson <gbenson@redhat.com>
15444
15445 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15446 the main executable over the remote protocol.
15447
e797481d
PA
154482015-04-16 Pedro Alves <palves@redhat.com>
15449
15450 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15451 a new gdbserver if gdbserver_reconnect_p is set.
15452
1ca99c42
PA
154532015-04-16 Pedro Alves <palves@redhat.com>
15454
15455 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15456 is set, don't exit gdbserver.
15457
af9fd6f8
AA
154582015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15459
15460 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15461 appropriate .insn, such that an older assembler can be used.
15462 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15463 the z/Architecture instruction set on 31-bit targets as well.
15464
04ff1e61
AA
154652015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15466
15467 * gdb.go/handcall.exp: Remove all logic related to the first
15468 breakpoint and rely on go_runto_main instead.
15469 * gdb.go/strings.exp: Likewise.
15470 * gdb.go/unsafe.exp: Likewise.
15471 * gdb.go/hello.exp: Likewise. Also rename the remaining
15472 breakpoint marker to "breakpoint 1".
15473 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15474 * gdb.go/strings.go: Likewise.
15475 * gdb.go/unsafe.go: Likewise.
15476 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15477 "set breakpoint 2 here" and rename the remaining breakpoint marker
15478 to "breakpoint 1".
15479
40d2f8d6
SM
154802015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15481
15482 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15483 if itertools.imap is not present.
15484 * gdb.python/py-objfile.exp: Add parentheses.
15485 * gdb.python/py-type.exp: Same.
15486 * gdb.python/py-unwind-maint.py: Same.
15487
8cbc97c6
YQ
154882015-04-15 Yao Qi <yao.qi@linaro.org>
15489
15490 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15491 of ":$ptr_size" and set its form explicitly.
15492
45fd756c
YQ
154932015-04-15 Pedro Alves <palves@redhat.com>
15494 Yao Qi <yao.qi@linaro.org>
15495
15496 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15497 timeout by factor of 4.
15498 (test_regular_watch): Likewise.
15499 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15500 * gdb.reverse/sigall-reverse.exp: Likewise.
15501 * gdb.reverse/until-precsave.exp: Likewise.
15502 * lib/gdb.exp (with_timeout_factor): New proc.
15503 (gdb_expect): Move some code to ...
15504 (get_largest_timeout): ... here. New procedure.
15505
9e811bc3
LM
155062015-04-14 Luis Machado <lgustavo@codesourcery.com>
15507
15508 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15509
0ff6fcb2
LM
155102015-04-13 Luis Machado <lgustavo@codesourcery.com>
15511
15512 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15513 to write to the .text section.
15514
7578d5f7
LM
155152015-04-13 Luis Machado <lgustavo@codesourcery.com>
15516
15517 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15518 Handle the case of targets that do not provide PID information.
15519
2efe15c4
YQ
155202015-04-13 Yao Qi <yao.qi@linaro.org>
15521
15522 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15523 and use expect instead of gdb_expect.
15524
8cd8f2f8
SDJ
155252015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15526
15527 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15528 "coredump_var_addr" to avoid naming conflict with other testcases.
15529
9ee41772
PA
155302015-04-10 Pedro Alves <palves@redhat.com>
15531
15532 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15533 gdb_test_sequence and gdb_assert.
15534
07473109
PA
155352015-04-10 Pedro Alves <palves@redhat.com>
15536
15537 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15538 test messages that don't include the breakpoint address.
15539
de3db44c
YQ
155402015-04-10 Yao Qi <yao.qi@linaro.org>
15541
15542 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15543 false for some offset and width combinations which aren't
15544 supported by linux kernel.
15545
c79d856c
PA
155462015-04-10 Pedro Alves <palves@redhat.com>
15547
15548 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15549 procedure, factored out from ...
15550 (top level): ... here. Add "set displaced-stepping" testing axis.
15551 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15552 parameter "displaced". Use it.
15553 (top level): Use foreach and add "set displaced-stepping" testing
15554 axis.
15555
ebc90b50
PA
155562015-04-10 Pedro Alves <palves@redhat.com>
15557
15558 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15559 Remove comment.
15560 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15561 both the address of the instruction that triggers the watchpoint
15562 and the address of the instruction immediately after, and use
15563 those addresses for the test. Fix comment.
15564
8f572e5c
PA
155652015-04-10 Pedro Alves <palves@redhat.com>
15566
15567 * gdb.base/sigstep.exp (breakpoint_to_handler)
15568 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15569 Test "backtrace" in handler.
15570 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15571 (top level): Add new "displaced" test axis to
15572 breakpoint_to_handler, breakpoint_to_handler_entry and
15573 breakpoint_over_handler.
15574
8d707a12
PA
155752015-04-10 Pedro Alves <palves@redhat.com>
15576
15577 PR gdb/18216
15578 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15579
ef713951
YQ
155802015-04-10 Yao Qi <yao.qi@linaro.org>
15581
15582 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15583 (test_add_rn_pc): New function.
15584 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15585 (top level): Invoke test_add_rn_pc.
15586
906d60cf
PA
155872015-04-10 Pedro Alves <palves@redhat.com>
15588
15589 PR gdb/13858
15590 * gdb.base/step-over-no-symbols.exp: New file.
15591
f2983cc3
AW
155922015-04-09 Andy Wingo <wingo@igalia.com>
15593
15594 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15595 after the Python tests.
15596
6d62641c
SDJ
155972015-04-08 Keith Seitz <keiths@redhat.com>
15598
15599 PR python/16699
15600 * gdb.python/py-completion.exp: New tests for completion.
15601 * gdb.python/py-completion.py (CompleteLimit1): New class.
15602 (CompleteLimit2): Likewise.
15603 (CompleteLimit3): Likewise.
15604 (CompleteLimit4): Likewise.
15605 (CompleteLimit5): Likewise.
15606 (CompleteLimit6): Likewise.
15607 (CompleteLimit7): Likewise.
15608
f3770638
PA
156092015-04-08 Pedro Alves <palves@redhat.com>
15610
15611 PR gdb/18214
15612 PR gdb/18216
15613 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15614 function.
15615 (main): Install it as SIGUSR1 handler.
15616 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15617 parameter. Always use "setup" as prefix. Toggle "set
15618 displaced-stepping" off/on depending on global. Don't switch to
15619 thread 1 here.
15620 (top level): Add displaced stepping "off/on" test axis. Update
15621 "setup" calls. Wrap each subtest with with_test_prefix. Test
15622 continuing with a queued signal in each thread.
15623
4496bed7
PA
156242015-04-08 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15627 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15628 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15629 Return early if running to main fails.
15630 * gdb.trace/while-stepping.exp: Likewise.
15631
b97fde92
PA
156322015-04-07 Pedro Alves <palves@redhat.com>
15633
15634 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15635 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15636 interact with inferior program.
15637
f71c18e7
PA
156382015-04-07 Pedro Alves <palves@redhat.com>
15639
15640 * lib/gdb.exp (inferior_spawn_id): New global.
15641 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15642 spawn id after processing the user code.
15643 (default_gdb_start): Set inferior_spawn_id.
15644 (send_inferior): New procedure.
15645 * lib/gdbserver-support.exp (gdbserver_start): Set
15646 inferior_spawn_id.
15647 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15648
6423214f
PA
156492015-04-07 Pedro Alves <palves@redhat.com>
15650
15651 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15652 * lib/gdbserver-support.exp (gdbserver_start): Make
15653 $server_spawn_id global.
15654 (gdbserver_start): Don't wait for gdbserver's spawn id with
15655 expect_background.
15656 (close_gdbserver): New procedure.
15657 (gdb_exit): Rename the default version and reimplement.
15658
71c0ee8c
PA
156592015-04-07 Pedro Alves <palves@redhat.com>
15660
72f4393d 15661 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15662 append the substituted item, not the original item.
15663
203bc29b
PA
156642015-04-07 Pedro Alves <palves@redhat.com>
15665
15666 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15667 gdb_expect.
15668
508a3ddf
PA
156692015-04-07 Pedro Alves <palves@redhat.com>
15670
15671 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15672 output appearing once only.
15673
9f6dbe2b
PA
156742015-04-07 Pedro Alves <palves@redhat.com>
15675
15676 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15677 that doesn't expect anything. Return early if running to main
15678 fails.
15679
337532fa
YQ
156802015-04-07 Yao Qi <yao.qi@linaro.org>
15681
15682 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15683 (child_function): Call alarm.
15684 (main): Move call to alarm into the loop.
15685 * gdb.threads/non-stop-fair-events.exp: Build program with
15686 -DTIMEOUT=$timeout.
15687
01b622d4
DE
156882015-04-06 Doug Evans <xdje42@gmail.com>
15689
15690 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15691 Fix dest parameter to board_info.
15692 (fpc_compile): Ditto.
15693 (gdb_compile_pascal): Rename dest arg to destfile.
15694
961f4160
PMR
156952015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15696
15697 * gdb.ada/funcall_ref.exp: New file.
15698 * gdb.ada/funcall_ref/foo.adb: New file.
15699
cafda597
YQ
157002015-04-02 Yao Qi <yao.qi@linaro.org>
15701
15702 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15703 is remote.
15704
fed040c6
GB
157052015-04-02 Gary Benson <gbenson@redhat.com>
15706
15707 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15708
d11916aa
SS
157092015-04-01 Sasha Smundak <asmundak@google.com>
15710
15711 * gdb.python/py-unwind-maint.c: New file.
15712 * gdb.python/py-unwind-maint.exp: New test.
15713 * gdb.python/py-unwind-maint.py: New file.
15714 * gdb.python/py-unwind.c: New file.
15715 * gdb.python/py-unwind.exp: New test.
15716 * gdb.python/py-unwind.py: New test.
15717
a1471180
PA
157182015-04-01 Pedro Alves <palves@redhat.com>
15719
15720 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15721 to fail instead of non-existent $test.
15722
0bbeccb1
PA
157232015-04-01 Pedro Alves <palves@redhat.com>
15724
15725 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15726 GDBFLAGS if not empty.
15727
3c724c8c
PMR
157282015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15729
15730 * gdb.ada/complete.exp: Remove "multi_line".
15731 * gdb.ada/info_exc.exp: Remove "multi_line".
15732 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15733 * gdb.ada/ptype_field.exp: Remove "multi_line".
15734 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15735 * gdb.ada/tagged.exp: Remove "multi_line".
15736 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15737 [multi_line ...]
15738 * gdb.btrace/delta.exp: Likewise.
15739 * gdb.btrace/exception.exp: Likewise.
15740 * gdb.btrace/function_call_history.exp: Likewise.
15741 * gdb.btrace/instruction_history.exp: Likewise.
15742 * gdb.btrace/nohist.exp: Likewise.
15743 * gdb.btrace/record_goto.exp: Likewise.
15744 * gdb.btrace/segv.exp: Likewise.
15745 * gdb.btrace/stepi.exp: Likewise.
15746 * gdb.btrace/tailcall.exp: Likewise.
15747 * gdb.btrace/unknown_functions.exp: Likewise.
15748 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15749 * lib/gdb.exp: Add the "multi_line" helper.
15750
4eec2deb
PA
157512015-04-01 Pedro Alves <palves@redhat.com>
15752
15753 * gdb.threads/tid-reuse.c: New file.
15754 * gdb.threads/tid-reuse.exp: New file.
15755
df8411da
SDJ
157562015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15757
15758 PR corefiles/16092
15759 * gdb.base/coredump-filter.c: New file.
15760 * gdb.base/coredump-filter.exp: Likewise.
15761
6ef37366
PM
157622015-03-27 Petr Machata <pmachata@redhat.com>
15763
15764 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15765 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15766 (Dwarf::assemble): Initialize them.
15767 (Dwarf::lines): New function.
15768
7ec911b0
JT
157692015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15770
15771 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15772 SYMBOL_PREFIX for x86_64-*-cygwin.
15773
ff908ebf
AW
157742015-03-26 Andy Wingo <wingo@igalia.com>
15775
15776 PR symtab/18148
15777 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15778 const_value but not a location.
15779 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15780 location defined in non-main CUs are visible.
15781
6d5f0679
YQ
157822015-03-26 Yao Qi <yao.qi@linaro.org>
15783
15784 PR testsuite/18139
15785 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15786 Add a line number entry for the same line.
15787 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15788 Add a line number entry for the same line.
15789
2898689b
YQ
157902015-03-26 Yao Qi <yao.qi@linaro.org>
15791
15792 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15793 .int 0.
15794 (func): Likewise. Add .Lfunc_1 label.
15795 Use .Lfunc_1 label.
15796 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15797 .int 0.
15798 (func): Likewise.
15799 Use .Lfunc_1 label.
15800
85180498
YQ
158012015-03-26 Yao Qi <yao.qi@linaro.org>
15802
15803 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15804 Call gdb_compile instead to compile each .s files without debug
15805 information.
15806
8aa08a8d
YQ
158072015-03-26 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.base/savedregs.exp (process_saved_regs): Make
15810 "Saved registers:" optional in the pattern.
15811
66849923
MM
158122015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15813
15814 * gdb.btrace/next.exp: Merged into step.exp.
15815 * gdb.btrace/finish.exp: Merged into step.exp.
15816 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15817 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15818 "record goto" and checking the exact replay position.
15819 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15820 check for "Recording format" in "info record" output.
15821 * gdb.btrace/record_goto.exp: Choose test file based on target.
15822 * gdb.btrace/x86-record_goto.S: Renamed into ...
15823 * gdb.btrace/x86_64-record_goto.S: ... this.
15824 * gdb.btrace/i686-record_goto.S: New.
15825 * gdb.btrace/x86-tailcall.S: Renamed into ...
15826 * gdb.btrace/x86_64-tailcall.S: ... this.
15827 * gdb.btrace/i686-tailcall.S: New.
15828 * gdb.btrace/x86-tailcall.c: Renamed into ...
15829 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15830 separate statements. Update test.
15831 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15832 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15833 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15834 * gdb.btrace/tailcall.exp: Choose test file based on target.
15835 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15836
11cc1b74
MM
158372015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15838
15839 * gdb.btrace/exception.exp: Increase BTS buffer size.
15840
a25d8bf9
PA
158412015-03-24 Pedro Alves <palves@redhat.com>
15842
15843 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15844
856e7dd6
PA
158452015-03-24 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.threads/schedlock.exp (test_step): No longer expect that
15848 "set scheduler-locking step" with "next" over a function call runs
15849 threads unlocked.
15850
ad235a41
AT
158512015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15852
15853 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15854
15630549
AT
158552015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15856
15857 PR breakpoints/16466
15858 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15859 * gdb.mi/mi-pending.c (thread_func): New function.
15860 (int main): Add threading support required.
15861 * gdb.mi/mi-pending.exp: Add tests for this issue.
15862 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15863 (pendfunc2): Remove stdio dependency.
15864 * gdb.mi/mi-pendshr2.c: New file.
15865
693dca06
KS
158662015-03-23 Keith Seitz <keiths@redhat.com>
15867
15868 * gdb.linespec/keywords.c: New file.
15869 * gdb.linespec/keywords.exp: New file.
15870
7e993ebf
KS
158712015-03-23 Keith Seitz <keiths@redhat.com>
15872
15873 PR gdb/18021
15874 * gdb.dwarf2/staticvirtual.exp: New test.
15875
bc23328c
JK
158762015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15877
15878 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15879 * README: Remove HP-UX and gdb.hp.
15880 (configuration):
15881 * configure: Regenerate.
15882 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15883 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15884 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15885 gdb.hp/gdb.defects/Makefile.
15886 * gdb.hp/Makefile.in: File deleted.
15887 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15888 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15889 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15890 * gdb.hp/gdb.aCC/run.c: File deleted.
15891 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15892 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15893 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15894 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15895 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15896 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15897 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15898 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15899 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15900 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15901 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15902 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15903 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15904 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15905 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15906 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15907 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15908 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15909 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15910 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15911 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15912 * gdb.hp/gdb.compat/average.c: File deleted.
15913 * gdb.hp/gdb.compat/sum.c: File deleted.
15914 * gdb.hp/gdb.compat/xdb.c: File deleted.
15915 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15916 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15917 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15918 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15919 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15920 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15921 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15922 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15923 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15924 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15925 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15926 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15927 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15928 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15929 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15930 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15931 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15932 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15933 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15934 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15935 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15936 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15937 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15938 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15939 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15940 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15941 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15942 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15943 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15944 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15945 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15946 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15947 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15948 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15949 * gdb.hp/tools/odump: File deleted.
15950
8bf3b159
PA
159512015-03-19 Pedro Alves <palves@redhat.com>
15952
15953 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15954 (saw_thread_3): New globals.
15955 (top level): Increment them when an event for the corresponding
15956 thread is seen.
15957 (no thread starvation): New test.
15958
eb54c8bf
PA
159592015-03-19 Pedro Alves <palves@redhat.com>
15960
15961 * gdb.threads/continue-pending-status.c: New file.
15962 * gdb.threads/continue-pending-status.exp: New file.
15963
32d2e5d6
PA
159642015-03-18 Pedro Alves <palves@redhat.com>
15965
15966 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15967 Use gdb_is_target_remote instead of is_remote. Use
15968 gdb_test_multiple instead of gdb_expect. Exit early if
15969 gdb_test_multiple hits its internal matches. Tighten stepi tests
15970 expected output. Fail on exit with any signal, instead of just
15971 SIGILL.
15972
f68f11b7
YQ
159732015-03-18 Yao Qi <yao.qi@linaro.org>
15974
15975 PR tdep/18107
15976 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15977 variable.
15978 * gdb.base/catch-syscall.exp: Don't skip it on
15979 aarch64*-*-linux* target. Remove elements in all_syscalls.
15980 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15981 target.
15982 (setup_all_syscalls): New proc.
15983
ca5fd19b
YQ
159842015-03-16 Yao Qi <yao.qi@linaro.org>
15985
15986 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15987 (top level): Skip tests if valid_addr_p returns false for
15988 $cmd1 or $cmd2.
15989
85642ba0
AW
159902015-03-11 Andy Wingo <wingo@igalia.com>
15991
15992 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15993
e03f9645
YQ
159942015-03-11 Yao Qi <yao.qi@linaro.org>
15995
15996 * gdb.base/catch-syscall.exp: Fix typo in comments.
15997
5d0962b2
YQ
159982015-03-11 Yao Qi <yao.qi@linaro.org>
15999
16000 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16001
b2df3cef
PA
160022015-03-09 Pedro Alves <palves@redhat.com>
16003
16004 * dg-extract-results.py: Delete.
16005
ef878e53
PA
160062015-03-09 Pedro Alves <palves@redhat.com>
16007
16008 Merge dg-extract-results.sh from GCC upstream (r218843).
16009
16010 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16011 * dg-extract-results.sh: Use --text with grep to avoid issues with
16012 binary files. Fall back to cat -v, if that doesn't work.
16013
9494d219
PA
160142015-03-05 Pedro Alves <palves@redhat.com>
16015
16016 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16017
a8d9763a
SM
160182015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16019
16020 * lib/mi-support.exp (mi_expect_interrupt): Accept
16021 alternative event for when in all-stop mode.
16022
be9957b8
PA
160232015-03-04 Pedro Alves <palves@redhat.com>
16024
16025 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16026
d57be0f4 160272015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16028
16029 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16030
c214c7cf
AA
160312015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16032
16033 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16034 regexps for GDB's current line display, accept a hex address
16035 preceding the line number.
16036
6d74a497
AA
160372015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16038
16039 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16040 the 'arch1' variable for "s390*-linux*" targets.
16041
511aee7c
PA
160422015-03-04 Pedro Alves <palves@redhat.com>
16043
16044 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16045 (main): Pass missing retval argument to pthread_join call.
16046
95e50b27
PA
160472015-03-02 Pedro Alves <palves@redhat.com>
16048
16049 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16050 (top level): Call do_test with non-stop as well.
16051
28054d69
PA
160522015-03-02 Pedro Alves <palves@redhat.com>
16053
16054 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16055 -1.
16056
4fa5d7b4
AA
160572015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16058
16059 * gdb.arch/s390-vregs.exp: New test.
16060 * gdb.arch/s390-vregs.S: New file.
16061
97c18565
PA
160622015-02-27 Pedro Alves <palves@redhat.com>
16063
16064 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16065 call to catch_command_errors.
16066 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16067 catch_command_errors.
16068
a37bfa30
PA
160692015-02-27 Pedro Alves <palves@redhat.com>
16070
16071 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16072 "true" for boolean result.
16073 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16074 prototype of main.
16075
6f98576f
PA
160762015-02-27 Pedro Alves <palves@redhat.com>
16077
16078 * lib/unbuffer_output.c: New file.
16079 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16080 (main): Call gdb_unbuffer_output.
16081
eba5ab56
YQ
160822015-02-27 Yao Qi <yao.qi@linaro.org>
16083
16084 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16085 target.
16086
0def5aaa
DE
160872015-02-26 Doug Evans <dje@google.com>
16088
16089 * gdb.cp/class2.cc (Dbase, D): New classes.
16090 (main): New local delta.
16091 * gdb.cp/class2.exp: Test printing delta.
16092 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16093 (dynbar): New global.
16094 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16095
081a1c2c
JK
160962015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16097
16098 * gdb.compile/compile-ifunc.c: New file.
16099 * gdb.compile/compile-ifunc.exp: New file.
16100
2f41223f
AT
161012015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16102
16103 * gdb.base/structs.exp: Check for correct struct on finish.
16104
03eddd80
YQ
161052015-02-26 Yao Qi <yao.qi@linaro.org>
16106
16107 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16108 is zero.
16109
80c57053
JK
161102015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16111
16112 * gdb.arch/cordic.ko.bz2: New file.
16113 * gdb.arch/cordic.ko.debug.bz2: New file.
16114 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16115
21613c12
YQ
161162015-02-25 Yao Qi <yao.qi@linaro.org>
16117
16118 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16119 aarch64*-*-* target.
16120
d8b901ed
PA
161212015-02-23 Pedro Alves <palves@redhat.com>
16122
16123 * lib/gdb.exp (delete_breakpoints): Rewrite using
16124 gdb_test_multiple.
16125
e5b85ead
PA
161262015-02-23 Pedro Alves <palves@redhat.com>
16127
16128 * gdb.base/info-os.c: Include stdlib.h.
16129
85c3a371
DE
161302015-02-22 Doug Evans <xdje42@gmail.com>
16131
16132 PR symtab/17855
16133 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16134 is read after symbols have been re-read.
16135 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16136 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16137
96553a0c
DE
161382015-02-21 Doug Evans <dje@google.com>
16139
16140 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16141
97a0c697
JK
161422015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16143
16144 PR corefiles/17808
16145 * gdb.arch/i386-biarch-core.core.bz2: New file.
16146 * gdb.arch/i386-biarch-core.exp: New file.
16147
a47cd6e9
PA
161482015-02-21 Pedro Alves <palves@redhat.com>
16149
16150 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16151 runto_main fails.
16152
c5facdc4
PA
161532015-02-20 Pedro Alves <palves@redhat.com>
16154
16155 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16156 info probes.
16157
2db9a427
PA
161582015-02-20 Pedro Alves <palves@redhat.com>
16159
16160 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16161
60fb7e9e
PA
161622015-02-20 Pedro Alves <palves@redhat.com>
16163
16164 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16165 clean_restart before gdb_target_supports_trace.
16166
5c5019c2
PA
161672015-02-20 Pedro Alves <palves@redhat.com>
16168
16169 PR threads/18006
16170 * gdb.threads/clone-thread_db.c: New file.
16171 * gdb.threads/clone-thread_db.exp: New file.
16172
c9587f88
AT
161732015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16174
16175 PR breakpoints/16812
16176 * gdb.base/catch-gdb-caused-signals.c: New file.
16177 * gdb.base/catch-gdb-caused-signals.exp: New file.
16178
f6a88844
JM
161792015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16180
16181 * configure: Regenerated.
16182 * configure.ac: Use GDB_AC_TRANSFORM.
16183 * aclocal.m4: sinclude ../transform.m4.
16184
497c491b
JM
161852015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16186
16187 * lib/dtrace.exp: New file.
16188 * gdb.base/dtrace-probe.exp: Likewise.
16189 * gdb.base/dtrace-probe.d: Likewise.
16190 * gdb.base/dtrace-probe.c: Likewise.
16191 * lib/pdtrace.in: Likewise.
16192 * configure.ac: Output variables with the transformed names of
16193 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16194 * configure: Regenerated.
16195
03e98035
JM
161962015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16197
16198 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16199 expected message when trying to access $_probe_* convenience
16200 variables while not on a probe.
16201
63cc30e9
JK
162022015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16203
16204 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16205
0703599a
PA
162062015-02-11 Pedro Alves <pedro@codesourcery.com>
16207
16208 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16209 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16210
7e60a48e
DE
162112015-02-10 Doug Evans <xdje42@gmail.com>
16212
16213 * lib/gdb.exp (gdb_load): Always return a result.
16214
01b088bc
PA
162152015-02-10 Pedro Alves <palves@redhat.com>
16216
16217 * gdb.threads/signal-sigtrap.c: New file.
16218 * gdb.threads/signal-sigtrap.exp: New file.
16219
b05ec7a5
AT
162202015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16221
16222 * gdb.trace/no-attach-trace.c: New file.
16223 * gdb.trace/no-attach-trace.exp: New file.
16224
a2c2acaf
MW
162252015-02-09 Mark Wielaard <mjw@redhat.com>
16226
16227 * gdb.dwarf2/atomic.c: New file.
16228 * gdb.dwarf2/atomic-type.exp: Likewise.
16229
31fd9caa
MM
162302015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16231
16232 * gdb.btrace/buffer-size.exp: Update "info record" output.
16233 * gdb.btrace/delta.exp: Update "info record" output.
16234 * gdb.btrace/enable.exp: Update "info record" output.
16235 * gdb.btrace/finish.exp: Update "info record" output.
16236 * gdb.btrace/instruction_history.exp: Update "info record" output.
16237 * gdb.btrace/next.exp: Update "info record" output.
16238 * gdb.btrace/nexti.exp: Update "info record" output.
16239 * gdb.btrace/step.exp: Update "info record" output.
16240 * gdb.btrace/stepi.exp: Update "info record" output.
16241 * gdb.btrace/nohist.exp: Update "info record" output.
16242
d33501a5
MM
162432015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16244
16245 * gdb.btrace/buffer-size: New.
16246
f4abbc16
MM
162472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16248
16249 * gdb.btrace/delta.exp: Update "info record" output.
16250 * gdb.btrace/enable.exp: Update "info record" output.
16251 * gdb.btrace/finish.exp: Update "info record" output.
16252 * gdb.btrace/instruction_history.exp: Update "info record" output.
16253 * gdb.btrace/next.exp: Update "info record" output.
16254 * gdb.btrace/nexti.exp: Update "info record" output.
16255 * gdb.btrace/step.exp: Update "info record" output.
16256 * gdb.btrace/stepi.exp: Update "info record" output.
16257 * gdb.btrace/nohist.exp: Update "info record" output.
16258
b9d61307
SM
162592015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16260
16261 PR gdb/15678
16262 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16263
e584fdbc
PA
162642015-02-06 Pedro Alves <palves@redhat.com>
16265
16266 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16267 macro.
16268 (seconds_left, again): New globals.
16269 (main): Wait seconds_left in a 1-second sleep loop instead of
16270 sleeping 180 seconds. If 'again' is set, reset the seconds
16271 counter.
16272 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16273 'again' in the inferior before detaching. Print the seconds left.
16274 (options): New global.
16275 (top level): Build program with -DTIMEOUT=$timeout.
16276
77f41761
PA
162772015-02-06 Pedro Alves <palves@redhat.com>
16278
16279 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16280 determine how many seconds to pass to 'alarm'.
16281 * gdb.base/gdb-sigterm.exp (top level): Build program with
16282 -DTIMEOUT=$timeout.
16283 (do_test): Return success/failure indication. Add more verbose
16284 logging. Don't fail if 200 single steps are seen. Instead, fail
16285 when the test times out.
16286 (passes): New global.
16287 (top level): Break the testing loop if testing fails on any
16288 iteration. Use gdb_assert.
16289
b9394193
DB
162902015-02-04 Don Breazeal <donb@codesourcery.com>
16291
16292 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16293 and initialize them.
16294 (ipc_cleanup): New function.
16295 (main): Don't declare shmid, semid, and msqid. Add a call to
16296 atexit so that we call ipc_cleanup on exit.
16297
42d9e528
PA
162982015-02-04 Pedro Alves <palves@redhat.com>
16299
16300 * boards/native-extended-gdbserver.exp: Remove any target variant
16301 specifications from the board name before clearing the isremote
16302 flag from board_info.
16303
ae6ae975
DE
163042015-01-31 Doug Evans <xdje42@gmail.com>
16305
16306 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16307
cfb069a8
GB
163082015-01-31 Gary Benson <gbenson@redhat.com>
16309
16310 * gdb.base/completion.exp: Disable completion limiting for
16311 existing tests. Add new tests to check completion limiting.
16312 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16313
5dd31d79
DE
163142015-01-31 Doug Evans <xdje42@gmail.com>
16315
16316 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16317
9f050062
DE
163182015-01-31 Doug Evans <xdje42@gmail.com>
16319
16320 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16321 entries. Duplicate file section script entries.
16322 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16323 inlined entries. Add test for safe-path rejection.
16324 * gdb.python/py-section-script.c: Add duplicate inlined section script
16325 entries. Duplicate file section script entries.
16326 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16327 inlined entries. Add test for safe-path rejection.
16328
df25ebbd
JB
163292015-01-29 Joel Brobecker <brobecker@adacore.com>
16330
16331 * gdb.ada/disc_arr_bound: New testcase.
16332
4a0ca9ec
JB
163332015-01-29 Joel Brobecker <brobecker@adacore.com>
16334
16335 * gdb.ada/mi_var_array: New testcase.
16336
3a8b707a
DE
163372015-01-27 Doug Evans <dje@google.com>
16338
16339 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16340 Add test for objfile.filename, objfile.username after objfile
16341 has been unloaded.
16342
f8313f6e
JB
163432015-01-26 Joel Brobecker <brobecker@adacore.com>
16344
16345 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16346 the second test to print the name attribute of value
16347 returned by the call to gdb.lookup_type, and adjust
16348 the expected output accordingly.
16349
37bc665e
MW
163502015-01-25 Mark Wielaard <mjw@redhat.com>
16351
16352 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16353 * gdb.base/disp-step-fork.c: Include unistd.h.
16354 * gdb.base/siginfo-obj.c: Include stdio.h.
16355 * gdb.base/siginfo-thread.c: Likewise.
16356 * gdb.mi/non-stop.c: Include unistd.h.
16357 * gdb.mi/nsthrexec.c: Include stdio.h.
16358 * gdb.mi/pthreads.c: Include unistd.h.
16359 * gdb.modula2/unbounded1.c (main): Declare returns int.
16360 * gdb.reverse/consecutive-reverse.c: Likewise.
16361 * gdb.threads/create-fail.c: Include unistd.h.
16362 * gdb.threads/killed.c: Likewise.
16363 * gdb.threads/linux-dp.c: Likewise.
16364 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16365 * gdb.threads/non-ldr-exc-2.c: Likewise.
16366 * gdb.threads/non-ldr-exc-3.c: Likewise.
16367 * gdb.threads/non-ldr-exc-4.c: Likewise.
16368 * gdb.threads/pthreads.c: Include unistd.h.
16369 (main): Declare returns int.
16370 * gdb.threads/tls-main.c (foo): New declaration.
16371 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16372
f7e5394d
SM
163732015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16374
16375 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16376 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16377
743649fd
MW
163782015-01-15 Mark Wielaard <mjw@redhat.com>
16379
16380 * gdb.base/noreturn-return.c: New file.
16381 * gdb.base/noreturn-return.exp: New file.
16382 * gdb.base/noreturn-finish.c: New file.
16383 * gdb.base/noreturn-finish.exp: New file.
16384
198297aa
PA
163852015-01-23 Pedro Alves <palves@redhat.com>
16386
16387 * gdb.threads/continue-pending-after-query.c: New file.
16388 * gdb.threads/continue-pending-after-query.exp: New file.
16389
717cf30c
AG
163902015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16391 Simon Marchi <simon.marchi@ericsson.com>
16392
16393 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16394 * gdb.base/valgrind-db-attach.exp: Same.
16395 * gdb.base/valgrind-infcall.exp: Same.
16396 * lib/mi-support.exp (default_mi_gdb_start): Same.
16397 * lib/prompt.exp (default_prompt_gdb_start): Same.
16398 * lib/gdb.exp (default_gdb_spawn): Same.
16399 (gdb_interact): New.
16400
16401
4b62a76e
JK
164022015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16403
16404 * gdb.compile/compile.exp (pointer to jit function): New test.
16405
b4cdae6f
WW
164062015-01-17 Wei-cheng Wang <cole945@gmail.com>
16407
16408 * lib/gdb.exp (supports_process_record): Return true for
16409 powerpc*-*-linux*.
16410 (supports_reverse): Likewise.
16411
d221e7ef
DB
164122015-01-15 Don Breazeal <donb@codesourcery.com>
16413
16414 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16415 instead of checking whether the target board is remote and
16416 use spawn_wait_for_attach instead of exec/sleep.
16417 * gdb.base/attach-twice.exp: Likewise.
16418
bafffb51
JB
164192015-01-15 Joel Brobecker <brobecker@adacore.com>
16420
16421 * gdb.ada/var_arr_attrs: New testcase.
16422
5589af0e
PA
164232015-01-14 Pedro Alves <palves@redhat.com>
16424 Joel Brobecker <brobecker@adacore.com>
16425
16426 PR gdb/17525
16427 * gdb.base/bp-cmds-execution-x-script.c: New file.
16428 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16429 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16430
6c400b59
PA
164312015-01-14 Pedro Alves <palves@redhat.com>
16432
16433 PR cli/17828
16434 * gdb.base/batch-preserve-term-settings.c: New file.
16435 * gdb.base/batch-preserve-term-settings.exp: New file.
16436
e02c96a7
DE
164372015-01-13 Doug Evans <dje@google.com>
16438
16439 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16440 binary.
16441
576fd14c
JB
164422015-01-13 Joel Brobecker <brobecker@adacore.com>
16443
16444 * Makefile.in (clean mostlyclean): Do not delete *.py.
16445
04dccad0
JB
164462015-01-13 Joel Brobecker <brobecker@adacore.com>
16447
16448 * gdb.python/py-lookup-type.exp: New file.
16449
3d230f71
PA
164502015-01-12 Pedro Alves <palves@redhat.com>
16451
16452 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16453 restore GDBFLAGS before returning.
16454
7e67715d
JK
164552015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16456
16457 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16458 is_amd64_regs_target and is_x86_like_target.
16459
f2e0d4b4
DE
164602015-01-11 Doug Evans <xdje42@gmail.com>
16461
16462 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16463 is given without an explicit form.
16464 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16465 attributes.
16466 * gdb.dwarf/corrupt.exp: Ditto.
16467 * gdb.dwarf2/enum-type.exp: Ditto.
16468 * gdb.trace/entry-values.exp: Ditto.
16469 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16470
439250fb
DE
164712015-01-11 Doug Evans <xdje42@gmail.com>
16472
16473 PR gdb/15830
16474 * gdb.base/maint.exp: Remove references to "maint demangle".
16475 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16476 Add tests for explicitly specifying language to demangle.
16477 * gdb.dlang/demangle.exp: Ditto.
16478
ede9f622
PA
164792015-01-09 Pedro Alves <palves@redhat.com>
16480
16481 * gdb.threads/non-stop-fair-events.c: New file.
16482 * gdb.threads/non-stop-fair-events.exp: New file.
16483
a7b796db
PA
164842015-01-09 Pedro Alves <palves@redhat.com>
16485
16486 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16487 the global scope. Set a breakpoint after all threads are started
16488 rather than stepping over two source lines. Expect the prompt.
16489 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16490 global.
16491 (NUM): Now 15.
16492 (main): Use threads_started_barrier to wait for all threads to
16493 start. Main thread no longer calls thread_function. Exit after
16494 180 seconds.
16495 (loop): New function.
16496 (thread_function): Wait on threads_started_barrier barrier. Call
16497 'loop' at each iteration.
16498 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16499 threads have started, instead of hardcoding number of "next"
16500 steps. Use an access watchpoint instead of a write watchpoint.
16501
9665ffdd
PA
165022015-01-09 Pedro Alves <palves@redhat.com>
16503
16504 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16505 (thread_func): Wait on barrier.
16506 (main): Wait for all threads to start before stopping GDB.
16507 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16508 global.
16509 (thread1_func, thread2_func): Wait on barrier.
16510 (main): Wait for all threads to start before stopping GDB.
16511 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16512 New global.
16513 (thread1_func, thread2_func): Wait on barrier.
16514 (main): Wait for all threads to start before stopping GDB.
16515
c945a99f
PA
165162015-01-09 Pedro Alves <palves@redhat.com>
16517
16518 * gdb.threads/attach-many-short-lived-threads.c: New file.
16519 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16520
c1a747c1
PA
165212014-01-09 Pedro Alves <palves@redhat.com>
16522
16523 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16524 instead of to thread 2.
16525 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16526 Add barrier around each pthread_create call instead of around all
16527 calls.
16528 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16529 Set a break on thread_function and have the child threads hit it
16530 one at at a time.
16531
60b3033e
PA
165322015-01-09 Pedro Alves <palves@redhat.com>
16533
16534 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16535 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16536 false.
16537 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16538 checking whether the target board is remote.
16539 * gdb.multi/multi-attach.exp: Likewise.
16540 * gdb.python/py-sync-interp.exp: Likewise.
16541 * gdb.server/ext-attach.exp: Likewise.
16542 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16543 tests that need to attach, instead of checking whether the target
16544 board is remote at the top of the file.
16545
acc018ac
YQ
165462015-01-08 Yao Qi <yao@codesourcery.com>
16547
16548 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16549
50a18af8
JK
165502015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16551
16552 Fix testcase compilation.
16553 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16554
8503d6e1
JB
165552015-01-06 Joel Brobecker <brobecker@adacore.com>
16556
16557 * gdb.python/py-type.exp: Add a couple test about empty
16558 array creation, and negative-length array creation.
16559
cc73dbcc
DE
165602015-01-02 Doug Evans <xdje42@gmail.com>
16561
16562 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16563
0300bbc7
DE
165642015-01-02 Doug Evans <dje@google.com>
16565
16566 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16567
9d85a0ec
YQ
165682014-12-29 Yao Qi <yao@codesourcery.com>
16569
16570 * gdb.trace/entry-values.exp: Update comments. Rename variable
16571 bar_call_foo to returned_from_foo.
16572
87186c6a
MMN
165732014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16574
16575 PR gdb/17394
16576 * gdb.linespec/break-asm-file.c: New file.
16577 * gdb.linespec/break-asm-file.exp: New file.
16578 * gdb.linespec/break-asm-file0.s: New file.
16579 * gdb.linespec/break-asm-file1.s: New file.
16580
1bab7383
YQ
165812014-12-18 Nigel Stephens <nigel@mips.com>
16582 Maciej W. Rozycki <macro@codesourcery.com>
16583
16584 * gdb.base/float.exp: Handle the new output from "info float" on
16585 MIPS targets.
16586
1bc1068a
JK
165872014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16588
16589 Fix MinGW compilation.
16590 * gdb.compile/compile-ops.exp: Update untested message if
16591 !skip_compile_feature_tests.
16592 * gdb.compile/compile-setjmp.exp: Likewise.
16593 * gdb.compile/compile-tls.exp: Likewise.
16594 * gdb.compile/compile.exp: Likewise.
16595 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16596 supported on this host".
16597
b6615d10
DE
165982014-12-16 Doug Evans <xdje42@gmail.com>
16599
16600 * boards/stabs.exp: New file.
16601
25dda427
AA
166022014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16603
16604 * gdb.base/completion.exp: Adjust to format changes of "maint
16605 print user-registers".
16606
bf330350
CU
166072014-12-16 Catalin Udma <catalin.udma@freescale.com>
16608
16609 PR server/17457
16610 * gdb.arch/aarch64-fp.c: New file.
16611 * gdb.arch/aarch64-fp.exp: New file.
16612
395cf596
SDJ
166132014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16614
16615 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16616 r210637, r210913, r211666, r215400, r215817).
16617
16618 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16619 * dg-extract-results.py: New file.
16620 * dg-extract-results.sh: Use it if the environment seems
16621 suitable.
16622
16623 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16624
16625 * dg-extract-results.py (parse_run): Handle warnings that
16626 are printed before a test harness is run.
16627
16628 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16629
16630 * dg-extract-results.py (Named): Remove __cmp__ method.
16631 (output_variation): Use a key to sort variation.harnesses.
16632
16633 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16634
16635 * dg-extract-results.py: For Python 3, force sys.stdout to
16636 handle surrogate escape sequences.
16637 (safe_open): New function.
16638 (output_segment, main): Use it.
16639
16640 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16641
16642 * dg-extract-results.py (Prog.result_re): Include options
16643 in test name.
16644
16645 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16646
16647 * dg-extract-results.py (output_variation): Always sort if
16648 do_sum.
16649
e882ef3c
SM
166502014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16651
16652 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16653 as long as we get pagination notifications.
16654
4992aa20
JM
166552014-12-15 Jason Merrill <jason@redhat.com>
16656
16657 * Makefile.in (check-gdb.%): Restore.
16658 * README: Mention it.
16659
c1b5a1a6
JB
166602014-12-13 Joel Brobecker <brobecker@adacore.com>
16661
16662 * gdb.ada/str_uninit: New testcase.
16663
5537b577
JK
166642014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16665
16666 PR symtab/17642
16667 * gdb.base/vla-stub-define.c: New file.
16668 * gdb.base/vla-stub.c: New file.
16669 * gdb.base/vla-stub.exp: New file.
16670
bb2ec1b3
TT
166712014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16672 Jan Kratochvil <jan.kratochvil@redhat.com>
16673 Tom Tromey <tromey@redhat.com>
16674
16675 * configure.ac: Add gdb.compile/.
16676 * configure: Regenerate.
16677 * gdb.compile/Makefile.in: New file.
16678 * gdb.compile/compile-ops.exp: New file.
16679 * gdb.compile/compile-ops.c: New file.
16680 * gdb.compile/compile-tls.c: New file.
16681 * gdb.compile/compile-tls.exp: New file.
16682 * gdb.compile/compile-constvar.S: New file.
16683 * gdb.compile/compile-constvar.c: New file.
16684 * gdb.compile/compile-mod.c: New file.
16685 * gdb.compile/compile-nodebug.c: New file.
16686 * gdb.compile/compile-setjmp-mod.c: New file.
16687 * gdb.compile/compile-setjmp.c: New file.
16688 * gdb.compile/compile-setjmp.exp: New file.
16689 * gdb.compile/compile-shlib.c: New file.
16690 * gdb.compile/compile.c: New file.
16691 * gdb.compile/compile.exp: New file.
16692 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16693
4ff709eb
TT
166942014-12-12 Tom Tromey <tromey@redhat.com>
16695
16696 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16697 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16698
6dddd6a5
DE
166992014-12-12 Doug Evans <dje@google.com>
16700
16701 * lib/gdb-python.exp (get_python_valueof): New function.
16702 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16703
71c24708
AA
167042014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16705
16706 * gdb.base/completion.exp: Add test for completion of "info
16707 registers ".
16708
3e29f34a
MR
167092014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16710
16711 * gdb.base/func-ptrs.c: New file.
16712 * gdb.base/func-ptrs.exp: New file.
16713
fc126975
SM
167142014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16715
16716 PR breakpoints/17012
16717 * gdb.base/dprintf-detach.c: New file.
16718 * gdb.base/dprintf-detach.exp: New file.
16719
0a46d518
SM
167202014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16721
16722 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16723 * lib/gdb.exp (target_is_gdbserver): New procedure.
16724
a0be3e44
DE
167252014-12-08 Doug Evans <dje@google.com>
16726
16727 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16728
df1b803a
YQ
167292014-12-05 Yao Qi <yao@codesourcery.com>
16730
16731 * gdb.guile/scm-error.exp: Remove the third argument to
16732 gdb_remote_download.
16733 * gdb.guile/scm-frame-args.exp: Likewise.
16734 * gdb.guile/scm-section-script.exp: Likewise.
16735
ddb9f679
YQ
167362014-12-05 Yao Qi <yao@codesourcery.com>
16737
16738 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16739
86e4ed39
DE
167402014-12-04 Doug Evans <dje@google.com>
16741
16742 * gdb.python/py-objfile.exp: Add tests for
16743 objfile.add_separate_debug_file.
16744
7c50a931
DE
167452014-12-04 Doug Evans <dje@google.com>
16746
16747 * lib/gdb.exp (get_build_id): New function.
16748 (build_id_debug_filename_get): Rewrite to use it.
16749 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16750
621661e3
MR
167512014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16752
16753 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16754 `method(long)', not just 0x0.
16755 * gdb.cp/nsalias.exp: Align code labels to 4.
16756 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16757 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16758 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16759 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16760 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16761 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16762
29f0c3b7
DE
167632014-12-02 Doug Evans <dje@google.com>
16764
e1e061e7 16765 PR symtab/17602
29f0c3b7 16766 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16767 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16768 * gdb.cp/anon-ns.exp: Update.
16769
162078c8
NB
167702014-12-02 Nick Bull <nicholaspbull@gmail.com>
16771
16772 * gdb.python/py-events.py (inferior_call_handler): New.
16773 (register_changed_handler, memory_changed_handler): New.
16774 (test_events.invoke): Register new handlers.
16775 * gdb.python/py-events.exp: Add tests for inferior call,
16776 memory_changed and register_changed events.
16777
fdb09caf
AA
167782014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16779
16780 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16781 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16782 if the linker doesn't understand this.
16783
55cfb2c4
SM
167842014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16785
16786 * gdb.python/python.exp: Change expected reply to help().
16787
9e8cd6df
YQ
167882014-12-01 Yao Qi <yao@codesourcery.com>
16789
16790 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16791 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16792 * configure: Re-generated.
16793
6c659fc2
SC
167942014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16795
16796 * gdb.cp/chained-calls.cc: New file.
16797 * gdb.cp/chained-calls.exp: New file.
16798 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16799
d7fc3181
SM
168002014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16801
16802 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16803 * gdb.dwarf2/symtab-producer.exp: Same.
16804 * gdb.gdb/python-interrupts.exp: Same.
16805 * gdb.gdb/python-selftest.exp: Same.
16806 * gdb.python/py-linetable.exp: Same.
16807 * gdb.python/py-type.exp: Same.
16808 * gdb.python/py-value-cc.exp: Same.
16809 * gdb.python/py-value.exp: Same.
16810
10e79639
YQ
168112014-11-28 Yao Qi <yao@codesourcery.com>
16812
16813 * gdb.base/break-probes.exp: Match library name prefixed with
16814 sysroot.
16815
f28a0564
SM
168162014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16817
16818 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16819 test expected output. Add parentheses for the call to print.
16820 Remove L suffix from integers.
16821
3fe1ce1d
DE
168222014-11-26 Doug Evans <dje@google.com>
16823
16824 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16825
84429e27
YQ
168262014-11-22 Yao Qi <yao@codesourcery.com>
16827
16828 * gdb.trace/entry-values.c: Remove asms.
16829 (foo): Add foo_label.
16830 (bar): Add bar_label.
16831 * gdb.trace/entry-values.exp: Remove code computing foo's
16832 length and bar's length.
16833 (Dwarf::assemble): Invoke function_range for bar and use
16834 MACRO_AT_func for foo.
16835
26741859
YQ
168362014-11-22 Yao Qi <yao@codesourcery.com>
16837
16838 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16839 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16840 Use .Lgcc43_procstart instead of gcc43.
16841
45e44d27
JB
168422014-11-21 Joel Brobecker <brobecker@adacore.com>
16843
16844 * gdb.ada/n_arr_bound: New testcase.
16845
458c8db8
SDJ
168462014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16847
16848 PR breakpoints/10737
16849 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16850 test_catch_syscall_multi_arch.
16851 (test_catch_syscall_multi_arch): New function.
16852
43f3e411
DE
168532014-11-20 Doug Evans <xdje42@gmail.com>
16854
16855 * gdb.base/maint.exp: Update expected output.
16856
0d7b2549
AA
168572014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16858
16859 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16860 4-byte instruction on S390.
16861
8908fca5
JB
168622014-11-19 Joel Brobecker <brobecker@adacore.com>
16863
16864 * gdb.ada/arr_arr: New testcase.
16865
4a46959e
JB
168662014-11-19 Joel Brobecker <brobecker@adacore.com>
16867
16868 * gdb.ada/pkd_arr_elem: New Testcase.
16869
470e2f4e
LM
168702014-11-18 Luis Machado <lgustavo@codesourcery.com>
16871
16872 * gdb.reverse/break-precsave: Expect completion message for
16873 core file reads.
16874 * gdb.reverse/consecutive-precsave.exp: Likewise.
16875 * gdb.reverse/finish-precsave.exp: Likewise.
16876 * gdb.reverse/i386-precsave.exp: Likewise.
16877 * gdb.reverse/machinestate-precsave.exp: Likewise.
16878 * gdb.reverse/sigall-precsave.exp: Likewise.
16879 * gdb.reverse/solib-precsave.exp: Likewise.
16880 * gdb.reverse/step-precsave.exp: Likewise.
16881 * gdb.reverse/until-precsave.exp: Likewise.
16882 * gdb.reverse/watch-precsave.exp: Likewise.
16883
a267f3ad
AA
168842014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16885
16886 * gdb.base/bp-permanent.c: Include unistd.h.
16887 * gdb.python/py-framefilter-mi.c (main): Add return type.
16888 * gdb.python/py-framefilter.c (main): Likewise.
16889 * gdb.trace/actions-changed.c (main): Likewise.
16890
12084a9a
AA
168912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16892
16893 * gdb.mi/until.c: Add eye-catchers.
16894 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16895 line numbers.
16896
dc7e1a77
AA
168972014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16898
16899 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16900 function header variants in break1.c.
16901 * gdb.base/ena-dis-br.exp: Likewise.
16902 * gdb.base/hbreak2.exp: Likewise.
16903 * gdb.reverse/until-precsave.exp: Drop references to removed
16904 non-prototype function header variants in ur1.c.
16905 * gdb.reverse/until-reverse.exp: Likewise.
16906
41c77605
PM
169072014-11-17 Petr Machata <pmachata@redhat.com>
16908
16909 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16910 ${_cu_offset_size} bytes abbrev offset.
16911
34248c3a
DE
169122014-11-15 Doug Evans <xdje42@gmail.com>
16913
16914 PR symtab/17559
16915 * gdb.base/line-symtabs.exp: New file.
16916 * gdb.base/line-symtabs.c: New file.
16917 * gdb.base/line-symtabs.h: New file.
16918
646da059
YQ
169192014-11-14 Yao Qi <yao@codesourcery.com>
16920
16921 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16922 (func): Add label func_label.
16923 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16924 Replace low_pc and high_pc with MACRO_AT_range.
16925 Replace name, low_pc and high_pc with MACRO_AT_func.
16926
9301ebe6
YQ
169272014-11-14 Yao Qi <yao@codesourcery.com>
16928
16929 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16930 Replace name, low_pc and high_pc with MACRO_AT_func.
16931
f166b542
YQ
169322014-11-14 Yao Qi <yao@codesourcery.com>
16933
16934 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16935 produce debug information.
16936 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16937
0f6e71e3
YQ
169382014-11-14 Yao Qi <yao@codesourcery.com>
16939
16940 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16941 object and get function length.
16942 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16943 with MACRO_AT_func.
16944 (top-level): Replace gdb_compile and clean_restart with
16945 prepare_for_testing.
16946 * gdb.dwarf2/main.c (main): Add label main_label.
16947
876c4df9
YQ
169482014-11-14 Yao Qi <yao@codesourcery.com>
16949
16950 * lib/dwarf.exp (function_range): New procedure.
16951 (Dwarf::_handle_macro_at_func): New procedure.
16952 (Dwarf::_handle_macro_at_range): New procedure.
16953 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16954
02ad9cf1
YQ
169552014-11-14 Yao Qi <yao@codesourcery.com>
16956
16957 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16958 (_handle_attribute): New procedure.
16959
a59add0c
AA
169602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16961
16962 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16963 * gdb.base/call-sc.c (zed): Likewise.
16964 * gdb.base/checkpoint.c (main): Likewise.
16965 * gdb.base/dump.c (main): Likewise.
16966 * gdb.base/gcore.c (main): Likewise.
16967 * gdb.base/huge.c (main): Likewise.
16968 * gdb.base/multi-forks.c (main): Likewise.
16969 * gdb.base/pr10179-a.c (main): Likewise.
16970 * gdb.base/savedregs.c (main): Likewise.
16971 * gdb.base/sigaltstack.c (main): Likewise.
16972 * gdb.base/siginfo.c (main): Likewise.
16973 * gdb.base/structs.c (zed): Likewise.
16974 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16975 * gdb.mi/mi-syn-frame.c (main): Likewise.
16976 * gdb.mi/until.c (foo, main): Likewise.
16977 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16978 * gdb.base/solib-weak.c (foo): Declare.
16979 * gdb.base/attach-twice.c: Include stdio.h.
16980 * gdb.base/weaklib1.c: Likewise.
16981 * gdb.base/weaklib2.c: Likewise.
16982 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16983 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16984 unistd.h.
16985 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16986 * gdb.mi/mi-exit-code.c: Likewise.
16987 * gdb.base/break-interp-lib.c: Include string.h.
16988 * gdb.base/coremaker.c: Likewise.
16989 * gdb.base/testenv.c: Likewise.
16990 * gdb.python/py-finish-breakpoint.c: Likewise.
16991 * gdb.base/inferior-died.c: Include sys/wait.h.
16992 * gdb.base/fileio.c: Include time.h.
16993 * gdb.base/async-shell.c: Include unistd.h.
16994 * gdb.base/dprintf-non-stop.c: Likewise.
16995 * gdb.base/info-os.c: Likewise.
16996 * gdb.mi/mi-console.c: Likewise.
16997 * gdb.mi/watch-nonstop.c: Likewise.
16998 * gdb.python/py-events.c: Likewise.
16999 * gdb.base/async.c (baz): Move up before its invocation.
17000 * gdb.base/code_elim2.c (my_global_func): Likewise.
17001 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17002 * gdb.base/advance.c (func2): Likewise.
17003
3b5d5997
AA
170042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17005
17006 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17007 variant.
17008 * gdb.base/annota3.c: Likewise.
17009 * gdb.base/async.c: Likewise.
17010 * gdb.base/average.c: Likewise.
17011 * gdb.base/call-ar-st.c: Likewise.
17012 * gdb.base/call-rt-st.c: Likewise.
17013 * gdb.base/call-sc.c: Likewise.
17014 * gdb.base/call-strs.c: Likewise.
17015 * gdb.base/ending-run.c: Likewise.
17016 * gdb.base/execd-prog.c: Likewise.
17017 * gdb.base/exprs.c: Likewise.
17018 * gdb.base/foll-exec.c: Likewise.
17019 * gdb.base/foll-fork.c: Likewise.
17020 * gdb.base/foll-vfork.c: Likewise.
17021 * gdb.base/funcargs.c: Likewise.
17022 * gdb.base/gcore.c: Likewise.
17023 * gdb.base/jump.c: Likewise.
17024 * gdb.base/langs0.c: Likewise.
17025 * gdb.base/langs1.c: Likewise.
17026 * gdb.base/langs2.c: Likewise.
17027 * gdb.base/mips_pro.c: Likewise.
17028 * gdb.base/nodebug.c: Likewise.
17029 * gdb.base/opaque0.c: Likewise.
17030 * gdb.base/opaque1.c: Likewise.
17031 * gdb.base/recurse.c: Likewise.
17032 * gdb.base/run.c: Likewise.
17033 * gdb.base/scope0.c: Likewise.
17034 * gdb.base/scope1.c: Likewise.
17035 * gdb.base/setshow.c: Likewise.
17036 * gdb.base/setvar.c: Likewise.
17037 * gdb.base/shmain.c: Likewise.
17038 * gdb.base/shr1.c: Likewise.
17039 * gdb.base/shr2.c: Likewise.
17040 * gdb.base/sigall.c: Likewise.
17041 * gdb.base/signals.c: Likewise.
17042 * gdb.base/so-indr-cl.c: Likewise.
17043 * gdb.base/solib2.c: Likewise.
17044 * gdb.base/structs.c: Likewise.
17045 * gdb.base/sum.c: Likewise.
17046 * gdb.base/vforked-prog.c: Likewise.
17047 * gdb.base/watchpoint.c: Likewise.
17048 * gdb.reverse/shr2.c: Likewise.
17049 * gdb.reverse/until-reverse.c: Likewise.
17050 * gdb.reverse/ur1.c: Likewise.
17051 * gdb.reverse/watch-reverse.c: Likewise.
17052
066a77c5
AA
170532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17054
17055 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17056 variant.
17057 * gdb.base/sepdebug.exp: Drop references to removed code.
17058
4f204ea5
AA
170592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17060
17061 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17062 variant. Preserve original line numbering.
17063 * gdb.base/list1.c: Likewise.
17064
3b377a3a
AA
170652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17066
17067 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17068 variant.
17069 * gdb.base/break1.c: Likewise.
17070 * gdb.base/break.exp: Drop references to removed code.
17071
e444df73
AA
170722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17073
17074 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17075 variant.
17076
8008f2a7
AA
170772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17078
17079 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17080
a5a06887
AA
170812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17082
17083 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17084 logic into perform_all_tests() and invoke it with and without
17085 function header prototypes.
17086 (do_function_calls): Remove conditional XFAIL for PR 5318.
17087 (rerun_and_prepare): Remove duplicate code.
17088 (perform_all_tests): New. Main logic moved here.
17089
44dba9b9
AA
170902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17091
17092 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17093 code guarded by #ifdef NO_PROTOTYPES.
17094 (t_double_many_args): Likewise.
17095 (DEF_FUNC_MANY_ARGS_1): Likewise.
17096 (DEF_FUNC_VALUES_1): Likewise.
17097 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17098 guarded by #ifdef PROTOTYPES.
17099
d1fbcd56
AA
171002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17101
17102 * gdb.mi/mi-console.c: Add eye-catcher.
17103 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17104 instead of literal line number.
17105
b0e59b8f
AA
171062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17107
17108 * gdb.base/shr2.c: Add eye-catcher.
17109 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17110 line number.
17111
78f98cca
AA
171122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17113
17114 * gdb.base/jump.c: Add eye-catchers.
17115 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17116 numbers.
17117
58fa2af0
AA
171182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17119
17120 * gdb.base/execd-prog.c: Add eye-catchers.
17121 * gdb.base/foll-exec.c: Likewise.
17122 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17123 line numbers.
17124
04e5059b
AA
171252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17126
17127 * gdb.base/ending-run.c: Add eye-catchers.
17128 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17129 literal line numbers.
17130
dbfdb174
AA
171312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17132
17133 * gdb.base/call-rt-st.c: Add eye-catchers.
17134 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17135 literal line numbers.
17136
888a2ade
AA
171372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17138
17139 * gdb.base/call-ar-st.c: Add eye-catchers.
17140 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17141 literal line numbers.
17142
6acc2dde
AA
171432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17144
17145 * gdb.base/average.c: Add eye-catchers.
17146 * gdb.base/sum.c: Likewise.
17147 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17148 regexps dynamically.
17149
9ecfcd1d
AA
171502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17151
17152 * gdb.base/solib1.c: Add eye-catchers.
17153 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17154 literal line numbers.
17155
78708b7c
PA
171562014-11-12 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17159 leader has exited.
17160
af48d08f
PA
171612014-11-12 Pedro Alves <palves@redhat.com>
17162
17163 * gdb.arch/i386-bp_permanent.c: New file.
17164 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17165 (srcfile): Set to i386-bp_permanent.c.
17166 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17167 that stepi does not execute the 'leave' instruction, instead of
17168 testing it does execute.
17169 * gdb.base/bp-permanent.c: New file.
17170 * gdb.base/bp-permanent.exp: New file.
17171
af3768e9
DE
171722014-11-10 Doug Evans <xdje42@gmail.com>
17173
17174 PR symtab/17564
17175 * gdb.base/symtab-search-order.exp: New file.
17176 * gdb.base/symtab-search-order.c: New file.
17177 * gdb.base/symtab-search-order-1.c: New file.
17178 * gdb.base/symtab-search-order-shlib-1.c: New file.
17179
9de00a4a
PA
171802014-11-07 Pedro Alves <palves@redhat.com>
17181
17182 PR gdb/17511
17183 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17184 i?86-*-linux*.
17185
e0f52461
SC
171862014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17187
17188 PR c++/17494
17189 * gdb.cp/pr17494.cc: New file.
17190 * gdb.cp/pr17494.exp: New file.
17191
6ce8c980
YQ
171922014-11-02 Yao Qi <yao@codesourcery.com>
17193
17194 * gdb.python/python.exp: Get working directory and match the
17195 output of "set extended-prompt \\w " with it.
17196
02be9a71
DE
171972014-10-30 Doug Evans <dje@google.com>
17198
17199 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17200 in objfiles.
17201 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17202 in progspaces.
17203
3bdff46b
LM
172042014-10-30 Janis Johnson <janisjo@codesourcery.com>
17205
17206 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17207 * gdb.base/realname-expand.exp: Likewise.
17208 * gdb.linespec/macro-relative.exp: Likewise.
17209
ab917dfb
PA
172102014-10-29 Pedro Alves <palves@redhat.com>
17211
17212 PR gdb/17408
17213 * gdb.threads/schedlock.c (some_function): New function.
17214 (call_function): New global.
17215 (MAYBE_CALL_SOME_FUNCTION): New macro.
17216 (thread_function): Call it.
17217 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17218 and use it instead of a global counter. Adjust all callers.
17219 (get_current_thread): Use "find current thread" for test message
17220 here rather than having all callers pass down the same string.
17221 (goto_loop): New procedure, factored out from ...
17222 (my_continue): ... this.
17223 (step_ten_loops): Change parameter from test message to command to
17224 use. Adjust.
17225 (list_count): Delete global.
17226 (check_result): New procedure, factored out from duplicate top
17227 level code.
17228 (continue tests): Wrap in with_test_prefix.
17229 (test_step): New procedure, factored out from duplicate top level
17230 code.
17231 (top level): Test "step" in combination with all scheduler-locking
17232 modes. Test "next" in combination with all scheduler-locking
17233 modes, and in combination with stepping over a function call or
17234 not.
17235 * gdb.threads/next-bp-other-thread.c: New file.
17236 * gdb.threads/next-bp-other-thread.exp: New file.
17237
d3d4baed
PA
172382014-10-29 Pedro Alves <palves@redhat.com>
17239
17240 PR python/17372
17241 * gdb.python/python.exp: Test a multi-line command that spawns
17242 interactive Python.
17243 * gdb.base/multi-line-starts-subshell.exp: New file.
17244
563e8d85
YQ
172452014-10-29 Yao Qi <yao@codesourcery.com>
17246
17247 * gdb.base/fileio.exp: Make directories on host.
17248
0ea4d52e
YQ
172492014-10-29 Yao Qi <yao@codesourcery.com>
17250
17251 * gdb.base/fileio.c (test_write): Close the file.
17252
7f5ef605
PA
172532014-10-28 Pedro Alves <palves@redhat.com>
17254
17255 PR gdb/12623
17256 * gdb.base/sigstep.c (no_handler): New global.
17257 (main): If 'no_handler is true, set the signal handlers to
17258 SIG_IGN.
17259 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17260 with_sw_watch and no_handler parameters. Handle them.
17261 (top level) <stepping over handler when stopped at a breakpoint
17262 test>: Add a test axis for testing with a software watchpoint, and
17263 another for testing with the signal handler set to SIG_IGN.
17264 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17265 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17266
abbdbd03
PA
172672014-10-28 Pedro Alves <palves@redhat.com>
17268
17269 PR gdb/17511
17270 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17271 * gdb.base/sigstep.exp (other_handler_location): New global.
17272 (advance): Support stepping into the signal handler, and running
17273 commands while in the handler.
17274 (in_handler_map): New global.
17275 (top level): In the advance test, add combinations for getting
17276 into the handler with stepping commands, and for running commands
17277 in the handler. Add comment descripting the advancei tests.
17278
1df4399f
PA
172792014-10-28 Pedro Alves <palves@redhat.com>
17280
17281 * gdb.base/sigstep.exp: Use build_executable instead of
17282 prepare_for_testing.
17283 (top level): Move code that starts GDB, runs to main and creates a
17284 display to ...
17285 (restart): ... this new procedure.
17286 (top level): Move backtrace from signal handler test to ...
17287 (validate_backtrace): ... this new procedure.
17288 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17289 with_test_prefix. Always restart GDB.
17290 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17291 with_test_prefix. Always restart GDB. No need to delete
17292 breakpoints after the test.
17293 (test_skip_handler): Remove prefix parameter.
17294 (skip_over_handler, breakpoint_to_handler)
17295 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17296 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17297 restart GDB. No need to delete breakpoints after the test.
17298 (top level): Use foreach to call the test procedures with
17299 different commands.
17300
a5b6e449
PA
173012014-10-28 Pedro Alves <palves@redhat.com>
17302
17303 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17304 instead of GNATS numbers.
17305 * gdb.base/sigbpt.exp: Likewise.
17306 * gdb.base/siginfo.exp: Likewise.
17307 * gdb.base/sigstep.exp: Likewise.
17308
e5f8a7cc
PA
173092014-10-27 Pedro Alves <palves@redhat.com>
17310
17311 * gdb.base/sigstep.c (dummy): New global.
17312 (main): Issue a couple writes to the new global.
17313 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17314 procedures.
17315 (skip_over_handler): Use test_skip_handler.
17316 (top level): Call skip_over_handler for stepi and nexti too.
17317 (breakpoint_over_handler): Use test_skip_handler.
17318 (top level): Call breakpoint_over_handler for stepi and nexti too.
17319
763905a3
YQ
173202014-10-27 Yao Qi <yao@codesourcery.com>
17321
17322 * gdb.trace/tfile.c (adjust_function_address)
17323 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17324 function descriptor.
17325
6f259a23
DB
173262014-10-24 Don Breazeal <donb@codesourcery.com>
17327
17328 * gdb.base/foll-fork.exp (test_follow_fork,
17329 catch_fork_child_follow): Check for updated fork messages emitted
17330 from infrun.c.
17331 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17332 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17333 vfork_and_exec_child_follow_through_step): Check for updated vfork
17334 messages emitted from infrun.c.
17335
09dd9a69
PA
173362014-10-24 Pedro Alves <palves@redhat.com>
17337
17338 * gdb.base/corefile.exp: Remove references to ultrix.
17339 * gdb.base/interrupt.exp: Likewise.
17340 * gdb.base/whatis.exp: Likewise.
17341 * gdb.gdb/selftest.exp: Likewise.
17342 * gdb.threads/manythreads.exp: Likewise.
17343 * gdb.threads/print-threads.exp: Likewise.
17344 * gdb.threads/pthreads.exp:: Likewise.
17345 * gdb.threads/schedlock.exp: Likewise.
17346
3433cfa5
SC
173472014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17348
17349 * gdb.cp/non-trivial-retval.cc: Add a test case.
17350 * gdb.cp/non-trivial-retval.exp: Add a test.
17351
092f880b
YQ
173522014-10-20 Yao Qi <yao@codesourcery.com>
17353
17354 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17355 * gdb.python/py-objfile-script-gdb.py: New file.
17356 * gdb.python/py-objfile-script.exp: Update reference to
17357 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17358 of remote_download. Remove the dest file.
17359
acbdb7f3
YQ
173602014-10-20 Yao Qi <yao@codesourcery.com>
17361
17362 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17363 * gdb.base/step-line.exp: Likewise.
17364 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17365 * gdb.dwarf2/dw2-basic.exp: Likewise.
17366 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17367 * gdb.dwarf2/dw2-filename.exp: Likewise.
17368 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17369 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17370 * gdb.dwarf2/dw2-producer.exp: Likewise.
17371 * gdb.dwarf2/mac-fileno.exp: Likewise.
17372 * gdb.python/py-frame-args.exp: Likewise.
17373 * gdb.python/py-framefilter.exp: Likewise.
17374 * gdb.python/py-mi.exp: Likewise.
17375 * gdb.python/py-objfile-script.exp: Likewise
17376 * gdb.python/py-pp-integral.exp: Likewise.
17377 * gdb.python/py-pp-re-notag.exp: Likewise.
17378 * gdb.python/py-prettyprint.exp: Likewise.
17379 * gdb.python/py-section-script.exp: Likewise.
17380 * gdb.python/py-typeprint.exp: Likewise.
17381 * gdb.python/py-xmethods.exp: Likewise.
17382 * gdb.stabs/weird.exp: Likewise.
17383 * gdb.xml/tdesc-regs.exp: Likewise.
17384
bd286a29
KCY
173852014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17386
17387 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17388 (out_cu): Use addr_len for the size of addresses.
17389 (out_line): Likewise. Size DW_LNE_set_address instruction
17390 according to addr_len.
17391 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17392 (FUNC): Add START_INSNS to definition.
17393
673dc4a0
YQ
173942014-10-18 Yao Qi <yao@codesourcery.com>
17395
17396 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17397 gdb_has_argv0 return true.
17398 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17399 check [target_info exists noargs], check [gdb_has_argv0]
17400 instead.
17401 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17402 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17403 procedures.
17404
4ffbba72
DE
174052014-10-17 Doug Evans <dje@google.com>
17406
17407 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17408 event.
17409 * gdb.python/py-events.py: Add clear_objfiles event.
17410
d096d8c1
DE
174112014-10-17 Doug Evans <dje@google.com>
17412
17413 * gdb.python/py-objfile.exp: Test progspace attribute.
17414
a80db015
LM
174152014-10-17 Luis Machado <lgustavo@codesourcery.com>
17416
17417 * gdb.guile/scm-breakpoint.exp: Do not assume any
17418 directory separators when matching source file paths.
17419 * gdb.python/py-breakpoint.exp: Likewise.
17420 * gdb.reverse/break-precsave.exp: Likewise.
17421 * gdb.reverse/break-reverse.exp: Likewise.
17422 * gdb.reverse/consecutive-precsave.exp: Likewise.
17423 * gdb.reverse/finish-precsave.exp: Likewise.
17424 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17425 * gdb.reverse/finish-reverse.exp: Likewise.
17426 * gdb.reverse/i386-precsave.exp: Likewise.
17427 * gdb.reverse/i387-env-reverse.exp: Likewise.
17428 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17429 * gdb.reverse/machinestate-precsave.exp: Likewise.
17430 * gdb.reverse/machinestate.exp: Likewise.
17431 * gdb.reverse/sigall-precsave.exp: Likewise.
17432 * gdb.reverse/solib-precsave.exp: Likewise.
17433 * gdb.reverse/step-precsave.exp: Likewise.
17434 * gdb.reverse/until-precsave.exp: Likewise.
17435 * gdb.reverse/watch-precsave.exp: Likewise.
17436 * gdb.reverse/watch-reverse.exp: Likewise.
17437
b22089ab
YQ
174382014-10-17 Yao Qi <yao@codesourcery.com>
17439
17440 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17441 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17442
6c4486e6
PA
174432014-10-17 Pedro Alves <palves@redhat.com>
17444
17445 PR gdb/17471
17446 * gdb.base/bg-execution-repeat.c: New file.
17447 * gdb.base/bg-execution-repeat.exp: New file.
17448
0ff33695
PA
174492014-10-17 Pedro Alves <palves@redhat.com>
17450
17451 PR gdb/17300
17452 * gdb.base/continue-all-already-running.c: New file.
17453 * gdb.base/continue-all-already-running.exp: New file.
17454
6fdebc3d
PA
174552014-10-17 Pedro Alves <palves@redhat.com>
17456
17457 PR gdb/17472
17458 * gdb.base/annota-input-while-running.c: New file.
17459 * gdb.base/annota-input-while-running.exp: New file.
17460
32a8097b
PA
174612014-10-17 Pedro Alves <palves@redhat.com>
17462
17463 * gdb.base/callfuncs.exp: emove references to osf.
17464 * gdb.base/sigall.exp: Likewise.
17465 * gdb.gdb/selftest.exp: Likewise.
17466 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17467 * gdb.mi/non-stop.c: Likewise.
17468 * gdb.mi/pthreads.c: Likewise.
17469 * gdb.reverse/sigall-precsave.exp: Likewise.
17470 * gdb.reverse/sigall-reverse.exp: Likewise.
17471 * gdb.threads/pthreads.c: Likewise.
17472 * gdb.threads/pthreads.exp: Likewise.
17473
7a3517ff
YQ
174742014-10-17 Yao Qi <yao@codesourcery.com>
17475
17476 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17477 check 'target_info exists noargs'.
17478 (test_command_prompt_position): Likewise.
17479 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17480 Remove "set args".
17481 (progvar_simple_while_test): Likewise.
17482 (progvar_complex_if_while_test): Likewise.
17483 (if_while_breakpoint_command_test): Likewise.
17484 (infrun_breakpoint_command_test): Likewise.
17485 (breakpoint_command_test): Likewise.
17486 (watchpoint_command_test): Likewise.
17487 (bp_deleted_in_command_test): Likewise.
17488 (temporary_breakpoint_commands): Likewise.
17489
bb99c472
YQ
174902014-10-16 Yao Qi <yao@codesourcery.com>
17491
17492 * gdb.base/remotetimeout.exp: Remove noargs checking.
17493
7c16b83e
PA
174942014-10-15 Pedro Alves <palves@redhat.com>
17495
17496 PR breakpoints/9649
17497 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17498 * gdb.base/breakpoint-in-ro-region.exp
17499 (probe_target_hardware_step): New procedure.
17500 (top level): Probe hardware stepping and hardware breakpoint
17501 support. Test stepping through a read-only region, with both
17502 "breakpoint auto-hw" on and off and both "always-inserted" on and
17503 off.
17504
35a49624
IB
175052014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17506
17507 * gdb.dlang/demangle.exp: Update for demangling changes.
17508
2d1c107c
SC
175092014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17510
17511 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17512 * gdb.cp/non-trivial-retval.exp: Add new tests.
17513
778811d5
SC
175142014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17515
17516 PR c++/13403
17517 PR c++/15154
17518 * gdb.cp/non-trivial-retval.cc: New file.
17519 * gdb.cp/non-trivial-retval.exp: New file.
17520
10c5f0a8
YQ
175212014-10-15 Yao Qi <yao@codesourcery.com>
17522
17523 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17524 remote host.
17525
65d7b369
YQ
175262014-10-15 Yao Qi <yao@codesourcery.com>
17527
17528 * gdb.python/py-symbol.exp: Match file base name if host is
17529 remote, otherwise match file name with dir name.
17530 * gdb.python/py-symtab.exp: Likewise.
17531 * gdb.python/python.exp: Likewise.
17532
46dc1394
YQ
175332014-10-15 Yao Qi <yao@codesourcery.com>
17534
17535 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17536 pattern.
17537 * gdb.python/py-symtab.exp: Likewise.
17538 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17539 locationn.
17540
c40cc657
JB
175412014-10-14 Joel Brobecker <brobecker@adacore.com>
17542
17543 * gdb.ada/addr_arith: New testcase.
17544
2abf49e1
MR
175452014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17546
17547 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17548 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17549 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17550 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17551
f7088df3
SDJ
175522014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17553
17554 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17555 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17556 * gdb.arch/stap-eval-lang-ada.exp: New file.
17557
4dc06805
YQ
175582014-10-14 Yao Qi <yao@codesourcery.com>
17559
17560 * gdb.mi/mi-var-child.c (nothing1): New function.
17561 (nothing2): New function.
17562 (do_children_tests): Set function pointers by nothing1 and
17563 nothing2.
17564 * gdb.mi/mi-var-child.exp: Step over new added statements.
17565 Update test to match the new output.
17566 * gdb.mi/var-cmd.c (nothing1): New function.
17567 (nothing2): New function.
17568 (do_children_tests): Set function pointers by nothing1 and
17569 nothing2.
17570 * gdb.mi/mi-var-display.exp: Update test to match output.
17571 Step to the line specified by $line_dct_nothing.
17572 Increase the number of lines to step.
17573
46a93de2
YQ
175742014-10-14 Yao Qi <yao@codesourcery.com>
17575
17576 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17577 tests.
17578 * gdb.mi/mi2-var-child.exp: Likewise.
17579
14ea52ee
DE
175802014-10-13 Doug Evans <dje@google.com>
17581
17582 * gdb.python/py-objfile.exp: Change name of file name test.
17583
e5c6e92b
DE
175842014-10-13 Doug Evans <dje@google.com>
17585
17586 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17587 from the start of the CU.
17588
c780cc2f
JK
175892014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17590 Yao Qi <yao@codesourcery.com>
17591
17592 Fix "save breakpoints" for "catch" command.
17593 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17594 Remove -nonewline. Match also the added "main" line.
17595
99894e11
JK
175962014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17597
17598 Fix "save breakpoints" for "disable $bpnum" command.
17599 * gdb.base/save-bp.c (main): Add label.
17600 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17601
6e1ac5a3
JK
176022014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17603
17604 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17605
754dd2b0
YQ
176062014-10-11 Yao Qi <yao@codesourcery.com>
17607
17608 * gdb.server/server-kill.exp: Execute command
17609 "set remote trace-status-packet on" before "tstatus".
17610
f90183d7
YQ
176112014-10-11 Yao Qi <yao@codesourcery.com>
17612
17613 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17614 (main): Call getppid.
17615 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17616 and continue to it. Read variable "server_pid".
17617
bf40a607
YQ
176182014-10-11 Yao Qi <yao@codesourcery.com>
17619
17620 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17621
052ca370
YQ
176222014-10-11 Yao Qi <yao@codesourcery.com>
17623
17624 * gdb.threads/thread-find.exp: Don't execute command
17625 "info threads".
17626 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17627 * gdb.threads/linux-dp.exp: Don't check the condition
17628 $threads_created equals to zero.
17629
3831839c
PA
176302014-10-10 Pedro Alves <palves@redhat.com>
17631
17632 * gdb.base/bigcore.exp: Remove references to IRIX.
17633 * gdb.base/funcargs.exp: Likewise.
17634 * gdb.base/interrupt.exp: Likewise.
17635 * gdb.base/mips_pro.exp: Likewise.
17636 * gdb.base/nodebug.exp: Likewise.
17637 * gdb.base/setvar.exp: Likewise.
17638 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17639
8b9a549d
PA
176402014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17641 Pedro Alves <palves@redhat.com>
17642
17643 PR symtab/14466
17644 * gdb.base/vdso-warning.c: New file.
17645 * gdb.base/vdso-warning.exp: New file.
17646
d48ba5e8
DE
176472014-10-02 Doug Evans <dje@google.com>
17648
17649 * gdb.base/structs.c (main): Don't run forever.
17650
2278c276
PA
176512014-10-02 Pedro Alves <palves@redhat.com>
17652
17653 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17654 (top level) <stop threads 1, stop threads 2>: Use it.
17655
b57bacec
PA
176562014-10-02 Pedro Alves <palves@redhat.com>
17657
17658 * gdb.threads/break-while-running.exp (test): Add new
17659 'update_thread_list' argument. Skip "info threads" if false.
17660 (top level): Add new 'update_thread_list' axis.
17661
13fd3ff3
PA
176622014-10-02 Pedro Alves <palves@redhat.com>
17663
17664 PR breakpoints/17431
17665 * gdb.base/execl-update-breakpoints.c: New file.
17666 * gdb.base/execl-update-breakpoints.exp: New file.
17667
0fec99e8
PA
176682014-10-01 Pedro Alves <palves@redhat.com>
17669
17670 * gdb.base/breakpoint-in-ro-region.c: New file.
17671 * gdb.base/breakpoint-in-ro-region.exp: New file.
17672
2ddf4301
SM
176732014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17674
17675 * gdb.mi/mi-exit-code.exp: New file.
17676 * gdb.mi/mi-exit-code.c: New file.
17677
6a5f3f43
YQ
176782014-09-30 Yao Qi <yao@codesourcery.com>
17679
17680 * lib/prelink-support.exp (build_executable_own_libs): Error if
17681 the target isn't native.
17682
345bcc73
YQ
176832014-09-30 Yao Qi <yao@codesourcery.com>
17684
17685 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17686 false.
17687
a25a5a45
PA
176882014-09-22 Pedro Alves <palves@redhat.com>
17689
17690 * gdb.threads/break-while-running.exp: New file.
17691 * gdb.threads/break-while-running.c: New file.
17692
00ba3162
YQ
176932014-09-19 Yao Qi <yao@codesourcery.com>
17694
17695 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17696 Invoke test. Restart GDB with --readnow and invoke test again.
17697
c3b7b696
YQ
176982014-09-19 Yao Qi <yao@codesourcery.com>
17699
17700 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17701 proc set_breakpoint_on_gcd_function. Invoke
17702 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17703 invoke set_breakpoint_on_gcd_function again.
17704
2b4fd423
DE
177052014-09-18 Doug Evans <dje@google.com>
17706
17707 * gdb.dwarf2/symtab-producer.exp: New file.
17708
a5947601
SDJ
177092014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17710
17711 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17712 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17713 * gdb.base/global-var-nested-by-dso.c: Likewise.
17714 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17715
91c19059
SDJ
177162014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17717 Pedro Alves <palves@redhat.com>
17718
17719 * gdb.base/watch-bitfields.exp: Pass string other than test file
17720 name to prepare_for_testing.
17721 (watch): New procedure.
17722 (expect_watchpoint): Use with_test_prefix.
17723 (top level): Factor out tests to ...
17724 (test_watch_location, test_regular_watch): ... these new
17725 procedures, and use with_test_prefix and gdb_continue_to_end.
17726
bb9d5f81
PP
177272014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17728
17729 PR breakpoints/12526
17730 * gdb.base/watch-bitfields.exp: New file.
17731 * gdb.base/watch-bitfields.c: New file.
17732
635856f5
PA
177332014-09-16 Pedro Alves <palves@redhat.com>
17734
17735 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17736 software and hardware addresses, not software address against
17737 itself.
17738
7280ceea
PA
177392014-09-16 Pedro Alves <palves@redhat.com>
17740
17741 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17742 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17743
428b16bd
PA
177442014-09-16 Pedro Alves <palves@redhat.com>
17745
17746 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17747 files.
17748 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17749 "*-*-vxworks*" throughout.
17750 * gdb.base/break.exp: Likewise.
17751 * gdb.base/default.exp: Likewise.
17752 * gdb.base/scope.exp: Likewise.
17753 * gdb.base/sepdebug.exp: Likewise.
17754 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17755 throughout.
17756 * gdb.base/run.c: Likewise.
17757 * gdb.base/sepdebug.c: Likewise.
17758 * gdb.hp/gdb.aCC/run.c: Likewise.
17759 * gdb.reverse/until-reverse.c: Likewise.
17760 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17761
666d413c
YQ
177622014-09-16 Yao Qi <yao@codesourcery.com>
17763
17764 * boards/local-remote-host-native.exp: New file.
17765
57cbd724
DE
177662014-09-14 Doug Evans <xdje42@gmail.com>
17767
17768 * gdb.threads/queue-signal.c (thread_count): New variable.
17769 (thread_count_mutex, thread_count_condvar): New variables.
17770 (incr_thread_count, wait_all_threads_running): New functions.
17771 (main): Wait for all threads to be in their thread functions.
17772
81219e53
DE
177732014-09-13 Doug Evans <xdje42@gmail.com>
17774
17775 * gdb.threads/queue-signal.c: New file.
17776 * gdb.threads/queue-signal.exp: New file.
17777
3714cea7
DE
177782014-09-13 Doug Evans <xdje42@gmail.com>
17779
17780 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17781 be consistent with what default_gdb_init uses.
17782 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17783 the plain text of the prompt. Add some logging printfs.
17784 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17785
fa43b1d7
PA
177862014-09-12 Pedro Alves <palves@redhat.com>
17787
17788 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17789 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17790 * gdb.arch/i386-size-overlap.exp: Likewise.
17791 * gdb.arch/i386-size.exp: Likewise.
17792 * gdb.arch/i386-unwind.exp: Likewise.
17793 * gdb.base/a2-run.exp: Likewise.
17794 * gdb.base/break.exp: Likewise.
17795 * gdb.base/charset.exp: Likewise.
17796 * gdb.base/chng-syms.exp: Likewise.
17797 * gdb.base/commands.exp: Likewise.
17798 * gdb.base/dbx.exp: Likewise.
17799 * gdb.base/find.exp: Likewise.
17800 * gdb.base/funcargs.exp: Likewise.
17801 * gdb.base/jit-simple.exp: Likewise.
17802 * gdb.base/reread.exp: Likewise.
17803 * gdb.base/sepdebug.exp: Likewise.
17804 * gdb.base/step-bt.exp: Likewise.
17805 * gdb.cp/mb-inline.exp: Likewise.
17806 * gdb.cp/mb-templates.exp: Likewise.
17807 * gdb.objc/basicclass.exp: Likewise.
17808 * gdb.threads/killed.exp: Likewise.
17809
9d9bf2df
EBM
178102014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17811
17812 PR tdep/17379
17813 * gdb.arch/powerpc-stackless.S: New file.
17814 * gdb.arch/powerpc-stackless.exp: New file.
17815
1cf2f1b0
JK
178162014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17817
17818 * gdb.base/attach.c: Include unistd.h.
17819 (main): Call alarm. Add label postloop.
17820 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17821 gdb_breakpoint, gdb_continue_to_breakpoint.
17822 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17823
98880d46
PA
178242014-09-11 Pedro Alves <palves@redhat.com>
17825
17826 PR gdb/17347
17827 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17828 * gdb.base/attach.exp (test_command_line_attach_run): New
17829 procedure.
17830 (top level): Call it.
17831
4c92ff2c
PA
178322014-09-11 Pedro Alves <palves@redhat.com>
17833
17834 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17835 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17836 (do_command_attach_tests): Use spawn_wait_for_attach.
17837 * gdb.base/solib-overlap.exp: Likewise.
17838 * gdb.multi/multi-attach.exp: Likewise.
17839 * gdb.python/py-prompt.exp: Likewise.
17840 * gdb.python/py-sync-interp.exp: Likewise.
17841 * gdb.server/ext-attach.exp: Likewise.
17842
3adc1a7d
GKB
178432014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17844
17845 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17846 command in testcase. Simplify testcase.
17847
96334934
JB
178482014-09-10 Joel Brobecker <brobecker@adacore.com>
17849
17850 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17851
eb479039
JB
178522014-09-10 Joel Brobecker <brobecker@adacore.com>
17853
17854 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17855
deede10c
JB
178562014-09-10 Joel Brobecker <brobecker@adacore.com>
17857
17858 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17859
7828a5f5
JB
178602014-09-10 Joel Brobecker <brobecker@adacore.com>
17861
17862 * gdb.dwarf2/dynarr-ptr.c: New file.
17863 * gdb.dwarf2/dynarr-ptr.exp: New file.
17864
33aeebcf
MR
178652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17866
17867 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17868 of 30 rather than hardcoding 120 for a slow test case. Take the
17869 `gdb,timeout' target setting into account for this calculation.
17870 Don't extend the timeout for the test cases that don't need it.
17871
7b415901
MR
178722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17873
17874 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17875 a factor of 2 for a slow test case. Take the `gdb,timeout'
17876 target setting into account for this calculation.
17877 * gdb.reverse/until-precsave.exp: Increase the timeout by
17878 a factor of 15 and 3 respectively rather than adding 120
17879 for a pair of slow test cases. Take the `gdb,timeout'
17880 target setting into account for this calculation.
17881
4a40f85a
MR
178822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17883
17884 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17885 timeout, don't pass one down to gdb_expect.
17886 (gdb_expect): Rework timeout selection.
17887
09635af7
MR
178882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17889
17890 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17891 exception on timeout.
17892 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17893 (gdbserver_start_extended): Catch any `gdbserver_start' error
17894 exceptions.
17895 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17896 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17897 `gdbserver_gdb_load' error exceptions.
17898
2bdd10b7
MR
178992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17900
17901 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17902 120 on waiting for the TCP socket to open.
17903
316935f0
DE
179042014-09-09 Doug Evans <xdje42@gmail.com>
17905
17906 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17907 _caller_matches, _any_caller_is, _any_caller_matches.
17908
83740597
DE
179092014-09-09 Doug Evans <xdje42@gmail.com>
17910
17911 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17912
4c122fc3
YQ
179132014-09-09 Yao Qi <yao@codesourcery.com>
17914
17915 * gdb.mi/mi-var-display.exp: Set print symbol off.
17916
a9f116cb
GKB
179172014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17918
17919 PR gdb/17035
17920 * gdb.base/commands.exp: Add tests to verify user-defined
17921 commands with empty bodies.
17922 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17923 python commands in `show user command`.
17924 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17925 scheme commands in `show user command`.
17926
c75bd3a2
JK
179272014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17928
17929 PR python/17355
17930 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17931 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17932 * gdb.python/py-framefilter-invalidarg.exp: New file.
17933 * gdb.python/py-framefilter-invalidarg.py: New file.
17934
faa42425
DE
179352014-09-06 Doug Evans <xdje42@gmail.com>
17936
17937 PR 15276
17938 * gdb.python/py-caller-is.c: New file.
17939 * gdb.python/py-caller-is.exp: New file.
17940
474ca4f6
SDJ
179412014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17942
17943 PR gdb/17235
17944 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17945 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17946
eb0b0463
SDJ
179472014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17948
17949 PR fortran/17237
17950 * gdb.fortran/print-formatted.exp: New file.
17951 * gdb.fortran/print-formatted.f90: Likewise.
17952
5f3b99cf
SS
179532014-09-03 Sasha Smundak <asmundak@google.com>
17954
17955 * gdb.python/py-frame.exp: Test Frame.read_register.
17956
7d793aa9
SDJ
179572014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17958
17959 PR python/16699
17960 * gdb.python/py-completion.exp: New file.
17961 * gdb.python/py-completion.py: Likewise.
17962
fb0576e9
DE
179632014-08-28 Doug Evans <dje@google.com>
17964
17965 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17966 eax,etc. are live with values set by gdb and thus the compiler can't
17967 use them.
17968 * gdb.arch/i386-pseudo.c (main): Ditto.
17969
ee92b0dd
DE
179702014-08-27 Doug Evans <dje@google.com>
17971
17972 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17973
6649db35
DE
179742014-08-25 Doug Evans <dje@google.com>
17975
17976 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17977 (main): Ditto.
17978
564b7600
DE
179792014-08-25 Doug Evans <dje@google.com>
17980
17981 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17982
3881fb67
YQ
179832014-08-24 Yao Qi <yao@codesourcery.com>
17984
17985 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17986 symbol off.
17987 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17988
a05a36a5
DE
179892014-08-22 Doug Evans <dje@google.com>
17990
17991 PR 17276
17992 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17993 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17994 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17995
7c343b48
YQ
179962014-08-22 Yao Qi <yao@codesourcery.com>
17997
17998 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17999 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18000 * gdb.python/python.exp: Likewise. Use .py file on the host
18001 instead of the build.
18002
22fd09ae
JK
180032014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18004
18005 * gdb.threads/gcore-stale-thread.c: New file.
18006 * gdb.threads/gcore-stale-thread.exp: New file.
18007
a8454a7c
PA
180082014-08-21 Pedro Alves <palves@redhat.com>
18009
18010 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18011 * gdb.base/gcore-relro-pie.exp: Likewise.
18012 * gdb.base/gcore-relro.exp: Likewise.
18013 * gdb.base/gcore.exp: Likewise.
18014 * gdb.base/print-symbol-loading.exp: Likewise.
18015 * gdb.threads/gcore-thread.exp: Likewise.
18016 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18017
2a31c623
PA
180182014-08-20 Pedro Alves <palves@redhat.com>
18019 Jan Kratochvil <jan.kratochvil@redhat.com>
18020
18021 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18022 configure.
18023 (EXPECT): Handle READ1 being set.
18024 (all): Depend on EXTRA_RULES.
18025 (check-read1, expect-read1, read1.so, read1): New rules.
18026 * README (Testsuite Parameters): Document the READ1 make variable.
18027 (Race detection): New section.
18028 * configure: Regenerate.
18029 * configure.ac: If build==host==target, and running under a
18030 GNU/glibc system, add read1 to the extra Makefile rules.
18031 (EXTRA_RULES): AC_SUBST it.
18032 * lib/read1.c: New file.
18033
d36430db
JB
180342014-08-20 Joel Brobecker <brobecker@adacore.com>
18035
18036 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18037 the handling of variables declared as a typedef to an array
18038 which a DW_AT_data_location attribute.
18039
9a0dc9e3
PA
180402014-08-19 Andrew Burgess <aburgess@broadcom.com>
18041 Pedro Alves <palves@redhat.com>
18042
18043 PR symtab/14604
18044 PR symtab/14605
18045 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18046 gdb_test.
18047
0718a8da
PA
180482014-08-19 Pedro Alves <palves@redhat.com>
18049
18050 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18051
13b448cd
YQ
180522014-08-19 Yao Qi <yao@codesourcery.com>
18053
18054 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18055 right line.
18056
1cbf5077
DB
180572014-08-18 David Blaikie <dblaikie@gmail.com>
18058
18059 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18060
bf0fae19
JB
180612014-08-18 Joel Brobecker <brobecker@adacore.com>
18062
18063 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18064 attribute in array range.
18065
3c8c5dcc
JB
180662014-08-18 Joel Brobecker <brobecker@adacore.com>
18067
18068 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18069
e66d4446
SC
180702014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18071
18072 PR c++/17132
18073 * gdb.cp/pr17132.cc: New file.
18074 * gdb.cp/pr17132.exp: New file.
18075
940df408
SC
180762014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18077
18078 * gdb.python/py-xmethods.py (A_getarrayind)
18079 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18080 Use 'print' with function call syntax.
18081 (E_method_matcher.match): Fix tab vs space indentation mixup.
18082
ebcc6c3a
YQ
180832014-08-15 Yao Qi <yao@codesourcery.com>
18084
18085 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18086 false.
18087
775e0f04
YQ
180882014-08-15 Yao Qi <yao@codesourcery.com>
18089
18090 * gdb.cp/casts.exp: Set print symbol off.
18091 * gdb.cp/class2.exp: Likewise.
18092 * gdb.cp/overload.exp: Likewise.
18093 * gdb.cp/templates.exp: Likewise.
18094
d769e349
DE
180952014-08-11 Doug Evans <dje@google.com>
18096
18097 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18098 (test_load_shlib): Update.
18099
20c6f1e1
YQ
181002014-08-09 Yao Qi <yao@codesourcery.com>
18101
18102 * gdb.base/display.exp: Invoke is_address_zero_readable.
18103 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18104 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18105 * gdb.base/hbreak-unmapped.exp: Return if
18106 is_address_zero_readable returns true.
18107 * gdb.base/signest.exp: Likewise.
18108 * gdb.base/signull.exp: Likewise.
18109 * gdb.base/sigbpt.exp: Likewise.
18110 * gdb.guile/scm-disasm.exp: Do the test if
18111 is_address_zero_readable returns false.
18112 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18113 * gdb.python/py-arch.exp: Likewise.
18114 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18115 * lib/gdb.exp (is_address_zero_readable): New proc.
18116
5792e8e3
YQ
181172014-08-09 Yao Qi <yao@codesourcery.com>
18118
18119 PR testsuite/13443
18120 * gdb.mi/mi-var-display.exp: Make test messages unique.
18121
3cecbbbe
TT
181222014-08-04 Tom Tromey <tromey@redhat.com>
18123
18124 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18125 target 0".
18126
00b51ff5
TT
181272014-08-04 Tom Tromey <tromey@redhat.com>
18128
18129 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18130 "target_resume".
18131
6908c509
JB
181322014-08-01 Joel Brobecker <brobecker@adacore.com>
18133
18134 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18135 inner_vla_struct_object_size.
18136 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18137 as xfail.
18138
cc6563d2
PA
181392014-07-30 Pedro Alves <palves@redhat.com>
18140
18141 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18142 comment.
18143
7e09a223
YQ
181442014-07-29 Yao Qi <yao@codesourcery.com>
18145
18146 PR gdb/17206
18147 * gdb.base/until-nodebug.exp: New.
18148
7ebdbe92
DE
181492014-07-28 Doug Evans <xdje42@gmail.com>
18150
18151 PR guile/17203
18152 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18153 previously existing parameter, and previously ambiguously spelled
18154 parameter.
18155
fdb1adc6
WN
181562014-07-28 Will Newton <will.newton@linaro.org>
18157
18158 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18159
186fcde0
DE
181602014-07-26 Ludovic Courtès <ludo@gnu.org>
18161 Doug Evans <xdje42@gmail.com>
18162
18163 PR guile/17146
18164 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18165
70509625
PA
181662014-07-25 Pedro Alves <palves@redhat.com>
18167
18168 * gdb.threads/signal-command-handle-nopass.c: New file.
18169 * gdb.threads/signal-command-handle-nopass.exp: New file.
18170 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18171 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18172 * gdb.threads/signal-delivered-right-thread.c: New file.
18173 * gdb.threads/signal-delivered-right-thread.exp: New file.
18174
c3f814a1
PA
181752014-07-25 Pedro Alves <palves@redhat.com>
18176
18177 * gdb.base/double-prompt-target-event-error.exp
18178 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18179 match.
18180 (cancel_pagination_in_target_event): Rework double prompt
18181 detection.
18182 * gdb.base/paginate-after-ctrl-c-running.exp
18183 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18184 <return>' match.
18185 * gdb.base/paginate-bg-execution.exp
18186 (test_bg_execution_pagination_return)
18187 (test_bg_execution_pagination_cancel): Remove '-notransfer
18188 <return>' matches.
18189 * gdb.base/paginate-execution-startup.exp
18190 (test_fg_execution_pagination_return)
18191 (test_fg_execution_pagination_cancel): Remove '-notransfer
18192 <return>' matches.
18193 * gdb.base/paginate-inferior-exit.exp
18194 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18195 match.
18196 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18197 * lib/gdb.exp (pagination_prompt): Run text through
18198 string_to_regexp.
18199 (gdb_test_multiple): Match $pagination_prompt instead of
18200 "<return>".
18201 (string_to_regexp): Move to lib/gdb-utils.exp.
18202
e214cf6c
JK
182032014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18204
18205 * gdb.arch/amd64-entry-value-paramref.S: New file.
18206 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18207 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18208 * gdb.arch/amd64-optimout-repeat.S: New file.
18209 * gdb.arch/amd64-optimout-repeat.c: New file.
18210 * gdb.arch/amd64-optimout-repeat.exp: New file.
18211
17d0c5c8
JK
182122014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18213
18214 PR gdb/17170
18215 * gdb.base/statistics.exp: New file.
18216
b8b8facf
DE
182172014-07-17 Doug Evans <dje@google.com>
18218
74b49205 18219 PR gdb/17170
b8b8facf
DE
18220 * gdb.base/maint.exp: Update testing of per-command stats.
18221
1b5d0ab3
PA
182222014-07-16 Pedro Alves <palves@redhat.com>
18223
18224 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18225 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18226 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18227 (tfile_write_buf): New functions.
18228 (add_memory_block): Rewrite using the above.
18229 (adjust_function_address): New function.
18230 (FUNCTION_ADDRESS): New macro.
18231 (write_basic_trace_file): Remove short_x local, and use
18232 tfile_write_16. Change type of func_addr local to unsigned long
18233 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18234 here. Cast argument of add_memory_block to char pointer.
18235 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18236 (main): Remove parameters.
18237 * gdb.trace/tfile.exp: Remove nowarnings.
18238
4d974e88
SM
182392014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18240
18241 * gdb.base/debug-expr.exp: Test string evaluation with
18242 "debug expression" on.
18243
41e99568
PA
182442014-07-15 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.base/reread.exp: Use clean_restart.
18247
487d9753
PL
182482014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18249
18250 * gdb.arch/avr-flash-qualifer.c: New.
18251 * gdb.arch/avr-flash-qualifer.exp: New.
18252
cc1c52ad
PA
182532014-07-14 Pedro Alves <palves@redhat.com>
18254
18255 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18256 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18257
1e973570
PA
182582014-07-14 Pedro Alves <palves@redhat.com>
18259
18260 * gdb.base/double-prompt-target-event-error.c: New file.
18261 * gdb.base/double-prompt-target-event-error.exp: New file.
18262
93d6eb10
PA
182632014-07-14 Pedro Alves <palves@redhat.com>
18264
18265 PR gdb/17072
18266 * gdb.base/paginate-inferior-exit.c: New file.
18267 * gdb.base/paginate-inferior-exit.exp: New file.
18268
0017922d
PA
182692014-07-14 Pedro Alves <palves@redhat.com>
18270
18271 PR gdb/17072
18272 * gdb.base/paginate-bg-execution.c: New file.
18273 * gdb.base/paginate-bg-execution.exp: New file.
18274
94696ad3
PA
182752014-07-14 Pedro Alves <palves@redhat.com>
18276
18277 PR gdb/17072
18278 * gdb.base/paginate-execution-startup.c: New file.
18279 * gdb.base/paginate-execution-startup.exp: New file.
18280 * lib/gdb.exp (pagination_prompt): New global.
18281 (default_gdb_spawn): New procedure, factored out from
18282 default_gdb_spawn.
18283 (default_gdb_start): Adjust to call default_gdb_spawn.
18284 (gdb_spawn): New procedure.
18285
bd293940
PA
182862014-07-14 Pedro Alves <palves@redhat.com>
18287
18288 * lib/gdb.exp (gdb_assert): New procedure.
18289 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18290
c933f875
PA
182912014-07-14 Pedro Alves <palves@redhat.com>
18292
18293 * gdb.base/execution-termios.c: New file.
18294 * gdb.base/execution-termios.exp: New file.
18295
d98b7a16
TT
182962014-07-14 Tom Tromey <tromey@redhat.com>
18297
18298 * gdb.cp/vla-cxx.cc: New file.
18299 * gdb.cp/vla-cxx.exp: New file.
18300
548740d6
TT
183012014-07-14 Tom Tromey <tromey@redhat.com>
18302
18303 * gdb.reverse/rerun-prec.c: New file.
18304 * gdb.reverse/rerun-prec.exp: New file.
18305
a25eb028
MR
183062014-07-12 Maciej W. Rozycki <macro@mips.com>
18307 Maciej W. Rozycki <macro@codesourcery.com>
18308
18309 * lib/gdb-utils.exp: New file.
18310 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18311 inline `gdb_init_command' processing.
18312 (gdb_start_cmd): Likewise.
18313 * lib/mi-support.exp (mi_run_cmd): Likewise.
18314 * README: Document `gdb_init_command' and `gdb_init_commands'.
18315
218c2655
JK
183162014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18317
18318 Fix false FAIL running under a very long directory name.
18319 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18320 and "set print elements 10000". Twice.
18321
5401fde3
YQ
183222014-07-11 Yao Qi <yao@codesourcery.com>
18323
18324 * gdb.base/exprs.exp: "set print symbol off".
18325
e76126e8
PA
183262014-07-11 Pedro Alves <palves@redhat.com>
18327
18328 * gdb.threads/kill.c: New file.
18329 * gdb.threads/kill.exp: New file.
18330
2d6f0de6
YQ
183312014-07-10 Yao Qi <yao@codesourcery.com>
18332
18333 * gdb.trace/tfile.c (write_basic_trace_file)
18334 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18335 address written to trace file.
18336
7180e04a
PA
183372014-07-09 Pedro Alves <palves@redhat.com>
18338
18339 * gdb.base/attach-wait-input.exp: New file.
18340 * gdb.base/attach-wait-input.c: New file.
18341
9a9a7608
AB
183422014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18343
18344 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18345 setting up test structures.
18346 (main): Call new test function.
18347 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18348 test function, continue into test function and walk test
18349 structures.
18350
161ac41e
YQ
183512014-07-02 Yao Qi <yao@codesourcery.com>
18352
18353 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18354 'bar_start' at the beginning of functions 'foo' and 'bar'
18355 respectively.
18356 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18357 instead of 'foo' and 'bar'.
18358
1f267ae3
MM
183592014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18360
18361 * gdb.btrace/segv.exp: New.
18362 * gdb.btrace/segv.c: New.
18363
2b239efb
LM
183642014-07-02 Luis Machado <lgustavo@codesourcery.com>
18365
18366 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18367 instruction.
18368
cf363f18
MW
183692014-06-30 Mark Wielaard <mjw@redhat.com>
18370
18371 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18372 vulture, vilify, villar): New volatile array constants.
18373 (vindictive, vegetation): New const volatile array constants.
18374 * gdb.base/volatile.exp: Test volatile and const volatile array
18375 types.
18376
aebf9d24
AA
183772014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18378
18379 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18380 target lacks support for awatch, rwatch, or hbreak.
18381
b67a2c6f
YQ
183822014-06-27 Yao Qi <yao@codesourcery.com>
18383
18384 * gdb.multi/dummy-frame-restore.exp: New.
18385 * gdb.multi/dummy-frame-restore.c: New.
18386
aef92902
MM
183872014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18388
18389 * gdb.btrace/gcore.exp: New.
18390
8e9db26e
PA
183912014-06-23 Pedro Alves <palves@redhat.com>
18392
18393 * gdb.base/watchpoint-reuse-slot.c: New file.
18394 * gdb.base/watchpoint-reuse-slot.exp: New file.
18395
70afc5b7
SC
183962014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18397
18398 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18399 progspace's filename in 'info', 'enable' and 'disable' command
18400 tests.
18401
b972bd9c
JK
184022014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18403
18404 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18405 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18406 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18407
125f8a3d
GB
184082014-06-20 Gary Benson <gbenson@redhat.com>
18409
18410 * gdb.arch/i386-avx.exp: Fix include file location.
18411 * gdb.arch/i386-sse.exp: Likewise.
18412
3ed9baed
IB
184132014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18414
18415 * gdb.dlang/expression.exp: New file.
18416
034f788c
PA
184172014-06-19 Pedro Alves <palves@redhat.com>
18418
18419 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18420 out from ...
18421 (top level): ... here. Iterate running tests under different
18422 scheduler-locking settings.
18423
45371d0c
LM
184242014-06-18 Luis Machado <lgustavo@codesourcery.com>
18425
18426 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18427 to DW_FORM_addr and use non-zero addresses.
18428
5d376983
SC
184292014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18430
18431 PR gdb/17017
18432 * gdb.python/py-xmethods.cc: Add global function call counters and
18433 increment them in their respective functions. Remove "cout"
18434 statements.
18435 * gdb.python/py-xmethods.exp: Make tests check the global function
18436 call counters instead of depending on inferior IO.
18437
a1aa2221
LM
184382014-06-18 Don Breazeal <donb@codesourcery.com>
18439
18440 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18441 Deleted procedure.
18442 (explicit_fork_parent_follow): Deleted procedure.
18443 (explicit_fork_child_follow): Deleted procedure.
18444 (test_follow_fork): New procedure.
18445 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18446 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18447 procedure calls.
18448
0fc05997
YQ
184492014-06-17 Yao Qi <yao@codesourcery.com>
18450
18451 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18452 CP1252.
18453
70795c52
LM
184542014-06-17 Luis Machado <lgustavo@codesourcery.com>
18455
18456 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18457 Initialize ptr and S explicitly.
18458 (skip_type_update_when_not_use_rtti_test): Likewise.
18459
6be47f0c
KS
184602014-06-16 Keith Seitz <keiths@redhat.com>
18461
18462 PR mi/15863
18463 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18464 the inferior is started.
18465
d03de421
PA
184662014-06-16 Pedro Alves <palves@redhat.com>
18467
18468 * gdb.base/break-main-file-remove-fail.c: New file.
18469 * gdb.base/break-main-file-remove-fail.exp: New file.
18470 * gdb.base/break-unload-file.exp: Use build_executable instead of
18471 prepare_for_testing.
18472 (test_break): New parameter "initial_load". Handle it.
18473 (top level): Add initial_load cmdline/file axis.
18474
f9579b99
TT
184752014-06-12 Tom Tromey <tromey@redhat.com>
18476
18477 * gdb.base/completion.exp: Don't use directory name in test.
18478
3657956b
GB
184792014-06-09 Gary Benson <gbenson@redhat.com>
18480
18481 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18482 separate the always-available ANSI-standard signals from the
18483 signals that require checking.
18484 (main): Likewise.
18485 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18486 Likewise.
18487 (main): Likewise.
18488
4186eb54
KS
184892014-06-07 Keith Seitz <keiths@redhat.com>
18490
18491 Revert:
18492 PR c++/16253
18493 * gdb.cp/var-tag.cc: New file.
18494 * gdb.cp/var-tag.exp: New file.
18495 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18496 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18497 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18498 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18499
25326a28 185002014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18501
18502 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18503
829155c9
PA
185042014-06-06 Pedro Alves <palves@redhat.com>
18505
18506 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18507 in target debug output instead of looking at RSP packets,
18508 disabling the test on any target that uses hardware stepping.
18509 Update comments.
18510
61c8d22e
PA
185112014-06-06 Pedro Alves <palves@redhat.com>
18512
18513 * gdb.base/break-unload-file.exp: Fix typo.
18514
d9a47287
YQ
185152014-06-06 Yao Qi <yao@codesourcery.com>
18516
18517 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18518 from "jit_function" to "^jit_function".
18519
e5e01dbf
YQ
185202014-06-06 Yao Qi <yao@codesourcery.com>
18521
18522 * gdb.base/async.c (foo): Add one statement.
18523 * gdb.base/async.exp: Get the next instruction address and
18524 match the output of "nexti" by instruction address. Match
18525 the hex address in the output of "finish".
18526
73ba372c
GB
185272014-06-06 Gary Benson <gbenson@redhat.com>
18528
18529 * gdb.base/call-signals.c: Remove preprocessor conditionals
18530 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18531 SIGSEGV and SIGTERM.
18532 * gdb.base/sigall.c: Likewise.
18533 * gdb.base/unwindonsignal.c: Likewise.
18534 * gdb.reverse/sigall-reverse.c: Likewise.
18535
831517df
YQ
185362014-06-06 Yao Qi <yao@codesourcery.com>
18537
18538 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18539 readable, skip the test.
18540
b8b91e98
YQ
185412014-06-06 Yao Qi <yao@codesourcery.com>
18542
18543 * gdb.threads/staticthreads.c (thread_function): Move the line
18544 setting breakpoint on forward.
18545 * gdb.threads/staticthreads.exp: Update comments.
18546
fb934770
LC
185472014-06-05 Ludovic Courtès <ludo@gnu.org>
18548
18549 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18550 "history-append! type error".
18551
6ef284bd
SM
185522014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18553
18554 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18555 erroneous dprintf expected input.
18556
a872e241
DE
185572014-06-04 Doug Evans <xdje42@gmail.com>
18558
18559 * gdb.guile/scm-generics.exp: Delete.
18560
16f691fb
DE
185612014-06-04 Doug Evans <xdje42@gmail.com>
18562
18563 * gdb.guile/scm-breakpoint.exp: Update.
18564 Add tests for breakpoint registration.
18565
012370f6
TT
185662014-06-04 Tom Tromey <tromey@redhat.com>
18567
18568 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18569 VLA-in-union.
18570 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18571 inner_vla_struct, vla_union types. Initialize objects of those
18572 types and compute their sizes.
18573
9f5a4cef
HZ
185742014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18575 Hui Zhu <hui@codesourcery.com>
18576
18577 * gdb.base/fileio.exp: Add test for shell not available as well as
18578 available.
18579 * gdb.base/fileio.c (test_system): Check for shell twice.
18580
90a45c4d
YQ
185812014-06-04 Yao Qi <yao@codesourcery.com>
18582
18583 * gdb.base/auto-connect-native-target.exp: Remove redundant
18584 space from the regexp pattern.
18585
70017e41
YQ
185862014-06-04 Yao Qi <yao@codesourcery.com>
18587
18588 * gdb.base/default.exp: Replace "child" with "native" in
18589 regexp pattern.
18590
883964a7
SC
185912014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18592
18593 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18594 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18595 * gdb.python/py-xmethods.py: Python script supporting the
18596 new testcase and tests.
18597
ef370185
JB
185982014-06-03 Joel Brobecker <brobecker@adacore.com>
18599 Pedro Alves <palves@redhat.com>
18600
18601 PR breakpoints/17000
18602 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18603 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18604
1e2ccb61
BM
186052014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18606
18607 * gdb.base/subst.exp: Add tests to verify partial path matching
18608 output.
18609
c6ec5ab2
PA
186102014-06-03 Pedro Alves <palves@redhat.com>
18611
18612 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18613 target that doesn't use software single-stepping.
18614
835c559f
PA
186152014-06-03 Pedro Alves <palves@redhat.com>
18616
18617 PR breakpoints/17000
18618 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18619 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18620
06eb1586
DE
186212014-06-02 Doug Evans <xdje42@gmail.com>
18622
18623 * gdb.guile/scm-parameter.exp: New file.
18624
e698b8c4
DE
186252014-06-02 Doug Evans <xdje42@gmail.com>
18626
18627 * gdb.guile/scm-cmd.c: New file.
18628 * gdb.guile/scm-cmd.exp: New file.
18629
ded03782
DE
186302014-06-02 Doug Evans <xdje42@gmail.com>
18631
18632 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18633 pretty-printer lookup.
18634 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18635 (make-pp_s-printer): Call it.
18636 (make-pretty-printer-from-dict): New function.
18637 (lookup-pretty-printer-maker-from-dict): New function.
18638 (*pretty-printer*): Simplify.
18639 (make-objfile-pp_s-printer): New function.
18640 (install-objfile-pretty-printers!): New function.
18641 (make-progspace-pp_s-printer): New function.
18642 (install-progspace-pretty-printers!): New function.
18643 * gdb.guile/scm-progspace.c: New file.
18644 * gdb.guile/scm-progspace.exp: New file.
18645
41fac0cf
PA
186462014-06-02 Pedro Alves <palves@redhat.com>
18647
18648 * gdb.base/dprintf-bp-same-addr.c: New file.
18649 * gdb.base/dprintf-bp-same-addr.exp: New file.
18650
96ae5695
EBM
186512014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18652
18653 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18654 * gdb.arch/powerpc-power.s: Likewise.
18655
da02b3a8
JB
186562014-06-02 Joel Brobecker <brobecker@adacore.com>
18657
18658 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18659
c72b2e7b
YQ
186602014-06-01 Yao Qi <yao@codesourcery.com>
18661
18662 * gdb.base/watchpoint.exp (test_watch_location): Check null
18663 pointer can be dereferenced. If not, do the test, otherwise
18664 skip it.
18665
53e8a631
AB
186662014-05-30 Andrew Burgess <aburgess@broadcom.com>
18667
18668 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18669 results.
18670 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18671
938f0e2f
AB
186722014-05-30 Andrew Burgess <aburgess@broadcom.com>
18673
18674 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18675 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18676 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18677 * gdb.arch/amd64-invalid-stack-top.c: New file.
18678 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18679
9ba6657a
PA
186802014-05-30 Pedro Alves <palves@redhat.com>
18681
18682 PR breakpoints/17000
18683 * gdb.base/sss-bp-on-user-bp.c: New file.
18684 * gdb.base/sss-bp-on-user-bp.exp: New file.
18685
522c09bf
DB
186862014-05-30 David Blaikie <dblaikie@gmail.com>
18687
18688 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18689 gnu_inline semantics via attribute.
18690 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18691 source explicitly specifies the required semantics.
18692
bf4ef81e
MR
186932014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18694
18695 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18696
329ea579
PA
186972014-05-29 Pedro Alves <palves@redhat.com>
18698 Tom Tromey <tromey@redhat.com>
18699
18700 * gdb.base/async-shell.exp: Don't enable target-async.
18701 * gdb.base/async.exp
18702 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18703 parameter. Adjust.
18704 (top level): Don't test with "target-async".
18705 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18706 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18707 * gdb.base/inferior-died.exp: Don't enable target-async.
18708 * gdb.base/interrupt-noterm.exp: Likewise.
18709 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18710 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18711 * gdb.mi/mi-nonstop.exp: Likewise.
18712 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18713 * gdb.mi/mi-nsintrall.exp: Likewise.
18714 * gdb.mi/mi-nsmoribund.exp: Likewise.
18715 * gdb.mi/mi-nsthrexec.exp: Likewise.
18716 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18717 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18718 * gdb.python/py-evsignal.exp: Don't enable target-async.
18719 * gdb.python/py-evthreads.exp: Likewise.
18720 * gdb.python/py-prompt.exp: Likewise.
18721 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18722 * gdb.server/solib-list.exp: Don't enable target-async.
18723 * gdb.threads/thread-specific-bp.exp: Likewise.
18724 * lib/mi-support.exp: Adjust to use mi-async.
18725
fd664c91
PA
187262014-05-29 Pedro Alves <palves@redhat.com>
18727
18728 PR gdb/13860
18729 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18730 reason, even in sync mode.
18731
251bde03
PA
187322014-05-29 Pedro Alves <palves@redhat.com>
18733 Hui Zhu <hui@codesourcery.com>
18734
18735 PR PR15693
18736 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18737 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18738 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18739 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18740
7f3c0343
JB
187412014-05-28 Joel Brobecker <brobecker@adacore.com>
18742
18743 * config/monitor.exp (gdb_target_monitor): Replace use of
18744 "set remotebaud" by "set serial baud".
18745
b2715b27
AW
187462014-05-26 Andy Wingo <wingo@igalia.com>
18747
18748 * gdb.guile/scm-breakpoint.exp:
18749 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18750 properties instead of gdb-object-properties.
18751
498a4489
YQ
187522014-05-26 Yao Qi <yao@codesourcery.com>
18753
18754 * gdb.server/no-thread-db.exp: Specify source file name
18755 explicitly when setting a breakpoint.
18756
589fdceb
MM
187572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18758
18759 * gdb.btrace/vdso.c: New.
18760 * gdb.btrace/vdso.exp: New.
18761
e9089e05
MM
187622014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18763
18764 * gdb.base/gcore.exp (capture_command_output): Move ...
18765 * lib/gdb.exp (capture_command_output): ... here.
18766
67b5c0c1
MM
187672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18768
18769 * gdb.btrace/data.exp: Test memory access during btrace replay.
18770
a2199296
SM
187712014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18772
18773 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18774
17b2616c
PA
187752014-05-21 Pedro Alves <palves@redhat.com>
18776
18777 PR gdb/13860
18778 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18779 (top level): Test that output related to execution commands is
18780 sent to the console with CLI commands, but not with MI commands.
18781 Test that breakpoint events are always mirrored to the console.
18782 Also expect the new source line to be output after a "next" in
18783 async mode too. Make it a pass/fail test.
18784 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18785 output.
18786 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18787
5166082f
PA
187882014-05-21 Pedro Alves <palves@redhat.com>
18789
18790 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18791 Use them to test variations of "list" after reaching a breakpoint.
18792 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18793 Test "list" with listsize 10 after reaching a breakpoint.
18794 * gdb.python/python.exp (decode_line current location line
18795 number): Adjust expected line number.
18796
2f25d70f
SM
187972014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18798
18799 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18800 behavior for $args, pass it directly to "run".
18801
ff604a67
MR
188022014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18803
18804 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18805 30000 to 65536.
18806
6a3cb8e8
PA
188072014-05-21 Pedro Alves <palves@redhat.com>
18808
18809 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18810 auto-connect-native-target off".
18811 * gdb.base/auto-connect-native-target.c: New file.
18812 * gdb.base/auto-connect-native-target.exp: New file.
18813
4ebfc96e
PA
188142014-05-21 Pedro Alves <palves@redhat.com>
18815
18816 * gdb.base/default.exp: Test "target native" instead of "target
18817 child".
18818
36d46afb
MW
188192014-05-21 Mark Wielaard <mjw@redhat.com>
18820
18821 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18822
5876f503
JK
188232014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18824
18825 Fix TLS access for -static -pthread.
18826 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18827 <HAVE_TLS> (thread_function, main): Initialize it.
18828 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18829 Add clean_restart.
18830 <$have_tls != "">: Check TLSVAR.
18831
0256a6ac
PA
188322014-05-21 Pedro Alves <palves@redhat.com>
18833
18834 * gdb.base/dcache-line-read-error.c: New.
18835 * gdb.base/dcache-line-read-error.exp: New.
18836
936d2992
PA
188372014-05-20 Pedro Alves <palves@redhat.com>
18838
18839 * gdb.base/compare-sections.c: New file.
18840 * gdb.base/compare-sections.exp: New file.
18841
802e8e6d
PA
188422014-05-20 Pedro Alves <palves@redhat.com>
18843
18844 * gdb.base/break-idempotent.c: New file.
18845 * gdb.base/break-idempotent.exp: New file.
18846
e59fa00f
MM
188472014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18848
18849 * gdb.btrace/nohist.exp: New.
18850
8b696e31
YQ
188512014-05-20 Yao Qi <yao@codesourcery.com>
18852
18853 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18854 gdb.reverse directory and gdb_reverse_timeout exists in board
18855 setting.
18856 * README: Document gdb_reverse_timeout.
18857
73c9764f
YQ
188582014-05-20 Yao Qi <yao@codesourcery.com>
18859
18860 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18861 'test_file_name'. Treat args as a string instead of a list.
18862 (gdb_init): Rename argument 'args' by 'test_file_name'.
18863
f1f4348a
JK
188642014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18865
18866 * gdb.arch/powerpc-power.exp: New file.
18867 * gdb.arch/powerpc-power.s: New file.
18868
0dbe70ce
DE
188692014-05-16 Doug Evans <dje@google.com>
18870
18871 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18872 * gdb.base/completion.exp: Check that all expected files exist
18873 before doing file completion.
0dbe70ce 18874
8d551b02
DE
188752014-05-16 Doug Evans <dje@google.com>
18876
18877 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18878 Update.
18879 (do_syscall_tests_without_xml): Update.
18880
73eb7709
PA
188812014-05-16 Pedro Alves <palves@redhat.com>
18882
18883 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18884 instead of "unknown output after running".
18885
3fae92fc
YQ
188862014-05-16 Yao Qi <yao@codesourcery.com>
18887
18888 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18889 file1.txt from host at the end.
18890 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18891
c2b2ccc5
DE
188922014-05-15 Doug Evans <dje@google.com>
18893
18894 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18895 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18896 loading file. Add test for TU lookup.
18897
8c217a4b
SM
188982014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18899
18900 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18901 calling "-exec-arguments" or "set args" before running the
18902 inferior.
18903
3deb39c6
SM
189042014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18905
18906 * lib/mi-support.exp (mi_expect_stop): Expect message for
18907 inferiors that exit with non-zero exit code.
18908
71a79f8c
YQ
189092014-05-14 Yao Qi <yao@codesourcery.com>
18910
18911 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18912 match absolute path on remote host.
18913 (test_file_list_exec_source_files): Remove "/" from the
18914 pattern.
18915
f23fcd46
YQ
189162014-05-14 Yao Qi <yao@codesourcery.com>
18917
18918 * boards/local-remote-host-notty.exp (${board}_file): New
18919 proc.
18920
9404b58f
KM
189212014-05-07 Kyle McMartin <kyle@redhat.com>
18922
18923 Pushed by Joel Brobecker <brobecker@adacore.com>.
18924 * gdb.arch/aarch64-atomic-inst.c: New file.
18925 * gdb.arch/aarch64-atomic-inst.exp: New file.
18926
5e45f04c
YQ
189272014-05-07 Yao Qi <yao@codesourcery.com>
18928
18929 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18930 in current context" too.
18931
c888a17d
KS
189322014-05-05 Keith Seitz <keiths@redhat.com>
18933
18934 * gdb.linespec/ls-dollar.exp: Add test for linespec
18935 file:convenience_variable.
18936
290a839c
YQ
189372014-05-05 Yao Qi <yao@codesourcery.com>
18938
18939 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18940 traceframes into tfile and ctf trace files. Read data from
18941 trace file and test collected data.
18942 (gdb_collect_locals_test): Likewise.
18943 (gdb_unavailable_registers_test): Likewise.
18944 (gdb_unavailable_floats): Likewise.
18945 (gdb_collect_globals_test): Likewise.
18946 (top-level): Append "ctf" to trace_file_targets if GDB
18947 supports.
18948
b5262cd0
YQ
189492014-05-05 Yao Qi <yao@codesourcery.com>
18950
18951 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18952 code to ...
18953 (gdb_collect_args_test_1): ... it. New proc.
18954 (gdb_collect_locals_test): Move some code to ...
18955 (gdb_collect_locals_test_1): ... it. New proc.
18956 (gdb_unavailable_registers_test): Move some code to ...
18957 (gdb_unavailable_registers_test_1): ... it. New proc.
18958 (gdb_unavailable_floats): Move some code to ...
18959 (gdb_unavailable_floats_1): ... it. New proc.
18960
30a1e6cc
SDJ
189612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18962
18963 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18964 probes to test for bitness recognition.
18965 * gdb.arch/amd64-stap-optional-prefix.exp
18966 (test_probe_value_without_reg): New procedure.
18967 Add code to test for different kinds of bitness.
18968
f33da99a
SDJ
189692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18970
18971 PR breakpoints/16889
18972 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18973 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18974
5b80f00d
PA
189752014-05-01 Pedro Alves <palves@redhat.com>
18976
18977 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18978 gdb_file_cmd if no file is specified.
18979 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18980 last_loaded_file to set the remote exec-file.
18981
f8c2a73c
PA
189822014-05-01 Pedro Alves <palves@redhat.com>
18983
18984 * boards/local-remote-host.exp: New file.
18985
be6e8ac7
PA
189862014-05-01 Pedro Alves <palves@redhat.com>
18987
18988 * boards/local-remote-host.exp: Rename to ...
18989 * boards/local-remote-host-notty.exp: ... this.
18990
cac0dc8f
JB
189912014-04-28 Joel Brobecker <brobecker@adacore.com>
18992
18993 * gdb.ada/dyn_arrayidx: New testcase.
18994
9730e6cc
YQ
189952014-04-26 Yao Qi <yao@codesourcery.com>
18996
18997 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18998 and compute the length of function main. Save it in
18999 $main_length.
19000 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19001 (top-level): Use gdb_compile to compile objects into
19002 executable and restart GDB. Remove invocation to
19003 prepare_for_testing.
19004
7ae1a6a6
PA
190052014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19006 Pedro Alves <palves@redhat.com>
19007
19008 PR server/16255
19009 * gdb.multi/multi-attach.c: New file.
19010 * gdb.multi/multi-attach.exp: New file.
19011
4082afcc
PA
190122014-04-25 Pedro Alves <palves@redhat.com>
19013
19014 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19015 user.
19016 (top level): Test that "set remote conditional-breakpoints-packet
19017 off" works as intended.
19018 * gdb.base/dprintf.exp: Test that "set remote
19019 breakpoint-commands-packet off" works as intended.
19020 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19021 New function.
19022 (top level): Call it.
19023 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19024 remote fast-tracepoints-packet off" works as intended.
19025 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19026 * lib/gdb.exp (gdb_is_target_remote): ... here.
19027
2abc3f8d
DB
190282014-04-24 David Blaikie <dblaikie@gmail.com>
19029
19030 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19031 ensure clang would not discard them.
19032 * gdb.base/gdbvars.c: Ditto.
19033 * gdb.base/memattr.c: Ditto.
19034 * gdb.base/whatis.c: Ditto.
19035 * gdb.python/py-prettyprint.c: Ditto.
19036 * gdb.trace/actions.c: Ditto.
19037 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19038 ensure clang would not discard it.
19039
bfd39632
DB
190402014-04-24 David Blaikie <dblaikie@gmail.com>
19041
19042 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19043 clang to emit the full definition of type required by the test
19044 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19045
22842ff6
DB
190462014-04-24 David Blaikie <dblaikie@gmail.com>
19047
19048 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19049 coax Clang into emitting the definition of the type.
19050 * gdb.cp/pr10728-x.h (y): Ditto.
19051 * gdb.cp/pr10728-y.cc (y): Ditto.
19052
c2e827ad
DB
190532014-04-24 David Blaikie <dblaikie@gmail.com>
19054
19055 * gdb.base/label.exp: XFAIL label related tests under Clang.
19056 * gdb.cp/cplabel.exp: Ditto.
19057 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19058 under Clang those using labels.
19059
4c2d33e7
YQ
190602014-04-25 Yao Qi <yao@codesourcery.com>
19061
19062 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19063 double_label.
19064 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19065 partial_label and double_label.
19066
56083b99
DB
190672014-04-24 David Blaikie <dblaikie@gmail.com>
19068
19069 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19070
25d4e99d
DB
190712014-04-24 David Blaikie <dblaikie@gmail.com>
19072
19073 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19074 of the function to work across GCC and Clang.
19075 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19076 pointer types (const void ** const V void **).
19077
01f9f808
MS
190782014-04-24 Michael Sturm <michael.sturm@mintel.com>
19079 Walfred Tedeschi <walfred.tedeschi@intel.com>
19080
19081 * Makefile.in (EXECUTABLES): Added i386-avx512.
19082 * gdb.arch/i386-avx512.c: New file.
19083 * gdb.arch/i386-avx512.exp: Likewise.
19084
4b48d439
KS
190852014-04-23 Keith Seitz <keiths@redhat.com>
19086
19087 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19088 (mi_make_breakpoint_table): New procedure.
19089 (mi_create_breakpoint): Use mi_make_breakpoint
19090 and return the result.
19091 (mi_make_breakpoint): New procedure.
19092 (mi_build_kv_pairs): New procedure.
19093
19094 * gdb.mi/mi-break.exp: Remove unused globals,
19095 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19096 All callers updated.
19097 * gdb.mi/mi-dprintf.exp: Use variable to track command
19098 number.
19099 Update all callers of mi_create_breakpoint and use
19100 mi_make_breakpoint_table.
19101 Remove any unused global variables.
19102 * gdb.mi/mi-nonstop.exp: Likewise.
19103 * gdb.mi/mi-nsintrall.exp: Likewise.
19104 * gdb.mi/mi-nsmoribund.exp: Likewise.
19105 * gdb.mi/mi-nsthrexec.exp: Likewise.
19106 * gdb.mi/mi-reverse.exp: Likewise.
19107 * gdb.mi/mi-simplerun.exp: Likewise.
19108 * gdb.mi/mi-stepn.exp: Likewise.
19109 * gdb.mi/mi-syn-frame.exp: Likewise.
19110 * gdb.mi/mi-until.exp: Likewise.
19111 * gdb.mi/mi-var-cp.exp: Likewise.
19112 * gdb.mi/mi-var-display.exp: Likewise.
19113 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19114 * gdb.mi/mi2-var-child.exp: Likewise.
19115 * gdb.mi/mi-vla-c99.exp: Likewise.
19116 * lib/mi-support.exp: Likewise.
19117
19118 From Ian Lance Taylor <iant@cygnus.com>:
19119 * lib/gdb.exp (parse_args): New procedure.
19120
08351840
PA
191212014-04-23 Pedro Alves <palves@redhat.com>
19122
19123 * gdb.base/break-unload-file.c: New file.
19124 * gdb.base/break-unload-file.exp: New file.
19125 * gdb.base/sym-file-lib.c (baz): New function.
19126 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19127 field.
19128 (load): Store the segment's mapped size.
19129 (unload): New function.
19130 (unload_shlib): New function.
19131 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19132 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19133 set a breakpoint at baz, and call it.
19134 * gdb.base/sym-file.exp: New tests for stale breakpoint
19135 instructions.
19136
076855f9
PA
191372014-04-23 Pedro Alves <palves@redhat.com>
19138
19139 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19140 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19141 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19142 * gdb.base/hbreak-unmapped.c: New file.
19143 * gdb.base/hbreak-unmapped.exp: New file.
19144 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19145 * lib/gdb.exp (gdb_is_target_remote): ... here.
19146
483805cf
PA
191472014-04-22 Pedro Alves <palves@redhat.com>
19148
19149 * gdb.base/consecutive-step-over.c: New file.
19150 * gdb.base/consecutive-step-over.exp: New file.
19151
06d97543
PA
191522014-04-22 Pedro Alves <palves@redhat.com>
19153
19154 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19155 instead of send_gdb/gdb_expect.
19156
b4429ea2
YQ
191572014-04-22 Yao Qi <yao@codesourcery.com>
19158
19159 * lib/trace-support.exp (generate_tracefile): New procedure.
19160 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19161 return 0.
19162 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19163 if generate_tracefile returns 1.
19164
51d48146
PA
191652014-04-18 Tom Tromey <palves@redhat.com>
19166 Pedro alves <tromey@redhat.com>
19167
19168 PR backtrace/15558
19169 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19170 with a backtrace limit.
19171 * gdb.python/py-frame-inline.exp: Test running to an inline
19172 function with a backtrace limit, and printing the newest frame.
19173 * gdb.python/py-frame-inline.c (main): Call f.
19174
bd1dce5f
MS
191752014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19176
19177 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19178
40d1a503
MS
191792014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19180
19181 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19182 Drop prefix from unsupported source file path.
19183
389b98f7
YQ
191842014-04-17 Yao Qi <yao@codesourcery.com>
19185
19186 * lib/gdb.exp (with_target_charset): New proc.
19187 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19188 with_target_charset.
19189 (test_print_strings): Likewise.
19190 (test_repeat_bytes): Likewise.
19191 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19192 for some tests.
19193
22869d73
KS
191942014-04-16 Keith Seitz <keiths@redhat.com>
19195
19196 PR gdb/15827
19197 * gdb.dwarf2/corrupt.c: New file.
19198 * gdb.dwarf2/corrupt.exp: New file.
19199
c4f87ca6
KS
192002014-04-16 Keith Seitz <keiths@redhat.com>
19201
19202 PR c++/16597
19203 * gdb.cp/namelessclass.cc: New file.
19204 * gdb.cp/namelessclass.exp: New file.
19205 * gdb.cp/namelessclass.S: New file.
19206
ab19de87
DE
192072014-04-16 Doug Evans <dje@google.com>
19208
19209 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19210 Add comment.
19211 (gdbserver_default_get_comm_port): New function.
19212 (gdbserver_start): Check if board file provided
19213 "gdbserver,get_comm_port" and use it if so.
19214 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19215 (gdb,socketport): Set to "stdio".
19216 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19217 (stdio_gdbserver_template): Delete.
19218 (${board}_get_remote_address): Update.
19219 (${board}_build_remote_cmd): Delete.
19220 (${board}_get_comm_port): New function.
19221 (${board}_spawn): Update.
19222 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19223 Delete.
19224 (${board}_get_remote_address): Update.
19225 (${board}_get_comm_port): New function.
19226
fc98a809
AB
192272014-04-16 Andrew Burgess <aburgess@broadcom.com>
19228
19229 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19230 appearing in any order.
19231
87fd9e6e
DE
192322014-04-15 Doug Evans <dje@google.com>
19233
19234 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19235 uninitialized value of "description".
19236
099fc3ea
KS
192372014-04-15 Keith Seitz <keiths@redhat.com>
19238
19239 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19240 Remove unused globals.
19241 (test_running_the_program): Likewise.
19242 (test_controlled_execution): Likewise.
19243 (test_controlling_breakpoints): Likewise.
19244 (test_program_termination): Likewise.
19245
5da151d4
KS
192462014-04-15 Keith Seitz <keiths@redhat.com>
19247
19248 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19249 unused globals.
19250 (test_rbreak_creation_and_listing): Likewise.
19251 (test_ignore_count): Likewise.
19252 (test_error): Likewise.
19253
35e5d2f0
PA
192542014-04-15 Pedro Alves <palves@redhat.com>
19255
19256 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19257 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19258 sym-file-loader.c.
19259 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19260 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19261 to sym-file-loader.c.
19262 (struct library): Forward declare.
19263 (load_shlib, lookup_function): Change prototypes.
19264 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19265 (translate_offset): Remove declarations.
19266 (get_text_addr): New declaration.
19267 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19268 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19269 sym-file-loader.h.
19270 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19271 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19272 here from sym-file-loader.h.
19273 (struct library): New structure.
19274 (load_shlib, lookup_function): Change prototypes and adjust to
19275 work with a struct library.
19276 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19277 (translate_offset): Make static.
19278 (get_text_addr): New function.
19279 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19280
eb4c1710
PA
192812014-04-15 Pedro Alves <palves@redhat.com>
19282
19283 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19284
2d1baf52
PA
192852014-04-15 Pedro Alves <palves@redhat.com>
19286
19287 * gdb.base/sym-file-loader.c: Include <limits.h>.
19288 (SELF_LINK): New define.
19289 (get_origin): New function.
19290 (load_shlib): Use it.
19291 * gdb.base/sym-file.exp: Don't early return if the target is
19292 remote. Use runto_main, and issue fail is that fails. Use
19293 gdb_load_shlibs.
19294 (shlib_name): Delete.
19295 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19296
7dd6df01
PA
192972014-04-15 Pedro Alves <palves@redhat.com>
19298
19299 * gdb.base/sym-file.exp: Remove regex characters from test
19300 message. Don't refer to breakpoint numbers in test messages.
19301
b50c8614
KS
193022014-04-14 Keith Seitz <keiths@redhat.com>
19303
19304 PR c++/16253
19305 * gdb.cp/var-tag.cc: New file.
19306 * gdb.cp/var-tag.exp: New file.
19307 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19308 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19309 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19310 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19311
3d567982
TT
193122014-04-14 Tom Tromey <tromey@redhat.com>
19313
19314 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19315 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19316 type.
19317 * gdb.cp/enum-class.exp: New file.
19318 * gdb.cp/enum-class.cc: New file.
19319
0626fc76
TT
193202014-04-14 Tom Tromey <tromey@redhat.com>
19321
19322 * gdb.dwarf2/enum-type.exp: New file.
19323
dca325b3
SA
193242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19325
19326 * gdb.mi/mi-vla-c99.exp: New file.
19327 * gdb.mi/vla.c: New file.
19328
5854b38a
SA
193292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19330
19331 * gdb.base/vla-datatypes.c: New file.
19332 * gdb.base/vla-datatypes.exp: New file.
19333
463bb957
SA
193342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19335
19336 * gdb.base/vla-ptr.c: New file.
19337 * gdb.base/vla-ptr.exp: New file.
19338
3dd170be
SA
193392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19340
19341 * gdb.dwarf2/count.exp: New file.
19342
5ecaaa66
SA
193432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19344
19345 * gdb.base/vla-sideeffect.c: New file.
19346 * gdb.base/vla-sideeffect.exp: New file.
19347
41f1ada5
DB
193482014-04-14 David Blaikie <dblaikie@gmail.com>
19349
19350 * gdb.mi/non-stop.c: Add return value for non-void function return
19351 statement.
19352 * gdb.threads/staticthreads.c: Ditto.
19353
0be03e84
DE
193542014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19355 Doug Evans <xdje42@gmail.com>
19356
19357 * gdb.guile/scm-value.c: Improve test case.
19358 * gdb.guile/scm-value.exp: Add new test.
19359
f180a1fb
DB
193602014-04-11 David Blaikie <dblaikie@gmail.com>
19361
19362 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19363 override Clang's default.
19364
6b662e19
JB
193652014-04-11 Joel Brobecker <brobecker@adacore.com>
19366
19367 Revert the following changes (regressions):
19368
19369 * gdb.base/vla-sideeffect.c: New file.
19370 * gdb.base/vla-sideeffect.exp: New file.
19371
19372 * gdb.dwarf2/count.exp: New file.
19373
19374 * gdb.base/vla-multi.c: New file.
19375 * gdb.base/vla-multi.exp: New file.
19376
19377 * gdb.base/vla-ptr.c: New file.
19378 * gdb.base/vla-ptr.exp: New file.
19379
19380 * gdb.base/vla-datatypes.c: New file.
19381 * gdb.base/vla-datatypes.exp: New file.
19382
19383 * gdb.mi/mi-vla-c99.exp: New file.
19384 * gdb.mi/vla.c: New file.
19385
245a5f0b
KS
193862014-04-11 Keith Seitz <keiths@redhat.com>
19387
19388 PR c++/16675
19389 * gdb.cp/cpsizeof.exp: New file.
19390 * gdb.cp/cpsizeof.cc: New file.
19391
58a84dcf
SA
193922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19393
191a8a90
JB
19394 * gdb.mi/mi-vla-c99.exp: New file.
19395 * gdb.mi/vla.c: New file.
58a84dcf 19396
c8655f75
SA
193972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19398
19399 * gdb.base/vla-datatypes.c: New file.
19400 * gdb.base/vla-datatypes.exp: New file.
19401
024e13b4
SA
194022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19403
19404 * gdb.base/vla-ptr.c: New file.
19405 * gdb.base/vla-ptr.exp: New file.
19406
1a237e0e
SA
194072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19408
19409 * gdb.base/vla-multi.c: New file.
19410 * gdb.base/vla-multi.exp: New file.
19411
504f3432
SA
194122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19413
19414 * gdb.dwarf2/count.exp: New file.
19415
3bce8237
SA
194162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19417
191a8a90
JB
19418 * gdb.base/vla-sideeffect.c: New file.
19419 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19420
322f9c21
YQ
194212014-04-11 Yao Qi <yao@codesourcery.com>
19422
19423 * gdb.base/completion.exp: Check file exists before running tests
19424 on file completion.
19425
d708bcd1
PA
194262014-04-10 Pedro Alves <palves@redhat.com>
19427
19428 * gdb.base/cond-eval-mode.c: New file.
19429 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19430 prepare_for_testing to build the new file. Check result of
19431 runto_main.
19432 (test_break, test_watch): New procedures.
19433 (top level): Use them.
19434
ae1d2761
PM
194352014-04-08 Pierre Muller <muller@sourceware.org>
19436
19437 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19438 Ctrl-V use for mingw hosts.
19439
7af389b8
SC
194402014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19441
19442 * gdb.python/py-value.c: Improve test case.
19443 * gdb.python/py-value.exp: Add new test.
19444
5e703181
DE
194452014-04-07 David Blaikie <dblaikie@gmail.com>
19446
19447 * lib/compiler.c: Identify the clang compiler.
19448 * lib/compiler.cc: Ditto.
19449
9810b410
YQ
194502014-04-03 Yao Qi <yao@codesourcery.com>
19451
19452 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19453
98d1b8dc
AB
194542014-04-01 Anton Blanchard <anton@samba.org>
19455
19456 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19457 messages unique.
19458
3114cea1
AB
194592014-04-01 Anton Blanchard <anton@samba.org>
19460
19461 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19462 prepare_for_testing.
19463
62f7182c
AB
194642014-04-01 Anton Blanchard <anton@samba.org>
19465
19466 * gdb.arch/ppc64-atomic-inst.c: Remove.
19467 * gdb.arch/ppc64-atomic-inst.S: New file.
19468 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19469
770e7fc7
DE
194702014-03-31 Doug Evans <dje@google.com>
19471
19472 * gdb.base/print-symbol-loading-lib.c: New file.
19473 * gdb.base/print-symbol-loading-main.c: New file.
19474 * gdb.base/print-symbol-loading.exp: New file.
19475
46e2bafa
YQ
194762014-03-31 Yao Qi <yao@codesourcery.com>
19477
19478 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19479
8776cfe9
JB
194802014-03-28 Joel Brobecker <brobecker@adacore.com>
19481
19482 * gdb.ada/mi_dyn_arr: New testcase.
19483
5d1ef361
DE
194842014-03-27 Doug Evans <dje@google.com>
19485
19486 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19487
b5bee914
YQ
194882014-03-27 Yao Qi <yao@codesourcery.com>
19489
19490 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19491 if target is nios2-*-*.
19492
0d4d0e77
YQ
194932014-03-26 Yao Qi <yao@codesourcery.com>
19494
19495 * lib/gdb.exp (readline_is_used): New proc.
19496 * gdb.base/completion.exp: Move tests on command complete up.
19497 Skip the rest of tests if readline is not used.
19498 * gdb.ada/complete.exp: Skp the test if readline is not
19499 used.
19500 * gdb.base/filesym.exp: Likewise.
19501 * gdb.base/macscp.exp: Likewise.
19502 * gdb.base/readline-ask.exp: Likewise.
19503 * gdb.base/readline.exp: Likewise.
19504 * gdb.python/py-cmd.exp: Likewise.
19505 * gdb.trace/tfile.exp: Likewise.
19506
29361eee
YQ
195072014-03-26 Yao Qi <yao@codesourcery.com>
19508
19509 * gdb.base/macscp.exp: Fix code format issues.
19510
bc9a5525
UW
195112014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19512
19513 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19514 * gdb.asm/powerpc64le.inc: New file.
19515
d3839ede
PA
195162014-03-25 Pedro Alves <palves@redhat.com>
19517 Doug Evans <dje@google.com>
19518
19519 * gdb.base/source-execution.c: New file.
19520 * gdb.base/source-execution.exp: New file.
19521 * gdb.base/source-execution.gdb: New file.
19522
01672a57
DE
195232014-03-24 Doug Evans <dje@google.com>
19524
19525 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19526 using fission.
19527
88bbeca9
HZ
195282014-03-24 Hui Zhu <hui@codesourcery.com>
19529 Pedro Alves <palves@redhat.com>
19530
19531 PR breakpoints/16101
19532 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19533 test pass/fail messages. Detect missing support for dprintf when
19534 breakpoints are actually inserted.
19535 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19536 breakpoints are actually inserted.
19537 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19538 fails.
19539
d2348791
JK
195402014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19541
19542 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19543
feef67ab
DE
195442014-03-22 Doug Evans <xdje42@gmail.com>
19545
19546 * gdb.python/python.exp (python not supported): Verify multi-line
19547 python command issues an error.
25d743f9 19548 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19549 guile command issues an error.
feef67ab 19550
ecebef6a
MR
195512014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19552
19553 * gdb.threads/thread-specific.exp: Handle the lack of usable
19554 $this_breakpoint and $this_thread.
19555
ccdd1909
HZ
195562014-03-21 Hui Zhu <hui@codesourcery.com>
19557
19558 * gdb.base/attach.exp (do_command_attach_tests): New.
19559
beb460e8
PA
195602014-03-20 Tom Tromey <tromey@redhat.com>
19561 Pedro Alves <palves@redhat.com>
19562
19563 PR cli/15718
19564 * gdb.base/condbreak-call-false.c: New file.
19565 * gdb.base/condbreak-call-false.exp: New file.
19566
40acf43a
PA
195672014-03-20 Pedro Alves <palves@redhat.com>
19568
19569 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19570 Delete.
19571 (block_signals, unblock_signals): Delete.
19572 (child_function_2, main): Remove references to deleted variable
19573 and functions.
19574
9f5e1e02
PA
195752014-03-20 Pedro Alves <palves@redhat.com>
19576
19577 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19578 Use pthread_kill to signal thread 2.
19579 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19580 Adjust to make the test send itself a signal rather than using the
19581 host's "kill" command.
19582
99619bea
PA
195832014-03-20 Pedro Alves <palves@redhat.com>
19584
19585 * gdb.threads/multiple-step-overs.c: New file.
19586 * gdb.threads/multiple-step-overs.exp: New file.
19587 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19588 Adjust expected infrun debug output.
19589
2adfaa28
PA
195902014-03-20 Pedro Alves <palves@redhat.com>
19591
19592 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19593 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19594
31e77af2
PA
195952014-03-20 Pedro Alves <palves@redhat.com>
19596
19597 PR breakpoints/7143
19598 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19599 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19600 of gdb_test_multiple.
19601 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19602 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19603
b9f437de
PA
196042014-03-20 Pedro Alves <palves@redhat.com>
19605
19606 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19607 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19608
05adc73e
PA
196092014-03-19 Pedro Alves <palves@redhat.com>
19610
19611 * gdb.base/async.exp: Remove early return.
19612
6048b950
PA
196132014-03-19 Pedro Alves <palves@redhat.com>
19614
19615 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19616
8bcfb00a
PA
196172014-03-19 Pedro Alves <palves@redhat.com>
19618
19619 * gdb.base/async.exp (test_background): Expect \r\n after
19620 "completed." in the fail pattern.
19621
884e37dc
PA
196222014-03-19 Pedro Alves <palves@redhat.com>
19623
19624 * gdb.base/async.exp (test_background): New procedure.
19625 Use it for all background execution command tests.
19626
148e57e2
PA
196272014-03-19 Pedro Alves <palves@redhat.com>
19628
19629 * gdb.base/async.exp: Use prepare_for_testing.
19630
f48088c7
PA
196312014-03-19 Pedro Alves <palves@redhat.com>
19632
19633 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19634 the same line.
19635
e2f6c966
PA
196362014-03-19 Pedro Alves <palves@redhat.com>
19637
19638 * gdb.base/async.c (main): Add "jump here" and "until here" line
19639 marker comments.
19640 * gdb.base/async.exp (jump_here): New global.
19641 (jump& test): Use it.
19642 (until_here): New global.
19643 (until& test): Use it.
19644
c30568d4
PA
196452014-03-19 Pedro Alves <palves@redhat.com>
19646
19647 * gdb.base/async.exp: Don't frob gdb_protocol.
19648
0172b6a7
DE
196492014-03-18 Doug Evans <xdje42@gmail.com>
19650
19651 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19652 Fix spelling of exec-done-display.
19653
06c868a8
JK
196542014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19655
19656 PR gdb/15358
19657 * gdb.base/gdb-sigterm.c: New file.
19658 * gdb.base/gdb-sigterm.exp: New file.
19659
0c7e1a46
PA
196602014-03-18 Pedro Alves <palves@redhat.com>
19661
19662 PR gdb/13860
19663 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19664 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19665 solib-event.
19666
f7c77d93
JB
196672014-03-17 Joel Brobecker <brobecker@adacore.com>
19668
19669 * gdb.ada/pckd_arr_ren: New testcase.
19670
5a1e8c7a
DE
196712014-03-13 Doug Evans <xdje42@gmail.com>
19672
19673 PR guile/16612
19674 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19675 collect after discarding symbols.
19676
350e1a76
DE
196772014-03-13 Ludovic Courtès <ludo@gnu.org>
19678 Doug Evans <xdje42@gmail.com>
19679
19680 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19681 to history survives a gc.
19682
a69900ae
PA
196832014-03-13 Pedro Alves <palves@redhat.com>
19684
19685 * gdb.base/default.exp: Don't test "target procfs".
19686
5db9f0bd
PA
196872014-03-13 Pedro Alves <palves@redhat.com>
19688
19689 * gdb.base/default.exp: Update "target child" and "target procfs"
19690 tests to not expect "Unix".
19691
b3ccfe11
TT
196922014-03-12 Tom Tromey <tromey@redhat.com>
19693
19694 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19695 New procs. Add target-async tests.
19696 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19697 Add target-async tests.
19698
646f4417
AA
196992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19700
19701 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19702 'func_start' and 'func_end' for the beginning and end of the
19703 function code, respectively.
19704 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19705 'func_end' instead of 'func' and 'main'.
19706
288c211f
AA
197072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19708
19709 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19710 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19711 generate the debug info assembler source.
19712
e0c0f156
AA
197132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19714
19715 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19716 * gdb.dwarf2/arr-subrange.exp: Likewise.
19717 * gdb.dwarf2/dwz.exp: Likewise.
19718 * gdb.dwarf2/method-ptr.exp: Likewise.
19719 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19720 * gdb.dwarf2/subrange.exp: Likewise.
19721 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19722 * gdb.dwarf2/implptrpiece.exp: Likewise.
19723 * gdb.dwarf2/nostaticblock.exp: Likewise.
19724
0e5c4555
AA
197252014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19726
19727 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19728 directory to absolute path name arguments.
19729
5ec18f2b
JG
197302014-03-10 Joel Brobecker <brobecker@adacore.com>
19731
19732 * gdb.ada/tagged_access: New testcase.
19733
847fc4f2
MM
197342014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19735
19736 * gdb.btrace/data.exp: Update expected output.
19737
cc3da688
YQ
197382014-03-06 Yao Qi <yao@codesourcery.com>
19739
19740 * gdb.trace/pr16508.exp: New file.
19741
0f26cec1
PA
197422014-03-05 Pedro Alves <palves@redhat.com>
19743
19744 PR gdb/16575
19745 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19746 procedure.
19747 (top level): Adjust to use it. Add tests that exercise breakpoint
19748 interaction with the code-cache.
19749
7a5a839f
LC
197502014-02-26 Ludovic Courtès <ludo@gnu.org>
19751
19752 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19753 test for 'history-append!'.
19754
31aa7e4e
JB
197552014-02-26 Joel Brobecker <brobecker@adacore.com>
19756
19757 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19758 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19759 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19760 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19761 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19762 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19763
1b588015
JB
197642014-02-26 Joel Brobecker <brobecker@adacore.com>
19765
19766 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19767 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19768 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19769
55426c9d
JB
197702014-02-26 Joel Brobecker <brobecker@adacore.com>
19771
19772 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19773
dc53a7ad
JB
197742014-02-26 Joel Brobecker <brobecker@adacore.com>
19775
19776 * gdb.dwarf2/arr-stride.c: New file.
19777 * gdb.dwarf2/arr-stride.exp: New file.
19778
12ab52e9
PA
197792014-02-26 Pedro Alves <palves@redhat.com>
19780
19781 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19782 that won't ever trigger. Make sure that GDB reports the correct
19783 breakpoint that caused the stop.
19784
849c862e
JK
197852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19786
19787 PR gdb/16626
19788 * gdb.base/auto-load-script: New file.
19789 * gdb.base/auto-load.c: New file.
19790 * gdb.base/auto-load.exp: New file.
19791
71b7d793
JK
19792 PR gdb/16626
19793 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19794
e2f0d509
JK
197952014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19796
19797 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19798 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19799
50cc37c8
DE
198002014-02-24 Doug Evans <dje@google.com>
19801
19802 * lib/gdb.exp (run_on_host): Log error output if program fails.
19803
ea4758f2
PA
198042014-02-21 Pedro Alves <palves@redhat.com>
19805
19806 * gdb.threads/step-after-sr-lock.c: Rename to ...
19807 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19808 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19809 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19810 ... this.
19811
d7b30f67
SDJ
198122014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19813
19814 PR tdep/16397
19815 * gdb.arch/amd64-stap-special-operands.exp: New file.
19816 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19817 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19818 * gdb.arch/amd64-stap-triplet.S: Likewise.
19819 * gdb.arch/amd64-stap-triplet.c: Likewise.
19820
83deb43f
JB
198212014-02-20 Joel Brobecker <brobecker@adacore.com>
19822
19823 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19824 in .section pseudo-op.
19825
adde2bff
DE
198262014-02-20 lin zuojian <manjian2006@gmail.com>
19827 Joel Brobecker <brobecker@adacore.com>
19828 Doug Evans <xdje42@gmail.com>
19829
19830 PR symtab/16581
19831 * gdb.dwarf2/dw2-icycle.S: New file.
19832 * gdb.dwarf2/dw2-icycle.c: New file.
19833 * gdb.dwarf2/dw2-icycle.exp: New file.
19834
f7bd0f78
SC
198352014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19836
19837 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19838 operations on gdb.Value objects.
19839 * gdb.python/py-value-cc.exp: Add new test to test operations on
19840 gdb.Value objects.
19841
c17ef0d5
DE
198422014-02-18 Doug Evans <dje@google.com>
19843
19844 * Makefile.in (TESTS): New variable.
19845 (expanded_tests, expanded_tests_or_none): New variables
19846 (check-single): Pass $(expanded_tests_or_none) to runtest.
19847 (check-parallel): Only run tests in $(TESTS) if non-empty.
19848 (check/no-matching-tests-found): New rule.
19849 * README: Document TESTS makefile variable.
19850
5dd3176f
DE
198512014-02-18 Doug Evans <dje@google.com>
19852
19853 * Makefile.in (check-parallel): rm -rf outputs temp.
19854
0b10be4f
JK
198552014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19856
19857 Fix "ERROR: no fileid for" in the testsuite.
19858 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19859
85f224e7
DE
198602014-02-12 Doug Evans <dje@google.com>
19861
19862 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19863 (MISCELLANEOUS): New variable.
19864 (clean): rm -rf $(MISCELLANEOUS).
19865 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19866 dwp live in the same directory as symlinks, with each symlink pointed
19867 to a differently named file in a different directory.
19868
149b30ff
DE
198692014-02-11 Doug Evans <dje@google.com>
19870
19871 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19872 of Tcl file commands.
19873
1dfdac32
MK
198742014-02-10 Mark Kettenis <kettenis@gnu.org>
19875
19876 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19877 "kill -SIGUSR1 -1".
19878
aa4fb036
JB
198792014-02-10 Joel Brobecker <brobecker@adacore.com>
19880
19881 * gdb.ada/tick_length_array_enum_idx: New testcase.
19882
ed3ef339
DE
198832014-02-10 Doug Evans <xdje42@gmail.com>
19884
19885 * configure.ac (AC_OUTPUT): Add gdb.guile.
19886 * configure: Regenerate.
19887 * lib/gdb-guile.exp: New file.
19888 * lib/gdb.exp (get_target_charset): New function.
19889 * gdb.base/help.exp: Update expected output from "apropos apropos".
19890 * gdb.guile/Makefile.in: New file.
19891 * gdb.guile/guile.exp: New file.
19892 * gdb.guile/scm-arch.c: New file.
19893 * gdb.guile/scm-arch.exp: New file.
19894 * gdb.guile/scm-block.c: New file.
19895 * gdb.guile/scm-block.exp: New file.
19896 * gdb.guile/scm-breakpoint.c: New file.
19897 * gdb.guile/scm-breakpoint.exp: New file.
19898 * gdb.guile/scm-disasm.c: New file.
19899 * gdb.guile/scm-disasm.exp: New file.
19900 * gdb.guile/scm-equal.c: New file.
19901 * gdb.guile/scm-equal.exp: New file.
19902 * gdb.guile/scm-error.exp: New file.
19903 * gdb.guile/scm-error.scm: New file.
19904 * gdb.guile/scm-frame-args.c: New file.
19905 * gdb.guile/scm-frame-args.exp: New file.
19906 * gdb.guile/scm-frame-args.scm: New file.
19907 * gdb.guile/scm-frame-inline.c: New file.
19908 * gdb.guile/scm-frame-inline.exp: New file.
19909 * gdb.guile/scm-frame.c: New file.
19910 * gdb.guile/scm-frame.exp: New file.
19911 * gdb.guile/scm-generics.exp: New file.
19912 * gdb.guile/scm-gsmob.exp: New file.
19913 * gdb.guile/scm-iterator.c: New file.
19914 * gdb.guile/scm-iterator.exp: New file.
19915 * gdb.guile/scm-math.c: New file.
19916 * gdb.guile/scm-math.exp: New file.
19917 * gdb.guile/scm-objfile-script-gdb.in: New file.
19918 * gdb.guile/scm-objfile-script.c: New file.
19919 * gdb.guile/scm-objfile-script.exp: New file.
19920 * gdb.guile/scm-objfile.c: New file.
19921 * gdb.guile/scm-objfile.exp: New file.
19922 * gdb.guile/scm-ports.exp: New file.
19923 * gdb.guile/scm-pretty-print.c: New file.
19924 * gdb.guile/scm-pretty-print.exp: New file.
19925 * gdb.guile/scm-pretty-print.scm: New file.
19926 * gdb.guile/scm-section-script.c: New file.
19927 * gdb.guile/scm-section-script.exp: New file.
19928 * gdb.guile/scm-section-script.scm: New file.
19929 * gdb.guile/scm-symbol.c: New file.
19930 * gdb.guile/scm-symbol.exp: New file.
19931 * gdb.guile/scm-symtab-2.c: New file.
19932 * gdb.guile/scm-symtab.c: New file.
19933 * gdb.guile/scm-symtab.exp: New file.
19934 * gdb.guile/scm-type.c: New file.
19935 * gdb.guile/scm-type.exp: New file.
19936 * gdb.guile/scm-value-cc.cc: New file.
19937 * gdb.guile/scm-value-cc.exp: New file.
19938 * gdb.guile/scm-value.c: New file.
19939 * gdb.guile/scm-value.exp: New file.
19940 * gdb.guile/source2.scm: New file.
19941 * gdb.guile/types-module.cc: New file.
19942 * gdb.guile/types-module.exp: New file.
19943
7026a7c1
YQ
199442014-02-10 Yao Qi <yao@codesourcery.com>
19945
19946 PR testsuite/16543
19947 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19948 * configure: Regenerated.
19949 * Makefile.in: New file.
19950
6c466447
AS
199512014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19952
19953 * gdb.python/py-framefilter.exp: Fix typo.
19954
6e854735
YQ
199552014-02-08 Yao Qi <yao@codesourcery.com>
19956
19957 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19958 that no =breakpoint-modified is emitted when breakpoints are
19959 modified through MI commands.
19960
d137e6dc
PA
199612014-02-07 Pedro Alves <pedro@codesourcery.com>
19962 Pedro Alves <palves@redhat.com>
19963
19964 * gdb.threads/step-after-sr-lock.c: New file.
19965 * gdb.threads/step-after-sr-lock.exp: New file.
19966
b5ee5a50
PA
199672014-02-07 Pedro Alves <palves@redhat.com>
19968
19969 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19970
3c77faf3
JK
199712014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19972
19973 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19974 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19975
6dddc817
DE
199762014-02-06 Doug Evans <xdje42@gmail.com>
19977
19978 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19979 output.
19980
19981 * gdb.gdb/python-interrupts.exp: New file.
19982
de7b2893
YQ
199832014-02-05 Yao Qi <yao@codesourcery.com>
19984
19985 * gdb.trace/report.exp (use_collected_data): Test the output
19986 of "info threads" and "info inferiors".
19987
66d032ac
YQ
199882014-02-05 Yao Qi <yao@codesourcery.com>
19989
19990 Revert this patch:
19991
19992 2013-05-24 Yao Qi <yao@codesourcery.com>
19993
19994 * gdb.trace/tfile.exp: Test inferior and thread.
19995
591a12a1
UW
199962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19997
19998 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19999 on a function.
20000 * gdb.base/step-bt.c: Call hello via function pointer to make
20001 sure its first instruction is executed on powerpc64le-linux.
20002
0ff3e01f
UW
200032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20004
20005 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20006
084ee545
UW
200072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20008
20009 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20010 of the test patterns for use on little-endian systems.
20011
6ed14ff3
UW
200122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20013
20014 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20015 (decimal_vector): Fix for little-endian.
20016
401e27fd
JM
200172014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20018
20019 * gdb.arch/sparc-sysstep.exp: New file.
20020 * gdb.arch/sparc-sysstep.c: Likewise.
20021
20022 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20023
8b924729
EBM
200242014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20025
20026 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20027
fb151210
JB
200282014-01-23 Tom Tromey <tromey@redhat.com>
20029
20030 * gdb.ada/array_char_idx: New testcase.
20031
0740f8d8
TT
200322014-01-23 Tom Tromey <tromey@redhat.com>
20033
20034 PR python/16487:
20035 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20036 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20037 classes.
20038
21909fa1
TT
200392014-01-23 Tom Tromey <tromey@redhat.com>
20040
20041 PR python/16491:
20042 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20043 string from an inferior frame.
20044 * gdb.python/py-framefilter-mi.exp: Update.
20045
87ce2a04
DE
200462014-01-22 Doug Evans <dje@google.com>
20047
20048 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20049
237b092b
AA
200502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20051
20052 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20053
d674a709
AA
200542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20055
20056 * gdb.trace/entry-values.exp: Remove excess space character from
20057 regex patterns. Handle s390 call instruction.
20058
20fa3390
AA
200592014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20060
20061 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20062 define "*_start" label. Make "name" static.
20063 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20064 ${name} by references to ${name}_start.
20065
78466714
AA
200662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20067
20068 * gdb.base/info-macros.exp: Remove "debug" from the compile
20069 options.
20070
ec9f644a
IB
200712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20072
20073 * gdb.dlang/demangle.exp: New file.
20074
94b1b47e
IB
200752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20076
20077 * gdb.dlang/primitive-types.exp: New file.
20078
7f420862
IB
200792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20080
20081 * configure.ac: Create gdb.dlang/Makefile.
20082 * configure: Regenerate.
20083 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20084 * gdb.dlang/Makefile.in: New file.
20085 * lib/d-support.exp: New file.
20086 * lib/gdb.exp (skip_d_tests): New proc.
20087
52834460
MM
200882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20089
20090 * gdb.btrace/delta.exp: Check reverse stepi.
20091 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20092 * gdb.btrace/finish.exp: New.
20093 * gdb.btrace/next.exp: New.
20094 * gdb.btrace/nexti.exp: New.
20095 * gdb.btrace/record_goto.c: Add comments.
20096 * gdb.btrace/step.exp: New.
20097 * gdb.btrace/stepi.exp: New.
20098 * gdb.btrace/multi-thread-step.c: New.
20099 * gdb.btrace/multi-thread-step.exp: New.
20100 * gdb.btrace/rn-dl-bind.c: New.
20101 * gdb.btrace/rn-dl-bind.exp: New.
20102 * gdb.btrace/data.c: New.
20103 * gdb.btrace/data.exp: New.
20104 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20105
6e07b1d2
MM
201062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20107
20108 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20109 * gdb.btrace/exception.exp: Update.
20110 * gdb.btrace/instruction_history.exp: Update.
20111 * gdb.btrace/record_goto.exp: Update.
20112 * gdb.btrace/tailcall.exp: Update.
20113 * gdb.btrace/unknown_functions.exp: Update.
20114 * gdb.btrace/delta.exp: New.
20115
0b722aec
MM
201162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20117
20118 * gdb.btrace/record_goto.exp: Add backtrace test.
20119 * gdb.btrace/tailcall.exp: Add backtrace test.
20120
066ce621
MM
201212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20122
20123 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20124 * gdb.btrace/record_goto.c: New.
20125 * gdb.btrace/record_goto.exp: New.
20126 * gdb.btrace/x86-record_goto.S: New.
20127
0688d04e
MM
201282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20129
20130 * gdb.btrace/function_call_history.exp: Update tests.
20131 * gdb.btrace/instruction_history.exp: Update tests.
20132
8710b709
MM
201332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20134
20135 * gdb.btrace/function_call_history.exp: Fix expected field
20136 order for "record function-call-history".
20137 Add new tests for "record function-call-history /c".
20138 * gdb.btrace/exception.cc: New.
20139 * gdb.btrace/exception.exp: New.
20140 * gdb.btrace/tailcall.exp: New.
20141 * gdb.btrace/x86-tailcall.S: New.
20142 * gdb.btrace/x86-tailcall.c: New.
20143 * gdb.btrace/unknown_functions.c: New.
20144 * gdb.btrace/unknown_functions.exp: New.
20145 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20146
5de9129b
MM
201472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20148
20149 * gdb.btrace/instruction_history.exp: Update.
20150 * gdb.btrace/function_call_history.exp: Update.
20151
23a7fe75
MM
201522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20153
20154 * gdb.btrace/function_call_history.exp: Fix expected function
20155 trace.
20156 * gdb.btrace/instruction_history.exp: Initialize traced.
20157 Remove traced_functions.
20158
724c7dd8
MM
201592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20160
20161 * gdb.btrace/function_call_history.exp: Update
20162 * gdb.btrace/instruction_history.exp: Update.
20163
6d78d93b
MM
201642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20165
20166 * gdb.btrace/enable.exp: Update expected text.
20167
93a360cc
OJ
201682014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20169
20170 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20171 bytes.
20172
3772b53f
MR
201732014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20174
20175 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20176
596662fa
OJ
201772014-01-15 Omair Javaid <omair.javaid@linaro.org>
20178
20179 * lib/gdb.exp (supports_process_record): Return true for
20180 arm*-linux*. (supports_reverse): Likewise.
20181
b5b08fb4
SC
201822014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20183
20184 PR python/15464
20185 PR python/16113
20186 * gdb.python/py-type.c: Enhance test case.
20187 * gdb.python/py-value-cc.cc: Likewise
20188 * gdb.python/py-type.exp: Add new tests.
20189 * gdb.python/py-value-cc.exp: Likewise
20190
52d7fb13
AA
201912014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20192 Pedro Alves <palves@redhat.com>
20193
20194 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20195 Make "name" extern.
20196 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20197 references to ${name}_start by references to ${name}.
20198
a2cd8cfe
JB
201992014-01-10 Joel Brobecker <brobecker@adacore.com>
20200
20201 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20202
4e23fced
JB
202032014-01-10 Joel Brobecker <brobecker@adacore.com>
20204
20205 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20206
c6a9e42c
PA
202072014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20208 Pedro Alves <palves@redhat.com>
20209
20210 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 20211 mi_gdb_target_load.
c6a9e42c 20212
b7ea362b
PA
202132014-01-08 Pedro Alves <palves@redhat.com>
20214
20215 * gdb.threads/reconnect-signal.c: New file.
20216 * gdb.threads/reconnect-signal.exp: New file.
20217
5e3f4fab
EBM
202182014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20219
20220 * gdb.base/source-dir.exp: New file.
20221
79301218
JB
202222014-01-07 Joel Brobecker <brobecker@adacore.com>
20223
20224 * gdb.ada/mi_interface: New testcase.
20225
8e355c5d
JB
202262014-01-07 Joel Brobecker <brobecker@adacore.com>
20227
20228 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20229 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20230 gdb.ada/pp-rec-component/pck.ads: New files.
20231
c0d48811
JB
202322014-01-07 Joel Brobecker <brobecker@adacore.com>
20233
20234 * gdb.python/py-pp-integral.c: New file.
20235 * gdb.python/py-pp-integral.py: New file.
20236 * gdb.python/py-pp-integral.exp: New file.
20237
17b609c3 20238For older changes see ChangeLog-1993-2013.
c906108c 20239\f
8d8cb839
EZ
20240;; Local Variables:
20241;; mode: change-log
20242;; left-margin: 8
20243;; fill-column: 74
20244;; version-control: never
20245;; End:
902f2ccb 20246
b811d2c2 20247 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
20248 Copying and distribution of this file, with or without modification,
20249 are permitted provided the copyright notice and this notice are preserved.
This page took 4.36799 seconds and 4 git commands to generate.