Remove stale -DNO_PROTOTYPES bits from gdb testsuite
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-07-03 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/call-sc.exp (start_scalars_test): Use
4 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
5 * gdb.base/overlays.c: Remove references to PARAMS.
6 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
7 * gdb.base/reread.exp: Don't set 'prototypes' global.
8 * gdb.base/structs.exp (start_structs_test): Use
9 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
10 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
11 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
12 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
13 call.
14 * gdb.base/varargs.exp: Don't set 'prototypes' global.
15
16 2020-07-03 Pedro Alves <palves@redhat.com>
17
18 * gdb.base/m32rovly.c: Delete.
19 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
20
21 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
22
23 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
24 of gdb_py_test_multiple.
25 * gdb.python/py-cmd.exp: Likewise.
26 * gdb.python/py-events.exp: Likewise.
27 * gdb.python/py-function.exp: Likewise.
28 * gdb.python/py-inferior.exp: Likewise.
29 * gdb.python/py-infthread.exp: Likewise.
30 * gdb.python/py-linetable.exp: Likewise.
31 * gdb.python/py-parameter.exp: Likewise.
32 * gdb.python/py-value.exp: Likewise.
33
34 2020-06-30 Tom de Vries <tdevries@suse.de>
35
36 PR testsuite/26175
37 * lib/future.exp (gdb_default_target_compile): Detect and handle
38 early_flags.
39
40 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
41
42 * boards/simavr.exp (gdb_load): Catch errors when closing
43 previous connection. Close connection, wait for process and
44 unset simavr_spawn_id on failure.
45
46 2020-06-29 Tom de Vries <tdevries@suse.de>
47
48 * lib/gdb.exp (unknown): Make test-case unresolved.
49
50 2020-06-29 Tom de Vries <tdevries@suse.de>
51
52 PR gdb/25475
53 * gdb.server/solib-list.exp: Verify that the symbol reload
54 confirmation question is asked.
55
56 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
57
58 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
59 have a input seq nr in each pass message.
60 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
61 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
62 * gdb.python/python.exp: Make test names unique,
63 use gdb_test_multiline instead of gdb_py_test_multiple,
64 use $gdb_test_name.
65 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
66
67 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
68
69 * configure.ac: Add --enable-libctf.
70 * aclocal.m4: sinclude ../config/enable.m4.
71 * Makefile.in (site.exp): Add enable_libctf to site.exp.
72 * lib/gdb.exp (skip_ctf_tests): Use it.
73 * gdb.base/ctf-constvars.exp: Error message tweak.
74 * gdb.base/ctf-ptype.exp: Likewise.
75 * configure: Regenerate.
76
77 2020-06-26 Gary Benson <gbenson@redhat.com>
78
79 * gdb.cp/try_catch.cc: Include string.h.
80 (main): Replace comparison against string literal with
81 strcmp, avoiding build failure with -Wstring-compare.
82 Add "marker test-complete".
83 * gdb.cp/try_catch.exp: Run the test to the above marker,
84 then verify that the value of "test" is still true.
85
86 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
89
90 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
91
92 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
93
94 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
97 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
98 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
99 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
100 * gdb.arch/riscv-tdesc-loading.exp: New file.
101
102 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
103
104 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
105
106 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
109 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
110 * gdb.arch/riscv-tdesc-regs.c: New file.
111 * gdb.arch/riscv-tdesc-regs.exp: New file.
112
113 2020-06-24 Pedro Alves <palves@redhat.com>
114
115 * gdb.arch/amd64-entry-value-paramref.exp: Use
116 prepare_for_testing_full and don't pass "c++" for the .S file
117 build spec.
118 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
119 $options, since it's an assembly file. Remove -Wno-deprecated.
120 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
121 compiling C++ programs.
122
123 2020-06-24 Pedro Alves <palves@redhat.com>
124
125 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
126 Clang, add "-Wno-unknown-warning-option" to the options.
127
128 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * gdb.xml/tdesc-reload.c: New file.
131 * gdb.xml/tdesc-reload.exp: New file.
132 * gdb.xml/maint-xml-dump-01.xml: New file.
133 * gdb.xml/maint-xml-dump-02.xml: New file.
134 * gdb.xml/maint-xml-dump.exp: New file.
135
136 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
137
138 * lib/completion-support.exp (test_gdb_completion_offers_commands):
139 Adjust for omitted commands when TUI is disabled.
140
141 2020-06-23 Gary Benson <gbenson@redhat.com>
142 Pedro Alves <palves@redhat.com>
143
144 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
145 * gdb.cp/nsimport.cc: Likewise.
146 * gdb.cp/nsnested.cc: Likewise.
147 * gdb.cp/nsnoimports.cc: Likewise.
148 * gdb.cp/nsusing.cc: Likewise.
149 * gdb.cp/smartp.cc: Likewise.
150 * gdb.python/py-pp-integral.c: Likewise.
151 * gdb.python/py-pp-re-notag.c: Likewise.
152
153 2020-06-23 Gary Benson <gbenson@redhat.com>
154
155 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
156 * gdb.cp/nsimport.cc: Likewise.
157 * gdb.cp/nsnested.cc: Likewise.
158 * gdb.cp/nsnoimports.cc: Likewise.
159 * gdb.cp/nsusing.cc: Likewise.
160 * gdb.cp/smartp.cc: Likewise.
161 * gdb.python/py-pp-integral.c: Likewise.
162 * gdb.python/py-pp-re-notag.c: Likewise.
163
164 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
165
166 * gdb.base/default-args.exp: New test.
167 * gdb.base/default-args.c: New file.
168 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
169 * gdb.base/default.exp: Update to new help text.
170 * gdb.base/help.exp: Likewise.
171 * gdb.base/page.exp: Likewise.
172 * gdb.base/style.exp: Likewise.
173 * gdb.guile/guile.exp: Likewise.
174 * gdb.python/python.exp: Likewise.
175
176 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
177
178 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
179 remote host. Fix search path syntax on Windows host.
180
181 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
182
183 * gdb.base/attach.exp: Test priority of 'exec-file' changed
184 over 'exec-file-mismatch'.
185 * gdb.base/attach.c: Mark should_exit volatile.
186 * gdb.base/attach2.c: Likewise. Add a comment explaining
187 why the sleep cannot be big.
188 * gdb.base/attach3.c: New file.
189
190 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
191
192 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
193 prefix optional.
194
195 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
196
197 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
198 for remote host.
199
200 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
201 Hafiz Abid Qadeer <abidh@codesourcery.com>
202
203 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
204 file sent to remote host.
205 (top level): Allow int32_t as type of 32-bit register.
206
207 2020-06-19 Tom de Vries <tdevries@suse.de>
208
209 * lib/gdb.exp (gdb_note): New proc.
210 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
211 (gdb_default_target_compile): ... here. Only call
212 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
213 (use_gdb_compile): Change to array.
214 (toplevel): Update sets of use_gdb_compile to specify language.
215 Warn about default_target_compile override. Store dejagnu's version
216 of default_target_compile in dejagnu_default_target_compile.
217
218 2020-06-18 Tom de Vries <tdevries@suse.de>
219
220 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
221 (default_gdb_init): ... here.
222
223 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
224
225 Fix TUI support checks in gdb.tui tests.
226
227 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
228 just say UNSUPPORTED.
229 * gdb.tui/corefile-run.exp: Likewise.
230 * gdb.tui/empty.exp: Likewise.
231 * gdb.tui/list-before.exp: Likewise.
232 * gdb.tui/list.exp: Likewise.
233 * gdb.tui/main.exp: Likewise.
234 * gdb.tui/regs.exp: Likewise.
235 * gdb.tui/resize.exp: Likewise.
236 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
237 * gdb.tui/tui-layout-asm.exp: Likewise.
238 * gdb.tui/tui-missing-src.exp: Likewise.
239 * gdb.tui/winheight.exp: Likewise.
240 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
241
242 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
243
244 Fix TCL error in gdb.python/py-format-string.exp.
245
246 * gdb.python/py-format-string.exp: Move test for python support
247 earlier, out of function body.
248
249 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
250
251 * gdb.base/index-cache-load-twice.c: New.
252 * gdb.base/index-cache-load-twice.exp: New.
253
254 2020-06-17 Keith Seitz <keiths@redhat.com>
255
256 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
257 when executing "gdb --configuration".
258
259 2020-06-17 Tom de Vries <tdevries@suse.de>
260
261 * lib/gdb.exp (gdb_tcl_unknown): New proc.
262 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
263 conditional on presence of gdb_tcl_unknown.
264 (gdb_finish): Make override undo conditional on presence of
265 gdb_tcl_unknown.
266
267 2020-06-16 Tom Tromey <tom@tromey.com>
268
269 * gdb.python/tui-window.py (failwin): New function. Register it
270 as a TUI window type.
271 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
272
273 2020-06-16 Gary Benson <gbenson@redhat.com>
274
275 * gdb.python/py-nested-maps.c (create_map): Add missing return
276 value.
277 (create_map_map): Likewise.
278
279 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
280
281 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
282 variable.
283 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
284 and use the already-defined 'options' variable.
285
286 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
287 Tom de Vries <tdevries@suse.de>
288
289 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
290 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
291 (gdb_setup_known_globals): New proc.
292 (gdb_cleanup_globals): New proc.
293 * lib/gdb.exp (load_lib): New override proc.
294 (gdb_stdin_log_init): Set var in_file as persistent global.
295 * lib/pascal.exp (gdb_stdin_log_init): Set vars
296 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
297 fpc_compiler as persistent global.
298
299 2020-06-12 Tom de Vries <tdevries@suse.de>
300
301 * lib/tuiterm.exp (spawn): Rename to ...
302 (tui_spawn): ... this.
303 (toplevel): Move rename of spawn ...
304 (gdb_init_tuiterm): ... here. New proc.
305 (gdb_finish_tuiterm): New proc.
306 * lib/gdb.exp (gdb_finish_hooks): New global var.
307 (gdb_finish): Handle gdb_finish_hooks.
308 (tuiterm_env): New proc.
309 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
310 tuiterm_env.
311 * gdb.tui/basic.exp: Same.
312 * gdb.tui/corefile-run.exp: Same.
313 * gdb.tui/empty.exp: Same.
314 * gdb.tui/list-before.exp: Same.
315 * gdb.tui/list.exp: Same.
316 * gdb.tui/main.exp: Same.
317 * gdb.tui/new-layout.exp: Same.
318 * gdb.tui/regs.exp: Same.
319 * gdb.tui/resize.exp: Same.
320 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
321 * gdb.tui/tui-layout-asm.exp: Same.
322 * gdb.tui/tui-missing-src.exp: Same.
323 * gdb.tui/winheight.exp: Same.
324
325 2020-06-12 Tom de Vries <tdevries@suse.de>
326
327 PR testsuite/26110
328 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
329 (gdb_finish): Reinstall dejagnu's override of ::unknown.
330
331 2020-06-11 Tom Tromey <tom@tromey.com>
332
333 PR gdb/18318:
334 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
335 floating point tests.
336
337 2020-06-11 Keith Seitz <keiths@redhat.com>
338
339 PR gdb/21356
340 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
341 vla_struct.
342 Add new struct vla_typedef and union vla_typedef_union and
343 corresponding instantiation objects.
344 Initialize new objects.
345 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
346 and vla_typedef_union_object.
347 Fixup type for vla_struct_object.
348
349 2020-06-11 Tom de Vries <tdevries@suse.de>
350
351 * lib/gdb.exp (with_override): New proc, factored out of ...
352 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
353
354 2020-06-10 Tom de Vries <tdevries@suse.de>
355
356 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
357
358 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
359
360 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
361 parameter, update callers.
362
363 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
364
365 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
366 * gdb.dwarf2/share-psymtabs-bt.c: New file.
367 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
368
369 2020-06-04 Tom de Vries <tdevries@suse.de>
370
371 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
372
373 2020-06-04 Tom de Vries <tdevries@suse.de>
374
375 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
376 exp_continue.
377
378 2020-06-04 Tom de Vries <tdevries@suse.de>
379
380 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
381
382 2020-06-03 Tom de Vries <tdevries@suse.de>
383
384 PR symtab/26046
385 * gdb.cp/breakpoint-locs-2.cc: New test.
386 * gdb.cp/breakpoint-locs.cc: New test.
387 * gdb.cp/breakpoint-locs.exp: New file.
388 * gdb.cp/breakpoint-locs.h: New test.
389
390 2020-06-03 Tom de Vries <tdevries@suse.de>
391
392 PR testsuite/25609
393 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
394 value of global verbose.
395 * gdb.base/jit-elf.exp: Same.
396 * gdb.base/jit-reader.exp: Same.
397
398 2020-06-02 Tom de Vries <tdevries@suse.de>
399
400 * gdb.dwarf2/multidictionary.exp: Don't use
401 gdb_spawn_with_cmdline_opts.
402
403 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
404
405 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
406 use_header case.
407 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
408 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
409 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
410 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
411 * gdb.dwarf2/dw2-inline-header.c: New file.
412 * gdb.dwarf2/dw2-inline-header.h: New file.
413
414 2020-05-30 Pedro Alves <palves@redhat.com>
415
416 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
417 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
418
419 2020-05-29 Gary Benson <gbenson@redhat.com>
420
421 * gdb.compile/compile-cplus.exp (additional_flags): Also
422 set when building with clang.
423 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
424 when building with clang.
425
426 2020-05-29 Gary Benson <gbenson@redhat.com>
427
428 * gdb.arch/i386-avx.exp (additional_flags): Also set when
429 building with clang.
430 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
431
432 2020-05-29 Gary Benson <gbenson@redhat.com>
433
434 * gdb.cp/koenig.exp (prepare_for_testing): Add
435 additional_flags=-Wno-unused-comparison.
436 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
437
438 2020-05-28 Gary Benson <gbenson@redhat.com>
439
440 * gdb.base/sigaltstack.c (catcher): Add default case to switch
441 statement.
442
443 2020-05-28 Gary Benson <gbenson@redhat.com>
444
445 * gdb.cp/classes.exp (prepare_for_testing): Add
446 additional_flags=-Wno-deprecated-register.
447 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
448 * gdb.cp/misc.exp: Likewise.
449
450 2020-05-28 Gary Benson <gbenson@redhat.com>
451
452 * gdb.linespec/cpls-ops.cc (dummy): New static global.
453 (test_op_new::operator new): Add return statement.
454 (test_op_new_array::operator new[]): Likewise.
455
456 2020-05-27 Pedro Alves <palves@redhat.com>
457
458 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
459 check. Use test_gdb_complete_unique instead of
460 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
461 test_gdb_complete_multiple instead of
462 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
463
464 2020-05-27 Luis Machado <luis.machado@linaro.org>
465
466 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
467 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
468 * gdb.arch/arm-disassembler-options.exp: Likewise.
469 * gdb.arch/arm-disp-step.exp: Likewise.
470 * gdb.arch/thumb-prologue.exp: Likewise.
471 * gdb.base/async.exp: Likewise.
472 * gdb.base/auxv.exp: Likewise.
473 * gdb.base/complex-parts.exp: Likewise.
474 * gdb.base/ena-dis-br.exp: Likewise.
475 * gdb.base/foll-exec.exp: Likewise.
476 * gdb.base/permissions.exp: Likewise.
477 * gdb.base/relocate.exp: Likewise.
478 * gdb.base/return2.exp: Likewise.
479 * gdb.base/sigbpt.exp: Likewise.
480 * gdb.base/siginfo-obj.exp: Likewise.
481 * gdb.cp/converts.exp: Likewise.
482 * gdb.cp/exceptprint.exp: Likewise.
483 * gdb.cp/inherit.exp: Likewise.
484 * gdb.cp/nsnoimports.exp: Likewise.
485 * gdb.cp/virtbase2.exp: Likewise.
486 * gdb.mi/mi-var-cmd.exp: Likewise.
487 * gdb.mi/var-cmd.c: Likewise.
488
489 2020-05-26 Tom Tromey <tromey@adacore.com>
490
491 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
492
493 2020-05-26 Tom Tromey <tromey@adacore.com>
494
495 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
496 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
497 type.
498 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
499 variable.
500
501 2020-05-26 Christian Biesinger <cbiesinger@google.com>
502
503 * Makefile.in: Use = instead of == for the test command
504 for portability.
505
506 2020-05-26 Tom de Vries <tdevries@suse.de>
507
508 * gdb.base/gold-gdb-index-2.c: New test.
509 * gdb.base/gold-gdb-index.c: New test.
510 * gdb.base/gold-gdb-index.exp: New file.
511 * gdb.base/gold-gdb-index.h: New test.
512
513 2020-05-25 Tom de Vries <tdevries@suse.de>
514
515 * boards/gold-gdb-index.exp: New file.
516
517 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
518
519 * boards/simavr.exp: New file.
520
521 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
522
523 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
524 * gdb.base/inferior-args.exp: New file.
525 * gdb.base/inferior-args.c: New file.
526
527 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
528
529 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
530 inferior_args. Pass it to gdb_reload.
531 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
532 inferior_args.
533 (gdb_reload): Add inferior_args argument.
534 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
535 pass it to gdbserver_run.
536 * boards/native-gdbserver.exp: Do not set noargs.
537 * boards/native-extended-gdbserver.exp (gdb_reload): Add
538 inferior_args argument.
539 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
540 * gdb.base/a2-run.exp: Check for use_gdb_stub.
541 * gdb.base/args.exp: Likewise.
542
543 2020-05-25 Tom de Vries <tdevries@suse.de>
544
545 * lib/gdb.exp (exec_is_pie): Add comment.
546
547 2020-05-25 Tom de Vries <tdevries@suse.de>
548
549 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
550 instead of $binfile in the untested message.
551
552 2020-05-25 Tom de Vries <tdevries@suse.de>
553
554 PR testsuite/26031
555 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
556
557 2020-05-25 Tom de Vries <tdevries@suse.de>
558
559 * boards/gold.exp: New file.
560
561 2020-05-23 Tom Tromey <tom@tromey.com>
562
563 * gdb.base/style.exp: Remove completion styling test.
564 * lib/gdb-utils.exp (style): Remove completion styles.
565
566 2020-05-23 Tom Tromey <tom@tromey.com>
567
568 * gdb.base/style.exp: Add completion styling test.
569 * lib/gdb-utils.exp (style): Add completion styles.
570
571 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.base/annota1.exp: Update expected results.
574 * gdb.cp/annota2.exp: Update expected results, remove duplicate
575 test name.
576 * gdb.cp/annota3.exp: Update expected results.
577
578 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
579
580 PR gdb/26016
581 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
582 against MAP_FAILED.
583 * gdb.base/coremaker.c (mmapdata): Likewise.
584 * gdb.base/jit-reader-host.c (main): Likewise.
585 * gdb.base/sym-file-loader.c (load): Likewise.
586 (load_shlib): Likewise.
587
588 2020-05-20 Tom Tromey <tromey@adacore.com>
589
590 * gdb.ada/array_char_idx.exp: Recognize initialized array.
591
592 2020-05-20 Tom de Vries <tdevries@suse.de>
593
594 PR symtab/25833
595 * gdb.base/with-mf-inc.c: New test.
596 * gdb.base/with-mf-main.c: New test.
597 * gdb.base/with-mf.exp: New file.
598
599 2020-05-19 Tom Tromey <tromey@adacore.com>
600
601 * gdb.rust/simple.exp: Restore missing test result.
602
603 2020-05-19 Tom de Vries <tdevries@suse.de>
604
605 * gdb.base/gdb-caching-proc.exp: Fix typo.
606
607 2020-05-19 Tom Tromey <tromey@adacore.com>
608
609 * gdb.rust/simple.exp: Add some test descriptions.
610 (test_one_slice): Use with_test_prefix.
611
612 2020-05-18 Tom de Vries <tdevries@suse.de>
613
614 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
615
616 2020-05-17 Pedro Alves <palves@redhat.com>
617
618 PR gdb/25741
619 * gdb.base/hw-sw-break-same-address.exp: New file.
620
621 2020-05-16 Pedro Alves <palves@redhat.com>
622
623 * gdb.multi/multi-re-run.exp (test_re_run): Switch
624 LAST_LOADED_FILE accordingly.
625
626 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
627
628 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
629
630 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
631
632 * gdb.base/help.exp: Test apropos and help for commands
633 having aliases. Fixed comments not starting with an
634 upper-case letter or not finishing with a dot.
635
636 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
637
638 * gdb.base/alias.exp: Update help output check.
639
640 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
641
642 * gdb.base/default.exp: Update output following fixes.
643
644 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
645
646 * gdb.base/alias.exp: Test aliases starting with a prefix of
647 another alias.
648
649 2020-05-15 Gary Benson <gbenson@redhat.com>
650
651 * gdb.base/info-os.c (main): Add return statement.
652 * gdb.base/info_minsym.c (minsym_fun): Likewise.
653 * gdb.base/large-frame-2.c (func): Likewise.
654 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
655 * gdb.base/pr10179-b.c (foo2): Likewise.
656 * gdb.base/valgrind-disp-step.c (foo): Likewise.
657 * gdb.base/watch-cond.c (func): Likewise.
658 * gdb.multi/goodbye.c (verylongfun): Likewise.
659 * gdb.multi/hello.c (commonfun): Likewise.
660 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
661 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
662 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
663 Likewise.
664 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
665 * gdb.threads/interrupt-while-step-over.c (child_function):
666 Likewise.
667 * gdb.trace/actions-changed.c (end): Likewise.
668
669 2020-05-15 Gary Benson <gbenson@redhat.com>
670
671 * gdb.opencl/callfuncs.exp: Report when test skipped.
672 * gdb.opencl/convs_casts.exp: Likewise.
673 * gdb.opencl/datatypes.exp: Likewise.
674 * gdb.opencl/operators.exp: Likewise.
675 * gdb.opencl/vec_comps.exp: Likewise.
676
677 2020-05-15 Tom de Vries <tdevries@suse.de>
678
679 * gdb.base/align.exp.in: Rename to ...
680 * gdb.base/align.exp.tcl: ... this.
681 * gdb.base/align-c++.exp: Update.
682 * gdb.base/align-c.exp: Update.
683 * gdb.base/all-architectures.exp.in: Rename to ...
684 * gdb.base/all-architectures.exp: ... this.
685 * gdb.base/all-architectures-0.exp: Update.
686 * gdb.base/all-architectures-1.exp: Update.
687 * gdb.base/all-architectures-2.exp: Update.
688 * gdb.base/all-architectures-3.exp: Update.
689 * gdb.base/all-architectures-4.exp: Update.
690 * gdb.base/all-architectures-5.exp: Update.
691 * gdb.base/all-architectures-6.exp: Update.
692 * gdb.base/all-architectures-7.exp: Update.
693 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
694 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
695 * gdb.base/infcall-nested-structs-c++.exp: Update.
696 * gdb.base/infcall-nested-structs-c.exp: Update.
697 * gdb.base/info-types.exp.in: Rename to ...
698 * gdb.base/info-types.exp.tcl: ... this.
699 * gdb.base/info-types-c++.exp: Update.
700 * gdb.base/info-types-c.exp: Update.
701 * gdb.base/max-depth.exp.in: Rename to ...
702 * gdb.base/max-depth.exp.tcl: ... this.
703 * gdb.base/max-depth-c++.exp: Update.
704 * gdb.base/max-depth-c.exp: Update.
705 * gdb.cp/cpexprs.exp.in: Rename to ...
706 * gdb.cp/cpexprs.exp.tcl: ... this.
707 * gdb.cp/cpexprs-debug-types.exp: Update.
708 * gdb.cp/cpexprs.exp: Update.
709 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
710 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
711 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
712 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
713 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
714 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
715 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
716 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
717 * gdb.dwarf2/clang-debug-names-2.exp: Update.
718 * gdb.dwarf2/clang-debug-names.exp: Update.
719
720 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
721
722 * lib/check-test-names.exp: Remove code that prevents this file
723 loading when tests are run in parallel.
724
725 2020-05-15 Pedro Alves <palves@redhat.com>
726
727 * gdb.multi/multi-kill.exp (start_inferior): Remove
728 'testpid' parameter. Refer to namespace variable directly.
729 (testpid): Declare as namespace variable.
730
731 2020-05-15 Pedro Alves <palves@redhat.com>
732
733 * gdb.multi/multi-kill.exp: Wrap in namespace.
734 (start_inferior): Add TESTPID parameter. Use it instead of the
735 testpid global.
736 (top level): Define empty TESTPID array, and pass it down to
737 start_inferior.
738
739 2020-05-14 Tom de Vries <tdevries@suse.de>
740
741 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
742 output.
743
744 2020-05-14 Tom de Vries <tdevries@suse.de>
745
746 * gdb.base/align.exp: Split into ...
747 * gdb.base/align.exp.in: ...
748 * gdb.base/align-c++.exp: ...
749 * gdb.base/align-c.exp: ... these.
750 * gdb.base/infcall-nested-structs.exp: Split into ...
751 * gdb.base/infcall-nested-structs.exp.in: ...
752 * gdb.base/infcall-nested-structs-c++.exp: ...
753 * gdb.base/infcall-nested-structs-c.exp: ... these.
754 * gdb.base/info-types.exp: Split into ...
755 * gdb.base/info-types.exp.in: ...
756 * gdb.base/info-types-c++.exp: ...
757 * gdb.base/info-types-c.exp: ... these.
758 * gdb.base/max-depth.exp: Split into ...
759 * gdb.base/max-depth.exp.in: ...
760 * gdb.base/max-depth-c++.exp: ...
761 * gdb.base/max-depth-c.exp: ... these.
762 * gdb.cp/infcall-nodebug.exp: Split into ...
763 * gdb.cp/infcall-nodebug.exp.in: ...
764 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
765 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
766 * gdb.cp/infcall-nodebug-c-d0.exp: ...
767 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
768
769 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
770 Pedro Alves <palves@redhat.com>
771
772 * gdb.multi/multi-exit.c: New file.
773 * gdb.multi/multi-exit.exp: New file.
774 * gdb.multi/multi-kill.c: New file.
775 * gdb.multi/multi-kill.exp: New file.
776
777 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
778
779 * gdb.base/annota1.exp: Update the expected output.
780 * gdb.cp/annota2.exp: Ditto.
781
782 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * lib/check-test-names.exp: Disable when testing is being run in
785 parallel.
786
787 2020-05-12 Tom de Vries <tdevries@suse.de>
788
789 * gdb.base/jit-elf.exp: Fix string concat.
790
791 2020-05-12 Tom de Vries <tdevries@suse.de>
792
793 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
794 messages.
795
796 2020-05-12 Tom de Vries <tdevries@suse.de>
797
798 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
799
800 2020-05-12 Tom de Vries <tdevries@suse.de>
801
802 * gdb.ada/catch_ex.exp: Use with_test_prefix.
803 * gdb.ada/mi_catch_ex.exp: Same.
804 * gdb.ada/mi_catch_ex_hand.exp: Same.
805
806 2020-05-12 Tom de Vries <tdevries@suse.de>
807
808 * gdb.fortran/complex.exp: Use with_test_prefix.
809
810 2020-05-12 Tom de Vries <tdevries@suse.de>
811
812 * gdb.trace/passcount.exp: Fix test-names.
813
814 2020-05-12 Tom de Vries <tdevries@suse.de>
815
816 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
817
818 2020-05-12 Tom de Vries <tdevries@suse.de>
819
820 * gdb.gdb/complaints.exp: Use with_test_prefix.
821 * gdb.xml/tdesc-regs.exp: Same.
822 * gdb.opt/inline-locals.exp: Fix test name.
823
824 2020-05-12 Tom de Vries <tdevries@suse.de>
825
826 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
827 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
828 * gdb.dwarf2/implref-struct.exp: Same.
829 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
830 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
831
832 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
833
834 * gdb.base/jit-so.exp (one_jit_test): Change test name.
835
836 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
837
838 * lib/check-test-names.exp (all_test_names): New module variable.
839 (counts): Add 'duplicates' field.
840 (_check_duplicates): New procedure.
841 (check): Also check for duplicates.
842 (do_log_summary): Print duplicates count.
843 (do_reset_vars): Reset counter for duplicate test names, and
844 discard all know test names.
845
846 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
847
848 * lib/gdb.exp: Include check-test-names.exp library.
849 * lib/check-test-names.exp: New file.
850
851 2020-05-11 Tom de Vries <tdevries@suse.de>
852
853 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
854
855 2020-05-11 Keith Seitz <keiths@redhat.com>
856
857 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
858
859 2020-05-11 Tom de Vries <tdevries@suse.de>
860
861 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
862 * gdb.cp/cpexprs.exp.in: .. here.
863 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
864 cpexprs.exp.
865
866 2020-05-11 Keith Seitz <keiths@redhat.com>
867
868 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
869 test names.
870 * gdb.ada/arrayptr.exp: Likewise.
871 * gdb.ada/assign_arr.exp: Likewise.
872 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
873 * gdb.ada/bp_on_var.exp: Likewise.
874 * gdb.ada/call_pn.exp: Likewise.
875 * gdb.ada/complete.exp: Likewise.
876 * gdb.ada/fun_overload_menu.exp: Likewise.
877 * gdb.ada/funcall_param.exp: Likewise.
878 * gdb.ada/funcall_ref.exp: Likewise.
879 * gdb.ada/packed_array_assign.exp: Likewise.
880 * gdb.ada/same_component_name.exp: Likewise.
881 * gdb.ada/type_coercion.exp: Likewise.
882 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
883 * gdb.ada/variant_record_packed_array.exp: Likewise.
884
885 2020-05-11 Tom de Vries <tdevries@suse.de>
886
887 PR symtab/25941
888 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
889 out of ...
890 * gdb.dwarf2/clang-debug-names.exp: ... here.
891 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
892 clang-debug-names.exp.in.
893 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
894 * gdb.dwarf2/clang-debug-names-2.c: New test.
895
896 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
897
898 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
899 (fortran_runto_main): New Proc, fortran version of runto_main.
900 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
901 * gdb.fortran/array-bounds.exp: Likewise.
902 * gdb.fortran/array-slices.exp: Likewise.
903 * gdb.fortran/block-data.exp: Likewise.
904 * gdb.fortran/charset.exp: Likewise.
905 * gdb.fortran/common-block.exp: Likewise.
906 * gdb.fortran/complex.exp: Likewise.
907 * gdb.fortran/derived-type-function.exp: Likewise.
908 * gdb.fortran/derived-type.exp: Likewise.
909 * gdb.fortran/info-modules.exp: Likewise.
910 * gdb.fortran/info-types.exp: Likewise.
911 * gdb.fortran/intrinsics.exp: Likewise.
912 * gdb.fortran/library-module.exp: Likewise.
913 * gdb.fortran/logical.exp: Likewise.
914 * gdb.fortran/max-depth.exp: Likewise.
915 * gdb.fortran/module.exp: Likewise.
916 * gdb.fortran/multi-dim.exp: Likewise.
917 * gdb.fortran/nested-funcs.exp: Likewise.
918 * gdb.fortran/print-formatted.exp: Likewise.
919 * gdb.fortran/print_type.exp: Likewise.
920 * gdb.fortran/printing-types.exp: Likewise.
921 * gdb.fortran/ptr-indentation.exp: Likewise.
922 * gdb.fortran/ptype-on-functions.exp: Likewise.
923 * gdb.fortran/subarray.exp: Likewise.
924 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
925 * gdb.fortran/vla-datatypes.exp: Likewise.
926 * gdb.fortran/vla-history.exp: Likewise.
927 * gdb.fortran/vla-ptr-info.exp: Likewise.
928 * gdb.fortran/vla-ptype-sub.exp: Likewise.
929 * gdb.fortran/vla-ptype.exp: Likewise.
930 * gdb.fortran/vla-sizeof.exp: Likewise.
931 * gdb.fortran/vla-type.exp: Likewise.
932 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
933 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
934 * gdb.fortran/vla-value-sub.exp: Likewise.
935 * gdb.fortran/vla-value.exp: Likewise.
936 * gdb.fortran/whatis_type.exp: Likewise.
937 * gdb.mi/mi-var-child-f.exp: Likewise.
938
939 2020-05-09 Tom de Vries <tdevries@suse.de>
940
941 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
942
943 2020-05-08 Tom de Vries <tdevries@suse.de>
944
945 * gdb.dwarf2/clang-debug-names.c: New test.
946 * gdb.dwarf2/clang-debug-names.exp: New file.
947
948 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
949
950 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
951 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
952
953 2020-05-06 Tom de Vries <tdevries@suse.de>
954
955 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
956 breakpoint is at a "recommended breakpoint location".
957 * gdb.reverse/consecutive-reverse.exp: Same.
958
959 2020-05-06 Tom de Vries <tdevries@suse.de>
960
961 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
962 address.
963
964 2020-05-06 Tom de Vries <tdevries@suse.de>
965
966 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
967
968 2020-05-06 Tom de Vries <tdevries@suse.de>
969
970 * gdb.base/store.exp (check_set, up_set): Allowing missing location
971 info for r.
972
973 2020-05-06 Tom de Vries <tdevries@suse.de>
974
975 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
976 necessary.
977
978 2020-05-06 Tom de Vries <tdevries@suse.de>
979
980 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
981 void.
982
983 2020-05-06 Tom de Vries <tdevries@suse.de>
984
985 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
986 of ...
987 * gdb.base/async.exp: ... here.
988 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
989 "recommended breakpoint location".
990
991 2020-05-06 Tom de Vries <tdevries@suse.de>
992
993 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
994
995 2020-05-04 Tom de Vries <tdevries@suse.de>
996
997 * gdb.base/async.exp: Check whether instruction addresses are a
998 "recommended breakpoint location".
999
1000 2020-05-03 Tom Tromey <tom@tromey.com>
1001
1002 * gdb.base/sepdebug.exp: Remove "catch" test.
1003 * gdb.base/break.exp: Remove "catch" test.
1004 * gdb.base/default.exp: Update expected output.
1005
1006 2020-05-02 Tom de Vries <tdevries@suse.de>
1007
1008 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1009 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1010 * gdb.arch/i386-mpx-map.exp: Same.
1011 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1012 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1013 * gdb.arch/i386-mpx.exp: Same.
1014
1015 2020-05-02 Tom de Vries <tdevries@suse.de>
1016
1017 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1018
1019 2020-05-01 Tom de Vries <tdevries@suse.de>
1020
1021 * gdb.ada/operator_bp.exp: Allow more than required amount of
1022 breakpoint.
1023
1024 2020-05-01 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1027
1028 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1029
1030 PR gdb/18706
1031 * gdb.cp/stub-array-size.cc: New test.
1032 * gdb.cp/stub-array-size.exp: New file.
1033 * gdb.cp/stub-array-size.h: New test.
1034 * gdb.cp/stub-array-size2.cc: New test.
1035
1036 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1037
1038 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1039 output to the new format.
1040
1041 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1042
1043 * gdb.base/break.exp: Use with_test_prefix.
1044
1045 2020-04-29 Tom de Vries <tdevries@suse.de>
1046
1047 * lib/gdb.exp (debug_types): New proc.
1048 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1049 * gdb.python/py-symtab.exp: Same.
1050
1051 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1052
1053 PR gdb/17320
1054 * gdb.base/pretty-array.c: New test.
1055 * gdb.base/pretty-array.exp: New file.
1056
1057 2020-04-29 Tom de Vries <tdevries@suse.de>
1058
1059 PR symtab/25889
1060 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1061 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1062 and include cpexprs.exp.
1063
1064 2020-04-28 Mark Williams <mark@myosotissp.com>
1065
1066 PR gdb/24480
1067 * dw4-toplevel-types.exp: Test for top level types.
1068 * dw4-toplevel-types.cc: Test for top level types.
1069
1070 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1071
1072 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1073 (theads -> threads).
1074
1075 2020-04-28 Tom de Vries <tdevries@suse.de>
1076
1077 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1078
1079 2020-04-28 Tom de Vries <tdevries@suse.de>
1080
1081 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1082
1083 2020-04-28 Tom de Vries <tdevries@suse.de>
1084
1085 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1086
1087 2020-04-28 Tom de Vries <tdevries@suse.de>
1088
1089 * gdb.dwarf2/main-foo.c: New test.
1090 * gdb.dwarf2/struct-with-sig.exp: New file.
1091
1092 2020-04-25 Tom de Vries <tdevries@suse.de>
1093
1094 * boards/debug-types.exp: New file.
1095
1096 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1097
1098 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1099
1100 2020-04-24 Tom Tromey <tom@tromey.com>
1101
1102 PR symtab/12707:
1103 * gdb.python/py-symbol.exp: Update expected results for
1104 linkage_name test.
1105 * gdb.cp/print-demangle.exp: New file.
1106 * gdb.base/c-linkage-name.exp: Fix test.
1107 * gdb.guile/scm-symbol.exp: Update expected results for
1108 linkage_name test.
1109
1110 2020-04-24 Tom Tromey <tom@tromey.com>
1111
1112 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1113 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1114 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1115 assembler.
1116
1117 2020-04-24 Tom de Vries <tdevries@suse.de>
1118
1119 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1120 C++.
1121
1122 2020-04-24 Tom Tromey <tromey@adacore.com>
1123
1124 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1125 values.
1126 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1127 values. Update test for minimal encodings.
1128 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1129 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1130 values. Update test for minimal encodings.
1131
1132 2020-04-24 Tom Tromey <tromey@adacore.com>
1133
1134 PR python/23662:
1135 * gdb.ada/variant.exp: Add Python checks.
1136 * gdb.rust/simple.exp: Add dynamic type checks.
1137
1138 2020-04-24 Tom Tromey <tromey@adacore.com>
1139
1140 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1141 Make array type matching more lax.
1142 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1143 * gdb.ada/mi_variant.exp: New file.
1144 * gdb.ada/mi_variant/pck.ads: New file.
1145 * gdb.ada/mi_variant/pkg.adb: New file.
1146 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1147 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1148
1149 2020-04-24 Tom Tromey <tromey@adacore.com>
1150
1151 * gdb.ada/variant.exp: Add dynamic field offset tests.
1152 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1153 * gdb.ada/variant/pkg.adb: Add new variables.
1154
1155 2020-04-24 Tom Tromey <tromey@adacore.com>
1156
1157 * gdb.ada/variant.exp: New file
1158 * gdb.ada/variant/pkg.adb: New file
1159 * gdb.ada/variant/pck.adb: New file
1160
1161 2020-04-24 Tom de Vries <tdevries@suse.de>
1162
1163 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1164
1165 2020-04-24 Tom de Vries <tdevries@suse.de>
1166
1167 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1168 flags.
1169
1170 2020-04-24 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1173
1174 2020-04-24 Tom de Vries <tdevries@suse.de>
1175
1176 * lib/gdb.exp (default_gdb_start): Handle eof.
1177 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1178 failure.
1179 * gdb.base/readnever.exp: Handle clean_restart failure.
1180
1181 2020-04-23 Tom de Vries <tdevries@suse.de>
1182
1183 * gdb.base/decl-before-def.exp: Run to main and print a again.
1184
1185 2020-04-23 Tom de Vries <tdevries@suse.de>
1186
1187 * gdb.base/decl-before-def-decl.c: New test.
1188 * gdb.base/decl-before-def-def.c: New test.
1189 * gdb.base/decl-before-def.exp: New file.
1190
1191 2020-04-23 Tom de Vries <tdevries@suse.de>
1192
1193 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1194
1195 2020-04-22 Tom de Vries <tdevries@suse.de>
1196
1197 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1198 debug_info_offset.
1199 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1200 before $objsfile in the line line.
1201
1202 2020-04-22 Tom de Vries <tdevries@suse.de>
1203
1204 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1205
1206 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1207
1208 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1209 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1210 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1211 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1212 * gdb.base/jit-protocol.h: Update definitions to match all usage
1213 contexts.
1214
1215 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1216
1217 * gdb.base: Rename all jit related test and source files.
1218
1219 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1220
1221 * gdb.base/jit-reader.exp: Relax register output check.
1222
1223 2020-04-22 Tom de Vries <tdevries@suse.de>
1224
1225 PR symtab/25764
1226 * gdb.base/psym-external-decl-2.c: New test.
1227 * gdb.base/psym-external-decl.c: New test.
1228 * gdb.base/psym-external-decl.exp: New file.
1229 * gdb.threads/tls.exp: Add PR25807 kfail.
1230
1231 2020-04-22 Tom de Vries <tdevries@suse.de>
1232
1233 PR symtab/25801
1234 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1235 in "info source" output.
1236
1237 2020-04-22 Tom de Vries <tdevries@suse.de>
1238
1239 PR symtab/25700
1240 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1241 symtab for imported_unit.c.
1242
1243 2020-04-21 Gary Benson <gbenson@redhat.com>
1244
1245 * gdb.base/advance.c (func): New argument, to match call site.
1246 (func2, func3): Add return statements.
1247
1248 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1249
1250 * gdb.multi/run-only-second-inf.c: New file.
1251 * gdb.multi/run-only-second-inf.exp: New file.
1252
1253 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1254
1255 * gdb.btrace/multi-inferior.c: New test.
1256 * gdb.btrace/multi-inferior.exp: New file.
1257
1258 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1259
1260 * gdb.btrace/enable-new-thread.c: New test.
1261 * gdb.btrace/enable-new-thread.exp: New file.
1262
1263 2020-04-21 Tom de Vries <tdevries@suse.de>
1264
1265 PR gdb/25471
1266 * gdb.threads/killed-outside.c: New test.
1267 * gdb.threads/killed-outside.exp: New file.
1268
1269 2020-04-20 Gary Benson <gbenson@redhat.com>
1270
1271 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1272 * gdb.base/nested-subp2.exp: Likewise.
1273 * gdb.base/nested-subp3.exp: Likewise.
1274
1275 2020-04-20 Gary Benson <gbenson@redhat.com>
1276
1277 * gdb.base/nested-subp1.exp: Disable test when using clang.
1278 * gdb.base/nested-subp2.exp: Likewise.
1279 * gdb.base/nested-subp3.exp: Likewise.
1280
1281 2020-04-20 Gary Benson <gbenson@redhat.com>
1282
1283 * gdb.cp/exception.cc: Fix compilation error with clang.
1284
1285 2020-04-20 Gary Benson <gbenson@redhat.com>
1286
1287 * gdb.trace/tspeed.c: Fix compilation error with clang.
1288
1289 2020-04-20 Gary Benson <gbenson@redhat.com>
1290
1291 * gdb.base/jit-main.c: Fix compilation error with clang.
1292
1293 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1294
1295 * gdb.base/attach-twice.c: Include "sys/types.h".
1296 (PTRACE_ATTACH): Add fallback definition.
1297 (main): Pass `0' to the 4th argument of `ptrace'.
1298
1299 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1300
1301 * gdb.base/fork-running-state.c: Include "signal.h".
1302
1303 2020-04-17 Tom Tromey <tromey@adacore.com>
1304
1305 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1306 Update tests.
1307 * gdb.btrace/cpu.exp: Update tests.
1308 * gdb.base/maint.exp: Update tests.
1309 * gdb.base/default.exp: Update tests.
1310 * gdb.base/completion.exp: Update tests.
1311
1312 2020-04-16 Tom de Vries <tdevries@suse.de>
1313
1314 PR symtab/25791
1315 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1316 (ensure_gdb_index): and factor out and move ...
1317 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1318 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1319
1320 2020-04-16 Tom de Vries <tdevries@suse.de>
1321
1322 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1323 loading exec.
1324
1325 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.base/many-completions.exp: New file.
1328
1329 2020-04-14 Tom de Vries <tdevries@suse.de>
1330
1331 PR symtab/25718
1332 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1333
1334 2020-04-14 Tom de Vries <tdevries@suse.de>
1335
1336 PR symtab/25720
1337 * gdb.base/maint-expand-symbols-header-file.c: New test.
1338 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1339 * gdb.base/maint-expand-symbols-header-file.h: New test.
1340
1341 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1342
1343 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1344 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1345 get_func_info.
1346 (get_func_info): Delete.
1347 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1348 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1349 * lib/dwarf.exp (get_func_info): New function.
1350
1351 2020-04-13 Tom de Vries <tdevries@suse.de>
1352
1353 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1354 to what find_gnatmake does.
1355
1356 2020-04-10 Tom de Vries <tdevries@suse.de>
1357
1358 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1359 -readnow.
1360
1361 2020-04-10 Tom de Vries <tdevries@suse.de>
1362
1363 PR cli/25808
1364 * gdb.base/style.c: Add leading newlines.
1365 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1366 Check listing of main's one-line body.
1367
1368 2020-04-08 Tom de Vries <tdevries@suse.de>
1369
1370 * lib/gdb.exp (psymtabs_p): New proc.
1371 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1372 importing unit" unsupported if there are no partial symbols.
1373
1374 2020-04-08 Tom de Vries <tdevries@suse.de>
1375
1376 PR testsuite/25760
1377 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1378
1379 2020-04-07 Tom de Vries <tdevries@suse.de>
1380
1381 PR symtab/25796
1382 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1383
1384 2020-04-07 Tom de Vries <tdevries@suse.de>
1385
1386 * gdb.base/check-psymtab.c: New test.
1387 * gdb.base/check-psymtab.exp: New file.
1388
1389 2020-04-06 Tom Tromey <tromey@adacore.com>
1390
1391 * gdb.ada/variant-record/proc.adb: New file.
1392 * gdb.ada/variant-record/value.adb: New file.
1393 * gdb.ada/variant-record/value.s: New file.
1394 * gdb.ada/variant-record.exp: New file.
1395
1396 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
1397
1398 PR gdb/25325
1399 * gdb.cp/typed-enum.cc: New test.
1400 * gdb.cp/typed-enum.exp: New file.
1401
1402 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1403
1404 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1405 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1406 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1407 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1408 * gdb.opt/inline-small-func.c: New file.
1409 * gdb.opt/inline-small-func.exp: New file.
1410 * gdb.opt/inline-small-func.h: New file.
1411
1412 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1415 function.
1416
1417 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 * lib/dwarf.exp (function_range): Allow compiler options to be
1420 specified.
1421
1422 2020-04-02 Tom de Vries <tdevries@suse.de>
1423
1424 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1425 __attribute__((always_inline)).
1426 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1427
1428 2020-04-02 Tom de Vries <tdevries@suse.de>
1429
1430 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1431 (gdbserver_gdb_exit): ... here. Add timeout warning.
1432 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1433 (connect_target_extended_remote): Append new server_spawn_id to
1434 server_spawn_ids.
1435 (cleanup): New proc.
1436 (setup, <toplevel>): Call cleanup.
1437
1438 2020-04-02 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.base/main-psymtab.exp: New file.
1441
1442 2020-04-02 Tom de Vries <tdevries@suse.de>
1443
1444 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1445
1446 2020-04-01 Tom Tromey <tom@tromey.com>
1447
1448 * gdb.base/complex-parts.exp: Add type tests.
1449
1450 2020-04-01 Tom Tromey <tom@tromey.com>
1451
1452 * gdb.base/complex-parts.exp: Add arithmetic tests.
1453
1454 2020-04-01 Tom Tromey <tom@tromey.com>
1455
1456 * gdb.compile/compile.exp: Update.
1457 * gdb.compile/compile-cplus.exp: Update.
1458 * gdb.base/varargs.exp: Update.
1459 * gdb.base/floatn.exp: Update.
1460 * gdb.base/endianity.exp: Update.
1461 * gdb.base/callfuncs.exp (do_function_calls): Update.
1462 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1463 (complex_float_integral_args): Update.
1464 * gdb.base/complex.exp: Update.
1465 * gdb.base/complex-parts.exp: Update.
1466
1467 2020-04-01 Tom Tromey <tromey@adacore.com>
1468
1469 * gdb.rust/union.rs: New file.
1470 * gdb.rust/union.exp: New file.
1471 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1472 (main): Update.
1473 * gdb.rust/simple.exp: Move union tests to union.exp.
1474
1475 2020-04-01 Tom Tromey <tromey@adacore.com>
1476
1477 * gdb.rust/simple.rs (main): Remove "y0".
1478
1479 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1480
1481 * gdb.multi/stop-all-on-exit.c: New test.
1482 * gdb.multi/stop-all-on-exit.exp: New file.
1483
1484 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
1485
1486 PR gdb/24789
1487 * gdb.cp/misc.cc: Add integer reference variable.
1488 * gdb.cp/misc.exp: Add test.
1489
1490 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1491
1492 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1493 scenario to cover execution until the end and also the case
1494
1495 2020-03-31 Tom de Vries <tdevries@suse.de>
1496
1497 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1498 c. Use "maint info symtabs" to check symtab expansion.
1499
1500 2020-03-30 Tom de Vries <tdevries@suse.de>
1501
1502 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1503 unsupported.
1504 (verify_psymtab_expanded): Move ...
1505 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1506 test.
1507 (readnow): New proc.
1508
1509 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1510
1511 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1512 with $hex.
1513
1514 2020-03-20 Tom Tromey <tromey@adacore.com>
1515
1516 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1517
1518 2020-03-20 Tom Tromey <tromey@adacore.com>
1519
1520 * gdb.ada/sub_variant/subv.adb: New file.
1521 * gdb.ada/sub_variant.exp: New file.
1522
1523 2020-03-20 Tom de Vries <tdevries@suse.de>
1524
1525 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1526 first break fails.
1527 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1528
1529 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.server/exit-multiple-threads.c: New file.
1532 * gdb.server/exit-multiple-threads.exp: New file.
1533
1534 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1535
1536 * gdb.fortran/mixed-lang-stack.c: New file.
1537 * gdb.fortran/mixed-lang-stack.cpp: New file.
1538 * gdb.fortran/mixed-lang-stack.exp: New file.
1539 * gdb.fortran/mixed-lang-stack.f90: New file.
1540
1541 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.linespec/cp-completion-aliases.cc: New file.
1544 * gdb.linespec/cp-completion-aliases.exp: New file.
1545
1546 2020-03-19 Tom de Vries <tdevries@suse.de>
1547
1548 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1549 more precise.
1550
1551 2020-03-18 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1554 * gdb.dwarf2/break-inline-psymtab.c: New test.
1555 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1556
1557 2020-03-16 Tom de Vries <tdevries@suse.de>
1558
1559 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1560 cache_verify and cache_verify_proc.
1561
1562 2020-03-15 Tom de Vries <tdevries@suse.de>
1563
1564 * gdb.server/solib-list.exp: Handle
1565 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1566
1567 2020-03-15 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1570 objfiles".
1571
1572 2020-03-14 Tom Tromey <tom@tromey.com>
1573
1574 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1575
1576 2020-03-14 Tom de Vries <tdevries@suse.de>
1577
1578 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1579
1580 2020-03-14 Tom de Vries <tdevries@suse.de>
1581
1582 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1583 result in line-by-line fashion.
1584
1585 2020-03-14 Tom de Vries <tdevries@suse.de>
1586
1587 * lib/gdb.exp (supports_statement_frontiers): New proc.
1588 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1589
1590 2020-03-14 Tom de Vries <tdevries@suse.de>
1591
1592 * gdb.base/printcmds.exp: Add missing quoting for "print
1593 teststring2".
1594
1595 2020-03-13 Tom Tromey <tom@tromey.com>
1596
1597 * gdb.base/printcmds.exp (test_print_strings): Add regression
1598 test.
1599 * gdb.base/printcmds.c (charptr): New typedef.
1600 (teststring2): New global.
1601
1602 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1605 full path in the test name.
1606 (test_ld): Add some with_test_prefix blocks to make test names
1607 unique.
1608
1609 2020-03-13 Tom de Vries <tdevries@suse.de>
1610
1611 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1612
1613 2020-03-13 Tom de Vries <tdevries@suse.de>
1614
1615 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1616
1617 2020-03-13 Tom de Vries <tdevries@suse.de>
1618
1619 PR symtab/25646
1620 * gdb.dwarf2/imported-unit.exp: Add test.
1621
1622 2020-03-13 Tom de Vries <tdevries@suse.de>
1623
1624 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1625 (var1, var2): New variable.
1626 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1627 matching symbols.
1628
1629 2020-03-13 Tom de Vries <tdevries@suse.de>
1630
1631 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1632 (Term::command): Use prompt prefix.
1633 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1634 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1635 command_no_prompt_prefix instead of prefix.
1636 * gdb.tui/tui-layout-asm.exp: Same.
1637
1638 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1639
1640 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1641
1642 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1643
1644 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1645 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1646 on" while stepping over the test instruction, match printed
1647 message.
1648
1649 2020-03-12 Tom de Vries <tdevries@suse.de>
1650
1651 * gdb.base/info-types.exp: Use exp_continue during matching of output
1652 of "info types".
1653
1654 2020-03-12 Tom de Vries <tdevries@suse.de>
1655
1656 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1657
1658 2020-03-12 Tom de Vries <tdevries@suse.de>
1659
1660 * gdb.fortran/module.exp: Use exp_continue during matching of output
1661 of "info variable -n".
1662
1663 2020-03-12 Tom de Vries <tdevries@suse.de>
1664
1665 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1666 gdb.dwarf2/dw2-ranges-base.c.
1667
1668 2020-03-12 Tom de Vries <tdevries@suse.de>
1669
1670 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1671 in presence of GLIBC debuginfo.
1672
1673 2020-03-12 Tom de Vries <tdevries@suse.de>
1674
1675 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1676 $core.
1677
1678 2020-03-12 Tom de Vries <tdevries@suse.de>
1679
1680 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1681 more precise.
1682
1683 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
1684
1685 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1686 from Unix to Windows path.
1687
1688 2020-03-11 Tom de Vries <tdevries@suse.de>
1689
1690 * gdb.ada/minsyms.exp: Set language to ada.
1691
1692 2020-03-11 Tom de Vries <tdevries@suse.de>
1693
1694 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1695
1696 2020-03-11 Tom de Vries <tdevries@suse.de>
1697
1698 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1699
1700 2020-03-11 Tom Tromey <tromey@adacore.com>
1701
1702 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1703
1704 2020-03-11 Tom de Vries <tdevries@suse.de>
1705
1706 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1707
1708 2020-03-11 Tom de Vries <tdevries@suse.de>
1709
1710 * gdb.base/break-interp.exp: Limit verbose scope.
1711
1712 2020-03-11 Tom de Vries <tdevries@suse.de>
1713
1714 * gdb.fortran/logical.f90: Define variable with character type.
1715 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1716
1717 2020-03-11 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1720
1721 2020-03-11 Tom de Vries <tdevries@suse.de>
1722
1723 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1724 symtabs.
1725
1726 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1727 Bernd Edlinger <bernd.edlinger@hotmail.de>
1728
1729 * gdb.cp/step-and-next-inline.cc: New file.
1730 * gdb.cp/step-and-next-inline.exp: New file.
1731 * gdb.cp/step-and-next-inline.h: New file.
1732 * gdb.dwarf2/dw2-is-stmt.c: New file.
1733 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1734 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1735 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1736 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1737
1738 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1739
1740 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1741 is-stmt flag in the line table.
1742
1743 2020-03-09 Tom de Vries <tdevries@suse.de>
1744
1745 * lib/gdb.exp (cached_file): Create cache dir.
1746
1747 2020-03-07 Tom de Vries <tdevries@suse.de>
1748
1749 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1750 * gdb.cp/rvalue-ref-params.exp: Same.
1751
1752 2020-03-06 Tom de Vries <tdevries@suse.de>
1753
1754 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1755 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1756
1757 2020-03-06 Tom de Vries <tdevries@suse.de>
1758
1759 * README: Fix "the the".
1760 * gdb.base/dprintf.exp: Same.
1761
1762 2020-03-05 Tom de Vries <tdevries@suse.de>
1763
1764 * gdb.base/maint.exp: Update "main print statistics" expected output.
1765
1766 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1767
1768 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1769 (fortran_int8): Likewise.
1770 (fortran_real4): Likewise.
1771 (fortran_real8): Likewise.
1772 (fortran_complex4): Likewise.
1773 (fortran_logical4): Likewise.
1774 (fortran_character1): Likewise.
1775
1776 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1777
1778 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1779 printed as true.
1780
1781 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1782
1783 * gdb.base/printcmds.exp: Add test to verify printf of a
1784 variable holding an address.
1785
1786 2020-03-03 Tom de Vries <tdevries@suse.de>
1787
1788 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1789
1790 2020-03-03 Tom de Vries <tdevries@suse.de>
1791
1792 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1793 gdb_test_multiple call.
1794
1795 2020-03-03 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1798 gdb_test_multiple calls.
1799
1800 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1801
1802 * gdb.base/default.exp: Remove test of 'set history filename'.
1803 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1804 filename to the empty string.
1805 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1806 and GDBHISTSIZE.
1807
1808 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1809
1810 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1811 disabled.
1812
1813 2020-03-02 Pedro Alves <palves@redhat.com>
1814 Tom de Vries <tdevries@suse.de>
1815
1816 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1817 -prompt prefix, before user_code argument. Add -lbl option likewise.
1818 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1819 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1820 argument.
1821 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1822 have "\r\n" at start-of-line, instead of at end-of-line.
1823
1824 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1825
1826 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1827 libinproctrace.so.
1828
1829 2020-02-28 Luis Machado <luis.machado@linaro.org>
1830
1831 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1832 to "p/x".
1833
1834 2020-02-28 Luis Machado <luis.machado@linaro.org>
1835
1836 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1837 asm/ptrace.h and error.h.
1838
1839 2020-02-28 Tom de Vries <tdevries@suse.de>
1840
1841 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1842 (struct wrapper, do_something, mundane/symada__cS): Move ...
1843 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1844 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1845 Update "print symada__cS before partial symtab expansion" regexp.
1846 Update breakpoint location. Flush symbol cache after expansion.
1847
1848 2020-02-28 Luis Machado <luis.machado@linaro.org>
1849
1850 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1851
1852 2020-02-27 Tom de Vries <tdevries@suse.de>
1853
1854 * config/sid.exp: Remove unused globals.
1855 * gdb.base/attach.exp: Same.
1856 * gdb.base/catch-load.exp: Same.
1857 * gdb.base/dbx.exp: Same.
1858 * lib/gdb.exp: Same.
1859 * lib/mi-support.exp: Same.
1860 * lib/prompt.exp: Same.
1861
1862 2020-02-27 Tom de Vries <tdevries@suse.de>
1863
1864 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1865 not set.
1866
1867 2020-02-26 Aaron Merey <amerey@redhat.com>
1868
1869 * gdb.debuginfod: New directory for debuginfod tests.
1870 * gdb.debuginfod/main.c: New test file.
1871 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1872
1873 2020-02-26 Tom de Vries <tdevries@suse.de>
1874
1875 PR gdb/25603
1876 * gdb.base/persistent-lang.cc: New test.
1877 * gdb.base/persistent-lang.exp: New file.
1878
1879 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1880
1881 * gdb.fortran/derived-type-striding.exp: Add a new test.
1882 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1883 new test.
1884
1885 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1886
1887 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1888 names.
1889
1890 2020-02-25 Tom de Vries <tdevries@suse.de>
1891
1892 PR go/18926
1893 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1894
1895 2020-02-24 Tom de Vries <tdevries@suse.de>
1896
1897 PR gdb/25592
1898 * gdb.base/info-locals-unused-static-var.c: New test.
1899 * gdb.base/info-locals-unused-static-var.exp: New file.
1900
1901 2020-02-22 Tom Tromey <tom@tromey.com>
1902
1903 * gdb.python/tui-window.exp: New file.
1904 * gdb.python/tui-window.py: New file.
1905
1906 2020-02-22 Tom Tromey <tom@tromey.com>
1907
1908 PR tui/17850:
1909 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1910 tests.
1911
1912 2020-02-22 Tom Tromey <tom@tromey.com>
1913
1914 * gdb.tui/new-layout.exp: Add sub-layout tests.
1915
1916 2020-02-22 Tom Tromey <tom@tromey.com>
1917
1918 * gdb.tui/new-layout.exp: New file.
1919
1920 2020-02-22 Tom Tromey <tom@tromey.com>
1921
1922 * gdb.rust/rust-style.rs: New file.
1923 * gdb.rust/rust-style.exp: New file.
1924 * gdb.base/style.exp: Test structure printing.
1925 * gdb.base/style.c (struct some_struct): New type.
1926 (enum etype): New type.
1927 (struct_value): New global.
1928
1929 2020-02-21 Tom de Vries <tdevries@suse.de>
1930
1931 PR go/18926
1932 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1933 Remove blanket xfails. Use message argument for gdb_breakpoint.
1934 Make continuing to breakpoint test conditional on setting breakpoint.
1935 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1936 DW_AT_name attribute. Add xfail for GCC PR93866.
1937
1938 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1939
1940 * gdb.dwarf2/cpp-linkage-name.c: New file.
1941 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1942
1943 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1944
1945 * lib/gdb.exp (gdb_wrapper_init): Reset
1946 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1947 not exist.
1948
1949 2020-02-20 Tom de Vries <tdevries@suse.de>
1950
1951 PR go/17018
1952 * gdb.go/hello.exp: Copy ...
1953 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1954 print of st to print value of global definition. Add xfail for GCC
1955 PR93844.
1956 * gdb.go/hello.exp: Remove printing of st before definition.
1957 * gdb.go/hello.go: Copy ...
1958 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1959 to st.
1960 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1961
1962 2020-02-20 Tom de Vries <tdevries@suse.de>
1963
1964 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1965 (gdb_simple_compile): Handle compile_flags go by using .go extension
1966 for source file.
1967 * gdb.go/chan.exp: Use support_go_compile.
1968 * gdb.go/handcall.exp: Same.
1969 * gdb.go/hello.exp: Same.
1970 * gdb.go/integers.exp: Same.
1971 * gdb.go/max-depth.exp: Same.
1972 * gdb.go/methods.exp: Same.
1973 * gdb.go/package.exp: Same.
1974 * gdb.go/strings.exp: Same.
1975 * gdb.go/types.exp: Same.
1976 * gdb.go/unsafe.exp: Same.
1977
1978 2020-02-19 Tom de Vries <tdevries@suse.de>
1979
1980 * gdb.python/lib-types.exp: Make xfail more strict.
1981
1982 2020-02-19 Tom de Vries <tdevries@suse.de>
1983
1984 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1985
1986 2020-02-19 Doug Evans <dje@google.com>
1987
1988 PR rust/25535
1989 * gdb.rust/simple.exp: Add test.
1990 * gdb.rust/simple.rs: Add test.
1991
1992 2020-02-19 Tom de Vries <tdevries@suse.de>
1993
1994 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1995 output line-by-line.
1996
1997 2020-02-19 Tom de Vries <tdevries@suse.de>
1998
1999 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2000
2001 2020-02-19 Tom de Vries <tdevries@suse.de>
2002
2003 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2004 prelink.
2005
2006 2020-02-19 Tom de Vries <tdevries@suse.de>
2007
2008 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2009 (gdb_do_cache): Use gdb_do_cache_wrap.
2010 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2011
2012 2020-02-19 Tom de Vries <tdevries@suse.de>
2013
2014 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2015 gdb_compile option.
2016
2017 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2018
2019 * gdb.base/printcmds.exp (test_print_enums): Update expected
2020 output.
2021
2022 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2023
2024 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2025 for "unknown".
2026
2027 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2028
2029 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2030 enumerator.
2031
2032 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2033
2034 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2035 FE_, add FE_NONE.
2036 (three): Update.
2037 (enum flag_enum_without_zero): New enum.
2038 (flag_enum_without_zero): New variable.
2039 (enum not_flag_enum): New enum.
2040 (three_not_flag): New variable.
2041 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2042 (test_print_enums): Add more tests for printing flag enums.
2043
2044 2020-02-18 Tom de Vries <tdevries@suse.de>
2045
2046 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2047 (gdb_compile_ada): ... here.
2048 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2049 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2050
2051 2020-02-14 Tom Tromey <tom@tromey.com>
2052
2053 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2054 build directory.
2055 * boards/gdbserver-base.exp: Update path to gdbserver.
2056
2057 2020-02-13 Tom de Vries <tdevries@suse.de>
2058
2059 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2060
2061 2020-02-13 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2064 are missing.
2065
2066 2020-02-13 Tom de Vries <tdevries@suse.de>
2067
2068 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2069 call.
2070
2071 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2072
2073 PR tui/25126
2074 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2075 * gdb.base/cached-source-file.c: New file.
2076 * gdb.base/cached-source-file.exp: New file.
2077
2078 2020-02-11 Tom de Vries <tdevries@suse.de>
2079
2080 PR testsuite/25488
2081 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2082
2083 2020-02-10 Tom de Vries <tdevries@suse.de>
2084
2085 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2086
2087 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2088
2089 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2090 and $after_addr are both integers before making a comparison.
2091
2092 2020-02-09 Tom de Vries <tdevries@suse.de>
2093
2094 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2095 command output and paste it into gdb.log. If any, paste catch message
2096 to gdb.log.
2097
2098 2020-02-07 Tom Tromey <tromey@adacore.com>
2099
2100 PR breakpoints/24915:
2101 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2102
2103 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2104
2105 * gdb.tui/tui-missing-src.exp: Add the "missing source
2106 file" test for the TUI.
2107
2108 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2111 including a port number in the output.
2112
2113 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2114
2115 * lib/fortran.exp (fortran_int4): Handle clang.
2116 (fortran_int8): Likewise.
2117 (fortran_real4): Likewise.
2118 (fortran_real8): Likewise.
2119 (fortran_complex4): Likewise.
2120 (fortran_logical4): Likewise.
2121 (fortran_character1): Likewise.
2122
2123 2020-02-04 Tom de Vries <tdevries@suse.de>
2124
2125 * README (Race detection): Add note.
2126
2127 2020-02-04 Tom de Vries <tdevries@suse.de>
2128
2129 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2130
2131 2020-02-04 Tom de Vries <tdevries@suse.de>
2132
2133 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2134
2135 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2136
2137 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2138 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2139 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2140 blttar, bnetarl.
2141 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2142 binary for blttar, bnetarl.
2143 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2144 wait instruction. Delete ldmx test.
2145 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2146
2147 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2148
2149 * gdb.fortran/array-bounds-high.exp: New file.
2150 * gdb.fortran/array-bounds-high.f90: New file.
2151
2152 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2153
2154 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2155 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2156
2157 2020-02-01 Tom de Vries <tdevries@suse.de>
2158
2159 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2160
2161 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 PR tui/9765
2164 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2165 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2166
2167 2020-01-29 Luis Machado <luis.machado@linaro.org>
2168
2169 * gdb.arch/aarch64-brk-patterns.c: New source file.
2170 * gdb.arch/aarch64-brk-patterns.exp: New test.
2171
2172 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2173
2174 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2175 GCC/Clang version.
2176 * gdb.cp/pass-by-ref.exp: Ditto.
2177
2178 2020-01-29 Tom de Vries <tdevries@suse.de>
2179
2180 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2181 * gdb.threads/watchpoint-fork-mt.c: Same.
2182 * gdb.threads/watchpoint-fork-parent.c: Same.
2183 * gdb.threads/watchpoint-fork-st.c: Same.
2184 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2185
2186 2020-01-27 Luis Machado <luis.machado@linaro.org>
2187
2188 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2189 sitting at a syscall instruction when we hit the syscall function's
2190 breakpoint.
2191 Check PC against one obtained with the x command.
2192 Validate syscall number.
2193 (step_over_syscall): Don't continue to the syscall instruction if
2194 we're already there.
2195
2196 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2197
2198 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2199
2200 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2201
2202 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2203 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2204
2205 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2206
2207 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2208 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2209
2210 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.base/maint.exp: Update line table parsing test.
2213 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2214
2215 2020-01-24 Pedro Alves <palves@redhat.com>
2216
2217 PR gdb/25410
2218 * gdb.multi/multi-re-run-1.c: New.
2219 * gdb.multi/multi-re-run-2.c: New.
2220 * gdb.multi/multi-re-run.exp: New.
2221
2222 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2223
2224 PR gdb/23718
2225 * gdb.server/server-kill-python.exp: New file.
2226
2227 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 * gdb.server/multi-ui-errors.c: New file.
2230 * gdb.server/multi-ui-errors.exp: New file.
2231
2232 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 PR tui/9765
2235 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2236
2237 2020-01-19 Tom Tromey <tom@tromey.com>
2238
2239 * gdb.tui/main.exp: Add check for plain "file".
2240
2241 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2242
2243 * lib/gdb.exp: Fix spelling error (seperatelly).
2244
2245 2020-01-14 Tom Tromey <tom@tromey.com>
2246
2247 PR symtab/12535:
2248 * gdb.python/python.exp: Test decode_line with empty string
2249 argument.
2250
2251 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2252
2253 * gdb.base/skip-inline.exp: Extend test.
2254
2255 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2256
2257 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2258 * gdb.dwarf2/dw2-bad-elf.c: New file.
2259 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2260
2261 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2262
2263 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2264 _line_saw_file.
2265
2266 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2267
2268 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2269 border.
2270
2271 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2272
2273 * gdb.multi/multi-target.exp (setup): Factor out "info
2274 connections" and "info inferiors" tests to ...
2275 (test_info_inferiors): ... this new procedure.
2276 (top level): Run new "info-inferiors" tests.
2277
2278 2020-01-10 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.server/bkpt-other-inferior.exp: New file.
2281
2282 2020-01-10 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2285 of "add-inferior".
2286 * gdb.base/quit-live.exp: Likewise.
2287 * gdb.base/remote-exec-file.exp: Likewise.
2288 * gdb.guile/scm-progspace.exp: Likewise.
2289 * gdb.linespec/linespec.exp: Likewise.
2290 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2291 * gdb.mi/user-selected-context-sync.exp: Likewise.
2292 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2293 "info inferiors" tests.
2294 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2295 "add-inferior".
2296 * gdb.multi/watchpoint-multi.exp: Likewise.
2297 * gdb.python/py-inferior.exp: Likewise.
2298 * gdb.server/extended-remote-restart.exp: Likewise.
2299 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2300 "info inferiors".
2301 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2302 * gdb.trace/report.exp: Likewise.
2303
2304 2020-01-10 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.multi/multi-target.c: New file.
2307 * gdb.multi/multi-target.exp: New file.
2308 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2309 mode requested, but remote does not support non-stop".
2310
2311 2020-01-10 Pedro Alves <palves@redhat.com>
2312
2313 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2314 disconnect before reconnecting.
2315
2316 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2317 Pedro Alves <palves@redhat.com>
2318
2319 * gdb.server/connect-without-multi-process.exp: Also test
2320 continuing to end.
2321
2322 2020-01-10 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.base/remote-exec-file.exp: New file.
2325
2326 2020-01-10 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2329 output.
2330 * gdb.threads/async.c: New.
2331 * gdb.threads/async.exp: New.
2332 * gdb.multi/tids-gid-reset.c: New.
2333 * gdb.multi/tids-gid-reset.exp: New.
2334
2335 2020-01-10 George Barrett <bob@bob131.so>
2336
2337 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2338 to help in finding the image relocation offset.
2339 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2340 options in arguments.
2341 (stap_test_no_debuginfo): Likewise.
2342 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2343 test variants.
2344 (stap_test): Add null semaphore relocation test.
2345
2346 2020-01-10 George Barrett <bob@bob131.so>
2347
2348 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2349 * gdb.base/stap-probe.exp: Likewise.
2350 (stap_test): Pass argument as an additional flag.
2351 (stap_test_no_debuginfo): Likewise.
2352 (stap_test): Check `info probes stap' output for semaphore
2353 addresses if the test binary is supposed to have them.
2354
2355 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2356
2357 * gdb.tui/basic.exp: Add more scrolling tests.
2358
2359 2020-01-09 Tom Tromey <tom@tromey.com>
2360
2361 PR tui/18932:
2362 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2363 meangingful value.
2364 (Term::command, Term::resize): Update.
2365 * gdb.tui/basic.exp: Add scrolling test.
2366
2367 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2368
2369 * gdb.tui/tui-layout-asm.exp: New file.
2370
2371 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2372
2373 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2374
2375 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2378 (Term::enter_tui): Use Term::prepare_for_tui.
2379
2380 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2383 called.
2384
2385 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.base/skip.exp: Fix race condition in test.
2388
2389 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2390
2391 * gdb.base/backtrace.c: New file.
2392 * gdb.base/backtrace.exp: New file.
2393
2394 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2395
2396 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2397
2398 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2399
2400 * gdb.base/style.exp: Test that warnings are styled.
2401
2402 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2403
2404 * gdb.base/line65535.exp: New file.
2405 * gdb.base/line65535.c: New file.
2406
2407 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2408
2409 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2410 * lib/gnat_debug_info_test.adb: New file.
2411 * gdb.ada/ptype_tagged_param.exp: Use
2412 gnat_runtime_has_debug_info, expect a different output if
2413 runtime does not have debug info.
2414
2415 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2416
2417 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2418 (another) quote in test name.
2419
2420 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2421
2422 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2423 Add quote in test name.
2424
2425 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2426
2427 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2428 directory instead.
2429 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2430 * gdb.cp/pass-by-ref-2.cc: New file.
2431 * gdb.cp/pass-by-ref-2.exp: New file.
2432
2433 2019-12-20 Tom Tromey <tom@tromey.com>
2434
2435 * gdb.tui/list-before.exp: New file.
2436
2437 2019-12-20 Tom Tromey <tom@tromey.com>
2438
2439 * gdb.tui/list.exp: Check for source on initial listing.
2440
2441 2019-12-11 Tom Tromey <tromey@adacore.com>
2442
2443 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2444 Add crlf test.
2445
2446 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
2447
2448 * gdb.base/default.exp: Update value of $_gdb_major.
2449
2450 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2451
2452 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2453
2454 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2455
2456 * gdb.base/skip.exp: Whitespace fix.
2457
2458 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2459
2460 * gdb.base/skip-inline.c: New file.
2461 * gdb.base/skip-inline.exp: New file.
2462
2463 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2464
2465 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2466 jit_function_00 to jit_function_stack_mangle.
2467 * gdb.base/jithost.c (jit_function_t): Rename to...
2468 (jit_function_stack_mangle_t): ... this.
2469 (jit_function_add_t): New typedef.
2470 (jit_function_00_code): Rename to...
2471 (jit_function_stack_mangle_code): ... this, make static.
2472 (jit_function_add_code): New.
2473 (main): Generate "add" function and call it. Adjust to changes
2474 in jithost_abi.
2475 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2476 (struct jithost_abi) <begin, end>: Remove fields.
2477 <object, function_stack_mangle, function_add>: New fields.
2478 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2479 code_end>: Remove fields.
2480 <func_stack_mangle>: New field.
2481 (read_debug_info): Adjust to renaming, create block for "add"
2482 function.
2483 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2484
2485 2019-12-11 Tom Tromey <tom@tromey.com>
2486
2487 * gdb.tui/resize.exp: Fix regexp.
2488 * gdb.tui/regs.exp: Fix regexps.
2489 * gdb.tui/main.exp: Fix regexp.
2490
2491 2019-12-11 Tom Tromey <tom@tromey.com>
2492
2493 * gdb.tui/resize.exp: Update.
2494 * gdb.tui/empty.exp (layouts): Update.
2495
2496 2019-12-11 Tom Tromey <tom@tromey.com>
2497
2498 * gdb.tui/regs.exp: Update.
2499 * gdb.tui/empty.exp (layouts): Update.
2500 * gdb.tui/basic.exp: Update.
2501 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2502
2503 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2504
2505 * gdb.base/options.exp: Add -raw-values in the print completion list.
2506 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2507
2508 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2509
2510 * gdb.threads/omp-par-scope.c: New file.
2511 * gdb/threads/omp-par-scope.exp: New file.
2512
2513 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2514
2515 * lib/gdb.exp (support_nested_function_tests): New proc.
2516
2517 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2518
2519 * lib/gdb.exp (gdb_compile_openmp): New proc.
2520 (build_executable_from_specs): Add an "openmp" option.
2521 (gdb_compile_pthreads): Add non-executable case.
2522
2523 2019-12-10 Tom Tromey <tromey@adacore.com>
2524
2525 * gdb.ada/unchecked_union.exp: New file.
2526 * gdb.ada/unchecked_union/pck.adb: New file.
2527 * gdb.ada/unchecked_union/pck.ads: New file.
2528 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2529 * gdb-utils.exp (string_to_regexp): Also quote "?".
2530
2531 2019-12-10 George Barrett <bob@bob131.so>
2532
2533 Test scripted probe breakpoints.
2534 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2535 * gdb.python/py-breakpoint.c (main): Likewise.
2536 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2537 specifier test.
2538 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2539
2540 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2541
2542 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2543 an rvalue parameter.
2544 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2545 parameter.
2546
2547 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2548
2549 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2550 modules.
2551
2552 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2555 broken version of GCC.
2556
2557 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2558
2559 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2560 sym-info-cmds library.
2561 * gdb.fortran/info-types.exp: Likewise.
2562 * lib/sym-info-cmds.exp: New file.
2563
2564 2019-12-08 Tom de Vries <tdevries@suse.de>
2565
2566 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2567
2568 2019-12-07 Keith Seitz <keiths@redhat.com>
2569
2570 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2571 * gdb.base/corefile-buildid-shlib.c: New file.
2572 * gdb.base/corefile-buildid.c: New file.
2573 * gdb.base/corefile-buildid.exp: New file.
2574
2575 2019-12-06 Tom de Vries <tdevries@suse.de>
2576
2577 * gdb.dwarf2/varval.exp: Add decl before def test.
2578
2579 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2580
2581 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2582
2583 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2584
2585 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2586 CV and reference conversion for overload resolution.
2587 * gdb.cp/rvalue-ref-overload.exp: Test it.
2588
2589 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2590
2591 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2592 * gdb.base/frameapply.exp: Test faas without command.
2593
2594 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2595
2596 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2597 Fortran tests.
2598 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2599 order.
2600
2601 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2602
2603 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2604 casting to type with no kind specified.
2605 (test_basic_parsing_of_type_kinds): Additional tests for types
2606 with no kind specified, and add tests for single/double
2607 precision/complex types.
2608
2609 2019-12-04 Tom Tromey <tromey@adacore.com>
2610
2611 * gdb.base/endianity.c (struct other) <x>: New field.
2612 (main): Initialize it.
2613 * gdb.base/endianity.exp: Update.
2614
2615 2019-12-04 Tom Tromey <tromey@adacore.com>
2616
2617 * gdb.ada/scalar_storage/storage.adb: New file.
2618 * gdb.ada/scalar_storage/pck.adb: New file.
2619 * gdb.ada/scalar_storage/pck.ads: New file.
2620 * gdb.ada/scalar_storage.exp: New file.
2621
2622 2019-12-04 Tom Tromey <tromey@adacore.com>
2623
2624 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2625 (main): Initialize it.
2626 * gdb.base/endianity.exp: Update.
2627
2628 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2629
2630 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2631
2632 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2633
2634 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2635 -symbol-info-module-functions and -symbol-info-module-variables.
2636
2637 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2638
2639 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2640
2641 2019-12-01 Richard Bunt <richard.bunt@arm.com>
2642 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.fortran/derived-type-striding.exp: New file.
2645 * gdb.fortran/derived-type-striding.f90: New file.
2646 * gdb.fortran/array-slices.exp: New file.
2647 * gdb.fortran/array-slices.f90: New file.
2648
2649 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2650
2651 * gdb.base/define.exp: Test . in command names.
2652 * gdb.base/setshow.exp: Update test, as . is now part of
2653 command name.
2654
2655 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2656
2657 * gdb.base/define-prefix.exp: New file.
2658
2659 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2660
2661 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2662 compile.
2663 (skip_btrace_pt_tests): Likewise.
2664
2665 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2666
2667 * gdb.fortran/info-modules.exp: Compile source files in correct
2668 order.
2669
2670 2019-11-27 Kevin Buettner <kevinb@redhat.com>
2671
2672 * gdb.dwarf2/imported-unit.exp: New file.
2673 * gdb.dwarf2/imported-unit.c: New file.
2674
2675 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2676
2677 * gdb.mi/mi-fortran-modules-2.f90: New file.
2678 * gdb.mi/mi-fortran-modules.exp: New file.
2679 * gdb.mi/mi-fortran-modules.f90: New file.
2680
2681 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2682
2683 * gdb.mi/mi-sym-info-1.c: New file.
2684 * gdb.mi/mi-sym-info-2.c: New file.
2685 * gdb.mi/mi-sym-info.exp: New file.
2686
2687 2019-11-22 Tom Tromey <tromey@adacore.com>
2688
2689 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2690 * gdb.ada/tasks/foo.adb: Add another stopping location.
2691
2692 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2693
2694 * gdb.base/endianity.c: New test.
2695 * gdb.base/endianity.exp: New file.
2696
2697 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2698
2699 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2700
2701 2019-11-21 Tom de Vries <tdevries@suse.de>
2702
2703 PR gdb/24956
2704 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2705
2706 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2707
2708 * gdb.python/py-progspace.exp: Add missing parentheses on some
2709 'print' commands.
2710
2711 2019-11-19 Tom Tromey <tom@tromey.com>
2712
2713 * gdb.tui/winheight.exp: New file.
2714
2715 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2716
2717 * gdb.base/ctf-whatis.c: Delete.
2718 * gdb.base/ctf-whatis.exp: Delete.
2719 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2720
2721 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2722
2723 * gdb.base/ctf-cvexpr.exp: Delete.
2724 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2725
2726 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2727
2728 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2729 the compiler. Clean up header comment a little.
2730 * gdb.base/ctf-ptype.exp: Likewise.
2731 * gdb.base/ctf-whatis.exp: Likewise.
2732 * lib/gdb.exp (skip_ctf_tests): New proc.
2733
2734 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2735
2736 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2737 * gdb.tui/corefile-run.exp: New file.
2738
2739 2019-11-14 Tom Tromey <tromey@adacore.com>
2740
2741 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2742 regression tests.
2743
2744 2019-11-12 Tom Tromey <tom@tromey.com>
2745
2746 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2747 after any command. Expect prompt after WAIT_FOR is seen.
2748 (enter_tui): Enable resize messages.
2749 (command): Expect command in output.
2750 (get_line): Avoid error when cursor appears to be off-screen.
2751 (dump_screen): Include screen size in title.
2752 (_do_resize): New proc, from "resize".
2753 (resize): Rewrite. Do resize in two steps.
2754 * gdb.tui/empty.exp (layouts): Fix entries.
2755 (check_boxes): Remove xfail.
2756 (check_text): Dump screen on failure.
2757
2758 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2759
2760 * gdb.python/py-symbol.exp: Add test for
2761 gdb.lookup_static_symbols.
2762
2763 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.python/py-symbol.c: Declare and call function from new
2766 py-symbol-2.c file.
2767 * gdb.python/py-symbol.exp: Compile both source files, and add new
2768 tests for gdb.lookup_static_symbol.
2769 * gdb.python/py-symbol-2.c: New file.
2770
2771 2019-11-02 Tom de Vries <tdevries@suse.de>
2772
2773 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2774 * gdb.base/anon.exp: Same.
2775 * gdb.base/auto-connect-native-target.exp: Same.
2776 * gdb.base/call-ar-st.exp: Same.
2777 * gdb.base/catch-syscall.exp: Same.
2778 * gdb.base/commands.exp: Same.
2779 * gdb.base/default.exp: Same.
2780 * gdb.base/display.exp: Same.
2781 * gdb.base/float.exp: Same.
2782 * gdb.base/foll-fork.exp: Same.
2783 * gdb.base/help.exp: Same.
2784 * gdb.base/info-macros.exp: Same.
2785 * gdb.base/info-proc.exp: Same.
2786 * gdb.base/info-target.exp: Same.
2787 * gdb.base/long_long.exp: Same.
2788 * gdb.base/macscp.exp: Same.
2789 * gdb.base/memattr.exp: Same.
2790 * gdb.base/nofield.exp: Same.
2791 * gdb.base/pointers.exp: Same.
2792 * gdb.base/printcmds.exp: Same.
2793 * gdb.base/ptype.exp: Same.
2794 * gdb.base/restore.exp: Same.
2795 * gdb.base/return.exp: Same.
2796 * gdb.base/scope.exp: Same.
2797 * gdb.base/set-noassign.exp: Same.
2798 * gdb.base/setshow.exp: Same.
2799 * gdb.base/shlib-call.exp: Same.
2800 * gdb.base/signals.exp: Same.
2801 * gdb.base/sigstep.exp: Same.
2802 * gdb.base/skip.exp: Same.
2803 * gdb.base/solib-symbol.exp: Same.
2804 * gdb.base/stap-probe.exp: Same.
2805 * gdb.base/step-line.exp: Same.
2806 * gdb.base/step-test.exp: Same.
2807 * gdb.base/style.exp: Same.
2808 * gdb.base/varargs.exp: Same.
2809 * gdb.base/vla-datatypes.exp: Same.
2810 * gdb.base/vla-ptr.exp: Same.
2811 * gdb.base/vla-sideeffect.exp: Same.
2812 * gdb.base/volatile.exp: Same.
2813 * gdb.base/watch-cond-infcall.exp: Same.
2814 * gdb.base/watchpoint.exp: Same.
2815
2816 2019-11-02 Tom de Vries <tdevries@suse.de>
2817
2818 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2819 * gdb.cp/cpexprs.exp: Same.
2820 * gdb.cp/except-multi-location.exp: Same.
2821 * gdb.cp/exceptprint.exp: Same.
2822 * gdb.cp/gdb2384.exp: Same.
2823 * gdb.cp/inherit.exp: Same.
2824 * gdb.cp/m-static.exp: Same.
2825 * gdb.cp/meth-typedefs.exp: Same.
2826 * gdb.cp/misc.exp: Same.
2827 * gdb.cp/namespace.exp: Same.
2828 * gdb.cp/non-trivial-retval.exp: Same.
2829 * gdb.cp/overload.exp: Same.
2830 * gdb.cp/pr17132.exp: Same.
2831 * gdb.cp/re-set-overloaded.exp: Same.
2832 * gdb.cp/rvalue-ref-types.exp: Same.
2833 * gdb.cp/templates.exp: Same.
2834
2835 2019-11-01 Luis Machado <luis.machado@linaro.org>
2836
2837 PR gdb/25124
2838
2839 * gdb.arch/pr25124.S: New file.
2840 * gdb.arch/pr25124.exp: New file.
2841
2842 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.fortran/info-modules.exp: Update expected results, and add
2845 additional tests for 'info module functinos', and 'info module
2846 variables'.
2847 * gdb.fortran/info-types.exp: Update expected results.
2848 * gdb.fortran/info-types.f90: Extend testcase with additional
2849 module variables and functions.
2850
2851 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.fortran/info-modules.exp: New file.
2854 * gdb.fortran/info-types.exp: Build with new file.
2855 * gdb.fortran/info-types.f90: Include and use new module.
2856 * gdb.fortran/info-types-2.f90: New file.
2857
2858 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2859
2860 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2861 * gdb.base/settings.exp: Test all settings types using
2862 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2863 that now verifies that the value of "maint show" is the same as
2864 returned by the settings functions. Test the type of the
2865 maintenance settings.
2866 * gdb.base/default.exp: Update show_conv_list.
2867
2868 2019-10-31 Tom de Vries <tdevries@suse.de>
2869
2870 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2871 gdb_test.
2872 * gdb.arch/amd64-disp-step.exp: Same.
2873 * gdb.asm/asm-source.exp: Same.
2874 * gdb.btrace/buffer-size.exp: Same.
2875 * gdb.btrace/cpu.exp: Same.
2876 * gdb.btrace/enable.exp: Same.
2877 * gdb.dwarf2/count.exp: Same.
2878 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2879 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2880 * gdb.fortran/vla-datatypes.exp: Same.
2881 * gdb.fortran/vla-history.exp: Same.
2882 * gdb.fortran/vla-ptype.exp: Same.
2883 * gdb.fortran/vla-value.exp: Same.
2884 * gdb.fortran/whatis_type.exp: Same.
2885 * gdb.guile/guile.exp: Same.
2886 * gdb.multi/tids.exp: Same.
2887 * gdb.python/py-finish-breakpoint.exp: Same.
2888 * gdb.python/py-framefilter.exp: Same.
2889 * gdb.python/py-pp-registration.exp: Same.
2890 * gdb.python/py-xmethods.exp: Same.
2891 * gdb.python/python.exp: Same.
2892 * gdb.server/connect-with-no-symbol-file.exp: Same.
2893 * gdb.server/no-thread-db.exp: Same.
2894 * gdb.server/run-without-local-binary.exp: Same.
2895 * gdb.stabs/weird.exp: Same.
2896 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2897 * gdb.threads/thread-find.exp: Same.
2898 * gdb.threads/tls-shared.exp: Same.
2899 * gdb.threads/tls.exp: Same.
2900 * gdb.threads/wp-replication.exp: Same.
2901 * gdb.trace/ax.exp: Same.
2902 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2903
2904 2019-10-31 Tom de Vries <tdevries@suse.de>
2905
2906 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2907 * gdb.ada/array_subscript_addr.exp: Same.
2908 * gdb.ada/arrayidx.exp: Same.
2909 * gdb.ada/arrayparam.exp: Same.
2910 * gdb.ada/arrayptr.exp: Same.
2911 * gdb.ada/boolean_expr.exp: Same.
2912 * gdb.ada/call_pn.exp: Same.
2913 * gdb.ada/complete.exp: Same.
2914 * gdb.ada/fixed_cmp.exp: Same.
2915 * gdb.ada/fun_addr.exp: Same.
2916 * gdb.ada/funcall_param.exp: Same.
2917 * gdb.ada/interface.exp: Same.
2918 * gdb.ada/mod_from_name.exp: Same.
2919 * gdb.ada/null_array.exp: Same.
2920 * gdb.ada/packed_array.exp: Same.
2921 * gdb.ada/packed_tagged.exp: Same.
2922 * gdb.ada/print_chars.exp: Same.
2923 * gdb.ada/print_pc.exp: Same.
2924 * gdb.ada/ptype_arith_binop.exp: Same.
2925 * gdb.ada/ptype_field.exp: Same.
2926 * gdb.ada/ptype_tagged_param.exp: Same.
2927 * gdb.ada/rec_return.exp: Same.
2928 * gdb.ada/ref_tick_size.exp: Same.
2929 * gdb.ada/str_ref_cmp.exp: Same.
2930 * gdb.ada/taft_type.exp: Same.
2931 * gdb.ada/tagged.exp: Same.
2932 * gdb.ada/type_coercion.exp: Same.
2933 * gdb.ada/uninitialized_vars.exp: Same.
2934
2935 2019-10-30 Tom de Vries <tdevries@suse.de>
2936
2937 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2938
2939 2019-10-26 Tom de Vries <tdevries@suse.de>
2940
2941 * gdb.base/bigcore.c: Fix typos in comments.
2942 * gdb.base/ctf-ptype.c: Same.
2943 * gdb.base/long_long.c: Same.
2944 * gdb.dwarf2/dw2-op-out-param.S: Same.
2945 * gdb.python/py-evthreads.c: Same.
2946 * gdb.reverse/i387-stack-reverse.c: Same.
2947 * gdb.trace/tfile.c: Same.
2948 * lib/compiler.c: Same.
2949 * lib/compiler.cc: Same.
2950
2951 2019-10-25 Tom de Vries <tdevries@suse.de>
2952
2953 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2954 gdb_test_multiple calls.
2955 * gdb.reverse/sigall-reverse.exp: Same.
2956 * gdb.reverse/solib-precsave.exp: Same.
2957 * gdb.reverse/solib-reverse.exp: Same.
2958 * gdb.reverse/until-precsave.exp: Same.
2959 * gdb.reverse/until-reverse.exp: Same.
2960
2961 2019-10-24 Tom de Vries <tdevries@suse.de>
2962
2963 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2964 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2965 kfail using -wrap pattern flag and convenience variable
2966 gdb_test_name.
2967
2968 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2969
2970 * gdb.python/py-progspace.exp: Add tests for the
2971 Progspace.block_for_pc method.
2972
2973 2019-10-23 Tom Tromey <tom@tromey.com>
2974
2975 * configure: Rebuild.
2976 * aclocal.m4: Use m4_include, not sinclude.
2977
2978 2019-10-21 Tom de Vries <tdevries@suse.de>
2979
2980 * gdb.base/infcall-nested-structs.c: Add
2981 __attribute__((noinline,noclone)) to all functions.
2982 (call_all): Add missing variable initialization. Simplify return value.
2983 (breakpt): Increment volatile variable, to prevent call from being
2984 optimized out.
2985 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2986
2987 2019-10-17 Tom de Vries <tdevries@suse.de>
2988
2989 * gdb.fortran/module.exp: Allow info variables to print info for files
2990 other than module.f90.
2991
2992 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2993
2994 * gdb.fortran/module.exp: Extend with 'info variables' test.
2995
2996 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2997
2998 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2999 F77_FOR_TARGET.
3000
3001 2019-10-16 Tom de Vries <tdevries@suse.de>
3002
3003 PR tdep/25096
3004 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3005
3006 2019-10-16 Tom de Vries <tdevries@suse.de>
3007
3008 PR tdep/24104
3009 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3010 Add KFAIL for PR tdep/25096.
3011
3012 2019-10-16 Tom de Vries <tdevries@suse.de>
3013
3014 PR testsuite/25059
3015 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3016
3017 2019-10-16 Tom de Vries <tdevries@suse.de>
3018
3019 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3020 as signed.
3021
3022 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3023
3024 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3025 one instead of increasing timeout.
3026
3027 2019-10-13 Tom de Vries <tdevries@suse.de>
3028
3029 PR record/25038
3030 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3031 * gdb.reverse/sigall-reverse.exp: Same.
3032 * gdb.reverse/solib-precsave.exp: Same.
3033 * gdb.reverse/solib-reverse.exp: Same.
3034 * gdb.reverse/step-precsave.exp: Same.
3035 * gdb.reverse/until-precsave.exp: Same.
3036 * gdb.reverse/until-reverse.exp: Same.
3037 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3038
3039 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3040
3041 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3042 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3043 (cmp_struct_05_01, cmp_struct_static_02_01)
3044 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3045 comparisons.
3046
3047 2019-10-10 Tom de Vries <tdevries@suse.de>
3048
3049 PR testsuite/24888
3050 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3051 gnatlink.
3052
3053 2019-10-09 Tom de Vries <tdevries@suse.de>
3054
3055 PR testsuite/25048
3056 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3057
3058 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3059
3060 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3061 exceptions due to missing debug information.
3062
3063 2019-10-07 Tom de Vries <tdevries@suse.de>
3064
3065 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3066
3067 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3068
3069 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3070 * gdb.base/annota1.exp: Update to use gdb_test_name.
3071
3072 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3073
3074 * gdb.base/ctf-whatis.exp: New file.
3075 * gdb.base/ctf-whatis.c: New file.
3076 * gdb.base/ctf-ptype.exp: New file.
3077 * gdb.base/ctf-ptype.c: New file.
3078 * gdb.base/ctf-constvars.exp: New file.
3079 * gdb.base/ctf-constvars.c: New file.
3080 * gdb.base/ctf-cvexpr.exp: New file.
3081
3082 2019-10-04 Tom de Vries <tdevries@suse.de>
3083
3084 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3085 for loop.
3086
3087 2019-10-03 Tom Tromey <tom@tromey.com>
3088
3089 PR rust/24976:
3090 * gdb.rust/simple.rs (Union2): New type.
3091 (main): Use Union2.
3092 * gdb.rust/simple.exp: Add test.
3093
3094 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3095
3096 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3097 nested function prefix.
3098
3099 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3100 Richard Bunt <richard.bunt@arm.com>
3101 Andrew Burgess <andrew.burgess@embecosm.com>
3102
3103 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3104 nested functions.
3105 * gdb.fortran/nested-funcs.f90: Update expected results.
3106 * gdb.fortran/nested-funcs-2.exp: New file.
3107 * gdb.fortran/nested-funcs-2.f90: New file.
3108
3109 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3110
3111 * gdb.python/py-parameter.exp: Make test names unique.
3112 * gdb.python/py-template.exp: Likewise.
3113 * gdb.python/py-value.exp: Likewise.
3114
3115 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * gdb.base/break-interp.exp: Reduce test name duplication.
3118 * gdb.base/call-sc.exp: Likewise.
3119 * gdb.base/callfuncs.exp: Likewise.
3120 * gdb.base/charset.exp: Likewise.
3121 * gdb.base/dump.exp: Likewise.
3122 * gdb.base/ena-dis-br.exp: Likewise.
3123 * gdb.base/relational.exp: Likewise.
3124 * gdb.base/step-over-syscall.exp: Likewise.
3125 * gdb.base/structs.exp: Likewise.
3126
3127 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3128
3129 * gdb.linespec/explicit.exp: Make test names unique.
3130 * gdb.linespec/ls-errs.exp: Likewise.
3131
3132 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.reverse/break-precsave.exp: Make test names unique.
3135 * gdb.reverse/break-reverse.exp: Likewise.
3136 * gdb.reverse/finish-precsave.exp: Likewise.
3137 * gdb.reverse/finish-reverse.exp: Likewise.
3138 * gdb.reverse/machinestate-precsave.exp: Likewise.
3139 * gdb.reverse/machinestate.exp: Likewise.
3140 * gdb.reverse/readv-reverse.exp: Likewise.
3141 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3142 * gdb.reverse/sigall-precsave.exp: Likewise.
3143 * gdb.reverse/sigall-reverse.exp: Likewise.
3144 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3145 * gdb.reverse/watch-precsave.exp: Likewise.
3146 * gdb.reverse/watch-reverse.exp: Likewise.
3147
3148 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3149
3150 * gdb.threads/stop-with-handle.c: New file.
3151 * gdb.threads/stop-with-handle.exp: New file.
3152
3153 2019-10-03 Tom de Vries <tdevries@suse.de>
3154
3155 PR testsuite/25059
3156 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3157 directory" line to be missing.
3158
3159 2019-10-03 Tom de Vries <tdevries@suse.de>
3160
3161 PR testsuite/25059
3162 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3163 type optional.
3164
3165 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3166
3167 * gdb.python/py-format-string.c (string.h): New include.
3168 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3169 the same value, for endianness-independence.
3170 * gdb.python/py-format-string.exp (default_regexp_dict)
3171 (test_pretty_structs, test_format): Adjust expected output to the
3172 changed initialization.
3173
3174 2019-10-02 Tom Tromey <tromey@adacore.com>
3175
3176 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3177
3178 2019-10-02 Pedro Alves <palves@redhat.com>
3179 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3182 "print-file-var.h".
3183 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3184 (get_version_1): Print this_version_id and its address.
3185 Add extern "C" wrappers around interface functions.
3186 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3187 "print-file-var.h".
3188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3189 (get_version_2): Print this_version_id and its address.
3190 Add extern "C" wrappers around interface functions.
3191 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3192 <stddef.h> and "print-file-var.h".
3193 Add extern "C" wrappers around interface functions.
3194 [VERSION_ID_MAIN] (this_version_id): Define.
3195 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3196 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3197 up extern "C" blocks.
3198 * gdb.base/print-file-var.exp (test): New, factored out from top
3199 level.
3200 (top level): Test all combinations of attribute hidden or not,
3201 dlopen or not, and this_version_id symbol in main file or not.
3202 Compile tests as both C++ and C, make test names unique.
3203
3204 2019-10-01 Tom Tromey <tom@tromey.com>
3205
3206 * gdb.base/style.exp: Test "show logging filename".
3207
3208 2019-10-01 Tom Tromey <tom@tromey.com>
3209
3210 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3211 * gdb.base/style.exp: Add metadata style test.
3212
3213 2019-10-01 Tom Tromey <tom@tromey.com>
3214
3215 * gdb.base/style.exp: Test "pwd".
3216
3217 2019-10-01 Tom Tromey <tom@tromey.com>
3218
3219 * gdb.base/style.exp: Update tests.
3220
3221 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3222
3223 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3224 'six' to unsigned.
3225 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3226 'five'. Use an all-ones bit pattern for each.
3227 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3228 to its changed values.
3229
3230 2019-09-30 Tom Tromey <tromey@adacore.com>
3231
3232 * gdb.rust/traits.rs: Disable all warnings.
3233
3234 2019-09-29 Tom de Vries <tdevries@suse.de>
3235
3236 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3237
3238 2019-09-29 Tom de Vries <tdevries@suse.de>
3239
3240 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3241
3242 2019-09-27 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3245
3246 2019-09-27 Tom de Vries <tdevries@suse.de>
3247
3248 PR record/23188
3249 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3250
3251 2019-09-26 Tom Tromey <tromey@adacore.com>
3252
3253 * gdb.ada/py_taft.exp: New file.
3254 * gdb.ada/py_taft/main.adb: New file.
3255 * gdb.ada/py_taft/pkg.adb: New file.
3256 * gdb.ada/py_taft/pkg.ads: New file.
3257
3258 2019-09-24 Tom de Vries <tdevries@suse.de>
3259
3260 PR gdb/24598
3261 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3262
3263 2019-09-22 Tom de Vries <tdevries@suse.de>
3264
3265 * gdb.base/restore.exp: Allow register variables to be optimized out at
3266 -O0.
3267
3268 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3269
3270 * gdb.arch/spu-info.exp: Remove file.
3271 * gdb.arch/spu-info.c: Remove file.
3272 * gdb.arch/spu-ls.exp: Remove file.
3273 * gdb.arch/spu-ls.c: Remove file.
3274
3275 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3276 * gdb.asm/spu.inc: Remove file.
3277
3278 * gdb.base/dump.exp: Remove support for spu*-*-*.
3279 * gdb.base/stack-checking.exp: Likewise.
3280 * gdb.base/overlays.exp: Likewise.
3281 * gdb.base/ovlymgr.c: Likewise.
3282 * gdb.base/spu.ld: Remove file.
3283
3284 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3285 * gdb.cp/cpexprs.exp: Likewise.
3286 * gdb.cp/exception.exp: Likewise.
3287 * gdb.cp/gdb2495.exp: Likewise.
3288 * gdb.cp/mb-templates.exp: Likewise.
3289 * gdb.cp/pr9167.exp: Likewise.
3290 * gdb.cp/userdef.exp: Likewise.
3291
3292 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3293
3294 * gdb.cell: Remove directory.
3295 * lib/cell.exp: Remove file.
3296
3297 2019-09-19 Tom de Vries <tdevries@suse.de>
3298
3299 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3300
3301 2019-09-19 Tom de Vries <tdevries@suse.de>
3302
3303 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3304
3305 2019-09-19 Tom de Vries <tdevries@suse.de>
3306
3307 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3308 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3309 (gdb_target_cmd): ... here.
3310 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3311 value 2.
3312
3313 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3314
3315 * gdb.base/source-dir.exp: Avoid having directory names in test
3316 names.
3317
3318 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3319
3320 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3321 directory.
3322
3323 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3324
3325 * gdb.base/list-missing-source.exp: New file.
3326
3327 2019-09-14 Tom de Vries <tdevries@suse.de>
3328
3329 PR teststuite/24599
3330 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3331 * lib/ada.exp (gnatmake_version_at_least): New proc.
3332
3333 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3334
3335 * gdb.base/maint.exp: Use exec_has_index_section.
3336
3337 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3338
3339 * gdb.base/maint.exp: Add test for 'maint info sections'.
3340
3341 2019-09-12 Tom de Vries <tdevries@suse.de>
3342
3343 * gdb.base/store.exp: Allow register variables to be optimized out at
3344 -O0.
3345
3346 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3347
3348 * gdb.ada/rdv_wait.exp: Update to new task names.
3349 * gdb.base/task_switch_in_core.exp: Likewise.
3350 * gdb.base/info_sources_base.c: Likewise.
3351
3352 2019-09-10 Tom Tromey <tromey@adacore.com>
3353
3354 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3355
3356 2019-09-10 Tom Tromey <tromey@adacore.com>
3357
3358 * gdb.ada/dgopt.exp: New file.
3359 * gdb.ada/dgopt/x.adb: New file.
3360
3361 2019-09-08 Tom Tromey <tom@tromey.com>
3362
3363 * gdb.tui/resize.exp: Remove setup_xfail.
3364 * gdb.tui/regs.exp: Remove setup_xfail.
3365 * gdb.tui/basic.exp: Remove setup_xfail.
3366
3367 2019-09-06 David Blaikie <dblaikie@gmail.com>
3368
3369 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3370 * gdb.cp/cplabel.exp: Ditto.
3371 * gdb.linespec/ls-errs.exp: Ditto.
3372
3373 2019-09-05 Tom de Vries <tdevries@suse.de>
3374
3375 * lib/gdb.exp (cmp_file_string): New proc.
3376 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3377 runto_main. Verify save breakpoints output.
3378
3379 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3380
3381 * gdb.base/info-var.exp: Test info variables without running
3382 to main, to avoid expect's buffer overflow.
3383
3384 2019-09-03 Tom Tromey <tromey@adacore.com>
3385
3386 * gdb.ada/bias.exp: New file.
3387 * gdb.ada/bias/bias.adb: New file.
3388 * gdb.ada/print_chars.exp: Add regression test.
3389 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3390 (MC): New variable.
3391
3392 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3393
3394 * gdb.base/argv0-symlink.exp: Run only on native target
3395 and local host.
3396
3397 2019-08-29 Tom de Vries <tdevries@suse.de>
3398
3399 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3400 diverse debug info.
3401 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3402
3403 2019-08-28 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.base/info-var.exp: Allow info variables to print info for files
3406 other than info-var-f1.c and info-var-f2.c.
3407
3408 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3409
3410 * gdb.fortran/info-types.exp: Add module.
3411 * gdb.fortran/info-types.f90: Update expected results.
3412
3413 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.fortran/info-types.exp: New file.
3416 * gdb.fortran/info-types.f90: New file.
3417 * lib/fortran.exp (fortran_character1): New proc.
3418
3419 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3420
3421 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3422 functions'. Reindent as needed.
3423 * gdb.base/info-var-f1.c: New file.
3424 * gdb.base/info-var-f2.c: New file.
3425 * gdb.base/info-var.exp: New file.
3426 * gdb.base/info-var.h: New file.
3427
3428 2019-08-26 Tom de Vries <tdevries@suse.de>
3429
3430 PR c++/24852
3431 * gdb.cp/no-libstdcxx-probe.exp: New test.
3432
3433 2019-08-26 Tom de Vries <tdevries@suse.de>
3434
3435 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3436 * tests need to be skipped.
3437 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3438 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3439 mi_skip_libstdcxx_probe_tests.
3440
3441 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3442
3443 * gdb.python/py-xmethods.exp: Use raw strings when passing
3444 arguments to SimpleXMethodMatcher.
3445
3446 2019-08-22 Tom de Vries <tdevries@suse.de>
3447
3448 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3449 more informative.
3450
3451 2019-08-21 Pedro Alves <palves@redhat.com>
3452
3453 * gdb.base/with.exp: Test "with" with no arguments.
3454
3455 2019-08-21 Tom de Vries <tdevries@suse.de>
3456
3457 * gdb.base/gdb-caching-proc.exp: Sort files.
3458
3459 2019-08-20 Tom de Vries <tdevries@suse.de>
3460
3461 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3462 compilation.
3463
3464 2019-08-16 Tom de Vries <tdevries@suse.de>
3465
3466 * gdb.base/compare-sections.exp ("after run to main"): Allow
3467 mismatched read-only sections for PIE executables.
3468
3469 2019-08-16 Tom Tromey <tom@tromey.com>
3470
3471 * lib/tuiterm.exp (_csi_Z): New proc.
3472 * gdb.tui/basic.exp: Update window positions.
3473 * gdb.tui/empty.exp: Update window positions.
3474
3475 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3476
3477 * gdb.base/examine-backward.exp: Correct regexp for
3478 "examine 3 bytes backward from ${address_zero}".
3479
3480 2019-08-15 Tom Tromey <tom@tromey.com>
3481
3482 * gdb.tui/empty.exp: Enable resizing tests.
3483
3484 2019-08-15 Tom Tromey <tromey@adacore.com>
3485
3486 * gdb.ada/char_enum.exp: Add regression tests.
3487 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3488 and '0'.
3489 (Char, Gchar): Update.
3490 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3491
3492 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3493
3494 * gdb.python/python.exp: Expect a leading underscore on
3495 GdbOutput{,Error}File.
3496
3497 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3498
3499 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3500 Windows host.
3501
3502 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3503
3504 * gdb.base/batch-preserve-term-settings.exp
3505 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3506
3507 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3508
3509 * lib/gdb.exp: When running on a mingw target, replace
3510 /x/ with x:/.
3511
3512 2019-08-14 Alan Hayward <alan.hayward@arm.com>
3513
3514 * gdb.arch/aarch64-prologue.c: New test.
3515 * gdb.arch/aarch64-prologue.exp: New file.
3516
3517 2019-08-13 Tom de Vries <tdevries@suse.de>
3518
3519 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3520 Thread.
3521
3522 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3523
3524 * gdb.python/py-completion.exp: Download the .py file to the host
3525 and use its host pathname. Conditionalize tests that use
3526 tab completion and manipulate files on the build machine.
3527 * gdb.python/py-events.exp: Download the .py file to the host
3528 and use its host pathname.
3529 * gdb.python/py-evsignal.exp: Likewise.
3530 * gdb.python/py-evthreads.exp: Likewise.
3531 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3532 pathname syntax.
3533 * gdb.python/py-framefilter.exp: Download the .py file to the right
3534 place on the host. Match Windows pathname syntax.
3535 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3536 .py file to the host and use its host pathname.
3537 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3538 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3539 build pathname. Skip symlink test on Windows host. Add missing
3540 newline at end of file.
3541 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3542 and use its host pathname.
3543 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3544 * gdb.python/py-section-script.exp: Use host location of binfile
3545 on safe-path. Use correct path separator on Windows host.
3546 Reorder alternatives in gdb_test_multiple to prevent matching
3547 the wrong alternative on success.
3548 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3549
3550 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3551
3552 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3553 expect the GDB inferior to no longer immediately stop after
3554 being resumed with "signal SIGINT".
3555
3556 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3557
3558 * gdb.linespec/break-ask.exp: Generalize regexps to match
3559 Windows pathnames too.
3560
3561 2019-08-08 Tom de Vries <tdevries@suse.de>
3562
3563 PR testsuite/24862
3564 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3565
3566 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3567
3568 * gdb.base/style.exp: Update tests for help doc new invariants.
3569 * gdb.base/help.exp: Likewise.
3570
3571 2019-08-06 Tom Tromey <tom@tromey.com>
3572
3573 * gdb.base/style.exp: Add disassemble test.
3574 * gdb.base/style.c (some_called_function): New function.
3575 (main): Use it.
3576
3577 2019-08-05 Christian Biesinger <cbiesinger@google.com>
3578
3579 * gdb.python/py-block.exp: Test dictionary access on blocks.
3580
3581 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
3582
3583 PR gdb/24863
3584 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3585 -list-thread-groups --available test when running under
3586 check-read1.
3587
3588 2019-08-05 Tom de Vries <tdevries@suse.de>
3589
3590 PR testsuite/24863
3591 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3592 * gdb.base/help.exp: Use with_read1_timeout_factor.
3593 * gdb.base/info-macros.exp: Same.
3594 * gdb.cp/nested-types.exp: Same.
3595
3596 2019-08-05 Tom de Vries <tdevries@suse.de>
3597
3598 * lib/gdb.exp (version_at_least): Factor out of ...
3599 (tcl_version_at_least): ... here.
3600 (gdb_compile): Fail if pie results in non-PIE executable.
3601 (readelf_version, readelf_prints_pie): New proc.
3602 (exec_is_pie): Return -1 if unknown.
3603
3604 2019-08-05 Tom de Vries <tdevries@suse.de>
3605
3606 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3607
3608 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3609
3610 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3611
3612 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3613
3614 * lib/completion-support.exp (test_gdb_complete_none): Skip
3615 tab completion tests if no readline support.
3616 (test_gdb_complete_unique_re): Likewise.
3617 (test_gdb_complete_multiple): Likewise.
3618
3619 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3620
3621 * gdb.base/info_sources.exp: New file.
3622 * gdb.base/info_sources.c: New file.
3623 * gdb.base/info_sources_base.c: New file.
3624
3625 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3626
3627 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3628 prefix argument.
3629 (test_exit_status): Add prefix argument.
3630
3631 2019-08-01 Tom de Vries <tdevries@suse.de>
3632
3633 PR testsuite/24863
3634 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3635 calling exp_continue for new thread and thread exited messages.
3636
3637 2019-08-01 Tom de Vries <tdevries@suse.de>
3638
3639 PR testsuite/24863
3640 * gdb.base/structs.exp: Fix check-read1 timeout using
3641 gdb_test_sequence.
3642 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3643
3644 2019-08-01 Tom de Vries <tdevries@suse.de>
3645
3646 PR testsuite/24863
3647 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3648 line.
3649
3650 2019-08-01 Tom de Vries <tdevries@suse.de>
3651
3652 PR testsuite/24863
3653 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3654
3655 2019-07-30 Tom Tromey <tromey@adacore.com>
3656
3657 * gdb.ada/display_nested.exp: New file.
3658 * gdb.ada/display_nested/foo.adb: New file.
3659 * gdb.ada/display_nested/pack.adb: New file.
3660 * gdb.ada/display_nested/pack.ads: New file.
3661
3662 2019-07-30 Christian Biesinger <cbiesinger@google.com>
3663
3664 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3665 namespace.
3666 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3667
3668 2019-07-30 Tom de Vries <tdevries@suse.de>
3669
3670 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3671 instead.
3672
3673 2019-07-30 Tom de Vries <tdevries@suse.de>
3674
3675 PR testsuite/24834
3676 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3677 (exec_is_pie): New proc.
3678
3679 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3680
3681 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3682
3683 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3684
3685 * gdb.python/py-objfile.c: Add global and static vars.
3686 * gdb.python/py-objfile.exp: Test new functions Objfile.
3687 lookup_global_symbol and lookup_static_symbol.
3688
3689 2019-07-29 Tom Tromey <tom@tromey.com>
3690
3691 * lib/tuiterm.exp (Term::_csi_@): New proc.
3692 (Term::_csi_X): Don't move cursor.
3693
3694 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3695
3696 * gdb.base/options.exp: Update backtrace - completion to
3697 new option -frame-info.
3698 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3699 Test new 'set print frame-info'. Test backtrace -frame-info
3700 overriding 'set print frame-info'.
3701 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3702 Test new 'set print frame-info'.
3703 Verify consistency of backtrace with and without filters, with and
3704 without -no-filters.
3705 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3706 default.
3707
3708 2019-07-29 Tom de Vries <tdevries@suse.de>
3709
3710 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3711 no arguments".
3712
3713 2019-07-29 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3716 is a substring of the first for "complete non-unique file name".
3717
3718 2019-07-29 Tom de Vries <tdevries@suse.de>
3719
3720 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3721 with ".*".
3722
3723 2019-07-29 Tom de Vries <tdevries@suse.de>
3724
3725 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3726 Pass prompt_regexp parameter to gdb_test_multiple calls.
3727
3728 2019-07-29 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
3731 print registers" regexps.
3732
3733 2019-07-29 Tom de Vries <tdevries@suse.de>
3734
3735 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3736
3737 2019-07-29 Tom de Vries <tdevries@suse.de>
3738
3739 PR gdb/24855
3740 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3741 (skip_python_tests_prompt): Add prompt_regexp argument to
3742 gdb_test_multiple calls.
3743
3744 2019-07-27 Tom Tromey <tom@tromey.com>
3745
3746 * gdb.tui/main.exp: New file.
3747
3748 2019-07-27 Tom Tromey <tom@tromey.com>
3749
3750 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3751 optional.
3752 * gdb.tui/empty.exp: New file.
3753
3754 2019-07-27 Tom Tromey <tom@tromey.com>
3755
3756 * lib/tuiterm.exp (spawn): New proc.
3757 (Term::resize): New proc.
3758 * gdb.tui/resize.exp: New file.
3759
3760 2019-07-27 Tom Tromey <tom@tromey.com>
3761
3762 * gdb.tui/list.exp: New file.
3763
3764 2019-07-27 Tom Tromey <tom@tromey.com>
3765
3766 * gdb.tui/regs.exp: New file.
3767
3768 2019-07-27 Tom Tromey <tom@tromey.com>
3769
3770 * gdb.tui/basic.exp: Add "layout split" test.
3771
3772 2019-07-27 Tom Tromey <tom@tromey.com>
3773
3774 * gdb.tui/basic.exp: Add "layout asm" test.
3775
3776 2019-07-27 Tom Tromey <tom@tromey.com>
3777
3778 * lib/tuiterm.exp: New file.
3779 * gdb.tui/basic.exp: New file.
3780
3781 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3782
3783 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3784 Enable tests associated with this flag. Adjust regex
3785 referencing "foo_low" to now refer to "foo_cold" instead.
3786
3787 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3788
3789 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3790 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3791 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3792 foo_cold. Revise comments to match.
3793 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3794 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3795 were wrapped into this proc; Call do_test in loop from outermost
3796 level.
3797 (foo_low): Rename all occurrences to "foo_cold".
3798 (backtrace from baz): New test.
3799 (x2/i foo_cold): New test.
3800 (info line *foo_cold): New test.
3801
3802 2019-07-26 Tom de Vries <tdevries@suse.de>
3803
3804 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3805
3806 2019-07-25 Tom de Vries <tdevries@suse.de>
3807
3808 PR testsuite/24830
3809 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3810 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3811 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3812 (skip_libstdcxx_probe_tests): ... here.
3813 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3814
3815 2019-07-24 Tom de Vries <tdevries@suse.de>
3816
3817 PR testsuite/24807
3818 * gdb.objc/basicclass.m: Include stdio.h.
3819 * gdb.objc/nondebug.m: Same.
3820 * gdb.objc/objcdecode.m: Same.
3821
3822 2019-07-24 Tom de Vries <tdevries@suse.de>
3823
3824 PR testsuite/24612
3825 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3826 additional_flags.
3827
3828 2019-07-24 Tom de Vries <tdevries@suse.de>
3829
3830 PR testsuite/24831
3831 * gdb.multi/tids.exp: Update error messages for info threads.
3832
3833 2019-07-24 Tom de Vries <tdevries@suse.de>
3834
3835 * gdb.base/info-types.exp: Allow info types to print info for more than
3836 one file.
3837
3838 2019-07-23 Tom de Vries <tdevries@suse.de>
3839
3840 PR testsuite/24842
3841 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3842 gdb_spawn_with_cmdline_opts.
3843
3844 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3845
3846 * gdb.arch/arm-cmse-sgstubs.c: New test.
3847 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3848
3849 2019-07-23 Tom de Vries <tdevries@suse.de>
3850
3851 PR testsuite/24711
3852 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3853 issuing next command.
3854
3855 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3856
3857 * gdb.ada/info_auto_lang.exp: Update expected results.
3858 * gdb.base/info-types.c: Add additional types to check.
3859 * gdb.base/info-types.exp: Update expected results.
3860
3861 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3862
3863 * gdb.base/info-types.c: New file.
3864 * gdb.base/info-types.exp: New file.
3865
3866 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.arch/riscv-bp-infcall.c: New file.
3869 * gdb.arch/riscv-bp-infcall.exp: New file.
3870
3871 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3872
3873 PR breakpoints/24541
3874 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3875
3876 2019-07-14 Tom de Vries <tdevries@suse.de>
3877
3878 PR testsuite/24760
3879 * gdb.objc/basicclass.exp: Fix unterminated string.
3880
3881 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3882 Andrew Burgess <andrew.burgess@embecosm.com>
3883
3884 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3885 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3886 negative bounds.
3887 * gdb.fortran/vla-value.exp: Print elements of an array with
3888 negative bounds.
3889 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3890 testing.
3891
3892 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3893
3894 * gdb.base/options.exp (expect_string): Dequote strings in
3895 results.
3896 (test-string): Test strings with different quoting and reindent.
3897
3898 2019-07-10 Tom Tromey <tromey@adacore.com>
3899
3900 * gdb.ada/mi_ex_cond.exp: Update expected results.
3901 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3902 * gdb.ada/mi_catch_ex.exp: Update expected results.
3903 * gdb.ada/mi_catch_assert.exp: Update expected results.
3904 * gdb.ada/catch_ex.exp (catch_exception_info)
3905 (catch_exception_entry, catch_assert_entry)
3906 (catch_unhandled_entry): Update.
3907 * gdb.ada/catch_assert_if.exp: Update expected results.
3908
3909 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3910 Stephen Roberts <stephen.roberts@arm.com>
3911
3912 * gdb.base/define.exp: Restore original prompt.
3913
3914 2019-07-09 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3917 breakpoints" output.
3918 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3919 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3920 throw" creates breakpoint.
3921 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3922 'type="catchpoint"'.
3923
3924 2019-07-09 Pedro Alves <palves@redhat.com>
3925
3926 PR c++/15468
3927 * gdb.cp/except-multi-location-lib.cc: New.
3928 * gdb.cp/except-multi-location-main.cc: New.
3929 * gdb.cp/except-multi-location.exp: New.
3930
3931 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3932
3933 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3934 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3935 argument and update callers.
3936
3937 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3938
3939 * gdb.arch/amd64-break-on-asm-line.S: New file.
3940 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3941
3942 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3943
3944 * gdb.base/printcmds.exp: Test printing C string and
3945 C wide string convenience vars without transiting via the inferior.
3946 Also make test names unique.
3947
3948 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3949
3950 PR breakpoints/25011
3951 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3952
3953 2019-07-04 Pedro Alves <palves@redhat.com>
3954
3955 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3956 body returned ok(0), break(3) or continue(4).
3957 * gdb.testsuite/foreach_with_prefix.exp: New file.
3958
3959 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3960
3961 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3962
3963 2019-07-03 Pedro Alves <palves@redhat.com>
3964
3965 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3966 "return -code".
3967
3968 2019-07-03 Pedro Alves <palves@redhat.com>
3969
3970 PR cli/24732
3971 * gdb.base/shell.exp: Load completion-support.exp.
3972 Adjust expected error output. Add completion tests.
3973
3974 2019-07-03 Pedro Alves <palves@redhat.com>
3975
3976 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3977 string_to_regexp.
3978
3979 2019-07-03 Pedro Alves <palves@redhat.com>
3980
3981 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3982 (expect_integer): Adjust to expect "-string".
3983 (expect_string): New.
3984 (all_options): Expect "-string".
3985 (test-flag, test-boolean): Adjust to expect "-string".
3986 (test-string): New proc.
3987 (top level): Call it.
3988
3989 2019-07-03 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3992 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3993 the expected output in the success.
3994
3995 2019-07-03 Pedro Alves <palves@redhat.com>
3996
3997 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3998 Split one gdb_test_multiple call in two to avoid a race.
3999
4000 2019-07-03 Pedro Alves <palves@redhat.com>
4001
4002 * gdb.base/with.c: New file.
4003 * gdb.base/with.exp: New file.
4004
4005 2019-07-03 Pedro Alves <palves@redhat.com>
4006
4007 * gdb.base/settings.exp: Replace all references to "maint
4008 test-settings set" with references to "maint set test-settings",
4009 and all references to "maint test-settings show" with references
4010 to "maint show test-settings".
4011
4012 2019-07-03 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.base/settings.exp (test-string): Adjust expected out when
4015 testing "maint test-settings show filename"
4016
4017 2019-07-02 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.base/options.exp (test-info-threads): New procedure.
4020 (top level): Call it.
4021
4022 2019-06-28 Tom Tromey <tromey@adacore.com>
4023
4024 * gdb.dwarf2/ada-linkage-name.c: New file.
4025 * gdb.dwarf2/ada-linkage-name.exp: New file.
4026
4027 2019-06-27 Tom Tromey <tromey@adacore.com>
4028
4029 PR c++/20020:
4030 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4031
4032 2019-06-26 Tom de Vries <tdevries@suse.de>
4033
4034 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4035
4036 2019-06-26 Tom de Vries <tdevries@suse.de>
4037
4038 * gdb.base/index-cache.exp: Add back missing debug option.
4039
4040 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4041
4042 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4043
4044 2019-06-25 Tom de Vries <tdevries@suse.de>
4045
4046 PR testsuite/24727
4047 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4048
4049 2019-06-24 Tom de Vries <tdevries@suse.de>
4050
4051 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4052
4053 2019-06-24 Tom de Vries <tdevries@suse.de>
4054
4055 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4056 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4057 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4058
4059 2019-06-24 Tom de Vries <tdevries@suse.de>
4060
4061 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4062
4063 2019-06-21 Tom de Vries <tdevries@suse.de>
4064
4065 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4066
4067 2019-06-21 Tom de Vries <tdevries@suse.de>
4068
4069 PR testsuite/24518
4070 PR ada/24713
4071 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4072 index.
4073
4074 2019-06-19 Tom Tromey <tromey@adacore.com>
4075
4076 * gdb.ada/length_cond.exp: Add intro comment.
4077
4078 2019-06-19 Tom Tromey <tromey@adacore.com>
4079
4080 * gdb.ada/length_cond.exp: New file.
4081 * gdb.ada/length_cond/length_cond.adb: New file.
4082 * gdb.ada/length_cond/pck.adb: New file.
4083 * gdb.ada/length_cond/pck.ads: New file.
4084
4085 2019-06-18 Tom de Vries <tdevries@suse.de>
4086
4087 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4088
4089 2019-06-18 Tom Tromey <tromey@adacore.com>
4090
4091 * gdb.base/list0.h: Add comment explaining control character.
4092
4093 2019-06-18 Tom de Vries <tdevries@suse.de>
4094
4095 * boards/fission.exp: Break up long debug_flags line.
4096
4097 2019-06-16 Tom de Vries <tdevries@suse.de>
4098
4099 PR gdb/24445
4100 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4101 generated index.
4102
4103 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4104
4105 PR gdb/24686
4106 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4107 improve detection of bug gdb/24541.
4108
4109 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4110
4111 PR gdb/24669
4112 * gdb.base/index-cache.exp (uses_readnow,
4113 expecting_index_cache_use): Define global variable.
4114 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4115 expecting_index_cache_use.
4116
4117 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4118 Andrew Burgess <andrew.burgess@embecosm.com>
4119
4120 * gdb.fortran/pointers.f90: New file.
4121 * gdb.fortran/print_type.exp: New file.
4122 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4123 * gdb.fortran/vla-type.exp: Likewise.
4124 * gdb.fortran/vla-value.exp: Likewise.
4125 * gdb.mi/mi-vla-fortran.exp: Likewise.
4126
4127 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4128
4129 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4130 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4131 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4132 as a stop reason.
4133
4134 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4135
4136 * gdb.base/annota1.exp: Update expected results.
4137 * gdb.cp/annota2.exp: Likewise.
4138 * gdb.cp/annota3.exp: Likewise.
4139
4140 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4141
4142 * gdb.base/style-logging.exp: Remove path from test name.
4143
4144 2019-06-14 Tom Tromey <tromey@adacore.com>
4145
4146 PR gdb/24502:
4147 * gdb.base/style-logging.exp: New file.
4148
4149 2019-06-14 Tom Tromey <tromey@adacore.com>
4150
4151 * gdb.base/symfile-warn.exp: New file.
4152 * gdb.base/symfile-warn.c: New file.
4153
4154 2019-06-14 Tom Tromey <tromey@adacore.com>
4155
4156 * gdb.base/annotate-symlink.exp: New file.
4157
4158 2019-06-14 Tom Tromey <tromey@adacore.com>
4159
4160 * gdb.ada/set_wstr.exp: Add reassignment test.
4161
4162 2019-06-14 Tom Tromey <tromey@adacore.com>
4163
4164 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4165 'unchecked_access and 'unrestricted_access as well.
4166
4167 2019-06-14 Tom Tromey <tromey@adacore.com>
4168
4169 PR ada/24539:
4170 * gdb.ada/vla.exp: Update tests.
4171 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4172 pragma.
4173
4174 2019-06-13 Pedro Alves <palves@redhat.com>
4175
4176 * gdb.base/settings.exp (test-integer): Test junk after
4177 "unlimited".
4178
4179 2019-06-13 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/options.exp (test-thread-apply): New.
4182 (top level): Call it.
4183
4184 2019-06-13 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/options.exp (test-frame-apply): New.
4187 (top level): Test print commands with different "frame apply"
4188 prefixes.
4189
4190 2019-06-13 Pedro Alves <palves@redhat.com>
4191
4192 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4193 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4194 'max_completions' parameter and handle it.
4195 (test_gdb_completion_offers_commands): New.
4196
4197 2019-06-13 Pedro Alves <palves@redhat.com>
4198
4199 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4200
4201 2019-06-13 Pedro Alves <palves@redhat.com>
4202
4203 * gdb.base/options.exp (test-backtrace): New.
4204 (top level): Call it.
4205
4206 2019-06-13 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.guile/scm-frame-args.exp: Use "set print
4209 raw-frame-arguments" instead of "set print raw frame-arguments".
4210 * gdb.python/py-frame-args.exp: Likewise.
4211
4212 2019-06-13 Pedro Alves <palves@redhat.com>
4213
4214 * gdb.compile/compile.exp: Adjust expected output to option
4215 processing changes.
4216
4217 2019-06-13 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.base/options.exp: Build executable.
4220 (test-print): New procedure.
4221 (top level): Call it, once for "print" and another for "compile
4222 print".
4223
4224 2019-06-13 Pedro Alves <palves@redhat.com>
4225
4226 * gdb.base/options.c: New file.
4227 * gdb.base/options.exp: New file.
4228
4229 2019-06-13 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4232 that "o" is ambiguous.
4233
4234 2019-06-13 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.base/settings.c: New file.
4237 * gdb.base/settings.exp: New file.
4238
4239 2019-06-13 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.base/completion.exp: Fix comment typo.
4242
4243 2019-06-13 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4246 foo --1" test.
4247
4248 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4249
4250 * gdb.fortran/block-data.f: New.
4251 * gdb.fortran/block-data.exp: New.
4252
4253 2019-06-11 Tom de Vries <tdevries@suse.de>
4254
4255 PR testsuite/24521
4256 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4257 message.
4258
4259 2019-06-11 Tom de Vries <tdevries@suse.de>
4260
4261 PR testsuite/24521
4262 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4263
4264 2019-06-11 Tom de Vries <tdevries@suse.de>
4265
4266 * boards/readnow.exp: New file.
4267
4268 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4269
4270 * gdb.fortran/vla-sizeof.exp: Update expected results.
4271
4272 2019-06-06 Amos Bird <amosbird@gmail.com>
4273
4274 * gdb.base/annota1.exp (thread_switch): Add test for
4275 thread-exited annotation.
4276
4277 2019-06-06 Tom Tromey <tromey@adacore.com>
4278
4279 * gdb.base/maint.exp: Expect command started/finished output.
4280
4281 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4282
4283 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4284 comment.
4285 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4286
4287 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4288
4289 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4290 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4291 * gdb.arch/riscv-unwind-long-insn.c: New file.
4292 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4293
4294 2019-06-04 Christian Biesinger <cbiesinger@google.com>
4295
4296 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
4297
4298 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4299
4300 * lib/gdb.exp (help_list_trailer): New regexp variable
4301 factorizing the help trailer message.
4302 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4303 arg to allow to better factorize various tests.
4304 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4305 (test_prefix_command_help): Use help_list_trailer.
4306 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4307 * gdb.guile/scm-cmd.exp: Likewise.
4308 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4309 * gdb.base/help.exp: Use test_user_defined_class_help.
4310 * gdb.base/style.exp: Add tests for styling of help and apropos.
4311 * lib/gdb-utils.exp (style): Add title and highlight styles.
4312
4313 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4314
4315 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4316 $_shell_exitsignal.
4317 * gdb.base/default.exp: Update for new convenience variables.
4318
4319 2019-05-29 Tom Tromey <tromey@adacore.com>
4320
4321 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4322 to "break complete ada" test case's regexp.
4323
4324 2019-05-29 Tom Tromey <tromey@adacore.com>
4325
4326 PR c++/20020:
4327 * gdb.cp/constexpr-field.exp: New file.
4328 * gdb.cp/constexpr-field.cc: New file.
4329
4330 2019-05-29 Tom Tromey <tromey@adacore.com>
4331
4332 * gdb.base/finish.exp (finish_no_print): New proc.
4333 (finish_tests): Call it.
4334
4335 2019-05-24 Tom de Vries <tdevries@suse.de>
4336
4337 * gdb.dwarf2/gdb-add-index.exp: New file.
4338
4339 2019-05-22 Tom Tromey <tromey@adacore.com>
4340
4341 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4342 * gdb.base/style.exp: Use "style".
4343 * lib/gdb-utils.exp (style): New proc.
4344
4345 2019-05-22 Tom de Vries <tdevries@suse.de>
4346
4347 * gdb.base/align.exp: Require c++11.
4348
4349 2019-05-22 Tom de Vries <tdevries@suse.de>
4350
4351 PR testsuite/24586
4352 * gdb.python/py-mi-var-info-path-expression.exp: Call
4353 mi_skip_python_tests to check if python is supported.
4354
4355 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4356
4357 * gdb.arch/aarch64-pauth.c: New test.
4358 * gdb.arch/aarch64-pauth.exp: New file.
4359
4360 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4361
4362 * README (Re-running Tests Outside The Testsuite): New section.
4363
4364 2019-05-21 Tom de Vries <tdevries@suse.de>
4365
4366 * gdb.arch/amd64-eval.exp: Require c++11.
4367 * gdb.base/max-depth.exp: Same.
4368 * gdb.compile/compile-cplus-array-decay.exp: Same.
4369 * gdb.cp/meth-typedefs.exp: Same.
4370 * gdb.cp/subtypes.exp: Same.
4371 * gdb.cp/temargs.exp: Same.
4372
4373 2019-05-21 Alan Hayward <alan.hayward@arm.com>
4374
4375 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4376
4377 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 PR gdb/18644
4380 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4381 * gdb.fortran/printing-types.exp: Add new test.
4382 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4383 testing.
4384 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4385 setup_kfail call.
4386
4387 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4388
4389 * README (Running the Testsuite): Change example.
4390 (Testsuite Parameters): Remove TRANSCRIPT.
4391 * lib/gdb.exp: Remove TRANSCRIPT check.
4392
4393 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4394
4395 * README (Testsuite Parameters): Add replay logging to
4396 GDBSERVER_DEBUG.
4397 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4398 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4399 as a comma separated list.
4400 (gdb_debug_init): Override procedure.
4401
4402 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4403
4404 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4405 (gdb_write_cmd_file): New procedure.
4406 * lib/gdbserver-support.exp (gdbserver_start): Call
4407 gdbserver_write_cmd_file.
4408 (gdbserver_write_cmd_file): New procedure.
4409
4410 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4411
4412 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4413 (delete_breakpoints): Likewise.
4414 (gdb_run_cmd): Likewise.
4415 (gdb_start_cmd): Likewise.
4416 (gdb_starti_cmd): Likewise.
4417 (gdb_internal_error_resync): Likewise.
4418 (gdb_test_multiple): Likewise.
4419 (gdb_reinitialize_dir): Likewise.
4420 (default_gdb_exit): Likewise.
4421 (gdb_file_cmd): Mark kill as optional.
4422 (default_gdb_start): Call gdb_stdin_log_init.
4423 (send_gdb): Call gdb_stdin_log_write.
4424 (rerun_to_main): Mark Y as an answer.
4425 (gdb_stdin_log_init): New function.
4426 (gdb_stdin_log_write): Likewise.
4427
4428 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4429
4430 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4431 * gdb.base/debug-expr.exp: Likewise.
4432 * gdb.base/foll-fork.exp: Likewise.
4433 * gdb.base/foll-vfork.exp: Likewise.
4434 * gdb.base/fork-print-inferior-events.exp: Likewise.
4435 * gdb.base/gdb-sigterm.exp: Likewise.
4436 * gdb.base/gdbinit-history.exp: Likewise.
4437 * gdb.base/osabi.exp: Likewise.
4438 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4439 * gdb.base/ui-redirect.exp: Likewise.
4440 * gdb.gdb/unittest.exp: Likewise.
4441 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4442 * gdb.mi/mi-watch.exp: Likewise.
4443 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4444 * gdb.mi/user-selected-context-sync.exp: Likewise.
4445 * gdb.python/python.exp: Disable debug test when debugging.
4446 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4447 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4448 Likewise.
4449 * gdb.threads/stepi-random-signal.exp: Likewise.
4450
4451 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4452
4453 * Makefile.in: Pass through GDB_DEBUG.
4454 * README (Testsuite Parameters): Add GDB_DEBUG.
4455 (gdb,debug): Add board setting.
4456 * lib/gdb.exp (default_gdb_start): Start debugging.
4457 (gdb_debug_enabled): New procedure.
4458 (gdb_debug_init): Likewise.
4459
4460 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4461
4462 * Makefile.in: Pass through GDB_DEBUG.
4463 * README (Testsuite Parameters): Add GDB_DEBUG.
4464 (gdb,debug): Add board setting.
4465 * lib/gdb.exp (default_gdb_start): Start debugging.
4466 (gdb_debug_enabled): New procedure.
4467 (gdb_debug_init): Likewise.
4468
4469 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4470
4471 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4472
4473 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4474
4475 * gdb.base/ui-redirect.exp: Test redirection.
4476
4477 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4478
4479 * gdb.mi/mi-complete.exp: New file.
4480 * gdb.mi/mi-complete.cc: Likewise.
4481
4482 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4483
4484 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4485 indexed and sliced arrays, and pointers to arrays.
4486
4487 2019-05-14 Tom Tromey <tromey@adacore.com>
4488
4489 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4490 styling test.
4491
4492 2019-05-14 Tom de Vries <tdevries@suse.de>
4493
4494 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4495 selection entry encoding.
4496
4497 2019-05-10 Tom Tromey <tromey@adacore.com>
4498
4499 * gdb.ada/info_exc.exp: Add "complete" test.
4500
4501 2019-05-09 Tom de Vries <tdevries@suse.de>
4502
4503 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4504 CU-relative.
4505
4506 2019-05-09 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4509 CU-relative.
4510
4511 2019-05-08 Joel Brobecker <brobecker@adacore.com>
4512
4513 * gdb.ada/frame_arg_lang.exp: New testcase.
4514 * gdb.ada/frame_arg_lang/bla.adb: New file.
4515 * gdb.ada/frame_arg_lang/pck.ads: New file.
4516 * gdb.ada/frame_arg_lang/pck.adb: New file.
4517 * gdb.ada/frame_arg_lang/foo.c: New file.
4518
4519 2019-05-08 Tom Tromey <tromey@adacore.com>
4520
4521 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4522
4523 2019-05-08 Tom Tromey <tromey@adacore.com>
4524
4525 * gdb.base/ptype-offsets.exp: Update tests.
4526
4527 2019-05-08 Tom Tromey <tromey@adacore.com>
4528
4529 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4530 cases.
4531 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4532 "short".
4533
4534 2019-05-08 Tom Tromey <tromey@adacore.com>
4535
4536 * gdb.ada/vla.exp: New file.
4537 * gdb.ada/vla/vla.adb: New file.
4538
4539 2019-05-07 Tom de Vries <tdevries@suse.de>
4540
4541 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4542
4543 2019-05-07 Tom de Vries <tdevries@suse.de>
4544
4545 PR testsuite/24522
4546 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4547 section.
4548
4549 2019-05-07 Tom de Vries <tdevries@suse.de>
4550
4551 PR testsuite/24522
4552 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4553 .debug_aranges section.
4554
4555 2019-05-07 Tom de Vries <tdevries@suse.de>
4556
4557 PR testsuite/24159
4558 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4559
4560 2019-05-06 Tom de Vries <tdevries@suse.de>
4561
4562 * lib/gdb.exp (exec_has_index_section): New proc.
4563 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4564 section.
4565
4566 2019-05-04 Tom de Vries <tdevries@suse.de>
4567
4568 * boards/cc-with-debug-names.exp: New file.
4569
4570 2019-05-03 Tom Tromey <tromey@adacore.com>
4571
4572 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4573 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4574 * gdb.ada/char_enum.exp: Add test.
4575
4576 2019-05-03 Tom de Vries <tdevries@suse.de>
4577
4578 * boards/cc-with-gdb-index.exp: New file.
4579
4580 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4581
4582 * gdb.rust/simple.exp: Add new test case.
4583 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4584 (main): Initialise an instance of the new struct.
4585
4586 2019-05-01 Tom Tromey <tromey@adacore.com>
4587
4588 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4589 record.
4590 (NPR): New variable.
4591 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4592 test.
4593
4594 2019-05-01 Tom Tromey <tromey@adacore.com>
4595
4596 * gdb.ada/packed_array_assign.exp: Add packed assignment
4597 regression test.
4598
4599 2019-05-01 Tom de Vries <tdevries@suse.de>
4600
4601 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4602
4603 2019-05-01 Tom de Vries <tdevries@suse.de>
4604
4605 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4606
4607 2019-04-30 Ali Tamur <tamur@google.com>
4608
4609 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4610
4611 2019-04-30 Tom Tromey <tromey@adacore.com>
4612
4613 * lib/ada.exp (find_ada_tool): New proc.
4614 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4615 * gdb.ada/catch_ex_std.exp: New file.
4616 * gdb.ada/catch_ex_std/foo.adb: New file.
4617 * gdb.ada/catch_ex_std/some_package.adb: New file.
4618 * gdb.ada/catch_ex_std/some_package.ads: New file.
4619
4620 2019-04-30 Tom Tromey <tromey@adacore.com>
4621
4622 PR c++/24470:
4623 * gdb.cp/temargs.cc: Add test code from PR.
4624
4625 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4626
4627 * gdb.fortran/vla-datatypes.exp: Update expected results.
4628 * gdb.fortran/vla-ptype.exp: Likewise.
4629 * gdb.fortran/vla-type.exp: Likewise.
4630 * gdb.fortran/vla-value.exp: Likewise.
4631
4632 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4633
4634 * gdb.fortran/ptr-indentation.exp: Update expected results.
4635 * gdb.fortran/ptype-on-functions.exp: Likewise.
4636 * gdb.fortran/vla-ptr-info.exp: Likewise.
4637 * gdb.fortran/vla-value.exp: Likewise.
4638
4639 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4640
4641 * gdb.fortran/ptype-on-functions.exp: New file.
4642 * gdb.fortran/ptype-on-functions.f90: New file.
4643
4644 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4645
4646 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4647 case void string.
4648
4649 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4650
4651 * gdb.fortran/complex.exp: Expand.
4652 * gdb.fortran/complex.f: Renamed to...
4653 * gdb.fortran/complex.f90: ...this, and extended to add more
4654 complex values.
4655
4656 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4657
4658 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4659 MODULO, CMPLX.
4660
4661 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4662 Richard Bunt <richard.bunt@arm.com>
4663
4664 * gdb.base/max-depth.c: New file.
4665 * gdb.base/max-depth.exp: New file.
4666 * gdb.python/py-nested-maps.c: New file.
4667 * gdb.python/py-nested-maps.exp: New file.
4668 * gdb.python/py-nested-maps.py: New file.
4669 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4670 (test_all_common): Call test_max_depth.
4671 * gdb.fortran/max-depth.exp: New file.
4672 * gdb.fortran/max-depth.f90: New file.
4673 * gdb.go/max-depth.exp: New file.
4674 * gdb.go/max-depth.go: New file.
4675 * gdb.modula2/max-depth.exp: New file.
4676 * gdb.modula2/max-depth.c: New file.
4677 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4678
4679 2019-04-29 Tom de Vries <tdevries@suse.de>
4680
4681 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4682
4683 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4684
4685 * gdb.base/callexit.exp: Test may-call-functions off.
4686
4687 2019-04-25 Keith Seitz <keiths@redhat.com>
4688
4689 PR c++/24367
4690 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4691 (another_incomplete_struct, test_incomplete): New definitions.
4692 (main): Use new definitions.
4693 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4694 functions.
4695
4696 2019-04-25 Ali Tamur <tamur@google.com>
4697
4698 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4699
4700 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4701
4702 PR corefiles/11608
4703 PR corefiles/18187
4704 * gdb.base/coredump-filter-build-id.exp: New file.
4705
4706 2019-04-25 Alan Hayward <alan.hayward@arm.com>
4707
4708 * Makefile.in: Pass through GDBSERVER_DEBUG.
4709 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4710 (gdbserver,debug): Add board setting.
4711 * gdb.trace/tspeed.exp: Skip when debugging.
4712 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4713 * lib/gdbserver-support.exp: Likewise
4714
4715 2019-04-24 Tom Tromey <tromey@adacore.com>
4716
4717 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4718 Rust.
4719
4720 2019-04-24 Tom Tromey <tromey@adacore.com>
4721
4722 * gdb.arch/amd64-eval.exp: Test bitfield return.
4723 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4724 (class Foo) <return_bitfields>: New method.
4725 (main): Call it.
4726
4727 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4728
4729 * gdb.cp/many-args.cc: New file.
4730 * gdb.cp/many-args.exp: New file.
4731
4732 2019-04-23 Tom de Vries <tdevries@suse.de>
4733
4734 PR gdb/24433
4735 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4736
4737 2019-04-23 Alan Hayward <alan.hayward@arm.com>
4738
4739 * gdb.trace/backtrace.exp: Use nopie flag.
4740 * gdb.trace/circ.exp: Likewise.
4741 * gdb.trace/collection.exp: Likewise.
4742 * gdb.trace/ftrace.exp: Likewise.
4743 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4744 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4745 * gdb.trace/qtro.exp: Likewise.
4746 * gdb.trace/read-memory.exp: Likewise.
4747 * gdb.trace/report.exp: Likewise.
4748 * gdb.trace/tfile.exp: Likewise.
4749 * gdb.trace/tfind.exp: Likewise.
4750 * gdb.trace/unavailable.exp: Likewise.
4751
4752 2019-04-22 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.base/solib-probes-nosharedlibrary.c,
4755 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4756
4757 2019-04-19 Tom Tromey <tromey@adacore.com>
4758
4759 * gdb.ada/ptype_union.c: New file.
4760 * gdb.ada/ptype_union.exp: New file.
4761
4762 2019-04-19 Tom Tromey <tromey@adacore.com>
4763
4764 PR symtab/24423:
4765 * gdb.base/list0.h (foo): Add a control-l character.
4766
4767 2019-04-18 Tom de Vries <tdevries@suse.de>
4768
4769 PR gdb/24433
4770 * boards/local-board.exp: Set sysroot to "".
4771
4772 2019-04-18 Tom de Vries <tdevries@suse.de>
4773 Pedro Alves <palves@redhat.com>
4774
4775 PR gdb/24454
4776 * gdb.threads/vfork-follow-child-exec.c: New file.
4777 * gdb.threads/vfork-follow-child-exec.exp: New file.
4778 * gdb.threads/vfork-follow-child-exit.c: New file.
4779 * gdb.threads/vfork-follow-child-exit.exp: New file.
4780
4781 2019-04-15 Leszek Swirski <leszeks@google.com>
4782
4783 * gdb.arch/amd64-eval.cc: New file.
4784 * gdb.arch/amd64-eval.exp: New file.
4785
4786 2019-04-11 Alan Hayward <alan.hayward@arm.com>
4787
4788 * gdb.server/sysroot.c: New test.
4789 * gdb.server/sysroot.exp: New file.
4790 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4791 matching param.
4792
4793 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4794
4795 * gdb.base/align.exp: Extend test to cover structures containing
4796 only static fields.
4797
4798 2019-04-11 Tom de Vries <tdevries@suse.de>
4799
4800 * boards/cc-with-dwz-m.exp: New file.
4801 * boards/cc-with-dwz.exp: New file.
4802 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4803
4804 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4805
4806 * gdb.base/start-cpp.exp: New file.
4807 * gdb.base/start-cpp.cc: New file.
4808
4809 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4810
4811 * gdb.python/py-thrhandle.exp: Adjust tests to call
4812 thread_from_handle instead of thread_from_thread_handle.
4813
4814 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4815
4816 * gdb.python/py-thrhandle.exp: Add tests for
4817 gdb.InferiorThread.handle.
4818
4819 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4820
4821 * gdb.python/py-function.exp: Check calling helper function from
4822 all languages.
4823 * lib/gdb.exp (gdb_supported_languages): New proc.
4824
4825 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4826
4827 * gdb.base/complex-parts.c: New file.
4828 * gdb.base/complex-parts.exp: New file.
4829
4830 2019-04-01 Tom Tromey <tromey@adacore.com>
4831
4832 PR symtab/23331:
4833 * gdb.dwarf2/dw2-ranges-main.c: New file.
4834 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4835 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4836
4837 2019-03-30 Simon Marchi <simark@simark.ca>
4838
4839 * gdb.base/default.exp: Add values for $_gdb_major and
4840 $_gdb_minor.
4841
4842 2019-03-29 Tom Tromey <tromey@adacore.com>
4843
4844 * gdb.base/help.exp: Tighten apropos regexp.
4845
4846 2019-03-29 Keith Seitz <keiths@redhat.com>
4847
4848 * gdb.fortran/array-bounds.exp: New file.
4849 * gdb.fortran/array-bounds.f90: New file.
4850
4851 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4852
4853 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4854
4855 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4856
4857 * gdb.multi/hello.c (main): Increase alarm timer.
4858
4859 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4860
4861 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4862 factor when no hardware watchpoint support.
4863
4864 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4865 Pedro Alves <palves@redhat.com>
4866
4867 * boards/local-board.exp: set sysroot to /.
4868
4869 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4870
4871 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4872 in child.
4873
4874 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4875
4876 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4877 field.
4878 (make_container): Initialise new field.
4879 * gdb.python/py-prettyprint.exp: Add new tests.
4880 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4881 <display_hint>: New method.
4882
4883 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4884
4885 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4886 gdb_continue_to_breakpoint more throughout this test.
4887 (run_lang_tests) Supply unique test names, and use
4888 gdb_test_no_output.
4889
4890 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4891
4892 * gdb.base/finish-pretty.exp: Update expected results.
4893 * gdb.base/pretty-print.c: New file.
4894 * gdb.base/pretty-print.exp: New file.
4895
4896 2019-03-25 Pedro Alves <palves@redhat.com>
4897
4898 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4899 move comments outside list. Append '-i "" eof' section.
4900
4901 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4902
4903 PR testsuite/25016
4904 * README: Add pie options.
4905 * gdb.base/break-interp.exp: Ensure pie is disabled.
4906 * gdb.base/dump.exp: Likewise.
4907 * lib/gdb.exp (gdb_compile): Add pie option.
4908
4909 2019-03-19 Tom Tromey <tromey@adacore.com>
4910
4911 * gdb.mi/mi2-cli-display.c: New file.
4912 * gdb.mi/mi2-cli-display.exp: New file.
4913
4914 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4915 Tom Tromey <tromey@adacore.com>
4916
4917 * gdb.ada/ptype_array/pck.adb: New file.
4918 * gdb.ada/ptype_array/pck.ads: New file.
4919 * gdb.ada/ptype_array/foo.adb: New file.
4920 * gdb.ada/ptype_array.exp: New file.
4921
4922 2019-03-14 Tom Tromey <tromey@adacore.com>
4923
4924 * gdb.base/style.exp: Add "set style sources" test.
4925
4926 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4927
4928 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4929 * mi-breakpoint-multiple-locations.exp: ... this.
4930 (make_breakpoints_pattern): New proc.
4931 (do_test): Add mi_version parameter, test -break-insert,
4932 -break-info and =breakpoint-created.
4933
4934 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4935
4936 * config/default.exp: Remove 'load_lib gdb.exp'.
4937 * config/monitor.exp: Likewise.
4938 * config/sid.exp: Likewise.
4939 * config/sim.exp: Likewise.
4940 * config/slite.exp: Likewise.
4941 * config/unix.exp: Likewise.
4942 * gdb.base/default.exp: Remove unhelpful comment.
4943
4944 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4945
4946 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4947
4948 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4949
4950 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4951
4952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4953
4954 * gdb.fortran/type-kinds.exp: Update expected results.
4955
4956 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4957
4958 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4959
4960 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4961
4962 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4963 function.
4964 (test_basic_parsing_of_type_kinds): Expand types tested.
4965 (test_parsing_invalid_type_kinds): New function.
4966
4967 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4968
4969 * gdb.fortran/intrinsics.exp: New file.
4970 * gdb.fortran/intrinsics.f90: New file.
4971 * gdb.fortran/type-kinds.exp: New file.
4972
4973 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4974
4975 * gdb.fortran/dot-ops.exp: New file.
4976
4977 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4978
4979 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4980 Check upper and lower case logical literals.
4981
4982 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4985 Remove duplicate tests.
4986
4987 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4988
4989 * lib/gdb.exp (builtin_cd): rename of cd.
4990 (cd): Override builtin.
4991
4992 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4993
4994 * gdb.fortran/function-calls.exp: New file.
4995 * gdb.fortran/function-calls.f90: New test.
4996
4997 2019-03-04 Richard Bunt <richard.bunt@arm.com>
4998
4999 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5000 on user program standard output.
5001 * gdb.fortran/short-circuit-argument-list.f90: Record function
5002 calls.
5003
5004 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5005
5006 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5007 failure.
5008
5009 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5010
5011 PR gdb/8527
5012 * gdb.base/interrupt-daemon-attach.c,
5013 gdb.base/interrupt-daemon-attach.exp: New test.
5014
5015 2019-02-27 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.base/page.exp: Add tests for "set width/height -1".
5018
5019 2019-02-27 Pedro Alves <palves@redhat.com>
5020
5021 * gdb.base/page.exp: Add tests for "set/show width/height" with
5022 "infinite" values.
5023
5024 2019-02-27 Tom Tromey <tromey@adacore.com>
5025
5026 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5027 2.4.
5028 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5029 workaround.
5030
5031 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5032
5033 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5034 tests for structs with static members.
5035
5036 2019-02-26 Tom Tromey <tromey@adacore.com>
5037
5038 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5039 ValueError, not TypeError.
5040
5041 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5042
5043 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5044 call from main program.
5045
5046 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5047
5048 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5049 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5050 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5051 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5052 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5053
5054 2019-02-22 Keith Seitz <keiths@redhat.com>
5055
5056 PR symtab/23853
5057 * gdb.base/symlink-sourcefile.c: New file.
5058 * gdb.base/symlink-sourcefile.exp: New file.
5059
5060 2019-02-20 Tom Tromey <tom@tromey.com>
5061
5062 * gdb.base/info_qt.exp: Update.
5063
5064 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5065
5066 * gdb.base/source.exp: Move "error in sourced script" code to
5067 the end.
5068 * gdb.base/source-error.gdb: Move contents to
5069 source-error-1.gdb. Add new code to source source-error-1.gdb.
5070 * gdb.base/source-error-1.gdb: New file, from previous
5071 source-error.gdb.
5072
5073 2019-02-17 Tom Tromey <tom@tromey.com>
5074
5075 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5076 for macro styling.
5077 * gdb.base/style.c (SOME_MACRO): New macro.
5078
5079 2019-02-17 Tom Tromey <tom@tromey.com>
5080
5081 * gdb.base/style.exp: Add line-wrapping tests.
5082 * gdb.base/page.exp: Add test for quitting during pagination.
5083
5084 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5085
5086 * gdb.ada/big_packed_array: New testcase.
5087 * gdb.ada/homonym.exp: Fix incorrect expected output for
5088 "break <homonym__get_value>" test.
5089
5090 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5091
5092 PR breakpoints/21870
5093 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5094 and prepare_for_testing. Add comment.
5095 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5096 redundant cleanup call. Clean up comment.
5097
5098 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5099
5100 PR breakpoints/21870
5101 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5102 * gdb.arch/aarch64-dbreg-contents.c: New file.
5103
5104 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5105
5106 * gdb.ada/mi_ref_changeable: New testcase.
5107
5108 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5109
5110 * gdb.base/attach.exp: Add double attach test.
5111
5112 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5113
5114 * lib/gdb.exp (default_gdb_start): Don't match pagination
5115 prompt.
5116 (gdb_init): Set stty_init.
5117
5118 2019-01-27 Tom Tromey <tom@tromey.com>
5119
5120 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5121 skip_python_tests.
5122
5123 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5124
5125 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5126 New structure.
5127 (struct struct_static_02_02): Likewise.
5128 (struct struct_static_02_03): Likewise.
5129 (struct struct_static_02_04): Likewise.
5130 (struct struct_static_04_01): Likewise.
5131 (struct struct_static_04_02): Likewise.
5132 (struct struct_static_04_03): Likewise.
5133 (struct struct_static_04_04): Likewise.
5134 (struct struct_static_06_01): Likewise.
5135 (struct struct_static_06_02): Likewise.
5136 (struct struct_static_06_03): Likewise.
5137 (struct struct_static_06_04): Likewise.
5138 (cmp_struct_static_02_01): Likewise.
5139 (cmp_struct_static_02_02): Likewise.
5140 (cmp_struct_static_02_03): Likewise.
5141 (cmp_struct_static_02_04): Likewise.
5142 (cmp_struct_static_04_01): Likewise.
5143 (cmp_struct_static_04_02): Likewise.
5144 (cmp_struct_static_04_03): Likewise.
5145 (cmp_struct_static_04_04): Likewise.
5146 (cmp_struct_static_06_01): Likewise.
5147 (cmp_struct_static_06_02): Likewise.
5148 (cmp_struct_static_06_03): Likewise.
5149 (cmp_struct_static_06_04): Likewise.
5150 (call_all): Test new structs.
5151 * gdb.base/infcall-nested-structs.exp: Likewise.
5152
5153 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5154 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5155
5156 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5157 * gdb.base/stack-protector.c: New test.
5158 * gdb.base/stack-protector.exp: New file.
5159 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5160 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5161 option.
5162 (gdb_compile): Remove stack protector for GCC and prevent
5163 recursion.
5164
5165 2019-01-16 Keith Seitz <keiths@redhat.com>
5166
5167 PR gdb/23773
5168 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5169
5170 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5171
5172 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5173 aliases.
5174 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5175 tests.
5176 * gdb.arch/powerpc-vector-regs.c: New file.
5177 * gdb.arch/powerpc-vector-regs.exp: New file.
5178
5179 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5180
5181 * gdb.arch/altivec-regs.exp: Fix the list passed to
5182 gdb_expect_list when testing "info vector".
5183
5184 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5185
5186 * gdb.base/style.exp: Don't include path in testname.
5187
5188 2019-01-10 Keith Seitz <keiths@redhat.com>
5189
5190 PR gdb/23712
5191 PR symtab/23010
5192 * gdb.dwarf2/multidictionary.exp: New file.
5193
5194 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5195
5196 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5197 (test_gnuv3_style_demangling): ... this.
5198 (test_lucid_style_demangling): Remove.
5199 (test_arm_style_demangling): Remove.
5200 (test_hp_style_demangling): Remove.
5201 (do_tests): Remove calls to the above.
5202
5203 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5204
5205 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5206 case.
5207
5208 2019-01-06 Tom Tromey <tom@tromey.com>
5209
5210 PR gdb/28155:
5211 * gdb.dwarf2/typedef-void-finish.exp: New file.
5212
5213 2018-12-28 Tom Tromey <tom@tromey.com>
5214 Simon Marchi <simark@simark.ca>
5215
5216 * gdb.base/jit-exec.exp: New file.
5217 * gdb.base/jit-exec.c: New file.
5218 * gdb.base/jit-execd.c: New file.
5219
5220 2018-12-28 Tom Tromey <tom@tromey.com>
5221
5222 * gdb.base/style.exp: Update test to check for address styling.
5223
5224 2018-12-28 Tom Tromey <tom@tromey.com>
5225
5226 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5227 message.
5228
5229 2018-12-28 Tom Tromey <tom@tromey.com>
5230
5231 * gdb.base/style.exp: Add test for version number styling.
5232
5233 2018-12-28 Tom Tromey <tom@tromey.com>
5234
5235 * gdb.base/style.exp: Add test for print_address_symbolic.
5236
5237 2018-12-28 Tom Tromey <tom@tromey.com>
5238
5239 * gdb.base/style.exp: Add test for breakpoint setting.
5240
5241 2018-12-28 Tom Tromey <tom@tromey.com>
5242
5243 * gdb.base/style.exp: Add test for variable names.
5244
5245 2018-12-28 Tom Tromey <tom@tromey.com>
5246
5247 * gdb.base/style.exp: New file.
5248 * gdb.base/style.c: New file.
5249
5250 2018-12-28 Tom Tromey <tom@tromey.com>
5251
5252 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5253 "dumb".
5254 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5255 the TERM environment variable.
5256
5257 2018-12-27 Tom Tromey <tom@tromey.com>
5258
5259 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5260 pagination test.
5261
5262 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5263
5264 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5265 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5266
5267 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5268
5269 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5270 Filename a.adb changed to bp_fun_addr.adb.
5271 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5272
5273 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5274
5275 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5276 non-PIE executables.
5277 * README: Mention the gdb,nopie_flag board setting.
5278 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5279 non-PIE executable.
5280 * gdb.arch/amd64-entry-value.exp: Likewise.
5281 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5282 * gdb.arch/i386-float.exp: Likewise.
5283 * gdb.arch/i386-signal.exp: Likewise.
5284 * gdb.mi/mi-reg-undefined.exp: Likewise.
5285
5286 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5287
5288 PR gdb/23974
5289 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5290
5291 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5292
5293 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5294 Update order of results accordingly.
5295
5296 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5297
5298 * gdb.base/annota1.exp: Update a test regexp.
5299
5300 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5301
5302 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5303
5304 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5305
5306 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5307 (reuse_time): Initialize to REUSE_TIME_CAP.
5308 (check_rc): New function.
5309 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5310 Check pthread_create rc.
5311 (spawner_thread_func): Check pthread_create and pthread_join rc.
5312
5313 2018-12-08 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.base/list.exp (test_forward_search): Rename to ...
5316 (test_forward_reverse_search): ... this. Also test reverse-search
5317 and the forward-search alias.
5318
5319 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5320
5321 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5322 local timeout variable before return, and remove all local timeout
5323 variable entirely.
5324 (gdb_load): Likewise.
5325
5326 2018-12-01 Tom de Vries <tdevries@suse.de>
5327
5328 * gdb.base/gdb-caching-proc.exp: New file.
5329
5330 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5331
5332 * Makefile.in (TIMESTAMP): New variable.
5333 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5334 command.
5335 (check-single-racy): Likewise.
5336 (check/%.exp): Likewise.
5337 (check-racy/%.exp): Likewise.
5338 (workers/%.worker): Likewise.
5339 (build-perf): Likewise.
5340 (check-perf): Likewise.
5341 * README: Describe new "TS" and "TS_FORMAT" variables.
5342 * print-ts.py: New file.
5343
5344 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5345
5346 PR python/23714
5347 * gdb.python/python.exp: Test command repetition after
5348 gdb.execute.
5349
5350 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5351
5352 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5353 is correctly aligned.
5354
5355 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5356
5357 * gdb.ada/info_auto_lang.exp: New testcase.
5358 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5359 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5360 * gdb.ada/info_auto_lang/some_c.c: New file.
5361
5362 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5363
5364 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5365 FUNC_lang language syntax.
5366
5367 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5368
5369 * gdb.base/info_minsym.c: New file.
5370 * gdb.base/info_minsym.exp: New file.
5371
5372 2018-11-19 Tom Tromey <tom@tromey.com>
5373
5374 PR rust/23625:
5375 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5376 * gdb.rust/expr.exp: Update expected output. Change one test.
5377
5378 2018-11-19 Tom Tromey <tom@tromey.com>
5379
5380 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5381
5382 2018-11-19 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5385 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5386 see the expected warning.
5387
5388 2018-11-16 Alan Hayward <alan.hayward@arm.com>
5389
5390 PR gdb/22736:
5391 * gdb.cp/infcall-nodebug-lib.c: New test.
5392 * gdb.cp/infcall-nodebug-main.c: New test.
5393 * gdb.cp/infcall-nodebug.exp: New file.
5394
5395 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5396
5397 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5398 completer tests.
5399
5400 2018-11-09 Tom de Vries <tdevries@suse.de>
5401
5402 * gdb.base/msym-lang.c: New test.
5403 * gdb.base/msym-lang.exp: New file.
5404 * gdb.base/msym-lang-main.c: New test.
5405
5406 2018-11-08 Tom Tromey <tom@tromey.com>
5407
5408 PR gdb/23555:
5409 PR gdb/23838:
5410 * gdb.base/warning.exp: New file.
5411
5412 2018-11-08 Jan Beulich <jbeulich@suse.com>
5413
5414 * testsuite/gdb.arch/i386-avx512.c,
5415 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5416
5417 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5418
5419 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5420 point hardware.
5421
5422 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5423
5424 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5425 * gdb.dwarf2/missing-type-name.exp: New file.
5426
5427 2018-11-06 Tom de Vries <tdevries@suse.de>
5428
5429 * gdb.base/many-headers.c: New test.
5430 * gdb.base/many-headers.exp: New file.
5431
5432 2018-11-06 Jim Wilson <jimw@sifive.com>
5433
5434 * gdb.base/code_elim.exp: For riscv, set additional_flags
5435 to include -msmall-data-limit=0.
5436
5437 2018-11-01 Joel Brobecker <brobecker@adacore.com>
5438
5439 * gdb.ada/watch_minus_l: New testcase.
5440
5441 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5442
5443 * gdb.arch/aix-sighandle.c: New file.
5444 * gdb.arch/aix-sighandle.exp: New file.
5445
5446 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5447
5448 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5449 registers being unions.
5450
5451 2018-10-31 Tom de Vries <tdevries@suse.de>
5452
5453 * lib/valgrind.exp: New file.
5454 (vgdb_start, vgdb_stop): New procs, factored out of ...
5455 * gdb.base/valgrind-bt.exp: ... here, ...
5456 * gdb.base/valgrind-disp-step.exp: ... here and ...
5457 * gdb.base/valgrind-infcall.exp: ... here.
5458
5459 2018-10-31 Tom de Vries <tdevries@suse.de>
5460
5461 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5462
5463 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5464
5465 * gdb.dwarf2/void-type.c: New file.
5466 * gdb.dwarf2/void-type.exp: New file.
5467
5468 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5469
5470 * gdb.base/info_qt.c: New file.
5471 * gdb.base/info_qt.exp: New file.
5472
5473 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5474
5475 * gdb.arch/powerpc-htm-regs.c: New file.
5476 * gdb.arch/powerpc-htm-regs.exp: New file.
5477
5478 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5479
5480 * gdb.arch/powerpc-tar.c: New file.
5481 * gdb.arch/powerpc-tar.exp: New file.
5482
5483 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5484
5485 * gdb.arch/powerpc-ppr-dscr.c: New file.
5486 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5487
5488 2018-10-25 Tom de Vries <tdevries@suse.de>
5489
5490 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5491
5492 2018-10-24 Tom de Vries <tdevries@suse.de>
5493
5494 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5495 longer exists error.
5496
5497 2018-10-24 Tom de Vries <tdevries@suse.de>
5498
5499 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5500
5501 2018-10-24 Tom de Vries <tdevries@suse.de>
5502
5503 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5504 --db-attach in valgrind.
5505
5506 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5507
5508 * gdb.arch/riscv-reg-aliases.c: New file.
5509 * gdb.arch/riscv-reg-aliases.exp: New file.
5510
5511 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5512
5513 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5514
5515 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5516
5517 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5518
5519 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5520
5521 * gdb.cp/ovldbreak.exp: Fix regexps.
5522
5523 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5524
5525 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5526
5527 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5528
5529 PR cli/23785
5530 * gdb.base/restore.exp: New test to check if "restore" with an
5531 invalid file doesn't segfault.
5532
5533 2018-10-18 Tom de Vries <tdevries@suse.de>
5534
5535 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5536 * gdb.ada/excep_handle.exp: Same.
5537 * gdb.ada/mi_string_access.exp: Same.
5538 * gdb.ada/mi_var_union.exp: Same.
5539 * gdb.arch/arc-analyze-prologue.exp: Same.
5540 * gdb.arch/arc-decode-insn.exp: Same.
5541 * gdb.base/readnever.exp: Same.
5542 * gdb.fortran/printing-types.exp: Same.
5543 * gdb.guile/scm-lazy-string.exp: Same.
5544
5545 2018-10-16 Tom de Vries <tdevries@suse.de>
5546
5547 PR gdb/23730
5548 * gdb.base/catch-follow-exec.c: Add copyright notice.
5549 * gdb.base/catch-follow-exec.exp: Rewrite to use
5550 gdb_spawn_with_cmdline_opts. Require gdb-native.
5551
5552 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5553
5554 * gdb.trace/actions-changed.exp: Check for arch support.
5555 * gdb.trace/actions.exp: Likewise.
5556 * gdb.trace/ax.exp: Likewise.
5557 * gdb.trace/backtrace.exp: Likewise.
5558 * gdb.trace/change-loc.exp: Likewise.
5559 * gdb.trace/deltrace.exp: Likewise.
5560 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5561 * gdb.trace/ftrace.exp: Likewise.
5562 * gdb.trace/infotrace.exp: Check for arch support.
5563 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5564 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5565 * gdb.trace/mi-tsv-changed.exp: Likewise.
5566 * gdb.trace/packetlen.exp: Likewise.
5567 * gdb.trace/passc-dyn.exp: Likewise.
5568 * gdb.trace/passcount.exp: Likewise.
5569 * gdb.trace/pending.exp: Likewise.
5570 * gdb.trace/range-stepping.exp: Check for shlib support.
5571 * gdb.trace/report.exp: Check for arch support.
5572 * gdb.trace/save-trace.exp: Likewise.
5573 * gdb.trace/signal.exp: Check for signal support.
5574 * gdb.trace/tfind.exp: Check for arch support.
5575 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5576 * gdb.trace/trace-common.h: Add comment.
5577 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5578 * gdb.trace/trace-enable-disable.exp: Likewise.
5579 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5580 * gdb.trace/tracecmd.exp: Check for arch support.
5581 * gdb.trace/tspeed.exp: Check for shlib and target support.
5582 * gdb.trace/tstatus.exp: Check for arch support.
5583 * gdb.trace/tsv.exp: Likewise.
5584 * gdb.trace/while-dyn.exp: Likewise.
5585 * gdb.trace/while-stepping.exp: Likewise.
5586 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5587
5588 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5589
5590 * gdb.trace/tspeed.exp: Remove nowarnings.
5591 (prepare_for_trace_test): Declare "global ipalib".
5592 * gdb.trace/tspeed.c: Include unistd.h.
5593 (main): Remove superfluous printf argument.
5594
5595 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5596
5597 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5598 directory prefix on the filename.
5599
5600 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5601
5602 * gdb.gdb/unittest.exp: Update expected message informing that
5603 selftests have been disabled.
5604 * gdb.server/unittest.exp: Likewise.
5605
5606 2018-10-09 Tom de Vries <tdevries@suse.de>
5607
5608 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5609 with runto_main.
5610
5611 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
5612
5613 PR c++/16841
5614 * gdb.cp/virtbase2.cc: New file.
5615 * gdb.cp/virtbase2.exp: New file.
5616
5617 2018-10-06 Tom Tromey <tom@tromey.com>
5618
5619 PR python/19399:
5620 * gdb.python/py-inferior.exp: Add architecture test.
5621
5622 2018-10-06 Tom Tromey <tom@tromey.com>
5623
5624 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5625 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5626
5627 2018-10-06 Tom Tromey <tom@tromey.com>
5628
5629 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5630 of a "throw" catchpoint.
5631
5632 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5633
5634 * gdb.base/info-proc.exp: Update string expected from "help info
5635 proc".
5636
5637 2018-10-04 Tom Tromey <tom@tromey.com>
5638
5639 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5640 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5641 (test_initial_complaints, test_empty_complaints): Update.
5642 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5643
5644 2018-10-04 Tom Tromey <tom@tromey.com>
5645
5646 PR cli/19551:
5647 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5648 * lib/gdb.exp (gdb_file_cmd): Update.
5649 * gdb.stabs/weird.exp (print_weird_var): Update.
5650 * gdb.server/solib-list.exp: Update.
5651 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5652 * gdb.mi/mi-cli.exp: Update.
5653 * gdb.linespec/linespec.exp: Update.
5654 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5655 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5656 * gdb.cp/cp-relocate.exp: Update.
5657 * gdb.base/sym-file.exp: Update.
5658 * gdb.base/relocate.exp: Update.
5659 * gdb.base/readnever.exp: Update.
5660 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5661 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5662 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5663 * gdb.base/code_elim.exp: Update.
5664 * gdb.base/break-unload-file.exp (test_break): Update.
5665 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5666 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5667 Update.
5668 * gdb.base/attach.exp (do_attach_tests): Update.
5669 * gdb.base/sepdebug.exp: Update.
5670 * gdb.python/py-section-script.exp: Update.
5671
5672 2018-10-04 Tom Tromey <tom@tromey.com>
5673
5674 PR cli/22234:
5675 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5676 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5677 output.
5678
5679 2018-10-04 Tom Tromey <tom@tromey.com>
5680
5681 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5682 set width and height to 0.
5683 (test_command_line_attach_run): Use -quiet.
5684
5685 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5686
5687 * lib/gdb.exp (skip_ifunc_tests): New.
5688 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5689 other compile failures.
5690 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5691
5692 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5693
5694 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5695 is_amd64_regs_target.
5696
5697 2018-10-01 Alan Hayward <alan.hayward@arm.com>
5698
5699 * gdb.arch/aarch64-sighandler-regs.c: New test.
5700 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5701 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5702
5703 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5704
5705 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5706 assembly.
5707
5708 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5709
5710 * gdb.base/frame-selection.exp: New file.
5711 * gdb.base/frame-selection.c: New file.
5712
5713 2018-09-27 Alan Hayward <alan.hayward@arm.com>
5714
5715 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5716 pthread barrier.
5717 (main): Likewise.
5718
5719 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5720
5721 * gdb.base/large-frame-1.c: New file.
5722 * gdb.base/large-frame-2.c: New file.
5723 * gdb.base/large-frame.exp: New file.
5724 * gdb.base/large-frame.h: New file.
5725
5726 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5727
5728 PR gdb/20948
5729 * gdb.base/write_mem.exp: New test.
5730 * gdb.base/write_mem.c: Likewise.
5731
5732 2018-09-23 Tom Tromey <tom@tromey.com>
5733
5734 PR python/18852:
5735 * gdb.python/py-parameter.exp: Add test for parameter that throws
5736 on "set".
5737
5738 2018-09-23 Tom Tromey <tom@tromey.com>
5739
5740 PR python/17284:
5741 * gdb.python/py-template.exp (test_template_arg): Add test for
5742 negative template argument number.
5743
5744 2018-09-23 Tom Tromey <tom@tromey.com>
5745
5746 PR python/14062:
5747 * gdb.python/python.exp: Add test for post_event error.
5748
5749 2018-09-23 Tom Tromey <tom@tromey.com>
5750
5751 PR python/18170:
5752 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5753 convert pointers to int and long.
5754
5755 2018-09-23 Tom Tromey <tom@tromey.com>
5756
5757 PR python/20126:
5758 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5759 signed-ness conversion tests.
5760
5761 2018-09-23 Tom Tromey <tom@tromey.com>
5762
5763 PR python/18352;
5764 * gdb.python/py-value.exp (test_float_conversion): New proc.
5765 Use it.
5766
5767 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5768
5769 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5770
5771 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5772
5773 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5774 no readline.
5775 * gdb.base/utf8-identifiers.exp: Likewise.
5776 * gdb.cp/cpcompletion.exp: Likewise.
5777 * gdb.linespec/cpcompletion.exp: Likewise.
5778 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5779 * gdb.linespec/cpls-ops.exp: Likewise.
5780
5781 2018-09-19 Richard Bunt <richard.bunt@arm.com>
5782 Chris January <chris.january@arm.com>
5783
5784 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5785 * gdb.fortran/short-circuit-argument-list.exp: New file.
5786 * gdb.fortran/short-circuit-argument-list.f90: New test.
5787
5788 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5789
5790 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5791 "arch=" keyword when executing "-stack-list-frames".
5792
5793 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5794
5795 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5796 "arch=" keyword when executing "-stack-list-frames".
5797
5798 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5799
5800 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5801 break ada".
5802
5803 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5804
5805 PR python/23669
5806 * gdb.python/python.exp: Test gdb.execute("show commands").
5807
5808 2018-09-16 Tom Tromey <tom@tromey.com>
5809
5810 * gdb.base/new-ui.exp (do_execution_tests): Update.
5811 * gdb.base/dbx.exp (test_breakpoints): Update.
5812
5813 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5814
5815 * lib/gdb.exp (gdb_simple_compile): Add proc.
5816 (is_elf_target): Use gdb_simple_compile.
5817 (skip_altivec_tests): Likewise.
5818 (skip_vsx_tests): Likewise.
5819 (skip_tsx_tests): Likewise.
5820 (skip_btrace_tests): Likewise.
5821 (skip_btrace_pt_tests): Likewise.
5822 (gdb_can_simple_compile): Likewise.
5823 (gdb_has_argv0): Likewise.
5824 (gdb_target_symbol_prefix): Likewise.
5825 (target_supports_scheduler_locking): Likewise.
5826
5827 2018-09-13 Tom Tromey <tom@tromey.com>
5828
5829 * Makefile.in (TAGS): Recognize proc_with_prefix and
5830 gdb_caching_proc.
5831
5832 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5833
5834 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5835 method.
5836
5837 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5838
5839 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5840 and a few other Inferior properties when the Inferior is no
5841 longer valid.
5842
5843 2018-09-13 Tom Tromey <tom@tromey.com>
5844
5845 PR rust/23650:
5846 * gdb.rust/simple.exp: Add test for enum field access error.
5847
5848 2018-09-13 Tom Tromey <tom@tromey.com>
5849
5850 PR rust/23626:
5851 * gdb.rust/simple.rs (EmptyEnum): New type.
5852 (main): Use it.
5853 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5854
5855 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5856
5857 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5858 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5859 * gdb.python/py-symtab.exp: Update test printing an objfile.
5860
5861 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5862
5863 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5864 object.
5865
5866 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5867
5868 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5869 (support_complex_tests): Use gdb_can_simple_compile.
5870 (is_ilp32_target): Likewise.
5871 (is_lp64_target): Likewise.
5872 (is_64_target): Likewise.
5873 (is_amd64_regs_target): Likewise.
5874 (is_aarch32_target): Likewise.
5875 (gdb_int128_helper): Likewise.
5876
5877 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5878
5879 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5880
5881 2018-09-10 Jerome Guitton <guitton@adacore.com>
5882
5883 * gdb.ada/same_component_name: Add test for case of tagged record
5884 with variable-length fields.
5885
5886 2018-09-10 Xavier Roirand <roirand@adacore.com>
5887
5888 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5889 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5890 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5891 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5892
5893 2018-09-10 Xavier Roirand <roirand@adacore.com>
5894
5895 * gdb.ada/mi_string_access.exp: New testcase.
5896 * gdb.ada/mi_string_access/bar.adb: New file.
5897 * gdb.ada/mi_string_access/pck.adb: New file.
5898 * gdb.ada/mi_string_access/pck.asd: New file.
5899
5900 2018-09-10 Xavier Roirand <roirand@adacore.com>
5901
5902 * gdb.ada/mi_var_union.exp: New testcase.
5903 * gdb.ada/mi_var_union/bar.adb: New file.
5904 * gdb.ada/mi_var_union/pck.adb: New file.
5905 * gdb.ada/mi_var_union/pck.asd: New file.
5906
5907 2018-09-08 Tom Tromey <tom@tromey.com>
5908
5909 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5910
5911 2018-09-08 Tom Tromey <tom@tromey.com>
5912
5913 PR python/16047:
5914 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5915 (register_pretty_printers): Register new printer.
5916 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5917 test.
5918 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5919 (an_int_type3): New global.
5920
5921 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5922
5923 * gdb.ada/expr_with_funcall: New testcase.
5924
5925 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5926
5927 * gdb.ada/packed_array_assign: New testcase.
5928
5929 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5930
5931 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5932 names, and add test prefixes to make test names unique.
5933
5934 2018-09-05 Tom de Vries <tdevries@suse.de>
5935
5936 * gdb.dwarf2/varval.exp: Add test.
5937
5938 2018-09-04 Gary Benson <gbenson@redhat.com>
5939
5940 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5941 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5942
5943 2018-08-31 Tom Tromey <tom@tromey.com>
5944
5945 * gdb.rust/simple.rs: Rename second variable "v".
5946
5947 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5948
5949 * gdb.base/funcargs.c (use_a): New function.
5950 (recurse): Call use_a.
5951
5952 2018-08-29 Keith Seitz <keiths@redhat.com>
5953
5954 * gdb.compile/compile-cplus-anonymous.cc: New file.
5955 * gdb.compile/compile-cplus-anonymous.exp: New file.
5956 * gdb.compile/compile-cplus-array-decay.cc: New file.
5957 * gdb.compile/compile-cplus-array-decay.exp: New file.
5958 * gdb.compile/compile-cplus-inherit.cc: New file.
5959 * gdb.compile/compile-cplus-inherit.exp: New file.
5960 * gdb.compile/compile-cplus-member.cc: New file.
5961 * gdb.compile/compile-cplus-member.exp: New file.
5962 * gdb.compile/compile-cplus-method.cc: New file.
5963 * gdb.compile/compile-cplus-method.exp: New file.
5964 * gdb.compile/compile-cplus-mod.c: "New" file.
5965 * gdb.compile/compile-cplus-namespace.cc: New file.
5966 * gdb.compile/compile-cplus-namespace.exp: New file.
5967 * gdb.compile/compile-cplus-nested.cc: New file.
5968 * gdb.compile/compile-cplus-nested.exp: New file.
5969 * gdb.compile/compile-cplus-print.c: "New" file.
5970 * gdb.compile/compile-cplus-print.exp: "New" file.
5971 * gdb.compile/compile-cplus-virtual.cc: New file.
5972 * gdb.compile/compile-cplus-virtual.exp: New file.
5973 * gdb.compile/compile-cplus.c: "New" file.
5974 * gdb.compile/compile-cplus.exp: "New" file.
5975 * lib/compile-support.exp: New file.
5976
5977 2018-08-16 Gary Benson <gbenson@redhat.com>
5978
5979 PR gdb/13000:
5980 * gdb.base/batch-exit-status.exp: New file.
5981 * gdb.base/batch-exit-status.good-commands: Likewise.
5982 * gdb.base/batch-exit-status.bad-commands: Likewise.
5983
5984 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5985
5986 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5987 (struct struct02): Likewise.
5988 (struct struct03): Likewise.
5989 (struct struct04): Likewise.
5990 (struct struct_01_01): New struct.
5991 (struct struct_01_02): Likewise.
5992 (struct struct_01_03): Likewise.
5993 (struct struct_01_04): Likewise.
5994 (struct struct_02_01): Likewise.
5995 (struct struct_02_02): Likewise.
5996 (struct struct_02_03): Likewise.
5997 (struct struct_02_04): Likewise.
5998 (struct struct_04_01): Likewise.
5999 (struct struct_04_02): Likewise.
6000 (struct struct_04_03): Likewise.
6001 (struct struct_04_04): Likewise.
6002 (struct struct_05_01): Likewise.
6003 (struct struct_05_02): Likewise.
6004 (struct struct_05_03): Likewise.
6005 (struct struct_05_04): Likewise.
6006 (cmp_struct01): Remove function.
6007 (cmp_struct02): Likewise.
6008 (cmp_struct03): Likewise.
6009 (cmp_struct04): Likewise.
6010 (cmp_struct_01_01): Add Function.
6011 (cmp_struct_01_02): Likewise.
6012 (cmp_struct_01_03): Likewise.
6013 (cmp_struct_01_04): Likewise.
6014 (cmp_struct_02_01): Likewise.
6015 (cmp_struct_02_02): Likewise.
6016 (cmp_struct_02_03): Likewise.
6017 (cmp_struct_02_04): Likewise.
6018 (cmp_struct_04_01): Likewise.
6019 (cmp_struct_04_02): Likewise.
6020 (cmp_struct_04_03): Likewise.
6021 (cmp_struct_04_04): Likewise.
6022 (cmp_struct_05_01): Likewise.
6023 (cmp_struct_05_02): Likewise.
6024 (cmp_struct_05_03): Likewise.
6025 (cmp_struct_05_04): Likewise.
6026 (call_all): Add new structs.
6027 * gdb.base/infcall-nested-structs.exp: Likewise.
6028
6029 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6030
6031 * gdb.python/py-framefilter-mi.exp: Update regexp to
6032 check for "arch" field in frame output.
6033
6034 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6035
6036 * gdb.dwarf2/dw2-ranges-func.c: New file.
6037 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6038
6039 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6040
6041 * gdb.base/term.exp: Compare terminal settings with values from
6042 the inferior.
6043 * gdb.base/term.c: Get and set terminal settings.
6044
6045 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6046
6047 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6048 accommodate new "arch" field in frame output.
6049 * gdb.mi/mi-return.exp: Likewise.
6050 * gdb.mi/mi-stack.exp: Likewise.
6051 * gdb.mi/mi-syn-frame.exp: Likewise.
6052 * gdb.mi/user-selected-context-sync.exp: Likewise.
6053
6054 2018-08-19 Michael Spang <spang@google.com>
6055
6056 PR gdb/11786
6057 * gdb.base/gcore-tls-pie.c: New file.
6058 * gdb.base/gcore-tls-pie.exp: New file.
6059
6060 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6061
6062 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6063 * gdb.dwarf2/varval.c: New file.
6064 * gdb.dwarf2/varval.exp: New file.
6065
6066 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6067
6068 PR gdb/18931
6069 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6070
6071 2018-08-16 Keith Seitz <keiths@redhat.com>
6072
6073 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6074 tests expected to pass.
6075
6076 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6077
6078 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6079 -data-disassemble -a.
6080 (test_disassembly_bogus_args): Likewise.
6081
6082 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6083
6084 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6085
6086 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6087
6088 * gdb.base/vla-optimized-out.exp: Add new test.
6089
6090 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6091
6092 * gdb.base/vla-optimized-out-o3.exp: Delete.
6093 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6094 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6095 deleted tests.
6096
6097 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6098
6099 PR gdb/18050:
6100 * gdb.server/extended-remote-restart.c: New file.
6101 * gdb.server/extended-remote-restart.exp: New file.
6102
6103 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6104
6105 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6106 "set variable index = 42".
6107
6108 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6109
6110 * boards/index-cache-gdb.exp: New file.
6111 * gdb.dwarf2/index-cache.exp: New file.
6112 * gdb.dwarf2/index-cache.c: New file.
6113 * gdb.base/maint.exp: Check if we are using the index cache.
6114
6115 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6116
6117 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6118 MAKEFLAGS.
6119
6120 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6121
6122 * dg-extract-results.sh: Move to toplevel contrib.
6123 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6124 * Makefile.in (check-parallel-racy): Likewise.
6125
6126 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6127
6128 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6129 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6130 tests if the target supports scheduler locking.
6131
6132 2018-08-04 Tom de Vries <tdevries@suse.de>
6133
6134 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6135
6136 2018-08-02 Tom Tromey <tom@tromey.com>
6137
6138 PR symtab/16842.
6139 * gdb.cp/temargs.exp: Test "info address" of a template
6140 parameter.
6141
6142 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6143
6144 * gdb.python/py-mi-var-info-path-expression.c: New file.
6145 * gdb.python/py-mi-var-info-path-expression.py: New file.
6146 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6147
6148 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6149
6150 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6151 error after "cannot resolve name" string.
6152
6153 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6154
6155 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6156 started.
6157 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6158
6159 2018-07-28 Tom de Vries <tdevries@suse.de>
6160
6161 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6162
6163 2018-07-26 Tom de Vries <tdevries@suse.de>
6164
6165 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6166
6167 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6168
6169 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6170 is visible.
6171
6172 2018-07-26 Tom de Vries <tdevries@suse.de>
6173
6174 PR breakpoints/23366
6175 * gdb.base/catch-follow-exec.c: New test.
6176 * gdb.base/catch-follow-exec.exp: New file.
6177
6178 2018-07-25 Tom de Vries <tdevries@suse.de>
6179
6180 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6181 vla-optimized-out.c.
6182
6183 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6184
6185 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6186 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6187
6188 2018-07-20 Tom de Vries <tdevries@suse.de>
6189
6190 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6191 NOCLONE macro.
6192 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6193
6194 2018-07-19 Tom de Vries <tdevries@suse.de>
6195
6196 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6197 regular expression.
6198
6199 2018-07-18 Tom de Vries <tdevries@suse.de>
6200
6201 * gdb.base/vla-optimized-out.c: New test.
6202 * gdb.base/vla-optimized-out.exp: New file.
6203
6204 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6205
6206 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6207 message "No address associated with hostname" when gdbserver
6208 cannot resolve the hostname.
6209
6210 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6211
6212 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6213 Add some test prefixes to make tests unique.
6214
6215 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6216
6217 * gdb.base/frameapply.c: New file.
6218 * gdb.base/frameapply.exp: New file.
6219
6220 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6221
6222 * gdb.base/skip.exp: Update expected error message.
6223
6224 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6225 Jan Kratochvil <jan.kratochvil@redhat.com>
6226 Paul Fertser <fercerpav@gmail.com>
6227 Tsutomu Seki <sekiriki@gmail.com>
6228
6229 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6230 parameter.
6231 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6232 by default.
6233 * boards/native-gdbserver.exp: Likewise.
6234 * gdb.server/run-without-local-binary.exp: Improve regexp used
6235 for detecting when a remote debugging connection succeeds.
6236 * gdb.server/server-connect.exp: New file.
6237 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6238 Do not prefix the port number with ":".
6239 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6240 support for detecting and using it. Add '$debughost_gdbserver'
6241 to the list of arguments used to start gdbserver. Handle case
6242 when gdbserver cannot resolve a network name.
6243
6244 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6245
6246 PR c++/23373
6247 * gdb.base/ptype-offsets.cc (struct static_member): New
6248 struct.
6249 (main) <stmember>: New variable.
6250 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6251 with a static member in it.
6252
6253 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6254
6255 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6256 watchpoints enabled and disabled.
6257
6258 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * gdb.base/examine-backward.exp: Still run tests around address
6261 0x0, even if address 0x0 is not readable. Update the pattern for
6262 matching address 0x0 in expected output.
6263
6264 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6265
6266 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6267 malloc/free.
6268
6269 2018-07-04 Tom de Vries <tdevries@suse.de>
6270
6271 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6272
6273 2018-07-02 Maciej W. Rozycki <macro@mips.com>
6274
6275 PR tdep/8282
6276 * gdb.arch/mips-disassembler-options.exp: New test.
6277 * gdb.arch/mips-disassembler-options.s: New test source.
6278
6279 2018-06-29 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.threads/names.exp: Adjust expected "info threads" output.
6282
6283 2018-06-29 Pedro Alves <palves@redhat.com>
6284
6285 * gdb.opt/inline-break.exp (line number, address): Add "info
6286 break" tests.
6287
6288 2018-06-29 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6291 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6292 number and address and running to them.
6293
6294 2018-06-29 Richard Bunt <richard.bunt@arm.com>
6295
6296 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6297
6298 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * lib/compiler.c: Remove executable permission flag.
6301
6302 2018-06-28 Richard Bunt <richard.bunt@arm.com>
6303
6304 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6305 code.
6306 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6307
6308 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6309
6310 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6311
6312 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6313
6314 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6315 address argument is omitted.
6316
6317 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6318
6319 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6320
6321 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
6322
6323 PR gdb/21695
6324 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6325 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6326
6327 2018-06-26 Tom Tromey <tom@tromey.com>
6328
6329 PR rust/22574:
6330 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6331 * gdb.rust/simple.rs (struct SimpleLayout): New.
6332
6333 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6334
6335 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6336 "info registers" output.
6337
6338 2018-06-21 Richard Bunt <richard.bunt@arm.com>
6339
6340 * gdb.base/watchpoint-hw-attach.c: New test.
6341 * gdb.base/watchpoint-hw-attach.exp: New file.
6342
6343 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6344
6345 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6346 through /bin/sh.
6347 * boards/dwarf4-gdb-index.exp: Likewise.
6348 * boards/fission-dwp.exp: Likewise.
6349
6350 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6351
6352 * gdb.base/float128.exp: Add comment and improved fail message
6353 to the failure case of "print large128" test.
6354
6355 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6356
6357 * configure.ac: Remove AC_PREREQ.
6358 * configure: Re-generate.
6359
6360 2018-06-19 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6363 (func_extern_caller): New.
6364 (main): Call func_extern_caller.
6365 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6366 logic change.
6367
6368 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
6369
6370 PR gdb/16841
6371 * gdb.cp/typedef-base.cc: New file.
6372 * gdb.cp/typedef-base.exp: New file.
6373
6374 2018-06-18 Tom de Vries <tdevries@suse.de>
6375
6376 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6377
6378 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6379 Richard Bunt <Richard.Bunt@arm.com>
6380
6381 * gdb.threads/attach-slow-waitpid.c: New file.
6382 * gdb.threads/attach-slow-waitpid.exp: New file.
6383 * gdb.threads/slow-waitpid.c: New file.
6384
6385 2018-06-14 Pedro Alves <palves@redhat.com>
6386
6387 * gdb.base/fork-running-state.c: Include <errno.h>.
6388 (exit_if_relative_exits): New.
6389 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6390 exits.
6391 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6392 child exits.
6393
6394 2018-06-14 Tom de Vries <tdevries@suse.de>
6395
6396 PR cli/22573
6397 * gdb.base/finish-pretty.c: New test.
6398 * gdb.base/finish-pretty.exp: New file.
6399
6400 2018-06-14 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6403 gdb's expected startup output.
6404
6405 2018-06-14 Pedro Alves <palves@redhat.com>
6406
6407 * lib/selftest-support.exp (selftest_setup): Remove inlined
6408 function handling.
6409
6410 2018-06-14 Tom de Vries <tdevries@suse.de>
6411
6412 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6413 matching of breakpoint printing.
6414
6415 2018-06-13 Tom de Vries <tdevries@suse.de>
6416
6417 PR testsuite/23269
6418 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6419 (fork_child): ... here, and ...
6420 (fork_parent): ... here.
6421
6422 2018-06-12 Tom de Vries <tdevries@suse.de>
6423
6424 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6425
6426 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6427 Stephen Roberts <stephen.roberts@arm.com>
6428
6429 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6430 rewrite test to describe action performed, rather than possible
6431 failure.
6432
6433 2018-06-08 Gary Benson <gbenson@redhat.com>
6434
6435 * gdb.threads/check-libthread-db.exp: New file.
6436 * gdb.threads/check-libthread-db.c: Likewise.
6437
6438 2018-06-05 Tom Tromey <tom@tromey.com>
6439
6440 * gdb.base/default.exp: Update expected "show version" output.
6441
6442 2018-06-05 Tom Tromey <tom@tromey.com>
6443
6444 PR cli/12326:
6445 * gdb.cp/static-print-quit.exp: Update.
6446 * lib/gdb.exp (pagination_prompt): Update.
6447 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6448 * gdb.python/python.exp: Update.
6449
6450 2018-06-04 Joel Brobecker <brobecker@adacore.com>
6451
6452 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6453
6454 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6455
6456 * gdb.ada/bp_fun_addr: New testcase.
6457
6458 2018-06-01 Tom Tromey <tom@tromey.com>
6459
6460 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6461 results.
6462 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6463 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6464 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6465 * gdb.base/maint.exp (maint_pass_if): Update.
6466
6467 2018-05-31 Maciej W. Rozycki <macro@mips.com>
6468
6469 * gdb.base/endian.exp: New test.
6470 * gdb.base/endian.c: New test source.
6471
6472 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6473
6474 PR gdb/23203
6475 * gdb.base/bt-selected-frame.c: New file.
6476 * gdb.base/bt-selected-frame.exp: New file.
6477 * lib/gdb.exp (get_current_frame_number): New function.
6478
6479 2018-05-24 Maciej W. Rozycki <macro@mips.com>
6480 Pedro Alves <palves@redhat.com>
6481
6482 * gdb.threads/tls-core.c: Include <stdlib.h>
6483 (thread_proc): Call `abort'.
6484 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6485 (tls_core_test): New procedure, bits factored out from ...
6486 (top level): ... here. Test both native cores and gcore cores.
6487
6488 2018-05-23 Tom Tromey <tom@tromey.com>
6489
6490 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6491
6492 2018-05-23 Tom Tromey <tom@tromey.com>
6493
6494 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6495 symfile_complaints.
6496 (test_short_complaints): Likewise.
6497 (test_empty_complaints): Likewise.
6498 (test_initial_complaints): Update.
6499
6500 2018-05-23 Tom Tromey <tom@tromey.com>
6501
6502 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6503
6504 2018-05-23 Tom Tromey <tom@tromey.com>
6505
6506 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6507 (test_short_complaints): Update.
6508
6509 2018-05-22 Pedro Alves <palves@redhat.com>
6510
6511 * gdb.base/remote.exp: Only gdb_start after compiling the
6512 testcase. Issue "disconnect" before testing "set remote" command
6513 defaults. Issue clean_restart before running to main.
6514
6515 2018-05-22 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.base/remote.exp: Adjust expected output of "show remote
6518 memory-write-packet-size". Add tests for "set remote
6519 memory-write-packet-size 0" and "set remote
6520 memory-write-packet-size fixed/limit".
6521
6522 2018-05-22 Pedro Alves <palves@redhat.com>
6523
6524 PR gdb/22973
6525 * gdb.base/utf8-identifiers.c: New file.
6526 * gdb.base/utf8-identifiers.exp: New file.
6527
6528 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6529
6530 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6531
6532 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6533
6534 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6535
6536 2018-05-18 Tom Tromey <tom@tromey.com>
6537
6538 * gdb.base/ptype-offsets.exp: Update.
6539
6540 2018-05-17 Keith Seitz <keiths@redhat.com>
6541
6542 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6543 in expected breakpoint stop locations.
6544 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6545 move to proper scope to test variable values.
6546 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6547 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6548 New functions.
6549 (main): Call not_inline_func3.
6550 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6551 inline_func1, inline_func2, and inline_func3. Test that when each
6552 breakpoint is hit, GDB properly reports both the stop location
6553 and the backtrace. Repeat tests for temporary breakpoints.
6554
6555 2018-05-15 Maciej W. Rozycki <macro@mips.com>
6556
6557 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6558 rather then trying to access it in determining whether the PID
6559 of `gdbserver' could have been retrieved.
6560
6561 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6562
6563 * gdb.arch/amd64-init-x87-values.S: New file.
6564 * gdb.arch/amd64-init-x87-values.exp: New file.
6565
6566 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6569
6570 2018-05-04 Tom Tromey <tom@tromey.com>
6571
6572 PR python/22730:
6573 * gdb.python/python.exp: Test multi-line execute.
6574
6575 2018-05-04 Tom Tromey <tom@tromey.com>
6576
6577 PR python/22731:
6578 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6579
6580 2018-05-04 Tom Tromey <tom@tromey.com>
6581
6582 PR gdb/11750:
6583 * gdb.base/define.exp: Test defining a user command inside a user
6584 command.
6585 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6586
6587 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6588 Pedro Alves <palves@redhat.com>
6589
6590 PR breakpoints/19806 and support for PR external/20207.
6591 * gdb.base/watchpoint-unaligned.c: New file.
6592 * gdb.base/watchpoint-unaligned.exp: New file.
6593
6594 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6595
6596 * gdb.base/maint.exp: Make test names unique, use
6597 test_prefix_command_help to test 'help maint info', and remove
6598 repeated test of 'help maint'.
6599
6600 2018-05-04 Tom Tromey <tom@tromey.com>
6601
6602 PR gdb/22619:
6603 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6604 behavior.
6605
6606 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6607
6608 * gdb.base/maint.exp: Process output from 'maint print registers'
6609 line at a time.
6610
6611 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6612
6613 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6614 timeout.
6615
6616 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6617
6618 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6619 filter pattern.
6620
6621 2018-05-02 Pedro Alves <palves@redhat.com>
6622
6623 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6624 to_log_command renames.
6625 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6626
6627 2018-05-02 Tom Tromey <tom@tromey.com>
6628
6629 * gdb.python/py-parameter.exp: Set test message.
6630
6631 2018-05-02 Tom Tromey <tom@tromey.com>
6632
6633 PR python/20084:
6634 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6635 PARAM_ZUINTEGER_UNLIMITED tests.
6636
6637 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6638
6639 PR rust/23124
6640 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6641 when casting.
6642
6643 2018-04-30 Tom Tromey <tom@tromey.com>
6644
6645 * gdb.python/py-type.exp: Check align attribute.
6646 * gdb.python/py-type.c: New "aligncheck" global.
6647
6648 2018-04-30 Tom Tromey <tom@tromey.com>
6649
6650 PR exp/17095:
6651 * gdb.dwarf2/dw2-align.exp: New file.
6652 * gdb.cp/align.exp: New file.
6653 * gdb.base/align.exp: New file.
6654 * lib/gdb.exp (gdb_int128_helper): New proc.
6655 (has_int128_c, has_int128_cxx): New caching procs.
6656
6657 2018-04-27 Tom Tromey <tom@tromey.com>
6658
6659 PR rust/22545:
6660 * gdb.rust/simple.exp: Add inclusive range tests.
6661
6662 2018-04-26 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6665 ifunc breakpoint locations correctly of ifunc breakpoints set
6666 while the program resolves the ifunc.
6667
6668 2018-04-26 Pedro Alves <palves@redhat.com>
6669
6670 * gdb.base/gnu-ifunc-final.c: New file.
6671 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6672 * gdb.base/gnu-ifunc.exp (executable): Delete.
6673 (staticexecutable): Adjust.
6674 (lib_opts, exec_opts): Delete.
6675 (make_binsuffix, build, set-break): New procedures.
6676 (misc_tests): New, with tests factored out from the top level.
6677 (top level): Test different combinations of ifunc resolver name,
6678 resolver with and with debug info, and ifunc target with and
6679 without debug info. Wrap static tests with with_target_prefix.
6680
6681 2018-04-26 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6684 return type" warnings.
6685
6686 2018-04-25 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6689 killed".
6690 * gdb.base/kill-after-signal.exp: Likewise.
6691 * gdb.threads/kill.exp: Likewise.
6692
6693 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6694 Sergio Durigan Junior <sergiodj@redhat.com>
6695 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6698 regexps to expect for '[Inferior ... detached]' as well.
6699 * gdb.base/attach.exp: Likewise.
6700 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6701 "gdb_continue_to_end".
6702 (test_catch_syscall_with_wrong_args): Likewise.
6703 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6704 ']'. Don't set 'verbose' on.
6705 * gdb.base/foll-vfork.exp: Likewise.
6706 * gdb.base/fork-print-inferior-events.c: New file.
6707 * gdb.base/fork-print-inferior-events.exp: New file.
6708 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6709 '[Inferior ... has been killed]' message.
6710 * gdb.base/kill-after-signal.exp: Likewise.
6711 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6712 detach message.
6713 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6714 message.
6715 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6716 regexps to expect for '[Inferior ... detached]' as well.
6717 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6718
6719 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6720
6721 PR gdb/23104
6722 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6723
6724 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6725
6726 PR gdb/23095
6727 * gdb.base/break-probes.exp: Pass shlib_load to
6728 prepare_for_testing. Set normal_bp to r_debug_state if target is
6729 bsd.
6730
6731 2018-04-19 Richard Bunt <richard.bunt@arm.com>
6732
6733 * gdb.threads/multiple-successive-infcall.c: New test.
6734 * gdb.threads/multiple-successive-infcall.exp: New file.
6735
6736 2018-04-17 Tom Tromey <tom@tromey.com>
6737
6738 * gdb.rust/simple.rs (Union): New type.
6739 (main): New local "u".
6740 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6741
6742 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6743
6744 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6745 number information in output of "whereis" command.
6746 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6747
6748 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6749
6750 * gdb.ada/info_types.exp: Adjust expected output to the line
6751 numbers now printed by "info var/func/type".
6752 * gdb.base/completion.exp: Likewise.
6753 * gdb.base/included.exp: Likewise.
6754 * gdb.cp/cp-relocate.exp: Likewise.
6755 * gdb.cp/cplusfuncs.exp: Likewise.
6756 * gdb.cp/namespace.exp: Likewise.
6757 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6758
6759 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6760
6761 * gdb.btrace/cpu.exp: New.
6762
6763 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6764
6765 * gdb.base/step-indirect-call-thunk.exp: New.
6766 * gdb.base/step-indirect-call-thunk.c: New.
6767 * gdb.reverse/step-indirect-call-thunk.exp: New.
6768 * gdb.reverse/step-indirect-call-thunk.c: New.
6769
6770 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6771
6772 * gdb.base/pie-fork.c: New file.
6773 * gdb.base/pie-fork.exp: New file.
6774
6775 2018-04-11 Tom Tromey <tom@tromey.com>
6776
6777 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6778
6779 2018-04-10 Pedro Alves <palves@redhat.com>
6780
6781 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6782 exits. Instead loop running forever.
6783 (fork_parent): Run forever too.
6784
6785 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6786
6787 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6788 mi_continue_to_line.
6789 * gdb.mi/mi-stack.c (callee4): Add comment.
6790
6791 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6792
6793 * gdb.mi/mi-stack.exp: Fix indentation.
6794
6795 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6796
6797 PR gdb/22979
6798 * gdb.arch/amd64-osabi.exp: New file.
6799
6800 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6801
6802 PR gdb/22980
6803 * gdb.base/osabi.exp: New file.
6804
6805 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6806
6807 * gdb.cp/static-typedef-print.exp: New file.
6808 * gdb.cp/static-typedef-print.cc: New file.
6809
6810 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6811
6812 * gdb.ada/varsize_limit: New testcase.
6813
6814 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6815
6816 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6817
6818 * gdb.ada/notcplusplus: New testcase.
6819
6820 * gdb.base/c-linkage-name.c: New file.
6821 * gdb.base/c-linkage-name.exp: New testcase.
6822
6823 2018-03-26 Tom Tromey <tom@tromey.com>
6824
6825 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6826 * gdb.python/py-framefilter.py (name_error): New global.
6827 (ErrorInName.function): Use name_error.
6828
6829 2018-03-26 Tom Tromey <tom@tromey.com>
6830
6831 PR backtrace/15582:
6832 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6833
6834 2018-03-23 Keith Seitz <keiths@redhat.com>
6835
6836 PR c++/22968
6837 * gdb.cp/subtypes.exp: New file.
6838 * gdb.cp/subtypes.h: New file.
6839 * gdb.cp/subtypes.cc: New file.
6840 * gdb.cp/subtypes-2.cc: New file.
6841
6842 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6843
6844 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6845 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6846 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6847 -nostartfiles when compiling the test. Confirm that all registers
6848 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6849
6850 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6851
6852 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6853 option, syntax was wrong anyway.
6854 * gdb.arch/arm-disp-step.exp: Likewise.
6855 * gdb.arch/sparc64-regs.exp: Likewise.
6856 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6857 option, syntax was wrong anyway, switch to use
6858 prepare_for_testing.
6859 * gdb.arch/i386-disp-step.exp: Likewise.
6860
6861 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6862
6863 * gdb.ada/exec_changed.exp: Replace "target_info exists
6864 use_gdb_stub" by "use_gdb_stub".
6865 * gdb.ada/start.exp: Likewise.
6866 * gdb.base/async-shell.exp: Likewise.
6867 * gdb.base/attach-pie-misread.exp: Likewise.
6868 * gdb.base/attach-wait-input.exp: Likewise.
6869 * gdb.base/break-entry.exp: Likewise.
6870 * gdb.base/break-interp.exp: Likewise.
6871 * gdb.base/dprintf-detach.exp: Likewise.
6872 * gdb.base/nostdlib.exp: Likewise.
6873 * gdb.base/solib-nodir.exp: Likewise.
6874 * gdb.base/statistics.exp: Likewise.
6875 * gdb.base/testenv.exp: Likewise.
6876 * gdb.mi/mi-exec-run.exp: Likewise.
6877 * gdb.mi/mi-start.exp: Likewise.
6878 * gdb.multi/dummy-frame-restore.exp: Likewise.
6879 * gdb.multi/multi-arch-exec.exp: Likewise.
6880 * gdb.multi/multi-arch.exp: Likewise.
6881 * gdb.multi/tids.exp: Likewise.
6882 * gdb.multi/watchpoint-multi.exp: Likewise.
6883 * gdb.python/py-events.exp: Likewise.
6884 * gdb.threads/attach-into-signal.exp: Likewise.
6885 * gdb.threads/attach-stopped.exp: Likewise.
6886 * gdb.threads/threadapply.exp: Likewise.
6887 * lib/selftest-support.exp: Likewise.
6888
6889 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6890
6891 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6892
6893 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6894
6895 * gdb.perf/template-breakpoints.cc: New file.
6896 * gdb.perf/template-breakpoints.exp: New file.
6897 * gdb.perf/template-breakpoints.py: New file.
6898
6899 2018-03-19 Tom Tromey <tom@tromey.com>
6900
6901 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6902 y0.
6903 * gdb.rust/simple.exp: Test bare identifier form of struct
6904 initializer.
6905
6906 2018-03-19 Tom Tromey <tom@tromey.com>
6907
6908 * gdb.gdb/observer.exp: Remove.
6909
6910 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6911
6912 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6913 "qualified" option when setting breakpoints.
6914 * gdb.trace/backtrace.exp: Likewise.
6915 * gdb.trace/circ.exp: Likewise.
6916 * gdb.trace/collection.exp: Likewise.
6917 * gdb.trace/disconnected-tracing.exp: Likewise.
6918 * gdb.trace/ftrace-lock.exp: Likewise.
6919 * gdb.trace/ftrace.exp: Likewise.
6920 * gdb.trace/infotrace.exp: Likewise.
6921 * gdb.trace/packetlen.exp: Likewise.
6922 * gdb.trace/passc-dyn.exp: Likewise.
6923 * gdb.trace/qtro.exp: Likewise.
6924 * gdb.trace/read-memory.exp: Likewise.
6925 * gdb.trace/report.exp: Likewise.
6926 * gdb.trace/signal.exp: Likewise.
6927 * gdb.trace/status-stop.exp: Likewise.
6928 * gdb.trace/strace.exp: Likewise.
6929 * gdb.trace/tfind.exp: Likewise.
6930 * gdb.trace/trace-break.exp: Likewise.
6931 * gdb.trace/trace-condition.exp: Likewise.
6932 * gdb.trace/trace-mt.exp: Likewise.
6933 * gdb.trace/tstatus.exp: Likewise.
6934 * gdb.trace/tsv.exp: Likewise.
6935 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6936 * gdb.trace/unavailable.exp: Likewise.
6937 * gdb.trace/while-dyn.exp: Likewise.
6938
6939 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6940
6941 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6942 that libinproctrace is copied to the target.
6943
6944 2018-03-14 Tom Tromey <tom@tromey.com>
6945
6946 PR cli/14977:
6947 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6948 a null pointer.
6949 * gdb.base/wchar.exp: Likewise.
6950
6951 2018-03-14 Tom Tromey <tom@tromey.com>
6952
6953 PR cli/19918:
6954 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6955 flag.
6956
6957 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6958
6959 PR gdb/22841
6960 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6961 "target" to remote_exec.
6962
6963 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6964
6965 PR gdb/22841
6966 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6967 ${board}_upload): Remove.
6968
6969 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6970
6971 * gdb.cp/watch-cp.cc: New test.
6972 * gdb.cp/watch-cp.exp: New file.
6973
6974 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6975
6976 * gdb.base/infcall-nested-structs.exp: New file.
6977 * gdb.base/infcall-nested-structs.c: New file.
6978 * gdb.base/float.exp: Add riscv support.
6979
6980 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6981
6982 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6983 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6984
6985 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6986
6987 * gdb.server/abspath.exp: New file.
6988 * lib/gdb.exp (with_cwd): New procedure.
6989
6990 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6991
6992 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6993 use it.
6994 (gdb_is_target_remote_prompt): New proc.
6995 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6996 (gdb_is_target_native): Pass prompt parameter to
6997 gdb_is_target_1.
6998
6999 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7000
7001 * gdb.base/load-command.c: New file.
7002 * gdb.base/load-command.exp: New file.
7003 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7004 (gdb_is_target_1): ...this, and generalize for other targets
7005 than just remote.
7006 (gdb_is_target_remote): Use gdb_is_target_1.
7007 (gdb_is_target_native): use gdb_is_target_1.
7008
7009 2018-02-26 Tom Tromey <tom@tromey.com>
7010
7011 PR python/16497:
7012 * gdb.python/py-framefilter.exp: Update test.
7013
7014 2018-02-26 Tom Tromey <tom@tromey.com>
7015
7016 * gdb.dwarf2/variant.c: New file.
7017 * gdb.dwarf2/variant.exp: New file.
7018
7019 2018-02-26 Tom Tromey <tom@tromey.com>
7020
7021 * gdb.rust/simple.exp: Accept more possible results in enum test.
7022
7023 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7024
7025 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7026 parentheses.
7027
7028 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7029
7030 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7031 name of a variable: $actual_linejj -> $actual_line.
7032
7033 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7034
7035 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7036
7037 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7038
7039 * gdb.btrace/buffer-size.exp: Do not force BTS.
7040
7041 2018-02-14 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7044 getting a "Quit".
7045
7046 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7047
7048 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7049 Fix test name.
7050
7051 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7052
7053 * gdb.cp/m-static.exp: Check type of optimized out static
7054 member.
7055
7056 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7057
7058 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7059 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7060
7061 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7062 Leszek Swirski <leszeks@google.com>
7063
7064 * gdb.python/py-prettyprint.c
7065 (struct to_string_returns_value_inner,
7066 struct to_string_returns_value_wrapper): New.
7067 (main): Add tsrvw variable.
7068 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7069 ToStringReturnsValueWrapper): New classes.
7070 (register_pretty_printers): Register new pretty-printers.
7071 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7072 recursive pretty printer.
7073 * gdb.python/py-mi.exp: Likewise.
7074
7075 2018-02-01 Leszek Swirski <leszeks@google.com>
7076
7077 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7078 functions with the same name as an include file are parsed
7079 correctly.
7080
7081 2018-02-01 Yao Qi <yao.qi@linaro.org>
7082
7083 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7084 "\[^\r\n\]*".
7085
7086 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7087
7088 * gdb.arch/powerpc-prologue-frame.s: New file.
7089 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7090 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7091
7092 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7093
7094 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7095
7096 2018-01-30 Pedro Alves <palves@redhat.com>
7097
7098 PR gdb/13211
7099 * gdb.base/interrupt-daemon.c: New.
7100 * gdb.base/interrupt-daemon.exp: New.
7101 * gdb.multi/multi-term-settings.c: New.
7102 * gdb.multi/multi-term-settings.exp: New.
7103
7104 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7105
7106 * gdb.base/break.exp: Save the location where the breakpoint
7107 on break.c:47 was actually inserted when debugging the version
7108 compiled at -O2 and use it in the expected output of the "info
7109 break" test performed soon after.
7110
7111 2018-01-22 Pedro Alves <palves@redhat.com>
7112 Sergio Durigan Junior <sergiodj@redhat.com>
7113
7114 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7115 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7116
7117 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7118
7119 * gdb.base/break-include.c, gdb.base/break-include.inc,
7120 gdb.base/break-include.exp: New files.
7121 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7122 line number now being the actual line number where the breakpoint
7123 was inserted.
7124 * gdb.mi/mi-break.exp: Likewise.
7125 * gdb.mi/mi-reverse.exp: Likewise.
7126 * gdb.mi/mi-simplerun.exp: Ditto.
7127
7128 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7129
7130 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7131 varobj.
7132 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7133
7134 2018-01-21 Don Breazeal <donb@codesourcery.com>
7135 Andrew Burgess <andrew.burgess@embecosm.com>
7136
7137 * gdb.mi/basics.c: Add new global.
7138 * gdb.mi/mi-frame-regs.exp: New file.
7139 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7140 case.
7141
7142 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7143
7144 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7145 non-parameter, and on an unknown symbol.
7146
7147 2018-01-19 Tom Tromey <tom@tromey.com>
7148
7149 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7150 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7151
7152 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7153
7154 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7155 setrlimit and chdir to int.
7156
7157 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7158
7159 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7160 function.
7161 (my_tend): Likewise.
7162 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7163 rationale of avoiding FP- and vector instructions.
7164
7165 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7166
7167 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7168 "info reg" with "\[ \t\]*".
7169 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7170 "\[ \t\]+".
7171 * gdb.arch/s390-multiarch.exp: Ditto.
7172 * gdb.base/pc-fp.exp: Ditto.
7173 * gdb.reverse/i386-precsave.exp: Ditto.
7174 * gdb.reverse/i386-reverse.exp: Ditto.
7175 * gdb.reverse/i387-env-reverse.exp: Ditto.
7176 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7177
7178 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7179
7180 * lib/gdb.exp (gdb_compile): Re-enable use of
7181 universal_compile_options for languages other than Rust.
7182
7183 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7184
7185 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7186
7187 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7188
7189 PR gdb/16577
7190 * gdb.base/solib-vanish.exp: New.
7191 * gdb.base/solib-vanish-main.c: New.
7192 * gdb.base/solib-vanish-lib1.c: New.
7193 * gdb.base/solib-vanish-lib2.c: New.
7194
7195 2018-01-17 Yao Qi <yao.qi@linaro.org>
7196
7197 * gdb.compile/compile.exp: Match the address printed for
7198 frame in the output of command "bt".
7199
7200 2018-01-15 Tom Tromey <tom@tromey.com>
7201
7202 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7203 compute sp_reg.
7204
7205 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7206
7207 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7208 to prepare.
7209 (prepare): Return 0 on error, 1 on success.
7210
7211 2018-01-12 Pedro Alves <palves@redhat.com>
7212
7213 * gdb.base/continue-after-aborted-step-over.c: New.
7214 * gdb.base/continue-after-aborted-step-over.exp: New.
7215
7216 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7217
7218 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7219 options when not creating an executable.
7220
7221 2018-01-11 Pedro Alves <palves@redhat.com>
7222
7223 PR remote/22597
7224 * gdb.server/stop-reply-no-thread.c: New file.
7225 * gdb.server/stop-reply-no-thread.exp: New file.
7226
7227 2018-01-10 Pedro Alves <palves@redhat.com>
7228
7229 PR gdb/22670
7230 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7231 functions too. Test setting breakpoints and printing C functions
7232 with no debug info too.
7233 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7234
7235 2018-01-10 Pedro Alves <palves@redhat.com>
7236
7237 PR gdb/22670
7238 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7239 a fail.
7240
7241 2018-01-10 Pedro Alves <palves@redhat.com>
7242
7243 PR gdb/22670
7244 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7245
7246 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7247
7248 * gdb.server/unittest.exp: Match the output in non-development
7249 mode.
7250
7251 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7252
7253 * gdb.gdb/unittest.exp: Match output in non-development mode.
7254
7255 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7256
7257 * gdb.ada/access_tagged_param.exp: Relax expected output
7258 for value of "ObjL" in "continue" to pck.inspect breakpoint
7259 test.
7260
7261 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7262
7263 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7264 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
7265
7266 2018-01-05 Pedro Alves <palves@redhat.com>
7267
7268 PR gdb/18653
7269 * gdb.base/libsegfault.exp: New.
7270
7271 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7272
7273 PR gdb/22670
7274 * gdb.ada/access_tagged_param.exp: New file.
7275 * gdb.ada/access_tagged_param/foo.adb: New file.
7276
7277 2018-01-05 Pedro Alves <palves@redhat.com>
7278
7279 PR gdb/22670
7280 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7281 exercise lower case too, and to exercise both full matching and
7282 wild matching.
7283
7284 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7285
7286 * gdb.ada/rename_subscript_param: New testcase.
7287
7288 2018-01-05 Jerome Guitton <guitton@adacore.com>
7289
7290 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7291
7292 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7293
7294 * gdb.ada/convvar_comp: New testcase.
7295
7296 2018-01-05 Xavier Roirand <roirand@adacore.com>
7297
7298 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7299 (My_Table): New global variable.
7300 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7301
7302 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7303
7304 PR gdb/22670
7305 * gdb.ada/maint_with_ada: New testcase.
7306
7307 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7308
7309 PR gdb/22670
7310 * gdb.ada/bp_c_mixed_case: New testcase.
7311
7312 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7313
7314 PR gdb/22670
7315 * gdb.ada/complete.exp: Add "complete break ada" test.
7316
7317 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7318
7319 PR gdb/22670
7320 * gdb.ada/info_addr_mixed_case: New testcase.
7321
7322 2018-01-03 Xavier Roirand <roirand@adacore.com>
7323
7324 * gdb.ada/excep_handle.exp: New testcase.
7325 * gdb.ada/excep_handle/foo.adb: New file.
7326 * gdb.ada/excep_handle/pck.ads: New file.
7327
7328 2018-01-03 Joel Brobecker <brobecker@adacore.com>
7329
7330 * gdb.base/step-line.c: Add extra empty line in copyright header.
7331 * gdb.base/step-line.inp: Likewise.
7332
7333 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7334
7335 * gdb.ada/dyn_stride.exp: Add slice test.
7336
7337 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7338
7339 * gdb.ada/dyn_stride: New testcase.
7340
7341 2017-12-27 Stafford Horne <shorne@gmail.com>
7342
7343 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7344 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7345
7346 2017-12-27 Stafford Horne <shorne@gmail.com>
7347
7348 * gdb.base/reggroups.c: New file.
7349 * gdb.base/reggroups.exp: New file.
7350
7351 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7352
7353 * gdb.dwarf2/ada-valprint-error.c: New file.
7354 * gdb.dwarf2/ada-valprint-error.exp: New file.
7355
7356 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.ada/assign_arr: New testcase.
7359
7360 2017-12-18 Xavier Roirand <roirand@adacore.com>
7361
7362 * gdb.ada/funcall_ptr: New testcase.
7363
7364 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7365
7366 PR cli/16224
7367 * gdb.base/ptype-offsets.cc: New file.
7368 * gdb.base/ptype-offsets.exp: New file.
7369
7370 2017-12-15 Yao Qi <yao.qi@linaro.org>
7371
7372 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7373 if XML is disabled.
7374
7375 2017-12-15 Xavier Roirand <roirand@adacore.com>
7376
7377 * gdb.ada/same_component_name: New testcase.
7378
7379 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7380
7381 * gdb.ada/str_binop_equal: New testcase.
7382
7383 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7384
7385 * gdb.ada/task_switch_in_core: New testcase.
7386
7387 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7388
7389 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7390 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7391 call test_bkpt_qualified.
7392 (test_bkpt_qualified): New proc.
7393
7394 2017-12-13 Pedro Alves <palves@redhat.com>
7395
7396 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7397 Tighten regexp by matching with an anchor.
7398
7399 2017-12-13 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7402 ("expression with namespace"): New set of tests.
7403 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7404 (Nested::Test_NS::qux): New.
7405 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7406 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7407
7408 2017-12-13 Joel Brobecker <brobecker@adacore.com>
7409
7410 * gdb.base/server-del-break.c: New file.
7411 * gdb.base/server-del-break.exp: New file.
7412
7413 2017-12-12 Stafford Horne <shorne@gmail.com>
7414
7415 * gdb.xml/tdesc-regs.exp: Add or1k support.
7416
7417 2017-12-12 Stafford Horne <shorne@gmail.com>
7418
7419 * gdb.base/bp-permanent.c: Define nop of or1k.
7420
7421 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7422
7423 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7424 output with components being reordered.
7425
7426 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7427
7428 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7429 output with components being reordered.
7430
7431 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7432 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/maint.exp (check for .gdb_index): Check also for
7435 .debug_names.
7436 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7437 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7438 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7439 (.gdb_index used after symbol reloading): Support also .debug_names.
7440 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7441
7442 2017-12-08 Yao Qi <yao.qi@linaro.org>
7443
7444 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7445 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7446
7447 2017-12-08 Yao Qi <yao.qi@linaro.org>
7448
7449 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7450 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7451
7452 2017-12-08 Yao Qi <yao.qi@linaro.org>
7453
7454 * gdb.arch/aarch64-tagged-pointer.c: New file.
7455 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7456
7457 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7458
7459 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7460 "int".
7461
7462 2017-12-07 Keith Seitz <keiths@redhat.com>
7463
7464 PR breakpoints/22569
7465 * gdb.linespec/ls-errs.exp: Change expected result of "break
7466 -source this file has spaces.c -line 3".
7467 Check that an explicit source file followed by whitespace is
7468 identified as an invalid explicit location.
7469
7470 2017-12-07 Keith Seitz <keiths@redhat.com>
7471
7472 * gdb.cp/nested-types.cc: New file.
7473 * gdb.cp/nested-types.exp: New file.
7474 * lib/cp-support.exp: Load data-structures.exp library.
7475 (debug_cp_test_ptype_class): New global.
7476 (cp_ptype_class_verbose, next_line): New procedures.
7477 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7478 Add and document new return value.
7479 Switch the list of lines to a queue.
7480 Add support for new `type' key for nested type definitions.
7481 Add debugging/troubleshooting messages.
7482 * lib/data-structures.exp: New file.
7483
7484 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7485
7486 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7487 with proc_with_prefix, don't use with_test_prefix.
7488
7489 2017-12-07 Tom Tromey <tom@tromey.com>
7490
7491 * gdb.base/break.exp: Add test for empty "commands".
7492
7493 2017-12-07 Yao Qi <yao.qi@linaro.org>
7494
7495 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7496 malloc and catch syscall.
7497
7498 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7499
7500 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
7501 tests for explicit locations.
7502
7503 2017-12-06 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7506 force-disabling XML descriptions.
7507
7508 2017-12-04 Pedro Alves <palves@redhat.com>
7509
7510 PR gdb/22499
7511 * gdb.arch/amd64-disp-step-avx.S: New file.
7512 * gdb.arch/amd64-disp-step-avx.exp: New file.
7513
7514 2017-12-03 Pedro Alves <palves@redhat.com>
7515
7516 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7517 and <string.h>.
7518 (parent_function): Print distinct messages when waitpid fails, or
7519 the child exits with a signal, or the child exits for an unhandled
7520 reason.
7521 * gdb.threads/process-dies-while-detaching.exp
7522 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7523 it. Wait for both inferior output and GDB's prompt. Use an
7524 indirect spawn id list.
7525 (do_detach): New parameter 'child_exit'. Use it to compute
7526 expected inferior output.
7527 (test_detach, test_detach_watch, test_detach_killed_outside):
7528 Adjust to pass down the expected child exit kind.
7529
7530 2017-12-01 Joel Brobecker <brobecker@adacore.com>
7531 Sergio Durigan Junior <sergiodj@redhat.com>
7532 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7535
7536 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7537
7538 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7539 to 'symbol-file' and 'add-symbol-file' can be
7540 position-independent.
7541
7542 2017-12-01 Yao Qi <yao.qi@linaro.org>
7543
7544 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7545 the URL in copyright header.
7546 * gdb.arch/aarch64-fp.exp: Likewise.
7547 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7548 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7549 * gdb.base/expand-psymtabs.exp: Likewise.
7550 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7551 * gdb.fortran/common-block.exp: Likewise.
7552 * gdb.fortran/common-block.f90: Likewise.
7553 * gdb.fortran/logical.exp: Likewise.
7554 * gdb.fortran/vla-datatypes.f90: Likewise.
7555 * gdb.fortran/vla-sub.f90: Likewise.
7556
7557 2017-11-30 Joel Brobecker <brobecker@adacore.com>
7558
7559 * gdb.ada/repeat_dyn: New testcase.
7560
7561 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7562
7563 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7564 Update for changed thread numbering.
7565 * gdb.cell/bt.exp: Update for changed GDB output.
7566
7567 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7568
7569 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7570 setting isremote by hand.
7571 * boards/dwarf4-gdb-index.exp: Likewise.
7572 * boards/fission.exp: Likewise.
7573 * boards/stabs.exp: Likewise.
7574
7575 2017-11-30 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.linespec/cpls-ops.exp
7578 (check_explicit_skips_function_argument): Extract the underlying
7579 type of size_t instead of hardcoding it.
7580
7581 2017-11-29 Pedro Alves <palves@redhat.com>
7582
7583 PR c++/19436
7584 * gdb.linespec/cpls-abi-tag.cc: New file.
7585 * gdb.linespec/cpls-abi-tag.exp: New file.
7586
7587 2017-11-29 Pedro Alves <palves@redhat.com>
7588
7589 * gdb.base/langs.exp: Use -qualified.
7590 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7591 it.
7592 * gdb.cp/namespace.exp: Use -qualified.
7593 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7594 (overload-3, template-overload, template-ret-type, const-overload)
7595 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7596 procedures.
7597 (test_driver): Call them.
7598 * gdb.cp/save-bp-qualified.cc: New.
7599 * gdb.cp/save-bp-qualified.exp: New.
7600 * gdb.linespec/explicit.exp: Test -qualified.
7601 * lib/completion-support.exp (completion::explicit_opts_list): Add
7602 "-qualified".
7603 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7604
7605 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7606
7607 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7608
7609 2017-11-29 Tom Tromey <tom@tromey.com>
7610
7611 * gdb.base/relocate.exp: Update invalid argument test.
7612 Add new tests for invalid arguments.
7613
7614 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7615
7616 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7617 Return 0 as a long.
7618 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7619
7620 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7621
7622 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7623 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7624 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7625 func ().
7626 * gdb.cp/shadow.cc (B.func): Return 0.
7627
7628 2017-11-27 Joel Brobecker <brobecker@adacore.com>
7629
7630 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7631 expected output in gdb_expect call to allow the exception
7632 message to be present as well. Fix syntax confusion to avoid
7633 TCL thinking that exception_name is an array.
7634
7635 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7636
7637 * gdb.arch/spu-info.c: Include <unistd.h>.
7638 (do_signal_test): Fix broken calls to write.
7639 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7640 Fix checks for empty mailboxes. Update signal tests for corrected
7641 do_signal_test routine. Allow nonzero event status.
7642 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7643 * gdb.cell/arch.exp: Use standard_output_file.
7644 * gdb.cell/break.exp: Likewise.
7645 * gdb.cell/bt.exp: Likewise.
7646 * gdb.cell/core.exp: Likewise.
7647 * gdb.cell/dwarfaddr.exp: Likewise.
7648 * gdb.cell/ea-cache.exp: Likewise.
7649 * gdb.cell/ea-standalone.exp: Likewise.
7650 * gdb.cell/f-regs.exp: Likewise.
7651 * gdb.cell/fork.exp: Likewise.
7652 * gdb.cell/gcore.exp: Likewise.
7653 * gdb.cell/mem-access.exp: Likewise.
7654 * gdb.cell/ptype.exp: Likewise.
7655 * gdb.cell/registers.exp: Likewise.
7656 * gdb.cell/sizeof.exp: Likewise.
7657 * gdb.cell/solib-symbol.exp: Likewise.
7658 * gdb.cell/solib.exp: Likewise.
7659
7660 2017-11-25 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.base/complete-empty.exp: New file.
7663 * gdb.base/completion.exp: Adjust.
7664
7665 2017-11-25 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.linespec/cpls-ops.cc: New file.
7668 * gdb.linespec/cpls-ops.exp: New file.
7669 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7670 factored out from ...
7671 (test_complete_prefix_range): ... this.
7672
7673 2017-11-24 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.linespec/cpcompletion.exp: New file.
7676 * gdb.linespec/cpls-hyphen.cc: New file.
7677 * gdb.linespec/cpls.cc: New file.
7678 * gdb.linespec/cpls2.cc: New file.
7679 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7680 test to use test_gdb_complete_unique. Add label completion,
7681 keyword completion and explicit location completion tests.
7682 * lib/completion-support.exp: New file.
7683
7684 2017-11-24 Joel Brobecker <brobecker@adacore.com>
7685
7686 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7687 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7688 when hitting an exception catchpoint.
7689
7690 2017-11-22 Yao Qi <yao.qi@linaro.org>
7691
7692 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7693
7694 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7695
7696 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7697 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7698 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7699
7700 2017-11-22 Yao Qi <yao.qi@linaro.org>
7701
7702 * gdb.base/info-os.exp: Pass pthreads.
7703 * gdb.multi/multi-attach.exp: Likewise.
7704
7705 2017-11-22 Yao Qi <yao.qi@linaro.org>
7706
7707 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7708 compiler.
7709
7710 2017-11-22 Yao Qi <yao.qi@linaro.org>
7711
7712 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7713 * gdb.base/break-interp.exp: Likewise.
7714 * gdb.base/jit-attach-pie.exp: Likewise.
7715
7716 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7717
7718 * gdb.base/float128.c (large128): New variable.
7719 * gdb.base/float128.exp: Add test to print largest __float128 value.
7720
7721 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7722
7723 * gdb.arch/vsx-regs.exp: Update register content checks.
7724
7725 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7726
7727 * gdb.arch/ppc-longdouble.exp: New file.
7728 * gdb.arch/ppc-longdouble.c: Likewise.
7729
7730 2017-11-21 Pedro Alves <palves@redhat.com>
7731
7732 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7733
7734 2017-11-20 Pedro Alves <palves@redhat.com>
7735
7736 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7737 (long_double_typedef): New typedefs.
7738 Use DEF on double and long double.
7739 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7740 cases.
7741 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7742 and 'long_double_ptr_same_size' locals. Use them to decide
7743 whether cast from array/function to float is valid/invalid.
7744
7745 2017-11-17 Tom Tromey <tom@tromey.com>
7746
7747 * gdb.rust/traits.rs: New file.
7748 * gdb.rust/traits.exp: New file.
7749
7750 2017-11-17 Joel Brobecker <brobecker@adacore.com>
7751
7752 * gdb.ada/minsyms: New testcase.
7753
7754 2017-11-16 Pedro Alves <palves@redhat.com>
7755
7756 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7757 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7758
7759 2017-11-16 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7762 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7763
7764 2017-11-16 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.server/reconnect-ctrl-c.c: New file.
7767 * gdb.server/reconnect-ctrl-c.exp: New file.
7768
7769 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7770
7771 * gdb.python/py-rbreak.exp: New file.
7772 * gdb.python/py-rbreak.c: New file.
7773 * gdb.python/py-rbreak-func2.c: New file.
7774
7775 2017-11-16 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7778 pattern.
7779 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7780 GDB.
7781
7782 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7783
7784 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7785 regex.
7786
7787 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7788
7789 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7790 test names.
7791
7792 2017-11-09 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7795 factored out from ...
7796 (top level): ... here, and adjusted to avoid expecting beyond the
7797 prompt in a single gdb_test_multiple.
7798
7799 2017-11-09 Pedro Alves <palves@redhat.com>
7800
7801 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7802 output.
7803 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7804 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7805 * gdb.server/ext-run.exp ("kill" test): Likewise.
7806 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7807
7808 2017-11-09 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7811 match till end of line.
7812
7813 2017-11-09 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7816
7817 2017-11-09 Pedro Alves <palves@redhat.com>
7818
7819 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7820 New procedures, factored out from ...
7821 (top level): ... here, and adjusted to avoid expecting beyond the
7822 prompt in one go.
7823
7824 2017-11-09 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7827 output. Fix '?' match.
7828
7829 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7830
7831 * gdb.ada/scoped_watch: New testcase.
7832 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7833 which is actually correct.
7834 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7835 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7836
7837 2017-11-08 Pedro Alves <palves@redhat.com>
7838
7839 * gdb.gdb/complaints.exp (test_initial_complaints)
7840 (test_serial_complaints, test_short_complaints): Call
7841 complaint_internal instead of complaint.
7842
7843 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7844
7845 * gdb.threads/tls-core.c: New file.
7846 * gdb.threads/tls-core.exp: Likewise.
7847
7848 2017-11-08 Pedro Alves <palves@redhat.com>
7849
7850 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7851 (p Exported_Capitalized): New test.
7852 (p exported_capitalized): New test.
7853
7854 2017-11-07 Pedro Alves <palves@redhat.com>
7855
7856 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7857
7858 2017-11-07 Pedro Alves <palves@redhat.com>
7859
7860 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7861 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7862 (disable_invalid, disable_inverted, disable_negative): New
7863 procedures.
7864 ("bad numbers"): New set of tests.
7865
7866 2017-11-07 Pedro Alves <palves@redhat.com>
7867
7868 * gdb.cp/ena-dis-br-range.exp: Add tests.
7869
7870 2017-11-07 Pedro Alves <palves@redhat.com>
7871
7872 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7873
7874 2017-11-07 Xavier Roirand <roirand@adacore.com>
7875 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/ena-dis-br.exp: Add reference to
7878 gdb.cp/ena-dis-br-range.exp.
7879 * gdb.cp/ena-dis-br-range.exp: New file.
7880 * gdb.cp/ena-dis-br-range.cc: New file.
7881
7882 2017-11-06 Pedro Alves <palves@redhat.com>
7883
7884 * gdb.base/attach-non-pgrp-leader.c: New.
7885 * gdb.base/attach-non-pgrp-leader.exp: New.
7886
7887 2017-11-06 Pedro Alves <palves@redhat.com>
7888
7889 * configure.ac: No longer check for termio.h and sgtty.h.
7890 * configure: Regenerate.
7891 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7892 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7893 Remove termio and sgtty code.
7894
7895 2017-11-03 Yao Qi <yao.qi@linaro.org>
7896
7897 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7898 in GDB is disabled.
7899
7900 2017-11-03 Yao Qi <yao.qi@linaro.org>
7901
7902 * gdb.python/py-thrhandle.exp: Skip it if python is not
7903 enabled.
7904
7905 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7906
7907 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7908 as a breakpoint command.
7909
7910 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7911
7912 PR python/21213
7913 * gdb.python/py-infthread.exp: Test calling
7914 InferiorThread.inferior () multiple times in a row.
7915
7916 2017-10-27 Keith Seitz <keiths@redhat.com>
7917
7918 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7919 Test "info break" for every inlined function breakpoint.
7920
7921 2017-10-27 Yao Qi <yao.qi@linaro.org>
7922
7923 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7924
7925 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7926
7927 * gdb.cp/classes.exp (test_static_members): Test printing
7928 Outer::instance.
7929 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7930 (Inner::instance, Outer::instance): New.
7931
7932 2017-10-24 Pedro Alves <palves@redhat.com>
7933
7934 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7935 extra console" test in two stages.
7936
7937 2017-10-24 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7940
7941 2017-10-24 Pedro Alves <palves@redhat.com>
7942
7943 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7944 loop.
7945
7946 2017-10-24 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7949 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7950
7951 2017-10-24 Pedro Alves <palves@redhat.com>
7952
7953 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7954 parameter and handle it. Don't output read value in test name.
7955
7956 2017-10-24 Pedro Alves <palves@redhat.com>
7957
7958 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7959 custom test name.
7960
7961 2017-10-24 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7964 include the unstable output directory name in the test's name.
7965 (initial_setup_simple) <'set args'>: Use custom test name.
7966
7967 2017-10-24 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7970 with explicit test name.
7971
7972 2017-10-20 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7975 'wait -i'. Use gdb_assert and remote_close.
7976
7977 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7978
7979 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7980 number from variable rather than hard-coded.
7981
7982 2017-10-19 Pedro Alves <palves@redhat.com>
7983
7984 * gdb.base/long-inferior-output.c: New file.
7985 * gdb.base/long-inferior-output.exp: New file.
7986
7987 2017-11-18 Keith Seitz <keiths@redhat.com>
7988
7989 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7990 method.
7991 (main): Call it.
7992 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7993 Add additional user-defined conversion operator tests.
7994
7995 2017-10-17 Pedro Alves <palves@redhat.com>
7996
7997 * boards/native-stdio-gdbserver.exp: Load "local-board".
7998
7999 2017-10-17 Pedro Alves <palves@redhat.com>
8000
8001 * gdb.base/quit-live.c: New file.
8002 * gdb.base/quit-live.exp: New file.
8003
8004 2017-10-16 Keith Seitz <keiths@redhat.com>
8005
8006 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8007 (class_with_protected_typedef, class_with_private_typedef)
8008 (struct_with_public_typedef, struct_with_protected_typedef)
8009 (struct_with_private_typedef): New classes/structs.
8010 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8011 typedefs and access specifiers.
8012
8013 2017-10-16 Pedro Alves <palves@redhat.com>
8014 Simon Marchi <simon.marchi@polymtl.ca>
8015
8016 * README (Local vs Remote vs Native): New section.
8017 * boards/local-board.exp: New file, with bits factored out from
8018 ...
8019 * boards/native-extended-gdbserver.exp: ... here. Load
8020 "local-board".
8021 * boards/native-gdbserver.exp: Load "local-board".
8022 (${board}_spawn, ${board}_exec): Delete.
8023 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8024 ...
8025 * boards/stdio-gdbserver-base.exp: ... this new file.
8026 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8027 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8028 procedure.
8029 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8030 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8031 stdio_gdbserver_command.
8032 (${board}_get_remote_address, ${board}_get_comm_port)
8033 (${board}_download, ${board}_upload): Delete.
8034 (get_target_remote_pipe_cmd): New.
8035
8036 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8037
8038 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8039 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8040 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8041 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8042 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8043 remove with_test_prefix.
8044
8045 2017-10-13 Pedro Alves <palves@redhat.com>
8046
8047 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8048 * gdb.base/annota1.exp: Use it instead of is_remote.
8049 * gdb.base/annota3.exp: Use it instead of is_remote.
8050 * gdb.cp/annota2.exp: Use it instead of is_remote.
8051 * gdb.cp/annota3.exp: Use it instead of is_remote.
8052 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8053
8054 2017-10-13 Pedro Alves <palves@redhat.com>
8055
8056 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8057 (test_num_test_vars, run_and_count_vars, find_env)
8058 (test_set_unset_env, test_inherit_env_var): New procedures.
8059 (top level): Use them.
8060
8061 2017-10-13 Pedro Alves <palves@redhat.com>
8062
8063 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8064 also skip on stub-like targets.
8065
8066 2017-10-13 Pedro Alves <palves@redhat.com>
8067
8068 PR gdb/22293
8069 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8070 (top level): Move some tests to ...
8071 (test_not_found): ... this new procedure.
8072 (top level): Call it.
8073
8074 2017-10-13 Pedro Alves <palves@redhat.com>
8075
8076 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8077 expect different "info terminal" output if testing with a
8078 non-native target.
8079
8080 2017-10-13 Pedro Alves <palves@redhat.com>
8081 Simon Marchi <simon.marchi@polymtl.ca>
8082
8083 PR python/12966
8084 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8085
8086 2017-10-13 Pedro Alves <palves@redhat.com>
8087
8088 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8089 already.
8090
8091 2017-10-13 Pedro Alves <palves@redhat.com>
8092
8093 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8094 is_remote.
8095
8096 2017-10-13 Pedro Alves <palves@redhat.com>
8097
8098 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8099 is_remote.
8100
8101 2017-10-13 Pedro Alves <palves@redhat.com>
8102
8103 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8104 is set.
8105 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8106 instead of is_remote.
8107
8108 2017-10-13 Pedro Alves <palves@redhat.com>
8109
8110 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8111 (top level): Add comment.
8112
8113 2017-10-13 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.base/remote.exp (top level): Fix comment typo and add
8116 missing return.
8117
8118 2017-10-13 Pedro Alves <palves@redhat.com>
8119 Simon Marchi <simon.marchi@polymtl.ca>
8120
8121 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8122 calls and add comments. Skip test if use_gdb_stub is set.
8123 (top level): Use "set cwd" command instead of "cd" command.
8124
8125 2017-10-13 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8128 is_remote target check.
8129
8130 2017-10-13 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/scope.exp: Use build_executable + clean_restart +
8133 gdb_file_cmd instead of prepare_for_testing and no longer skip
8134 "before run" tests on is_remote target boards. Update comments.
8135 * boards/native-extended-gdbserver.exp
8136 (extended_gdbserver_load_last_file): New, factored out from ...
8137 (gdb_load): ... this. Move further below and add comment.
8138 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8139
8140 2017-10-12 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.base/attach.exp: Remove references to gdb64.
8143 * gdb.base/dbx.exp: Remove references to gdb64.
8144
8145 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8146 Pedro Alves <palves@redhat.com>
8147
8148 * gdb.base/label.exp: Remove is_remote target check.
8149
8150 2017-10-12 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.base/auvx.exp (coredir): Update comment.
8153 (top level) <core_works>: Use "set cwd" command instead of "cd"
8154 command.
8155
8156 2017-10-12 Pedro Alves <palves@redhat.com>
8157 Simon Marchi <simon.marchi@polymtl.ca>
8158
8159 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8160 target boards.
8161
8162 2017-10-12 Pedro Alves <palves@redhat.com>
8163 Simon Marchi <simon.marchi@polymtl.ca>
8164
8165 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8166 Instead skip if there's any gdb_protocol set.
8167
8168 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8169 Pedro Alves <palves@redhat.com>
8170
8171 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8172
8173 2017-10-12 Pedro Alves <palves@redhat.com>
8174 Simon Marchi <simon.marchi@polymtl.ca>
8175
8176 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8177 instead of on dejagnu remote boards.
8178
8179 2017-10-12 Pedro Alves <palves@redhat.com>
8180 Simon Marchi <simon.marchi@polymtl.ca>
8181
8182 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8183 checks. Use build_executable + clean_restart instead of
8184 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8185 of enabling non-stop after starting gdb.
8186
8187 2017-10-12 Pedro Alves <palves@redhat.com>
8188
8189 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8190 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8191 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8192 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8193
8194 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8195
8196 * gdb.arch/arc-tdesc-cpu.exp: New file.
8197 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8198
8199 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8200
8201 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8202
8203 2017-10-10 Pedro Alves <palves@redhat.com>
8204
8205 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8206 expect CLI output.
8207
8208 2017-10-10 Pedro Alves <palves@redhat.com>
8209
8210 * lib/selftest-support.exp (selftest_setup): Update for
8211 captured_command_loop's prototype change.
8212
8213 2017-10-09 Pedro Alves <palves@redhat.com>
8214
8215 Test both arch1=>arch2 and arch2=>arch1.
8216
8217 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8218 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8219 factored out to...
8220 (append_arch1_options, append_arch2_options, append_arch_options)
8221 (build_executables): New procedures.
8222 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8223 local.
8224 (top level): Add new 'first_arch' testing axis.
8225
8226 2017-10-09 Pedro Alves <palves@redhat.com>
8227
8228 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8229 (barrier): New.
8230 (thread_start, all_started): New functions.
8231 (main): Spawn new thread and wait until it is scheduled.
8232 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8233 option.
8234 (do_test): Add 'selected_thread' parameter. Run to all_started
8235 instead of main. Explicitly set the breakpoint at main. Switch
8236 to the SELECTED_THREAD thread.
8237 (top level): Test handling the exec event with either the main
8238 thread or the second thread selected.
8239
8240 2017-10-09 Pedro Alves <palves@redhat.com>
8241
8242 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8243 logic. Move STOP marker after the value checks.
8244 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8245 regexp.
8246
8247 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8248
8249 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8250
8251 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8252
8253 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8254 integer-to-dfp conversion.
8255 * gdb.base/dfp-test.exp: Likewise.
8256
8257 2017-10-04 Pedro Alves <palves@redhat.com>
8258
8259 * gdb.multi/hangout.c: Include <unistd.h>.
8260 (hangout_loop): New function.
8261 (main): Call alarm. Call hangout_loop in a loop.
8262 * gdb.multi/hello.c: Include <unistd.h>.
8263 (hello_loop): New function.
8264 (main): Call alarm. Call hangout_loop in a loop.
8265 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8266 inferior with the other selected.
8267
8268 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8269
8270 * gdb.mi/list-thread-groups-available.exp: New file.
8271 * gdb.mi/list-thread-groups-available.c: New file.
8272
8273 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8274
8275 * gdb.base/set-cwd.exp: Make it available on
8276 native-extended-gdbserver.
8277
8278 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8279
8280 * gdb.base/set-cwd.c: New file.
8281 * gdb.base/set-cwd.exp: Likewise.
8282
8283 2017-10-02 Tom Tromey <tom@tromey.com>
8284
8285 PR rust/22236:
8286 * gdb.rust/simple.rs (main): New variable "fslice".
8287 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8288
8289 2017-10-02 Tom Tromey <tom@tromey.com>
8290
8291 * gdb.rust/simple.exp: Test ptype of a slice.
8292
8293 2017-10-02 Tom Tromey <tom@tromey.com>
8294
8295 * gdb.rust/simple.exp: Test index of slice.
8296
8297 2017-09-27 Tom Tromey <tom@tromey.com>
8298
8299 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8300
8301 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8302 Pedro Alves <palves@redhat.com>
8303
8304 * gdb.base/compare-sections.exp (get value of read-only section): Read
8305 as unsigned value.
8306 (corrupt read-only section): Likewise and don't set written if patching
8307 failed.
8308
8309 2017-09-21 Kevin Buettner <kevinb@redhat.com>
8310
8311 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8312 files.
8313
8314 2017-09-20 Pedro Alves <palves@redhat.com>
8315
8316 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8317 symbol names in gdb's output.
8318 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8319
8320 2017-09-20 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8323 Rename to ...
8324 (test_list_ambiguous_symbol): ... this and add a symbol name
8325 parameter. Adjust.
8326 (test_list_ambiguous_function): Reimplement on top of
8327 test_list_ambiguous_symbol and also test listing ambiguous
8328 variables.
8329 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8330 (ambiguous_fun): ... this.
8331 (ambiguous_var): New.
8332 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8333 (ambiguous_fun): ... this.
8334 (ambiguous_var): New.
8335
8336 2017-09-19 John Baldwin <jhb@FreeBSD.org>
8337
8338 * gdb.base/starti.c: New file.
8339 * gdb.base/starti.exp: New file.
8340 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8341
8342 2017-09-14 Pedro Alves <palves@redhat.com>
8343
8344 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8345 (top level): Use it instead of runto.
8346
8347 2017-09-11 Tom Tromey <tom@tromey.com>
8348
8349 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8350
8351 2017-09-11 Tom Tromey <tom@tromey.com>
8352
8353 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8354 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8355
8356 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8357
8358 * gdb.fortran/printing-types.exp: New file.
8359 * gdb.fortran/printing-types.exp: New file.
8360
8361 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8362
8363 * gdb.fortran/vla-ptype.exp: Fix typos.
8364 * gdb.fortran/vla-value.exp: Same.
8365
8366 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8367
8368 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8369 * gdb.mi/mi-var-child-f.exp: Likewise.
8370 * gdb.mi/mi-vla-fortran.exp: Likewise.
8371
8372 2017-09-08 Frank Penczek <frank.penczek@intel.com>
8373 Christoph Weinmann <christoph.t.weinmann@intel.com>
8374 Bernhard Heckel <bernhard.heckel@intel.com>
8375
8376 * gdb.fortran/ptr-indentation.f90: New file.
8377 * gdb.fortran/ptr-indentation.exp: New file.
8378
8379 2017-09-05 Tom Tromey <tom@tromey.com>
8380
8381 PR gdb/22010:
8382 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8383
8384 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8385
8386 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8387
8388 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8389
8390 * gdb.threads/tls-nodebug-pie.c: New file.
8391 * gdb.threads/tls-nodebug-pie.exp: New file.
8392
8393 2017-09-05 Tom Tromey <tom@tromey.com>
8394
8395 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8396 for rust.
8397
8398 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8399
8400 * gdb.multi/multi-arch-exec.exp: Test with different
8401 "follow-exec-mode" settings.
8402 (do_test): New procedure.
8403
8404 2017-09-04 Pedro Alves <palves@redhat.com>
8405
8406 * gdb.base/func-static.c (S::method const, S::method volatile)
8407 (S::method volatile const): New methods.
8408 (c_s, v_s, cv_s): New instances.
8409 (main): Call method() on them.
8410 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8411 (cannot_resolve): New procedure.
8412 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8413 print-quote-unquoted columns.
8414 (do_test): Test printing each scope too.
8415
8416 2017-09-04 Pedro Alves <palves@redhat.com>
8417
8418 * gdb.base/local-static.exp: Also test with
8419 class::method::variable wholly quoted.
8420 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8421
8422 2017-09-04 Pedro Alves <palves@redhat.com>
8423
8424 * gdb.base/local-static.c: New.
8425 * gdb.base/local-static.cc: New.
8426 * gdb.base/local-static.exp: New.
8427
8428 2017-09-04 Pedro Alves <palves@redhat.com>
8429
8430 * gdb.asm/asm-source.exp: Add casts to int.
8431 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8432 (dataglobal64_1, dataglobal64_2): New globals.
8433 * gdb.base/nodebug.exp: Test different expressions involving the
8434 new globals, with print, whatis and ptype. Add casts to int.
8435 * gdb.base/solib-display.exp: Add casts to int.
8436 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8437 * gdb.cp/m-static.exp: Add cast to int.
8438 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8439 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8440 tls variable with no debug info without a cast. Test with a cast
8441 to int too.
8442 * gdb.trace/entry-values.exp: Add casts.
8443
8444 2017-09-04 Pedro Alves <palves@redhat.com>
8445
8446 * gdb.base/nodebug.exp: Test that ptype's error about functions
8447 with unknown return type includes the function name too.
8448
8449 2017-09-04 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8452 return type of munmap in infcall.
8453 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8454 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8455 type of ftell in infcall.
8456 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8457 type of getpid in infcall.
8458 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8459 infcall.
8460 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8461 Bail on failure to extract the pid.
8462 * gdb.base/nodebug.c: #include <stdint.h>.
8463 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8464 New functions.
8465 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8466 Change expected output of print/whatis/ptype with functions with
8467 no debug info. Test all supported languages. Call
8468 test_call_promotion.
8469 * gdb.compile/compile.exp: Adjust expected output to expect
8470 warning.
8471 * gdb.threads/siginfo-threads.exp: Likewise.
8472
8473 2017-09-04 Pedro Alves <palves@redhat.com>
8474
8475 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8476 "prototypes". Test calling float functions via prototyped and
8477 unprototyped function pointers.
8478 (perform_all_tests): New parameter "prototypes". Pass it down.
8479 (top level): Pass down "prototypes" parameter to
8480 perform_all_tests.
8481
8482 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8483
8484 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8485 Test with nested loops.
8486
8487 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8488
8489 * gdb.base/commands.exp: Call the new procedures.
8490 (loop_break_test, loop_continue_test): New procedures.
8491
8492 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8493
8494 * gdb.base/commands.exp: Call new procedure.
8495 (define_if_without_arg_test): New procedure.
8496
8497 2017-09-04 Pedro Alves <palves@redhat.com>
8498
8499 * gdb.base/list-ambiguous.exp: New file.
8500 * gdb.base/list-ambiguous0.c: New file.
8501 * gdb.base/list-ambiguous1.c: New file.
8502 * gdb.base/list.exp (test_list_range): Adjust expected output.
8503
8504 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8505
8506 * gdb.base/share-env-with-gdbserver.c: New file.
8507 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8508
8509 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8510
8511 * gdb.base/commands.exp (gdbvar_simple_if_test,
8512 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8513 progvar_simple_if_test, progvar_simple_while_test,
8514 progvar_complex_if_while_test, user_defined_command_test,
8515 user_defined_command_args_eval,
8516 user_defined_command_args_stack_test,
8517 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8518 temporary_breakpoint_commands,
8519 gdb_test_no_prompt, redefine_hook_test,
8520 redefine_backtrace_test): Remove "global gdb_prompt".
8521
8522 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8523
8524 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8525 New proc, call it from toplevel.
8526
8527 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8528
8529 PR remote/21852
8530 * gdb.server/normal.c: New file, copied from gdb.base.
8531 * gdb.server/run-without-local-binary.exp: New file.
8532
8533 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
8534
8535 * gdb.arch/sparc64-adi.exp: New file.
8536 * gdb.arch/sparc64-adi.c: New file.
8537
8538 2017-08-22 Pedro Alves <palves@redhat.com>
8539
8540 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8541 (top level): Add "list all overloads" tests.
8542
8543 2017-08-22 Tom Tromey <tom@tromey.com>
8544
8545 * gdb.gdb/xfullpath.exp: Remove.
8546
8547 2017-08-21 Pedro Alves <palves@redhat.com>
8548
8549 PR gdb/19487
8550 * gdb.base/symbol-alias.c: New.
8551 * gdb.base/symbol-alias2.c: New.
8552 * gdb.base/symbol-alias.exp: New.
8553
8554 2017-08-21 Pedro Alves <palves@redhat.com>
8555
8556 * gdb.base/dfp-test.c
8557 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8558 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8559 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8560 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8561 * gdb.base/whatis-ptype-typedefs.c: New.
8562 * gdb.base/whatis-ptype-typedefs.exp: New.
8563 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8564 (an_int, an_int_type, an_int_type2): New globals.
8565 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8566 involving typedefs and cast expressions.
8567 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8568 (lookup_typedefs_function): New.
8569 (typedefs_pretty_printers_dict): New.
8570 (top level): Register lookup_typedefs_function in
8571 gdb.pretty_printers.
8572
8573 2017-08-18 Yao Qi <yao.qi@linaro.org>
8574
8575 * gdb.server/unittest.exp: New.
8576
8577 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8578
8579 PR gdb/21954
8580 * gdb.base/environ.exp: Add test to check if 'unset environment'
8581 works.
8582
8583 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8584
8585 * lib/gdb.exp (universal_compile_options): New caching proc.
8586 (gdb_compile): Suppress GCC's coloring of messages.
8587
8588 2017-08-14 Tom Tromey <tom@tromey.com>
8589
8590 PR gdb/21675:
8591 * gdb.base/printcmds.exp (test_radices): New function.
8592 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8593 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8594 * lib/gdb.exp (get_integer_valueof): Use p/d.
8595
8596 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8597
8598 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8599 characters.
8600
8601 2017-08-05 Tom Tromey <tom@tromey.com>
8602
8603 * gdb.rust/simple.exp: Allow String to appear in a different
8604 namespace.
8605
8606 2017-07-26 Yao Qi <yao.qi@linaro.org>
8607
8608 * gdb.gdb/unittest.exp: Invoke command
8609 "maintenance check xml-descriptions".
8610
8611 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8612
8613 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8614 calling context.
8615 (hex128): Drop erroneous calculation of parameters.
8616
8617 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8618
8619 * gdb.python/py-unwind.exp: Disable stack protection when
8620 building test file.
8621
8622 2017-07-20 Pedro Alves <palves@redhat.com>
8623
8624 * gdb.base/default.exp (set language): Adjust expected output.
8625
8626 2017-07-20 Pedro Alves <palves@redhat.com>
8627
8628 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8629 (test_minsym): ... this, and make static.
8630 (get_pck__foo__bar__minsym): Rename to ...
8631 (get_test_minsym): ... this.
8632 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8633 symbol names and comments.
8634 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8635 (get_test_minsym): ... this.
8636 (pck__foo__bar__minsym__2): Rename to ...
8637 (test_minsym): ... this.
8638 (main): Adjust.
8639
8640 2017-07-17 Pedro Alves <palves@redhat.com>
8641
8642 * gdb.base/completion.exp: Adjust expected output.
8643 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8644 the completer works.
8645
8646 2017-07-17 Pedro Alves <palves@redhat.com>
8647
8648 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8649
8650 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8651
8652 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8653
8654 2017-07-14 Tom Tromey <tom@tromey.com>
8655
8656 PR rust/21764:
8657 * gdb.rust/simple.exp: Add tests.
8658
8659 2017-07-14 Tom Tromey <tom@tromey.com>
8660
8661 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8662
8663 2017-07-14 Pedro Alves <palves@redhat.com>
8664
8665 * gdb.linespec/base/one/thefile.cc (z1): New function.
8666 * gdb.linespec/base/two/thefile.cc (z2): New function.
8667 * gdb.linespec/linespec.exp: Add tests.
8668
8669 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8670
8671 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8672 to mi_create_breakpoint.
8673
8674 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8675
8676 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8677 mi_create_breakpoint.
8678
8679 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8680
8681 * gdb.dlang/demangle.exp: Update for demangling changes.
8682
8683 2017-07-09 Tom Tromey <tom@tromey.com>
8684
8685 * gdb.dwarf2/shortpiece.exp: New file.
8686
8687 2017-07-06 David Blaikie <dblaikie@gmail.com>
8688
8689 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8690 built from fissiont-multi-cu{1,2}.c.
8691 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8692 except putting 'main' and 'func' in separate CUs in the same DWO file.
8693 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8694 test.
8695 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8696 test.
8697
8698 2017-07-06 Pedro Alves <palves@redhat.com>
8699
8700 * gdb.python/py-unwind.exp: Test flushregs.
8701
8702 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8703
8704 PR cli/21688
8705 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8706 tests for alias commands and trailing whitespace.
8707
8708 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8709
8710 PR cli/21688
8711 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8712 procedure. Call it.
8713
8714 2017-06-29 Pedro Alves <palves@redhat.com>
8715
8716 * gdb.base/printcmds.exp: Add tests.
8717
8718 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8719
8720 PR gdb/21337
8721 * gdb.base/reread-readsym.exp: New file.
8722 * gdb.base/reread-readsym.c: New file.
8723
8724 2017-06-21 Kevin Buettner <kevinb@redhat.com>
8725
8726 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8727 subpattern.
8728
8729 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8730
8731 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8732 extended mnemonic.
8733 * gdb.arch/powerpc-power9.s: Likewise.
8734
8735 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8736
8737 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8738 on 32-bit x86 targets. Exploit is_*_target macros where
8739 appropriate.
8740
8741 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8742
8743 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8744 register pieces.
8745
8746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8747
8748 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8749 located in one or more DWARF pieces.
8750
8751 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8752
8753 * lib/gdb.exp (get_endianness): New proc.
8754 * gdb.arch/aarch64-fp.exp: Use it.
8755 * gdb.arch/altivec-regs.exp: Likewise.
8756 * gdb.arch/e500-regs.exp: Likewise.
8757 * gdb.arch/vsx-regs.exp: Likewise.
8758 * gdb.base/dump.exp: Likewise.
8759 * gdb.base/funcargs.exp: Likewise.
8760 * gdb.base/gnu_vector.exp: Likewise.
8761 * gdb.dwarf2/formdata16.exp: Likewise.
8762 * gdb.dwarf2/implptrpiece.exp: Likewise.
8763 * gdb.dwarf2/nonvar-access.exp: Likewise.
8764 * gdb.python/py-inferior.exp: Likewise.
8765 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8766
8767 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8768
8769 PR gdb/21226
8770 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8771 stack value pieces are taken from the LSB end.
8772
8773 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8774
8775 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8776 variable at nonzero offset.
8777
8778 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779
8780 * gdb.dwarf2/var-access.c: New file.
8781 * gdb.dwarf2/var-access.exp: New test.
8782 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8783
8784 2017-06-12 Tom Tromey <tom@tromey.com>
8785
8786 * gdb.dwarf2/formdata16.exp: Add tests.
8787
8788 2017-06-12 Tom Tromey <tom@tromey.com>
8789
8790 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8791
8792 2017-06-12 Tom Tromey <tom@tromey.com>
8793
8794 PR exp/16225:
8795 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8796 * gdb.arch/vsx-regs.exp: Update tests.
8797 * gdb.arch/s390-vregs.exp (hex128): New proc.
8798 Update test.
8799 * gdb.arch/altivec-regs.exp: Update tests.
8800
8801 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8802
8803 * gdb.base/startup-with-shell.c: New file.
8804 * gdb.base/startup-with-shell.exp: Likewise.
8805
8806 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8807
8808 * gdb.server/non-existing-program.exp: Update regex in order to
8809 reflect the fact that gdbserver is now using fork_inferior (with a
8810 shell) to startup the inferior.
8811
8812 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8813
8814 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8815 support function calls from GDB.
8816
8817 2017-05-21 Tom Tromey <tom@tromey.com>
8818
8819 PR rust/21466:
8820 * gdb.rust/unsized.exp: New file.
8821 * gdb.rust/unsized.rs: New file.
8822
8823 2017-05-19 Tom Tromey <tom@tromey.com>
8824
8825 PR rust/21484:
8826 * gdb.rust/watch.exp: New file.
8827 * gdb.rust/watch.rs: New file.
8828
8829 2017-05-18 Tom Tromey <tom@tromey.com>
8830
8831 * gdb.rust/simple.exp: Allow Box to be qualified.
8832
8833 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8834
8835 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8836
8837 2017-05-18 Pedro Alves <palves@redhat.com>
8838
8839 * gdb.base/fileio.c (test_write, test_read, test_close)
8840 (test_fstat): Don't print 'ret' in the fail path.
8841
8842 2017-05-18 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8845 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8846 (test_system, test_rename, test_unlink, test_time): Change
8847 prototypes.
8848 * gdb.base/fileio.exp (stop_msg): Adjust.
8849
8850 2017-05-18 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.base/fileio.c (null_str): New global.
8853 (test_stat): Use it.
8854 * gdb.base/fileio.exp: Remove nowarnings.
8855
8856 2017-05-17 Yao Qi <yao.qi@linaro.org>
8857
8858 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8859
8860 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8861
8862 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8863 argument command.
8864 (top-level): Invoke test_set_inferior_tty.
8865
8866 2017-05-04 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8869 Add parens to print call for Python 3.
8870
8871 2017-05-03 Keith Seitz <keiths@redhat.com>
8872
8873 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8874 (main): Call it.
8875
8876 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8877
8878 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8879 to prev and next.
8880
8881 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8882
8883 * gdb.python/py-record-btrace.exp: Remove test for
8884 gdb.BtraceInstruction.error.
8885
8886 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8887
8888 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8889
8890 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8891
8892 * gdb.python/py-record-btrace-threads.c: New file.
8893 * gdb.python/py-record-btrace-threads.exp: New file.
8894
8895 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8896
8897 PR testsuite/8595
8898 * gdb.base/environ.exp: Make test available in all architectures.
8899 Move bits related to "info program" testing to
8900 gdb.base/info-program.exp. Rewrite tests to use the two new
8901 procedures mentione below.
8902 (test_set_show_env_var) New procedure.
8903 (test_set_show_env_var_equal): Likewise.
8904 * gdb.base/info-program.exp: New file.
8905
8906 2017-04-27 Keith Seitz <keiths@redhat.com>
8907
8908 * gdb.cp/oranking.cc (test15): New function.
8909 (main): Call test15 and declare additional variables for testing.
8910 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8911 "p foo101('abc')" tests.
8912 Add tests for cv qualifier overloads.
8913 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8914 "lvalue reference overload" test.
8915 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8916 "print value of f1 on Child&& in f2" test.
8917
8918 2017-04-19 Pedro Alves <palves@redhat.com>
8919
8920 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8921 procedure.
8922 (top level): Call it.
8923 * lib/gdb.exp (gdb_define_cmd): New procedure.
8924
8925 2017-04-12 Pedro Alves <palves@redhat.com>
8926
8927 PR gdb/21323
8928 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8929 (wchar): New global.
8930 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8931 (do_test_wide_char, wide_char_types_no_program, top level): Add
8932 wchar_t testing.
8933
8934 2017-04-12 Pedro Alves <palves@redhat.com>
8935
8936 PR c++/21323
8937 * gdb.cp/wide_char_types.c: New file.
8938 * gdb.cp/wide_char_types.exp: New file.
8939
8940 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8941
8942 PR gdb/21352
8943 * gdb.trace/tsv.exp: Add test for "tsave -r".
8944
8945 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8946
8947 * gdb.dlang/watch-loc.c: New file.
8948 * gdb.dlang/watch-loc.exp: New file.
8949
8950 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8953
8954 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8955
8956 * gdb.arch/arc-analyze-prologue.S: New file.
8957 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8958
8959 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8960
8961 * gdb.arch/arc-decode-insn.S: New file.
8962 * gdb.arch/arc-decode-insn.exp: Likewise.
8963
8964 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8965
8966 PR tdep/20928
8967 * gdb.arch/sparc64-regs.exp: New file.
8968 * gdb.arch/sparc64-regs.S: Likewise.
8969
8970 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8971
8972 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8973 and memory view on Python 3.
8974
8975 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8976 Keith Seitz <keiths@redhat.com>
8977
8978 PR gdb/14441
8979 * gdb.cp/demangle.exp: Add rvalue reference tests.
8980 * gdb.cp/rvalue-ref-casts.cc: New file.
8981 * gdb.cp/rvalue-ref-casts.exp: New file.
8982 * gdb.cp/rvalue-ref-overload.cc: New file.
8983 * gdb.cp/rvalue-ref-overload.exp: New file.
8984 * gdb.cp/rvalue-ref-params.cc: New file.
8985 * gdb.cp/rvalue-ref-params.exp: New file.
8986 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8987 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8988 * gdb.cp/rvalue-ref-types.cc: New file.
8989 * gdb.cp/rvalue-ref-types.exp: New file.
8990 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8991 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8992
8993 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8994
8995 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8996 New procedure.
8997
8998 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8999
9000 * lib/mi-support.exp (mi_gdb_test): Add additional message
9001 for unexpected output.
9002
9003 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9004
9005 * gdb.base/examine-backward.c (Barrier): New character array
9006 constant, to ensure that TestStrings is preceded by a string
9007 terminator.
9008
9009 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9010
9011 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9012 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9013 and implicit pointer into such a location.
9014
9015 2017-03-16 Doug Evans <dje@google.com>
9016
9017 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9018
9019 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9020
9021 * gdb.cp/m-static.exp: Fix expectation for prototype of
9022 test5.single_constructor and single_constructor::single_constructor.
9023
9024 2017-03-16 Doug Evans <dje@google.com>
9025
9026 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9027 * gdb.guile/scm-lazy-string.c: New file.
9028 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9029 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9030 for pointer, array, typedef lazy strings.
9031
9032 2017-03-16 Doug Evans <dje@google.com>
9033
9034 PR python/17728, python/18439, python/18779
9035 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9036 * gdb.python/py-lazy-string.c (pointer): New typedef.
9037 (main): New locals ptr, array, typedef_ptr.
9038 * gdb.python/py-value.exp: Move lazy string tests to ...
9039 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9040 array, typedef lazy strings.
9041
9042 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9043
9044 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9045 Add optional 'test' parameter.
9046
9047 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9048
9049 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9050 Skip for versions of DejaGnu < 1.5.
9051
9052 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9053
9054 * lib/gdb.exp (dejagnu_version): New proc.
9055 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9056 Use dejagnu_version.
9057
9058 2017-03-10 Keith Seitz <keiths@redhat.com>
9059
9060 PR c++/8128
9061 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9062 type from destructor regexps.
9063 Add a branch which actually passes the test.
9064 Adjust "ptype t5i" test names.
9065
9066 2017-03-08 Pedro Alves <palves@redhat.com>
9067
9068 * gdb.base/step-over-exit.exp: Add explicit test message.
9069
9070 2017-03-08 Pedro Alves <palves@redhat.com>
9071
9072 PR gdb/18360
9073 * gdb.threads/interrupt-while-step-over.c: New file.
9074 * gdb.threads/interrupt-while-step-over.exp: New file.
9075
9076 2017-03-08 Pedro Alves <palves@redhat.com>
9077
9078 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9079 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9080
9081 2017-03-08 Pedro Alves <palves@redhat.com>
9082
9083 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9084 PKRU as not supported as a PASS.
9085
9086 2017-03-08 Pedro Alves <palves@redhat.com>
9087
9088 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9089 prefix instead of $binfile1/$binfile2.
9090 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9091 in test message.
9092 * gdb.python/py-completion.exp: Use "load python file" as test
9093 messages instead of unstable path names.
9094
9095 2017-03-08 Pedro Alves <palves@redhat.com>
9096 Jan Kratochvil <jan.kratochvil@redhat.com>
9097
9098 PR cli/21218
9099 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9100 New proc.
9101 (top level): Call it.
9102
9103 2017-03-08 Pedro Alves <palves@redhat.com>
9104
9105 PR tui/21216
9106 * gdb.tui/tui-nl-filtered-output.exp: New file.
9107
9108 2017-03-08 Pedro Alves <palves@redhat.com>
9109
9110 * gdb.base/completion.exp: Move TUI completion tests to ...
9111 * gdb.tui/completion.exp: ... this new file.
9112
9113 2017-03-08 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.base/tui-disasm-long-lines.c,
9116 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9117 gdb.base/tui-layout.exp: Move to ...
9118 * gdb.tui/: ... this new directory.
9119
9120 2017-03-07 Pedro Alves <palves@redhat.com>
9121
9122 * gdb.base/tui-layout.c: New file.
9123 * gdb.base/tui-layout.exp: New file.
9124
9125 2017-03-07 Pedro Alves <palves@redhat.com>
9126
9127 * gdb.base/tui-layout.c: Rename to ...
9128 * gdb.base/tui-disasm-long-lines.c: ... this.
9129 * gdb.base/tui-layout.exp: Rename to ...
9130 * gdb.base/tui-disasm-long-lines.exp: ... this.
9131
9132 2017-03-07 Pedro Alves <palves@redhat.com>
9133
9134 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9135
9136 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9137
9138 * i386-mpx-call.c: New file.
9139 * i386-mpx-call.exp: New file.
9140
9141 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9142
9143 * gdb.arch/powerpc-power.exp: Delete test.
9144 * gdb.arch/powerpc-power.s: Likewise.
9145 * gdb.disasm/disassembler-options.exp: New test.
9146 * gdb.arch/powerpc-altivec.exp: Likewise.
9147 * gdb.arch/powerpc-altivec.s: Likewise.
9148 * gdb.arch/powerpc-altivec2.exp: Likewise.
9149 * gdb.arch/powerpc-altivec2.s: Likewise.
9150 * gdb.arch/powerpc-altivec3.exp: Likewise.
9151 * gdb.arch/powerpc-altivec3.s: Likewise.
9152 * gdb.arch/powerpc-power7.exp: Likewise.
9153 * gdb.arch/powerpc-power7.s: Likewise.
9154 * gdb.arch/powerpc-power8.exp: Likewise.
9155 * gdb.arch/powerpc-power8.s: Likewise.
9156 * gdb.arch/powerpc-power9.exp: Likewise.
9157 * gdb.arch/powerpc-power9.s: Likewise.
9158 * gdb.arch/powerpc-vsx.exp: Likewise.
9159 * gdb.arch/powerpc-vsx.s: Likewise.
9160 * gdb.arch/powerpc-vsx2.exp: Likewise.
9161 * gdb.arch/powerpc-vsx2.s: Likewise.
9162 * gdb.arch/powerpc-vsx3.exp: Likewise.
9163 * gdb.arch/powerpc-vsx3.s: Likewise.
9164 * gdb.arch/arm-disassembler-options.exp: Likewise.
9165 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9166 * gdb.arch/s390-disassembler-options.exp: Likewise.
9167
9168 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9169
9170 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9171 (check_supported_features): ... this. Changed return type to void.
9172 (supports_rdseed): New static global.
9173 (rdseed): Check supports_rdseed.
9174 (initialize): Call check_supported_features.
9175
9176 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9177
9178 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9179 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9180 and lqarx/stqcx.
9181 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9182 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9183
9184 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9185
9186 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9187 uppercase.
9188
9189 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9190
9191 * gdb.dwarf2/formdata16.c: New file.
9192 * gdb.dwarf2/formdata16.exp: New file.
9193 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9194
9195 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9196
9197 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9198 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9199 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9200 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9201 DW_AT_GNU_*.
9202
9203 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9204
9205 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9206
9207 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9208
9209 PR gdb/21164
9210 * gdb.base/maint.exp: Add testcases for when the commands do
9211 not have arguments.
9212
9213 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9214
9215 * gdb.cp/chained-calls.exp: Use p instead of P.
9216
9217 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9218
9219 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9220 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9221
9222 2017-02-14 Tom Tromey <tom@tromey.com>
9223
9224 PR python/13598:
9225 * gdb.python/py-events.exp: Add before_prompt event tests.
9226
9227 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9228
9229 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9230
9231 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9232
9233 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9234 (main): Call my_unique_function_name.
9235 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9236 completion of patterns with a single match.
9237 Add missing -re switches to gdb_test_multiple calls.
9238
9239 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9240
9241 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9242 return if core file is not recognized.
9243
9244 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9245
9246 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9247 and extra UIs.
9248
9249 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9250
9251 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9252 proc_with_prefix.
9253
9254 2017-02-10 Tom Tromey <tom@tromey.com>
9255
9256 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9257
9258 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
9259
9260 PR gdb/21122
9261 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9262
9263 2017-02-08 Jerome Guitton <guitton@adacore.com>
9264
9265 * gdb.base/define.exp: Add test for command abbreviations
9266 in define.
9267
9268 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
9269
9270 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9271 * gdb.reverse/insn-reverse-x86.c: New file.
9272
9273 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9274
9275 PR tdep/20936
9276 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9277
9278 2017-02-03 Tom Tromey <tom@tromey.com>
9279
9280 PR rust/21097:
9281 * gdb.rust/simple.exp: Add new tests.
9282
9283 2017-02-02 Pedro Alves <palves@redhat.com>
9284
9285 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9286 tests.
9287
9288 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9289
9290 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9291 taking a 2-byte value out of a 4-byte DWARF implicit value on
9292 big-endian targets.
9293 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9294 logic. Add test cases for DW_OP_implicit.
9295
9296 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9297
9298 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9299
9300 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9301
9302 * gdb.btrace/enable.exp: Call gdb_exit before
9303 skip_gdbserver_tests.
9304
9305 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9306
9307 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9308 GDBFLAGS.
9309
9310 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9313 the test is skipped.
9314 * gdb.btrace/data.exp: Likewise.
9315 * gdb.btrace/delta.exp: Likewise.
9316 * gdb.btrace/dlopen.exp: Likewise.
9317 * gdb.btrace/enable-running.exp: Likewise.
9318 * gdb.btrace/enable.exp: Likewise.
9319 * gdb.btrace/exception.exp: Likewise.
9320 * gdb.btrace/function_call_history.exp: Likewise.
9321 * gdb.btrace/gcore.exp: Likewise.
9322 * gdb.btrace/instruction_history.exp: Likewise.
9323 * gdb.btrace/multi-thread-step.exp: Likewise.
9324 * gdb.btrace/nohist.exp: Likewise.
9325 * gdb.btrace/non-stop.exp: Likewise.
9326 * gdb.btrace/reconnect.exp: Likewise.
9327 * gdb.btrace/record_goto-step.exp: Likewise.
9328 * gdb.btrace/record_goto.exp: Likewise.
9329 * gdb.btrace/rn-dl-bind.exp: Likewise.
9330 * gdb.btrace/segv.exp: Likewise.
9331 * gdb.btrace/step.exp: Likewise.
9332 * gdb.btrace/stepi.exp: Likewise.
9333 * gdb.btrace/tailcall-only.exp: Likewise.
9334 * gdb.btrace/tailcall.exp: Likewise.
9335 * gdb.btrace/tsx.exp: Likewise.
9336 * gdb.btrace/unknown_functions.exp: Likewise.
9337 * gdb.btrace/vdso.exp: Likewise.
9338
9339 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9340
9341 * gdb.btrace/enable-running.c: New.
9342 * gdb.btrace/enable-running.exp: New.
9343
9344 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9345
9346 * gdb.arch/amd64-gs_base.c: New file.
9347 * gdb.arch/amd64-gs_base.exp: New file.
9348
9349 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9350
9351 * lib/memory.exp: Remove spurious empty newlines.
9352
9353 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9354
9355 * gdb.python/py-bad-printers.exp: Load python file using "source".
9356 * gdb.python/py-events.exp: Likewise.
9357 * gdb.python/py-evsignal.exp: Likewise.
9358 * gdb.python/py-evthreads.exp: Likewise.
9359 * gdb.python/py-frame-args.exp: Likewise.
9360 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9361 * gdb.python/py-framefilter-mi.exp: Likewise.
9362 * gdb.python/py-framefilter.exp: Likewise.
9363 * gdb.python/py-mi.exp: Likewise.
9364 * gdb.python/py-pp-maint.exp: Likewise.
9365 * gdb.python/py-pp-registration.exp: Likewise.
9366 * gdb.python/py-prettyprint.exp: Likewise.
9367 (run_lang_tests): Likewise.
9368 * gdb.python/py-typeprint.exp: Likewise.
9369
9370 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9371
9372 * lib/memory.exp: New file.
9373 * lib/gdb.exp: Load memory.exp.
9374 * gdb.base/memattr.exp (delete_memory): Move proc to
9375 lib/memory.exp and rename to delete_memory_regions.
9376 Replace delete_memory with delete_memory_regions.
9377 Cleanup memory regions before tests.
9378 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9379 before tests.
9380
9381 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9382
9383 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9384 files.
9385 (initialize): New function conditionally defined.
9386 (testcases): Move within conditional block.
9387 (main): Call initialize.
9388 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9389 of gdb.reverse/insn-reverse.c.
9390 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9391 gdb.reverse/insn-reverse.c.
9392
9393 2017-01-26 Yao Qi <yao.qi@linaro.org>
9394
9395 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9396 disassemble on address 0.
9397
9398 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9399 Yao Qi <yao.qi@linaro.org>
9400
9401 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9402 * gdb.dwarf2/implptr-64bit.S: Remove.
9403 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9404 variables in caller's context. Add DW_OP_implicit_value.
9405
9406 2017-01-25 Yao Qi <yao.qi@linaro.org>
9407
9408 * lib/dwarf.exp (Dwarf::_location): Handle
9409 DW_OP_GNU_implicit_pointer with proper size.
9410
9411 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9412
9413 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9414 and add untested calls.
9415
9416 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9417
9418 * gdb.python/python.exp: Check line number against what GDB thinks
9419 the line number is for func1.
9420
9421 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9422
9423 * gdb.dlang/debug-expr.exp: New file.
9424
9425 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
9426
9427 Fix test names for the following files:
9428
9429 * gdb.ada/exec_changed.exp
9430 * gdb.ada/info_types.exp
9431 * gdb.arch/aarch64-atomic-inst.exp
9432 * gdb.arch/aarch64-fp.exp
9433 * gdb.arch/altivec-abi.exp
9434 * gdb.arch/altivec-regs.exp
9435 * gdb.arch/amd64-byte.exp
9436 * gdb.arch/amd64-disp-step.exp
9437 * gdb.arch/amd64-dword.exp
9438 * gdb.arch/amd64-entry-value-inline.exp
9439 * gdb.arch/amd64-entry-value-param.exp
9440 * gdb.arch/amd64-entry-value-paramref.exp
9441 * gdb.arch/amd64-entry-value.exp
9442 * gdb.arch/amd64-i386-address.exp
9443 * gdb.arch/amd64-invalid-stack-middle.exp
9444 * gdb.arch/amd64-invalid-stack-top.exp
9445 * gdb.arch/amd64-optimout-repeat.exp
9446 * gdb.arch/amd64-prologue-skip.exp
9447 * gdb.arch/amd64-prologue-xmm.exp
9448 * gdb.arch/amd64-stap-special-operands.exp
9449 * gdb.arch/amd64-stap-wrong-subexp.exp
9450 * gdb.arch/amd64-tailcall-cxx.exp
9451 * gdb.arch/amd64-tailcall-noret.exp
9452 * gdb.arch/amd64-tailcall-ret.exp
9453 * gdb.arch/amd64-tailcall-self.exp
9454 * gdb.arch/amd64-word.exp
9455 * gdb.arch/arm-bl-branch-dest.exp
9456 * gdb.arch/arm-disp-step.exp
9457 * gdb.arch/arm-neon.exp
9458 * gdb.arch/arm-single-step-kernel-helper.exp
9459 * gdb.arch/avr-flash-qualifier.exp
9460 * gdb.arch/disp-step-insn-reloc.exp
9461 * gdb.arch/e500-abi.exp
9462 * gdb.arch/e500-regs.exp
9463 * gdb.arch/ftrace-insn-reloc.exp
9464 * gdb.arch/i386-avx512.exp
9465 * gdb.arch/i386-bp_permanent.exp
9466 * gdb.arch/i386-byte.exp
9467 * gdb.arch/i386-cfi-notcurrent.exp
9468 * gdb.arch/i386-disp-step.exp
9469 * gdb.arch/i386-dr3-watch.exp
9470 * gdb.arch/i386-float.exp
9471 * gdb.arch/i386-gnu-cfi.exp
9472 * gdb.arch/i386-mpx-map.exp
9473 * gdb.arch/i386-mpx-sigsegv.exp
9474 * gdb.arch/i386-mpx-simple_segv.exp
9475 * gdb.arch/i386-mpx.exp
9476 * gdb.arch/i386-permbkpt.exp
9477 * gdb.arch/i386-prologue.exp
9478 * gdb.arch/i386-signal.exp
9479 * gdb.arch/i386-size-overlap.exp
9480 * gdb.arch/i386-unwind.exp
9481 * gdb.arch/i386-word.exp
9482 * gdb.arch/mips-fcr.exp
9483 * gdb.arch/powerpc-d128-regs.exp
9484 * gdb.arch/powerpc-stackless.exp
9485 * gdb.arch/ppc64-atomic-inst.exp
9486 * gdb.arch/s390-stackless.exp
9487 * gdb.arch/s390-tdbregs.exp
9488 * gdb.arch/s390-vregs.exp
9489 * gdb.arch/sparc-sysstep.exp
9490 * gdb.arch/thumb-bx-pc.exp
9491 * gdb.arch/thumb-singlestep.exp
9492 * gdb.arch/thumb2-it.exp
9493 * gdb.arch/vsx-regs.exp
9494 * gdb.asm/asm-source.exp
9495 * gdb.base/a2-run.exp
9496 * gdb.base/advance.exp
9497 * gdb.base/all-bin.exp
9498 * gdb.base/anon.exp
9499 * gdb.base/args.exp
9500 * gdb.base/arithmet.exp
9501 * gdb.base/async-shell.exp
9502 * gdb.base/async.exp
9503 * gdb.base/attach-pie-noexec.exp
9504 * gdb.base/attach-twice.exp
9505 * gdb.base/auto-load.exp
9506 * gdb.base/bang.exp
9507 * gdb.base/bitfields.exp
9508 * gdb.base/break-always.exp
9509 * gdb.base/break-caller-line.exp
9510 * gdb.base/break-entry.exp
9511 * gdb.base/break-inline.exp
9512 * gdb.base/break-on-linker-gcd-function.exp
9513 * gdb.base/break-probes.exp
9514 * gdb.base/break.exp
9515 * gdb.base/breakpoint-shadow.exp
9516 * gdb.base/call-ar-st.exp
9517 * gdb.base/call-sc.exp
9518 * gdb.base/call-signal-resume.exp
9519 * gdb.base/call-strs.exp
9520 * gdb.base/callfuncs.exp
9521 * gdb.base/catch-fork-static.exp
9522 * gdb.base/catch-gdb-caused-signals.exp
9523 * gdb.base/catch-load.exp
9524 * gdb.base/catch-signal-fork.exp
9525 * gdb.base/catch-signal.exp
9526 * gdb.base/catch-syscall.exp
9527 * gdb.base/charset.exp
9528 * gdb.base/checkpoint.exp
9529 * gdb.base/chng-syms.exp
9530 * gdb.base/code-expr.exp
9531 * gdb.base/code_elim.exp
9532 * gdb.base/commands.exp
9533 * gdb.base/completion.exp
9534 * gdb.base/complex.exp
9535 * gdb.base/cond-expr.exp
9536 * gdb.base/condbreak.exp
9537 * gdb.base/consecutive.exp
9538 * gdb.base/continue-all-already-running.exp
9539 * gdb.base/coredump-filter.exp
9540 * gdb.base/corefile.exp
9541 * gdb.base/dbx.exp
9542 * gdb.base/debug-expr.exp
9543 * gdb.base/define.exp
9544 * gdb.base/del.exp
9545 * gdb.base/disabled-location.exp
9546 * gdb.base/disasm-end-cu.exp
9547 * gdb.base/disasm-optim.exp
9548 * gdb.base/display.exp
9549 * gdb.base/duplicate-bp.exp
9550 * gdb.base/ena-dis-br.exp
9551 * gdb.base/ending-run.exp
9552 * gdb.base/enumval.exp
9553 * gdb.base/environ.exp
9554 * gdb.base/eu-strip-infcall.exp
9555 * gdb.base/eval-avoid-side-effects.exp
9556 * gdb.base/eval-skip.exp
9557 * gdb.base/exitsignal.exp
9558 * gdb.base/expand-psymtabs.exp
9559 * gdb.base/filesym.exp
9560 * gdb.base/find-unmapped.exp
9561 * gdb.base/finish.exp
9562 * gdb.base/float.exp
9563 * gdb.base/foll-exec-mode.exp
9564 * gdb.base/foll-exec.exp
9565 * gdb.base/foll-fork.exp
9566 * gdb.base/fortran-sym-case.exp
9567 * gdb.base/freebpcmd.exp
9568 * gdb.base/func-ptr.exp
9569 * gdb.base/func-ptrs.exp
9570 * gdb.base/funcargs.exp
9571 * gdb.base/gcore-buffer-overflow.exp
9572 * gdb.base/gcore-relro-pie.exp
9573 * gdb.base/gcore-relro.exp
9574 * gdb.base/gcore.exp
9575 * gdb.base/gdb1090.exp
9576 * gdb.base/gdb11530.exp
9577 * gdb.base/gdb11531.exp
9578 * gdb.base/gdb1821.exp
9579 * gdb.base/gdbindex-stabs.exp
9580 * gdb.base/gdbvars.exp
9581 * gdb.base/hbreak.exp
9582 * gdb.base/hbreak2.exp
9583 * gdb.base/included.exp
9584 * gdb.base/infcall-input.exp
9585 * gdb.base/inferior-died.exp
9586 * gdb.base/infnan.exp
9587 * gdb.base/info-macros.exp
9588 * gdb.base/info-os.exp
9589 * gdb.base/info-proc.exp
9590 * gdb.base/info-shared.exp
9591 * gdb.base/info-target.exp
9592 * gdb.base/infoline.exp
9593 * gdb.base/interp.exp
9594 * gdb.base/interrupt.exp
9595 * gdb.base/jit-reader.exp
9596 * gdb.base/jit-simple.exp
9597 * gdb.base/kill-after-signal.exp
9598 * gdb.base/kill-detach-inferiors-cmd.exp
9599 * gdb.base/label.exp
9600 * gdb.base/langs.exp
9601 * gdb.base/ldbl_e308.exp
9602 * gdb.base/line-symtabs.exp
9603 * gdb.base/linespecs.exp
9604 * gdb.base/list.exp
9605 * gdb.base/long_long.exp
9606 * gdb.base/longest-types.exp
9607 * gdb.base/maint.exp
9608 * gdb.base/max-value-size.exp
9609 * gdb.base/memattr.exp
9610 * gdb.base/mips_pro.exp
9611 * gdb.base/morestack.exp
9612 * gdb.base/moribund-step.exp
9613 * gdb.base/multi-forks.exp
9614 * gdb.base/nested-addr.exp
9615 * gdb.base/nextoverexit.exp
9616 * gdb.base/noreturn-finish.exp
9617 * gdb.base/noreturn-return.exp
9618 * gdb.base/nostdlib.exp
9619 * gdb.base/offsets.exp
9620 * gdb.base/opaque.exp
9621 * gdb.base/pc-fp.exp
9622 * gdb.base/permissions.exp
9623 * gdb.base/print-symbol-loading.exp
9624 * gdb.base/prologue-include.exp
9625 * gdb.base/psymtab.exp
9626 * gdb.base/ptype.exp
9627 * gdb.base/random-signal.exp
9628 * gdb.base/randomize.exp
9629 * gdb.base/range-stepping.exp
9630 * gdb.base/readline-ask.exp
9631 * gdb.base/recpar.exp
9632 * gdb.base/recurse.exp
9633 * gdb.base/relational.exp
9634 * gdb.base/restore.exp
9635 * gdb.base/return-nodebug.exp
9636 * gdb.base/return.exp
9637 * gdb.base/run-after-attach.exp
9638 * gdb.base/save-bp.exp
9639 * gdb.base/scope.exp
9640 * gdb.base/sect-cmd.exp
9641 * gdb.base/set-lang-auto.exp
9642 * gdb.base/set-noassign.exp
9643 * gdb.base/setvar.exp
9644 * gdb.base/sigall.exp
9645 * gdb.base/sigbpt.exp
9646 * gdb.base/siginfo-addr.exp
9647 * gdb.base/siginfo-infcall.exp
9648 * gdb.base/siginfo-obj.exp
9649 * gdb.base/siginfo.exp
9650 * gdb.base/signals-state-child.exp
9651 * gdb.base/signest.exp
9652 * gdb.base/sigstep.exp
9653 * gdb.base/sizeof.exp
9654 * gdb.base/skip.exp
9655 * gdb.base/solib-corrupted.exp
9656 * gdb.base/solib-nodir.exp
9657 * gdb.base/solib-search.exp
9658 * gdb.base/stack-checking.exp
9659 * gdb.base/stale-infcall.exp
9660 * gdb.base/stap-probe.exp
9661 * gdb.base/start.exp
9662 * gdb.base/step-break.exp
9663 * gdb.base/step-bt.exp
9664 * gdb.base/step-line.exp
9665 * gdb.base/step-over-exit.exp
9666 * gdb.base/step-over-syscall.exp
9667 * gdb.base/step-resume-infcall.exp
9668 * gdb.base/step-test.exp
9669 * gdb.base/store.exp
9670 * gdb.base/structs3.exp
9671 * gdb.base/sym-file.exp
9672 * gdb.base/symbol-without-target_section.exp
9673 * gdb.base/term.exp
9674 * gdb.base/testenv.exp
9675 * gdb.base/ui-redirect.exp
9676 * gdb.base/until.exp
9677 * gdb.base/unwindonsignal.exp
9678 * gdb.base/value-double-free.exp
9679 * gdb.base/vla-datatypes.exp
9680 * gdb.base/vla-ptr.exp
9681 * gdb.base/vla-sideeffect.exp
9682 * gdb.base/volatile.exp
9683 * gdb.base/watch-cond-infcall.exp
9684 * gdb.base/watch-cond.exp
9685 * gdb.base/watch-non-mem.exp
9686 * gdb.base/watch-read.exp
9687 * gdb.base/watch-vfork.exp
9688 * gdb.base/watchpoint-cond-gone.exp
9689 * gdb.base/watchpoint-delete.exp
9690 * gdb.base/watchpoint-hw-hit-once.exp
9691 * gdb.base/watchpoint-hw.exp
9692 * gdb.base/watchpoint-stops-at-right-insn.exp
9693 * gdb.base/watchpoints.exp
9694 * gdb.base/wchar.exp
9695 * gdb.base/whatis-exp.exp
9696 * gdb.btrace/buffer-size.exp
9697 * gdb.btrace/data.exp
9698 * gdb.btrace/delta.exp
9699 * gdb.btrace/dlopen.exp
9700 * gdb.btrace/enable.exp
9701 * gdb.btrace/exception.exp
9702 * gdb.btrace/function_call_history.exp
9703 * gdb.btrace/gcore.exp
9704 * gdb.btrace/instruction_history.exp
9705 * gdb.btrace/nohist.exp
9706 * gdb.btrace/reconnect.exp
9707 * gdb.btrace/record_goto-step.exp
9708 * gdb.btrace/record_goto.exp
9709 * gdb.btrace/rn-dl-bind.exp
9710 * gdb.btrace/segv.exp
9711 * gdb.btrace/step.exp
9712 * gdb.btrace/stepi.exp
9713 * gdb.btrace/tailcall-only.exp
9714 * gdb.btrace/tailcall.exp
9715 * gdb.btrace/tsx.exp
9716 * gdb.btrace/unknown_functions.exp
9717 * gdb.btrace/vdso.exp
9718 * gdb.compile/compile-ifunc.exp
9719 * gdb.compile/compile-ops.exp
9720 * gdb.compile/compile-print.exp
9721 * gdb.compile/compile-setjmp.exp
9722 * gdb.cp/abstract-origin.exp
9723 * gdb.cp/ambiguous.exp
9724 * gdb.cp/annota2.exp
9725 * gdb.cp/annota3.exp
9726 * gdb.cp/anon-ns.exp
9727 * gdb.cp/anon-struct.exp
9728 * gdb.cp/anon-union.exp
9729 * gdb.cp/arg-reference.exp
9730 * gdb.cp/baseenum.exp
9731 * gdb.cp/bool.exp
9732 * gdb.cp/breakpoint.exp
9733 * gdb.cp/bs15503.exp
9734 * gdb.cp/call-c.exp
9735 * gdb.cp/casts.exp
9736 * gdb.cp/chained-calls.exp
9737 * gdb.cp/class2.exp
9738 * gdb.cp/classes.exp
9739 * gdb.cp/cmpd-minsyms.exp
9740 * gdb.cp/converts.exp
9741 * gdb.cp/cp-relocate.exp
9742 * gdb.cp/cpcompletion.exp
9743 * gdb.cp/cpexprs.exp
9744 * gdb.cp/cplabel.exp
9745 * gdb.cp/cplusfuncs.exp
9746 * gdb.cp/cpsizeof.exp
9747 * gdb.cp/ctti.exp
9748 * gdb.cp/derivation.exp
9749 * gdb.cp/destrprint.exp
9750 * gdb.cp/dispcxx.exp
9751 * gdb.cp/enum-class.exp
9752 * gdb.cp/exception.exp
9753 * gdb.cp/exceptprint.exp
9754 * gdb.cp/expand-psymtabs-cxx.exp
9755 * gdb.cp/expand-sals.exp
9756 * gdb.cp/extern-c.exp
9757 * gdb.cp/filename.exp
9758 * gdb.cp/formatted-ref.exp
9759 * gdb.cp/fpointer.exp
9760 * gdb.cp/gdb1355.exp
9761 * gdb.cp/gdb2495.exp
9762 * gdb.cp/hang.exp
9763 * gdb.cp/impl-this.exp
9764 * gdb.cp/infcall-dlopen.exp
9765 * gdb.cp/inherit.exp
9766 * gdb.cp/iostream.exp
9767 * gdb.cp/koenig.exp
9768 * gdb.cp/local.exp
9769 * gdb.cp/m-data.exp
9770 * gdb.cp/m-static.exp
9771 * gdb.cp/mb-ctor.exp
9772 * gdb.cp/mb-inline.exp
9773 * gdb.cp/mb-templates.exp
9774 * gdb.cp/member-name.exp
9775 * gdb.cp/member-ptr.exp
9776 * gdb.cp/meth-typedefs.exp
9777 * gdb.cp/method.exp
9778 * gdb.cp/method2.exp
9779 * gdb.cp/minsym-fallback.exp
9780 * gdb.cp/misc.exp
9781 * gdb.cp/namelessclass.exp
9782 * gdb.cp/namespace-enum.exp
9783 * gdb.cp/namespace-nested-import.exp
9784 * gdb.cp/namespace.exp
9785 * gdb.cp/nextoverthrow.exp
9786 * gdb.cp/no-dmgl-verbose.exp
9787 * gdb.cp/non-trivial-retval.exp
9788 * gdb.cp/noparam.exp
9789 * gdb.cp/nsdecl.exp
9790 * gdb.cp/nsimport.exp
9791 * gdb.cp/nsnested.exp
9792 * gdb.cp/nsnoimports.exp
9793 * gdb.cp/nsrecurs.exp
9794 * gdb.cp/nsstress.exp
9795 * gdb.cp/nsusing.exp
9796 * gdb.cp/operator.exp
9797 * gdb.cp/oranking.exp
9798 * gdb.cp/overload-const.exp
9799 * gdb.cp/overload.exp
9800 * gdb.cp/ovldbreak.exp
9801 * gdb.cp/ovsrch.exp
9802 * gdb.cp/paren-type.exp
9803 * gdb.cp/parse-lang.exp
9804 * gdb.cp/pass-by-ref.exp
9805 * gdb.cp/pr-1023.exp
9806 * gdb.cp/pr-1210.exp
9807 * gdb.cp/pr-574.exp
9808 * gdb.cp/pr10687.exp
9809 * gdb.cp/pr12028.exp
9810 * gdb.cp/pr17132.exp
9811 * gdb.cp/pr17494.exp
9812 * gdb.cp/pr9067.exp
9813 * gdb.cp/pr9167.exp
9814 * gdb.cp/pr9631.exp
9815 * gdb.cp/printmethod.exp
9816 * gdb.cp/psmang.exp
9817 * gdb.cp/psymtab-parameter.exp
9818 * gdb.cp/ptype-cv-cp.exp
9819 * gdb.cp/ptype-flags.exp
9820 * gdb.cp/re-set-overloaded.exp
9821 * gdb.cp/ref-types.exp
9822 * gdb.cp/rtti.exp
9823 * gdb.cp/scope-err.exp
9824 * gdb.cp/shadow.exp
9825 * gdb.cp/smartp.exp
9826 * gdb.cp/static-method.exp
9827 * gdb.cp/static-print-quit.exp
9828 * gdb.cp/temargs.exp
9829 * gdb.cp/templates.exp
9830 * gdb.cp/try_catch.exp
9831 * gdb.cp/typedef-operator.exp
9832 * gdb.cp/typeid.exp
9833 * gdb.cp/userdef.exp
9834 * gdb.cp/using-crash.exp
9835 * gdb.cp/var-tag.exp
9836 * gdb.cp/virtbase.exp
9837 * gdb.cp/virtfunc.exp
9838 * gdb.cp/virtfunc2.exp
9839 * gdb.cp/vla-cxx.exp
9840 * gdb.disasm/t01_mov.exp
9841 * gdb.disasm/t02_mova.exp
9842 * gdb.disasm/t03_add.exp
9843 * gdb.disasm/t04_sub.exp
9844 * gdb.disasm/t05_cmp.exp
9845 * gdb.disasm/t06_ari2.exp
9846 * gdb.disasm/t07_ari3.exp
9847 * gdb.disasm/t08_or.exp
9848 * gdb.disasm/t09_xor.exp
9849 * gdb.disasm/t10_and.exp
9850 * gdb.disasm/t11_logs.exp
9851 * gdb.disasm/t12_bit.exp
9852 * gdb.disasm/t13_otr.exp
9853 * gdb.dlang/circular.exp
9854 * gdb.dwarf2/arr-stride.exp
9855 * gdb.dwarf2/arr-subrange.exp
9856 * gdb.dwarf2/atomic-type.exp
9857 * gdb.dwarf2/bad-regnum.exp
9858 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9859 * gdb.dwarf2/callframecfa.exp
9860 * gdb.dwarf2/clztest.exp
9861 * gdb.dwarf2/corrupt.exp
9862 * gdb.dwarf2/data-loc.exp
9863 * gdb.dwarf2/dup-psym.exp
9864 * gdb.dwarf2/dw2-anon-mptr.exp
9865 * gdb.dwarf2/dw2-anonymous-func.exp
9866 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9867 * gdb.dwarf2/dw2-bad-unresolved.exp
9868 * gdb.dwarf2/dw2-basic.exp
9869 * gdb.dwarf2/dw2-canonicalize-type.exp
9870 * gdb.dwarf2/dw2-case-insensitive.exp
9871 * gdb.dwarf2/dw2-common-block.exp
9872 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9873 * gdb.dwarf2/dw2-compressed.exp
9874 * gdb.dwarf2/dw2-const.exp
9875 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9876 * gdb.dwarf2/dw2-cu-size.exp
9877 * gdb.dwarf2/dw2-dup-frame.exp
9878 * gdb.dwarf2/dw2-entry-value.exp
9879 * gdb.dwarf2/dw2-icycle.exp
9880 * gdb.dwarf2/dw2-ifort-parameter.exp
9881 * gdb.dwarf2/dw2-inline-break.exp
9882 * gdb.dwarf2/dw2-inline-param.exp
9883 * gdb.dwarf2/dw2-intercu.exp
9884 * gdb.dwarf2/dw2-intermix.exp
9885 * gdb.dwarf2/dw2-lexical-block-bare.exp
9886 * gdb.dwarf2/dw2-linkage-name-trust.exp
9887 * gdb.dwarf2/dw2-minsym-in-cu.exp
9888 * gdb.dwarf2/dw2-noloc.exp
9889 * gdb.dwarf2/dw2-op-call.exp
9890 * gdb.dwarf2/dw2-op-out-param.exp
9891 * gdb.dwarf2/dw2-opt-structptr.exp
9892 * gdb.dwarf2/dw2-param-error.exp
9893 * gdb.dwarf2/dw2-producer.exp
9894 * gdb.dwarf2/dw2-ranges-base.exp
9895 * gdb.dwarf2/dw2-ref-missing-frame.exp
9896 * gdb.dwarf2/dw2-reg-undefined.exp
9897 * gdb.dwarf2/dw2-regno-invalid.exp
9898 * gdb.dwarf2/dw2-restore.exp
9899 * gdb.dwarf2/dw2-restrict.exp
9900 * gdb.dwarf2/dw2-single-line-discriminators.exp
9901 * gdb.dwarf2/dw2-strp.exp
9902 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9903 * gdb.dwarf2/dw2-unresolved.exp
9904 * gdb.dwarf2/dw2-var-zero-addr.exp
9905 * gdb.dwarf2/dw4-sig-types.exp
9906 * gdb.dwarf2/dwz.exp
9907 * gdb.dwarf2/dynarr-ptr.exp
9908 * gdb.dwarf2/enum-type.exp
9909 * gdb.dwarf2/gdb-index.exp
9910 * gdb.dwarf2/implptr-64bit.exp
9911 * gdb.dwarf2/implptr-optimized-out.exp
9912 * gdb.dwarf2/implptr.exp
9913 * gdb.dwarf2/implref-array.exp
9914 * gdb.dwarf2/implref-const.exp
9915 * gdb.dwarf2/implref-global.exp
9916 * gdb.dwarf2/implref-struct.exp
9917 * gdb.dwarf2/mac-fileno.exp
9918 * gdb.dwarf2/main-subprogram.exp
9919 * gdb.dwarf2/member-ptr-forwardref.exp
9920 * gdb.dwarf2/method-ptr.exp
9921 * gdb.dwarf2/missing-sig-type.exp
9922 * gdb.dwarf2/nonvar-access.exp
9923 * gdb.dwarf2/opaque-type-lookup.exp
9924 * gdb.dwarf2/pieces-optimized-out.exp
9925 * gdb.dwarf2/pieces.exp
9926 * gdb.dwarf2/pr10770.exp
9927 * gdb.dwarf2/pr13961.exp
9928 * gdb.dwarf2/staticvirtual.exp
9929 * gdb.dwarf2/subrange.exp
9930 * gdb.dwarf2/symtab-producer.exp
9931 * gdb.dwarf2/trace-crash.exp
9932 * gdb.dwarf2/typeddwarf.exp
9933 * gdb.dwarf2/valop.exp
9934 * gdb.dwarf2/watch-notconst.exp
9935 * gdb.fortran/array-element.exp
9936 * gdb.fortran/charset.exp
9937 * gdb.fortran/common-block.exp
9938 * gdb.fortran/complex.exp
9939 * gdb.fortran/derived-type-function.exp
9940 * gdb.fortran/derived-type.exp
9941 * gdb.fortran/logical.exp
9942 * gdb.fortran/module.exp
9943 * gdb.fortran/multi-dim.exp
9944 * gdb.fortran/nested-funcs.exp
9945 * gdb.fortran/print-formatted.exp
9946 * gdb.fortran/subarray.exp
9947 * gdb.fortran/vla-alloc-assoc.exp
9948 * gdb.fortran/vla-datatypes.exp
9949 * gdb.fortran/vla-history.exp
9950 * gdb.fortran/vla-ptr-info.exp
9951 * gdb.fortran/vla-ptype-sub.exp
9952 * gdb.fortran/vla-ptype.exp
9953 * gdb.fortran/vla-sizeof.exp
9954 * gdb.fortran/vla-type.exp
9955 * gdb.fortran/vla-value-sub-arbitrary.exp
9956 * gdb.fortran/vla-value-sub-finish.exp
9957 * gdb.fortran/vla-value-sub.exp
9958 * gdb.fortran/vla-value.exp
9959 * gdb.fortran/whatis_type.exp
9960 * gdb.go/chan.exp
9961 * gdb.go/handcall.exp
9962 * gdb.go/hello.exp
9963 * gdb.go/integers.exp
9964 * gdb.go/methods.exp
9965 * gdb.go/package.exp
9966 * gdb.go/strings.exp
9967 * gdb.go/types.exp
9968 * gdb.go/unsafe.exp
9969 * gdb.guile/scm-arch.exp
9970 * gdb.guile/scm-block.exp
9971 * gdb.guile/scm-breakpoint.exp
9972 * gdb.guile/scm-cmd.exp
9973 * gdb.guile/scm-disasm.exp
9974 * gdb.guile/scm-equal.exp
9975 * gdb.guile/scm-frame-args.exp
9976 * gdb.guile/scm-frame-inline.exp
9977 * gdb.guile/scm-frame.exp
9978 * gdb.guile/scm-iterator.exp
9979 * gdb.guile/scm-math.exp
9980 * gdb.guile/scm-objfile.exp
9981 * gdb.guile/scm-ports.exp
9982 * gdb.guile/scm-symbol.exp
9983 * gdb.guile/scm-symtab.exp
9984 * gdb.guile/scm-value-cc.exp
9985 * gdb.guile/types-module.exp
9986 * gdb.linespec/break-ask.exp
9987 * gdb.linespec/cpexplicit.exp
9988 * gdb.linespec/explicit.exp
9989 * gdb.linespec/keywords.exp
9990 * gdb.linespec/linespec.exp
9991 * gdb.linespec/ls-dollar.exp
9992 * gdb.linespec/ls-errs.exp
9993 * gdb.linespec/skip-two.exp
9994 * gdb.linespec/thread.exp
9995 * gdb.mi/mi-async.exp
9996 * gdb.mi/mi-basics.exp
9997 * gdb.mi/mi-break.exp
9998 * gdb.mi/mi-catch-load.exp
9999 * gdb.mi/mi-cli.exp
10000 * gdb.mi/mi-cmd-param-changed.exp
10001 * gdb.mi/mi-console.exp
10002 * gdb.mi/mi-detach.exp
10003 * gdb.mi/mi-disassemble.exp
10004 * gdb.mi/mi-eval.exp
10005 * gdb.mi/mi-file-transfer.exp
10006 * gdb.mi/mi-file.exp
10007 * gdb.mi/mi-fill-memory.exp
10008 * gdb.mi/mi-inheritance-syntax-error.exp
10009 * gdb.mi/mi-linespec-err-cp.exp
10010 * gdb.mi/mi-logging.exp
10011 * gdb.mi/mi-memory-changed.exp
10012 * gdb.mi/mi-read-memory.exp
10013 * gdb.mi/mi-record-changed.exp
10014 * gdb.mi/mi-reg-undefined.exp
10015 * gdb.mi/mi-regs.exp
10016 * gdb.mi/mi-return.exp
10017 * gdb.mi/mi-reverse.exp
10018 * gdb.mi/mi-simplerun.exp
10019 * gdb.mi/mi-solib.exp
10020 * gdb.mi/mi-stack.exp
10021 * gdb.mi/mi-stepi.exp
10022 * gdb.mi/mi-syn-frame.exp
10023 * gdb.mi/mi-until.exp
10024 * gdb.mi/mi-var-block.exp
10025 * gdb.mi/mi-var-child.exp
10026 * gdb.mi/mi-var-cmd.exp
10027 * gdb.mi/mi-var-cp.exp
10028 * gdb.mi/mi-var-display.exp
10029 * gdb.mi/mi-var-invalidate.exp
10030 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10031 * gdb.mi/mi-vla-fortran.exp
10032 * gdb.mi/mi-watch.exp
10033 * gdb.mi/mi2-var-child.exp
10034 * gdb.mi/user-selected-context-sync.exp
10035 * gdb.modula2/unbounded-array.exp
10036 * gdb.multi/dummy-frame-restore.exp
10037 * gdb.multi/multi-arch-exec.exp
10038 * gdb.multi/multi-arch.exp
10039 * gdb.multi/tids.exp
10040 * gdb.multi/watchpoint-multi.exp
10041 * gdb.opencl/callfuncs.exp
10042 * gdb.opencl/convs_casts.exp
10043 * gdb.opencl/datatypes.exp
10044 * gdb.opencl/operators.exp
10045 * gdb.opencl/vec_comps.exp
10046 * gdb.opt/clobbered-registers-O2.exp
10047 * gdb.opt/inline-break.exp
10048 * gdb.opt/inline-bt.exp
10049 * gdb.opt/inline-cmds.exp
10050 * gdb.opt/inline-locals.exp
10051 * gdb.pascal/case-insensitive-symbols.exp
10052 * gdb.pascal/floats.exp
10053 * gdb.pascal/gdb11492.exp
10054 * gdb.python/lib-types.exp
10055 * gdb.python/py-arch.exp
10056 * gdb.python/py-as-string.exp
10057 * gdb.python/py-bad-printers.exp
10058 * gdb.python/py-block.exp
10059 * gdb.python/py-breakpoint-create-fail.exp
10060 * gdb.python/py-breakpoint.exp
10061 * gdb.python/py-caller-is.exp
10062 * gdb.python/py-cmd.exp
10063 * gdb.python/py-explore-cc.exp
10064 * gdb.python/py-explore.exp
10065 * gdb.python/py-finish-breakpoint.exp
10066 * gdb.python/py-finish-breakpoint2.exp
10067 * gdb.python/py-frame-args.exp
10068 * gdb.python/py-frame-inline.exp
10069 * gdb.python/py-frame.exp
10070 * gdb.python/py-framefilter-mi.exp
10071 * gdb.python/py-infthread.exp
10072 * gdb.python/py-lazy-string.exp
10073 * gdb.python/py-linetable.exp
10074 * gdb.python/py-mi-events.exp
10075 * gdb.python/py-mi-objfile.exp
10076 * gdb.python/py-mi.exp
10077 * gdb.python/py-objfile.exp
10078 * gdb.python/py-pp-integral.exp
10079 * gdb.python/py-pp-maint.exp
10080 * gdb.python/py-pp-re-notag.exp
10081 * gdb.python/py-pp-registration.exp
10082 * gdb.python/py-recurse-unwind.exp
10083 * gdb.python/py-strfns.exp
10084 * gdb.python/py-symbol.exp
10085 * gdb.python/py-symtab.exp
10086 * gdb.python/py-sync-interp.exp
10087 * gdb.python/py-typeprint.exp
10088 * gdb.python/py-unwind-maint.exp
10089 * gdb.python/py-unwind.exp
10090 * gdb.python/py-value-cc.exp
10091 * gdb.python/py-xmethods.exp
10092 * gdb.reverse/amd64-tailcall-reverse.exp
10093 * gdb.reverse/break-precsave.exp
10094 * gdb.reverse/break-reverse.exp
10095 * gdb.reverse/consecutive-precsave.exp
10096 * gdb.reverse/consecutive-reverse.exp
10097 * gdb.reverse/finish-precsave.exp
10098 * gdb.reverse/finish-reverse-bkpt.exp
10099 * gdb.reverse/finish-reverse.exp
10100 * gdb.reverse/fstatat-reverse.exp
10101 * gdb.reverse/getresuid-reverse.exp
10102 * gdb.reverse/i386-precsave.exp
10103 * gdb.reverse/i386-reverse.exp
10104 * gdb.reverse/i386-sse-reverse.exp
10105 * gdb.reverse/i387-env-reverse.exp
10106 * gdb.reverse/i387-stack-reverse.exp
10107 * gdb.reverse/insn-reverse.exp
10108 * gdb.reverse/machinestate-precsave.exp
10109 * gdb.reverse/machinestate.exp
10110 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10111 * gdb.reverse/pipe-reverse.exp
10112 * gdb.reverse/readv-reverse.exp
10113 * gdb.reverse/recvmsg-reverse.exp
10114 * gdb.reverse/rerun-prec.exp
10115 * gdb.reverse/s390-mvcle.exp
10116 * gdb.reverse/step-precsave.exp
10117 * gdb.reverse/step-reverse.exp
10118 * gdb.reverse/time-reverse.exp
10119 * gdb.reverse/until-precsave.exp
10120 * gdb.reverse/until-reverse.exp
10121 * gdb.reverse/waitpid-reverse.exp
10122 * gdb.reverse/watch-precsave.exp
10123 * gdb.reverse/watch-reverse.exp
10124 * gdb.rust/generics.exp
10125 * gdb.rust/methods.exp
10126 * gdb.rust/modules.exp
10127 * gdb.rust/simple.exp
10128 * gdb.server/connect-with-no-symbol-file.exp
10129 * gdb.server/ext-attach.exp
10130 * gdb.server/ext-restart.exp
10131 * gdb.server/ext-wrapper.exp
10132 * gdb.server/file-transfer.exp
10133 * gdb.server/server-exec-info.exp
10134 * gdb.server/server-kill.exp
10135 * gdb.server/server-mon.exp
10136 * gdb.server/wrapper.exp
10137 * gdb.stabs/exclfwd.exp
10138 * gdb.stabs/gdb11479.exp
10139 * gdb.threads/clone-new-thread-event.exp
10140 * gdb.threads/corethreads.exp
10141 * gdb.threads/current-lwp-dead.exp
10142 * gdb.threads/dlopen-libpthread.exp
10143 * gdb.threads/gcore-thread.exp
10144 * gdb.threads/sigstep-threads.exp
10145 * gdb.threads/watchpoint-fork.exp
10146 * gdb.trace/actions-changed.exp
10147 * gdb.trace/backtrace.exp
10148 * gdb.trace/change-loc.exp
10149 * gdb.trace/circ.exp
10150 * gdb.trace/collection.exp
10151 * gdb.trace/disconnected-tracing.exp
10152 * gdb.trace/ftrace.exp
10153 * gdb.trace/mi-trace-frame-collected.exp
10154 * gdb.trace/mi-trace-unavailable.exp
10155 * gdb.trace/mi-traceframe-changed.exp
10156 * gdb.trace/mi-tsv-changed.exp
10157 * gdb.trace/no-attach-trace.exp
10158 * gdb.trace/passc-dyn.exp
10159 * gdb.trace/qtro.exp
10160 * gdb.trace/range-stepping.exp
10161 * gdb.trace/read-memory.exp
10162 * gdb.trace/save-trace.exp
10163 * gdb.trace/signal.exp
10164 * gdb.trace/status-stop.exp
10165 * gdb.trace/tfile.exp
10166 * gdb.trace/trace-break.exp
10167 * gdb.trace/trace-buffer-size.exp
10168 * gdb.trace/trace-condition.exp
10169 * gdb.trace/tracefile-pseudo-reg.exp
10170 * gdb.trace/tstatus.exp
10171 * gdb.trace/unavailable.exp
10172 * gdb.trace/while-dyn.exp
10173 * gdb.trace/while-stepping.exp
10174
10175 2016-12-22 Doug Evans <xdje42@gmail.com>
10176
10177 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10178 and msymbols.
10179
10180 2016-12-19 Yao Qi <yao.qi@linaro.org>
10181
10182 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10183 (test_with_self): Don't call do_steps_and_nexts, and remove
10184 code about stepping into xmalloc.
10185
10186 2016-12-09 Yao Qi <yao.qi@linaro.org>
10187
10188 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10189
10190 2016-12-09 Yao Qi <yao.qi@linaro.org>
10191
10192 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10193
10194 2016-12-09 Pedro Alves <palves@redhat.com>
10195
10196 * gdb.base/all-architectures-0.exp: New file.
10197 * gdb.base/all-architectures-1.exp: New file.
10198 * gdb.base/all-architectures-2.exp: New file.
10199 * gdb.base/all-architectures-3.exp: New file.
10200 * gdb.base/all-architectures-4.exp: New file.
10201 * gdb.base/all-architectures-5.exp: New file.
10202 * gdb.base/all-architectures-6.exp: New file.
10203 * gdb.base/all-architectures-7.exp: New file.
10204 * gdb.base/all-architectures.exp.in: New file.
10205
10206 2016-12-09 Yao Qi <yao.qi@linaro.org>
10207
10208 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10209
10210 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10211
10212 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10213 possible.
10214 Remove useless pattern-matching code.
10215
10216 2016-12-02 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10219 procedure.
10220 (top level): Call it.
10221
10222 2016-12-02 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10225 New procedure.
10226 (top level): Call it.
10227
10228 2016-12-02 Pedro Alves <palves@redhat.com>
10229
10230 PR cli/20559
10231 * gdb.base/commands.exp (user_defined_command_args_eval): New
10232 procedure.
10233 (top level): Call it.
10234
10235 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10236
10237 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10238 timeout handling.
10239
10240 2016-12-02 Tom Tromey <tom@tromey.com>
10241
10242 * gdb.dwarf2/main-subprogram.c: New file.
10243 * gdb.dwarf2/main-subprogram.exp: New file.
10244
10245 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10246
10247 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10248 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10249 gdb_test_no_output for a couple of cases.
10250 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10251
10252 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10253
10254 Fix test names and standardize compilation error messages throughout
10255 the following files:
10256
10257 * gdb.ada/start.exp
10258 * gdb.arch/alpha-step.exp
10259 * gdb.arch/e500-prologue.exp
10260 * gdb.arch/ftrace-insn-reloc.exp
10261 * gdb.arch/gdb1291.exp
10262 * gdb.arch/gdb1431.exp
10263 * gdb.arch/gdb1558.exp
10264 * gdb.arch/i386-dr3-watch.exp
10265 * gdb.arch/i386-sse-stack-align.exp
10266 * gdb.arch/ia64-breakpoint-shadow.exp
10267 * gdb.arch/pa-nullify.exp
10268 * gdb.arch/powerpc-aix-prologue.exp
10269 * gdb.arch/thumb-bx-pc.exp
10270 * gdb.base/annota1.exp
10271 * gdb.base/annota3.exp
10272 * gdb.base/arrayidx.exp
10273 * gdb.base/assign.exp
10274 * gdb.base/attach.exp
10275 * gdb.base/auxv.exp
10276 * gdb.base/bang.exp
10277 * gdb.base/bfp-test.exp
10278 * gdb.base/bigcore.exp
10279 * gdb.base/bitfields2.exp
10280 * gdb.base/break-fun-addr.exp
10281 * gdb.base/break-probes.exp
10282 * gdb.base/call-rt-st.exp
10283 * gdb.base/callexit.exp
10284 * gdb.base/catch-fork-kill.exp
10285 * gdb.base/charset.exp
10286 * gdb.base/checkpoint.exp
10287 * gdb.base/comprdebug.exp
10288 * gdb.base/constvars.exp
10289 * gdb.base/coredump-filter.exp
10290 * gdb.base/cursal.exp
10291 * gdb.base/cvexpr.exp
10292 * gdb.base/detach.exp
10293 * gdb.base/display.exp
10294 * gdb.base/dmsym.exp
10295 * gdb.base/dprintf-pending.exp
10296 * gdb.base/dso2dso.exp
10297 * gdb.base/dtrace-probe.exp
10298 * gdb.base/dump.exp
10299 * gdb.base/enum_cond.exp
10300 * gdb.base/exe-lock.exp
10301 * gdb.base/exec-invalid-sysroot.exp
10302 * gdb.base/execl-update-breakpoints.exp
10303 * gdb.base/exprs.exp
10304 * gdb.base/fileio.exp
10305 * gdb.base/find.exp
10306 * gdb.base/finish.exp
10307 * gdb.base/fixsection.exp
10308 * gdb.base/foll-vfork.exp
10309 * gdb.base/frame-args.exp
10310 * gdb.base/gcore.exp
10311 * gdb.base/gdb1250.exp
10312 * gdb.base/global-var-nested-by-dso.exp
10313 * gdb.base/gnu-ifunc.exp
10314 * gdb.base/hashline1.exp
10315 * gdb.base/hashline2.exp
10316 * gdb.base/hashline3.exp
10317 * gdb.base/hbreak-in-shr-unsupported.exp
10318 * gdb.base/huge.exp
10319 * gdb.base/infcall-input.exp
10320 * gdb.base/info-fun.exp
10321 * gdb.base/info-shared.exp
10322 * gdb.base/jit-simple.exp
10323 * gdb.base/jit-so.exp
10324 * gdb.base/jit.exp
10325 * gdb.base/jump.exp
10326 * gdb.base/label.exp
10327 * gdb.base/lineinc.exp
10328 * gdb.base/logical.exp
10329 * gdb.base/longjmp.exp
10330 * gdb.base/macscp.exp
10331 * gdb.base/miscexprs.exp
10332 * gdb.base/new-ui-echo.exp
10333 * gdb.base/new-ui-pending-input.exp
10334 * gdb.base/new-ui.exp
10335 * gdb.base/nodebug.exp
10336 * gdb.base/nofield.exp
10337 * gdb.base/offsets.exp
10338 * gdb.base/overlays.exp
10339 * gdb.base/pending.exp
10340 * gdb.base/pointers.exp
10341 * gdb.base/pr11022.exp
10342 * gdb.base/printcmds.exp
10343 * gdb.base/prologue.exp
10344 * gdb.base/ptr-typedef.exp
10345 * gdb.base/realname-expand.exp
10346 * gdb.base/relativedebug.exp
10347 * gdb.base/relocate.exp
10348 * gdb.base/remote.exp
10349 * gdb.base/reread.exp
10350 * gdb.base/return2.exp
10351 * gdb.base/savedregs.exp
10352 * gdb.base/sep.exp
10353 * gdb.base/sepdebug.exp
10354 * gdb.base/sepsymtab.exp
10355 * gdb.base/set-inferior-tty.exp
10356 * gdb.base/setshow.exp
10357 * gdb.base/shlib-call.exp
10358 * gdb.base/sigaltstack.exp
10359 * gdb.base/siginfo-addr.exp
10360 * gdb.base/signals.exp
10361 * gdb.base/signull.exp
10362 * gdb.base/sigrepeat.exp
10363 * gdb.base/so-impl-ld.exp
10364 * gdb.base/solib-display.exp
10365 * gdb.base/solib-overlap.exp
10366 * gdb.base/solib-search.exp
10367 * gdb.base/solib-symbol.exp
10368 * gdb.base/structs.exp
10369 * gdb.base/structs2.exp
10370 * gdb.base/symtab-search-order.exp
10371 * gdb.base/twice.exp
10372 * gdb.base/unload.exp
10373 * gdb.base/varargs.exp
10374 * gdb.base/watchpoint-solib.exp
10375 * gdb.base/watchpoint.exp
10376 * gdb.base/whatis.exp
10377 * gdb.base/wrong_frame_bt_full.exp
10378 * gdb.btrace/dlopen.exp
10379 * gdb.cell/ea-standalone.exp
10380 * gdb.cell/ea-test.exp
10381 * gdb.cp/dispcxx.exp
10382 * gdb.cp/gdb2384.exp
10383 * gdb.cp/method2.exp
10384 * gdb.cp/nextoverthrow.exp
10385 * gdb.cp/pr10728.exp
10386 * gdb.disasm/am33.exp
10387 * gdb.disasm/h8300s.exp
10388 * gdb.disasm/mn10300.exp
10389 * gdb.disasm/sh3.exp
10390 * gdb.dwarf2/dw2-dir-file-name.exp
10391 * gdb.fortran/complex.exp
10392 * gdb.fortran/library-module.exp
10393 * gdb.guile/scm-pretty-print.exp
10394 * gdb.guile/scm-symbol.exp
10395 * gdb.guile/scm-type.exp
10396 * gdb.guile/scm-value.exp
10397 * gdb.linespec/linespec.exp
10398 * gdb.mi/gdb701.exp
10399 * gdb.mi/gdb792.exp
10400 * gdb.mi/mi-breakpoint-changed.exp
10401 * gdb.mi/mi-dprintf-pending.exp
10402 * gdb.mi/mi-dprintf.exp
10403 * gdb.mi/mi-exit-code.exp
10404 * gdb.mi/mi-pending.exp
10405 * gdb.mi/mi-solib.exp
10406 * gdb.mi/new-ui-mi-sync.exp
10407 * gdb.mi/pr11022.exp
10408 * gdb.mi/user-selected-context-sync.exp
10409 * gdb.opt/solib-intra-step.exp
10410 * gdb.python/py-events.exp
10411 * gdb.python/py-finish-breakpoint.exp
10412 * gdb.python/py-mi.exp
10413 * gdb.python/py-prettyprint.exp
10414 * gdb.python/py-shared.exp
10415 * gdb.python/py-symbol.exp
10416 * gdb.python/py-template.exp
10417 * gdb.python/py-type.exp
10418 * gdb.python/py-value.exp
10419 * gdb.reverse/solib-precsave.exp
10420 * gdb.reverse/solib-reverse.exp
10421 * gdb.server/solib-list.exp
10422 * gdb.stabs/weird.exp
10423 * gdb.threads/reconnect-signal.exp
10424 * gdb.threads/stepi-random-signal.exp
10425 * gdb.trace/actions.exp
10426 * gdb.trace/ax.exp
10427 * gdb.trace/backtrace.exp
10428 * gdb.trace/change-loc.exp
10429 * gdb.trace/deltrace.exp
10430 * gdb.trace/ftrace-lock.exp
10431 * gdb.trace/ftrace.exp
10432 * gdb.trace/infotrace.exp
10433 * gdb.trace/mi-tracepoint-changed.exp
10434 * gdb.trace/packetlen.exp
10435 * gdb.trace/passcount.exp
10436 * gdb.trace/pending.exp
10437 * gdb.trace/range-stepping.exp
10438 * gdb.trace/report.exp
10439 * gdb.trace/stap-trace.exp
10440 * gdb.trace/tfind.exp
10441 * gdb.trace/trace-break.exp
10442 * gdb.trace/trace-condition.exp
10443 * gdb.trace/trace-enable-disable.exp
10444 * gdb.trace/trace-mt.exp
10445 * gdb.trace/tracecmd.exp
10446 * gdb.trace/tspeed.exp
10447 * gdb.trace/tsv.exp
10448 * lib/perftest.exp
10449
10450 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10451
10452 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10453 with gdb_test_no_output.
10454 Use command as test name.
10455
10456 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10457
10458 Fix test names starting with uppercase throughout the files.
10459
10460 * gdb.ada/assign_1.exp
10461 * gdb.ada/boolean_expr.exp
10462 * gdb.base/arrayidx.exp
10463 * gdb.base/del.exp
10464 * gdb.base/gcore-buffer-overflow.exp
10465 * gdb.base/testenv.exp
10466 * gdb.compile/compile.exp
10467 * gdb.python/py-framefilter-invalidarg.exp
10468 * gdb.python/py-framefilter.exp
10469
10470 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10471
10472 Fix test names starting with uppercase throughout the files.
10473
10474 * gdb.ada/array_return.exp
10475 * gdb.ada/expr_delims.exp
10476 * gdb.ada/mi_dyn_arr.exp
10477 * gdb.ada/mi_interface.exp
10478 * gdb.ada/mi_var_array.exp
10479 * gdb.ada/watch_arg.exp
10480 * gdb.arch/alpha-step.exp
10481 * gdb.arch/altivec-regs.exp
10482 * gdb.arch/e500-regs.exp
10483 * gdb.arch/powerpc-d128-regs.exp
10484 * gdb.base/arrayidx.exp
10485 * gdb.base/break.exp
10486 * gdb.base/checkpoint.exp
10487 * gdb.base/debug-expr.exp
10488 * gdb.base/dmsym.exp
10489 * gdb.base/radix.exp
10490 * gdb.base/sepdebug.exp
10491 * gdb.base/testenv.exp
10492 * gdb.base/watch_thread_num.exp
10493 * gdb.base/watchpoint-cond-gone.exp
10494 * gdb.cell/break.exp
10495 * gdb.cell/ea-cache.exp
10496 * gdb.compile/compile.exp
10497 * gdb.cp/gdb2495.exp
10498 * gdb.gdb/selftest.exp
10499 * gdb.gdb/xfullpath.exp
10500 * gdb.go/hello.exp
10501 * gdb.go/integers.exp
10502 * gdb.objc/basicclass.exp
10503 * gdb.pascal/hello.exp
10504 * gdb.pascal/integers.exp
10505 * gdb.python/py-breakpoint.exp
10506 * gdb.python/py-cmd.exp
10507 * gdb.python/py-linetable.exp
10508 * gdb.python/py-xmethods.exp
10509 * gdb.python/python.exp
10510 * gdb.reverse/consecutive-precsave.exp
10511 * gdb.reverse/finish-precsave.exp
10512 * gdb.reverse/i386-precsave.exp
10513 * gdb.reverse/machinestate-precsave.exp
10514 * gdb.reverse/sigall-precsave.exp
10515 * gdb.reverse/solib-precsave.exp
10516 * gdb.reverse/step-precsave.exp
10517 * gdb.reverse/until-precsave.exp
10518 * gdb.reverse/watch-precsave.exp
10519 * gdb.threads/leader-exit.exp
10520 * gdb.threads/pthreads.exp
10521 * gdb.threads/wp-replication.exp
10522 * gdb.trace/actions.exp
10523 * gdb.trace/mi-tsv-changed.exp
10524 * gdb.trace/tsv.exp
10525
10526 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10527
10528 Fix test names starting with uppercase throughout the files.
10529
10530 * gdb.arch/i386-bp_permanent.exp
10531 * gdb.arch/i386-gnu-cfi.exp
10532 * gdb.base/disasm-end-cu.exp
10533 * gdb.base/macscp.exp
10534 * gdb.base/pending.exp
10535 * gdb.base/watch_thread_num.exp
10536 * gdb.cp/exception.exp
10537 * gdb.cp/gdb2495.exp
10538 * gdb.cp/local.exp
10539 * gdb.python/py-evsignal.exp
10540 * gdb.python/python.exp
10541 * gdb.trace/tracecmd.exp
10542
10543 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10544
10545 Fix test names starting with uppercase throughout the files.
10546
10547 * gdb.base/charset.exp
10548 * gdb.base/eval.exp
10549 * gdb.base/multi-forks.exp
10550 * gdb.guile/scm-progspace.exp
10551 * gdb.opencl/datatypes.exp
10552 * gdb.python/py-block.exp
10553 * gdb.python/py-function.exp
10554 * gdb.python/py-symbol.exp
10555 * gdb.python/py-symtab.exp
10556 * gdb.python/py-xmethods.exp
10557 * gdb.reverse/break-precsave.exp
10558 * gdb.reverse/break-reverse.exp
10559 * gdb.reverse/consecutive-precsave.exp
10560 * gdb.reverse/consecutive-reverse.exp
10561 * gdb.reverse/finish-precsave.exp
10562 * gdb.reverse/finish-reverse-bkpt.exp
10563 * gdb.reverse/finish-reverse.exp
10564 * gdb.reverse/fstatat-reverse.exp
10565 * gdb.reverse/getresuid-reverse.exp
10566 * gdb.reverse/i386-precsave.exp
10567 * gdb.reverse/i386-reverse.exp
10568 * gdb.reverse/i386-sse-reverse.exp
10569 * gdb.reverse/i387-stack-reverse.exp
10570 * gdb.reverse/insn-reverse.exp
10571 * gdb.reverse/machinestate-precsave.exp
10572 * gdb.reverse/machinestate.exp
10573 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10574 * gdb.reverse/pipe-reverse.exp
10575 * gdb.reverse/readv-reverse.exp
10576 * gdb.reverse/recvmsg-reverse.exp
10577 * gdb.reverse/rerun-prec.exp
10578 * gdb.reverse/s390-mvcle.exp
10579 * gdb.reverse/sigall-precsave.exp
10580 * gdb.reverse/sigall-reverse.exp
10581 * gdb.reverse/solib-precsave.exp
10582 * gdb.reverse/solib-reverse.exp
10583 * gdb.reverse/step-precsave.exp
10584 * gdb.reverse/step-reverse.exp
10585 * gdb.reverse/time-reverse.exp
10586 * gdb.reverse/until-precsave.exp
10587 * gdb.reverse/until-reverse.exp
10588 * gdb.reverse/waitpid-reverse.exp
10589 * gdb.reverse/watch-precsave.exp
10590 * gdb.reverse/watch-reverse.exp
10591
10592 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10593
10594 Fix test names starting with uppercase throughout the files.
10595
10596 * gdb.arch/i386-mpx-simple_segv.exp
10597 * gdb.arch/i386-mpx.exp
10598 * gdb.arch/i386-permbkpt.exp
10599 * gdb.arch/pa-nullify.exp
10600 * gdb.arch/powerpc-d128-regs.exp
10601 * gdb.arch/vsx-regs.exp
10602 * gdb.base/bfp-test.exp
10603 * gdb.base/break.exp
10604 * gdb.base/breakpoint-shadow.exp
10605 * gdb.base/callfuncs.exp
10606 * gdb.base/charset.exp
10607 * gdb.base/commands.exp
10608 * gdb.base/completion.exp
10609 * gdb.base/dfp-test.exp
10610 * gdb.base/echo.exp
10611 * gdb.base/ending-run.exp
10612 * gdb.base/eval.exp
10613 * gdb.base/expand-psymtabs.exp
10614 * gdb.base/float128.exp
10615 * gdb.base/floatn.exp
10616 * gdb.base/foll-exec-mode.exp
10617 * gdb.base/gdb1056.exp
10618 * gdb.base/gdb11531.exp
10619 * gdb.base/kill-after-signal.exp
10620 * gdb.base/multi-forks.exp
10621 * gdb.base/overlays.exp
10622 * gdb.base/pending.exp
10623 * gdb.base/sepdebug.exp
10624 * gdb.base/testenv.exp
10625 * gdb.base/valgrind-db-attach.exp
10626 * gdb.base/watch_thread_num.exp
10627 * gdb.base/watchpoint-cond-gone.exp
10628 * gdb.base/watchpoint.exp
10629 * gdb.base/watchpoints.exp
10630 * gdb.cp/arg-reference.exp
10631 * gdb.cp/baseenum.exp
10632 * gdb.cp/operator.exp
10633 * gdb.cp/shadow.exp
10634 * gdb.dwarf2/dw2-op-out-param.exp
10635 * gdb.dwarf2/dw2-reg-undefined.exp
10636 * gdb.go/chan.exp
10637 * gdb.go/hello.exp
10638 * gdb.go/integers.exp
10639 * gdb.go/methods.exp
10640 * gdb.go/package.exp
10641 * gdb.guile/scm-parameter.exp
10642 * gdb.guile/scm-progspace.exp
10643 * gdb.guile/scm-value.exp
10644 * gdb.mi/mi-pending.exp
10645 * gdb.mi/user-selected-context-sync.exp
10646 * gdb.multi/multi-attach.exp
10647 * gdb.multi/tids.exp
10648 * gdb.opt/clobbered-registers-O2.exp
10649 * gdb.pascal/floats.exp
10650 * gdb.pascal/integers.exp
10651 * gdb.python/py-block.exp
10652 * gdb.python/py-events.exp
10653 * gdb.python/py-parameter.exp
10654 * gdb.python/py-symbol.exp
10655 * gdb.python/py-symtab.exp
10656 * gdb.python/py-type.exp
10657 * gdb.python/py-value.exp
10658 * gdb.python/py-xmethods.exp
10659 * gdb.python/python.exp
10660 * gdb.reverse/break-precsave.exp
10661 * gdb.reverse/consecutive-precsave.exp
10662 * gdb.reverse/finish-precsave.exp
10663 * gdb.reverse/i386-precsave.exp
10664 * gdb.reverse/machinestate-precsave.exp
10665 * gdb.reverse/sigall-precsave.exp
10666 * gdb.reverse/solib-precsave.exp
10667 * gdb.reverse/step-precsave.exp
10668 * gdb.reverse/until-precsave.exp
10669 * gdb.reverse/watch-precsave.exp
10670 * gdb.server/ext-attach.exp
10671 * gdb.server/ext-restart.exp
10672 * gdb.server/ext-run.exp
10673 * gdb.server/ext-wrapper.exp
10674 * gdb.stabs/gdb11479.exp
10675 * gdb.stabs/weird.exp
10676 * gdb.threads/attach-many-short-lived-threads.exp
10677 * gdb.threads/kill.exp
10678 * gdb.threads/watchpoint-fork.exp
10679
10680 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10681
10682 Fix test names starting with uppercase throughout all the files below.
10683
10684 * gdb.ada/array_return.exp
10685 * gdb.ada/catch_ex.exp
10686 * gdb.ada/info_exc.exp
10687 * gdb.ada/mi_catch_ex.exp
10688 * gdb.ada/mi_dyn_arr.exp
10689 * gdb.ada/mi_ex_cond.exp
10690 * gdb.ada/mi_exc_info.exp
10691 * gdb.ada/mi_interface.exp
10692 * gdb.ada/mi_task_arg.exp
10693 * gdb.ada/mi_task_info.exp
10694 * gdb.ada/mi_var_array.exp
10695 * gdb.arch/alpha-step.exp
10696 * gdb.arch/amd64-disp-step.exp
10697 * gdb.arch/arm-disp-step.exp
10698 * gdb.arch/disp-step-insn-reloc.exp
10699 * gdb.arch/e500-prologue.exp
10700 * gdb.arch/ftrace-insn-reloc.exp
10701 * gdb.arch/gdb1558.exp
10702 * gdb.arch/i386-bp_permanent.exp
10703 * gdb.arch/i386-disp-step.exp
10704 * gdb.arch/i386-float.exp
10705 * gdb.arch/i386-gnu-cfi.exp
10706 * gdb.arch/ia64-breakpoint-shadow.exp
10707 * gdb.arch/mips16-thunks.exp
10708 * gdb.arch/pa-nullify.exp
10709 * gdb.arch/powerpc-aix-prologue.exp
10710 * gdb.arch/powerpc-power.exp
10711 * gdb.arch/ppc-dfp.exp
10712 * gdb.arch/s390-tdbregs.exp
10713 * gdb.arch/spu-info.exp
10714 * gdb.arch/spu-ls.exp
10715 * gdb.arch/thumb-bx-pc.exp
10716 * gdb.base/advance.exp
10717 * gdb.base/annota-input-while-running.exp
10718 * gdb.base/arrayidx.exp
10719 * gdb.base/asmlabel.exp
10720 * gdb.base/async.exp
10721 * gdb.base/attach-wait-input.exp
10722 * gdb.base/auto-connect-native-target.exp
10723 * gdb.base/batch-preserve-term-settings.exp
10724 * gdb.base/bfp-test.exp
10725 * gdb.base/bigcore.exp
10726 * gdb.base/bp-permanent.exp
10727 * gdb.base/break-always.exp
10728 * gdb.base/break-fun-addr.exp
10729 * gdb.base/break-idempotent.exp
10730 * gdb.base/break-main-file-remove-fail.exp
10731 * gdb.base/break-probes.exp
10732 * gdb.base/break-unload-file.exp
10733 * gdb.base/break.exp
10734 * gdb.base/call-ar-st.exp
10735 * gdb.base/call-rt-st.exp
10736 * gdb.base/call-sc.exp
10737 * gdb.base/call-signal-resume.exp
10738 * gdb.base/call-strs.exp
10739 * gdb.base/callexit.exp
10740 * gdb.base/callfuncs.exp
10741 * gdb.base/catch-gdb-caused-signals.exp
10742 * gdb.base/catch-signal-siginfo-cond.exp
10743 * gdb.base/catch-syscall.exp
10744 * gdb.base/compare-sections.exp
10745 * gdb.base/cond-eval-mode.exp
10746 * gdb.base/condbreak-call-false.exp
10747 * gdb.base/consecutive-step-over.exp
10748 * gdb.base/cursal.exp
10749 * gdb.base/disabled-location.exp
10750 * gdb.base/disasm-end-cu.exp
10751 * gdb.base/display.exp
10752 * gdb.base/double-prompt-target-event-error.exp
10753 * gdb.base/dprintf-bp-same-addr.exp
10754 * gdb.base/dprintf-detach.exp
10755 * gdb.base/dprintf-next.exp
10756 * gdb.base/dprintf-non-stop.exp
10757 * gdb.base/dprintf-pending.exp
10758 * gdb.base/dso2dso.exp
10759 * gdb.base/ending-run.exp
10760 * gdb.base/enum_cond.exp
10761 * gdb.base/examine-backward.exp
10762 * gdb.base/exe-lock.exp
10763 * gdb.base/exec-invalid-sysroot.exp
10764 * gdb.base/execl-update-breakpoints.exp
10765 * gdb.base/execution-termios.exp
10766 * gdb.base/fileio.exp
10767 * gdb.base/fixsection.exp
10768 * gdb.base/foll-exec-mode.exp
10769 * gdb.base/foll-exec.exp
10770 * gdb.base/fork-running-state.exp
10771 * gdb.base/frame-args.exp
10772 * gdb.base/fullpath-expand.exp
10773 * gdb.base/func-ptr.exp
10774 * gdb.base/gcore-relro-pie.exp
10775 * gdb.base/gdb1090.exp
10776 * gdb.base/gdb1555.exp
10777 * gdb.base/global-var-nested-by-dso.exp
10778 * gdb.base/gnu-ifunc.exp
10779 * gdb.base/hbreak-in-shr-unsupported.exp
10780 * gdb.base/hbreak-unmapped.exp
10781 * gdb.base/hook-stop.exp
10782 * gdb.base/infcall-input.exp
10783 * gdb.base/info-fun.exp
10784 * gdb.base/info-shared.exp
10785 * gdb.base/interrupt-noterm.exp
10786 * gdb.base/jit-so.exp
10787 * gdb.base/jit.exp
10788 * gdb.base/line-symtabs.exp
10789 * gdb.base/list.exp
10790 * gdb.base/longjmp.exp
10791 * gdb.base/macscp.exp
10792 * gdb.base/max-value-size.exp
10793 * gdb.base/nodebug.exp
10794 * gdb.base/nofield.exp
10795 * gdb.base/overlays.exp
10796 * gdb.base/paginate-after-ctrl-c-running.exp
10797 * gdb.base/paginate-bg-execution.exp
10798 * gdb.base/paginate-inferior-exit.exp
10799 * gdb.base/pending.exp
10800 * gdb.base/pr11022.exp
10801 * gdb.base/printcmds.exp
10802 * gdb.base/ptr-typedef.exp
10803 * gdb.base/ptype.exp
10804 * gdb.base/randomize.exp
10805 * gdb.base/range-stepping.exp
10806 * gdb.base/realname-expand.exp
10807 * gdb.base/relativedebug.exp
10808 * gdb.base/remote.exp
10809 * gdb.base/savedregs.exp
10810 * gdb.base/sepdebug.exp
10811 * gdb.base/set-noassign.exp
10812 * gdb.base/shlib-call.exp
10813 * gdb.base/shreloc.exp
10814 * gdb.base/sigaltstack.exp
10815 * gdb.base/sigbpt.exp
10816 * gdb.base/siginfo-addr.exp
10817 * gdb.base/siginfo-obj.exp
10818 * gdb.base/siginfo-thread.exp
10819 * gdb.base/signest.exp
10820 * gdb.base/signull.exp
10821 * gdb.base/sigrepeat.exp
10822 * gdb.base/skip.exp
10823 * gdb.base/so-impl-ld.exp
10824 * gdb.base/solib-corrupted.exp
10825 * gdb.base/solib-disc.exp
10826 * gdb.base/solib-display.exp
10827 * gdb.base/solib-overlap.exp
10828 * gdb.base/solib-search.exp
10829 * gdb.base/solib-symbol.exp
10830 * gdb.base/source-execution.exp
10831 * gdb.base/sss-bp-on-user-bp-2.exp
10832 * gdb.base/sss-bp-on-user-bp.exp
10833 * gdb.base/stack-checking.exp
10834 * gdb.base/stale-infcall.exp
10835 * gdb.base/step-break.exp
10836 * gdb.base/step-line.exp
10837 * gdb.base/step-over-exit.exp
10838 * gdb.base/step-test.exp
10839 * gdb.base/structs.exp
10840 * gdb.base/sym-file.exp
10841 * gdb.base/symtab-search-order.exp
10842 * gdb.base/term.exp
10843 * gdb.base/type-opaque.exp
10844 * gdb.base/unload.exp
10845 * gdb.base/until-nodebug.exp
10846 * gdb.base/until.exp
10847 * gdb.base/unwindonsignal.exp
10848 * gdb.base/watch-cond.exp
10849 * gdb.base/watch-non-mem.exp
10850 * gdb.base/watch_thread_num.exp
10851 * gdb.base/watchpoint-reuse-slot.exp
10852 * gdb.base/watchpoint-solib.exp
10853 * gdb.base/watchpoint.exp
10854 * gdb.btrace/dlopen.exp
10855 * gdb.cell/arch.exp
10856 * gdb.cell/break.exp
10857 * gdb.cell/bt.exp
10858 * gdb.cell/core.exp
10859 * gdb.cell/data.exp
10860 * gdb.cell/dwarfaddr.exp
10861 * gdb.cell/ea-cache.exp
10862 * gdb.cell/ea-standalone.exp
10863 * gdb.cell/ea-test.exp
10864 * gdb.cell/f-regs.exp
10865 * gdb.cell/fork.exp
10866 * gdb.cell/gcore.exp
10867 * gdb.cell/mem-access.exp
10868 * gdb.cell/ptype.exp
10869 * gdb.cell/registers.exp
10870 * gdb.cell/sizeof.exp
10871 * gdb.cell/solib-symbol.exp
10872 * gdb.cell/solib.exp
10873 * gdb.compile/compile-tls.exp
10874 * gdb.cp/exception.exp
10875 * gdb.cp/gdb2495.exp
10876 * gdb.cp/local.exp
10877 * gdb.cp/mb-inline.exp
10878 * gdb.cp/mb-templates.exp
10879 * gdb.cp/pr10687.exp
10880 * gdb.cp/pr9167.exp
10881 * gdb.cp/scope-err.exp
10882 * gdb.cp/templates.exp
10883 * gdb.cp/virtfunc.exp
10884 * gdb.dwarf2/dw2-dir-file-name.exp
10885 * gdb.dwarf2/dw2-single-line-discriminators.exp
10886 * gdb.fortran/complex.exp
10887 * gdb.fortran/library-module.exp
10888 * gdb.guile/guile.exp
10889 * gdb.guile/scm-cmd.exp
10890 * gdb.guile/scm-frame-inline.exp
10891 * gdb.guile/scm-objfile.exp
10892 * gdb.guile/scm-pretty-print.exp
10893 * gdb.guile/scm-symbol.exp
10894 * gdb.guile/scm-type.exp
10895 * gdb.guile/scm-value.exp
10896 * gdb.linespec/keywords.exp
10897 * gdb.linespec/ls-errs.exp
10898 * gdb.linespec/macro-relative.exp
10899 * gdb.linespec/thread.exp
10900 * gdb.mi/mi-breakpoint-changed.exp
10901 * gdb.mi/mi-dprintf-pending.exp
10902 * gdb.mi/mi-fullname-deleted.exp
10903 * gdb.mi/mi-logging.exp
10904 * gdb.mi/mi-pending.exp
10905 * gdb.mi/mi-solib.exp
10906 * gdb.mi/new-ui-mi-sync.exp
10907 * gdb.mi/user-selected-context-sync.exp
10908 * gdb.multi/dummy-frame-restore.exp
10909 * gdb.multi/multi-arch-exec.exp
10910 * gdb.multi/remove-inferiors.exp
10911 * gdb.multi/watchpoint-multi-exit.exp
10912 * gdb.opt/solib-intra-step.exp
10913 * gdb.perf/backtrace.exp
10914 * gdb.perf/single-step.exp
10915 * gdb.perf/skip-command.exp
10916 * gdb.perf/skip-prologue.exp
10917 * gdb.perf/solib.exp
10918 * gdb.python/lib-types.exp
10919 * gdb.python/py-as-string.exp
10920 * gdb.python/py-bad-printers.exp
10921 * gdb.python/py-block.exp
10922 * gdb.python/py-breakpoint.exp
10923 * gdb.python/py-cmd.exp
10924 * gdb.python/py-events.exp
10925 * gdb.python/py-evthreads.exp
10926 * gdb.python/py-finish-breakpoint.exp
10927 * gdb.python/py-finish-breakpoint2.exp
10928 * gdb.python/py-frame-inline.exp
10929 * gdb.python/py-frame.exp
10930 * gdb.python/py-inferior.exp
10931 * gdb.python/py-infthread.exp
10932 * gdb.python/py-mi.exp
10933 * gdb.python/py-objfile.exp
10934 * gdb.python/py-pp-maint.exp
10935 * gdb.python/py-pp-registration.exp
10936 * gdb.python/py-prettyprint.exp
10937 * gdb.python/py-recurse-unwind.exp
10938 * gdb.python/py-shared.exp
10939 * gdb.python/py-symbol.exp
10940 * gdb.python/py-symtab.exp
10941 * gdb.python/py-template.exp
10942 * gdb.python/py-type.exp
10943 * gdb.python/py-unwind-maint.exp
10944 * gdb.python/py-unwind.exp
10945 * gdb.python/py-value.exp
10946 * gdb.python/python.exp
10947 * gdb.reverse/finish-reverse-bkpt.exp
10948 * gdb.reverse/insn-reverse.exp
10949 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10950 * gdb.reverse/solib-precsave.exp
10951 * gdb.reverse/solib-reverse.exp
10952 * gdb.stabs/gdb11479.exp
10953 * gdb.stabs/weird.exp
10954 * gdb.threads/fork-child-threads.exp
10955 * gdb.threads/fork-plus-threads.exp
10956 * gdb.threads/fork-thread-pending.exp
10957 * gdb.threads/forking-threads-plus-breakpoint.exp
10958 * gdb.threads/hand-call-in-threads.exp
10959 * gdb.threads/interrupted-hand-call.exp
10960 * gdb.threads/linux-dp.exp
10961 * gdb.threads/local-watch-wrong-thread.exp
10962 * gdb.threads/next-while-other-thread-longjmps.exp
10963 * gdb.threads/non-ldr-exit.exp
10964 * gdb.threads/pending-step.exp
10965 * gdb.threads/print-threads.exp
10966 * gdb.threads/process-dies-while-detaching.exp
10967 * gdb.threads/process-dies-while-handling-bp.exp
10968 * gdb.threads/pthreads.exp
10969 * gdb.threads/queue-signal.exp
10970 * gdb.threads/reconnect-signal.exp
10971 * gdb.threads/signal-command-handle-nopass.exp
10972 * gdb.threads/signal-command-multiple-signals-pending.exp
10973 * gdb.threads/signal-delivered-right-thread.exp
10974 * gdb.threads/signal-sigtrap.exp
10975 * gdb.threads/sigthread.exp
10976 * gdb.threads/staticthreads.exp
10977 * gdb.threads/stepi-random-signal.exp
10978 * gdb.threads/thread-unwindonsignal.exp
10979 * gdb.threads/thread_check.exp
10980 * gdb.threads/thread_events.exp
10981 * gdb.threads/tid-reuse.exp
10982 * gdb.threads/tls-nodebug.exp
10983 * gdb.threads/tls-shared.exp
10984 * gdb.threads/tls-so_extern.exp
10985 * gdb.threads/tls.exp
10986 * gdb.threads/wp-replication.exp
10987 * gdb.trace/actions-changed.exp
10988 * gdb.trace/actions.exp
10989 * gdb.trace/backtrace.exp
10990 * gdb.trace/change-loc.exp
10991 * gdb.trace/collection.exp
10992 * gdb.trace/deltrace.exp
10993 * gdb.trace/disconnected-tracing.exp
10994 * gdb.trace/entry-values.exp
10995 * gdb.trace/ftrace-lock.exp
10996 * gdb.trace/ftrace.exp
10997 * gdb.trace/infotrace.exp
10998 * gdb.trace/mi-trace-frame-collected.exp
10999 * gdb.trace/mi-trace-unavailable.exp
11000 * gdb.trace/mi-traceframe-changed.exp
11001 * gdb.trace/mi-tracepoint-changed.exp
11002 * gdb.trace/mi-tsv-changed.exp
11003 * gdb.trace/no-attach-trace.exp
11004 * gdb.trace/packetlen.exp
11005 * gdb.trace/passc-dyn.exp
11006 * gdb.trace/passcount.exp
11007 * gdb.trace/pending.exp
11008 * gdb.trace/pr16508.exp
11009 * gdb.trace/qtro.exp
11010 * gdb.trace/range-stepping.exp
11011 * gdb.trace/read-memory.exp
11012 * gdb.trace/report.exp
11013 * gdb.trace/save-trace.exp
11014 * gdb.trace/signal.exp
11015 * gdb.trace/stap-trace.exp
11016 * gdb.trace/status-stop.exp
11017 * gdb.trace/strace.exp
11018 * gdb.trace/tfile.exp
11019 * gdb.trace/tfind.exp
11020 * gdb.trace/trace-break.exp
11021 * gdb.trace/trace-condition.exp
11022 * gdb.trace/trace-enable-disable.exp
11023 * gdb.trace/trace-mt.exp
11024 * gdb.trace/tracecmd.exp
11025 * gdb.trace/tracefile-pseudo-reg.exp
11026 * gdb.trace/tspeed.exp
11027 * gdb.trace/tstatus.exp
11028 * gdb.trace/tsv.exp
11029 * gdb.trace/unavailable.exp
11030 * gdb.trace/while-dyn.exp
11031 * gdb.trace/while-stepping.exp
11032 * lib/gdb-guile.exp
11033 * lib/gdb.exp
11034 * lib/mi-support.exp
11035 * lib/pascal.exp
11036 * lib/perftest.exp
11037 * lib/prelink-support.exp
11038 * lib/selftest-support.exp
11039
11040 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11041
11042 * Makefile.in: Include disable-implicit-rules.mk.
11043
11044 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11045
11046 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11047 non-byte-aligned bit fields.
11048
11049 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11050
11051 PR gdb/12616
11052 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11053 respects the DW_AT_data_bit_offset attribute.
11054
11055 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11056
11057 * gdb.base/default.exp: Fix output of "set language".
11058
11059 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11060
11061 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11062 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11063 make.
11064 * configure.ac: Remove checks for the make program.
11065 * configure: Re-generate.
11066
11067 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11068
11069 * gdb.python/py-recurse-unwind.c (main): Add loop.
11070 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11071 to read_register() and gdb.parse_and_eval(). Make each code
11072 call a separate case that can be individually tested.
11073 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11074 proc. Call cont_and_backtrace for each of the code paths that
11075 we want to test in the unwinder.
11076
11077 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11078
11079 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11080 the definition of struct S.
11081
11082 2016-11-11 Catherine Moore <clm@codesourcery.com>
11083
11084 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11085
11086 2016-11-09 Pedro Alves <palves@redhat.com>
11087
11088 * gdb.base/commands.exp (runto_or_return): New procedure.
11089 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11090 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11091 (progvar_simple_while_test, progvar_complex_if_while_test)
11092 (if_while_breakpoint_command_test)
11093 (infrun_breakpoint_command_test, breakpoint_command_test)
11094 (user_defined_command_test, watchpoint_command_test)
11095 (test_command_prompt_position, redefine_hook_test)
11096 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11097 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11098 multi_line_input and multi_line. Remove gdb_expect and
11099 gdb_stop_suppressing_tests uses.
11100 * lib/gdb.exp (valnum_re): New global.
11101 (multi_line_input): New procedure.
11102
11103 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11104
11105 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11106 Remove.
11107 (test_setup): Define with proc_with_prefix.
11108 (test_cli_inferior): Likewise.
11109 (test_cli_thread): Likewise.
11110 (test_cli_frame): Likewise.
11111 (test_cli_select_frame): Likewise.
11112 (test_cli_up_down): Likewise.
11113 (test_mi_thread_select): Likewise.
11114 (test_mi_stack_select_frame): Likewise.
11115 (test_cli_in_mi_inferior): Likewise.
11116 (test_cli_in_mi_thread): Likewise.
11117 (test_cli_in_mi_frame): Likewise.
11118 (top level): Do not use with_test_prefix_procname.
11119
11120 2016-11-09 Pedro Alves <palves@redhat.com>
11121
11122 * gdb.base/commands.exp (gdbvar_simple_if_test)
11123 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11124 (progvar_simple_if_test, progvar_simple_while_test)
11125 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11126 (infrun_breakpoint_command_test, breakpoint_command_test)
11127 (user_defined_command_test, watchpoint_command_test)
11128 (test_command_prompt_position, deprecated_command_test)
11129 (bp_deleted_in_command, temporary_breakpoint_commands)
11130 (stray_arg0_test, source_file_with_indented_comment)
11131 (recursive_source_test, if_commands_test)
11132 (error_clears_commands_left, redefine_hook_test)
11133 (redefine_backtrace_test): Use proc_with_prefix.
11134 * lib/gdb.exp (proc_with_prefix): New proc.
11135
11136 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11137
11138 * gdb.base/tui-layout.c: New file.
11139 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11140 disassembly window contains very long lines.
11141
11142 2016-11-08 Tom Tromey <tom@tromey.com>
11143
11144 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11145 depend on Python 2.
11146
11147 2016-11-08 Tom Tromey <tom@tromey.com>
11148
11149 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11150 New method.
11151
11152 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11153
11154 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11155
11156 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11157
11158 * gdb.rust/simple.rs: Add test for univariant enums without
11159 discriminants and for encoded struct-like enums.
11160
11161 2016-10-28 Pedro Alves <palves@redhat.com>
11162
11163 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11164 gdb_test_multiple, tighten regexps and match symtabs and line
11165 tables incrementally.
11166
11167 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11168
11169 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11170 general.
11171
11172 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11173
11174 * gdb.base/exec-invalid-sysroot.exp: New file.
11175
11176 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11177
11178 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11179
11180 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11181
11182 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11183
11184 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11185
11186 * gdb.base/killed-outside.exp: Remove $options from a call to
11187 `prepare_for_testing'.
11188
11189 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11190
11191 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11192 Change test message.
11193
11194 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11195
11196 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11197 Update comment.
11198
11199 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11200
11201 * gdb.trace/mi-trace-save.exp: New file.
11202
11203 2016-10-13 Yao Qi <yao.qi@linaro.org>
11204
11205 * gdb.base/code_elim.exp (get_var_address): Remove.
11206 * gdb.base/relocate.exp: Likewise.
11207 * gdb.base/shreloc.exp: Likewise.
11208 * lib/gdb.exp (get_var_address): New.
11209
11210 2016-10-13 Yao Qi <yao.qi@linaro.org>
11211
11212 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11213 floating point tests if $skip_float_test is false.
11214
11215 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11216
11217 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11218 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11219 argc values.
11220 Add 1 to argc so we guarantee distinct initial/modified argc values.
11221
11222 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11223
11224 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11225
11226 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11227
11228 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11229 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11230 * gdb.arch/vsx-regs.exp: Likewise.
11231
11232 2016-10-07 Yao Qi <yao.qi@linaro.org>
11233
11234 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11235
11236 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11237
11238 * gdb.python/python.exp: Test decode_line("*0").
11239
11240 2016-10-06 Doug Evans <dje@google.com>
11241
11242 * gdb.python/py-value.exp (test_value_creation): Add test for large
11243 unsigned 64-bit value.
11244
11245 2016-10-06 Tom Tromey <tom@tromey.com>
11246
11247 * gdb.compile/compile.exp: Change java tests to rust.
11248 * gdb.base/setshow.exp: Change java tests to rust.
11249 * gdb.base/default.exp: Remove java from language list.
11250 * README (Examples): Update language example.
11251 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11252 test.
11253 * lib/gdb.exp (skip_java_tests): Remove.
11254 * lib/java.exp: Remove.
11255 * gdb.java: Remove.
11256
11257 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11258
11259 * gdb.arch/mips-fcr.exp: New test.
11260 * gdb.arch/mips-fcr.c: Source for the new test.
11261
11262 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11263
11264 * gdb.base/solib-disc.exp: Use `standard_output_file'
11265 throughout.
11266
11267 2016-10-06 Pedro Alves <palves@redhat.com>
11268
11269 * gdb.base/jit-simple-dl.c: New file.
11270 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11271 * gdb.base/jit-simple.c: ... this.
11272 * gdb.base/jit-simple.exp (jit_run): Delete.
11273 (build_jit): New proc.
11274 (jit_test_reread): Recompile either the main program or the shared
11275 library, depending on what is being tested. Skip changing address
11276 if caller wants to. Compare before/after addresses. If testing
11277 standalone, explicitly load the binary. Test "maint info
11278 breakpoints".
11279 (top level): Add "standalone vs shared lib" and "change address"
11280 vs "same address" axes.
11281
11282 2016-10-06 Pedro Alves <palves@redhat.com>
11283
11284 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11285 call.
11286 (jit_run): Delete.
11287 (jit_test_reread): Use with_test_prefix. Reload the main binary
11288 explicitly. Compare the before/after addresses of the JIT
11289 descriptor.
11290
11291 2016-08-15 Doug Evans <dje@google.com>
11292
11293 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11294 for single bitfields is bool.
11295 * gdb.xml/tdesc-regs.exp: Ditto.
11296
11297 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11300
11301 2016-10-05 Yao Qi <yao.qi@linaro.org>
11302
11303 * lib/gdb.exp (support_complex_tests): Return zero if
11304 gdb_skip_float_test return true.
11305
11306 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11307 Simon Marchi <simon.marchi@ericsson.com>
11308
11309 PR gdb/20487
11310 * gdb.mi/user-selected-context-sync.exp: New file.
11311 * gdb.mi/user-selected-context-sync.c: New file.
11312
11313 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11314 Simon Marchi <simon.marchi@ericsson.com>
11315
11316 PR gdb/20487
11317 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11318 =thread-select-event check.
11319
11320 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11321
11322 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11323 the compulsory L operand changes.
11324 * gdb.arch/powerpc-power.s: Likewise.
11325
11326 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11327
11328 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11329 * gdb.base/jit-attach-pie.c: New file.
11330 * gdb.base/jit-attach-pie.exp: New file.
11331
11332 2016-09-28 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.base/infcall-input.c: New file.
11335 * gdb.base/infcall-input.exp: New file.
11336
11337 2016-09-22 Yao Qi <yao.qi@linaro.org>
11338
11339 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11340 (gdb_exit): Rename it to ...
11341 (gdbserver_gdb_exit): ... Close GDBserver.
11342 (gdb_exit): New proc, call gdbserver_gdb_exit.
11343 (mi_gdb_exit): Likewise.
11344
11345 2016-09-22 Yao Qi <yao.qi@linaro.org>
11346
11347 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11348 path.
11349 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11350 Remove duplication.
11351
11352 2016-09-22 Yao Qi <yao.qi@linaro.org>
11353
11354 * lib/gdbserver-support.exp: Check the existence of
11355 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11356
11357 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11358
11359 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11360
11361 2016-09-21 Tom Tromey <tom@tromey.com>
11362
11363 PR gdb/20604:
11364 * gdb.base/quit.exp: New file.
11365
11366 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11367
11368 * .gitignore: New file.
11369
11370 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11371
11372 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11373 throughout.
11374
11375 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11376
11377 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11378
11379 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11380
11381 * gdb.cp/casts.cc (decltype): Move it ...
11382 (main): ... with its call to ...
11383 * gdb.cp/casts03.cc: ... a new file.
11384 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11385
11386 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11387
11388 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11389
11390 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11391
11392 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11393 and sync up the test with tests in gas/testsuite/gas/ppc.
11394 * gdb.arch/powerpc-power.exp: Likewise.
11395
11396 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11397
11398 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11399
11400 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11401 Jan Kratochvil <jan.kratochvil@redhat.com>
11402
11403 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11404 make m1's definition to be different from m2's. Use 'dummy' as an
11405 argument for probe 'two'.
11406
11407 2016-09-10 Jon Beniston <jon@beniston.com>
11408
11409 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11410 for sim target.
11411
11412 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11413
11414 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11415 variable declaration.
11416 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11417 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11418 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11419 received HWCAP as its argument.
11420
11421 2016-09-06 Pedro Alves <palves@redhat.com>
11422
11423 * gdb.base/new-ui-pending-input.c: New file.
11424 * gdb.base/new-ui-pending-input.exp: New file.
11425 * gdb.exp (clear_gdb_spawn_id): New procedure.
11426 (with_spawn_id): Check whether gdb_spawn_id exists before
11427 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11428 on exit.
11429
11430 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11431
11432 * gdb.base/float128.c: New file.
11433 * gdb.base/float128.exp: Likewise.
11434 * gdb.base/floatn.c: Likewise.
11435 * gdb.base/floatn.exp: Likewise.
11436
11437 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11438
11439 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11440
11441 2016-09-05 Pedro Alves <palves@redhat.com>
11442
11443 PR backtrace/19927
11444 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11445 unwinders are immediately called as side effect of "source" or
11446 "disable unwinder" commands.
11447 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11448
11449 2016-09-02 Yao Qi <yao.qi@linaro.org>
11450
11451 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11452 is true and $type is "float" or "double".
11453
11454 2016-09-02 Yao Qi <yao.qi@linaro.org>
11455
11456 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11457 true.
11458 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11459 * gdb.base/call-rt-st.exp: Likewise.
11460 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11461 return value instead of gdb,skip_float_test.
11462 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11463 (do_function_calls): Use its return value instead of
11464 gdb,skip_float_test.
11465 * gdb.base/finish.exp: Likewise.
11466 * gdb.base/funcargs.exp: Likewise.
11467 * gdb.base/return.exp: Likewise.
11468 * gdb.base/return2.exp: Likewise.
11469 * gdb.base/varargs.exp: Likewise.
11470 * lib/gdb.exp (gdb_skip_float_test): Change it to
11471 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11472
11473 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11474
11475 * gdb.multi/tids.exp: Test "thread apply all".
11476
11477 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11478
11479 * gdb.base/default.exp (tty): Remove.
11480
11481 2016-08-24 Kevin Buettner <kevinb@redhat.com>
11482
11483 * gdb.python/py-recurse-unwind.c: New file.
11484 * gdb.python/py-recurse-unwind.py: New file.
11485 * gdb.python/py-recurse-unwind.exp: New file.
11486
11487 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11488
11489 * gdb.base/set-inferior-tty.exp: New file.
11490 * gdb.base/set-inferior-tty.c: New file.
11491
11492 2016-08-23 Pedro Alves <palves@redhat.com>
11493
11494 PR gdb/20494
11495 * gdb.base/new-ui-echo.c: New file.
11496 * gdb.base/new-ui-echo.exp: New file.
11497
11498 2016-08-23 Yao Qi <yao.qi@linaro.org>
11499
11500 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11501 gdbserver_spawn.
11502 * gdb.server/connect-without-multi-process.exp (do_test):
11503 Likewise.
11504
11505 2016-08-23 Yao Qi <yao.qi@linaro.org>
11506
11507 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11508 standalone_txt. Delete gdb_txt and standalone_txt on host
11509 and target. Spawn the binary on target. Copy files from
11510 target to host.
11511
11512 2016-08-22 Pedro Alves <palves@redhat.com>
11513
11514 PR gdb/20505
11515 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11516 with_test_prefix. Factor out bits to ...
11517 (test_no_vdso): ... this new procedure.
11518
11519 2016-08-19 Carl Love <cel@us.ibm.com>
11520
11521 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11522 maintaining separate logic for constructing the output path.
11523 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11524 * gdb.arch/ppc-dfp.exp: Likewise.
11525 * gdb.arch/ppc-fp.exp: Likewise.
11526 * gdb.arch/vsx-regs.exp: Likewise.
11527 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11528 binprefix for generating the additional binary files.
11529
11530 2016-08-19 Pedro Alves <palves@redhat.com>
11531
11532 * gdb.trace/mi-trace-frame-collected.exp
11533 (test_trace_frame_collected): On x32, expect two registers.
11534
11535 2016-08-18 Carl Love <cel@us.ibm.com>
11536
11537 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11538 and sync up the test with tests in gas/testsuite/gas/ppc.
11539 * gdb.arch/powerpc-power.exp: Likewise.
11540
11541 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11542
11543 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11544 expected error message.
11545
11546 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11547
11548 * gdb.multi/remove-inferiors.exp: New file.
11549 * gdb.multi/remove-inferiors.c: New file.
11550
11551 2016-08-12 Yao Qi <yao.qi@linaro.org>
11552
11553 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11554 argument list.
11555
11556 2016-08-10 Pedro Alves <palves@redhat.com>
11557
11558 PR gdb/19187
11559 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11560 setup_kfails.
11561
11562 2016-08-09 Pedro Alves <palves@redhat.com>
11563 Simon Marchi <simon.marchi@ericsson.com>
11564
11565 PR gdb/20418
11566 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11567 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11568
11569 2016-08-09 Pedro Alves <palves@redhat.com>
11570
11571 PR mi/20431
11572 * gdb.mi/mi-cmd-error.exp: New file.
11573
11574 2016-08-09 Pedro Alves <palves@redhat.com>
11575
11576 PR gdb/18653
11577 * gdb.base/signals-state-child.c: New file.
11578 * gdb.base/signals-state-child.exp: New file.
11579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11580
11581 2016-08-09 Pedro Alves <palves@redhat.com>
11582
11583 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11584
11585 2016-08-03 Tom Tromey <tom@tromey.com>
11586
11587 PR python/18565:
11588 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11589
11590 2016-08-01 Yao Qi <yao.qi@linaro.org>
11591
11592 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11593 variable mode to "multi-process" if $multi_process is 1, otherwise
11594 set it to "single-process".
11595
11596 2016-08-01 Yao Qi <yao.qi@linaro.org>
11597
11598 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11599 * gdb.cp/cpexprs.exp: Likewise.
11600 * gdb.cp/m-static.exp: Likewise.
11601
11602 2016-07-26 Tom Tromey <tom@tromey.com>
11603
11604 PR python/20190:
11605 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11606 test.
11607
11608 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11609
11610 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11611 selecting assembly source files.
11612 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11613 assembly source files.
11614 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11615 assembly source files.
11616 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11617 selecting assembly source files.
11618
11619 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11620
11621 * gdb.base/new-ui.exp (do_test_invalid_args): New
11622 procedure.
11623
11624 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11625
11626 * gdb.btrace/reconnect.c: New file.
11627 * gdb.btrace/reconnect.exp: New file.
11628
11629 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11630
11631 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11632 to test_catch_syscall_group.
11633 (test_catch_syscall_group): New.
11634
11635 2016-07-21 Tom Tromey <tom@tromey.com>
11636
11637 * gdb.rust/simple.rs (main): Use empty struct expression.
11638 * gdb.rust/simple.exp: Add tests for empty struct expression.
11639
11640 2016-07-21 Yao Qi <yao.qi@linaro.org>
11641
11642 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11643 if gdb_skip_xml_test is true on some targets.
11644
11645 2016-07-21 Yao Qi <yao.qi@linaro.org>
11646
11647 * gdb.server/solib-list.exp: Unset last_loaded_file.
11648
11649 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11650
11651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11652 "step into captured_main (args)".
11653
11654 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11657
11658 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11659
11660 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11661
11662 2016-07-19 Pedro Alves <palves@redhat.com>
11663
11664 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11665 * gdb.opt/inline-bt.exp: Likewise.
11666 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11667 additional_flags=-Winline.
11668 * gdb.opt/inline-locals.exp: Likewise.
11669 * gdb.opt/inline-markers.c (ATTR): Define.
11670 (inlined_fn): Use it.
11671
11672 2016-07-19 Yao Qi <yao.qi@linaro.org>
11673
11674 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11675 (test_with_self): Remove some code. Remove argument executable.
11676 (top-level): Use do_self_tests.
11677
11678 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
11679 Don Breazeal <donb@codesourcery.com>
11680
11681 * gdb.base/maint.exp: Escape paths used in regular expressions.
11682 * gdb.stabs/weird.exp: Likewise.
11683
11684 2016-07-13 Tom Tromey <tom@tromey.com>
11685
11686 PR python/15620, PR python/18620:
11687 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11688 (test_bkpt_events): New procs.
11689
11690 2016-07-13 Tom Tromey <tom@tromey.com>
11691
11692 PR python/17698:
11693 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11694 test.
11695 (test_watchpoints): Likewise.
11696 (test_bkpt_pending): New proc.
11697
11698 2016-07-13 Tom Tromey <tom@tromey.com>
11699
11700 PR cli/18053:
11701 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11702 completion test.
11703
11704 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11705
11706 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11707 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11708 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11709 f_label.
11710 (g): Rename g_end_lbl to g_label.
11711 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11712 low_pc and high_pc.
11713 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11714
11715 2016-07-12 Tom Tromey <tom@tromey.com>
11716
11717 PR python/19293:
11718 * gdb.python/py-unwind-maint.exp: Update tests.
11719
11720 2016-07-12 Yao Qi <yao.qi@linaro.org>
11721
11722 * lib/selftest-support.exp (selftest_setup): Match the output
11723 when captured_main is inlined.
11724
11725 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11726
11727 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11728 New variables.
11729 (print this%a, print this%b, print this): New tests.
11730 * gdb.fortran/derived-types.f90 (this): New object and
11731 initialization.
11732
11733 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11734
11735 * gdb.ada/arraydim.exp: Remove extra directory level in build
11736 directory.
11737
11738 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11739
11740 * lib/ada.exp: Remove extra directory level in build directory.
11741 * gdb.ada/cond_lang.exp: Likewise.
11742 * gdb.ada/exec_changed.exp: Likewise.
11743 * gdb.ada/lang_switch.exp: Likewise.
11744
11745 2016-07-06 Manish Goregaokar <manish@mozilla.com>
11746
11747 * simple.rs: Add test for raw pointer subscripting.
11748 * simple.exp: Add test expectations.
11749
11750 2016-07-05 Yao Qi <yao.qi@linaro.org>
11751
11752 * gdb.mi/mi-reverse.exp: Match =record-started output.
11753
11754 2016-07-01 Pedro Alves <palves@redhat.com>
11755
11756 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11757 procedure.
11758 (jit_reader_test): Test the jit reader's unwinder.
11759 * gdb.base/jithost.c (jit_function_00_code): New global.
11760 (main): Use memcpy to fill in the mmapped code, instead of poking
11761 bytes manually here.
11762 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11763 value.
11764 (read_debug_info): Save the function's range.
11765 (read_sp): New function.
11766 (unwind_frame): Use it. Also unwind RBP.
11767 (get_frame_id): Use read_sp.
11768 (gdb_init_reader): Use calloc instead of malloc.
11769 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11770 parameter. Use gdb_test_multiple.
11771
11772 2016-07-01 Pedro Alves <palves@redhat.com>
11773 Antoine Tremblay <antoine.tremblay@ericsson.com>
11774
11775 * gdb.threads/process-dies-while-detaching.c: New file.
11776 * gdb.threads/process-dies-while-detaching.exp: New file.
11777
11778 2016-07-01 Pedro Alves <palves@redhat.com>
11779
11780 * gdb.multi/watchpoint-multi-exit.c: New file.
11781 * gdb.multi/watchpoint-multi-exit.exp: New file.
11782
11783 2016-06-30 Pedro Alves <palves@redhat.com>
11784
11785 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11786 unset inferior_spawn_id.
11787
11788 2016-06-30 Pedro Alves <palves@redhat.com>
11789
11790 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11791 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11792
11793 2016-06-29 Yao Qi <yao.qi@linaro.org>
11794
11795 * gdb.base/return.c: Add copyright header.
11796
11797 2016-06-29 Tom Tromey <tom@tromey.com>
11798
11799 PR python/20129:
11800 * gdb.python/py-framefilter.exp: Add tests for setting priority
11801 and disabling of non-existent frame filter.
11802
11803 2016-06-29 Yao Qi <yao.qi@linaro.org>
11804
11805 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11806 0x0f07ff.
11807
11808 2016-06-28 Yao Qi <yao.qi@linaro.org>
11809
11810 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11811 triplets. Start gdb, execute catch syscall, and continue. Check
11812 gdb's output to determine catch syscall is supported.
11813
11814 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11815
11816 * gdb.rust/simple.rs: Add test for returning unit in a function.
11817 * gdb.rust/simple.exp: Add expectation for functions returning
11818 unit.
11819
11820 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11821
11822 * gdb.python/py-breakpoint-create-fail.c,
11823 gdb.python/py-breakpoint-create-fail.exp,
11824 gdb.python/py-breakpoint-create-fail.py: New testcase.
11825
11826 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11827
11828 PR gdb/20239
11829 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11830 * gdb.rust/simple.exp: Add test expectations for new NonZero
11831 tests.
11832
11833 2016-06-24 David Taylor <dtaylor@emc.com>
11834
11835 * gdb.base/offsets.exp: New file.
11836 * gdb.base/offsets.c: New file.
11837
11838 2016-06-23 Tom Tromey <tom@tromey.com>
11839
11840 PR gdb/16483:
11841 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11842 before any filters are loaded.
11843
11844 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11845
11846 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11847 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11848 structs.
11849 * gdb.fortran/derived-type-function.exp: New file.
11850 * gdb.fortran/derived-type-function.f90: New file.
11851
11852
11853 2016-06-21 Pedro Alves <palves@redhat.com>
11854
11855 * gdb.base/new-ui.exp: New file.
11856 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11857 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11858 (with_spawn_id): New procedure.
11859
11860 2016-06-21 Pedro Alves <palves@redhat.com>
11861
11862 * gdb.mi/mi-exec-run.exp: New file.
11863
11864 2016-06-21 Pedro Alves <palves@redhat.com>
11865
11866 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11867 breakpoint command's output on the main UI.
11868 (test_break): New procedure, factored out from calls in the top
11869 level.
11870 (top level): Use foreach_with_prefix to test MI as main UI and as
11871 separate UI.
11872
11873 2016-06-21 Pedro Alves <palves@redhat.com>
11874
11875 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11876 (test_awatch_creation_and_listing)
11877 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11878 Remove 'type' parameter.
11879 (test_watchpoint_all): New parameter mi_mode. Remove
11880 with_test_prefix.
11881 (top level): Use foreach_with_prefix, and add main/separate UI MI
11882 testing axis.
11883
11884 2016-06-21 Pedro Alves <palves@redhat.com>
11885
11886 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11887 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11888 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11889 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11890 (gdb_main_spawn_id, mi_spawn_id): Declare and
11891 comment.
11892 (mi_create_inferior_pty): New procedure,
11893 factored out from default_mi_gdb_start.
11894 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11895 procedures.
11896 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11897 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11898 Use mi_create_inferior_pty.
11899 (mi_gdb_start): Use eval to pass down args list.
11900
11901 2016-06-21 Pedro Alves <palves@redhat.com>
11902
11903 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11904 * gdb.opt/inline-cmds.exp: Add MI tests.
11905
11906 2016-06-21 Pedro Alves <palves@redhat.com>
11907
11908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11909
11910 2016-06-21 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11913 (top level): Use it instead of mi_execute_to.
11914
11915 2016-06-21 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11918 (cont_handler_str): New.
11919 (signal_stop_handler): Set stop_handler_str instead of printing to
11920 stdout.
11921 (continue_handler): Set cont_handler_str instead of printing to
11922 stdout.
11923 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11924 mi_send_resuming_command. Print stop_handler_str and
11925 cont_handler_str instead of expecting the python events print
11926 directly.
11927
11928 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11929
11930 * gdb.base/jit-reader.exp: New file.
11931 * gdb.base/jithost.c: New file.
11932 * gdb.base/jithost.h: New file.
11933 * gdb.base/jitreader.c : New file.
11934 * gdb.base/jit-protocol.h: New file.
11935
11936 2016-06-17 Yao Qi <yao.qi@linaro.org>
11937
11938 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11939 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11940 and detach-on-fork. Adjust tests.
11941 (top level): Invoke break_cond_on_syscall with combinations of
11942 syscall, follow-fork-mode and detach-on-fork.
11943
11944 2016-06-17 Yao Qi <yao.qi@linaro.org>
11945
11946 * gdb.base/step-over-exit.c: New.
11947 * gdb.base/step-over-exit.exp: New.
11948
11949 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11950
11951 * gdb.base/float.exp: Add target check for nds32*-*-*.
11952 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11953
11954 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11955
11956 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11957 for unsupported target features.
11958 * gdb.base/call-rt-st.exp: Likewise.
11959 * gdb.base/call-sc.exp: Likewise.
11960 * gdb.base/call-signal-resume.exp: Likewise.
11961 * gdb.base/call-strs.exp: Likewise.
11962 * gdb.base/callexit.exp: Likewise.
11963 * gdb.base/callfuncs.exp: Likewise.
11964 * gdb.base/nodebug.exp: Likewise.
11965 * gdb.base/printcmds.exp: Likewise.
11966 * gdb.base/ptype.exp: Likewise.
11967 * gdb.base/structs.exp: Likewise.
11968 * gdb.base/unwindonsignal.exp: Likewise.
11969 * gdb.cp/gdb2495.exp: Likewise.
11970 * gdb.cp/templates.exp: Likewise.
11971 * gdb.cp/virtfunc.exp: Likewise.
11972 * gdb.threads/hand-call-in-threads.exp: Likewise.
11973 * gdb.threads/interrupted-hand-call.exp: Likewise.
11974 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11975
11976 2016-06-10 Tom Tromey <tom@tromey.com>
11977
11978 PR rust/20110:
11979 * gdb.rust/expr.exp: Add test for integer constant larger than
11980 i32.
11981
11982 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11983
11984 * gdb.fortran/nested-funcs.exp: New.
11985 * gdb.fortran/nested-funcs.f90: New.
11986
11987 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11988
11989 * gdb.base/examine-backward.c: New file.
11990 * gdb.base/examine-backward.exp: New file.
11991
11992 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11993
11994 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11995 matching.
11996
11997 2016-06-02 Tom Tromey <tom@tromey.com>
11998
11999 PR python/18984:
12000 * gdb.python/py-shared.exp: Add solib_name test.
12001
12002 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12003
12004 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12005
12006 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12007
12008 PR c++/19893
12009 * gdb.dwarf2/implref.exp: Rename to...
12010 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12011 * gdb.dwarf2/implref-array.c: New file.
12012 * gdb.dwarf2/implref-array.exp: Likewise.
12013 * gdb.dwarf2/implref-global.c: Likewise.
12014 * gdb.dwarf2/implref-global.exp: Likewise.
12015 * gdb.dwarf2/implref-struct.c: Likewise.
12016 * gdb.dwarf2/implref-struct.exp: Likewise.
12017
12018 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12019
12020 * gdb.trace/trace-condition.exp: Add 64bit tests.
12021
12022 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12023
12024 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12025 bits types.
12026 (main): Adapt to 8 to 64 bits types.
12027 * gdb.trace/trace-condition.exp: Add new tests.
12028
12029 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12030
12031 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12032
12033 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12034
12035 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12036 Move condition tests...
12037 * gdb.trace/trace-condition.exp: Here.
12038
12039 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12040
12041 * gdb.trace/trace-condition.exp: Add counter-case tests.
12042
12043 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12044
12045 PR c++/15231
12046 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12047 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12048
12049 2016-05-27 Pedro Alves <palves@redhat.com>
12050
12051 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12052 New procedure.
12053 (top level): Call it, and bail out of DejaGnu is known to be bad.
12054
12055 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12056
12057 * gdb.base/whatis.c: Extend the test case.
12058 * gdb.base/whatis.exp: Add additional tests.
12059
12060 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12061
12062 * gdb.fortran/type.f90: Add pointer variable.
12063 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12064
12065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12066
12067 * gdb.fortran/vla-type.exp: Fix testcase name.
12068
12069 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12070
12071 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12072
12073 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12074
12075 * gdb.fortran/type.f90: Add nested structures.
12076 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12077 * gdb.fortran/derived-type.exp: Adapt expected output.
12078 * gdb.fortran/vla-type.exp: Adapt expected output.
12079
12080 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12081
12082 * gdb.fortran/whatis_type.exp: Adapt expected output.
12083
12084 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12085
12086 * gdb.fortran/print_type.exp: Fix expected output.
12087 * gdb.fortran/whatis_type.exp: Fix expected output.
12088
12089 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12090
12091 * gdb.fortran/whatis_type.exp: Use multi_line.
12092
12093 2016-05-24 Tom Tromey <tom@tromey.com>
12094
12095 PR python/17386:
12096 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12097 use value as an index.
12098
12099 2016-05-23 Tom Tromey <tom@tromey.com>
12100
12101 PR python/17981:
12102 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12103 no-breakpoint case.
12104
12105 2016-05-24 Pedro Alves <palves@redhat.com>
12106
12107 PR gdb/19828
12108 * gdb.threads/clone-attach-detach.c: New file.
12109 * gdb.threads/clone-attach-detach.exp: New file.
12110
12111 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12112
12113 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12114
12115 2016-05-23 Tom Tromey <tom@tromey.com>
12116
12117 PR python/19438, PR python/18393:
12118 * gdb.python/py-progspace.exp: Add "dir" test.
12119 * gdb.python/py-objfile.exp: Add "dir" test.
12120
12121 2016-05-23 Yao Qi <yao.qi@linaro.org>
12122
12123 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12124 * gdb.arch/thumb2-it.exp: Likewise.
12125
12126 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12127
12128 * gdb.mi/mi-threads-interrupt.c: New file.
12129 * gdb.mi/mi-threads-interrupt.exp: New file.
12130
12131 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12132
12133 PR gdb/18077
12134 * gdb.mi/mi-async-run.exp: New file.
12135 * gdb.mi/mi-async-run.c: New file.
12136
12137 2016-05-17 Tom Tromey <tom@tromey.com>
12138 Manish Goregaokar <manishsmail@gmail.com>
12139
12140 * lib/rust-support.exp: New file.
12141 * lib/gdb.exp (skip_rust_tests): New proc.
12142 (build_executable_from_specs): Handle rust.
12143 * lib/future.exp (gdb_find_rustc): New proc.
12144 (gdb_default_target_compile): Handle rust.
12145 * gdb.rust/expr.exp: New file.
12146 * gdb.rust/generics.exp: New file.
12147 * gdb.rust/generics.rs: New file.
12148 * gdb.rust/methods.exp: New file.
12149 * gdb.rust/methods.rs: New file.
12150 * gdb.rust/modules.exp: New file.
12151 * gdb.rust/modules.rs: New file.
12152 * gdb.rust/simple.exp: New file.
12153 * gdb.rust/simple.rs: New file.
12154
12155 2016-05-17 Tom Tromey <tom@tromey.com>
12156
12157 * gdb.base/default.exp (set language): Add rust.
12158
12159 2016-05-17 Tom Tromey <tom@tromey.com>
12160
12161 * gdb.gdb/unittest.exp: New file.
12162
12163 2016-05-16 Yao Qi <yao.qi@linaro.org>
12164
12165 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12166 shell_prompt. Update shell_prompt_re.
12167
12168 2016-05-12 Doug Evans <dje@google.com>
12169
12170 PR symtab/19999
12171 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12172 $options when building executable.
12173 * gdb.dwarf2/fission-loclists-pie.S: New file.
12174 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12175
12176 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12177
12178 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12179 of [is_remote target],
12180
12181 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12182
12183 * lib/gdb.exp (use_gdb_stub): New procedure.
12184
12185 2016-05-03 Yunlian Jiang <yunlian@google.com>
12186 Doug Evans <dje@google.com>
12187
12188 PR symtab/19914
12189 * gdb.dwarf2/dwp-sepdebug.c: New file.
12190 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12191
12192 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12193
12194 * gdb.base/detach.exp: Remove is_remote check.
12195
12196 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12197
12198 * gdb.base/annota-input-while-running.exp: Don't check for
12199 [is_remote target]. Enable annotations after running to main.
12200 Remove unused "set test..." line.
12201
12202 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12203
12204 * gdb.trace/trace-enable-disable.exp: New file.
12205 * gdb.trace/trace-enable-disable.c: New file.
12206
12207 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12208
12209 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12210 use it in info sharedlibrary test.
12211 * gdb.trace/ftrace-lock.exp: Likewise.
12212 * gdb.trace/ftrace.exp: Likewise.
12213 * gdb.trace/range-stepping.exp: Likewise.
12214 * gdb.trace/trace-break.exp: Likewise.
12215 * gdb.trace/trace-condition.exp: Likewise.
12216 * gdb.trace/trace-mt.exp: Likewise.
12217
12218 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12219
12220 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12221 (gdb_load_shlib): ... this.
12222 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12223 gdb_load_shlib.
12224 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12225 * gdb.base/ctxobj.exp: Likewise.
12226 * gdb.base/dprintf-pending.exp: Likewise.
12227 * gdb.base/dso2dso.exp: Likewise.
12228 * gdb.base/fixsection.exp: Likewise.
12229 * gdb.base/gcore-relro.exp: Likewise.
12230 * gdb.base/gdb1555.exp: Likewise.
12231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12232 * gdb.base/gnu-ifunc.exp: Likewise.
12233 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12234 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12235 * gdb.base/pending.exp: Likewise.
12236 * gdb.base/print-file-var.exp: Likewise.
12237 * gdb.base/print-symbol-loading.exp: Likewise.
12238 * gdb.base/shlib-call.exp: Likewise.
12239 * gdb.base/shreloc.exp: Likewise.
12240 * gdb.base/so-impl-ld.exp: Likewise.
12241 * gdb.base/solib-disc.exp: Likewise.
12242 * gdb.base/solib-nodir.exp: Likewise.
12243 * gdb.base/solib-overlap.exp: Likewise.
12244 * gdb.base/solib-symbol.exp: Likewise.
12245 * gdb.base/solib-weak.exp (do_test): Likewise.
12246 * gdb.base/sym-file.exp: Likewise.
12247 * gdb.base/symtab-search-order.exp: Likewise.
12248 * gdb.base/type-opaque.exp: Likewise.
12249 * gdb.base/unload.exp: Likewise.
12250 * gdb.base/watchpoint-solib.exp: Likewise.
12251 * gdb.compile/compile.exp: Likewise.
12252 * gdb.cp/gdb2384.exp: Likewise.
12253 * gdb.cp/infcall-dlopen.exp: Likewise.
12254 * gdb.cp/re-set-overloaded.exp: Likewise.
12255 * gdb.fortran/library-module.exp: Likewise.
12256 * gdb.opt/solib-intra-step.exp: Likewise.
12257 * gdb.python/py-finish-breakpoint.exp: Likewise.
12258 * gdb.python/py-shared.exp: Likewise.
12259 * gdb.reverse/solib-precsave.exp: Likewise.
12260 * gdb.reverse/solib-reverse.exp: Likewise.
12261 * gdb.server/solib-list.exp: Likewise.
12262 * gdb.threads/dlopen-libpthread.exp: Likewise.
12263 * gdb.threads/tls-shared.exp: Likewise.
12264 * gdb.threads/tls-so_extern.exp: Likewise.
12265 * gdb.trace/change-loc.exp: Likewise.
12266 * gdb.trace/ftrace-lock.exp: Likewise.
12267 * gdb.trace/ftrace.exp: Likewise.
12268 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12269 * gdb.trace/pending.exp: Likewise.
12270 * gdb.trace/range-stepping.exp: Likewise.
12271 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12272 (strace_info_marker): Likewise.
12273 (strace_probe_marker): Likewise.
12274 (strace_trace_on_same_addr): Likewise.
12275 (strace_trace_on_diff_addr): Likewise.
12276 * gdb.trace/trace-break.exp: Likewise.
12277 * gdb.trace/trace-condition.exp: Likewise.
12278 * gdb.trace/trace-mt.exp: Likewise.
12279
12280 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12281
12282 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12283 result of gdb_remote_download.
12284 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12285 * gdb.base/dso2dso.exp: Likewise.
12286 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12287 * gdb.base/print-file-var.exp: Likewise.
12288 * gdb.base/shlib-call.exp: Likewise.
12289 * gdb.base/shreloc.exp: Likewise.
12290 * gdb.base/solib-overlap.exp: Likewise.
12291 * gdb.base/solib-weak.exp (do_test): Likewise.
12292 * gdb.base/unload.exp: Likewise.
12293
12294 2016-04-27 Yao Qi <yao.qi@linaro.org>
12295
12296 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12297 exists.
12298
12299 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12300
12301 * vla-type.exp: Print structure from toplevel.
12302
12303 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12304
12305 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12306 of dynamic types.
12307 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12308 of dynamic types.
12309
12310 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12311
12312 * gdb.fortran/vla-type.f90: New file.
12313 * gdb.fortran/vla-type.exp: New file.
12314
12315 2016-04-25 Yao Qi <yao.qi@linaro.org>
12316
12317 * gdb.base/branch-to-self.c: New file.
12318 * gdb.base/branch-to-self.exp: New file.
12319
12320 2016-04-22 Yao Qi <yao.qi@linaro.org>
12321
12322 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12323 more after $hex.
12324
12325 2016-04-22 Yao Qi <yao.qi@linaro.org>
12326
12327 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12328 * gdb.base/annota3.exp: Likewise.
12329
12330 2016-04-22 Yao Qi <yao.qi@linaro.org>
12331
12332 * gdb.reverse/step-precsave.exp: Do one step and test program
12333 stops in "callee" and do multiple steps until program goes out
12334 of "callee".
12335 * gdb.reverse/step-reverse.exp: Likewise.
12336
12337 2016-04-22 Yao Qi <yao.qi@linaro.org>
12338
12339 * gdb.trace/signal.exp: Also pass if
12340 $tracepoint_hits($i) > $iterations.
12341
12342 2016-04-22 Yao Qi <yao.qi@linaro.org>
12343
12344 * gdb.trace/signal.c: New file.
12345 * gdb.trace/signal.exp: New file.
12346
12347 2016-04-19 Doug Evans <xdje42@gmail.com>
12348
12349 * gdb.base/bad-file.exp: New file.
12350
12351 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12352
12353 * gdb.dwarf2/implref.exp: New file.
12354
12355 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12356
12357 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12358 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12359 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12360 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12361 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12362 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12363 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12364 * lib/fortran.exp (fortran_int4): New procedure.
12365 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12366 (fortran_logical4): Likewise.
12367
12368 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12369
12370 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12371
12372 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12373
12374 * lib/compiler.c: Add Intel specific preprocessor macros.
12375 * lib/compiler.cc: Likewise.
12376
12377 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
12378
12379 * gdb.server/connect-with-no-symbol-file.c: New file.
12380 * gdb.server/connect-with-no-symbol-file.exp: New file.
12381
12382 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12383
12384 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12385
12386 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12387
12388 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12389 standard output directory.
12390
12391 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12392
12393 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12394
12395 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12396
12397 * gdb.btrace/instruction_history.c (loop): Add declaration.
12398
12399 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12400
12401 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12402
12403 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12404
12405 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12406 parentheses to print.
12407 (continue_handler): Likewise.
12408
12409 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12410
12411 * gdb.server/solib-list.exp: Remove is_remote check.
12412 Pass shlib= to gdb_compile. Don't link shared library with
12413 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12414 Run binary filename through "readlink -f" on the target.
12415
12416 2016-04-08 Pedro Alves <palves@redhat.com>
12417
12418 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12419 interpreter filename as argument to gdbserver_spawn.
12420 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12421 Return empty if $last_loaded_file does not exist.
12422
12423 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12424
12425 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12426 * gdb.base/jit-main.c: Use exit after usage.
12427
12428 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12429
12430 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12431 GDBHISTSIZE prior to the tests.
12432 * gdb.base/gdbinit-history.exp: Likewise.
12433
12434 2016-04-07 Pedro Alves <palves@redhat.com>
12435
12436 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12437 instead of build_executable. Use gdb_load_shlibs.
12438
12439 2016-04-07 Yao Qi <yao.qi@linaro.org>
12440
12441 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12442 Execute "si" command.
12443
12444 2016-04-07 Yao Qi <yao.qi@linaro.org>
12445
12446 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12447 number instead of the comments on some line.
12448
12449 2016-04-06 Don Breazeal <donb@codesourcery.com>
12450
12451 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12452 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12453
12454 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12455
12456 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12457 standard_output_file. Remove unused binfile variable.
12458
12459 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
12460
12461 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12462 * gdb.python/py-mi-objfile.exp: Match "list main" output
12463 in console format.
12464
12465 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12466
12467 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12468 absolute.
12469
12470 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12471
12472 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12473 absolute.
12474 * gdb.trace/ftrace.exp: Likewise.
12475 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12476 targets as well.
12477 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12478 (gdb_load_shlibs): Copy libraries to test directory when testing
12479 natively. Only set solib-search-path if testing remotely.
12480 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12481
12482 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12483
12484 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12485 gdb_download. Use it even if the target is not remote.
12486 * gdb.base/jit.exp (compile_jit_test): Likewise.
12487 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12488 output directory if the destination board is local, otherwise use
12489 the standard remote_download from DejaGnu.
12490 (gdb_download): Remove.
12491 (gdb_load_shlibs): Use gdb_remote_download instead of
12492 gdb_download.
12493 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12494 Use gdb_remote_download instead of gdb_download. Use it even if
12495 the target is not remote.
12496 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12497 instead of gdb_download.
12498
12499 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12500
12501 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12502 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12503 run.
12504
12505 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
12506
12507 PR gdb/19820
12508 * gdb.base/printcmds.exp: Add artificial arrays tests.
12509
12510 2016-03-31 Pedro Alves <palves@redhat.com>
12511
12512 PR gdb/19858
12513 * gdb.base/jit-main.c: Include unistd.h.
12514 (ATTACH): Define to 0 if not already defined.
12515 (wait_for_gdb, mypid): New globals.
12516 (WAIT_FOR_GDB): New macro.
12517 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12518 some breakpoint locations.
12519 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12520 New procedures.
12521 (one_jit_test): Add REATTACH parameter, and handle it. Use
12522 continue_to_test_location.
12523 (top level): Test attach, and adjusts calls to one_jit_test.
12524
12525 2016-03-31 Pedro Alves <palves@redhat.com>
12526
12527 PR gdb/19858
12528 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12529 BINSUFFIX parameter, and handle it.
12530 (top level): Adjust calls compile_jit_test.
12531
12532 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
12533
12534 PR python/19743
12535 * gdb.python/py-mi-events-gdb.py: New file.
12536 * gdb.python/py-mi-events.c: New file.
12537 * gdb.python/py-mi-events.exp: New file.
12538
12539 2016-03-30 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.reverse/until-precsave.exp: Match function name only.
12542 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12543 Move malloc to a condition block.
12544 * gdb.reverse/until-reverse.exp: Match function name only.
12545
12546 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12547
12548 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12549 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12550 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12551 variable for GPR 0 instead of assuming it is register 0.
12552 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12553 * lib/trace-support.exp: Add s390 registers.
12554
12555 2016-03-29 Yao Qi <yao.qi@linaro.org>
12556
12557 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12558
12559 2016-03-24 Yao Qi <yao.qi@linaro.org>
12560
12561 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12562 test message.
12563
12564 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12565
12566 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12567 maintaining separate logic for constructing the output path.
12568
12569 2016-03-16 Don Breazeal <donb@codesourcery.com>
12570
12571 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12572 Retry fork and waitpid on interrupted system call errors.
12573 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12574 Use with_timeout_factor to increase timeout by factor of 10.
12575
12576 2016-03-15 Don Breazeal <donb@codesourcery.com>
12577
12578 * gdb.cp/scope-err.cc: New test program.
12579 * gdb.cp/scope-err.exp: New test script.
12580 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12581 lines and "set breakpoint here" comment.
12582 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12583 Fixed some whitespace and format issues.
12584 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12585 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12586
12587 2016-03-15 Doug Evans <dje@google.com>
12588
12589 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12590 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12591 All callers updated. Add tests for enums, mixed flags register.
12592
12593 2016-03-15 Doug Evans <dje@google.com>
12594
12595 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12596 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12597
12598 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12599
12600 * gdb.base/default.exp: Add $_as_string to the list of expected
12601 convenience functions.
12602
12603 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12604
12605 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12606
12607 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12608
12609 * gdb.python/py-as-string.exp: New file.
12610 * gdb.python/py-as-string.c: New file.
12611
12612 2016-03-09 Pedro Alves <palves@redhat.com>
12613
12614 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12615 signal" -> "Thread NN received signal" output change.
12616 * gdb.threads/ia64-sigill.exp: Likewise.
12617 * gdb.threads/linux-dp.exp: Likewise.
12618 * gdb.threads/manythreads.exp: Likewise.
12619 * gdb.threads/pending-step.exp: Likewise.
12620 * gdb.threads/print-threads.exp: Likewise.
12621 * gdb.threads/sigstep-threads.exp: Likewise.
12622 * gdb.threads/staticthreads.exp: Likewise.
12623 * gdb.threads/tls.exp: Likewise.
12624
12625 2016-03-09 Pedro Alves <palves@redhat.com>
12626
12627 * gdb.base/command-line-input.exp: New file.
12628
12629 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12630
12631 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12632 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12633 * gdb.trace/pending.exp: Accept leading dot before function name.
12634 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12635 * lib/trace-support.exp: Set registers for ppc.
12636
12637 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12638
12639 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12640 use it for disassembly; accept .main in addition to main in backtrace.
12641
12642 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
12643 Marcin Kościelnicki <koriakin@0x04.net>
12644
12645 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12646 (gdb_recursion_test_ptr): New global variable.
12647 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12648 gdb_recursion_test.
12649 (gdb_c_test): Ditto.
12650
12651 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12652
12653 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12654 ordering.
12655
12656 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12657
12658 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12659 (bar): Add bar_start_lbl label.
12660 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12661 of foo/bar for emitting DWARF and tracing.
12662
12663 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12664
12665 * analyze-racy-logs.py: Set executable bit.
12666
12667 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12668
12669 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12670 (CHECK_TARGET_TMP): Likewise.
12671 (check-single-racy): New rule.
12672 (check-parallel-racy): Likewise.
12673 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12674 (do-check-parallel-racy): New rule.
12675 (check-racy/%.exp): Likewise.
12676 * README (Racy testcases): New section.
12677 * analyze-racy-logs.py: New file.
12678
12679 2016-03-03 Doug Evans <dje@google.com>
12680
12681 * gdb.base/skip.exp: Use with_test_prefix.
12682
12683 2016-03-03 Yao Qi <yao.qi@linaro.org>
12684
12685 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12686 Invoke step_over_syscall "clone" and break_cond_on_syscall
12687 "clone".
12688 * gdb.base/step-over-clone.c: New file.
12689
12690 2016-03-03 Yao Qi <yao.qi@linaro.org>
12691
12692 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12693 code format.
12694
12695 2016-03-03 Yao Qi <yao.qi@linaro.org>
12696
12697 * gdb.base/disp-step-fork.c: Rename to ...
12698 * gdb.base/step-over-fork.c: ... it. New file.
12699 * gdb.base/disp-step-vfork.c: Rename to ...
12700 * gdb.base/step-over-vfork.c: ... it. New file.
12701 * gdb.base/disp-step-syscall.exp: Rename to ...
12702 * gdb.base/step-over-syscall.exp: ... it. New file.
12703 (disp_step_cross_syscall): Rename to ...
12704 (step_over_syscall): ... it.
12705
12706 2016-03-03 Yao Qi <yao.qi@linaro.org>
12707
12708 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12709 If target supports condition evaluation on target, invoke
12710 break_cond_on_syscall for fork and vfork.
12711
12712 2016-03-03 Yao Qi <yao.qi@linaro.org>
12713
12714 * gdb.base/disp-step-syscall.exp: Don't invoke
12715 support_displaced_stepping.
12716 (disp_step_cross_syscall): Test with displaced stepping off and
12717 on if supported.
12718
12719 2016-03-03 Yao Qi <yao.qi@linaro.org>
12720
12721 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12722 proc.
12723 (setup): New proc.
12724 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12725 and setup.
12726
12727 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12728
12729 * gdb.fortran/vla-history.exp: Remove breakpoint.
12730
12731 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12732
12733 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12734 exceeds timeout.
12735
12736 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12737
12738 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12739 breakpoint.
12740
12741 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12742
12743 * gdb.mi/vla.f90: Nullify pointer after declaration.
12744
12745 2016-03-01 Pedro Alves <palves@redhat.com>
12746
12747 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12748
12749 2016-03-01 Pedro Alves <palves@redhat.com>
12750
12751 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12752 before anything else.
12753 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12754 _GNU_SOURCE here.
12755 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12756 before anything else.
12757 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12758
12759 2016-03-01 Pedro Alves <palves@redhat.com>
12760
12761 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12762
12763 2016-03-01 Yao Qi <yao.qi@linaro.org>
12764
12765 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12766 prepare_for_testing.
12767
12768 2016-03-01 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12771
12772 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12773
12774 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12775 manually constructing the output path.
12776
12777 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.arch/s390-stackless.S: New.
12780 * gdb.arch/s390-stackless.exp: New.
12781
12782 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12783
12784 * gdb.dlang/circular.c: New file.
12785 * gdb.dlang/circular.exp: New file.
12786
12787 2016-02-26 Yao Qi <yao.qi@linaro.org>
12788
12789 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12790 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12791 (testcases): Update.
12792
12793 2016-02-26 Yao Qi <yao.qi@linaro.org>
12794
12795 * gdb.reverse/aarch64.c: Rename to ...
12796 * gdb.reverse/insn-reverse.c: ... it.
12797 * gdb.reverse/aarch64.exp: Rename to ...
12798 * gdb.reverse/insn-reverse.exp: ... it.
12799
12800 2016-02-26 Yao Qi <yao.qi@linaro.org>
12801
12802 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12803 (testcase_ftype): New.
12804 (testcases): New array.
12805 (n_testcases): New.
12806 (main): Call each element in testcases.
12807 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12808 (read_testcase): New.
12809 Do the tests in a loop.
12810
12811 2016-02-25 Yao Qi <yao.qi@linaro.org>
12812
12813 * gdb.base/branches.c: Remove.
12814
12815 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12816
12817 PR gdb/13808
12818 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12819
12820 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12821
12822 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12823
12824 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12825
12826 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12827 change x86_64 call_insn to 'callq'.
12828
12829 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12830
12831 * gdb.trace/tfile-avx.c: Move to...
12832 * gdb.trace/tracefile-pseudo-reg.c: Here.
12833 * gdb.trace/tfile-avx.exp: Move to...
12834 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12835
12836 2016-02-24 Gary Benson <gbenson@redhat.com>
12837
12838 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12839 message on attach.
12840
12841 2016-02-23 Doug Evans <dje@google.com>
12842
12843 * gdb.base/skip.c (test_skip): New function.
12844 (end_test_skip_file_and_function): New function.
12845 (test_skip_file_and_function): New function.
12846 * gdb.base/skip1.c (test_skip): New function.
12847 (skip1_test_skip_file_and_function): New function.
12848 * gdb.base/skip.exp: Add tests for new skip options.
12849 * gdb.base/skip-solib.exp: Update expected output.
12850 * gdb.perf/skip-command.cc: New file.
12851 * gdb.perf/skip-command.exp: New file.
12852 * gdb.perf/skip-command.py: New file.
12853
12854 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12855
12856 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12857 info registers pattern.
12858
12859 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12860
12861 * lib/future.exp: Add D support.
12862 (gdb_find_gdc): New proc.
12863 (gdb_default_target_compile): Add D support.
12864
12865 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12866
12867 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12868 user+system time.
12869 (trace_speed_test): Determine the iteration count for a time
12870 between 15..30 seconds.
12871
12872 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12873
12874 * gdb.arch/i386-mpx-sigsegv.c: New file.
12875 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12876 * gdb.arch/i386-mpx-simple_segv.c: New file.
12877 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12878
12879 2016-02-18 Yao Qi <yao.qi@linaro.org>
12880
12881 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12882 Don't call setup_kfail.
12883
12884 2016-02-18 Yao Qi <yao.qi@linaro.org>
12885
12886 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12887 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12888
12889 2016-02-16 Doug Evans <dje@google.com>
12890
12891 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12892 * gdb.base/skip1.c: Ditto.
12893 * gdb.base/skip.exp: Whitespace cleanup.
12894
12895 2016-02-16 Don Breazeal <donb@codesourcery.com>
12896
12897 PR remote/19496
12898 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12899 Remove kfail for PR remote/19496.
12900
12901 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12902
12903 * lib/gdb.exp (standard_temp_file): Return a path specific to
12904 the runtest invocation.
12905
12906 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * gdb.trace/save-trace.exp: Change relative path to be in the
12909 standard output directory.
12910
12911 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12912
12913 * gdb.arch/i386-prologue.c: Add missing prototypes.
12914
12915 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12916
12917 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12918 * gdb.arch/i386-prologue.exp: Likewise.
12919 * gdb.arch/i386-size.exp: Likewise.
12920
12921 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12922
12923 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12924 define object file path.
12925 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12926 file path.
12927 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12928 standard_output_file to define binfile.
12929
12930 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12931
12932 Fix compatibility with recent gfortran-5.3.1.
12933 * gdb.fortran/vla-history.exp (print vla1 allocated)
12934 (print vla2 allocated, print $2, print $3): Remove
12935 (print $4): Rename to ...
12936 (print $2): ... here.
12937 (print $9): Rename to ...
12938 (print $5): ... here.
12939 (print $10): Rename to ...
12940 (print $6): ... here.
12941 * gdb.fortran/vla.f90: Add pvla initialization.
12942
12943 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12944
12945 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12946 New test.
12947 * gdb.fortran/vla-value-sub.exp: Likewise.
12948
12949 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12950
12951 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12952
12953 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12954
12955 * i386-biarch-core.exp: Define corefile using
12956 standard_output_file.
12957
12958 2016-02-12 Yao Qi <yao.qi@linaro.org>
12959
12960 * gdb.arch/arm-single-step-kernel-helper.c: New.
12961 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12962
12963 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12964
12965 * gdb.btrace/tailcall-only.exp: New.
12966 * gdb.btrace/tailcall-only.c: New.
12967 * gdb.btrace/x86_64-tailcall-only.S: New.
12968 * gdb.btrace/i686-tailcall-only.S: New.
12969
12970 2016-02-11 Pedro Alves <palves@redhat.com>
12971
12972 * README (Parallel testing): Add missing double quotes.
12973
12974 2016-02-11 Pedro Alves <palves@redhat.com>
12975
12976 * README (Parallel testing): New section.
12977 (GDB_PARALLEL): Rewrite.
12978 (FORCE_PARALLEL): Document.
12979
12980 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12981
12982 * gdb.trace/tfile-avx.c: New test.
12983 * gdb.trace/tfile-avx.exp: New test.
12984
12985 2016-02-09 Keith Seitz <keiths@redhat.com>
12986
12987 PR breakpoints/19546
12988 * gdb.base/infcall-exec.c: New file.
12989 * gdb.base/infcall-exec2.c: New file.
12990 * gdb.base/infcall-exec.exp: New file.
12991
12992 2016-02-09 Keith Seitz <keiths@redhat.com>
12993
12994 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12995 (toplevel): Call test_bkpt_address.
12996
12997 2016-02-09 Keith Seitz <keiths@redhat.com>
12998
12999 PR python/19506
13000 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13001 (toplevel): Call test_bkpt_address.
13002
13003 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13004
13005 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13006 to AC_OUTPUT.
13007 * configure: Regenerate.
13008
13009 2016-02-09 Pedro Alves <palves@redhat.com>
13010
13011 PR breakpoints/19548
13012 * gdb.base/execl-update-breakpoints.c (some_function): New
13013 function.
13014 (main): Call it.
13015 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13016 Tighten expected GDB output.
13017
13018 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13019
13020 * Makefile.in (ALL_SUBDIRS): Remove.
13021 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13022 (distclean maintainer-clean realclean): Likewise.
13023 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13024 * configure: Regenerate.
13025 * gdb.ada/Makefile.in: Delete.
13026 * gdb.arch/Makefile.in: Likewise.
13027 * gdb.asm/Makefile.in: Likewise.
13028 * gdb.base/Makefile.in: Likewise.
13029 * gdb.btrace/Makefile.in: Likewise.
13030 * gdb.cell/Makefile.in: Likewise.
13031 * gdb.compile/Makefile.in: Likewise.
13032 * gdb.cp/Makefile.in: Likewise.
13033 * gdb.disasm/Makefile.in: Likewise.
13034 * gdb.dlang/Makefile.in: Likewise.
13035 * gdb.dwarf2/Makefile.in: Likewise.
13036 * gdb.fortran/Makefile.in: Likewise.
13037 * gdb.gdb/Makefile.in: Likewise.
13038 * gdb.go/Makefile.in: Likewise.
13039 * gdb.guile/Makefile.in: Likewise.
13040 * gdb.java/Makefile.in: Likewise.
13041 * gdb.linespec/Makefile.in: Likewise.
13042 * gdb.mi/Makefile.in: Likewise.
13043 * gdb.modula2/Makefile.in: Likewise.
13044 * gdb.multi/Makefile.in: Likewise.
13045 * gdb.objc/Makefile.in: Likewise.
13046 * gdb.opencl/Makefile.in: Likewise.
13047 * gdb.opt/Makefile.in: Likewise.
13048 * gdb.pascal/Makefile.in: Likewise.
13049 * gdb.perf/Makefile.in: Likewise.
13050 * gdb.python/Makefile.in: Likewise.
13051 * gdb.reverse/Makefile.in: Likewise.
13052 * gdb.server/Makefile.in: Likewise.
13053 * gdb.stabs/Makefile.in: Likewise.
13054 * gdb.threads/Makefile.in: Likewise.
13055 * gdb.trace/Makefile.in: Likewise.
13056 * gdb.xml/Makefile.in: Likewise.
13057 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13058 GDB_PARALLEL.
13059 (standard_output_file): Remove check for GDB_PARALLEL, always
13060 return path in outputs/$subdir/$testname.
13061
13062 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13063
13064 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13065 (site.exp): Assign abs_srcdir to tcl's srcdir.
13066
13067 2016-02-04 Yao Qi <yao.qi@linaro.org>
13068
13069 * gdb.base/foll-exec-mode.c: Include limits.h.
13070 (main): Add parameters argc and argv. Get directory from
13071 argv[0].
13072 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13073 compilation.
13074 * gdb.base/foll-exec.c: Include limits.h.
13075 (main): Add parameters argc and argv.
13076 Get directory from argv[0].
13077 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13078 Adjust tests on the number of lines as source code changed.
13079 * gdb.base/foll-vfork-exit.c: Include limits.h.
13080 (main): Add one line of statement before vfork.
13081 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13082 (main): Add parameters argc and argv. Get directory from
13083 argv[0].
13084 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13085 (setup_gdb): Set tbreak to skip some source lines.
13086 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13087 (main): Add parameters argc and argv. Get directory from
13088 argv[0].
13089 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13090 compilation.
13091 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13092 (main): Add parameters argc and argv. Get directory from
13093 argv[0].
13094 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13095 compilation.
13096
13097 2016-02-01 Doug Evans <dje@google.com>
13098
13099 * gdb.base/skip.exp: Clean up multiple references to same test name.
13100
13101 2016-02-01 Pedro Alves <palves@redhat.com>
13102
13103 PR remote/19496
13104 * gdb.threads/forking-threads-plus-breakpoint.exp
13105 (displaced_stepping_supported): New global.
13106 (probe_displaced_stepping_support): New procedure.
13107 (do_test): Add 'displaced' parameter, and use it.
13108 (top level): Check for displaced stepping support. Add displaced
13109 stepping on/off testing axis.
13110
13111 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13112
13113 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13114 pointer. Don't perform further tests on the unassociated pointer
13115 if the first test fails.
13116
13117 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13118
13119 * gdb.base/max-value-size.c: New file.
13120 * gdb.base/max-value-size.exp: New file.
13121 * gdb.base/huge.exp: Disable max-value-size for this test.
13122
13123 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13124
13125 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13126
13127 2016-01-28 Yao Qi <yao.qi@linaro.org>
13128
13129 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13130
13131 2016-01-25 Pedro Alves <palves@redhat.com>
13132
13133 PR threads/19461
13134 * gdb.base/fork-running-state.c: New file.
13135 * gdb.base/fork-running-state.exp: New file.
13136
13137 2016-01-25 Pedro Alves <palves@redhat.com>
13138
13139 PR gdb/19494
13140 * gdb.base/catch-fork-kill.c: New file.
13141 * gdb.base/catch-fork-kill.exp: New file.
13142
13143 2016-01-25 Pedro Alves <palves@redhat.com>
13144
13145 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13146 Delete, moved to lib/gdb.exp.
13147 * gdb.threads/forking-threads-plus-breakpoint.exp
13148 (foreach_with_prefix): Likewise.
13149 * gdb.threads/process-dies-while-handling-bp.exp
13150 (foreach_with_prefix): Likewise.
13151 * lib/gdb.exp (foreach_with_prefix): New procedure.
13152
13153 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13154
13155 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13156 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13157
13158 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13159
13160 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13161 endian targets.
13162
13163 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13164 Pedro Alves <palves@redhat.com>
13165
13166 Fix testsuite compatibility with Guile.
13167 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13168 number.
13169
13170 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13171
13172 Fix testsuite compatibility with Guile.
13173 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13174 (thread 1): New test for backtrace through signal handler.
13175
13176 2016-01-22 Yao Qi <yao.qi@linaro.org>
13177
13178 PR testsuite/19491
13179 * gdb.base/multi-forks.c: Include
13180 ../lib/unbuffer_output.c
13181 (main): Call gdb_unbuffer_output.
13182
13183 2016-01-21 Doug Evans <dje@google.com>
13184
13185 * lib/ada.exp (gdb_compile_ada): Fix typo.
13186
13187 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13188
13189 * gdb.base/break-fun-addr.exp: New file.
13190 * gdb.base/break-fun-addr1.c: New file.
13191 * gdb.base/break-fun-addr2.c: New file.
13192
13193 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13194
13195 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13196 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13197 enum flag values.
13198
13199 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13200
13201 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13202 when GDB can not set the vector return value. Add more comments
13203 for clarification.
13204
13205 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13206
13207 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13208 command.
13209
13210 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13211
13212 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13213
13214 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13215
13216 * Makefile.in (check-single): Pass --status to runtest.
13217 (check/%.exp): Likewise.
13218
13219 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13220
13221 * Makefile.in (check-parallel): Propagate return code from make
13222 do-check-parallel.
13223
13224 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13225
13226 * gdb.trace/ftrace.exp: Fix expected message on continue.
13227 * gdb.trace/pending.exp: Fix expected message on continue.
13228 * gdb.trace/trace-break.exp: Fix expected message on continue.
13229
13230 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13231
13232 * lib/gdb.exp (gdb_test): Remove unused global references.
13233
13234 2016-01-18 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/async-shell.exp: Adjust expected output.
13237 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13238 * gdb.base/siginfo-thread.exp: Adjust expected output.
13239 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13240 * gdb.java/jnpe.exp: Adjust expected output.
13241 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13242 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13243 * gdb.threads/leader-exit.exp: Adjust expected output.
13244 * gdb.threads/manythreads.exp: Adjust expected output.
13245 * gdb.threads/pthreads.exp: Adjust expected output.
13246 * gdb.threads/schedlock.exp: Adjust expected output.
13247 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13248 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13249 expected output.
13250 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13251 output.
13252 * gdb.threads/sigthread.exp: Adjust expected output.
13253 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13254
13255 2016-01-18 Yao Qi <yao.qi@linaro.org>
13256
13257 * gdb.guile/scm-section-script.c: Replace @progbits with
13258 %progbits.
13259 * gdb.python/py-section-script.c: Likewise.
13260
13261 2016-01-15 Pedro Alves <palves@redhat.com>
13262
13263 * gdb.multi/tids.exp: Test star wildcard ranges.
13264
13265 2016-01-15 Pedro Alves <palves@redhat.com>
13266
13267 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13268 command from "thread apply" invocation.
13269 (thr_apply_info_thr_invalid): Default the expected output to the
13270 input tid list.
13271 (top level): Add tests that use convenience variables. Add tests
13272 for "thread apply" with a valid TID list, but missing the command.
13273
13274 2016-01-13 Pedro Alves <palves@redhat.com>
13275
13276 * gdb.base/default.exp: Expect $_gthread as well.
13277 * gdb.multi/tids.exp: Test $_gthread.
13278 * gdb.threads/thread-specific.exp: Test $_gthread.
13279
13280 2016-01-13 Pedro Alves <palves@redhat.com>
13281
13282 * gdb.multi/tids.exp: Test "info threads -gid".
13283
13284 2016-01-13 Pedro Alves <palves@redhat.com>
13285
13286 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13287 Breakpoint.thread.
13288 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13289
13290 2016-01-07 Pedro Alves <palves@redhat.com>
13291
13292 * gdb.base/break.exp: Adjust to output changes.
13293 * gdb.base/hbreak2.exp: Likewise.
13294 * gdb.base/sepdebug.exp: Likewise.
13295 * gdb.base/watch_thread_num.exp: Likewise.
13296 * gdb.linespec/keywords.exp: Likewise.
13297 * gdb.multi/info-threads.exp: Likewise.
13298 * gdb.threads/thread-find.exp: Likewise.
13299 * gdb.multi/tids.c: New file.
13300 * gdb.multi/tids.exp: New file.
13301
13302 2016-01-13 Pedro Alves <palves@redhat.com>
13303
13304 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13305
13306 2016-01-13 Pedro Alves <palves@redhat.com>
13307
13308 * gdb.base/default.exp: Expect $_inferior as well.
13309 * gdb.multi/base.exp: Test $_inferior.
13310
13311 2016-01-13 Pedro Alves <palves@redhat.com>
13312
13313 PR breakpoints/19388
13314 * gdb.base/catch-signal-siginfo-cond.c: New file.
13315 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13316
13317 2016-01-12 Josh Stone <jistone@redhat.com>
13318 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13319
13320 * gdb.base/catch-syscall.c (do_execve): New variable.
13321 (main): Conditionally trigger an execve.
13322 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13323 (test_catch_syscall_execve): New, check entry/return across execve.
13324 (do_syscall_tests): Call test_catch_syscall_execve.
13325
13326 2016-01-12 Pedro Alves <palves@redhat.com>
13327
13328 * gdb.base/random-signal.exp (do_test): New procedure, with body
13329 of testcase moved in.
13330
13331 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13332 Pedro Alves <palves@redhat.com>
13333
13334 * gdb.base/funcargs.exp (finish from indirectly called function):
13335 Reintroduce the case for 'First'.
13336
13337 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13338 Pedro Alves <palves@redhat.com>
13339
13340 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13341 (tcatch_vfork_then_child_follow_exec)
13342 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13343 identification.
13344
13345 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13346
13347 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13348 and repeats to unlimited.
13349 * gdb.python/py-value.exp: Likewise.
13350 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13351 and repeats to unlimited.
13352
13353 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13354
13355 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13356 and reordering the functions.
13357 * gdb.multi/hangout.c: Likewise.
13358 * gdb.multi/hello.c: Likewise.
13359
13360 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13361
13362 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13363 absolute.
13364 (SingleStatisticTestResult.report): Use dict.keys instead of
13365 dict.iterkeys.
13366
13367 2016-01-06 Pedro Alves <palves@redhat.com>
13368
13369 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13370
13371 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13372
13373 * gdb.btrace/dlopen.exp: New.
13374 * gdb.btrace/dlopen.c: New.
13375 * gdb.btrace/dlopen-dso.c: New.
13376
13377 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13378
13379 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13380 PATTERN argument is optional.
13381
13382 2015-12-24 Joel Brobecker <brobecker@adacore.com>
13383
13384 * lib/ada.exp (target_compile_ada_from_dir): New function.
13385 (gdb_compile_ada): Reimplement avoiding the use of project files.
13386 * gdb.ada/gnat_ada.gpr: Delete.
13387 * gdb.ada/cond_lang.exp: Adjust test to make path before
13388 filename optional.
13389 * gdb.ada/small_reg_param.exp: Likewise.
13390
13391 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13392
13393 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13394
13395 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13396
13397 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13398 case.
13399
13400 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13401
13402 * gdb.base/break.exp: Remove dead code.
13403 * gdb.base/sepdebug.exp: Likewise.
13404
13405 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13406
13407 * gdb.asm/asm-source.exp: Remove HP-UX references.
13408 * gdb.base/annota1.exp: Likewise.
13409 * gdb.base/annota3.exp: Likewise.
13410 * gdb.base/attach.exp: Likewise.
13411 * gdb.base/bigcore.exp: Likewise.
13412 * gdb.base/break.exp: Likewise.
13413 * gdb.base/call-ar-st.exp: Likewise.
13414 * gdb.base/callfuncs.exp: Likewise.
13415 * gdb.base/catch-fork-static.exp: Likewise.
13416 * gdb.base/display.exp: Likewise.
13417 * gdb.base/foll-exec-mode.exp: Likewise.
13418 * gdb.base/foll-exec.exp: Likewise.
13419 * gdb.base/foll-fork.exp: Likewise.
13420 * gdb.base/foll-vfork.exp: Likewise.
13421 * gdb.base/funcargs.exp: Likewise.
13422 * gdb.base/hbreak2.exp: Likewise.
13423 * gdb.base/inferior-died.exp: Likewise.
13424 * gdb.base/interrupt.exp: Likewise.
13425 * gdb.base/multi-forks.exp: Likewise.
13426 * gdb.base/nodebug.exp: Likewise.
13427 * gdb.base/sepdebug.exp: Likewise.
13428 * gdb.base/solib1.c: Likewise.
13429 * gdb.base/step-test.exp: Likewise.
13430 * gdb.mi/non-stop.c: Likewise.
13431 * gdb.mi/pthreads.c: Likewise.
13432 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13433 * gdb.threads/pthreads.c: Likewise.
13434 * gdb.threads/staticthreads.exp: Likewise.
13435 * lib/future.exp: Likewise.
13436 * lib/gdb.exp: Likewise.
13437 * gdb.base/so-indr-cl.c: Remove.
13438 * gdb.base/so-indr-cl.exp: Likewise.
13439 * gdb.base/solib.c: Likewise.
13440 * gdb.base/solib.exp: Likewise.
13441 * gdb.base/solib2.c: Likewise.
13442
13443 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13444
13445 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13446 * gdb.base/call-ar-st.exp: Likewise.
13447 * gdb.base/callfuncs.exp: Likewise.
13448 * gdb.base/condbreak.exp: Likewise.
13449 * gdb.base/constvars.exp: Likewise.
13450 * gdb.base/hbreak2.exp: Likewise.
13451 * gdb.base/langs.exp: Likewise.
13452 * gdb.base/list.exp: Likewise.
13453 * gdb.base/long_long.exp: Likewise.
13454 * gdb.base/ptype.exp: Likewise.
13455 * gdb.base/scope.exp: Likewise.
13456 * gdb.base/signals.exp: Likewise.
13457 * gdb.base/so-impl-ld.exp: Likewise.
13458 * gdb.base/varargs.exp: Likewise.
13459 * gdb.base/volatile.exp: Likewise.
13460 * gdb.base/whatis.exp: Likewise.
13461 * gdb.cp/cplusfuncs.exp: Likewise.
13462 * gdb.cp/inherit.exp: Likewise.
13463 * gdb.cp/local.exp: Likewise.
13464 * gdb.cp/member-ptr.exp: Likewise.
13465 * gdb.cp/method.exp: Likewise.
13466 * gdb.cp/overload.exp: Likewise.
13467 * gdb.cp/templates.exp: Likewise.
13468 * gdb.stabs/weird.exp: Likewise.
13469 * lib/compiler.c: Likewise.
13470 * lib/compiler.cc: Likewise.
13471 * lib/cp-support.exp: Likewise.
13472 * lib/gdb.exp: Likewise.
13473
13474 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13475
13476 * configure.ac: Remove HP-UX case.
13477 * configure: Regenerate.
13478
13479 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13480
13481 * lib/gdb.exp (gdb_compile): Add function doc.
13482
13483 2015-12-17 Pedro Alves <palves@redhat.com>
13484
13485 PR threads/19354
13486 * gdb.multi/info-threads.exp: New file.
13487
13488 2015-12-15 Yao Qi <yao.qi@linaro.org>
13489
13490 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13491 is aarch64*-*-*.
13492
13493 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13494
13495 * gdb.base/history-duplicates.exp: Skip if no readline support.
13496
13497 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13498
13499 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13500
13501 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13502
13503 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13504
13505 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13506
13507 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13508 ctrl-C if nointerrupts target property is set.
13509 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13510 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13511 * gdb.base/paginate-bg-execution.exp: Likewise.
13512 * gdb.base/paginate-execution-startup.exp: Likewise.
13513 * gdb.base/random-signal.exp: Likewise.
13514 * gdb.base/range-stepping.exp: Likewise.
13515 * gdb.cp/annota2.exp: Likewise.
13516 * gdb.cp/annota3.exp: Likewise.
13517 * gdb.gdb/selftest.exp: Likewise.
13518 * gdb.threads/continue-pending-status.exp: Likewise.
13519 * gdb.threads/leader-exit.exp: Likewise.
13520 * gdb.threads/manythreads.exp: Likewise.
13521 * gdb.threads/pthreads.exp: Likewise.
13522 * gdb.threads/schedlock.exp: Likewise.
13523 * gdb.threads/sigthread.exp: Likewise.
13524
13525 2015-12-11 Don Breazeal <donb@codesourcery.com>
13526
13527 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13528 remote.
13529 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13530 * gdb.base/foll-exec.exp (main): Enable for target remote.
13531 * gdb.base/foll-fork.exp (main): Likewise.
13532 * gdb.base/foll-vfork.exp (main): Likewise.
13533 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13534 (proc continue_to_exit_bp_loc): Use clean_restart.
13535 * gdb.base/pie-execl.exp (main): Disable for target remote.
13536 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13537 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13538 * gdb.threads/execl.exp (main): Likewise.
13539 * gdb.threads/fork-child-threads.exp (main): Likewise.
13540 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13541 remote.
13542 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13543 remote.
13544 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13545 pid.tid style ptids, instead of just tid.
13546 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13547 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13548 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13549 ptids, instead of just tid.
13550
13551 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13552
13553 * gdb.base/list.exp (test_list_forward): Add end of file error
13554 test.
13555 (test_repeat_list_command): Add end of file error test.
13556 (test_list_backwards): Add beginning of file error test.
13557
13558 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13559
13560 * gdb.base/list.exp (test_list_invalid_args): New function,
13561 defined, and called.
13562
13563 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13564
13565 * gdb.base/list.exp (test_list): Make test names unique.
13566
13567 2015-12-11 Yao Qi <yao.qi@linaro.org>
13568
13569 * gdb.base/coremaker2.c: Remove.
13570
13571 2015-12-10 Pedro Alves <palves@redhat.com>
13572
13573 * gdb.multi/base.exp: Remove stale "spaces" references.
13574
13575 2015-12-10 Pedro Alves <palves@redhat.com>
13576
13577 * gdb.multi/base.exp: Don't use nowarnings.
13578 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13579 * gdb.multi/hangout.c: Include stdio.h.
13580 * gdb.multi/hello.c: Include stdlib.h.
13581 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13582 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13583 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13584
13585 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13586
13587 * gdb.dwarf2/dw2-ranges-base.c: New file.
13588 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13589 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13590 support additional line table, and debug ranges generation.
13591 (Dwarf::ranges): New function, generate .debug_ranges.
13592 (Dwarf::lines): Support generating simple line table programs.
13593 (Dwarf::assemble): Initialise new namespace variables.
13594
13595 2015-12-09 Kevin Buettner <kevinb@redhat.com>
13596
13597 * gdb.base/async.exp (proc test_background): Add case for
13598 asynchronous execution not supported.
13599
13600 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
13601
13602 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13603 format and change test names to make them unique.
13604
13605 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13606 Pedro Alves <pedro@redhat.com>
13607
13608 PR gdb/18702
13609 Add checking of floatformats setup on x86_64 hosts.
13610 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13611 (smallval, bigval): New labels/constants.
13612 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13613 float" after loading bigval and smallval.
13614
13615 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13616
13617 * gdb.ada/fun_overload_menu.exp: New testcase.
13618 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13619
13620 2015-12-04 Josh Stone <jistone@redhat.com>
13621
13622 * gdb.base/catch-fork-static.exp: New.
13623
13624 2015-12-03 Yao Qi <yao.qi@linaro.org>
13625
13626 * gdb.base/sizeof.c: Don't include stdio.h and
13627 ../lib/unbuffer_output.c.
13628 (main): New variable 'size' and 'value'. Remove printf and
13629 gdb_unbuffer_output. Assign return value to size and value.
13630 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13631 at the beginning.
13632 (check_sizeof): Check the result by printing variable 'size'.
13633 (check_valueof): Check the result by printing variable 'value'.
13634
13635 2015-12-01 Yao Qi <yao.qi@linaro.org>
13636
13637 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13638 for aarch64*-*-linux* target.
13639
13640 2015-11-30 Pedro Alves <palves@redhat.com>
13641
13642 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13643
13644 2015-11-30 Pedro Alves <palves@redhat.com>
13645
13646 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13647 Handle non-stop mode vCont replies.
13648
13649 2015-11-30 Pedro Alves <palves@redhat.com>
13650
13651 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13652 prepare_for_testing. Start gdb with "set non-stop on" appended to
13653 GDBFLAGS. Lax expected stop output.
13654
13655 2015-11-27 Yao Qi <yao.qi@linaro.org>
13656
13657 * gdb.arch/arm-neon.exp: New.
13658 * gdb.arch/arm-neon.c: New.
13659
13660 2015-11-27 Yao Qi <yao.qi@linaro.org>
13661
13662 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13663
13664 2015-11-27 Yao Qi <yao.qi@linaro.org>
13665
13666 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13667 frames-invalid annotation.
13668
13669 2015-11-27 Yao Qi <yao.qi@linaro.org>
13670
13671 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13672
13673 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13674
13675 * gdb.threads/names.exp: New file.
13676 * gdb.threads/names.c: New file.
13677 * README: Mention gdb,no_thread_names.
13678
13679 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13680
13681 PR 19297
13682 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13683 support" error.
13684
13685 2015-11-24 Pedro Alves <palves@redhat.com>
13686
13687 PR 17539
13688 * gdb.base/display.exp: Expect displays to be sorted in ascending
13689 order. Use multi_line.
13690 * gdb.base/solib-display.exp: Likewise.
13691
13692 2015-11-24 Pedro Alves <palves@redhat.com>
13693
13694 PR 17539
13695 * gdb.base/display.exp: Expect displays to be sorted in ascending
13696 order. Use multi_line.
13697 * gdb.base/solib-display.exp: Likewise.
13698
13699 2015-11-24 Pedro Alves <palves@redhat.com>
13700
13701 PR 17539
13702 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13703 threads in ascending order.
13704 * gdb.base/foll-fork.exp: Likewise.
13705 * gdb.base/foll-vfork.exp: Likewise.
13706 * gdb.base/multi-forks.exp: Likewise.
13707 * gdb.mi/mi-nonstop.exp: Likewise.
13708 * gdb.mi/mi-nsintrall.exp: Likewise.
13709 * gdb.multi/base.exp: Likewise.
13710 * gdb.multi/multi-arch.exp: Likewise.
13711 * gdb.python/py-inferior.exp: Likewise.
13712 * gdb.threads/break-while-running.exp: Likewise.
13713 * gdb.threads/execl.exp: Likewise.
13714 * gdb.threads/gcore-thread.exp: Likewise.
13715 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13716 * gdb.threads/kill.exp: Likewise.
13717 * gdb.threads/linux-dp.exp: Likewise.
13718 * gdb.threads/multiple-step-overs.exp: Likewise.
13719 * gdb.threads/next-bp-other-thread.exp: Likewise.
13720 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13721 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13722 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13723 * gdb.threads/thread-find.exp: Likewise.
13724 * gdb.threads/tls.exp: Likewise.
13725 * lib/mi-support.exp (mi_reverse_list): Delete.
13726 (mi_check_thread_states): No longer reverse list.
13727
13728 2015-11-24 Pedro Alves <palves@redhat.com>
13729
13730 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13731 use lowercase.
13732
13733 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13734
13735 * gdb.trace/actions.c: Include trace-common.h.
13736 (main): Add a location for a fast tracepoint.
13737 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13738 the normal tracepoints.
13739 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13740
13741 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13742
13743 * save-trace.exp: Factor out code to these...
13744 (gdb_save_tracepoints): New.
13745 (gdb_load_tracepoints): New.
13746 (do_save_load_test): New.
13747
13748 2015-11-23 Kevin Buettner <kevinb@redhat.com>
13749
13750 * gdb.base/asmlabel.exp: New test.
13751 * gdb.base/asmlabel.c: New test case.
13752
13753 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13754
13755 * gdb.base/wrong_frame_bt_full-main.c: New file.
13756 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13757 * gdb.base/wrong_frame_bt_full.exp: New file.
13758
13759 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13760
13761 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13762
13763 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13764
13765 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
13766 pstate register when comparing registers values in
13767 sparc64-*-linux-gnu targets to avoid spurious differences.
13768
13769 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13770
13771 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
13772
13773 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13774
13775 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13776 as type argument to gdb_compile.
13777 * gdb.base/nested-subp2.exp: Likewise.
13778 * gdb.base/nested-subp3.exp: Likewise.
13779
13780 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13781
13782 * lib/dwarf.exp (_note): Fix left shift of negative value.
13783 * gdb.trace/trace-condition.exp: Likewise.
13784
13785 2015-11-13 Yao Qi <yao.qi@linaro.org>
13786
13787 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13788 comments about d10v.
13789 (test_scalar_returns): Likewise.
13790 * gdb.base/d10v.ld: Remove.
13791 * gdb.base/overlays.exp: Remove the target triplet checking for
13792 d10v-*-*.
13793 * gdb.base/structs.exp (test_struct_returns): Remove the
13794 comments about d10v.
13795 (test_struct_calls): Likewise.
13796
13797 2015-11-13 Yao Qi <yao.qi@linaro.org>
13798
13799 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13800 * gdb.base/gnu_vector.c: Don't include stdio.h.
13801 (main): Don't print res and call add_some_intvecs.
13802
13803 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13804
13805 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13806 macro.
13807 (func5): Removed.
13808 (func4): Use FAST_TRACEPOINT_LABEL.
13809 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13810 macro.
13811 (func): Removed.
13812 (thread_function): Use FAST_TRACEPOINT_LABEL.
13813 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13814 (func): Remove.
13815 (marker): Use FAST_TRACEPOINT_LABEL.
13816 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13817 (pendfunc1): Remove.
13818 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13819 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13820 (foo): Remove.
13821 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13822 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13823 macro.
13824 (func): Remove.
13825 (marker): Use FAST_TRACEPOINT_LABEL.
13826 * gdb.trace/trace-common.h: New header.
13827 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13828 macro.
13829 (func): Remove.
13830 (marker): Use FAST_TRACEPOINT_LABEL.
13831 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13832 (func): Remove.
13833 (thread_function): Use FAST_TRACEPOINT_LABEL.
13834
13835 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13836
13837 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13838 in front.
13839 * gdb.trace/change-loc.exp: Use global pcreg definition.
13840 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13841 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13842 in front.
13843 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13844 * gdb.trace/pending.exp: Likewise.
13845 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13846 * gdb.trace/trace-break.exp: Likewise.
13847 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13848 in front.
13849 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13850 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13851 in front.
13852 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13853
13854 2015-11-09 Joel Brobecker <brobecker@adacore.com>
13855
13856 * gdb.ada/fin_fun_out: New testcase.
13857
13858 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13859
13860 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13861 value associated with DW_AT_byte_size.
13862 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13863 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13864 DW_AT_upper_bound.
13865
13866 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13867
13868 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13869 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13870 version.
13871 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13872 gdb.dwarf2/dw2-canonicalize-type.exp,
13873 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13874 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13875 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13876 provided by gdb_target_symbol_prefix_flags_asm.
13877 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13878 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13879 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13880 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13881 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13882 macros where needed). Use this macro for symbols which require
13883 the prefix provided by SYMBOL_PREFIX.
13884
13885 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13886
13887 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13888 New procs.
13889 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13890 representing expressions, of more than one list element.
13891 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13892 to prepend linker symbol prefix to f.
13893 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13894 table_1 and table_2.
13895 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13896 Likewise, for f and g.
13897 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13898 for ptr.
13899 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13900 for main.
13901 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13902 table_1_ptr and table_2_ptr.
13903
13904 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13905 Joel Brobecker <brobecker@adacore.com>
13906
13907 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13908
13909 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13910
13911 * gdb.reverse/s390-mvcle.c: New test.
13912 * gdb.reverse/s390-mvcle.exp: New file.
13913 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13914
13915 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13916
13917 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13918
13919 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13920
13921 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13922 reaching marker2.
13923 * gdb.reverse/getresuid-reverse.exp: Likewise.
13924 * gdb.reverse/pipe-reverse.exp: Likewise.
13925 * gdb.reverse/readv-reverse.exp: Likewise.
13926 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13927 * gdb.reverse/time-reverse.exp: Likewise.
13928 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13929
13930 2015-10-30 Yao Qi <yao.qi@linaro.org>
13931
13932 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13933 (empty_cycle): Remove.
13934 (main): Don't call empty_cycle. Don't use watch_count_done.
13935 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13936 empty_cycle. Rewrite the code counting HW watchpoints.
13937
13938 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13939
13940 * gdb.reverse/fstatat-reverse.c: New test.
13941 * gdb.reverse/fstatat-reverse.exp: New file.
13942 * gdb.reverse/getresuid-reverse.c: New test.
13943 * gdb.reverse/getresuid-reverse.exp: New file.
13944 * gdb.reverse/pipe-reverse.c: New test.
13945 * gdb.reverse/pipe-reverse.exp: New file.
13946 * gdb.reverse/readv-reverse.c: New test.
13947 * gdb.reverse/readv-reverse.exp: New file.
13948 * gdb.reverse/recvmsg-reverse.c: New test.
13949 * gdb.reverse/recvmsg-reverse.exp: New file.
13950 * gdb.reverse/time-reverse.c: New test.
13951 * gdb.reverse/time-reverse.exp: New file.
13952 * gdb.reverse/waitpid-reverse.c: New test.
13953 * gdb.reverse/waitpid-reverse.exp: New file.
13954
13955 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13956
13957 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13958
13959 2015-10-26 Doug Evans <dje@google.com>
13960
13961 PR symtab/17391
13962 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13963 * gdb.dwarf2/bad-regnum.c: New file.
13964 * gdb.dwarf2/bad-regnum.exp: New file.
13965
13966 2015-10-26 Doug Evans <dje@google.com>
13967
13968 PR python/18938
13969 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13970 file.
13971
13972 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13973
13974 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13975 for a change by "Mention language in compile error message".
13976
13977 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13978
13979 PR python/18073
13980 * gdb.python/py-type.c (C::a_method): New.
13981 (C::a_const_method): New.
13982 (C::a_static_method): New.
13983 (a_function): New.
13984 * gdb.python/py-type.exp (test_fields): Test getting fields
13985 from function and method.
13986
13987 2015-10-21 Keven Boell <keven.boell@intel.com>
13988
13989 * gdb.fortran/vla-alloc-assoc.exp: New file.
13990 * gdb.fortran/vla-datatypes.exp: New file.
13991 * gdb.fortran/vla-datatypes.f90: New file.
13992 * gdb.fortran/vla-history.exp: New file.
13993 * gdb.fortran/vla-ptype-sub.exp: New file.
13994 * gdb.fortran/vla-ptype.exp: New file.
13995 * gdb.fortran/vla-sizeof.exp: New file.
13996 * gdb.fortran/vla-sub.f90: New file.
13997 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13998 * gdb.fortran/vla-value-sub-finish.exp: New file.
13999 * gdb.fortran/vla-value-sub.exp: New file.
14000 * gdb.fortran/vla-value.exp: New file.
14001 * gdb.fortran/vla-ptr-info.exp: New file.
14002 * gdb.mi/mi-vla-fortran.exp: New file.
14003 * gdb.mi/vla.f90: New file.
14004
14005 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14006
14007 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14008 of hardwired timeout value.
14009
14010 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14011 Pedro Alves <palves@redhat.com>
14012
14013 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14014 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14015
14016 2015-10-19 Josh Stone <jistone@redhat.com>
14017
14018 * gdb.base/catch-syscall.c: Include <sched.h>.
14019 (unknown_syscall): New variable.
14020 (main): Trigger a vfork and an unknown syscall.
14021 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14022 (unknown_syscall_number): Likewise.
14023 (check_call_to_syscall): Accept an optional syscall pattern.
14024 (check_return_from_syscall): Likewise.
14025 (check_continue): Likewise.
14026 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14027 (test_catch_syscall_skipping_return): New test toggling off 'catch
14028 syscall' to step over the syscall return, then toggling back on.
14029 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14030 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14031 (do_syscall_tests): Call test_catch_syscall_without_args and
14032 test_catch_syscall_mid_vfork.
14033 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14034 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14035
14036 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14037
14038 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14039 print g_vE): Add new pass patterns.
14040 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14041 print various symbol names for vptr fields.
14042
14043 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14044
14045 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14046 results.
14047
14048 2015-10-12 Yao Qi <yao.qi@linaro.org>
14049
14050 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14051
14052 2015-10-12 Yao Qi <yao.qi@linaro.org>
14053
14054 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14055 is aarch64*-*-linux*.
14056
14057 2015-10-12 Yao Qi <yao.qi@linaro.org>
14058
14059 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14060 (can_relocate_bcond_true): ... it.
14061 (can_relocate_bcond_false): New function.
14062 (foo): Likewise.
14063 (can_relocate_bl): Likewise.
14064 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14065 can_relocate_bl.
14066
14067 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14068
14069 * gdb.base/nested-addr.c: New file.
14070 * gdb.base/nested-addr.exp: New testcase.
14071
14072 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14073
14074 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14075 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14076 its output. Ignore the output of "record goto begin" and instead
14077 check that GDB is replaying.
14078
14079 2015-10-09 Pedro Alves <palves@redhat.com>
14080
14081 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14082 (top level): Use it in the run with no args test.
14083
14084 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14085
14086 * gdb.dlang/properties.exp: New file.
14087
14088 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14089
14090 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14091 whether or not address 0x1000 is mapped on the target.
14092
14093 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14094
14095 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14096 build.
14097
14098 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14099
14100 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14101 instruction-history test.
14102
14103 2015-09-28 Doug Evans <dje@google.com>
14104
14105 * gdb.base/gcore.c (array_func): Add reference to static_array.
14106
14107 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14108
14109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14110 source line.
14111
14112 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14113
14114 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14115 short or char as base type.
14116
14117 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14118
14119 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14120 to allow any size enum.
14121
14122 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14123
14124 * gdb.ada/array_ptr_renaming.exp: New testcase.
14125 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14126 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14127
14128 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14129
14130 * gdb.trace/ftrace-lock.c: New file.
14131 * gdb.trace/ftrace-lock.exp: New file.
14132
14133 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14134
14135 * gdb.arch/insn-reloc.c: New file.
14136 * gdb.arch/ftrace-insn-reloc.exp: New file.
14137
14138 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14139
14140 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14141 instruction.
14142 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14143 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14144 * gdb.trace/range-stepping.c: Likewise.
14145 * gdb.trace/trace-break.c: Likewise.
14146 * gdb.trace/trace-mt.c (thread_function): Likewise.
14147 * gdb.trace/ftrace.c (marker): Likewise.
14148 * gdb.trace/trace-condition.c (marker): Likewise.
14149 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14150 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14151 is_aarch64_target.
14152
14153 2015-09-18 Doug Evans <xdje42@gmail.com>
14154
14155 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14156 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14157
14158 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14159
14160 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14161 the breakpoint.
14162
14163 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14164
14165 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14166 the pending breakpoint. Remove timeout override for "Run till
14167 MI pending breakpoint on pendfunc3 on thread 2" test.
14168
14169 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14170
14171 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14172 filename pattern.
14173
14174 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14175
14176 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14177 in breakpoint filename pattern.
14178
14179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14180
14181 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14182
14183 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14184
14185 * gdb.linespec/explicit.exp: Check for readline support for
14186 tab-completion tests. Fix obvious typo.
14187
14188 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14189
14190 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14191 and replay.
14192
14193 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14194
14195 * gdb.btrace/non-stop.c: New.
14196 * gdb.btrace/non-stop.exp: New.
14197
14198 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14199 Yao Qi <yao.qi@linaro.org>
14200
14201 * gdb.trace/trace-condition.c: New file.
14202 * gdb.trace/trace-condition.exp: New file.
14203
14204 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14205
14206 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14207 for testing bytecode compilation.
14208
14209 2015-09-16 Pedro Alves <palves@redhat.com>
14210 Sandra Loosemore <sandra@codesourcery.com>
14211
14212 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14213 (SECONDS): Redefine.
14214 (main): Call pthread_kill and alarm early.
14215 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14216 support.
14217 (test): If the target can't hardware step and doesn't support
14218 displaced stepping, increase the timeout.
14219
14220 2015-09-16 Pedro Alves <palves@redhat.com>
14221
14222 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14223 (enable_debug): New procedures.
14224 (test): Use them. Bail out if waiting for threads fails.
14225 (top level): Bail out if a test fails.
14226
14227 2015-09-16 Yao Qi <yao.qi@linaro.org>
14228
14229 * gdb.asm/asm-source.exp: Set asm-arch for
14230 aarch64*-*-* target.
14231 * gdb.asm/aarch64.inc: New file.
14232
14233 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14234
14235 * gdb.ada/array_of_variable_length.exp: New testcase.
14236 * gdb.ada/array_of_variable_length/foo.adb: New file.
14237 * gdb.ada/array_of_variable_length/pck.adb: New file.
14238 * gdb.ada/array_of_variable_length/pck.ads: New file.
14239
14240 2015-09-15 Doug Evans <dje@google.com>
14241
14242 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14243 of function static local variable.
14244
14245 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14246
14247 * gdb.threads/tls-so_extern.exp: New test file.
14248 * gdb.threads/tls-so_extern.c: New test file.
14249 * gdb.threads/tls-so_extern_main.c: New test file.
14250
14251 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14252
14253 * gdb.opt/solib-intra-step-lib.c: New file.
14254 * gdb.opt/solib-intra-step-main.c: New file.
14255 * gdb.opt/solib-intra-step.exp: New file.
14256
14257 2015-09-15 Pedro Alves <palves@redhat.com>
14258
14259 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14260 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14261
14262 2015-09-14 Pedro Alves <palves@redhat.com>
14263
14264 * gdb.base/hook-stop-continue.c: Delete.
14265 * gdb.base/hook-stop-continue.exp: Delete.
14266 * gdb.base/hook-stop-frame.c: Delete.
14267 * gdb.base/hook-stop-frame.exp: Delete.
14268 * gdb.base/hook-stop.c: New file.
14269 * gdb.base/hook-stop.exp: New file.
14270
14271 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14272
14273 * gdb.ada/access_to_packed_array.exp: New testcase.
14274 * gdb.ada/access_to_packed_array/foo.adb: New file.
14275 * gdb.ada/access_to_packed_array/pack.adb: New file.
14276 * gdb.ada/access_to_packed_array/pack.ads: New file.
14277
14278 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14279
14280 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14281 buffer size test.
14282
14283 2015-09-11 Don Breazeal <donb@codesourcery.com>
14284
14285 * gdb.base/foll-exec.c: Add copyright header. Fix
14286 formatting issues.
14287 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14288 (do_exec_tests): Use clean_restart in place of zap_session,
14289 and for test initialization. Fix formatting issues. Use
14290 fail in place of perror.
14291 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14292 an expect statement to match an expression with output from
14293 the program under debug.
14294 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14295 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14296 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14297 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14298 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14299
14300 2015-09-09 Doug Evans <dje@google.com>
14301
14302 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14303
14304 2015-09-09 Doug Evans <dje@google.com>
14305
14306 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14307
14308 2015-09-09 Doug Evans <dje@google.com>
14309
14310 * gdb.base/savedregs.exp: Fix typo.
14311
14312 2015-09-09 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14315
14316 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14317
14318 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14319 command actually switches threads. Give up on remaining
14320 tests if target fails to stop at breakpoint.
14321
14322 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14323
14324 * gdb.ada/funcall_char.exp: New testcase.
14325 * gdb.ada/funcall_char/foo.adb: New file.
14326
14327 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14328
14329 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14330 expected outputs. Add two testcases for completing ambiguous
14331 functions.
14332 * gdb.ada/complete/aux_pck.adb: New file.
14333 * gdb.ada/complete/aux_pck.ads: New file.
14334 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14335 Ambiguous_Func functions.
14336 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14337 * gdb.ada/complete/pck.adb: Likewise.
14338
14339 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14340
14341 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14342 failures to run the test program under GDB.
14343
14344 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
14345
14346 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14347 to C.
14348
14349 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14350
14351 * gdb.base/run-after-attach.exp: New test file.
14352 * gdb.base/run-after-attach.c: New test file.
14353
14354 2015-08-26 Don Breazeal <donb@codesourcery.com>
14355
14356 * gdb.base/foll-exec-2.c: New test program.
14357 * gdb.base/foll-exec-2.exp: New test.
14358
14359 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14360
14361 * gdb.base/nested-subp1.exp: New file.
14362 * gdb.base/nested-subp1.c: New file.
14363 * gdb.base/nested-subp2.exp: New file.
14364 * gdb.base/nested-subp2.c: New file.
14365 * gdb.base/nested-subp3.exp: New file.
14366 * gdb.base/nested-subp3.c: New file.
14367
14368 2015-08-24 Pedro Alves <palves@redhat.com>
14369
14370 * gdb.server/connect-without-multi-process.c: New file.
14371 * gdb.server/connect-without-multi-process.exp: New file.
14372
14373 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14374
14375 * gdb.opt/inline-markers.c: Make z int.
14376
14377 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14378
14379 * gdb.opt/inline-markers.c: Make z volatile.
14380
14381 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14382
14383 * gdb.opt/inline-bt.c: New volatile global z.
14384 * gdb.opt/inline-cmds.c: Likewise.
14385 * gdb.opt/inline-locals.c: Likewise.
14386 * gdb.opt/inline-markers.c: New extern global z.
14387 (marker): Use z.
14388 (inline_fn): Likewise.
14389
14390 2015-08-24 Pedro Alves <palves@redhat.com>
14391
14392 * config/m32r-stub.exp: Remove file.
14393 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14394 * gdb.base/call-rt-st.exp: Likewise.
14395 * gdb.base/call-strs.exp: Likewise.
14396 * gdb.base/default.exp: Remove references to h8300-*-hms and
14397 *-*-udi*.
14398 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14399
14400 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14401
14402 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14403 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14404 and "return" use KFAIL when GDB can not read/write the vector
14405 return value.
14406
14407 2015-08-21 Gary Benson <gbenson@redhat.com>
14408
14409 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14410
14411 2015-08-20 Pedro Alves <palves@redhat.com>
14412
14413 * gdb.server/solib-list.exp: No longer expect an interior stop in
14414 non-stop mode.
14415
14416 2015-08-20 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.server/connect-stopped-target.c: New file.
14419 * gdb.server/connect-stopped-target.exp: New file.
14420
14421 2015-08-20 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.dwarf2/comp-unit-lang.exp: New file.
14424 * gdb.dwarf2/comp-unit-lang.c: New file.
14425
14426 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14427
14428 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14429 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14430
14431 2015-08-19 Kevin Buettner <kevinb@redhat.com>
14432
14433 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14434 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14435
14436 2015-08-18 Doug Evans <dje@google.com>
14437 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14438
14439 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14440 skip_python_tests. New arg prompt_regexp.
14441 (skip_python_tests): New function.
14442 * lib/mi-support.exp (mi_skip_python_tests): New function.
14443 * gdb.python/py-mi-objfile-gdb.py: New file.
14444 * gdb.python/py-mi-objfile.c: New file.
14445 * gdb.python/py-mi-objfile.exp: New file.
14446
14447 2015-08-17 Keith Seitz <keiths@redhat.com>
14448
14449 * gdb.linespec/explicit.exp: Move strace test from here ...
14450 * gdb.trace/strace.exp: ... to here.
14451
14452 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14453
14454 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14455 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14456
14457 2015-08-14 Doug Evans <xdje42@gmail.com>
14458
14459 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14460 inferior before selecting a new file.
14461
14462 2015-08-14 Doug Evans <xdje42@gmail.com>
14463
14464 * gdb.mi/mi-disassemble.exp: Update.
14465 * gdb.base/disasm-optim.S: New file.
14466 * gdb.base/disasm-optim.c: New file.
14467 * gdb.base/disasm-optim.h: New file.
14468 * gdb.base/disasm-optim.exp: New file.
14469
14470 2015-08-14 Keith Seitz <keiths@redhat.com>
14471
14472 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14473 "evaluated-by".
14474
14475 2015-08-13 Joel Brobecker <brobecker@adacore.com>
14476
14477 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14478
14479 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14480
14481 * gdb.ada/fun_renaming.exp: New testcase.
14482 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14483 * gdb.ada/fun_renaming/pack.adb: New file.
14484 * gdb.ada/fun_renaming/pack.ads: New file.
14485
14486 2015-08-12 Keith Seitz <keiths@redhat.com>
14487
14488 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14489 gdb_get_line_number.
14490
14491 2015-08-12 Joel Brobecker <brobecker@adacore.com>
14492
14493 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14494 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14495 gdb.base/dso2dso.exp: New files.
14496
14497 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14498 Pedro Alves <palves@redhat.com>
14499 Keith Seitz <keiths@redhat.com>
14500
14501 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14502 GDBFLAGS.
14503
14504 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14505
14506 * gdb.base/gdbhistsize-history.exp
14507 (test_histsize_history_setting): Use save_vars.
14508 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14509 Use save_vars.
14510 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14511 * gdb.base/readline.exp: Use save_vars.
14512
14513 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14514
14515 * lib/gdb.exp (save_vars): New proc.
14516
14517 2015-08-11 Keith Seitz <keiths@redhat.com>
14518
14519 * gdb.base/help.exp: Update help_breakpoint_text.
14520
14521 2015-08-11 Keith Seitz <keiths@redhat.com>
14522
14523 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14524 (at toplevel): Call test_explicit_breakpoints.
14525 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14526 breakpoints.
14527 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14528 breakpoint conditions, "-cond".
14529
14530 2015-08-11 Keith Seitz <keiths@redhat.com>
14531
14532 * gdb.linespec/3explicit.c: New file.
14533 * gdb.linespec/cpexplicit.cc: New file.
14534 * gdb.linespec/cpexplicit.exp: New file.
14535 * gdb.linespec/explicit.c: New file.
14536 * gdb.linespec/explicit.exp: New file.
14537 * gdb.linespec/explicit2.c: New file.
14538 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14539 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14540 before using in the matching pattern.
14541 Clarify that `prefix' is a regular expression.
14542
14543 2015-08-11 Keith Seitz <keiths@redhat.com>
14544
14545 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14546 test.
14547 Add tests for missing ",FMT" and ",".
14548
14549 2015-08-10 Doug Evans <dje@google.com>
14550 Keith Seitz <keiths@redhat.com>
14551
14552 PR gdb/17960
14553 * gdb.base/completion.exp: Add location completer tests.
14554
14555 2015-08-07 Pedro Alves <palves@redhat.com>
14556
14557 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14558 tests here.
14559 (top level): Run do_test with and without displaced stepping.
14560
14561 2015-08-07 Pedro Alves <palves@redhat.com>
14562
14563 * gdb.base/valgrind-disp-step.c: New file.
14564 * gdb.base/valgrind-disp-step.exp: New file.
14565
14566 2015-08-07 Pedro Alves <palves@redhat.com>
14567
14568 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14569 Delete function.
14570 (main): Add alarm. Run an infinite loop instead of calling
14571 wait_threads.
14572 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14573 comment.
14574 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14575 Delete function.
14576 (main): Add alarm. Run an infinite loop instead of calling
14577 wait_threads.
14578 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14579 comment.
14580
14581 2015-08-07 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.base/checkpoint-ns.exp: New file.
14584 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14585 standard_testfile.
14586
14587 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14588
14589 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14590 * gdb.btrace/instruction_history.exp: Update.
14591 * gdb.btrace/tsx.exp: New.
14592 * gdb.btrace/tsx.c: New.
14593
14594 2015-08-06 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14597 increase timeout.
14598 * gdb.reverse/until-precsave.exp: Bump timeouts.
14599
14600 2015-08-06 Pedro Alves <palves@redhat.com>
14601
14602 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14603
14604 2015-08-06 Pedro Alves <palves@redhat.com>
14605
14606 PR gdb/18749
14607 * gdb.threads/process-dies-while-handling-bp.c: New file.
14608 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14609
14610 2015-08-06 Pedro Alves <palves@redhat.com>
14611
14612 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14613 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14614
14615 2015-08-05 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14618 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14619
14620 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14621
14622 * gdb.base/bp-permanent.exp: Report test as unsupported if
14623 the target cannot stop at the permanent breakpoint.
14624
14625 2015-08-03 Doug Evans <dje@google.com>
14626
14627 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14628 10000.
14629
14630 2015-08-03 Doug Evans <dje@google.com>
14631
14632 * Makefile.in (workers/%.worker, build-perf): New rule.
14633 (GDB_PERFTEST_MODE): New variable.
14634 (check-perf): Use it.
14635 (clean): Clean up gdb.perf parallel build subdirs.
14636 * lib/build-piece.exp: New file.
14637 * lib/gdb.exp (make_gdb_parallel_path): New function
14638 (standard_output_file, standard_temp_file): Call it.
14639 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14640 of $GDB_PARALLEL.
14641 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14642
14643 2015-08-03 Doug Evans <dje@google.com>
14644
14645 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
14646 (LOG_FILE_NAME): New global.
14647 (TextReporter.__init__): Initialize self.txt_sum.
14648 (TextReporter.report): Add support for multiple data-points.
14649 Move report to perftest.sum, put raw data in perftest.log.
14650 (TextReporter.start): Open sum and log files.
14651 (TextReporter.end): Close sum and log files.
14652 * gdb.perf/lib/perftest/testresult.py
14653 (SingleStatisticTestResult.record): Handle multiple data-points.
14654
14655 2015-07-31 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14658 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14659 kill_wait_spawned_process instead of explicit "kill -9".
14660 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14661 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14662 kill_wait_spawned_process.
14663 * gdb.base/attach-twice.exp: Likewise.
14664 * gdb.base/attach.exp: Likewise.
14665 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14666 gdb_test_multiple.
14667 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14668 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14669 kill_wait_spawned_process.
14670 * gdb.base/valgrind-infcall.exp: Likewise.
14671 * gdb.multi/multi-attach.exp: Likewise.
14672 * gdb.python/py-prompt.exp: Likewise.
14673 * gdb.python/py-sync-interp.exp: Likewise.
14674 * gdb.server/ext-attach.exp: Likewise.
14675 * gdb.threads/attach-into-signal.exp (corefunc): Use
14676 spawn_wait_for_attach, spawn_id_get_pid and
14677 kill_wait_spawned_process.
14678 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14679 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14680 spawn_id_get_pid and kill_wait_spawned_process.
14681 * gdb.threads/attach-stopped.exp (corefunc): Use
14682 spawn_wait_for_attach, spawn_id_get_pid and
14683 kill_wait_spawned_process.
14684 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14685 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14686 kill_wait_spawned_process instead of explicit "kill -9".
14687 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14688 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14689 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14690 processes. Don't map cygwin/windows pids here. Now returns a
14691 spawn id list.
14692
14693 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14694
14695 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14696 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14697 correct patch.
14698
14699 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14700
14701 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14702
14703 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14704
14705 Reapply:
14706 2014-05-21 Mark Wielaard <mjw@redhat.com>
14707
14708 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14709
14710 2015-07-30 Pedro Alves <palves@redhat.com>
14711
14712 * linux-low.c (handle_extended_wait): Set the child's last
14713 reported status to TARGET_WAITKIND_STOPPED.
14714
14715 2015-07-30 Pedro Alves <palves@redhat.com>
14716
14717 PR threads/18600
14718 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14719 only shows inferior 1.
14720
14721 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14722 Pedro Alves <palves@redhat.com>
14723
14724 PR threads/18600
14725 * gdb.threads/fork-plus-threads.c: New file.
14726 * gdb.threads/fork-plus-threads.exp: New file.
14727
14728 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14729
14730 * gdb.base/batch-preserve-term-settings.exp
14731 (test_terminal_settings_preserved_after_cli_exit): Use
14732 send_quit_command.
14733
14734 2015-07-29 Pedro Alves <palves@redhat.com>
14735 Don Breazeal <donb@codesourcery.com>
14736
14737 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14738 output from both inferior_spawn_id and gdb_spawn_id.
14739
14740 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14741
14742 * gdb.threads/attach-into-signal.exp (corefunc): Use
14743 with_test_prefix on nested loops, uniquefying the test messages.
14744
14745 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14746
14747 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14748 commit.
14749
14750 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14751
14752 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14753 New proc.
14754 (test_terminal_settings_preserved_after_sigterm): New test.
14755
14756 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14757
14758 * gdb.base/batch-preserve-term-settings.exp
14759 (test_terminal_settings_preserved_after_cli_exit): New test.
14760
14761 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14762
14763 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14764 manipulation of saved_gdbflags.
14765 (test_terminal_settings_preserved): Remove global declaration of
14766 the unused variable pagination_prompt. Remove manipulation of
14767 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14768 GDBFLAGS.
14769
14770 2015-07-29 Pedro Alves <palves@redhat.com>
14771
14772 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14773
14774 2015-07-29 Pedro Alves <palves@redhat.com>
14775
14776 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14777 at the top.
14778
14779 2015-07-29 Pedro Alves <palves@redhat.com>
14780
14781 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14782 (main): Call gdb_unbuffer_output.
14783 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14784 (main): Call gdb_unbuffer_output.
14785 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14786 (main): Call gdb_unbuffer_output.
14787 * gdb.base/call-strs.exp: Adjust to step over the
14788 gdb_unbuffer_output call.
14789 * gdb.base/catch-gdb-caused-signals.c: Include
14790 "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14793 (main): Call gdb_unbuffer_output.
14794 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14795 (main): Call gdb_unbuffer_output.
14796 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14797 (main): Call gdb_unbuffer_output.
14798 * gdb.base/shlib-call.exp: Adjust to step over the
14799 gdb_unbuffer_output call.
14800 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14801 (main): Call gdb_unbuffer_output.
14802 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14803 (main): Call gdb_unbuffer_output.
14804 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14805 (main): Rename to ...
14806 (test): ... this.
14807 (main): Reimplement.
14808 * gdb.base/varargs.exp: Run to test instead of to main.
14809 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14810 (main): Call gdb_unbuffer_output.
14811
14812 2015-07-29 Pedro Alves <palves@redhat.com>
14813
14814 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14815 factore out from mi_continue_dprintf. For call-style dprintfs,
14816 expect dprintf output out of $inferior_spawn_id.
14817 (mi_continue_dprintf): Use mi_expect_dprintf.
14818 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14819 (main): Call gdb_unbuffer_output.
14820
14821 2015-07-29 Pedro Alves <palves@redhat.com>
14822
14823 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14824 (default_mi_gdb_start): Set inferior_spawn_id instead of
14825 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14826 gdb_spawn_id.
14827 (mi_gdb_test): Always expect inferior output from both
14828 $inferior_spawn_id and $gdb_spawn_id.
14829
14830 2015-07-29 Pedro Alves <palves@redhat.com>
14831
14832 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14833 send_inferior and $inferior_spawn_id.
14834
14835 2015-07-29 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.gdb/complaints.exp (test_initial_complaints)
14838 (test_serial_complaints, test_short_complaints): Use
14839 gdb_test_stdio.
14840 (test_empty_complaint): Handle $inferior_spawn_id !=
14841 $gdb_spawn_id.
14842
14843 2015-07-29 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.base/varargs.exp: Use gdb_test_stdio.
14846
14847 2015-07-29 Pedro Alves <palves@redhat.com>
14848
14849 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14850
14851 2015-07-29 Pedro Alves <palves@redhat.com>
14852
14853 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14854
14855 2015-07-29 Pedro Alves <palves@redhat.com>
14856
14857 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14858 parameter into two new parameters, "inf_result" and "gdb_result".
14859 Expect inferior output and gdb output from $inferior_spawn_id and
14860 $gdb_spawn_id, respectively. Adjust all callers.
14861
14862 2015-07-29 Pedro Alves <palves@redhat.com>
14863
14864 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14865 of gdb_test_sequence.
14866
14867 2015-07-29 Pedro Alves <palves@redhat.com>
14868
14869 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14870 (saw_spurious_output): Expect inferior output from
14871 $inferior_spawn_id. Use gdb_test_stdio.
14872
14873 2015-07-29 Pedro Alves <palves@redhat.com>
14874
14875 * gdb.base/dprintf.exp: Use standard_testfile. Change
14876 prepare_for_testing call.
14877 (srcfile): Don't set.
14878 (restart): New procedure.
14879 (test_dprintf): New procecure, use to continue over dprintfs.
14880 (test_call, test_agent): New procedures, tests moved here.
14881 Restart gdb and recreate dprintfs. Adjust expected output.
14882
14883 2015-07-29 Pedro Alves <palves@redhat.com>
14884
14885 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14886
14887 2015-07-29 Pedro Alves <palves@redhat.com>
14888
14889 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14890
14891 2015-07-29 Pedro Alves <palves@redhat.com>
14892
14893 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14894 gdb_test_stdio.
14895
14896 2015-07-29 Pedro Alves <palves@redhat.com>
14897
14898 * lib/gdb.exp (gdb_test_stdio): New procedure.
14899
14900 2015-07-29 Pedro Alves <palves@redhat.com>
14901
14902 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14903
14904 2015-07-29 Pedro Alves <palves@redhat.com>
14905
14906 * gdb.base/call-signal-resume.exp: Remove check for
14907 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14908 * gdb.base/unwindonsignal.exp: Likewise.
14909 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14910 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14911
14912 2015-07-29 Pedro Alves <palves@redhat.com>
14913
14914 * gdb.base/siginfo-addr.c (pass): New function.
14915 (handler): Call it iff si_addr is correct.
14916 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14917 Set a breakpoint at "pass" and continue to it.
14918
14919 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14920
14921 * gdb.python/py-objfile.exp: Make some tests have unique names.
14922 * gdb.python/py-pp-registration.exp: Likewise.
14923
14924 2015-07-28 Pedro Alves <palves@redhat.com>
14925
14926 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14927
14928 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14929
14930 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14931
14932 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14933
14934 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14935
14936 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14937
14938 * gdb.base/gdb-sigterm-2.exp: New test.
14939
14940 2015-07-25 Doug Evans <xdje42@gmail.com>
14941
14942 Revert:
14943 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14944 (workers/%.worker, build-perf): New rule.
14945 (GDB_PERFTEST_MODE): New variable.
14946 (check-perf): Use it.
14947 (clean): Clean up gdb.perf parallel build subdirs.
14948 * lib/build-piece.exp: New file.
14949 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14950 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14951 name.
14952 (standard_temp_file): Ditto.
14953 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14954 of $GDB_PARALLEL.
14955
14956 2015-07-24 Doug Evans <dje@google.com>
14957
14958 * gdb.perf/lib/perftest/utils.py: New file.
14959 * gdb.perf/gm-hello.cc: New file.
14960 * gdb.perf/gm-pervasive-typedef.cc: New file.
14961 * gdb.perf/gm-pervasive-typedef.h: New file.
14962 * gdb.perf/gm-std.cc: New file.
14963 * gdb.perf/gm-std.h: New file.
14964 * gdb.perf/gm-use-cerr.cc: New file.
14965 * gdb.perf/gm-utils.h: New file.
14966 * gdb.perf/gmonster-null-lookup.py: New file.
14967 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14968 * gdb.perf/gmonster-print-cerr.py: New file.
14969 * gdb.perf/gmonster-ptype-string.py: New file.
14970 * gdb.perf/gmonster-runto-main.py: New file.
14971 * gdb.perf/gmonster-select-file.py: New file.
14972 * gdb.perf/gmonster1-null-lookup.exp: New file.
14973 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14974 * gdb.perf/gmonster1-print-cerr.exp: New file.
14975 * gdb.perf/gmonster1-ptype-string.exp: New file.
14976 * gdb.perf/gmonster1-runto-main.exp: New file.
14977 * gdb.perf/gmonster1-select-file.exp: New file.
14978 * gdb.perf/gmonster1.cc: New file.
14979 * gdb.perf/gmonster1.exp: New file.
14980 * gdb.perf/gmonster2-null-lookup.exp: New file.
14981 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14982 * gdb.perf/gmonster2-print-cerr.exp: New file.
14983 * gdb.perf/gmonster2-ptype-string.exp: New file.
14984 * gdb.perf/gmonster2-runto-main.exp: New file.
14985 * gdb.perf/gmonster2-select-file.exp: New file.
14986 * gdb.perf/gmonster2.cc: New file.
14987 * gdb.perf/gmonster2.exp: New file.
14988
14989 2015-07-24 Doug Evans <dje@google.com>
14990
14991 * gdb.perf/README: New file.
14992 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14993 * lib/gen-perf-test.exp: New file.
14994
14995 2015-07-24 Doug Evans <dje@google.com>
14996
14997 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14998 (PerfTest::startup): New function.
14999 (PerfTest::run): Return result of calling body.
15000 (PerfTest::assemble): Rewrite.
15001 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15002 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15003 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15004 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15005 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15006
15007 2015-07-24 Doug Evans <dje@google.com>
15008
15009 * lib/gdb.exp (clean_restart): Make executable optional.
15010
15011 2015-07-24 Doug Evans <dje@google.com>
15012
15013 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15014 compiler_info references.
15015 * gdb.cp/temargs.exp: Ditto.
15016 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15017 (get_compiler_info): Early exit if already computed. Set compiler_info
15018 to "unknown" if there was a problem.
15019 (test_compiler_info): Add function comment. Call get_compiler_info.
15020
15021 2015-07-24 Doug Evans <dje@google.com>
15022
15023 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15024 (workers/%.worker, build-perf): New rule.
15025 (GDB_PERFTEST_MODE): New variable.
15026 (check-perf): Use it.
15027 (clean): Clean up gdb.perf parallel build subdirs.
15028 * lib/build-piece.exp: New file.
15029 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15030 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15031 name.
15032 (standard_temp_file): Ditto.
15033 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15034 of $GDB_PARALLEL.
15035
15036 2015-07-24 Doug Evans <dje@google.com>
15037
15038 * lib/future.exp (gdb_default_target_compile): New option
15039 "early_flags".
15040 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15041 --as-needed.
15042
15043 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15044
15045 * gdb.base/catch-syscall.exp: Call gdb_exit before
15046 gdb_skip_xml_test.
15047
15048 2015-07-24 Pedro Alves <palves@redhat.com>
15049
15050 * gdb.python/py-events.exp: Accept output between the stop event
15051 and the prompt.
15052 * gdb.python/py-evsignal.exp: Likewise.
15053 * gdb.python/py-evthreads.exp: Likewise.
15054
15055 2015-07-24 Pedro Alves <palves@redhat.com>
15056
15057 PR gdb/18717
15058 * gdb.threads/non-ldr-exit.c: New file.
15059 * gdb.threads/non-ldr-exit.exp: New file.
15060
15061 2015-07-24 Yao Qi <yao.qi@linaro.org>
15062
15063 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15064 restarting process.
15065
15066 2015-07-24 Yao Qi <yao.qi@linaro.org>
15067
15068 * gdb.server/ext-restart.exp: New file.
15069
15070 2015-07-24 Yao Qi <yao.qi@linaro.org>
15071
15072 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15073 argument options.
15074 * gdb.server/ext-wrapper.exp: New file.
15075
15076 2015-07-23 Doug Evans <dje@google.com>
15077
15078 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15079 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15080
15081 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15082
15083 * gdb.ada/var_arr_typedef.exp: New testcase.
15084 * gdb.ada/var_arr_typedef/pack.adb: New file.
15085 * gdb.ada/var_arr_typedef/pack.ads: New file.
15086 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15087
15088 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15089
15090 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15091
15092 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15093
15094 * gdb.arch/i386-biarch-core.exp: Replace istarget
15095 by "complete set gnutarget". Remove expectation for the "core-file"
15096 command.
15097
15098 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15099
15100 Revert the previous commit:
15101 Tests for validate symbol file using build-id.
15102
15103 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15104
15105 Tests for validate symbol file using build-id.
15106 * gdb.base/solib-mismatch-lib.c: New file.
15107 * gdb.base/solib-mismatch-libmod.c: New file.
15108 * gdb.base/solib-mismatch.c: New file.
15109 * gdb.base/solib-mismatch.exp: New file.
15110
15111 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15112
15113 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15114 nios2-*-linux*.
15115 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15116 * gdb.base/siginfo.exp: Likewise.
15117 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15118
15119 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15120
15121 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15122 Move it to ...
15123 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15124 ... here.
15125 * gdb.trace/range-stepping.exp: Check that the target supports
15126 range stepping.
15127
15128 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15129
15130 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15131
15132 2015-07-14 Pedro Alves <palves@redhat.com>
15133
15134 * gdb.base/killed-outside.exp: New file.
15135 * gdb.base/killed-outside.c: New file.
15136
15137 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15138
15139 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15140 (n at main): New.
15141 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15142
15143 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15144
15145 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15146 infcall tests instead of setting up for KFAIL.
15147
15148 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15149
15150 * gdb.btrace/record_goto-step.exp: New.
15151
15152 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15153
15154 PR compile/18484
15155 * gdb.compile/compile.c (struct struct_type): Add volatile to
15156 selffield's type.
15157 * gdb.compile/compile.exp
15158 (compile code struct_object.selffield = &struct_object): Skip further
15159 struct_object tests if this one xfails.
15160
15161 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15162
15163 PR exp/18617
15164 * gdb.trace/ax.exp: Add test.
15165
15166 2015-07-07 Yao Qi <yao.qi@linaro.org>
15167
15168 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15169 instead of istarget "aarch64*-*-*".
15170 * gdb.arch/aarch64-fp.exp: Likewise.
15171 * gdb.base/float.exp: Likewise.
15172 * gdb.reverse/aarch64.exp: Likewise.
15173 * lib/gdb.exp (is_aarch64_target): New proc.
15174
15175 2015-07-07 Yao Qi <yao.qi@linaro.org>
15176
15177 * lib/gdb.exp (is_aarch32_target): New proc.
15178 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15179 instead of "istarget "arm*-*-*"".
15180 * gdb.arch/arm-disp-step.exp: Likewise.
15181 * gdb.arch/thumb-bx-pc.exp: Likewise.
15182 * gdb.arch/thumb-prologue.exp: Likewise.
15183 * gdb.arch/thumb-singlestep.exp: Likewise.
15184 * gdb.base/disp-step-syscall.exp: Likewise.
15185 * gdb.base/float.exp: Likewise.
15186
15187 2015-07-07 Yao Qi <yao.qi@linaro.org>
15188
15189 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15190 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15191
15192 2015-07-07 Yao Qi <yao.qi@linaro.org>
15193
15194 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15195 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15196 if it exists.
15197 * gdb.multi/multi-arch.exp: Likewise.
15198
15199 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15200
15201 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15202 print.
15203
15204 2015-07-07 Yao Qi <yao.qi@linaro.org>
15205
15206 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15207
15208 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15209
15210 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15211 '[' and ']' characters.
15212
15213 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15214
15215 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15216
15217 2015-06-29 Pedro Alves <palves@redhat.com>
15218
15219 PR threads/18127
15220 * gdb.threads/hand-call-new-thread.c: New file.
15221 * gdb.threads/hand-call-new-thread.c: New file.
15222
15223 2015-06-26 Keith Seitz <keiths@redhat.com>
15224 Doug Evans <dje@google.com>
15225
15226 PR 16253
15227 * gdb.cp/var-tag-2.cc: New file.
15228 * gdb.cp/var-tag-3.cc: New file.
15229 * gdb.cp/var-tag-4.cc: New file.
15230 * gdb.cp/var-tag.cc: New file.
15231 * gdb.cp/var-tag.exp: New file.
15232
15233 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15234
15235 * gdb.base/history-duplicates.exp: New test.
15236
15237 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15238
15239 * gdb.base/completion.exp: Test the completion of the "focus"
15240 command.
15241
15242 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15243
15244 * gdb.arch/amd64-prologue-skip.S: New file.
15245 * gdb.arch/amd64-prologue-skip.exp: New file.
15246
15247 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15248
15249 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15250 is_address_zero_readable check.
15251
15252 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15253
15254 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15255 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15256
15257 2015-06-24 Yao Qi <yao.qi@linaro.org>
15258
15259 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15260 linux targets.
15261
15262 2015-06-24 Yao Qi <yao.qi@linaro.org>
15263
15264 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15265 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15266 * gdb.base/siginfo-thread.exp: Likewise.
15267
15268 2015-06-22 Yao Qi <yao.qi@linaro.org>
15269
15270 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15271
15272 2015-06-22 Yao Qi <yao.qi@linaro.org>
15273
15274 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15275 aarch64*-*-*.
15276 (skip_hw_watchpoint_tests): Likewise.
15277
15278 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15279
15280 * gdb.base/gdbinit-history.exp: Test the interaction between
15281 setting GDBHISTSIZE and setting the history size via .gdbinit.
15282
15283 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15284
15285 PR gdb/16999
15286 * gdb.base/gdbhistsize-history.exp: New test.
15287
15288 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15289
15290 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15291 with GDBHISTSIZE.
15292 * gdb.base/readline.exp: Likewise.
15293
15294 2015-06-17 Yao Qi <yao.qi@linaro.org>
15295
15296 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15297 line.
15298
15299 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15300
15301 * gdb.base/gdbinit-history.exp: Add test case to check that
15302 an unlimited history file does not get truncated on exit.
15303
15304 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15305
15306 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15307 (VECTOR): New macro. Use it...
15308 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15309 ...for these typedefs.
15310 (int8, char1, int1, double1): New typedefs.
15311 (struct just_int2, struct two_int2): New structures.
15312 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15313 (add_structvecs, add_singlevecs): New functions.
15314 (main): Call add_some_intvecs twice.
15315 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15316 the compile and exit upon failure. Try compiling for the "native"
15317 architecture. Test inferior function calls with vector arguments
15318 and vector return value handling with "finish" and "return".
15319
15320 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15321
15322 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15323 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15324 PE file.
15325 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15326
15327 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15328
15329 PR breakpoints/16465
15330 * gdb.mi/mi-dprintf-pending.c: New file.
15331 * gdb.mi/mi-dprintf-pending.exp: New test.
15332 * gdb.mi/mi-dprintf-pendshr.c: New file.
15333
15334 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15335 Mircea Gherzan <mircea.gherzan@intel.com>
15336
15337 * gdb.arch/i386-mpx-map.c: New file.
15338 * gdb.arch/i386-mpx-map.exp: New File.
15339
15340 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15341
15342 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15343 * gdb.arch/i386-mpx.exp: Indentation fixed.
15344
15345 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15346
15347 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15348 function and improved indentation.
15349 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15350 gdb_test_multiple. Added additional tests to skip the test.
15351
15352 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15353
15354 * gdb.arch/i386-avx512.c: Change path in include file.
15355 * gdb.arch/i386-avx512.exp: Change include dir path
15356 compilation flag.
15357 * gdb.arch/i386-mpx.c: Change path in include file.
15358 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15359 flag.
15360
15361 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15362
15363 * gdb.compile/compile-print.exp (compile print *vararray@3)
15364 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15365
15366 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15367
15368 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15369 (do not keep jit in memory): ... this.
15370 (expect 5): Change it to ...
15371 (expect no 5): ... this.
15372
15373 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15374
15375 PR gdb/15564
15376 * gdb.mi/mi-detach.exp: New file.
15377
15378 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15379
15380 PR symtab/18392
15381 * gdb.arch/amd64-tailcall-self.S: New file.
15382 * gdb.arch/amd64-tailcall-self.c: New file.
15383 * gdb.arch/amd64-tailcall-self.exp: New file.
15384
15385 2015-05-28 Don Breazeal <donb@codesourcery.com>
15386
15387 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15388 tests for remote targets by checking is_target_gdbserver.
15389
15390 2015-05-27 Doug Evans <dje@google.com>
15391
15392 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15393 * gdb.dwarf2/opaque-type-lookup.c: New file.
15394 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15395
15396 2015-05-26 Doug Evans <dje@google.com>
15397
15398 * gdb.cp/iostream.cc: New file.
15399 * gdb.cp/iostream.exp: New file.
15400
15401 2015-05-26 Doug Evans <dje@google.com>
15402
15403 * gdb.dwarf2/dw2-op-call.exp: Update.
15404 * gdb.dwarf2/dw4-sig-types.exp: Update.
15405 * gdb.dwarf2/implptr.exp: Update.
15406 * gdb.mi/mi-cmd-param-changed.exp: Update.
15407
15408 2015-05-26 Doug Evans <dje@google.com>
15409
15410 * gdb.python/py-lazy-string.c: New file.
15411 * gdb.python/py-lazy-string.exp: New file.
15412 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15413 (main): Update. Add estring3.
15414 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15415 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15416
15417 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15418 Yao Qi <yao.qi@linaro.org>
15419
15420 * gdb.reverse/aarch64.c: New.
15421 * gdb.reverse/aarch64.exp: New.
15422
15423 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15424
15425 * lib/gdb.exp (supports_process_record): Return true for
15426 aarch64*-linux*.
15427 (supports_reverse): Likewise.
15428
15429 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15430
15431 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15432 Use with_test_prefix.
15433
15434 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15435
15436 * gdb.base/completion.exp: Add test for completion of layout
15437 names.
15438
15439 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15440
15441 * lib/gdb.exp (skip_tui_tests): New proc.
15442 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15443
15444 2015-05-19 Pedro Alves <palves@redhat.com>
15445
15446 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15447 Save the whole env array instead of just HOME. Unset HISTSIZE in
15448 the environment while testing. Restore whole environment
15449 afterwards.
15450
15451 2015-05-16 Doug Evans <xdje42@gmail.com>
15452
15453 * gdb.guile/scm-ports.c: New file.
15454 * gdb.guile/scm-ports.exp: Add memory port tests.
15455
15456 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15457
15458 * gdb.compile/compile-print.c: New file.
15459 * gdb.compile/compile-print.exp: New file.
15460
15461 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15462
15463 * gdb.compile/compile-ops.exp: Cast param to void.
15464 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15465 (compile code struct_object.selffield = &struct_object): Add xfail.
15466
15467 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15468
15469 * gdb.ada/arr_enum_with_gap: New testcase.
15470
15471 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15472
15473 * gdb.ada/byte_packed_arr: New testcase.
15474
15475 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15476
15477 * gdb.ada/pckd_neg: New testcase.
15478
15479 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15480
15481 PR gdb/17820
15482 * gdb.base/gdbinit-history.exp: New test.
15483 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15484 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15485
15486 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15487
15488 * gdb.python/py-xmethods.cc: Enhance test case.
15489 * gdb.python/py-xmethods.exp: New tests.
15490 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15491 function.
15492 (B_indexoper): Likewise.
15493 (global_dm_list) : Add new xmethod worker functions.
15494
15495 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15496
15497 * gdb.base/coredump-filter.exp: Correctly unset
15498 "coredump_var_addr" array.
15499
15500 2015-05-08 Pedro Alves <palves@redhat.com>
15501
15502 * gdb.server/non-existing-program.exp: Unset spawn_id.
15503
15504 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15505
15506 PR python/18291
15507 * gdb.python/py-xmethods.exp: Add tests.
15508
15509 2015-05-08 Yao Qi <yao.qi@linaro.org>
15510
15511 PR gdb/18208
15512 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15513 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15514 function set_coredump_filter, and remove remote_exec call.
15515 Remove argument ipid. Callers update.
15516 (top level): Don't get inferior's PID.
15517
15518 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15519
15520 * gdb.base/watch_thread_num.exp: Skip test on targets without
15521 access watchpoints.
15522
15523 2015-05-06 Pedro Alves <palves@redhat.com>
15524
15525 PR server/18081
15526 * gdb.server/non-existing-program.exp: New file.
15527
15528 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15529
15530 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15531
15532 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15533
15534 * gdb.ada/out_of_line_in_inlined: New testcase.
15535
15536 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15537
15538 * gdb.ada/var_rec_arr: New testcase.
15539
15540 2015-04-30 Yao Qi <yao.qi@linaro.org>
15541
15542 * gdb.base/break-idempotent.exp: If
15543 skip_hw_watchpoint_multi_tests returns true, skip the tests
15544 on "rwatch" and "awatch".
15545
15546 2015-04-30 Yao Qi <yao.qi@linaro.org>
15547
15548 * gdb.base/relativedebug.exp: Invoke gdb command
15549 "info sharedlibrary", and if libc.so doesn't have debug info,
15550 skip the test.
15551
15552 2015-04-29 Doug Evans <dje@google.com>
15553
15554 * gdb.python/py-xmethods.exp: Add ptype tests.
15555 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15556 get_result_type method.
15557
15558 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15559
15560 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15561 the target does not support hardware watchpoints.
15562
15563 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15564
15565 * gdb.base/break-always.exp: Abort testing if writing to memory
15566 causes an error.
15567
15568 2015-04-28 Doug Evans <dje@google.com>
15569
15570 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15571 * gdb.python/py-pp-registration.exp: ... here. New file.
15572 * gdb.python/py-pp-registration.c: New file.
15573 * gdb.python/py-pp-registration.py: New file.
15574
15575 2015-04-28 Doug Evans <dje@google.com>
15576
15577 * gdb.python/py-bad-printers.c: New file.
15578 * gdb.python/py-bad-printers.py: New file.
15579 * gdb.python/py-bad-printers.exp: New file.
15580
15581 2015-04-28 Sasha Smundak <asmundak@google.com>
15582
15583 * gdb.python/py-type.exp: New test.
15584
15585 2015-04-28 Andy Wingo <wingo@igalia.com>
15586
15587 * gdb.python/py-parameter.exp:
15588 * gdb.guile/scm-parameter.exp: Escape the path that we are
15589 matching against, as it might contain characters that are special
15590 to regular expressions.
15591
15592 2015-04-27 Joel Brobecker <brobecker@adacore.com>
15593
15594 * gdb.ada/rec_comp: New testcase.
15595
15596 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15597
15598 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15599 before using it.
15600
15601 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15602
15603 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15604 new tests for verilog output.
15605
15606 2015-04-24 Yao Qi <yao.qi@linaro.org>
15607
15608 * boards/remote-gdbserver-on-localhost.exp: New file.
15609
15610 2015-04-23 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15613 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15614 "end of file", remove $inferior_spawn_id from the indirect list.
15615
15616 2015-04-23 Pedro Alves <palves@redhat.com>
15617
15618 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15619
15620 2015-04-23 Pedro Alves <palves@redhat.com>
15621
15622 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15623 on $any_spawn_id instead of only on $gdb_spawn_id.
15624
15625 2015-04-21 Pierre Muller <muller@sourceware.org>
15626
15627 PR pascal/17815
15628 * lib/pascal.exp (gpc_compile): Add new option "class".
15629 (fpc_compile): Likewise.
15630 * gdb.pascal/case-insensitive-symbols.pas: New file.
15631 * gdb.pascal/case-insensitive-symbols.exp: New file.
15632
15633 2015-04-20 Gary Benson <gbenson@redhat.com>
15634
15635 * gdb.base/attach.exp: Fix three extended remote failures.
15636
15637 2015-04-17 Gary Benson <gbenson@redhat.com>
15638
15639 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15640 the main executable over the remote protocol.
15641
15642 2015-04-16 Pedro Alves <palves@redhat.com>
15643
15644 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15645 a new gdbserver if gdbserver_reconnect_p is set.
15646
15647 2015-04-16 Pedro Alves <palves@redhat.com>
15648
15649 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15650 is set, don't exit gdbserver.
15651
15652 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15653
15654 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15655 appropriate .insn, such that an older assembler can be used.
15656 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15657 the z/Architecture instruction set on 31-bit targets as well.
15658
15659 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15660
15661 * gdb.go/handcall.exp: Remove all logic related to the first
15662 breakpoint and rely on go_runto_main instead.
15663 * gdb.go/strings.exp: Likewise.
15664 * gdb.go/unsafe.exp: Likewise.
15665 * gdb.go/hello.exp: Likewise. Also rename the remaining
15666 breakpoint marker to "breakpoint 1".
15667 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15668 * gdb.go/strings.go: Likewise.
15669 * gdb.go/unsafe.go: Likewise.
15670 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15671 "set breakpoint 2 here" and rename the remaining breakpoint marker
15672 to "breakpoint 1".
15673
15674 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15675
15676 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15677 if itertools.imap is not present.
15678 * gdb.python/py-objfile.exp: Add parentheses.
15679 * gdb.python/py-type.exp: Same.
15680 * gdb.python/py-unwind-maint.py: Same.
15681
15682 2015-04-15 Yao Qi <yao.qi@linaro.org>
15683
15684 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15685 of ":$ptr_size" and set its form explicitly.
15686
15687 2015-04-15 Pedro Alves <palves@redhat.com>
15688 Yao Qi <yao.qi@linaro.org>
15689
15690 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15691 timeout by factor of 4.
15692 (test_regular_watch): Likewise.
15693 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15694 * gdb.reverse/sigall-reverse.exp: Likewise.
15695 * gdb.reverse/until-precsave.exp: Likewise.
15696 * lib/gdb.exp (with_timeout_factor): New proc.
15697 (gdb_expect): Move some code to ...
15698 (get_largest_timeout): ... here. New procedure.
15699
15700 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
15701
15702 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15703
15704 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15705
15706 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15707 to write to the .text section.
15708
15709 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15710
15711 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15712 Handle the case of targets that do not provide PID information.
15713
15714 2015-04-13 Yao Qi <yao.qi@linaro.org>
15715
15716 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15717 and use expect instead of gdb_expect.
15718
15719 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15720
15721 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15722 "coredump_var_addr" to avoid naming conflict with other testcases.
15723
15724 2015-04-10 Pedro Alves <palves@redhat.com>
15725
15726 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15727 gdb_test_sequence and gdb_assert.
15728
15729 2015-04-10 Pedro Alves <palves@redhat.com>
15730
15731 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15732 test messages that don't include the breakpoint address.
15733
15734 2015-04-10 Yao Qi <yao.qi@linaro.org>
15735
15736 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15737 false for some offset and width combinations which aren't
15738 supported by linux kernel.
15739
15740 2015-04-10 Pedro Alves <palves@redhat.com>
15741
15742 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15743 procedure, factored out from ...
15744 (top level): ... here. Add "set displaced-stepping" testing axis.
15745 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15746 parameter "displaced". Use it.
15747 (top level): Use foreach and add "set displaced-stepping" testing
15748 axis.
15749
15750 2015-04-10 Pedro Alves <palves@redhat.com>
15751
15752 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15753 Remove comment.
15754 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15755 both the address of the instruction that triggers the watchpoint
15756 and the address of the instruction immediately after, and use
15757 those addresses for the test. Fix comment.
15758
15759 2015-04-10 Pedro Alves <palves@redhat.com>
15760
15761 * gdb.base/sigstep.exp (breakpoint_to_handler)
15762 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15763 Test "backtrace" in handler.
15764 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15765 (top level): Add new "displaced" test axis to
15766 breakpoint_to_handler, breakpoint_to_handler_entry and
15767 breakpoint_over_handler.
15768
15769 2015-04-10 Pedro Alves <palves@redhat.com>
15770
15771 PR gdb/18216
15772 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15773
15774 2015-04-10 Yao Qi <yao.qi@linaro.org>
15775
15776 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15777 (test_add_rn_pc): New function.
15778 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15779 (top level): Invoke test_add_rn_pc.
15780
15781 2015-04-10 Pedro Alves <palves@redhat.com>
15782
15783 PR gdb/13858
15784 * gdb.base/step-over-no-symbols.exp: New file.
15785
15786 2015-04-09 Andy Wingo <wingo@igalia.com>
15787
15788 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15789 after the Python tests.
15790
15791 2015-04-08 Keith Seitz <keiths@redhat.com>
15792
15793 PR python/16699
15794 * gdb.python/py-completion.exp: New tests for completion.
15795 * gdb.python/py-completion.py (CompleteLimit1): New class.
15796 (CompleteLimit2): Likewise.
15797 (CompleteLimit3): Likewise.
15798 (CompleteLimit4): Likewise.
15799 (CompleteLimit5): Likewise.
15800 (CompleteLimit6): Likewise.
15801 (CompleteLimit7): Likewise.
15802
15803 2015-04-08 Pedro Alves <palves@redhat.com>
15804
15805 PR gdb/18214
15806 PR gdb/18216
15807 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15808 function.
15809 (main): Install it as SIGUSR1 handler.
15810 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15811 parameter. Always use "setup" as prefix. Toggle "set
15812 displaced-stepping" off/on depending on global. Don't switch to
15813 thread 1 here.
15814 (top level): Add displaced stepping "off/on" test axis. Update
15815 "setup" calls. Wrap each subtest with with_test_prefix. Test
15816 continuing with a queued signal in each thread.
15817
15818 2015-04-08 Pedro Alves <palves@redhat.com>
15819
15820 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15821 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15822 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15823 Return early if running to main fails.
15824 * gdb.trace/while-stepping.exp: Likewise.
15825
15826 2015-04-07 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15829 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15830 interact with inferior program.
15831
15832 2015-04-07 Pedro Alves <palves@redhat.com>
15833
15834 * lib/gdb.exp (inferior_spawn_id): New global.
15835 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15836 spawn id after processing the user code.
15837 (default_gdb_start): Set inferior_spawn_id.
15838 (send_inferior): New procedure.
15839 * lib/gdbserver-support.exp (gdbserver_start): Set
15840 inferior_spawn_id.
15841 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15842
15843 2015-04-07 Pedro Alves <palves@redhat.com>
15844
15845 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15846 * lib/gdbserver-support.exp (gdbserver_start): Make
15847 $server_spawn_id global.
15848 (gdbserver_start): Don't wait for gdbserver's spawn id with
15849 expect_background.
15850 (close_gdbserver): New procedure.
15851 (gdb_exit): Rename the default version and reimplement.
15852
15853 2015-04-07 Pedro Alves <palves@redhat.com>
15854
15855 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
15856 append the substituted item, not the original item.
15857
15858 2015-04-07 Pedro Alves <palves@redhat.com>
15859
15860 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15861 gdb_expect.
15862
15863 2015-04-07 Pedro Alves <palves@redhat.com>
15864
15865 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15866 output appearing once only.
15867
15868 2015-04-07 Pedro Alves <palves@redhat.com>
15869
15870 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15871 that doesn't expect anything. Return early if running to main
15872 fails.
15873
15874 2015-04-07 Yao Qi <yao.qi@linaro.org>
15875
15876 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15877 (child_function): Call alarm.
15878 (main): Move call to alarm into the loop.
15879 * gdb.threads/non-stop-fair-events.exp: Build program with
15880 -DTIMEOUT=$timeout.
15881
15882 2015-04-06 Doug Evans <xdje42@gmail.com>
15883
15884 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15885 Fix dest parameter to board_info.
15886 (fpc_compile): Ditto.
15887 (gdb_compile_pascal): Rename dest arg to destfile.
15888
15889 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15890
15891 * gdb.ada/funcall_ref.exp: New file.
15892 * gdb.ada/funcall_ref/foo.adb: New file.
15893
15894 2015-04-02 Yao Qi <yao.qi@linaro.org>
15895
15896 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15897 is remote.
15898
15899 2015-04-02 Gary Benson <gbenson@redhat.com>
15900
15901 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15902
15903 2015-04-01 Sasha Smundak <asmundak@google.com>
15904
15905 * gdb.python/py-unwind-maint.c: New file.
15906 * gdb.python/py-unwind-maint.exp: New test.
15907 * gdb.python/py-unwind-maint.py: New file.
15908 * gdb.python/py-unwind.c: New file.
15909 * gdb.python/py-unwind.exp: New test.
15910 * gdb.python/py-unwind.py: New test.
15911
15912 2015-04-01 Pedro Alves <palves@redhat.com>
15913
15914 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15915 to fail instead of non-existent $test.
15916
15917 2015-04-01 Pedro Alves <palves@redhat.com>
15918
15919 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15920 GDBFLAGS if not empty.
15921
15922 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15923
15924 * gdb.ada/complete.exp: Remove "multi_line".
15925 * gdb.ada/info_exc.exp: Remove "multi_line".
15926 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15927 * gdb.ada/ptype_field.exp: Remove "multi_line".
15928 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15929 * gdb.ada/tagged.exp: Remove "multi_line".
15930 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15931 [multi_line ...]
15932 * gdb.btrace/delta.exp: Likewise.
15933 * gdb.btrace/exception.exp: Likewise.
15934 * gdb.btrace/function_call_history.exp: Likewise.
15935 * gdb.btrace/instruction_history.exp: Likewise.
15936 * gdb.btrace/nohist.exp: Likewise.
15937 * gdb.btrace/record_goto.exp: Likewise.
15938 * gdb.btrace/segv.exp: Likewise.
15939 * gdb.btrace/stepi.exp: Likewise.
15940 * gdb.btrace/tailcall.exp: Likewise.
15941 * gdb.btrace/unknown_functions.exp: Likewise.
15942 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15943 * lib/gdb.exp: Add the "multi_line" helper.
15944
15945 2015-04-01 Pedro Alves <palves@redhat.com>
15946
15947 * gdb.threads/tid-reuse.c: New file.
15948 * gdb.threads/tid-reuse.exp: New file.
15949
15950 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15951
15952 PR corefiles/16092
15953 * gdb.base/coredump-filter.c: New file.
15954 * gdb.base/coredump-filter.exp: Likewise.
15955
15956 2015-03-27 Petr Machata <pmachata@redhat.com>
15957
15958 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15959 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15960 (Dwarf::assemble): Initialize them.
15961 (Dwarf::lines): New function.
15962
15963 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15964
15965 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15966 SYMBOL_PREFIX for x86_64-*-cygwin.
15967
15968 2015-03-26 Andy Wingo <wingo@igalia.com>
15969
15970 PR symtab/18148
15971 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15972 const_value but not a location.
15973 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15974 location defined in non-main CUs are visible.
15975
15976 2015-03-26 Yao Qi <yao.qi@linaro.org>
15977
15978 PR testsuite/18139
15979 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15980 Add a line number entry for the same line.
15981 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15982 Add a line number entry for the same line.
15983
15984 2015-03-26 Yao Qi <yao.qi@linaro.org>
15985
15986 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15987 .int 0.
15988 (func): Likewise. Add .Lfunc_1 label.
15989 Use .Lfunc_1 label.
15990 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15991 .int 0.
15992 (func): Likewise.
15993 Use .Lfunc_1 label.
15994
15995 2015-03-26 Yao Qi <yao.qi@linaro.org>
15996
15997 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15998 Call gdb_compile instead to compile each .s files without debug
15999 information.
16000
16001 2015-03-26 Yao Qi <yao.qi@linaro.org>
16002
16003 * gdb.base/savedregs.exp (process_saved_regs): Make
16004 "Saved registers:" optional in the pattern.
16005
16006 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16007
16008 * gdb.btrace/next.exp: Merged into step.exp.
16009 * gdb.btrace/finish.exp: Merged into step.exp.
16010 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16011 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16012 "record goto" and checking the exact replay position.
16013 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16014 check for "Recording format" in "info record" output.
16015 * gdb.btrace/record_goto.exp: Choose test file based on target.
16016 * gdb.btrace/x86-record_goto.S: Renamed into ...
16017 * gdb.btrace/x86_64-record_goto.S: ... this.
16018 * gdb.btrace/i686-record_goto.S: New.
16019 * gdb.btrace/x86-tailcall.S: Renamed into ...
16020 * gdb.btrace/x86_64-tailcall.S: ... this.
16021 * gdb.btrace/i686-tailcall.S: New.
16022 * gdb.btrace/x86-tailcall.c: Renamed into ...
16023 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16024 separate statements. Update test.
16025 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16026 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16027 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16028 * gdb.btrace/tailcall.exp: Choose test file based on target.
16029 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16030
16031 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16032
16033 * gdb.btrace/exception.exp: Increase BTS buffer size.
16034
16035 2015-03-24 Pedro Alves <palves@redhat.com>
16036
16037 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16038
16039 2015-03-24 Pedro Alves <palves@redhat.com>
16040
16041 * gdb.threads/schedlock.exp (test_step): No longer expect that
16042 "set scheduler-locking step" with "next" over a function call runs
16043 threads unlocked.
16044
16045 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16046
16047 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16048
16049 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16050
16051 PR breakpoints/16466
16052 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16053 * gdb.mi/mi-pending.c (thread_func): New function.
16054 (int main): Add threading support required.
16055 * gdb.mi/mi-pending.exp: Add tests for this issue.
16056 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16057 (pendfunc2): Remove stdio dependency.
16058 * gdb.mi/mi-pendshr2.c: New file.
16059
16060 2015-03-23 Keith Seitz <keiths@redhat.com>
16061
16062 * gdb.linespec/keywords.c: New file.
16063 * gdb.linespec/keywords.exp: New file.
16064
16065 2015-03-23 Keith Seitz <keiths@redhat.com>
16066
16067 PR gdb/18021
16068 * gdb.dwarf2/staticvirtual.exp: New test.
16069
16070 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16071
16072 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16073 * README: Remove HP-UX and gdb.hp.
16074 (configuration):
16075 * configure: Regenerate.
16076 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16077 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16078 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16079 gdb.hp/gdb.defects/Makefile.
16080 * gdb.hp/Makefile.in: File deleted.
16081 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16082 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16083 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16084 * gdb.hp/gdb.aCC/run.c: File deleted.
16085 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16086 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16087 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16088 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16089 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16090 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16091 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16092 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16093 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16094 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16095 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16096 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16097 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16098 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16099 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16100 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16101 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16102 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16103 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16104 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16105 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16106 * gdb.hp/gdb.compat/average.c: File deleted.
16107 * gdb.hp/gdb.compat/sum.c: File deleted.
16108 * gdb.hp/gdb.compat/xdb.c: File deleted.
16109 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16110 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16111 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16112 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16113 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16114 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16115 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16116 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16117 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16118 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16119 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16120 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16121 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16122 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16123 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16124 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16125 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16126 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16127 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16128 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16129 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16130 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16131 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16132 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16133 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16134 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16135 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16136 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16137 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16138 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16139 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16140 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16141 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16142 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16143 * gdb.hp/tools/odump: File deleted.
16144
16145 2015-03-19 Pedro Alves <palves@redhat.com>
16146
16147 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16148 (saw_thread_3): New globals.
16149 (top level): Increment them when an event for the corresponding
16150 thread is seen.
16151 (no thread starvation): New test.
16152
16153 2015-03-19 Pedro Alves <palves@redhat.com>
16154
16155 * gdb.threads/continue-pending-status.c: New file.
16156 * gdb.threads/continue-pending-status.exp: New file.
16157
16158 2015-03-18 Pedro Alves <palves@redhat.com>
16159
16160 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16161 Use gdb_is_target_remote instead of is_remote. Use
16162 gdb_test_multiple instead of gdb_expect. Exit early if
16163 gdb_test_multiple hits its internal matches. Tighten stepi tests
16164 expected output. Fail on exit with any signal, instead of just
16165 SIGILL.
16166
16167 2015-03-18 Yao Qi <yao.qi@linaro.org>
16168
16169 PR tdep/18107
16170 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16171 variable.
16172 * gdb.base/catch-syscall.exp: Don't skip it on
16173 aarch64*-*-linux* target. Remove elements in all_syscalls.
16174 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16175 target.
16176 (setup_all_syscalls): New proc.
16177
16178 2015-03-16 Yao Qi <yao.qi@linaro.org>
16179
16180 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16181 (top level): Skip tests if valid_addr_p returns false for
16182 $cmd1 or $cmd2.
16183
16184 2015-03-11 Andy Wingo <wingo@igalia.com>
16185
16186 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16187
16188 2015-03-11 Yao Qi <yao.qi@linaro.org>
16189
16190 * gdb.base/catch-syscall.exp: Fix typo in comments.
16191
16192 2015-03-11 Yao Qi <yao.qi@linaro.org>
16193
16194 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16195
16196 2015-03-09 Pedro Alves <palves@redhat.com>
16197
16198 * dg-extract-results.py: Delete.
16199
16200 2015-03-09 Pedro Alves <palves@redhat.com>
16201
16202 Merge dg-extract-results.sh from GCC upstream (r218843).
16203
16204 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16205 * dg-extract-results.sh: Use --text with grep to avoid issues with
16206 binary files. Fall back to cat -v, if that doesn't work.
16207
16208 2015-03-05 Pedro Alves <palves@redhat.com>
16209
16210 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16211
16212 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16213
16214 * lib/mi-support.exp (mi_expect_interrupt): Accept
16215 alternative event for when in all-stop mode.
16216
16217 2015-03-04 Pedro Alves <palves@redhat.com>
16218
16219 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16220
16221 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16222
16223 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16224
16225 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16226
16227 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16228 regexps for GDB's current line display, accept a hex address
16229 preceding the line number.
16230
16231 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16232
16233 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16234 the 'arch1' variable for "s390*-linux*" targets.
16235
16236 2015-03-04 Pedro Alves <palves@redhat.com>
16237
16238 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16239 (main): Pass missing retval argument to pthread_join call.
16240
16241 2015-03-02 Pedro Alves <palves@redhat.com>
16242
16243 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16244 (top level): Call do_test with non-stop as well.
16245
16246 2015-03-02 Pedro Alves <palves@redhat.com>
16247
16248 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16249 -1.
16250
16251 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16252
16253 * gdb.arch/s390-vregs.exp: New test.
16254 * gdb.arch/s390-vregs.S: New file.
16255
16256 2015-02-27 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16259 call to catch_command_errors.
16260 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16261 catch_command_errors.
16262
16263 2015-02-27 Pedro Alves <palves@redhat.com>
16264
16265 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16266 "true" for boolean result.
16267 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16268 prototype of main.
16269
16270 2015-02-27 Pedro Alves <palves@redhat.com>
16271
16272 * lib/unbuffer_output.c: New file.
16273 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16274 (main): Call gdb_unbuffer_output.
16275
16276 2015-02-27 Yao Qi <yao.qi@linaro.org>
16277
16278 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16279 target.
16280
16281 2015-02-26 Doug Evans <dje@google.com>
16282
16283 * gdb.cp/class2.cc (Dbase, D): New classes.
16284 (main): New local delta.
16285 * gdb.cp/class2.exp: Test printing delta.
16286 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16287 (dynbar): New global.
16288 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16289
16290 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16291
16292 * gdb.compile/compile-ifunc.c: New file.
16293 * gdb.compile/compile-ifunc.exp: New file.
16294
16295 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16296
16297 * gdb.base/structs.exp: Check for correct struct on finish.
16298
16299 2015-02-26 Yao Qi <yao.qi@linaro.org>
16300
16301 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16302 is zero.
16303
16304 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16305
16306 * gdb.arch/cordic.ko.bz2: New file.
16307 * gdb.arch/cordic.ko.debug.bz2: New file.
16308 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16309
16310 2015-02-25 Yao Qi <yao.qi@linaro.org>
16311
16312 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16313 aarch64*-*-* target.
16314
16315 2015-02-23 Pedro Alves <palves@redhat.com>
16316
16317 * lib/gdb.exp (delete_breakpoints): Rewrite using
16318 gdb_test_multiple.
16319
16320 2015-02-23 Pedro Alves <palves@redhat.com>
16321
16322 * gdb.base/info-os.c: Include stdlib.h.
16323
16324 2015-02-22 Doug Evans <xdje42@gmail.com>
16325
16326 PR symtab/17855
16327 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16328 is read after symbols have been re-read.
16329 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16330 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16331
16332 2015-02-21 Doug Evans <dje@google.com>
16333
16334 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16335
16336 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16337
16338 PR corefiles/17808
16339 * gdb.arch/i386-biarch-core.core.bz2: New file.
16340 * gdb.arch/i386-biarch-core.exp: New file.
16341
16342 2015-02-21 Pedro Alves <palves@redhat.com>
16343
16344 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16345 runto_main fails.
16346
16347 2015-02-20 Pedro Alves <palves@redhat.com>
16348
16349 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16350 info probes.
16351
16352 2015-02-20 Pedro Alves <palves@redhat.com>
16353
16354 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16355
16356 2015-02-20 Pedro Alves <palves@redhat.com>
16357
16358 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16359 clean_restart before gdb_target_supports_trace.
16360
16361 2015-02-20 Pedro Alves <palves@redhat.com>
16362
16363 PR threads/18006
16364 * gdb.threads/clone-thread_db.c: New file.
16365 * gdb.threads/clone-thread_db.exp: New file.
16366
16367 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16368
16369 PR breakpoints/16812
16370 * gdb.base/catch-gdb-caused-signals.c: New file.
16371 * gdb.base/catch-gdb-caused-signals.exp: New file.
16372
16373 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16374
16375 * configure: Regenerated.
16376 * configure.ac: Use GDB_AC_TRANSFORM.
16377 * aclocal.m4: sinclude ../transform.m4.
16378
16379 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16380
16381 * lib/dtrace.exp: New file.
16382 * gdb.base/dtrace-probe.exp: Likewise.
16383 * gdb.base/dtrace-probe.d: Likewise.
16384 * gdb.base/dtrace-probe.c: Likewise.
16385 * lib/pdtrace.in: Likewise.
16386 * configure.ac: Output variables with the transformed names of
16387 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16388 * configure: Regenerated.
16389
16390 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16391
16392 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16393 expected message when trying to access $_probe_* convenience
16394 variables while not on a probe.
16395
16396 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16397
16398 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16399
16400 2015-02-11 Pedro Alves <pedro@codesourcery.com>
16401
16402 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16403 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16404
16405 2015-02-10 Doug Evans <xdje42@gmail.com>
16406
16407 * lib/gdb.exp (gdb_load): Always return a result.
16408
16409 2015-02-10 Pedro Alves <palves@redhat.com>
16410
16411 * gdb.threads/signal-sigtrap.c: New file.
16412 * gdb.threads/signal-sigtrap.exp: New file.
16413
16414 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16415
16416 * gdb.trace/no-attach-trace.c: New file.
16417 * gdb.trace/no-attach-trace.exp: New file.
16418
16419 2015-02-09 Mark Wielaard <mjw@redhat.com>
16420
16421 * gdb.dwarf2/atomic.c: New file.
16422 * gdb.dwarf2/atomic-type.exp: Likewise.
16423
16424 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16425
16426 * gdb.btrace/buffer-size.exp: Update "info record" output.
16427 * gdb.btrace/delta.exp: Update "info record" output.
16428 * gdb.btrace/enable.exp: Update "info record" output.
16429 * gdb.btrace/finish.exp: Update "info record" output.
16430 * gdb.btrace/instruction_history.exp: Update "info record" output.
16431 * gdb.btrace/next.exp: Update "info record" output.
16432 * gdb.btrace/nexti.exp: Update "info record" output.
16433 * gdb.btrace/step.exp: Update "info record" output.
16434 * gdb.btrace/stepi.exp: Update "info record" output.
16435 * gdb.btrace/nohist.exp: Update "info record" output.
16436
16437 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16438
16439 * gdb.btrace/buffer-size: New.
16440
16441 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16442
16443 * gdb.btrace/delta.exp: Update "info record" output.
16444 * gdb.btrace/enable.exp: Update "info record" output.
16445 * gdb.btrace/finish.exp: Update "info record" output.
16446 * gdb.btrace/instruction_history.exp: Update "info record" output.
16447 * gdb.btrace/next.exp: Update "info record" output.
16448 * gdb.btrace/nexti.exp: Update "info record" output.
16449 * gdb.btrace/step.exp: Update "info record" output.
16450 * gdb.btrace/stepi.exp: Update "info record" output.
16451 * gdb.btrace/nohist.exp: Update "info record" output.
16452
16453 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16454
16455 PR gdb/15678
16456 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16457
16458 2015-02-06 Pedro Alves <palves@redhat.com>
16459
16460 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16461 macro.
16462 (seconds_left, again): New globals.
16463 (main): Wait seconds_left in a 1-second sleep loop instead of
16464 sleeping 180 seconds. If 'again' is set, reset the seconds
16465 counter.
16466 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16467 'again' in the inferior before detaching. Print the seconds left.
16468 (options): New global.
16469 (top level): Build program with -DTIMEOUT=$timeout.
16470
16471 2015-02-06 Pedro Alves <palves@redhat.com>
16472
16473 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16474 determine how many seconds to pass to 'alarm'.
16475 * gdb.base/gdb-sigterm.exp (top level): Build program with
16476 -DTIMEOUT=$timeout.
16477 (do_test): Return success/failure indication. Add more verbose
16478 logging. Don't fail if 200 single steps are seen. Instead, fail
16479 when the test times out.
16480 (passes): New global.
16481 (top level): Break the testing loop if testing fails on any
16482 iteration. Use gdb_assert.
16483
16484 2015-02-04 Don Breazeal <donb@codesourcery.com>
16485
16486 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16487 and initialize them.
16488 (ipc_cleanup): New function.
16489 (main): Don't declare shmid, semid, and msqid. Add a call to
16490 atexit so that we call ipc_cleanup on exit.
16491
16492 2015-02-04 Pedro Alves <palves@redhat.com>
16493
16494 * boards/native-extended-gdbserver.exp: Remove any target variant
16495 specifications from the board name before clearing the isremote
16496 flag from board_info.
16497
16498 2015-01-31 Doug Evans <xdje42@gmail.com>
16499
16500 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16501
16502 2015-01-31 Gary Benson <gbenson@redhat.com>
16503
16504 * gdb.base/completion.exp: Disable completion limiting for
16505 existing tests. Add new tests to check completion limiting.
16506 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16507
16508 2015-01-31 Doug Evans <xdje42@gmail.com>
16509
16510 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16511
16512 2015-01-31 Doug Evans <xdje42@gmail.com>
16513
16514 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16515 entries. Duplicate file section script entries.
16516 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16517 inlined entries. Add test for safe-path rejection.
16518 * gdb.python/py-section-script.c: Add duplicate inlined section script
16519 entries. Duplicate file section script entries.
16520 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16521 inlined entries. Add test for safe-path rejection.
16522
16523 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16524
16525 * gdb.ada/disc_arr_bound: New testcase.
16526
16527 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16528
16529 * gdb.ada/mi_var_array: New testcase.
16530
16531 2015-01-27 Doug Evans <dje@google.com>
16532
16533 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16534 Add test for objfile.filename, objfile.username after objfile
16535 has been unloaded.
16536
16537 2015-01-26 Joel Brobecker <brobecker@adacore.com>
16538
16539 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16540 the second test to print the name attribute of value
16541 returned by the call to gdb.lookup_type, and adjust
16542 the expected output accordingly.
16543
16544 2015-01-25 Mark Wielaard <mjw@redhat.com>
16545
16546 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16547 * gdb.base/disp-step-fork.c: Include unistd.h.
16548 * gdb.base/siginfo-obj.c: Include stdio.h.
16549 * gdb.base/siginfo-thread.c: Likewise.
16550 * gdb.mi/non-stop.c: Include unistd.h.
16551 * gdb.mi/nsthrexec.c: Include stdio.h.
16552 * gdb.mi/pthreads.c: Include unistd.h.
16553 * gdb.modula2/unbounded1.c (main): Declare returns int.
16554 * gdb.reverse/consecutive-reverse.c: Likewise.
16555 * gdb.threads/create-fail.c: Include unistd.h.
16556 * gdb.threads/killed.c: Likewise.
16557 * gdb.threads/linux-dp.c: Likewise.
16558 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16559 * gdb.threads/non-ldr-exc-2.c: Likewise.
16560 * gdb.threads/non-ldr-exc-3.c: Likewise.
16561 * gdb.threads/non-ldr-exc-4.c: Likewise.
16562 * gdb.threads/pthreads.c: Include unistd.h.
16563 (main): Declare returns int.
16564 * gdb.threads/tls-main.c (foo): New declaration.
16565 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16566
16567 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16568
16569 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16570 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16571
16572 2015-01-15 Mark Wielaard <mjw@redhat.com>
16573
16574 * gdb.base/noreturn-return.c: New file.
16575 * gdb.base/noreturn-return.exp: New file.
16576 * gdb.base/noreturn-finish.c: New file.
16577 * gdb.base/noreturn-finish.exp: New file.
16578
16579 2015-01-23 Pedro Alves <palves@redhat.com>
16580
16581 * gdb.threads/continue-pending-after-query.c: New file.
16582 * gdb.threads/continue-pending-after-query.exp: New file.
16583
16584 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16585 Simon Marchi <simon.marchi@ericsson.com>
16586
16587 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16588 * gdb.base/valgrind-db-attach.exp: Same.
16589 * gdb.base/valgrind-infcall.exp: Same.
16590 * lib/mi-support.exp (default_mi_gdb_start): Same.
16591 * lib/prompt.exp (default_prompt_gdb_start): Same.
16592 * lib/gdb.exp (default_gdb_spawn): Same.
16593 (gdb_interact): New.
16594
16595
16596 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16597
16598 * gdb.compile/compile.exp (pointer to jit function): New test.
16599
16600 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
16601
16602 * lib/gdb.exp (supports_process_record): Return true for
16603 powerpc*-*-linux*.
16604 (supports_reverse): Likewise.
16605
16606 2015-01-15 Don Breazeal <donb@codesourcery.com>
16607
16608 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16609 instead of checking whether the target board is remote and
16610 use spawn_wait_for_attach instead of exec/sleep.
16611 * gdb.base/attach-twice.exp: Likewise.
16612
16613 2015-01-15 Joel Brobecker <brobecker@adacore.com>
16614
16615 * gdb.ada/var_arr_attrs: New testcase.
16616
16617 2015-01-14 Pedro Alves <palves@redhat.com>
16618 Joel Brobecker <brobecker@adacore.com>
16619
16620 PR gdb/17525
16621 * gdb.base/bp-cmds-execution-x-script.c: New file.
16622 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16623 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16624
16625 2015-01-14 Pedro Alves <palves@redhat.com>
16626
16627 PR cli/17828
16628 * gdb.base/batch-preserve-term-settings.c: New file.
16629 * gdb.base/batch-preserve-term-settings.exp: New file.
16630
16631 2015-01-13 Doug Evans <dje@google.com>
16632
16633 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16634 binary.
16635
16636 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16637
16638 * Makefile.in (clean mostlyclean): Do not delete *.py.
16639
16640 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16641
16642 * gdb.python/py-lookup-type.exp: New file.
16643
16644 2015-01-12 Pedro Alves <palves@redhat.com>
16645
16646 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16647 restore GDBFLAGS before returning.
16648
16649 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16650
16651 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16652 is_amd64_regs_target and is_x86_like_target.
16653
16654 2015-01-11 Doug Evans <xdje42@gmail.com>
16655
16656 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16657 is given without an explicit form.
16658 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16659 attributes.
16660 * gdb.dwarf/corrupt.exp: Ditto.
16661 * gdb.dwarf2/enum-type.exp: Ditto.
16662 * gdb.trace/entry-values.exp: Ditto.
16663 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16664
16665 2015-01-11 Doug Evans <xdje42@gmail.com>
16666
16667 PR gdb/15830
16668 * gdb.base/maint.exp: Remove references to "maint demangle".
16669 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16670 Add tests for explicitly specifying language to demangle.
16671 * gdb.dlang/demangle.exp: Ditto.
16672
16673 2015-01-09 Pedro Alves <palves@redhat.com>
16674
16675 * gdb.threads/non-stop-fair-events.c: New file.
16676 * gdb.threads/non-stop-fair-events.exp: New file.
16677
16678 2015-01-09 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16681 the global scope. Set a breakpoint after all threads are started
16682 rather than stepping over two source lines. Expect the prompt.
16683 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16684 global.
16685 (NUM): Now 15.
16686 (main): Use threads_started_barrier to wait for all threads to
16687 start. Main thread no longer calls thread_function. Exit after
16688 180 seconds.
16689 (loop): New function.
16690 (thread_function): Wait on threads_started_barrier barrier. Call
16691 'loop' at each iteration.
16692 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16693 threads have started, instead of hardcoding number of "next"
16694 steps. Use an access watchpoint instead of a write watchpoint.
16695
16696 2015-01-09 Pedro Alves <palves@redhat.com>
16697
16698 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16699 (thread_func): Wait on barrier.
16700 (main): Wait for all threads to start before stopping GDB.
16701 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16702 global.
16703 (thread1_func, thread2_func): Wait on barrier.
16704 (main): Wait for all threads to start before stopping GDB.
16705 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16706 New global.
16707 (thread1_func, thread2_func): Wait on barrier.
16708 (main): Wait for all threads to start before stopping GDB.
16709
16710 2015-01-09 Pedro Alves <palves@redhat.com>
16711
16712 * gdb.threads/attach-many-short-lived-threads.c: New file.
16713 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16714
16715 2014-01-09 Pedro Alves <palves@redhat.com>
16716
16717 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16718 instead of to thread 2.
16719 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16720 Add barrier around each pthread_create call instead of around all
16721 calls.
16722 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16723 Set a break on thread_function and have the child threads hit it
16724 one at at a time.
16725
16726 2015-01-09 Pedro Alves <palves@redhat.com>
16727
16728 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16729 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16730 false.
16731 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16732 checking whether the target board is remote.
16733 * gdb.multi/multi-attach.exp: Likewise.
16734 * gdb.python/py-sync-interp.exp: Likewise.
16735 * gdb.server/ext-attach.exp: Likewise.
16736 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16737 tests that need to attach, instead of checking whether the target
16738 board is remote at the top of the file.
16739
16740 2015-01-08 Yao Qi <yao@codesourcery.com>
16741
16742 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16743
16744 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16745
16746 Fix testcase compilation.
16747 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16748
16749 2015-01-06 Joel Brobecker <brobecker@adacore.com>
16750
16751 * gdb.python/py-type.exp: Add a couple test about empty
16752 array creation, and negative-length array creation.
16753
16754 2015-01-02 Doug Evans <xdje42@gmail.com>
16755
16756 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16757
16758 2015-01-02 Doug Evans <dje@google.com>
16759
16760 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16761
16762 2014-12-29 Yao Qi <yao@codesourcery.com>
16763
16764 * gdb.trace/entry-values.exp: Update comments. Rename variable
16765 bar_call_foo to returned_from_foo.
16766
16767 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16768
16769 PR gdb/17394
16770 * gdb.linespec/break-asm-file.c: New file.
16771 * gdb.linespec/break-asm-file.exp: New file.
16772 * gdb.linespec/break-asm-file0.s: New file.
16773 * gdb.linespec/break-asm-file1.s: New file.
16774
16775 2014-12-18 Nigel Stephens <nigel@mips.com>
16776 Maciej W. Rozycki <macro@codesourcery.com>
16777
16778 * gdb.base/float.exp: Handle the new output from "info float" on
16779 MIPS targets.
16780
16781 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16782
16783 Fix MinGW compilation.
16784 * gdb.compile/compile-ops.exp: Update untested message if
16785 !skip_compile_feature_tests.
16786 * gdb.compile/compile-setjmp.exp: Likewise.
16787 * gdb.compile/compile-tls.exp: Likewise.
16788 * gdb.compile/compile.exp: Likewise.
16789 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16790 supported on this host".
16791
16792 2014-12-16 Doug Evans <xdje42@gmail.com>
16793
16794 * boards/stabs.exp: New file.
16795
16796 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16797
16798 * gdb.base/completion.exp: Adjust to format changes of "maint
16799 print user-registers".
16800
16801 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
16802
16803 PR server/17457
16804 * gdb.arch/aarch64-fp.c: New file.
16805 * gdb.arch/aarch64-fp.exp: New file.
16806
16807 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16808
16809 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16810 r210637, r210913, r211666, r215400, r215817).
16811
16812 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16813 * dg-extract-results.py: New file.
16814 * dg-extract-results.sh: Use it if the environment seems
16815 suitable.
16816
16817 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16818
16819 * dg-extract-results.py (parse_run): Handle warnings that
16820 are printed before a test harness is run.
16821
16822 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16823
16824 * dg-extract-results.py (Named): Remove __cmp__ method.
16825 (output_variation): Use a key to sort variation.harnesses.
16826
16827 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16828
16829 * dg-extract-results.py: For Python 3, force sys.stdout to
16830 handle surrogate escape sequences.
16831 (safe_open): New function.
16832 (output_segment, main): Use it.
16833
16834 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16835
16836 * dg-extract-results.py (Prog.result_re): Include options
16837 in test name.
16838
16839 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16840
16841 * dg-extract-results.py (output_variation): Always sort if
16842 do_sum.
16843
16844 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16845
16846 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16847 as long as we get pagination notifications.
16848
16849 2014-12-15 Jason Merrill <jason@redhat.com>
16850
16851 * Makefile.in (check-gdb.%): Restore.
16852 * README: Mention it.
16853
16854 2014-12-13 Joel Brobecker <brobecker@adacore.com>
16855
16856 * gdb.ada/str_uninit: New testcase.
16857
16858 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16859
16860 PR symtab/17642
16861 * gdb.base/vla-stub-define.c: New file.
16862 * gdb.base/vla-stub.c: New file.
16863 * gdb.base/vla-stub.exp: New file.
16864
16865 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16866 Jan Kratochvil <jan.kratochvil@redhat.com>
16867 Tom Tromey <tromey@redhat.com>
16868
16869 * configure.ac: Add gdb.compile/.
16870 * configure: Regenerate.
16871 * gdb.compile/Makefile.in: New file.
16872 * gdb.compile/compile-ops.exp: New file.
16873 * gdb.compile/compile-ops.c: New file.
16874 * gdb.compile/compile-tls.c: New file.
16875 * gdb.compile/compile-tls.exp: New file.
16876 * gdb.compile/compile-constvar.S: New file.
16877 * gdb.compile/compile-constvar.c: New file.
16878 * gdb.compile/compile-mod.c: New file.
16879 * gdb.compile/compile-nodebug.c: New file.
16880 * gdb.compile/compile-setjmp-mod.c: New file.
16881 * gdb.compile/compile-setjmp.c: New file.
16882 * gdb.compile/compile-setjmp.exp: New file.
16883 * gdb.compile/compile-shlib.c: New file.
16884 * gdb.compile/compile.c: New file.
16885 * gdb.compile/compile.exp: New file.
16886 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16887
16888 2014-12-12 Tom Tromey <tromey@redhat.com>
16889
16890 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16891 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16892
16893 2014-12-12 Doug Evans <dje@google.com>
16894
16895 * lib/gdb-python.exp (get_python_valueof): New function.
16896 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16897
16898 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16899
16900 * gdb.base/completion.exp: Add test for completion of "info
16901 registers ".
16902
16903 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16904
16905 * gdb.base/func-ptrs.c: New file.
16906 * gdb.base/func-ptrs.exp: New file.
16907
16908 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16909
16910 PR breakpoints/17012
16911 * gdb.base/dprintf-detach.c: New file.
16912 * gdb.base/dprintf-detach.exp: New file.
16913
16914 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16915
16916 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16917 * lib/gdb.exp (target_is_gdbserver): New procedure.
16918
16919 2014-12-08 Doug Evans <dje@google.com>
16920
16921 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16922
16923 2014-12-05 Yao Qi <yao@codesourcery.com>
16924
16925 * gdb.guile/scm-error.exp: Remove the third argument to
16926 gdb_remote_download.
16927 * gdb.guile/scm-frame-args.exp: Likewise.
16928 * gdb.guile/scm-section-script.exp: Likewise.
16929
16930 2014-12-05 Yao Qi <yao@codesourcery.com>
16931
16932 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16933
16934 2014-12-04 Doug Evans <dje@google.com>
16935
16936 * gdb.python/py-objfile.exp: Add tests for
16937 objfile.add_separate_debug_file.
16938
16939 2014-12-04 Doug Evans <dje@google.com>
16940
16941 * lib/gdb.exp (get_build_id): New function.
16942 (build_id_debug_filename_get): Rewrite to use it.
16943 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16944
16945 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16946
16947 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16948 `method(long)', not just 0x0.
16949 * gdb.cp/nsalias.exp: Align code labels to 4.
16950 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16951 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16952 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16953 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16954 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16955 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16956
16957 2014-12-02 Doug Evans <dje@google.com>
16958
16959 PR symtab/17602
16960 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16961 * gdb.cp/anon-ns2.cc: ... here. New file.
16962 * gdb.cp/anon-ns.exp: Update.
16963
16964 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16965
16966 * gdb.python/py-events.py (inferior_call_handler): New.
16967 (register_changed_handler, memory_changed_handler): New.
16968 (test_events.invoke): Register new handlers.
16969 * gdb.python/py-events.exp: Add tests for inferior call,
16970 memory_changed and register_changed events.
16971
16972 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16973
16974 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16975 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16976 if the linker doesn't understand this.
16977
16978 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16979
16980 * gdb.python/python.exp: Change expected reply to help().
16981
16982 2014-12-01 Yao Qi <yao@codesourcery.com>
16983
16984 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16985 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16986 * configure: Re-generated.
16987
16988 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16989
16990 * gdb.cp/chained-calls.cc: New file.
16991 * gdb.cp/chained-calls.exp: New file.
16992 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16993
16994 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16995
16996 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16997 * gdb.dwarf2/symtab-producer.exp: Same.
16998 * gdb.gdb/python-interrupts.exp: Same.
16999 * gdb.gdb/python-selftest.exp: Same.
17000 * gdb.python/py-linetable.exp: Same.
17001 * gdb.python/py-type.exp: Same.
17002 * gdb.python/py-value-cc.exp: Same.
17003 * gdb.python/py-value.exp: Same.
17004
17005 2014-11-28 Yao Qi <yao@codesourcery.com>
17006
17007 * gdb.base/break-probes.exp: Match library name prefixed with
17008 sysroot.
17009
17010 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17011
17012 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17013 test expected output. Add parentheses for the call to print.
17014 Remove L suffix from integers.
17015
17016 2014-11-26 Doug Evans <dje@google.com>
17017
17018 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17019
17020 2014-11-22 Yao Qi <yao@codesourcery.com>
17021
17022 * gdb.trace/entry-values.c: Remove asms.
17023 (foo): Add foo_label.
17024 (bar): Add bar_label.
17025 * gdb.trace/entry-values.exp: Remove code computing foo's
17026 length and bar's length.
17027 (Dwarf::assemble): Invoke function_range for bar and use
17028 MACRO_AT_func for foo.
17029
17030 2014-11-22 Yao Qi <yao@codesourcery.com>
17031
17032 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17033 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17034 Use .Lgcc43_procstart instead of gcc43.
17035
17036 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17037
17038 * gdb.ada/n_arr_bound: New testcase.
17039
17040 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17041
17042 PR breakpoints/10737
17043 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17044 test_catch_syscall_multi_arch.
17045 (test_catch_syscall_multi_arch): New function.
17046
17047 2014-11-20 Doug Evans <xdje42@gmail.com>
17048
17049 * gdb.base/maint.exp: Update expected output.
17050
17051 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17052
17053 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17054 4-byte instruction on S390.
17055
17056 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17057
17058 * gdb.ada/arr_arr: New testcase.
17059
17060 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17061
17062 * gdb.ada/pkd_arr_elem: New Testcase.
17063
17064 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17065
17066 * gdb.reverse/break-precsave: Expect completion message for
17067 core file reads.
17068 * gdb.reverse/consecutive-precsave.exp: Likewise.
17069 * gdb.reverse/finish-precsave.exp: Likewise.
17070 * gdb.reverse/i386-precsave.exp: Likewise.
17071 * gdb.reverse/machinestate-precsave.exp: Likewise.
17072 * gdb.reverse/sigall-precsave.exp: Likewise.
17073 * gdb.reverse/solib-precsave.exp: Likewise.
17074 * gdb.reverse/step-precsave.exp: Likewise.
17075 * gdb.reverse/until-precsave.exp: Likewise.
17076 * gdb.reverse/watch-precsave.exp: Likewise.
17077
17078 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17079
17080 * gdb.base/bp-permanent.c: Include unistd.h.
17081 * gdb.python/py-framefilter-mi.c (main): Add return type.
17082 * gdb.python/py-framefilter.c (main): Likewise.
17083 * gdb.trace/actions-changed.c (main): Likewise.
17084
17085 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17086
17087 * gdb.mi/until.c: Add eye-catchers.
17088 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17089 line numbers.
17090
17091 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17092
17093 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17094 function header variants in break1.c.
17095 * gdb.base/ena-dis-br.exp: Likewise.
17096 * gdb.base/hbreak2.exp: Likewise.
17097 * gdb.reverse/until-precsave.exp: Drop references to removed
17098 non-prototype function header variants in ur1.c.
17099 * gdb.reverse/until-reverse.exp: Likewise.
17100
17101 2014-11-17 Petr Machata <pmachata@redhat.com>
17102
17103 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17104 ${_cu_offset_size} bytes abbrev offset.
17105
17106 2014-11-15 Doug Evans <xdje42@gmail.com>
17107
17108 PR symtab/17559
17109 * gdb.base/line-symtabs.exp: New file.
17110 * gdb.base/line-symtabs.c: New file.
17111 * gdb.base/line-symtabs.h: New file.
17112
17113 2014-11-14 Yao Qi <yao@codesourcery.com>
17114
17115 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17116 (func): Add label func_label.
17117 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17118 Replace low_pc and high_pc with MACRO_AT_range.
17119 Replace name, low_pc and high_pc with MACRO_AT_func.
17120
17121 2014-11-14 Yao Qi <yao@codesourcery.com>
17122
17123 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17124 Replace name, low_pc and high_pc with MACRO_AT_func.
17125
17126 2014-11-14 Yao Qi <yao@codesourcery.com>
17127
17128 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17129 produce debug information.
17130 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17131
17132 2014-11-14 Yao Qi <yao@codesourcery.com>
17133
17134 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17135 object and get function length.
17136 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17137 with MACRO_AT_func.
17138 (top-level): Replace gdb_compile and clean_restart with
17139 prepare_for_testing.
17140 * gdb.dwarf2/main.c (main): Add label main_label.
17141
17142 2014-11-14 Yao Qi <yao@codesourcery.com>
17143
17144 * lib/dwarf.exp (function_range): New procedure.
17145 (Dwarf::_handle_macro_at_func): New procedure.
17146 (Dwarf::_handle_macro_at_range): New procedure.
17147 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17148
17149 2014-11-14 Yao Qi <yao@codesourcery.com>
17150
17151 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17152 (_handle_attribute): New procedure.
17153
17154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17155
17156 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17157 * gdb.base/call-sc.c (zed): Likewise.
17158 * gdb.base/checkpoint.c (main): Likewise.
17159 * gdb.base/dump.c (main): Likewise.
17160 * gdb.base/gcore.c (main): Likewise.
17161 * gdb.base/huge.c (main): Likewise.
17162 * gdb.base/multi-forks.c (main): Likewise.
17163 * gdb.base/pr10179-a.c (main): Likewise.
17164 * gdb.base/savedregs.c (main): Likewise.
17165 * gdb.base/sigaltstack.c (main): Likewise.
17166 * gdb.base/siginfo.c (main): Likewise.
17167 * gdb.base/structs.c (zed): Likewise.
17168 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17169 * gdb.mi/mi-syn-frame.c (main): Likewise.
17170 * gdb.mi/until.c (foo, main): Likewise.
17171 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17172 * gdb.base/solib-weak.c (foo): Declare.
17173 * gdb.base/attach-twice.c: Include stdio.h.
17174 * gdb.base/weaklib1.c: Likewise.
17175 * gdb.base/weaklib2.c: Likewise.
17176 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17177 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17178 unistd.h.
17179 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17180 * gdb.mi/mi-exit-code.c: Likewise.
17181 * gdb.base/break-interp-lib.c: Include string.h.
17182 * gdb.base/coremaker.c: Likewise.
17183 * gdb.base/testenv.c: Likewise.
17184 * gdb.python/py-finish-breakpoint.c: Likewise.
17185 * gdb.base/inferior-died.c: Include sys/wait.h.
17186 * gdb.base/fileio.c: Include time.h.
17187 * gdb.base/async-shell.c: Include unistd.h.
17188 * gdb.base/dprintf-non-stop.c: Likewise.
17189 * gdb.base/info-os.c: Likewise.
17190 * gdb.mi/mi-console.c: Likewise.
17191 * gdb.mi/watch-nonstop.c: Likewise.
17192 * gdb.python/py-events.c: Likewise.
17193 * gdb.base/async.c (baz): Move up before its invocation.
17194 * gdb.base/code_elim2.c (my_global_func): Likewise.
17195 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17196 * gdb.base/advance.c (func2): Likewise.
17197
17198 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17199
17200 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17201 variant.
17202 * gdb.base/annota3.c: Likewise.
17203 * gdb.base/async.c: Likewise.
17204 * gdb.base/average.c: Likewise.
17205 * gdb.base/call-ar-st.c: Likewise.
17206 * gdb.base/call-rt-st.c: Likewise.
17207 * gdb.base/call-sc.c: Likewise.
17208 * gdb.base/call-strs.c: Likewise.
17209 * gdb.base/ending-run.c: Likewise.
17210 * gdb.base/execd-prog.c: Likewise.
17211 * gdb.base/exprs.c: Likewise.
17212 * gdb.base/foll-exec.c: Likewise.
17213 * gdb.base/foll-fork.c: Likewise.
17214 * gdb.base/foll-vfork.c: Likewise.
17215 * gdb.base/funcargs.c: Likewise.
17216 * gdb.base/gcore.c: Likewise.
17217 * gdb.base/jump.c: Likewise.
17218 * gdb.base/langs0.c: Likewise.
17219 * gdb.base/langs1.c: Likewise.
17220 * gdb.base/langs2.c: Likewise.
17221 * gdb.base/mips_pro.c: Likewise.
17222 * gdb.base/nodebug.c: Likewise.
17223 * gdb.base/opaque0.c: Likewise.
17224 * gdb.base/opaque1.c: Likewise.
17225 * gdb.base/recurse.c: Likewise.
17226 * gdb.base/run.c: Likewise.
17227 * gdb.base/scope0.c: Likewise.
17228 * gdb.base/scope1.c: Likewise.
17229 * gdb.base/setshow.c: Likewise.
17230 * gdb.base/setvar.c: Likewise.
17231 * gdb.base/shmain.c: Likewise.
17232 * gdb.base/shr1.c: Likewise.
17233 * gdb.base/shr2.c: Likewise.
17234 * gdb.base/sigall.c: Likewise.
17235 * gdb.base/signals.c: Likewise.
17236 * gdb.base/so-indr-cl.c: Likewise.
17237 * gdb.base/solib2.c: Likewise.
17238 * gdb.base/structs.c: Likewise.
17239 * gdb.base/sum.c: Likewise.
17240 * gdb.base/vforked-prog.c: Likewise.
17241 * gdb.base/watchpoint.c: Likewise.
17242 * gdb.reverse/shr2.c: Likewise.
17243 * gdb.reverse/until-reverse.c: Likewise.
17244 * gdb.reverse/ur1.c: Likewise.
17245 * gdb.reverse/watch-reverse.c: Likewise.
17246
17247 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17248
17249 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17250 variant.
17251 * gdb.base/sepdebug.exp: Drop references to removed code.
17252
17253 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17254
17255 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17256 variant. Preserve original line numbering.
17257 * gdb.base/list1.c: Likewise.
17258
17259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17260
17261 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17262 variant.
17263 * gdb.base/break1.c: Likewise.
17264 * gdb.base/break.exp: Drop references to removed code.
17265
17266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17267
17268 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17269 variant.
17270
17271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17272
17273 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17274
17275 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17276
17277 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17278 logic into perform_all_tests() and invoke it with and without
17279 function header prototypes.
17280 (do_function_calls): Remove conditional XFAIL for PR 5318.
17281 (rerun_and_prepare): Remove duplicate code.
17282 (perform_all_tests): New. Main logic moved here.
17283
17284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17285
17286 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17287 code guarded by #ifdef NO_PROTOTYPES.
17288 (t_double_many_args): Likewise.
17289 (DEF_FUNC_MANY_ARGS_1): Likewise.
17290 (DEF_FUNC_VALUES_1): Likewise.
17291 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17292 guarded by #ifdef PROTOTYPES.
17293
17294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17295
17296 * gdb.mi/mi-console.c: Add eye-catcher.
17297 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17298 instead of literal line number.
17299
17300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17301
17302 * gdb.base/shr2.c: Add eye-catcher.
17303 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17304 line number.
17305
17306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17307
17308 * gdb.base/jump.c: Add eye-catchers.
17309 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17310 numbers.
17311
17312 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17313
17314 * gdb.base/execd-prog.c: Add eye-catchers.
17315 * gdb.base/foll-exec.c: Likewise.
17316 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17317 line numbers.
17318
17319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17320
17321 * gdb.base/ending-run.c: Add eye-catchers.
17322 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17323 literal line numbers.
17324
17325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17326
17327 * gdb.base/call-rt-st.c: Add eye-catchers.
17328 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17329 literal line numbers.
17330
17331 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17332
17333 * gdb.base/call-ar-st.c: Add eye-catchers.
17334 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17335 literal line numbers.
17336
17337 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17338
17339 * gdb.base/average.c: Add eye-catchers.
17340 * gdb.base/sum.c: Likewise.
17341 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17342 regexps dynamically.
17343
17344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17345
17346 * gdb.base/solib1.c: Add eye-catchers.
17347 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17348 literal line numbers.
17349
17350 2014-11-12 Pedro Alves <palves@redhat.com>
17351
17352 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17353 leader has exited.
17354
17355 2014-11-12 Pedro Alves <palves@redhat.com>
17356
17357 * gdb.arch/i386-bp_permanent.c: New file.
17358 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17359 (srcfile): Set to i386-bp_permanent.c.
17360 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17361 that stepi does not execute the 'leave' instruction, instead of
17362 testing it does execute.
17363 * gdb.base/bp-permanent.c: New file.
17364 * gdb.base/bp-permanent.exp: New file.
17365
17366 2014-11-10 Doug Evans <xdje42@gmail.com>
17367
17368 PR symtab/17564
17369 * gdb.base/symtab-search-order.exp: New file.
17370 * gdb.base/symtab-search-order.c: New file.
17371 * gdb.base/symtab-search-order-1.c: New file.
17372 * gdb.base/symtab-search-order-shlib-1.c: New file.
17373
17374 2014-11-07 Pedro Alves <palves@redhat.com>
17375
17376 PR gdb/17511
17377 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17378 i?86-*-linux*.
17379
17380 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17381
17382 PR c++/17494
17383 * gdb.cp/pr17494.cc: New file.
17384 * gdb.cp/pr17494.exp: New file.
17385
17386 2014-11-02 Yao Qi <yao@codesourcery.com>
17387
17388 * gdb.python/python.exp: Get working directory and match the
17389 output of "set extended-prompt \\w " with it.
17390
17391 2014-10-30 Doug Evans <dje@google.com>
17392
17393 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17394 in objfiles.
17395 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17396 in progspaces.
17397
17398 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
17399
17400 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17401 * gdb.base/realname-expand.exp: Likewise.
17402 * gdb.linespec/macro-relative.exp: Likewise.
17403
17404 2014-10-29 Pedro Alves <palves@redhat.com>
17405
17406 PR gdb/17408
17407 * gdb.threads/schedlock.c (some_function): New function.
17408 (call_function): New global.
17409 (MAYBE_CALL_SOME_FUNCTION): New macro.
17410 (thread_function): Call it.
17411 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17412 and use it instead of a global counter. Adjust all callers.
17413 (get_current_thread): Use "find current thread" for test message
17414 here rather than having all callers pass down the same string.
17415 (goto_loop): New procedure, factored out from ...
17416 (my_continue): ... this.
17417 (step_ten_loops): Change parameter from test message to command to
17418 use. Adjust.
17419 (list_count): Delete global.
17420 (check_result): New procedure, factored out from duplicate top
17421 level code.
17422 (continue tests): Wrap in with_test_prefix.
17423 (test_step): New procedure, factored out from duplicate top level
17424 code.
17425 (top level): Test "step" in combination with all scheduler-locking
17426 modes. Test "next" in combination with all scheduler-locking
17427 modes, and in combination with stepping over a function call or
17428 not.
17429 * gdb.threads/next-bp-other-thread.c: New file.
17430 * gdb.threads/next-bp-other-thread.exp: New file.
17431
17432 2014-10-29 Pedro Alves <palves@redhat.com>
17433
17434 PR python/17372
17435 * gdb.python/python.exp: Test a multi-line command that spawns
17436 interactive Python.
17437 * gdb.base/multi-line-starts-subshell.exp: New file.
17438
17439 2014-10-29 Yao Qi <yao@codesourcery.com>
17440
17441 * gdb.base/fileio.exp: Make directories on host.
17442
17443 2014-10-29 Yao Qi <yao@codesourcery.com>
17444
17445 * gdb.base/fileio.c (test_write): Close the file.
17446
17447 2014-10-28 Pedro Alves <palves@redhat.com>
17448
17449 PR gdb/12623
17450 * gdb.base/sigstep.c (no_handler): New global.
17451 (main): If 'no_handler is true, set the signal handlers to
17452 SIG_IGN.
17453 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17454 with_sw_watch and no_handler parameters. Handle them.
17455 (top level) <stepping over handler when stopped at a breakpoint
17456 test>: Add a test axis for testing with a software watchpoint, and
17457 another for testing with the signal handler set to SIG_IGN.
17458 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17459 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17460
17461 2014-10-28 Pedro Alves <palves@redhat.com>
17462
17463 PR gdb/17511
17464 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17465 * gdb.base/sigstep.exp (other_handler_location): New global.
17466 (advance): Support stepping into the signal handler, and running
17467 commands while in the handler.
17468 (in_handler_map): New global.
17469 (top level): In the advance test, add combinations for getting
17470 into the handler with stepping commands, and for running commands
17471 in the handler. Add comment descripting the advancei tests.
17472
17473 2014-10-28 Pedro Alves <palves@redhat.com>
17474
17475 * gdb.base/sigstep.exp: Use build_executable instead of
17476 prepare_for_testing.
17477 (top level): Move code that starts GDB, runs to main and creates a
17478 display to ...
17479 (restart): ... this new procedure.
17480 (top level): Move backtrace from signal handler test to ...
17481 (validate_backtrace): ... this new procedure.
17482 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17483 with_test_prefix. Always restart GDB.
17484 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17485 with_test_prefix. Always restart GDB. No need to delete
17486 breakpoints after the test.
17487 (test_skip_handler): Remove prefix parameter.
17488 (skip_over_handler, breakpoint_to_handler)
17489 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17490 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17491 restart GDB. No need to delete breakpoints after the test.
17492 (top level): Use foreach to call the test procedures with
17493 different commands.
17494
17495 2014-10-28 Pedro Alves <palves@redhat.com>
17496
17497 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17498 instead of GNATS numbers.
17499 * gdb.base/sigbpt.exp: Likewise.
17500 * gdb.base/siginfo.exp: Likewise.
17501 * gdb.base/sigstep.exp: Likewise.
17502
17503 2014-10-27 Pedro Alves <palves@redhat.com>
17504
17505 * gdb.base/sigstep.c (dummy): New global.
17506 (main): Issue a couple writes to the new global.
17507 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17508 procedures.
17509 (skip_over_handler): Use test_skip_handler.
17510 (top level): Call skip_over_handler for stepi and nexti too.
17511 (breakpoint_over_handler): Use test_skip_handler.
17512 (top level): Call breakpoint_over_handler for stepi and nexti too.
17513
17514 2014-10-27 Yao Qi <yao@codesourcery.com>
17515
17516 * gdb.trace/tfile.c (adjust_function_address)
17517 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17518 function descriptor.
17519
17520 2014-10-24 Don Breazeal <donb@codesourcery.com>
17521
17522 * gdb.base/foll-fork.exp (test_follow_fork,
17523 catch_fork_child_follow): Check for updated fork messages emitted
17524 from infrun.c.
17525 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17526 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17527 vfork_and_exec_child_follow_through_step): Check for updated vfork
17528 messages emitted from infrun.c.
17529
17530 2014-10-24 Pedro Alves <palves@redhat.com>
17531
17532 * gdb.base/corefile.exp: Remove references to ultrix.
17533 * gdb.base/interrupt.exp: Likewise.
17534 * gdb.base/whatis.exp: Likewise.
17535 * gdb.gdb/selftest.exp: Likewise.
17536 * gdb.threads/manythreads.exp: Likewise.
17537 * gdb.threads/print-threads.exp: Likewise.
17538 * gdb.threads/pthreads.exp:: Likewise.
17539 * gdb.threads/schedlock.exp: Likewise.
17540
17541 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17542
17543 * gdb.cp/non-trivial-retval.cc: Add a test case.
17544 * gdb.cp/non-trivial-retval.exp: Add a test.
17545
17546 2014-10-20 Yao Qi <yao@codesourcery.com>
17547
17548 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17549 * gdb.python/py-objfile-script-gdb.py: New file.
17550 * gdb.python/py-objfile-script.exp: Update reference to
17551 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17552 of remote_download. Remove the dest file.
17553
17554 2014-10-20 Yao Qi <yao@codesourcery.com>
17555
17556 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17557 * gdb.base/step-line.exp: Likewise.
17558 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17559 * gdb.dwarf2/dw2-basic.exp: Likewise.
17560 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17561 * gdb.dwarf2/dw2-filename.exp: Likewise.
17562 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17563 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17564 * gdb.dwarf2/dw2-producer.exp: Likewise.
17565 * gdb.dwarf2/mac-fileno.exp: Likewise.
17566 * gdb.python/py-frame-args.exp: Likewise.
17567 * gdb.python/py-framefilter.exp: Likewise.
17568 * gdb.python/py-mi.exp: Likewise.
17569 * gdb.python/py-objfile-script.exp: Likewise
17570 * gdb.python/py-pp-integral.exp: Likewise.
17571 * gdb.python/py-pp-re-notag.exp: Likewise.
17572 * gdb.python/py-prettyprint.exp: Likewise.
17573 * gdb.python/py-section-script.exp: Likewise.
17574 * gdb.python/py-typeprint.exp: Likewise.
17575 * gdb.python/py-xmethods.exp: Likewise.
17576 * gdb.stabs/weird.exp: Likewise.
17577 * gdb.xml/tdesc-regs.exp: Likewise.
17578
17579 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17580
17581 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17582 (out_cu): Use addr_len for the size of addresses.
17583 (out_line): Likewise. Size DW_LNE_set_address instruction
17584 according to addr_len.
17585 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17586 (FUNC): Add START_INSNS to definition.
17587
17588 2014-10-18 Yao Qi <yao@codesourcery.com>
17589
17590 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17591 gdb_has_argv0 return true.
17592 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17593 check [target_info exists noargs], check [gdb_has_argv0]
17594 instead.
17595 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17596 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17597 procedures.
17598
17599 2014-10-17 Doug Evans <dje@google.com>
17600
17601 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17602 event.
17603 * gdb.python/py-events.py: Add clear_objfiles event.
17604
17605 2014-10-17 Doug Evans <dje@google.com>
17606
17607 * gdb.python/py-objfile.exp: Test progspace attribute.
17608
17609 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
17610
17611 * gdb.guile/scm-breakpoint.exp: Do not assume any
17612 directory separators when matching source file paths.
17613 * gdb.python/py-breakpoint.exp: Likewise.
17614 * gdb.reverse/break-precsave.exp: Likewise.
17615 * gdb.reverse/break-reverse.exp: Likewise.
17616 * gdb.reverse/consecutive-precsave.exp: Likewise.
17617 * gdb.reverse/finish-precsave.exp: Likewise.
17618 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17619 * gdb.reverse/finish-reverse.exp: Likewise.
17620 * gdb.reverse/i386-precsave.exp: Likewise.
17621 * gdb.reverse/i387-env-reverse.exp: Likewise.
17622 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17623 * gdb.reverse/machinestate-precsave.exp: Likewise.
17624 * gdb.reverse/machinestate.exp: Likewise.
17625 * gdb.reverse/sigall-precsave.exp: Likewise.
17626 * gdb.reverse/solib-precsave.exp: Likewise.
17627 * gdb.reverse/step-precsave.exp: Likewise.
17628 * gdb.reverse/until-precsave.exp: Likewise.
17629 * gdb.reverse/watch-precsave.exp: Likewise.
17630 * gdb.reverse/watch-reverse.exp: Likewise.
17631
17632 2014-10-17 Yao Qi <yao@codesourcery.com>
17633
17634 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17635 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17636
17637 2014-10-17 Pedro Alves <palves@redhat.com>
17638
17639 PR gdb/17471
17640 * gdb.base/bg-execution-repeat.c: New file.
17641 * gdb.base/bg-execution-repeat.exp: New file.
17642
17643 2014-10-17 Pedro Alves <palves@redhat.com>
17644
17645 PR gdb/17300
17646 * gdb.base/continue-all-already-running.c: New file.
17647 * gdb.base/continue-all-already-running.exp: New file.
17648
17649 2014-10-17 Pedro Alves <palves@redhat.com>
17650
17651 PR gdb/17472
17652 * gdb.base/annota-input-while-running.c: New file.
17653 * gdb.base/annota-input-while-running.exp: New file.
17654
17655 2014-10-17 Pedro Alves <palves@redhat.com>
17656
17657 * gdb.base/callfuncs.exp: emove references to osf.
17658 * gdb.base/sigall.exp: Likewise.
17659 * gdb.gdb/selftest.exp: Likewise.
17660 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17661 * gdb.mi/non-stop.c: Likewise.
17662 * gdb.mi/pthreads.c: Likewise.
17663 * gdb.reverse/sigall-precsave.exp: Likewise.
17664 * gdb.reverse/sigall-reverse.exp: Likewise.
17665 * gdb.threads/pthreads.c: Likewise.
17666 * gdb.threads/pthreads.exp: Likewise.
17667
17668 2014-10-17 Yao Qi <yao@codesourcery.com>
17669
17670 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17671 check 'target_info exists noargs'.
17672 (test_command_prompt_position): Likewise.
17673 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17674 Remove "set args".
17675 (progvar_simple_while_test): Likewise.
17676 (progvar_complex_if_while_test): Likewise.
17677 (if_while_breakpoint_command_test): Likewise.
17678 (infrun_breakpoint_command_test): Likewise.
17679 (breakpoint_command_test): Likewise.
17680 (watchpoint_command_test): Likewise.
17681 (bp_deleted_in_command_test): Likewise.
17682 (temporary_breakpoint_commands): Likewise.
17683
17684 2014-10-16 Yao Qi <yao@codesourcery.com>
17685
17686 * gdb.base/remotetimeout.exp: Remove noargs checking.
17687
17688 2014-10-15 Pedro Alves <palves@redhat.com>
17689
17690 PR breakpoints/9649
17691 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17692 * gdb.base/breakpoint-in-ro-region.exp
17693 (probe_target_hardware_step): New procedure.
17694 (top level): Probe hardware stepping and hardware breakpoint
17695 support. Test stepping through a read-only region, with both
17696 "breakpoint auto-hw" on and off and both "always-inserted" on and
17697 off.
17698
17699 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17700
17701 * gdb.dlang/demangle.exp: Update for demangling changes.
17702
17703 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17704
17705 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17706 * gdb.cp/non-trivial-retval.exp: Add new tests.
17707
17708 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17709
17710 PR c++/13403
17711 PR c++/15154
17712 * gdb.cp/non-trivial-retval.cc: New file.
17713 * gdb.cp/non-trivial-retval.exp: New file.
17714
17715 2014-10-15 Yao Qi <yao@codesourcery.com>
17716
17717 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17718 remote host.
17719
17720 2014-10-15 Yao Qi <yao@codesourcery.com>
17721
17722 * gdb.python/py-symbol.exp: Match file base name if host is
17723 remote, otherwise match file name with dir name.
17724 * gdb.python/py-symtab.exp: Likewise.
17725 * gdb.python/python.exp: Likewise.
17726
17727 2014-10-15 Yao Qi <yao@codesourcery.com>
17728
17729 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17730 pattern.
17731 * gdb.python/py-symtab.exp: Likewise.
17732 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17733 locationn.
17734
17735 2014-10-14 Joel Brobecker <brobecker@adacore.com>
17736
17737 * gdb.ada/addr_arith: New testcase.
17738
17739 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17740
17741 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17742 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17743 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17744 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17745
17746 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17747
17748 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17749 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17750 * gdb.arch/stap-eval-lang-ada.exp: New file.
17751
17752 2014-10-14 Yao Qi <yao@codesourcery.com>
17753
17754 * gdb.mi/mi-var-child.c (nothing1): New function.
17755 (nothing2): New function.
17756 (do_children_tests): Set function pointers by nothing1 and
17757 nothing2.
17758 * gdb.mi/mi-var-child.exp: Step over new added statements.
17759 Update test to match the new output.
17760 * gdb.mi/var-cmd.c (nothing1): New function.
17761 (nothing2): New function.
17762 (do_children_tests): Set function pointers by nothing1 and
17763 nothing2.
17764 * gdb.mi/mi-var-display.exp: Update test to match output.
17765 Step to the line specified by $line_dct_nothing.
17766 Increase the number of lines to step.
17767
17768 2014-10-14 Yao Qi <yao@codesourcery.com>
17769
17770 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17771 tests.
17772 * gdb.mi/mi2-var-child.exp: Likewise.
17773
17774 2014-10-13 Doug Evans <dje@google.com>
17775
17776 * gdb.python/py-objfile.exp: Change name of file name test.
17777
17778 2014-10-13 Doug Evans <dje@google.com>
17779
17780 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17781 from the start of the CU.
17782
17783 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17784 Yao Qi <yao@codesourcery.com>
17785
17786 Fix "save breakpoints" for "catch" command.
17787 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17788 Remove -nonewline. Match also the added "main" line.
17789
17790 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17791
17792 Fix "save breakpoints" for "disable $bpnum" command.
17793 * gdb.base/save-bp.c (main): Add label.
17794 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17795
17796 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17797
17798 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17799
17800 2014-10-11 Yao Qi <yao@codesourcery.com>
17801
17802 * gdb.server/server-kill.exp: Execute command
17803 "set remote trace-status-packet on" before "tstatus".
17804
17805 2014-10-11 Yao Qi <yao@codesourcery.com>
17806
17807 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17808 (main): Call getppid.
17809 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17810 and continue to it. Read variable "server_pid".
17811
17812 2014-10-11 Yao Qi <yao@codesourcery.com>
17813
17814 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17815
17816 2014-10-11 Yao Qi <yao@codesourcery.com>
17817
17818 * gdb.threads/thread-find.exp: Don't execute command
17819 "info threads".
17820 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17821 * gdb.threads/linux-dp.exp: Don't check the condition
17822 $threads_created equals to zero.
17823
17824 2014-10-10 Pedro Alves <palves@redhat.com>
17825
17826 * gdb.base/bigcore.exp: Remove references to IRIX.
17827 * gdb.base/funcargs.exp: Likewise.
17828 * gdb.base/interrupt.exp: Likewise.
17829 * gdb.base/mips_pro.exp: Likewise.
17830 * gdb.base/nodebug.exp: Likewise.
17831 * gdb.base/setvar.exp: Likewise.
17832 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17833
17834 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17835 Pedro Alves <palves@redhat.com>
17836
17837 PR symtab/14466
17838 * gdb.base/vdso-warning.c: New file.
17839 * gdb.base/vdso-warning.exp: New file.
17840
17841 2014-10-02 Doug Evans <dje@google.com>
17842
17843 * gdb.base/structs.c (main): Don't run forever.
17844
17845 2014-10-02 Pedro Alves <palves@redhat.com>
17846
17847 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17848 (top level) <stop threads 1, stop threads 2>: Use it.
17849
17850 2014-10-02 Pedro Alves <palves@redhat.com>
17851
17852 * gdb.threads/break-while-running.exp (test): Add new
17853 'update_thread_list' argument. Skip "info threads" if false.
17854 (top level): Add new 'update_thread_list' axis.
17855
17856 2014-10-02 Pedro Alves <palves@redhat.com>
17857
17858 PR breakpoints/17431
17859 * gdb.base/execl-update-breakpoints.c: New file.
17860 * gdb.base/execl-update-breakpoints.exp: New file.
17861
17862 2014-10-01 Pedro Alves <palves@redhat.com>
17863
17864 * gdb.base/breakpoint-in-ro-region.c: New file.
17865 * gdb.base/breakpoint-in-ro-region.exp: New file.
17866
17867 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17868
17869 * gdb.mi/mi-exit-code.exp: New file.
17870 * gdb.mi/mi-exit-code.c: New file.
17871
17872 2014-09-30 Yao Qi <yao@codesourcery.com>
17873
17874 * lib/prelink-support.exp (build_executable_own_libs): Error if
17875 the target isn't native.
17876
17877 2014-09-30 Yao Qi <yao@codesourcery.com>
17878
17879 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17880 false.
17881
17882 2014-09-22 Pedro Alves <palves@redhat.com>
17883
17884 * gdb.threads/break-while-running.exp: New file.
17885 * gdb.threads/break-while-running.c: New file.
17886
17887 2014-09-19 Yao Qi <yao@codesourcery.com>
17888
17889 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17890 Invoke test. Restart GDB with --readnow and invoke test again.
17891
17892 2014-09-19 Yao Qi <yao@codesourcery.com>
17893
17894 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17895 proc set_breakpoint_on_gcd_function. Invoke
17896 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17897 invoke set_breakpoint_on_gcd_function again.
17898
17899 2014-09-18 Doug Evans <dje@google.com>
17900
17901 * gdb.dwarf2/symtab-producer.exp: New file.
17902
17903 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17904
17905 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17906 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17907 * gdb.base/global-var-nested-by-dso.c: Likewise.
17908 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17909
17910 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17911 Pedro Alves <palves@redhat.com>
17912
17913 * gdb.base/watch-bitfields.exp: Pass string other than test file
17914 name to prepare_for_testing.
17915 (watch): New procedure.
17916 (expect_watchpoint): Use with_test_prefix.
17917 (top level): Factor out tests to ...
17918 (test_watch_location, test_regular_watch): ... these new
17919 procedures, and use with_test_prefix and gdb_continue_to_end.
17920
17921 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17922
17923 PR breakpoints/12526
17924 * gdb.base/watch-bitfields.exp: New file.
17925 * gdb.base/watch-bitfields.c: New file.
17926
17927 2014-09-16 Pedro Alves <palves@redhat.com>
17928
17929 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17930 software and hardware addresses, not software address against
17931 itself.
17932
17933 2014-09-16 Pedro Alves <palves@redhat.com>
17934
17935 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17936 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17937
17938 2014-09-16 Pedro Alves <palves@redhat.com>
17939
17940 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17941 files.
17942 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17943 "*-*-vxworks*" throughout.
17944 * gdb.base/break.exp: Likewise.
17945 * gdb.base/default.exp: Likewise.
17946 * gdb.base/scope.exp: Likewise.
17947 * gdb.base/sepdebug.exp: Likewise.
17948 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17949 throughout.
17950 * gdb.base/run.c: Likewise.
17951 * gdb.base/sepdebug.c: Likewise.
17952 * gdb.hp/gdb.aCC/run.c: Likewise.
17953 * gdb.reverse/until-reverse.c: Likewise.
17954 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17955
17956 2014-09-16 Yao Qi <yao@codesourcery.com>
17957
17958 * boards/local-remote-host-native.exp: New file.
17959
17960 2014-09-14 Doug Evans <xdje42@gmail.com>
17961
17962 * gdb.threads/queue-signal.c (thread_count): New variable.
17963 (thread_count_mutex, thread_count_condvar): New variables.
17964 (incr_thread_count, wait_all_threads_running): New functions.
17965 (main): Wait for all threads to be in their thread functions.
17966
17967 2014-09-13 Doug Evans <xdje42@gmail.com>
17968
17969 * gdb.threads/queue-signal.c: New file.
17970 * gdb.threads/queue-signal.exp: New file.
17971
17972 2014-09-13 Doug Evans <xdje42@gmail.com>
17973
17974 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17975 be consistent with what default_gdb_init uses.
17976 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17977 the plain text of the prompt. Add some logging printfs.
17978 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17979
17980 2014-09-12 Pedro Alves <palves@redhat.com>
17981
17982 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17983 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17984 * gdb.arch/i386-size-overlap.exp: Likewise.
17985 * gdb.arch/i386-size.exp: Likewise.
17986 * gdb.arch/i386-unwind.exp: Likewise.
17987 * gdb.base/a2-run.exp: Likewise.
17988 * gdb.base/break.exp: Likewise.
17989 * gdb.base/charset.exp: Likewise.
17990 * gdb.base/chng-syms.exp: Likewise.
17991 * gdb.base/commands.exp: Likewise.
17992 * gdb.base/dbx.exp: Likewise.
17993 * gdb.base/find.exp: Likewise.
17994 * gdb.base/funcargs.exp: Likewise.
17995 * gdb.base/jit-simple.exp: Likewise.
17996 * gdb.base/reread.exp: Likewise.
17997 * gdb.base/sepdebug.exp: Likewise.
17998 * gdb.base/step-bt.exp: Likewise.
17999 * gdb.cp/mb-inline.exp: Likewise.
18000 * gdb.cp/mb-templates.exp: Likewise.
18001 * gdb.objc/basicclass.exp: Likewise.
18002 * gdb.threads/killed.exp: Likewise.
18003
18004 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18005
18006 PR tdep/17379
18007 * gdb.arch/powerpc-stackless.S: New file.
18008 * gdb.arch/powerpc-stackless.exp: New file.
18009
18010 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18011
18012 * gdb.base/attach.c: Include unistd.h.
18013 (main): Call alarm. Add label postloop.
18014 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18015 gdb_breakpoint, gdb_continue_to_breakpoint.
18016 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18017
18018 2014-09-11 Pedro Alves <palves@redhat.com>
18019
18020 PR gdb/17347
18021 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18022 * gdb.base/attach.exp (test_command_line_attach_run): New
18023 procedure.
18024 (top level): Call it.
18025
18026 2014-09-11 Pedro Alves <palves@redhat.com>
18027
18028 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18029 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18030 (do_command_attach_tests): Use spawn_wait_for_attach.
18031 * gdb.base/solib-overlap.exp: Likewise.
18032 * gdb.multi/multi-attach.exp: Likewise.
18033 * gdb.python/py-prompt.exp: Likewise.
18034 * gdb.python/py-sync-interp.exp: Likewise.
18035 * gdb.server/ext-attach.exp: Likewise.
18036
18037 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18038
18039 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18040 command in testcase. Simplify testcase.
18041
18042 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18043
18044 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18045
18046 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18047
18048 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18049
18050 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18051
18052 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18053
18054 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18055
18056 * gdb.dwarf2/dynarr-ptr.c: New file.
18057 * gdb.dwarf2/dynarr-ptr.exp: New file.
18058
18059 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18060
18061 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18062 of 30 rather than hardcoding 120 for a slow test case. Take the
18063 `gdb,timeout' target setting into account for this calculation.
18064 Don't extend the timeout for the test cases that don't need it.
18065
18066 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18067
18068 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18069 a factor of 2 for a slow test case. Take the `gdb,timeout'
18070 target setting into account for this calculation.
18071 * gdb.reverse/until-precsave.exp: Increase the timeout by
18072 a factor of 15 and 3 respectively rather than adding 120
18073 for a pair of slow test cases. Take the `gdb,timeout'
18074 target setting into account for this calculation.
18075
18076 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18077
18078 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18079 timeout, don't pass one down to gdb_expect.
18080 (gdb_expect): Rework timeout selection.
18081
18082 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18083
18084 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18085 exception on timeout.
18086 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18087 (gdbserver_start_extended): Catch any `gdbserver_start' error
18088 exceptions.
18089 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18090 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18091 `gdbserver_gdb_load' error exceptions.
18092
18093 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18094
18095 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18096 120 on waiting for the TCP socket to open.
18097
18098 2014-09-09 Doug Evans <xdje42@gmail.com>
18099
18100 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18101 _caller_matches, _any_caller_is, _any_caller_matches.
18102
18103 2014-09-09 Doug Evans <xdje42@gmail.com>
18104
18105 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18106
18107 2014-09-09 Yao Qi <yao@codesourcery.com>
18108
18109 * gdb.mi/mi-var-display.exp: Set print symbol off.
18110
18111 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18112
18113 PR gdb/17035
18114 * gdb.base/commands.exp: Add tests to verify user-defined
18115 commands with empty bodies.
18116 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18117 python commands in `show user command`.
18118 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18119 scheme commands in `show user command`.
18120
18121 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18122
18123 PR python/17355
18124 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18125 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18126 * gdb.python/py-framefilter-invalidarg.exp: New file.
18127 * gdb.python/py-framefilter-invalidarg.py: New file.
18128
18129 2014-09-06 Doug Evans <xdje42@gmail.com>
18130
18131 PR 15276
18132 * gdb.python/py-caller-is.c: New file.
18133 * gdb.python/py-caller-is.exp: New file.
18134
18135 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18136
18137 PR gdb/17235
18138 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18139 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18140
18141 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18142
18143 PR fortran/17237
18144 * gdb.fortran/print-formatted.exp: New file.
18145 * gdb.fortran/print-formatted.f90: Likewise.
18146
18147 2014-09-03 Sasha Smundak <asmundak@google.com>
18148
18149 * gdb.python/py-frame.exp: Test Frame.read_register.
18150
18151 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18152
18153 PR python/16699
18154 * gdb.python/py-completion.exp: New file.
18155 * gdb.python/py-completion.py: Likewise.
18156
18157 2014-08-28 Doug Evans <dje@google.com>
18158
18159 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18160 eax,etc. are live with values set by gdb and thus the compiler can't
18161 use them.
18162 * gdb.arch/i386-pseudo.c (main): Ditto.
18163
18164 2014-08-27 Doug Evans <dje@google.com>
18165
18166 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18167
18168 2014-08-25 Doug Evans <dje@google.com>
18169
18170 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18171 (main): Ditto.
18172
18173 2014-08-25 Doug Evans <dje@google.com>
18174
18175 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18176
18177 2014-08-24 Yao Qi <yao@codesourcery.com>
18178
18179 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18180 symbol off.
18181 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18182
18183 2014-08-22 Doug Evans <dje@google.com>
18184
18185 PR 17276
18186 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18187 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18188 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18189
18190 2014-08-22 Yao Qi <yao@codesourcery.com>
18191
18192 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18193 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18194 * gdb.python/python.exp: Likewise. Use .py file on the host
18195 instead of the build.
18196
18197 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18198
18199 * gdb.threads/gcore-stale-thread.c: New file.
18200 * gdb.threads/gcore-stale-thread.exp: New file.
18201
18202 2014-08-21 Pedro Alves <palves@redhat.com>
18203
18204 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18205 * gdb.base/gcore-relro-pie.exp: Likewise.
18206 * gdb.base/gcore-relro.exp: Likewise.
18207 * gdb.base/gcore.exp: Likewise.
18208 * gdb.base/print-symbol-loading.exp: Likewise.
18209 * gdb.threads/gcore-thread.exp: Likewise.
18210 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18211
18212 2014-08-20 Pedro Alves <palves@redhat.com>
18213 Jan Kratochvil <jan.kratochvil@redhat.com>
18214
18215 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18216 configure.
18217 (EXPECT): Handle READ1 being set.
18218 (all): Depend on EXTRA_RULES.
18219 (check-read1, expect-read1, read1.so, read1): New rules.
18220 * README (Testsuite Parameters): Document the READ1 make variable.
18221 (Race detection): New section.
18222 * configure: Regenerate.
18223 * configure.ac: If build==host==target, and running under a
18224 GNU/glibc system, add read1 to the extra Makefile rules.
18225 (EXTRA_RULES): AC_SUBST it.
18226 * lib/read1.c: New file.
18227
18228 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18229
18230 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18231 the handling of variables declared as a typedef to an array
18232 which a DW_AT_data_location attribute.
18233
18234 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18235 Pedro Alves <palves@redhat.com>
18236
18237 PR symtab/14604
18238 PR symtab/14605
18239 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18240 gdb_test.
18241
18242 2014-08-19 Pedro Alves <palves@redhat.com>
18243
18244 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18245
18246 2014-08-19 Yao Qi <yao@codesourcery.com>
18247
18248 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18249 right line.
18250
18251 2014-08-18 David Blaikie <dblaikie@gmail.com>
18252
18253 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18254
18255 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18256
18257 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18258 attribute in array range.
18259
18260 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18261
18262 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18263
18264 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18265
18266 PR c++/17132
18267 * gdb.cp/pr17132.cc: New file.
18268 * gdb.cp/pr17132.exp: New file.
18269
18270 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18271
18272 * gdb.python/py-xmethods.py (A_getarrayind)
18273 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18274 Use 'print' with function call syntax.
18275 (E_method_matcher.match): Fix tab vs space indentation mixup.
18276
18277 2014-08-15 Yao Qi <yao@codesourcery.com>
18278
18279 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18280 false.
18281
18282 2014-08-15 Yao Qi <yao@codesourcery.com>
18283
18284 * gdb.cp/casts.exp: Set print symbol off.
18285 * gdb.cp/class2.exp: Likewise.
18286 * gdb.cp/overload.exp: Likewise.
18287 * gdb.cp/templates.exp: Likewise.
18288
18289 2014-08-11 Doug Evans <dje@google.com>
18290
18291 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18292 (test_load_shlib): Update.
18293
18294 2014-08-09 Yao Qi <yao@codesourcery.com>
18295
18296 * gdb.base/display.exp: Invoke is_address_zero_readable.
18297 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18298 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18299 * gdb.base/hbreak-unmapped.exp: Return if
18300 is_address_zero_readable returns true.
18301 * gdb.base/signest.exp: Likewise.
18302 * gdb.base/signull.exp: Likewise.
18303 * gdb.base/sigbpt.exp: Likewise.
18304 * gdb.guile/scm-disasm.exp: Do the test if
18305 is_address_zero_readable returns false.
18306 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18307 * gdb.python/py-arch.exp: Likewise.
18308 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18309 * lib/gdb.exp (is_address_zero_readable): New proc.
18310
18311 2014-08-09 Yao Qi <yao@codesourcery.com>
18312
18313 PR testsuite/13443
18314 * gdb.mi/mi-var-display.exp: Make test messages unique.
18315
18316 2014-08-04 Tom Tromey <tromey@redhat.com>
18317
18318 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18319 target 0".
18320
18321 2014-08-04 Tom Tromey <tromey@redhat.com>
18322
18323 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18324 "target_resume".
18325
18326 2014-08-01 Joel Brobecker <brobecker@adacore.com>
18327
18328 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18329 inner_vla_struct_object_size.
18330 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18331 as xfail.
18332
18333 2014-07-30 Pedro Alves <palves@redhat.com>
18334
18335 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18336 comment.
18337
18338 2014-07-29 Yao Qi <yao@codesourcery.com>
18339
18340 PR gdb/17206
18341 * gdb.base/until-nodebug.exp: New.
18342
18343 2014-07-28 Doug Evans <xdje42@gmail.com>
18344
18345 PR guile/17203
18346 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18347 previously existing parameter, and previously ambiguously spelled
18348 parameter.
18349
18350 2014-07-28 Will Newton <will.newton@linaro.org>
18351
18352 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18353
18354 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18355 Doug Evans <xdje42@gmail.com>
18356
18357 PR guile/17146
18358 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18359
18360 2014-07-25 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.threads/signal-command-handle-nopass.c: New file.
18363 * gdb.threads/signal-command-handle-nopass.exp: New file.
18364 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18365 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18366 * gdb.threads/signal-delivered-right-thread.c: New file.
18367 * gdb.threads/signal-delivered-right-thread.exp: New file.
18368
18369 2014-07-25 Pedro Alves <palves@redhat.com>
18370
18371 * gdb.base/double-prompt-target-event-error.exp
18372 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18373 match.
18374 (cancel_pagination_in_target_event): Rework double prompt
18375 detection.
18376 * gdb.base/paginate-after-ctrl-c-running.exp
18377 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18378 <return>' match.
18379 * gdb.base/paginate-bg-execution.exp
18380 (test_bg_execution_pagination_return)
18381 (test_bg_execution_pagination_cancel): Remove '-notransfer
18382 <return>' matches.
18383 * gdb.base/paginate-execution-startup.exp
18384 (test_fg_execution_pagination_return)
18385 (test_fg_execution_pagination_cancel): Remove '-notransfer
18386 <return>' matches.
18387 * gdb.base/paginate-inferior-exit.exp
18388 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18389 match.
18390 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18391 * lib/gdb.exp (pagination_prompt): Run text through
18392 string_to_regexp.
18393 (gdb_test_multiple): Match $pagination_prompt instead of
18394 "<return>".
18395 (string_to_regexp): Move to lib/gdb-utils.exp.
18396
18397 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18398
18399 * gdb.arch/amd64-entry-value-paramref.S: New file.
18400 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18401 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18402 * gdb.arch/amd64-optimout-repeat.S: New file.
18403 * gdb.arch/amd64-optimout-repeat.c: New file.
18404 * gdb.arch/amd64-optimout-repeat.exp: New file.
18405
18406 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18407
18408 PR gdb/17170
18409 * gdb.base/statistics.exp: New file.
18410
18411 2014-07-17 Doug Evans <dje@google.com>
18412
18413 PR gdb/17170
18414 * gdb.base/maint.exp: Update testing of per-command stats.
18415
18416 2014-07-16 Pedro Alves <palves@redhat.com>
18417
18418 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18419 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18420 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18421 (tfile_write_buf): New functions.
18422 (add_memory_block): Rewrite using the above.
18423 (adjust_function_address): New function.
18424 (FUNCTION_ADDRESS): New macro.
18425 (write_basic_trace_file): Remove short_x local, and use
18426 tfile_write_16. Change type of func_addr local to unsigned long
18427 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18428 here. Cast argument of add_memory_block to char pointer.
18429 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18430 (main): Remove parameters.
18431 * gdb.trace/tfile.exp: Remove nowarnings.
18432
18433 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18434
18435 * gdb.base/debug-expr.exp: Test string evaluation with
18436 "debug expression" on.
18437
18438 2014-07-15 Pedro Alves <palves@redhat.com>
18439
18440 * gdb.base/reread.exp: Use clean_restart.
18441
18442 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18443
18444 * gdb.arch/avr-flash-qualifer.c: New.
18445 * gdb.arch/avr-flash-qualifer.exp: New.
18446
18447 2014-07-14 Pedro Alves <palves@redhat.com>
18448
18449 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18450 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18451
18452 2014-07-14 Pedro Alves <palves@redhat.com>
18453
18454 * gdb.base/double-prompt-target-event-error.c: New file.
18455 * gdb.base/double-prompt-target-event-error.exp: New file.
18456
18457 2014-07-14 Pedro Alves <palves@redhat.com>
18458
18459 PR gdb/17072
18460 * gdb.base/paginate-inferior-exit.c: New file.
18461 * gdb.base/paginate-inferior-exit.exp: New file.
18462
18463 2014-07-14 Pedro Alves <palves@redhat.com>
18464
18465 PR gdb/17072
18466 * gdb.base/paginate-bg-execution.c: New file.
18467 * gdb.base/paginate-bg-execution.exp: New file.
18468
18469 2014-07-14 Pedro Alves <palves@redhat.com>
18470
18471 PR gdb/17072
18472 * gdb.base/paginate-execution-startup.c: New file.
18473 * gdb.base/paginate-execution-startup.exp: New file.
18474 * lib/gdb.exp (pagination_prompt): New global.
18475 (default_gdb_spawn): New procedure, factored out from
18476 default_gdb_spawn.
18477 (default_gdb_start): Adjust to call default_gdb_spawn.
18478 (gdb_spawn): New procedure.
18479
18480 2014-07-14 Pedro Alves <palves@redhat.com>
18481
18482 * lib/gdb.exp (gdb_assert): New procedure.
18483 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18484
18485 2014-07-14 Pedro Alves <palves@redhat.com>
18486
18487 * gdb.base/execution-termios.c: New file.
18488 * gdb.base/execution-termios.exp: New file.
18489
18490 2014-07-14 Tom Tromey <tromey@redhat.com>
18491
18492 * gdb.cp/vla-cxx.cc: New file.
18493 * gdb.cp/vla-cxx.exp: New file.
18494
18495 2014-07-14 Tom Tromey <tromey@redhat.com>
18496
18497 * gdb.reverse/rerun-prec.c: New file.
18498 * gdb.reverse/rerun-prec.exp: New file.
18499
18500 2014-07-12 Maciej W. Rozycki <macro@mips.com>
18501 Maciej W. Rozycki <macro@codesourcery.com>
18502
18503 * lib/gdb-utils.exp: New file.
18504 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18505 inline `gdb_init_command' processing.
18506 (gdb_start_cmd): Likewise.
18507 * lib/mi-support.exp (mi_run_cmd): Likewise.
18508 * README: Document `gdb_init_command' and `gdb_init_commands'.
18509
18510 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18511
18512 Fix false FAIL running under a very long directory name.
18513 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18514 and "set print elements 10000". Twice.
18515
18516 2014-07-11 Yao Qi <yao@codesourcery.com>
18517
18518 * gdb.base/exprs.exp: "set print symbol off".
18519
18520 2014-07-11 Pedro Alves <palves@redhat.com>
18521
18522 * gdb.threads/kill.c: New file.
18523 * gdb.threads/kill.exp: New file.
18524
18525 2014-07-10 Yao Qi <yao@codesourcery.com>
18526
18527 * gdb.trace/tfile.c (write_basic_trace_file)
18528 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18529 address written to trace file.
18530
18531 2014-07-09 Pedro Alves <palves@redhat.com>
18532
18533 * gdb.base/attach-wait-input.exp: New file.
18534 * gdb.base/attach-wait-input.c: New file.
18535
18536 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18537
18538 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18539 setting up test structures.
18540 (main): Call new test function.
18541 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18542 test function, continue into test function and walk test
18543 structures.
18544
18545 2014-07-02 Yao Qi <yao@codesourcery.com>
18546
18547 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18548 'bar_start' at the beginning of functions 'foo' and 'bar'
18549 respectively.
18550 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18551 instead of 'foo' and 'bar'.
18552
18553 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18554
18555 * gdb.btrace/segv.exp: New.
18556 * gdb.btrace/segv.c: New.
18557
18558 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
18559
18560 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18561 instruction.
18562
18563 2014-06-30 Mark Wielaard <mjw@redhat.com>
18564
18565 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18566 vulture, vilify, villar): New volatile array constants.
18567 (vindictive, vegetation): New const volatile array constants.
18568 * gdb.base/volatile.exp: Test volatile and const volatile array
18569 types.
18570
18571 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18572
18573 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18574 target lacks support for awatch, rwatch, or hbreak.
18575
18576 2014-06-27 Yao Qi <yao@codesourcery.com>
18577
18578 * gdb.multi/dummy-frame-restore.exp: New.
18579 * gdb.multi/dummy-frame-restore.c: New.
18580
18581 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18582
18583 * gdb.btrace/gcore.exp: New.
18584
18585 2014-06-23 Pedro Alves <palves@redhat.com>
18586
18587 * gdb.base/watchpoint-reuse-slot.c: New file.
18588 * gdb.base/watchpoint-reuse-slot.exp: New file.
18589
18590 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18591
18592 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18593 progspace's filename in 'info', 'enable' and 'disable' command
18594 tests.
18595
18596 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18597
18598 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18599 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18600 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18601
18602 2014-06-20 Gary Benson <gbenson@redhat.com>
18603
18604 * gdb.arch/i386-avx.exp: Fix include file location.
18605 * gdb.arch/i386-sse.exp: Likewise.
18606
18607 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18608
18609 * gdb.dlang/expression.exp: New file.
18610
18611 2014-06-19 Pedro Alves <palves@redhat.com>
18612
18613 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18614 out from ...
18615 (top level): ... here. Iterate running tests under different
18616 scheduler-locking settings.
18617
18618 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
18619
18620 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18621 to DW_FORM_addr and use non-zero addresses.
18622
18623 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18624
18625 PR gdb/17017
18626 * gdb.python/py-xmethods.cc: Add global function call counters and
18627 increment them in their respective functions. Remove "cout"
18628 statements.
18629 * gdb.python/py-xmethods.exp: Make tests check the global function
18630 call counters instead of depending on inferior IO.
18631
18632 2014-06-18 Don Breazeal <donb@codesourcery.com>
18633
18634 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18635 Deleted procedure.
18636 (explicit_fork_parent_follow): Deleted procedure.
18637 (explicit_fork_child_follow): Deleted procedure.
18638 (test_follow_fork): New procedure.
18639 (do_fork_tests): Replace calls to deleted procedures with
18640 calls to test_follow_fork and reset GDB for subsequent
18641 procedure calls.
18642
18643 2014-06-17 Yao Qi <yao@codesourcery.com>
18644
18645 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18646 CP1252.
18647
18648 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
18649
18650 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18651 Initialize ptr and S explicitly.
18652 (skip_type_update_when_not_use_rtti_test): Likewise.
18653
18654 2014-06-16 Keith Seitz <keiths@redhat.com>
18655
18656 PR mi/15863
18657 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18658 the inferior is started.
18659
18660 2014-06-16 Pedro Alves <palves@redhat.com>
18661
18662 * gdb.base/break-main-file-remove-fail.c: New file.
18663 * gdb.base/break-main-file-remove-fail.exp: New file.
18664 * gdb.base/break-unload-file.exp: Use build_executable instead of
18665 prepare_for_testing.
18666 (test_break): New parameter "initial_load". Handle it.
18667 (top level): Add initial_load cmdline/file axis.
18668
18669 2014-06-12 Tom Tromey <tromey@redhat.com>
18670
18671 * gdb.base/completion.exp: Don't use directory name in test.
18672
18673 2014-06-09 Gary Benson <gbenson@redhat.com>
18674
18675 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18676 separate the always-available ANSI-standard signals from the
18677 signals that require checking.
18678 (main): Likewise.
18679 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18680 Likewise.
18681 (main): Likewise.
18682
18683 2014-06-07 Keith Seitz <keiths@redhat.com>
18684
18685 Revert:
18686 PR c++/16253
18687 * gdb.cp/var-tag.cc: New file.
18688 * gdb.cp/var-tag.exp: New file.
18689 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18690 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18691 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18692 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18693
18694 2014-06-06 Doug Evans <xdje42@gmail.com>
18695
18696 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18697
18698 2014-06-06 Pedro Alves <palves@redhat.com>
18699
18700 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18701 in target debug output instead of looking at RSP packets,
18702 disabling the test on any target that uses hardware stepping.
18703 Update comments.
18704
18705 2014-06-06 Pedro Alves <palves@redhat.com>
18706
18707 * gdb.base/break-unload-file.exp: Fix typo.
18708
18709 2014-06-06 Yao Qi <yao@codesourcery.com>
18710
18711 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18712 from "jit_function" to "^jit_function".
18713
18714 2014-06-06 Yao Qi <yao@codesourcery.com>
18715
18716 * gdb.base/async.c (foo): Add one statement.
18717 * gdb.base/async.exp: Get the next instruction address and
18718 match the output of "nexti" by instruction address. Match
18719 the hex address in the output of "finish".
18720
18721 2014-06-06 Gary Benson <gbenson@redhat.com>
18722
18723 * gdb.base/call-signals.c: Remove preprocessor conditionals
18724 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18725 SIGSEGV and SIGTERM.
18726 * gdb.base/sigall.c: Likewise.
18727 * gdb.base/unwindonsignal.c: Likewise.
18728 * gdb.reverse/sigall-reverse.c: Likewise.
18729
18730 2014-06-06 Yao Qi <yao@codesourcery.com>
18731
18732 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18733 readable, skip the test.
18734
18735 2014-06-06 Yao Qi <yao@codesourcery.com>
18736
18737 * gdb.threads/staticthreads.c (thread_function): Move the line
18738 setting breakpoint on forward.
18739 * gdb.threads/staticthreads.exp: Update comments.
18740
18741 2014-06-05 Ludovic Courtès <ludo@gnu.org>
18742
18743 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18744 "history-append! type error".
18745
18746 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18747
18748 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18749 erroneous dprintf expected input.
18750
18751 2014-06-04 Doug Evans <xdje42@gmail.com>
18752
18753 * gdb.guile/scm-generics.exp: Delete.
18754
18755 2014-06-04 Doug Evans <xdje42@gmail.com>
18756
18757 * gdb.guile/scm-breakpoint.exp: Update.
18758 Add tests for breakpoint registration.
18759
18760 2014-06-04 Tom Tromey <tromey@redhat.com>
18761
18762 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18763 VLA-in-union.
18764 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18765 inner_vla_struct, vla_union types. Initialize objects of those
18766 types and compute their sizes.
18767
18768 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18769 Hui Zhu <hui@codesourcery.com>
18770
18771 * gdb.base/fileio.exp: Add test for shell not available as well as
18772 available.
18773 * gdb.base/fileio.c (test_system): Check for shell twice.
18774
18775 2014-06-04 Yao Qi <yao@codesourcery.com>
18776
18777 * gdb.base/auto-connect-native-target.exp: Remove redundant
18778 space from the regexp pattern.
18779
18780 2014-06-04 Yao Qi <yao@codesourcery.com>
18781
18782 * gdb.base/default.exp: Replace "child" with "native" in
18783 regexp pattern.
18784
18785 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18786
18787 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18788 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18789 * gdb.python/py-xmethods.py: Python script supporting the
18790 new testcase and tests.
18791
18792 2014-06-03 Joel Brobecker <brobecker@adacore.com>
18793 Pedro Alves <palves@redhat.com>
18794
18795 PR breakpoints/17000
18796 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18797 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18798
18799 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18800
18801 * gdb.base/subst.exp: Add tests to verify partial path matching
18802 output.
18803
18804 2014-06-03 Pedro Alves <palves@redhat.com>
18805
18806 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18807 target that doesn't use software single-stepping.
18808
18809 2014-06-03 Pedro Alves <palves@redhat.com>
18810
18811 PR breakpoints/17000
18812 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18813 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18814
18815 2014-06-02 Doug Evans <xdje42@gmail.com>
18816
18817 * gdb.guile/scm-parameter.exp: New file.
18818
18819 2014-06-02 Doug Evans <xdje42@gmail.com>
18820
18821 * gdb.guile/scm-cmd.c: New file.
18822 * gdb.guile/scm-cmd.exp: New file.
18823
18824 2014-06-02 Doug Evans <xdje42@gmail.com>
18825
18826 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18827 pretty-printer lookup.
18828 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18829 (make-pp_s-printer): Call it.
18830 (make-pretty-printer-from-dict): New function.
18831 (lookup-pretty-printer-maker-from-dict): New function.
18832 (*pretty-printer*): Simplify.
18833 (make-objfile-pp_s-printer): New function.
18834 (install-objfile-pretty-printers!): New function.
18835 (make-progspace-pp_s-printer): New function.
18836 (install-progspace-pretty-printers!): New function.
18837 * gdb.guile/scm-progspace.c: New file.
18838 * gdb.guile/scm-progspace.exp: New file.
18839
18840 2014-06-02 Pedro Alves <palves@redhat.com>
18841
18842 * gdb.base/dprintf-bp-same-addr.c: New file.
18843 * gdb.base/dprintf-bp-same-addr.exp: New file.
18844
18845 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18846
18847 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18848 * gdb.arch/powerpc-power.s: Likewise.
18849
18850 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18851
18852 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18853
18854 2014-06-01 Yao Qi <yao@codesourcery.com>
18855
18856 * gdb.base/watchpoint.exp (test_watch_location): Check null
18857 pointer can be dereferenced. If not, do the test, otherwise
18858 skip it.
18859
18860 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18861
18862 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18863 results.
18864 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18865
18866 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18867
18868 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18869 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18870 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18871 * gdb.arch/amd64-invalid-stack-top.c: New file.
18872 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18873
18874 2014-05-30 Pedro Alves <palves@redhat.com>
18875
18876 PR breakpoints/17000
18877 * gdb.base/sss-bp-on-user-bp.c: New file.
18878 * gdb.base/sss-bp-on-user-bp.exp: New file.
18879
18880 2014-05-30 David Blaikie <dblaikie@gmail.com>
18881
18882 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18883 gnu_inline semantics via attribute.
18884 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18885 source explicitly specifies the required semantics.
18886
18887 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18888
18889 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18890
18891 2014-05-29 Pedro Alves <palves@redhat.com>
18892 Tom Tromey <tromey@redhat.com>
18893
18894 * gdb.base/async-shell.exp: Don't enable target-async.
18895 * gdb.base/async.exp
18896 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18897 parameter. Adjust.
18898 (top level): Don't test with "target-async".
18899 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18900 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18901 * gdb.base/inferior-died.exp: Don't enable target-async.
18902 * gdb.base/interrupt-noterm.exp: Likewise.
18903 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18904 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18905 * gdb.mi/mi-nonstop.exp: Likewise.
18906 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18907 * gdb.mi/mi-nsintrall.exp: Likewise.
18908 * gdb.mi/mi-nsmoribund.exp: Likewise.
18909 * gdb.mi/mi-nsthrexec.exp: Likewise.
18910 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18911 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18912 * gdb.python/py-evsignal.exp: Don't enable target-async.
18913 * gdb.python/py-evthreads.exp: Likewise.
18914 * gdb.python/py-prompt.exp: Likewise.
18915 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18916 * gdb.server/solib-list.exp: Don't enable target-async.
18917 * gdb.threads/thread-specific-bp.exp: Likewise.
18918 * lib/mi-support.exp: Adjust to use mi-async.
18919
18920 2014-05-29 Pedro Alves <palves@redhat.com>
18921
18922 PR gdb/13860
18923 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18924 reason, even in sync mode.
18925
18926 2014-05-29 Pedro Alves <palves@redhat.com>
18927 Hui Zhu <hui@codesourcery.com>
18928
18929 PR PR15693
18930 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18931 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18932 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18933 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18934
18935 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18936
18937 * config/monitor.exp (gdb_target_monitor): Replace use of
18938 "set remotebaud" by "set serial baud".
18939
18940 2014-05-26 Andy Wingo <wingo@igalia.com>
18941
18942 * gdb.guile/scm-breakpoint.exp:
18943 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18944 properties instead of gdb-object-properties.
18945
18946 2014-05-26 Yao Qi <yao@codesourcery.com>
18947
18948 * gdb.server/no-thread-db.exp: Specify source file name
18949 explicitly when setting a breakpoint.
18950
18951 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18952
18953 * gdb.btrace/vdso.c: New.
18954 * gdb.btrace/vdso.exp: New.
18955
18956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18957
18958 * gdb.base/gcore.exp (capture_command_output): Move ...
18959 * lib/gdb.exp (capture_command_output): ... here.
18960
18961 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18962
18963 * gdb.btrace/data.exp: Test memory access during btrace replay.
18964
18965 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18966
18967 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18968
18969 2014-05-21 Pedro Alves <palves@redhat.com>
18970
18971 PR gdb/13860
18972 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18973 (top level): Test that output related to execution commands is
18974 sent to the console with CLI commands, but not with MI commands.
18975 Test that breakpoint events are always mirrored to the console.
18976 Also expect the new source line to be output after a "next" in
18977 async mode too. Make it a pass/fail test.
18978 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18979 output.
18980 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18981
18982 2014-05-21 Pedro Alves <palves@redhat.com>
18983
18984 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18985 Use them to test variations of "list" after reaching a breakpoint.
18986 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18987 Test "list" with listsize 10 after reaching a breakpoint.
18988 * gdb.python/python.exp (decode_line current location line
18989 number): Adjust expected line number.
18990
18991 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18992
18993 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18994 behavior for $args, pass it directly to "run".
18995
18996 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18997
18998 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18999 30000 to 65536.
19000
19001 2014-05-21 Pedro Alves <palves@redhat.com>
19002
19003 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19004 auto-connect-native-target off".
19005 * gdb.base/auto-connect-native-target.c: New file.
19006 * gdb.base/auto-connect-native-target.exp: New file.
19007
19008 2014-05-21 Pedro Alves <palves@redhat.com>
19009
19010 * gdb.base/default.exp: Test "target native" instead of "target
19011 child".
19012
19013 2014-05-21 Mark Wielaard <mjw@redhat.com>
19014
19015 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19016
19017 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19018
19019 Fix TLS access for -static -pthread.
19020 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19021 <HAVE_TLS> (thread_function, main): Initialize it.
19022 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19023 Add clean_restart.
19024 <$have_tls != "">: Check TLSVAR.
19025
19026 2014-05-21 Pedro Alves <palves@redhat.com>
19027
19028 * gdb.base/dcache-line-read-error.c: New.
19029 * gdb.base/dcache-line-read-error.exp: New.
19030
19031 2014-05-20 Pedro Alves <palves@redhat.com>
19032
19033 * gdb.base/compare-sections.c: New file.
19034 * gdb.base/compare-sections.exp: New file.
19035
19036 2014-05-20 Pedro Alves <palves@redhat.com>
19037
19038 * gdb.base/break-idempotent.c: New file.
19039 * gdb.base/break-idempotent.exp: New file.
19040
19041 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19042
19043 * gdb.btrace/nohist.exp: New.
19044
19045 2014-05-20 Yao Qi <yao@codesourcery.com>
19046
19047 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19048 gdb.reverse directory and gdb_reverse_timeout exists in board
19049 setting.
19050 * README: Document gdb_reverse_timeout.
19051
19052 2014-05-20 Yao Qi <yao@codesourcery.com>
19053
19054 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19055 'test_file_name'. Treat args as a string instead of a list.
19056 (gdb_init): Rename argument 'args' by 'test_file_name'.
19057
19058 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19059
19060 * gdb.arch/powerpc-power.exp: New file.
19061 * gdb.arch/powerpc-power.s: New file.
19062
19063 2014-05-16 Doug Evans <dje@google.com>
19064
19065 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19066 * gdb.base/completion.exp: Check that all expected files exist
19067 before doing file completion.
19068
19069 2014-05-16 Doug Evans <dje@google.com>
19070
19071 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19072 Update.
19073 (do_syscall_tests_without_xml): Update.
19074
19075 2014-05-16 Pedro Alves <palves@redhat.com>
19076
19077 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19078 instead of "unknown output after running".
19079
19080 2014-05-16 Yao Qi <yao@codesourcery.com>
19081
19082 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19083 file1.txt from host at the end.
19084 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19085
19086 2014-05-15 Doug Evans <dje@google.com>
19087
19088 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19089 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19090 loading file. Add test for TU lookup.
19091
19092 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19093
19094 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19095 calling "-exec-arguments" or "set args" before running the
19096 inferior.
19097
19098 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19099
19100 * lib/mi-support.exp (mi_expect_stop): Expect message for
19101 inferiors that exit with non-zero exit code.
19102
19103 2014-05-14 Yao Qi <yao@codesourcery.com>
19104
19105 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19106 match absolute path on remote host.
19107 (test_file_list_exec_source_files): Remove "/" from the
19108 pattern.
19109
19110 2014-05-14 Yao Qi <yao@codesourcery.com>
19111
19112 * boards/local-remote-host-notty.exp (${board}_file): New
19113 proc.
19114
19115 2014-05-07 Kyle McMartin <kyle@redhat.com>
19116
19117 Pushed by Joel Brobecker <brobecker@adacore.com>.
19118 * gdb.arch/aarch64-atomic-inst.c: New file.
19119 * gdb.arch/aarch64-atomic-inst.exp: New file.
19120
19121 2014-05-07 Yao Qi <yao@codesourcery.com>
19122
19123 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19124 in current context" too.
19125
19126 2014-05-05 Keith Seitz <keiths@redhat.com>
19127
19128 * gdb.linespec/ls-dollar.exp: Add test for linespec
19129 file:convenience_variable.
19130
19131 2014-05-05 Yao Qi <yao@codesourcery.com>
19132
19133 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19134 traceframes into tfile and ctf trace files. Read data from
19135 trace file and test collected data.
19136 (gdb_collect_locals_test): Likewise.
19137 (gdb_unavailable_registers_test): Likewise.
19138 (gdb_unavailable_floats): Likewise.
19139 (gdb_collect_globals_test): Likewise.
19140 (top-level): Append "ctf" to trace_file_targets if GDB
19141 supports.
19142
19143 2014-05-05 Yao Qi <yao@codesourcery.com>
19144
19145 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19146 code to ...
19147 (gdb_collect_args_test_1): ... it. New proc.
19148 (gdb_collect_locals_test): Move some code to ...
19149 (gdb_collect_locals_test_1): ... it. New proc.
19150 (gdb_unavailable_registers_test): Move some code to ...
19151 (gdb_unavailable_registers_test_1): ... it. New proc.
19152 (gdb_unavailable_floats): Move some code to ...
19153 (gdb_unavailable_floats_1): ... it. New proc.
19154
19155 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19156
19157 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19158 probes to test for bitness recognition.
19159 * gdb.arch/amd64-stap-optional-prefix.exp
19160 (test_probe_value_without_reg): New procedure.
19161 Add code to test for different kinds of bitness.
19162
19163 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19164
19165 PR breakpoints/16889
19166 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19167 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19168
19169 2014-05-01 Pedro Alves <palves@redhat.com>
19170
19171 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19172 gdb_file_cmd if no file is specified.
19173 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19174 last_loaded_file to set the remote exec-file.
19175
19176 2014-05-01 Pedro Alves <palves@redhat.com>
19177
19178 * boards/local-remote-host.exp: New file.
19179
19180 2014-05-01 Pedro Alves <palves@redhat.com>
19181
19182 * boards/local-remote-host.exp: Rename to ...
19183 * boards/local-remote-host-notty.exp: ... this.
19184
19185 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19186
19187 * gdb.ada/dyn_arrayidx: New testcase.
19188
19189 2014-04-26 Yao Qi <yao@codesourcery.com>
19190
19191 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19192 and compute the length of function main. Save it in
19193 $main_length.
19194 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19195 (top-level): Use gdb_compile to compile objects into
19196 executable and restart GDB. Remove invocation to
19197 prepare_for_testing.
19198
19199 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19200 Pedro Alves <palves@redhat.com>
19201
19202 PR server/16255
19203 * gdb.multi/multi-attach.c: New file.
19204 * gdb.multi/multi-attach.exp: New file.
19205
19206 2014-04-25 Pedro Alves <palves@redhat.com>
19207
19208 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19209 user.
19210 (top level): Test that "set remote conditional-breakpoints-packet
19211 off" works as intended.
19212 * gdb.base/dprintf.exp: Test that "set remote
19213 breakpoint-commands-packet off" works as intended.
19214 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19215 New function.
19216 (top level): Call it.
19217 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19218 remote fast-tracepoints-packet off" works as intended.
19219 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19220 * lib/gdb.exp (gdb_is_target_remote): ... here.
19221
19222 2014-04-24 David Blaikie <dblaikie@gmail.com>
19223
19224 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19225 ensure clang would not discard them.
19226 * gdb.base/gdbvars.c: Ditto.
19227 * gdb.base/memattr.c: Ditto.
19228 * gdb.base/whatis.c: Ditto.
19229 * gdb.python/py-prettyprint.c: Ditto.
19230 * gdb.trace/actions.c: Ditto.
19231 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19232 ensure clang would not discard it.
19233
19234 2014-04-24 David Blaikie <dblaikie@gmail.com>
19235
19236 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19237 clang to emit the full definition of type required by the test
19238 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19239
19240 2014-04-24 David Blaikie <dblaikie@gmail.com>
19241
19242 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19243 coax Clang into emitting the definition of the type.
19244 * gdb.cp/pr10728-x.h (y): Ditto.
19245 * gdb.cp/pr10728-y.cc (y): Ditto.
19246
19247 2014-04-24 David Blaikie <dblaikie@gmail.com>
19248
19249 * gdb.base/label.exp: XFAIL label related tests under Clang.
19250 * gdb.cp/cplabel.exp: Ditto.
19251 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19252 under Clang those using labels.
19253
19254 2014-04-25 Yao Qi <yao@codesourcery.com>
19255
19256 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19257 double_label.
19258 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19259 partial_label and double_label.
19260
19261 2014-04-24 David Blaikie <dblaikie@gmail.com>
19262
19263 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19264
19265 2014-04-24 David Blaikie <dblaikie@gmail.com>
19266
19267 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19268 of the function to work across GCC and Clang.
19269 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19270 pointer types (const void ** const V void **).
19271
19272 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
19273 Walfred Tedeschi <walfred.tedeschi@intel.com>
19274
19275 * Makefile.in (EXECUTABLES): Added i386-avx512.
19276 * gdb.arch/i386-avx512.c: New file.
19277 * gdb.arch/i386-avx512.exp: Likewise.
19278
19279 2014-04-23 Keith Seitz <keiths@redhat.com>
19280
19281 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19282 (mi_make_breakpoint_table): New procedure.
19283 (mi_create_breakpoint): Use mi_make_breakpoint
19284 and return the result.
19285 (mi_make_breakpoint): New procedure.
19286 (mi_build_kv_pairs): New procedure.
19287
19288 * gdb.mi/mi-break.exp: Remove unused globals,
19289 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19290 All callers updated.
19291 * gdb.mi/mi-dprintf.exp: Use variable to track command
19292 number.
19293 Update all callers of mi_create_breakpoint and use
19294 mi_make_breakpoint_table.
19295 Remove any unused global variables.
19296 * gdb.mi/mi-nonstop.exp: Likewise.
19297 * gdb.mi/mi-nsintrall.exp: Likewise.
19298 * gdb.mi/mi-nsmoribund.exp: Likewise.
19299 * gdb.mi/mi-nsthrexec.exp: Likewise.
19300 * gdb.mi/mi-reverse.exp: Likewise.
19301 * gdb.mi/mi-simplerun.exp: Likewise.
19302 * gdb.mi/mi-stepn.exp: Likewise.
19303 * gdb.mi/mi-syn-frame.exp: Likewise.
19304 * gdb.mi/mi-until.exp: Likewise.
19305 * gdb.mi/mi-var-cp.exp: Likewise.
19306 * gdb.mi/mi-var-display.exp: Likewise.
19307 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19308 * gdb.mi/mi2-var-child.exp: Likewise.
19309 * gdb.mi/mi-vla-c99.exp: Likewise.
19310 * lib/mi-support.exp: Likewise.
19311
19312 From Ian Lance Taylor <iant@cygnus.com>:
19313 * lib/gdb.exp (parse_args): New procedure.
19314
19315 2014-04-23 Pedro Alves <palves@redhat.com>
19316
19317 * gdb.base/break-unload-file.c: New file.
19318 * gdb.base/break-unload-file.exp: New file.
19319 * gdb.base/sym-file-lib.c (baz): New function.
19320 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19321 field.
19322 (load): Store the segment's mapped size.
19323 (unload): New function.
19324 (unload_shlib): New function.
19325 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19326 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19327 set a breakpoint at baz, and call it.
19328 * gdb.base/sym-file.exp: New tests for stale breakpoint
19329 instructions.
19330
19331 2014-04-23 Pedro Alves <palves@redhat.com>
19332
19333 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19334 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19335 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19336 * gdb.base/hbreak-unmapped.c: New file.
19337 * gdb.base/hbreak-unmapped.exp: New file.
19338 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19339 * lib/gdb.exp (gdb_is_target_remote): ... here.
19340
19341 2014-04-22 Pedro Alves <palves@redhat.com>
19342
19343 * gdb.base/consecutive-step-over.c: New file.
19344 * gdb.base/consecutive-step-over.exp: New file.
19345
19346 2014-04-22 Pedro Alves <palves@redhat.com>
19347
19348 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19349 instead of send_gdb/gdb_expect.
19350
19351 2014-04-22 Yao Qi <yao@codesourcery.com>
19352
19353 * lib/trace-support.exp (generate_tracefile): New procedure.
19354 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19355 return 0.
19356 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19357 if generate_tracefile returns 1.
19358
19359 2014-04-18 Tom Tromey <palves@redhat.com>
19360 Pedro alves <tromey@redhat.com>
19361
19362 PR backtrace/15558
19363 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19364 with a backtrace limit.
19365 * gdb.python/py-frame-inline.exp: Test running to an inline
19366 function with a backtrace limit, and printing the newest frame.
19367 * gdb.python/py-frame-inline.c (main): Call f.
19368
19369 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19370
19371 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19372
19373 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19374
19375 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19376 Drop prefix from unsupported source file path.
19377
19378 2014-04-17 Yao Qi <yao@codesourcery.com>
19379
19380 * lib/gdb.exp (with_target_charset): New proc.
19381 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19382 with_target_charset.
19383 (test_print_strings): Likewise.
19384 (test_repeat_bytes): Likewise.
19385 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19386 for some tests.
19387
19388 2014-04-16 Keith Seitz <keiths@redhat.com>
19389
19390 PR gdb/15827
19391 * gdb.dwarf2/corrupt.c: New file.
19392 * gdb.dwarf2/corrupt.exp: New file.
19393
19394 2014-04-16 Keith Seitz <keiths@redhat.com>
19395
19396 PR c++/16597
19397 * gdb.cp/namelessclass.cc: New file.
19398 * gdb.cp/namelessclass.exp: New file.
19399 * gdb.cp/namelessclass.S: New file.
19400
19401 2014-04-16 Doug Evans <dje@google.com>
19402
19403 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19404 Add comment.
19405 (gdbserver_default_get_comm_port): New function.
19406 (gdbserver_start): Check if board file provided
19407 "gdbserver,get_comm_port" and use it if so.
19408 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19409 (gdb,socketport): Set to "stdio".
19410 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19411 (stdio_gdbserver_template): Delete.
19412 (${board}_get_remote_address): Update.
19413 (${board}_build_remote_cmd): Delete.
19414 (${board}_get_comm_port): New function.
19415 (${board}_spawn): Update.
19416 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19417 Delete.
19418 (${board}_get_remote_address): Update.
19419 (${board}_get_comm_port): New function.
19420
19421 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
19422
19423 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19424 appearing in any order.
19425
19426 2014-04-15 Doug Evans <dje@google.com>
19427
19428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19429 uninitialized value of "description".
19430
19431 2014-04-15 Keith Seitz <keiths@redhat.com>
19432
19433 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19434 Remove unused globals.
19435 (test_running_the_program): Likewise.
19436 (test_controlled_execution): Likewise.
19437 (test_controlling_breakpoints): Likewise.
19438 (test_program_termination): Likewise.
19439
19440 2014-04-15 Keith Seitz <keiths@redhat.com>
19441
19442 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19443 unused globals.
19444 (test_rbreak_creation_and_listing): Likewise.
19445 (test_ignore_count): Likewise.
19446 (test_error): Likewise.
19447
19448 2014-04-15 Pedro Alves <palves@redhat.com>
19449
19450 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19451 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19452 sym-file-loader.c.
19453 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19454 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19455 to sym-file-loader.c.
19456 (struct library): Forward declare.
19457 (load_shlib, lookup_function): Change prototypes.
19458 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19459 (translate_offset): Remove declarations.
19460 (get_text_addr): New declaration.
19461 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19462 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19463 sym-file-loader.h.
19464 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19465 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19466 here from sym-file-loader.h.
19467 (struct library): New structure.
19468 (load_shlib, lookup_function): Change prototypes and adjust to
19469 work with a struct library.
19470 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19471 (translate_offset): Make static.
19472 (get_text_addr): New function.
19473 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19474
19475 2014-04-15 Pedro Alves <palves@redhat.com>
19476
19477 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19478
19479 2014-04-15 Pedro Alves <palves@redhat.com>
19480
19481 * gdb.base/sym-file-loader.c: Include <limits.h>.
19482 (SELF_LINK): New define.
19483 (get_origin): New function.
19484 (load_shlib): Use it.
19485 * gdb.base/sym-file.exp: Don't early return if the target is
19486 remote. Use runto_main, and issue fail is that fails. Use
19487 gdb_load_shlibs.
19488 (shlib_name): Delete.
19489 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19490
19491 2014-04-15 Pedro Alves <palves@redhat.com>
19492
19493 * gdb.base/sym-file.exp: Remove regex characters from test
19494 message. Don't refer to breakpoint numbers in test messages.
19495
19496 2014-04-14 Keith Seitz <keiths@redhat.com>
19497
19498 PR c++/16253
19499 * gdb.cp/var-tag.cc: New file.
19500 * gdb.cp/var-tag.exp: New file.
19501 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19502 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19503 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19504 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19505
19506 2014-04-14 Tom Tromey <tromey@redhat.com>
19507
19508 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19509 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19510 type.
19511 * gdb.cp/enum-class.exp: New file.
19512 * gdb.cp/enum-class.cc: New file.
19513
19514 2014-04-14 Tom Tromey <tromey@redhat.com>
19515
19516 * gdb.dwarf2/enum-type.exp: New file.
19517
19518 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19519
19520 * gdb.mi/mi-vla-c99.exp: New file.
19521 * gdb.mi/vla.c: New file.
19522
19523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19524
19525 * gdb.base/vla-datatypes.c: New file.
19526 * gdb.base/vla-datatypes.exp: New file.
19527
19528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19529
19530 * gdb.base/vla-ptr.c: New file.
19531 * gdb.base/vla-ptr.exp: New file.
19532
19533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19534
19535 * gdb.dwarf2/count.exp: New file.
19536
19537 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19538
19539 * gdb.base/vla-sideeffect.c: New file.
19540 * gdb.base/vla-sideeffect.exp: New file.
19541
19542 2014-04-14 David Blaikie <dblaikie@gmail.com>
19543
19544 * gdb.mi/non-stop.c: Add return value for non-void function return
19545 statement.
19546 * gdb.threads/staticthreads.c: Ditto.
19547
19548 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19549 Doug Evans <xdje42@gmail.com>
19550
19551 * gdb.guile/scm-value.c: Improve test case.
19552 * gdb.guile/scm-value.exp: Add new test.
19553
19554 2014-04-11 David Blaikie <dblaikie@gmail.com>
19555
19556 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19557 override Clang's default.
19558
19559 2014-04-11 Joel Brobecker <brobecker@adacore.com>
19560
19561 Revert the following changes (regressions):
19562
19563 * gdb.base/vla-sideeffect.c: New file.
19564 * gdb.base/vla-sideeffect.exp: New file.
19565
19566 * gdb.dwarf2/count.exp: New file.
19567
19568 * gdb.base/vla-multi.c: New file.
19569 * gdb.base/vla-multi.exp: New file.
19570
19571 * gdb.base/vla-ptr.c: New file.
19572 * gdb.base/vla-ptr.exp: New file.
19573
19574 * gdb.base/vla-datatypes.c: New file.
19575 * gdb.base/vla-datatypes.exp: New file.
19576
19577 * gdb.mi/mi-vla-c99.exp: New file.
19578 * gdb.mi/vla.c: New file.
19579
19580 2014-04-11 Keith Seitz <keiths@redhat.com>
19581
19582 PR c++/16675
19583 * gdb.cp/cpsizeof.exp: New file.
19584 * gdb.cp/cpsizeof.cc: New file.
19585
19586 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19587
19588 * gdb.mi/mi-vla-c99.exp: New file.
19589 * gdb.mi/vla.c: New file.
19590
19591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19592
19593 * gdb.base/vla-datatypes.c: New file.
19594 * gdb.base/vla-datatypes.exp: New file.
19595
19596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19597
19598 * gdb.base/vla-ptr.c: New file.
19599 * gdb.base/vla-ptr.exp: New file.
19600
19601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19602
19603 * gdb.base/vla-multi.c: New file.
19604 * gdb.base/vla-multi.exp: New file.
19605
19606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19607
19608 * gdb.dwarf2/count.exp: New file.
19609
19610 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19611
19612 * gdb.base/vla-sideeffect.c: New file.
19613 * gdb.base/vla-sideeffect.exp: New file.
19614
19615 2014-04-11 Yao Qi <yao@codesourcery.com>
19616
19617 * gdb.base/completion.exp: Check file exists before running tests
19618 on file completion.
19619
19620 2014-04-10 Pedro Alves <palves@redhat.com>
19621
19622 * gdb.base/cond-eval-mode.c: New file.
19623 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19624 prepare_for_testing to build the new file. Check result of
19625 runto_main.
19626 (test_break, test_watch): New procedures.
19627 (top level): Use them.
19628
19629 2014-04-08 Pierre Muller <muller@sourceware.org>
19630
19631 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19632 Ctrl-V use for mingw hosts.
19633
19634 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19635
19636 * gdb.python/py-value.c: Improve test case.
19637 * gdb.python/py-value.exp: Add new test.
19638
19639 2014-04-07 David Blaikie <dblaikie@gmail.com>
19640
19641 * lib/compiler.c: Identify the clang compiler.
19642 * lib/compiler.cc: Ditto.
19643
19644 2014-04-03 Yao Qi <yao@codesourcery.com>
19645
19646 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19647
19648 2014-04-01 Anton Blanchard <anton@samba.org>
19649
19650 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19651 messages unique.
19652
19653 2014-04-01 Anton Blanchard <anton@samba.org>
19654
19655 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19656 prepare_for_testing.
19657
19658 2014-04-01 Anton Blanchard <anton@samba.org>
19659
19660 * gdb.arch/ppc64-atomic-inst.c: Remove.
19661 * gdb.arch/ppc64-atomic-inst.S: New file.
19662 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19663
19664 2014-03-31 Doug Evans <dje@google.com>
19665
19666 * gdb.base/print-symbol-loading-lib.c: New file.
19667 * gdb.base/print-symbol-loading-main.c: New file.
19668 * gdb.base/print-symbol-loading.exp: New file.
19669
19670 2014-03-31 Yao Qi <yao@codesourcery.com>
19671
19672 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19673
19674 2014-03-28 Joel Brobecker <brobecker@adacore.com>
19675
19676 * gdb.ada/mi_dyn_arr: New testcase.
19677
19678 2014-03-27 Doug Evans <dje@google.com>
19679
19680 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19681
19682 2014-03-27 Yao Qi <yao@codesourcery.com>
19683
19684 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19685 if target is nios2-*-*.
19686
19687 2014-03-26 Yao Qi <yao@codesourcery.com>
19688
19689 * lib/gdb.exp (readline_is_used): New proc.
19690 * gdb.base/completion.exp: Move tests on command complete up.
19691 Skip the rest of tests if readline is not used.
19692 * gdb.ada/complete.exp: Skp the test if readline is not
19693 used.
19694 * gdb.base/filesym.exp: Likewise.
19695 * gdb.base/macscp.exp: Likewise.
19696 * gdb.base/readline-ask.exp: Likewise.
19697 * gdb.base/readline.exp: Likewise.
19698 * gdb.python/py-cmd.exp: Likewise.
19699 * gdb.trace/tfile.exp: Likewise.
19700
19701 2014-03-26 Yao Qi <yao@codesourcery.com>
19702
19703 * gdb.base/macscp.exp: Fix code format issues.
19704
19705 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19706
19707 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19708 * gdb.asm/powerpc64le.inc: New file.
19709
19710 2014-03-25 Pedro Alves <palves@redhat.com>
19711 Doug Evans <dje@google.com>
19712
19713 * gdb.base/source-execution.c: New file.
19714 * gdb.base/source-execution.exp: New file.
19715 * gdb.base/source-execution.gdb: New file.
19716
19717 2014-03-24 Doug Evans <dje@google.com>
19718
19719 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19720 using fission.
19721
19722 2014-03-24 Hui Zhu <hui@codesourcery.com>
19723 Pedro Alves <palves@redhat.com>
19724
19725 PR breakpoints/16101
19726 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19727 test pass/fail messages. Detect missing support for dprintf when
19728 breakpoints are actually inserted.
19729 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19730 breakpoints are actually inserted.
19731 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19732 fails.
19733
19734 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19735
19736 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19737
19738 2014-03-22 Doug Evans <xdje42@gmail.com>
19739
19740 * gdb.python/python.exp (python not supported): Verify multi-line
19741 python command issues an error.
19742 * gdb.guile/guile.exp (guile not supported): Verify multi-line
19743 guile command issues an error.
19744
19745 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19746
19747 * gdb.threads/thread-specific.exp: Handle the lack of usable
19748 $this_breakpoint and $this_thread.
19749
19750 2014-03-21 Hui Zhu <hui@codesourcery.com>
19751
19752 * gdb.base/attach.exp (do_command_attach_tests): New.
19753
19754 2014-03-20 Tom Tromey <tromey@redhat.com>
19755 Pedro Alves <palves@redhat.com>
19756
19757 PR cli/15718
19758 * gdb.base/condbreak-call-false.c: New file.
19759 * gdb.base/condbreak-call-false.exp: New file.
19760
19761 2014-03-20 Pedro Alves <palves@redhat.com>
19762
19763 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19764 Delete.
19765 (block_signals, unblock_signals): Delete.
19766 (child_function_2, main): Remove references to deleted variable
19767 and functions.
19768
19769 2014-03-20 Pedro Alves <palves@redhat.com>
19770
19771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19772 Use pthread_kill to signal thread 2.
19773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19774 Adjust to make the test send itself a signal rather than using the
19775 host's "kill" command.
19776
19777 2014-03-20 Pedro Alves <palves@redhat.com>
19778
19779 * gdb.threads/multiple-step-overs.c: New file.
19780 * gdb.threads/multiple-step-overs.exp: New file.
19781 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19782 Adjust expected infrun debug output.
19783
19784 2014-03-20 Pedro Alves <palves@redhat.com>
19785
19786 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19787 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19788
19789 2014-03-20 Pedro Alves <palves@redhat.com>
19790
19791 PR breakpoints/7143
19792 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19793 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19794 of gdb_test_multiple.
19795 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19796 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19797
19798 2014-03-20 Pedro Alves <palves@redhat.com>
19799
19800 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19801 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19802
19803 2014-03-19 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.base/async.exp: Remove early return.
19806
19807 2014-03-19 Pedro Alves <palves@redhat.com>
19808
19809 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19810
19811 2014-03-19 Pedro Alves <palves@redhat.com>
19812
19813 * gdb.base/async.exp (test_background): Expect \r\n after
19814 "completed." in the fail pattern.
19815
19816 2014-03-19 Pedro Alves <palves@redhat.com>
19817
19818 * gdb.base/async.exp (test_background): New procedure.
19819 Use it for all background execution command tests.
19820
19821 2014-03-19 Pedro Alves <palves@redhat.com>
19822
19823 * gdb.base/async.exp: Use prepare_for_testing.
19824
19825 2014-03-19 Pedro Alves <palves@redhat.com>
19826
19827 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19828 the same line.
19829
19830 2014-03-19 Pedro Alves <palves@redhat.com>
19831
19832 * gdb.base/async.c (main): Add "jump here" and "until here" line
19833 marker comments.
19834 * gdb.base/async.exp (jump_here): New global.
19835 (jump& test): Use it.
19836 (until_here): New global.
19837 (until& test): Use it.
19838
19839 2014-03-19 Pedro Alves <palves@redhat.com>
19840
19841 * gdb.base/async.exp: Don't frob gdb_protocol.
19842
19843 2014-03-18 Doug Evans <xdje42@gmail.com>
19844
19845 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19846 Fix spelling of exec-done-display.
19847
19848 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19849
19850 PR gdb/15358
19851 * gdb.base/gdb-sigterm.c: New file.
19852 * gdb.base/gdb-sigterm.exp: New file.
19853
19854 2014-03-18 Pedro Alves <palves@redhat.com>
19855
19856 PR gdb/13860
19857 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19858 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19859 solib-event.
19860
19861 2014-03-17 Joel Brobecker <brobecker@adacore.com>
19862
19863 * gdb.ada/pckd_arr_ren: New testcase.
19864
19865 2014-03-13 Doug Evans <xdje42@gmail.com>
19866
19867 PR guile/16612
19868 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19869 collect after discarding symbols.
19870
19871 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19872 Doug Evans <xdje42@gmail.com>
19873
19874 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19875 to history survives a gc.
19876
19877 2014-03-13 Pedro Alves <palves@redhat.com>
19878
19879 * gdb.base/default.exp: Don't test "target procfs".
19880
19881 2014-03-13 Pedro Alves <palves@redhat.com>
19882
19883 * gdb.base/default.exp: Update "target child" and "target procfs"
19884 tests to not expect "Unix".
19885
19886 2014-03-12 Tom Tromey <tromey@redhat.com>
19887
19888 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19889 New procs. Add target-async tests.
19890 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19891 Add target-async tests.
19892
19893 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19894
19895 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19896 'func_start' and 'func_end' for the beginning and end of the
19897 function code, respectively.
19898 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19899 'func_end' instead of 'func' and 'main'.
19900
19901 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19902
19903 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19904 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19905 generate the debug info assembler source.
19906
19907 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19908
19909 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19910 * gdb.dwarf2/arr-subrange.exp: Likewise.
19911 * gdb.dwarf2/dwz.exp: Likewise.
19912 * gdb.dwarf2/method-ptr.exp: Likewise.
19913 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19914 * gdb.dwarf2/subrange.exp: Likewise.
19915 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19916 * gdb.dwarf2/implptrpiece.exp: Likewise.
19917 * gdb.dwarf2/nostaticblock.exp: Likewise.
19918
19919 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19920
19921 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19922 directory to absolute path name arguments.
19923
19924 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19925
19926 * gdb.ada/tagged_access: New testcase.
19927
19928 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19929
19930 * gdb.btrace/data.exp: Update expected output.
19931
19932 2014-03-06 Yao Qi <yao@codesourcery.com>
19933
19934 * gdb.trace/pr16508.exp: New file.
19935
19936 2014-03-05 Pedro Alves <palves@redhat.com>
19937
19938 PR gdb/16575
19939 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19940 procedure.
19941 (top level): Adjust to use it. Add tests that exercise breakpoint
19942 interaction with the code-cache.
19943
19944 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19945
19946 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19947 test for 'history-append!'.
19948
19949 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19950
19951 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19952 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19953 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19954 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19955 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19956 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19957
19958 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19959
19960 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19961 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19962 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19963
19964 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19965
19966 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19967
19968 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19969
19970 * gdb.dwarf2/arr-stride.c: New file.
19971 * gdb.dwarf2/arr-stride.exp: New file.
19972
19973 2014-02-26 Pedro Alves <palves@redhat.com>
19974
19975 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19976 that won't ever trigger. Make sure that GDB reports the correct
19977 breakpoint that caused the stop.
19978
19979 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19980
19981 PR gdb/16626
19982 * gdb.base/auto-load-script: New file.
19983 * gdb.base/auto-load.c: New file.
19984 * gdb.base/auto-load.exp: New file.
19985
19986 PR gdb/16626
19987 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19988
19989 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19990
19991 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19992 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19993
19994 2014-02-24 Doug Evans <dje@google.com>
19995
19996 * lib/gdb.exp (run_on_host): Log error output if program fails.
19997
19998 2014-02-21 Pedro Alves <palves@redhat.com>
19999
20000 * gdb.threads/step-after-sr-lock.c: Rename to ...
20001 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20002 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20003 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20004 ... this.
20005
20006 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20007
20008 PR tdep/16397
20009 * gdb.arch/amd64-stap-special-operands.exp: New file.
20010 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20011 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20012 * gdb.arch/amd64-stap-triplet.S: Likewise.
20013 * gdb.arch/amd64-stap-triplet.c: Likewise.
20014
20015 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20016
20017 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20018 in .section pseudo-op.
20019
20020 2014-02-20 lin zuojian <manjian2006@gmail.com>
20021 Joel Brobecker <brobecker@adacore.com>
20022 Doug Evans <xdje42@gmail.com>
20023
20024 PR symtab/16581
20025 * gdb.dwarf2/dw2-icycle.S: New file.
20026 * gdb.dwarf2/dw2-icycle.c: New file.
20027 * gdb.dwarf2/dw2-icycle.exp: New file.
20028
20029 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20030
20031 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20032 operations on gdb.Value objects.
20033 * gdb.python/py-value-cc.exp: Add new test to test operations on
20034 gdb.Value objects.
20035
20036 2014-02-18 Doug Evans <dje@google.com>
20037
20038 * Makefile.in (TESTS): New variable.
20039 (expanded_tests, expanded_tests_or_none): New variables
20040 (check-single): Pass $(expanded_tests_or_none) to runtest.
20041 (check-parallel): Only run tests in $(TESTS) if non-empty.
20042 (check/no-matching-tests-found): New rule.
20043 * README: Document TESTS makefile variable.
20044
20045 2014-02-18 Doug Evans <dje@google.com>
20046
20047 * Makefile.in (check-parallel): rm -rf outputs temp.
20048
20049 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20050
20051 Fix "ERROR: no fileid for" in the testsuite.
20052 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20053
20054 2014-02-12 Doug Evans <dje@google.com>
20055
20056 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20057 (MISCELLANEOUS): New variable.
20058 (clean): rm -rf $(MISCELLANEOUS).
20059 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20060 dwp live in the same directory as symlinks, with each symlink pointed
20061 to a differently named file in a different directory.
20062
20063 2014-02-11 Doug Evans <dje@google.com>
20064
20065 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20066 of Tcl file commands.
20067
20068 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20069
20070 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20071 "kill -SIGUSR1 -1".
20072
20073 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20074
20075 * gdb.ada/tick_length_array_enum_idx: New testcase.
20076
20077 2014-02-10 Doug Evans <xdje42@gmail.com>
20078
20079 * configure.ac (AC_OUTPUT): Add gdb.guile.
20080 * configure: Regenerate.
20081 * lib/gdb-guile.exp: New file.
20082 * lib/gdb.exp (get_target_charset): New function.
20083 * gdb.base/help.exp: Update expected output from "apropos apropos".
20084 * gdb.guile/Makefile.in: New file.
20085 * gdb.guile/guile.exp: New file.
20086 * gdb.guile/scm-arch.c: New file.
20087 * gdb.guile/scm-arch.exp: New file.
20088 * gdb.guile/scm-block.c: New file.
20089 * gdb.guile/scm-block.exp: New file.
20090 * gdb.guile/scm-breakpoint.c: New file.
20091 * gdb.guile/scm-breakpoint.exp: New file.
20092 * gdb.guile/scm-disasm.c: New file.
20093 * gdb.guile/scm-disasm.exp: New file.
20094 * gdb.guile/scm-equal.c: New file.
20095 * gdb.guile/scm-equal.exp: New file.
20096 * gdb.guile/scm-error.exp: New file.
20097 * gdb.guile/scm-error.scm: New file.
20098 * gdb.guile/scm-frame-args.c: New file.
20099 * gdb.guile/scm-frame-args.exp: New file.
20100 * gdb.guile/scm-frame-args.scm: New file.
20101 * gdb.guile/scm-frame-inline.c: New file.
20102 * gdb.guile/scm-frame-inline.exp: New file.
20103 * gdb.guile/scm-frame.c: New file.
20104 * gdb.guile/scm-frame.exp: New file.
20105 * gdb.guile/scm-generics.exp: New file.
20106 * gdb.guile/scm-gsmob.exp: New file.
20107 * gdb.guile/scm-iterator.c: New file.
20108 * gdb.guile/scm-iterator.exp: New file.
20109 * gdb.guile/scm-math.c: New file.
20110 * gdb.guile/scm-math.exp: New file.
20111 * gdb.guile/scm-objfile-script-gdb.in: New file.
20112 * gdb.guile/scm-objfile-script.c: New file.
20113 * gdb.guile/scm-objfile-script.exp: New file.
20114 * gdb.guile/scm-objfile.c: New file.
20115 * gdb.guile/scm-objfile.exp: New file.
20116 * gdb.guile/scm-ports.exp: New file.
20117 * gdb.guile/scm-pretty-print.c: New file.
20118 * gdb.guile/scm-pretty-print.exp: New file.
20119 * gdb.guile/scm-pretty-print.scm: New file.
20120 * gdb.guile/scm-section-script.c: New file.
20121 * gdb.guile/scm-section-script.exp: New file.
20122 * gdb.guile/scm-section-script.scm: New file.
20123 * gdb.guile/scm-symbol.c: New file.
20124 * gdb.guile/scm-symbol.exp: New file.
20125 * gdb.guile/scm-symtab-2.c: New file.
20126 * gdb.guile/scm-symtab.c: New file.
20127 * gdb.guile/scm-symtab.exp: New file.
20128 * gdb.guile/scm-type.c: New file.
20129 * gdb.guile/scm-type.exp: New file.
20130 * gdb.guile/scm-value-cc.cc: New file.
20131 * gdb.guile/scm-value-cc.exp: New file.
20132 * gdb.guile/scm-value.c: New file.
20133 * gdb.guile/scm-value.exp: New file.
20134 * gdb.guile/source2.scm: New file.
20135 * gdb.guile/types-module.cc: New file.
20136 * gdb.guile/types-module.exp: New file.
20137
20138 2014-02-10 Yao Qi <yao@codesourcery.com>
20139
20140 PR testsuite/16543
20141 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20142 * configure: Regenerated.
20143 * Makefile.in: New file.
20144
20145 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20146
20147 * gdb.python/py-framefilter.exp: Fix typo.
20148
20149 2014-02-08 Yao Qi <yao@codesourcery.com>
20150
20151 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20152 that no =breakpoint-modified is emitted when breakpoints are
20153 modified through MI commands.
20154
20155 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20156 Pedro Alves <palves@redhat.com>
20157
20158 * gdb.threads/step-after-sr-lock.c: New file.
20159 * gdb.threads/step-after-sr-lock.exp: New file.
20160
20161 2014-02-07 Pedro Alves <palves@redhat.com>
20162
20163 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20164
20165 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20166
20167 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20168 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20169
20170 2014-02-06 Doug Evans <xdje42@gmail.com>
20171
20172 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20173 output.
20174
20175 * gdb.gdb/python-interrupts.exp: New file.
20176
20177 2014-02-05 Yao Qi <yao@codesourcery.com>
20178
20179 * gdb.trace/report.exp (use_collected_data): Test the output
20180 of "info threads" and "info inferiors".
20181
20182 2014-02-05 Yao Qi <yao@codesourcery.com>
20183
20184 Revert this patch:
20185
20186 2013-05-24 Yao Qi <yao@codesourcery.com>
20187
20188 * gdb.trace/tfile.exp: Test inferior and thread.
20189
20190 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20191
20192 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20193 on a function.
20194 * gdb.base/step-bt.c: Call hello via function pointer to make
20195 sure its first instruction is executed on powerpc64le-linux.
20196
20197 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20198
20199 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20200
20201 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20202
20203 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20204 of the test patterns for use on little-endian systems.
20205
20206 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20207
20208 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20209 (decimal_vector): Fix for little-endian.
20210
20211 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20212
20213 * gdb.arch/sparc-sysstep.exp: New file.
20214 * gdb.arch/sparc-sysstep.c: Likewise.
20215
20216 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20217
20218 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20219
20220 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20221
20222 2014-01-23 Tom Tromey <tromey@redhat.com>
20223
20224 * gdb.ada/array_char_idx: New testcase.
20225
20226 2014-01-23 Tom Tromey <tromey@redhat.com>
20227
20228 PR python/16487:
20229 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20230 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20231 classes.
20232
20233 2014-01-23 Tom Tromey <tromey@redhat.com>
20234
20235 PR python/16491:
20236 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20237 string from an inferior frame.
20238 * gdb.python/py-framefilter-mi.exp: Update.
20239
20240 2014-01-22 Doug Evans <dje@google.com>
20241
20242 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20243
20244 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20245
20246 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20247
20248 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20249
20250 * gdb.trace/entry-values.exp: Remove excess space character from
20251 regex patterns. Handle s390 call instruction.
20252
20253 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20254
20255 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20256 define "*_start" label. Make "name" static.
20257 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20258 ${name} by references to ${name}_start.
20259
20260 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20261
20262 * gdb.base/info-macros.exp: Remove "debug" from the compile
20263 options.
20264
20265 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20266
20267 * gdb.dlang/demangle.exp: New file.
20268
20269 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20270
20271 * gdb.dlang/primitive-types.exp: New file.
20272
20273 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20274
20275 * configure.ac: Create gdb.dlang/Makefile.
20276 * configure: Regenerate.
20277 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20278 * gdb.dlang/Makefile.in: New file.
20279 * lib/d-support.exp: New file.
20280 * lib/gdb.exp (skip_d_tests): New proc.
20281
20282 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20283
20284 * gdb.btrace/delta.exp: Check reverse stepi.
20285 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20286 * gdb.btrace/finish.exp: New.
20287 * gdb.btrace/next.exp: New.
20288 * gdb.btrace/nexti.exp: New.
20289 * gdb.btrace/record_goto.c: Add comments.
20290 * gdb.btrace/step.exp: New.
20291 * gdb.btrace/stepi.exp: New.
20292 * gdb.btrace/multi-thread-step.c: New.
20293 * gdb.btrace/multi-thread-step.exp: New.
20294 * gdb.btrace/rn-dl-bind.c: New.
20295 * gdb.btrace/rn-dl-bind.exp: New.
20296 * gdb.btrace/data.c: New.
20297 * gdb.btrace/data.exp: New.
20298 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20299
20300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20301
20302 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20303 * gdb.btrace/exception.exp: Update.
20304 * gdb.btrace/instruction_history.exp: Update.
20305 * gdb.btrace/record_goto.exp: Update.
20306 * gdb.btrace/tailcall.exp: Update.
20307 * gdb.btrace/unknown_functions.exp: Update.
20308 * gdb.btrace/delta.exp: New.
20309
20310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20311
20312 * gdb.btrace/record_goto.exp: Add backtrace test.
20313 * gdb.btrace/tailcall.exp: Add backtrace test.
20314
20315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20316
20317 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20318 * gdb.btrace/record_goto.c: New.
20319 * gdb.btrace/record_goto.exp: New.
20320 * gdb.btrace/x86-record_goto.S: New.
20321
20322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20323
20324 * gdb.btrace/function_call_history.exp: Update tests.
20325 * gdb.btrace/instruction_history.exp: Update tests.
20326
20327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20328
20329 * gdb.btrace/function_call_history.exp: Fix expected field
20330 order for "record function-call-history".
20331 Add new tests for "record function-call-history /c".
20332 * gdb.btrace/exception.cc: New.
20333 * gdb.btrace/exception.exp: New.
20334 * gdb.btrace/tailcall.exp: New.
20335 * gdb.btrace/x86-tailcall.S: New.
20336 * gdb.btrace/x86-tailcall.c: New.
20337 * gdb.btrace/unknown_functions.c: New.
20338 * gdb.btrace/unknown_functions.exp: New.
20339 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20340
20341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20342
20343 * gdb.btrace/instruction_history.exp: Update.
20344 * gdb.btrace/function_call_history.exp: Update.
20345
20346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20347
20348 * gdb.btrace/function_call_history.exp: Fix expected function
20349 trace.
20350 * gdb.btrace/instruction_history.exp: Initialize traced.
20351 Remove traced_functions.
20352
20353 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20354
20355 * gdb.btrace/function_call_history.exp: Update
20356 * gdb.btrace/instruction_history.exp: Update.
20357
20358 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20359
20360 * gdb.btrace/enable.exp: Update expected text.
20361
20362 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20363
20364 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20365 bytes.
20366
20367 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20368
20369 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20370
20371 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
20372
20373 * lib/gdb.exp (supports_process_record): Return true for
20374 arm*-linux*. (supports_reverse): Likewise.
20375
20376 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20377
20378 PR python/15464
20379 PR python/16113
20380 * gdb.python/py-type.c: Enhance test case.
20381 * gdb.python/py-value-cc.cc: Likewise
20382 * gdb.python/py-type.exp: Add new tests.
20383 * gdb.python/py-value-cc.exp: Likewise
20384
20385 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20386 Pedro Alves <palves@redhat.com>
20387
20388 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20389 Make "name" extern.
20390 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20391 references to ${name}_start by references to ${name}.
20392
20393 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20394
20395 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20396
20397 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20398
20399 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20400
20401 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20402 Pedro Alves <palves@redhat.com>
20403
20404 * gdb.mi/mi-info-os.exp: Connect to the target with
20405 mi_gdb_target_load.
20406
20407 2014-01-08 Pedro Alves <palves@redhat.com>
20408
20409 * gdb.threads/reconnect-signal.c: New file.
20410 * gdb.threads/reconnect-signal.exp: New file.
20411
20412 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20413
20414 * gdb.base/source-dir.exp: New file.
20415
20416 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20417
20418 * gdb.ada/mi_interface: New testcase.
20419
20420 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20421
20422 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20423 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20424 gdb.ada/pp-rec-component/pck.ads: New files.
20425
20426 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20427
20428 * gdb.python/py-pp-integral.c: New file.
20429 * gdb.python/py-pp-integral.py: New file.
20430 * gdb.python/py-pp-integral.exp: New file.
20431
20432 For older changes see ChangeLog-1993-2013.
20433 \f
20434 ;; Local Variables:
20435 ;; mode: change-log
20436 ;; left-margin: 8
20437 ;; fill-column: 74
20438 ;; version-control: never
20439 ;; End:
20440
20441 Copyright 2014-2020 Free Software Foundation, Inc.
20442 Copying and distribution of this file, with or without modification,
20443 are permitted provided the copyright notice and this notice are preserved.
This page took 0.523287 seconds and 5 git commands to generate.