79c1208bd50a97e3d77fd6cf934fe5dc599b3f75
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-07-03 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/charset.c (init_string): Change all char parameters to
4 unsigned char parameters.
5
6 2020-07-03 Pedro Alves <palves@redhat.com>
7
8 * gdb.base/call-sc.exp (start_scalars_test): Use
9 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
10 * gdb.base/overlays.c: Remove references to PARAMS.
11 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
12 * gdb.base/reread.exp: Don't set 'prototypes' global.
13 * gdb.base/structs.exp (start_structs_test): Use
14 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
15 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
16 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
17 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
18 call.
19 * gdb.base/varargs.exp: Don't set 'prototypes' global.
20
21 2020-07-03 Pedro Alves <palves@redhat.com>
22
23 * gdb.base/m32rovly.c: Delete.
24 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
25
26 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
27
28 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
29 of gdb_py_test_multiple.
30 * gdb.python/py-cmd.exp: Likewise.
31 * gdb.python/py-events.exp: Likewise.
32 * gdb.python/py-function.exp: Likewise.
33 * gdb.python/py-inferior.exp: Likewise.
34 * gdb.python/py-infthread.exp: Likewise.
35 * gdb.python/py-linetable.exp: Likewise.
36 * gdb.python/py-parameter.exp: Likewise.
37 * gdb.python/py-value.exp: Likewise.
38
39 2020-06-30 Tom de Vries <tdevries@suse.de>
40
41 PR testsuite/26175
42 * lib/future.exp (gdb_default_target_compile): Detect and handle
43 early_flags.
44
45 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
46
47 * boards/simavr.exp (gdb_load): Catch errors when closing
48 previous connection. Close connection, wait for process and
49 unset simavr_spawn_id on failure.
50
51 2020-06-29 Tom de Vries <tdevries@suse.de>
52
53 * lib/gdb.exp (unknown): Make test-case unresolved.
54
55 2020-06-29 Tom de Vries <tdevries@suse.de>
56
57 PR gdb/25475
58 * gdb.server/solib-list.exp: Verify that the symbol reload
59 confirmation question is asked.
60
61 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
62
63 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
64 have a input seq nr in each pass message.
65 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
66 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
67 * gdb.python/python.exp: Make test names unique,
68 use gdb_test_multiline instead of gdb_py_test_multiple,
69 use $gdb_test_name.
70 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
71
72 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
73
74 * configure.ac: Add --enable-libctf.
75 * aclocal.m4: sinclude ../config/enable.m4.
76 * Makefile.in (site.exp): Add enable_libctf to site.exp.
77 * lib/gdb.exp (skip_ctf_tests): Use it.
78 * gdb.base/ctf-constvars.exp: Error message tweak.
79 * gdb.base/ctf-ptype.exp: Likewise.
80 * configure: Regenerate.
81
82 2020-06-26 Gary Benson <gbenson@redhat.com>
83
84 * gdb.cp/try_catch.cc: Include string.h.
85 (main): Replace comparison against string literal with
86 strcmp, avoiding build failure with -Wstring-compare.
87 Add "marker test-complete".
88 * gdb.cp/try_catch.exp: Run the test to the above marker,
89 then verify that the value of "test" is still true.
90
91 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
94
95 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
98
99 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
102 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
103 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
104 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
105 * gdb.arch/riscv-tdesc-loading.exp: New file.
106
107 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
110
111 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
114 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
115 * gdb.arch/riscv-tdesc-regs.c: New file.
116 * gdb.arch/riscv-tdesc-regs.exp: New file.
117
118 2020-06-24 Pedro Alves <palves@redhat.com>
119
120 * gdb.arch/amd64-entry-value-paramref.exp: Use
121 prepare_for_testing_full and don't pass "c++" for the .S file
122 build spec.
123 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
124 $options, since it's an assembly file. Remove -Wno-deprecated.
125 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
126 compiling C++ programs.
127
128 2020-06-24 Pedro Alves <palves@redhat.com>
129
130 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
131 Clang, add "-Wno-unknown-warning-option" to the options.
132
133 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
134
135 * gdb.xml/tdesc-reload.c: New file.
136 * gdb.xml/tdesc-reload.exp: New file.
137 * gdb.xml/maint-xml-dump-01.xml: New file.
138 * gdb.xml/maint-xml-dump-02.xml: New file.
139 * gdb.xml/maint-xml-dump.exp: New file.
140
141 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
142
143 * lib/completion-support.exp (test_gdb_completion_offers_commands):
144 Adjust for omitted commands when TUI is disabled.
145
146 2020-06-23 Gary Benson <gbenson@redhat.com>
147 Pedro Alves <palves@redhat.com>
148
149 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
150 * gdb.cp/nsimport.cc: Likewise.
151 * gdb.cp/nsnested.cc: Likewise.
152 * gdb.cp/nsnoimports.cc: Likewise.
153 * gdb.cp/nsusing.cc: Likewise.
154 * gdb.cp/smartp.cc: Likewise.
155 * gdb.python/py-pp-integral.c: Likewise.
156 * gdb.python/py-pp-re-notag.c: Likewise.
157
158 2020-06-23 Gary Benson <gbenson@redhat.com>
159
160 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
161 * gdb.cp/nsimport.cc: Likewise.
162 * gdb.cp/nsnested.cc: Likewise.
163 * gdb.cp/nsnoimports.cc: Likewise.
164 * gdb.cp/nsusing.cc: Likewise.
165 * gdb.cp/smartp.cc: Likewise.
166 * gdb.python/py-pp-integral.c: Likewise.
167 * gdb.python/py-pp-re-notag.c: Likewise.
168
169 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
170
171 * gdb.base/default-args.exp: New test.
172 * gdb.base/default-args.c: New file.
173 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
174 * gdb.base/default.exp: Update to new help text.
175 * gdb.base/help.exp: Likewise.
176 * gdb.base/page.exp: Likewise.
177 * gdb.base/style.exp: Likewise.
178 * gdb.guile/guile.exp: Likewise.
179 * gdb.python/python.exp: Likewise.
180
181 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
182
183 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
184 remote host. Fix search path syntax on Windows host.
185
186 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
187
188 * gdb.base/attach.exp: Test priority of 'exec-file' changed
189 over 'exec-file-mismatch'.
190 * gdb.base/attach.c: Mark should_exit volatile.
191 * gdb.base/attach2.c: Likewise. Add a comment explaining
192 why the sleep cannot be big.
193 * gdb.base/attach3.c: New file.
194
195 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
196
197 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
198 prefix optional.
199
200 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
201
202 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
203 for remote host.
204
205 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
206 Hafiz Abid Qadeer <abidh@codesourcery.com>
207
208 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
209 file sent to remote host.
210 (top level): Allow int32_t as type of 32-bit register.
211
212 2020-06-19 Tom de Vries <tdevries@suse.de>
213
214 * lib/gdb.exp (gdb_note): New proc.
215 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
216 (gdb_default_target_compile): ... here. Only call
217 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
218 (use_gdb_compile): Change to array.
219 (toplevel): Update sets of use_gdb_compile to specify language.
220 Warn about default_target_compile override. Store dejagnu's version
221 of default_target_compile in dejagnu_default_target_compile.
222
223 2020-06-18 Tom de Vries <tdevries@suse.de>
224
225 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
226 (default_gdb_init): ... here.
227
228 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
229
230 Fix TUI support checks in gdb.tui tests.
231
232 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
233 just say UNSUPPORTED.
234 * gdb.tui/corefile-run.exp: Likewise.
235 * gdb.tui/empty.exp: Likewise.
236 * gdb.tui/list-before.exp: Likewise.
237 * gdb.tui/list.exp: Likewise.
238 * gdb.tui/main.exp: Likewise.
239 * gdb.tui/regs.exp: Likewise.
240 * gdb.tui/resize.exp: Likewise.
241 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
242 * gdb.tui/tui-layout-asm.exp: Likewise.
243 * gdb.tui/tui-missing-src.exp: Likewise.
244 * gdb.tui/winheight.exp: Likewise.
245 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
246
247 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
248
249 Fix TCL error in gdb.python/py-format-string.exp.
250
251 * gdb.python/py-format-string.exp: Move test for python support
252 earlier, out of function body.
253
254 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
255
256 * gdb.base/index-cache-load-twice.c: New.
257 * gdb.base/index-cache-load-twice.exp: New.
258
259 2020-06-17 Keith Seitz <keiths@redhat.com>
260
261 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
262 when executing "gdb --configuration".
263
264 2020-06-17 Tom de Vries <tdevries@suse.de>
265
266 * lib/gdb.exp (gdb_tcl_unknown): New proc.
267 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
268 conditional on presence of gdb_tcl_unknown.
269 (gdb_finish): Make override undo conditional on presence of
270 gdb_tcl_unknown.
271
272 2020-06-16 Tom Tromey <tom@tromey.com>
273
274 * gdb.python/tui-window.py (failwin): New function. Register it
275 as a TUI window type.
276 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
277
278 2020-06-16 Gary Benson <gbenson@redhat.com>
279
280 * gdb.python/py-nested-maps.c (create_map): Add missing return
281 value.
282 (create_map_map): Likewise.
283
284 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
285
286 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
287 variable.
288 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
289 and use the already-defined 'options' variable.
290
291 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
292 Tom de Vries <tdevries@suse.de>
293
294 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
295 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
296 (gdb_setup_known_globals): New proc.
297 (gdb_cleanup_globals): New proc.
298 * lib/gdb.exp (load_lib): New override proc.
299 (gdb_stdin_log_init): Set var in_file as persistent global.
300 * lib/pascal.exp (gdb_stdin_log_init): Set vars
301 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
302 fpc_compiler as persistent global.
303
304 2020-06-12 Tom de Vries <tdevries@suse.de>
305
306 * lib/tuiterm.exp (spawn): Rename to ...
307 (tui_spawn): ... this.
308 (toplevel): Move rename of spawn ...
309 (gdb_init_tuiterm): ... here. New proc.
310 (gdb_finish_tuiterm): New proc.
311 * lib/gdb.exp (gdb_finish_hooks): New global var.
312 (gdb_finish): Handle gdb_finish_hooks.
313 (tuiterm_env): New proc.
314 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
315 tuiterm_env.
316 * gdb.tui/basic.exp: Same.
317 * gdb.tui/corefile-run.exp: Same.
318 * gdb.tui/empty.exp: Same.
319 * gdb.tui/list-before.exp: Same.
320 * gdb.tui/list.exp: Same.
321 * gdb.tui/main.exp: Same.
322 * gdb.tui/new-layout.exp: Same.
323 * gdb.tui/regs.exp: Same.
324 * gdb.tui/resize.exp: Same.
325 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
326 * gdb.tui/tui-layout-asm.exp: Same.
327 * gdb.tui/tui-missing-src.exp: Same.
328 * gdb.tui/winheight.exp: Same.
329
330 2020-06-12 Tom de Vries <tdevries@suse.de>
331
332 PR testsuite/26110
333 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
334 (gdb_finish): Reinstall dejagnu's override of ::unknown.
335
336 2020-06-11 Tom Tromey <tom@tromey.com>
337
338 PR gdb/18318:
339 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
340 floating point tests.
341
342 2020-06-11 Keith Seitz <keiths@redhat.com>
343
344 PR gdb/21356
345 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
346 vla_struct.
347 Add new struct vla_typedef and union vla_typedef_union and
348 corresponding instantiation objects.
349 Initialize new objects.
350 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
351 and vla_typedef_union_object.
352 Fixup type for vla_struct_object.
353
354 2020-06-11 Tom de Vries <tdevries@suse.de>
355
356 * lib/gdb.exp (with_override): New proc, factored out of ...
357 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
358
359 2020-06-10 Tom de Vries <tdevries@suse.de>
360
361 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
362
363 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
364
365 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
366 parameter, update callers.
367
368 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
369
370 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
371 * gdb.dwarf2/share-psymtabs-bt.c: New file.
372 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
373
374 2020-06-04 Tom de Vries <tdevries@suse.de>
375
376 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
377
378 2020-06-04 Tom de Vries <tdevries@suse.de>
379
380 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
381 exp_continue.
382
383 2020-06-04 Tom de Vries <tdevries@suse.de>
384
385 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
386
387 2020-06-03 Tom de Vries <tdevries@suse.de>
388
389 PR symtab/26046
390 * gdb.cp/breakpoint-locs-2.cc: New test.
391 * gdb.cp/breakpoint-locs.cc: New test.
392 * gdb.cp/breakpoint-locs.exp: New file.
393 * gdb.cp/breakpoint-locs.h: New test.
394
395 2020-06-03 Tom de Vries <tdevries@suse.de>
396
397 PR testsuite/25609
398 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
399 value of global verbose.
400 * gdb.base/jit-elf.exp: Same.
401 * gdb.base/jit-reader.exp: Same.
402
403 2020-06-02 Tom de Vries <tdevries@suse.de>
404
405 * gdb.dwarf2/multidictionary.exp: Don't use
406 gdb_spawn_with_cmdline_opts.
407
408 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
411 use_header case.
412 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
413 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
414 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
415 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
416 * gdb.dwarf2/dw2-inline-header.c: New file.
417 * gdb.dwarf2/dw2-inline-header.h: New file.
418
419 2020-05-30 Pedro Alves <palves@redhat.com>
420
421 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
422 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
423
424 2020-05-29 Gary Benson <gbenson@redhat.com>
425
426 * gdb.compile/compile-cplus.exp (additional_flags): Also
427 set when building with clang.
428 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
429 when building with clang.
430
431 2020-05-29 Gary Benson <gbenson@redhat.com>
432
433 * gdb.arch/i386-avx.exp (additional_flags): Also set when
434 building with clang.
435 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
436
437 2020-05-29 Gary Benson <gbenson@redhat.com>
438
439 * gdb.cp/koenig.exp (prepare_for_testing): Add
440 additional_flags=-Wno-unused-comparison.
441 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
442
443 2020-05-28 Gary Benson <gbenson@redhat.com>
444
445 * gdb.base/sigaltstack.c (catcher): Add default case to switch
446 statement.
447
448 2020-05-28 Gary Benson <gbenson@redhat.com>
449
450 * gdb.cp/classes.exp (prepare_for_testing): Add
451 additional_flags=-Wno-deprecated-register.
452 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
453 * gdb.cp/misc.exp: Likewise.
454
455 2020-05-28 Gary Benson <gbenson@redhat.com>
456
457 * gdb.linespec/cpls-ops.cc (dummy): New static global.
458 (test_op_new::operator new): Add return statement.
459 (test_op_new_array::operator new[]): Likewise.
460
461 2020-05-27 Pedro Alves <palves@redhat.com>
462
463 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
464 check. Use test_gdb_complete_unique instead of
465 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
466 test_gdb_complete_multiple instead of
467 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
468
469 2020-05-27 Luis Machado <luis.machado@linaro.org>
470
471 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
472 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
473 * gdb.arch/arm-disassembler-options.exp: Likewise.
474 * gdb.arch/arm-disp-step.exp: Likewise.
475 * gdb.arch/thumb-prologue.exp: Likewise.
476 * gdb.base/async.exp: Likewise.
477 * gdb.base/auxv.exp: Likewise.
478 * gdb.base/complex-parts.exp: Likewise.
479 * gdb.base/ena-dis-br.exp: Likewise.
480 * gdb.base/foll-exec.exp: Likewise.
481 * gdb.base/permissions.exp: Likewise.
482 * gdb.base/relocate.exp: Likewise.
483 * gdb.base/return2.exp: Likewise.
484 * gdb.base/sigbpt.exp: Likewise.
485 * gdb.base/siginfo-obj.exp: Likewise.
486 * gdb.cp/converts.exp: Likewise.
487 * gdb.cp/exceptprint.exp: Likewise.
488 * gdb.cp/inherit.exp: Likewise.
489 * gdb.cp/nsnoimports.exp: Likewise.
490 * gdb.cp/virtbase2.exp: Likewise.
491 * gdb.mi/mi-var-cmd.exp: Likewise.
492 * gdb.mi/var-cmd.c: Likewise.
493
494 2020-05-26 Tom Tromey <tromey@adacore.com>
495
496 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
497
498 2020-05-26 Tom Tromey <tromey@adacore.com>
499
500 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
501 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
502 type.
503 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
504 variable.
505
506 2020-05-26 Christian Biesinger <cbiesinger@google.com>
507
508 * Makefile.in: Use = instead of == for the test command
509 for portability.
510
511 2020-05-26 Tom de Vries <tdevries@suse.de>
512
513 * gdb.base/gold-gdb-index-2.c: New test.
514 * gdb.base/gold-gdb-index.c: New test.
515 * gdb.base/gold-gdb-index.exp: New file.
516 * gdb.base/gold-gdb-index.h: New test.
517
518 2020-05-25 Tom de Vries <tdevries@suse.de>
519
520 * boards/gold-gdb-index.exp: New file.
521
522 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
523
524 * boards/simavr.exp: New file.
525
526 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
527
528 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
529 * gdb.base/inferior-args.exp: New file.
530 * gdb.base/inferior-args.c: New file.
531
532 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
533
534 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
535 inferior_args. Pass it to gdb_reload.
536 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
537 inferior_args.
538 (gdb_reload): Add inferior_args argument.
539 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
540 pass it to gdbserver_run.
541 * boards/native-gdbserver.exp: Do not set noargs.
542 * boards/native-extended-gdbserver.exp (gdb_reload): Add
543 inferior_args argument.
544 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
545 * gdb.base/a2-run.exp: Check for use_gdb_stub.
546 * gdb.base/args.exp: Likewise.
547
548 2020-05-25 Tom de Vries <tdevries@suse.de>
549
550 * lib/gdb.exp (exec_is_pie): Add comment.
551
552 2020-05-25 Tom de Vries <tdevries@suse.de>
553
554 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
555 instead of $binfile in the untested message.
556
557 2020-05-25 Tom de Vries <tdevries@suse.de>
558
559 PR testsuite/26031
560 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
561
562 2020-05-25 Tom de Vries <tdevries@suse.de>
563
564 * boards/gold.exp: New file.
565
566 2020-05-23 Tom Tromey <tom@tromey.com>
567
568 * gdb.base/style.exp: Remove completion styling test.
569 * lib/gdb-utils.exp (style): Remove completion styles.
570
571 2020-05-23 Tom Tromey <tom@tromey.com>
572
573 * gdb.base/style.exp: Add completion styling test.
574 * lib/gdb-utils.exp (style): Add completion styles.
575
576 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.base/annota1.exp: Update expected results.
579 * gdb.cp/annota2.exp: Update expected results, remove duplicate
580 test name.
581 * gdb.cp/annota3.exp: Update expected results.
582
583 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
584
585 PR gdb/26016
586 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
587 against MAP_FAILED.
588 * gdb.base/coremaker.c (mmapdata): Likewise.
589 * gdb.base/jit-reader-host.c (main): Likewise.
590 * gdb.base/sym-file-loader.c (load): Likewise.
591 (load_shlib): Likewise.
592
593 2020-05-20 Tom Tromey <tromey@adacore.com>
594
595 * gdb.ada/array_char_idx.exp: Recognize initialized array.
596
597 2020-05-20 Tom de Vries <tdevries@suse.de>
598
599 PR symtab/25833
600 * gdb.base/with-mf-inc.c: New test.
601 * gdb.base/with-mf-main.c: New test.
602 * gdb.base/with-mf.exp: New file.
603
604 2020-05-19 Tom Tromey <tromey@adacore.com>
605
606 * gdb.rust/simple.exp: Restore missing test result.
607
608 2020-05-19 Tom de Vries <tdevries@suse.de>
609
610 * gdb.base/gdb-caching-proc.exp: Fix typo.
611
612 2020-05-19 Tom Tromey <tromey@adacore.com>
613
614 * gdb.rust/simple.exp: Add some test descriptions.
615 (test_one_slice): Use with_test_prefix.
616
617 2020-05-18 Tom de Vries <tdevries@suse.de>
618
619 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
620
621 2020-05-17 Pedro Alves <palves@redhat.com>
622
623 PR gdb/25741
624 * gdb.base/hw-sw-break-same-address.exp: New file.
625
626 2020-05-16 Pedro Alves <palves@redhat.com>
627
628 * gdb.multi/multi-re-run.exp (test_re_run): Switch
629 LAST_LOADED_FILE accordingly.
630
631 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
632
633 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
634
635 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
636
637 * gdb.base/help.exp: Test apropos and help for commands
638 having aliases. Fixed comments not starting with an
639 upper-case letter or not finishing with a dot.
640
641 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
642
643 * gdb.base/alias.exp: Update help output check.
644
645 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
646
647 * gdb.base/default.exp: Update output following fixes.
648
649 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
650
651 * gdb.base/alias.exp: Test aliases starting with a prefix of
652 another alias.
653
654 2020-05-15 Gary Benson <gbenson@redhat.com>
655
656 * gdb.base/info-os.c (main): Add return statement.
657 * gdb.base/info_minsym.c (minsym_fun): Likewise.
658 * gdb.base/large-frame-2.c (func): Likewise.
659 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
660 * gdb.base/pr10179-b.c (foo2): Likewise.
661 * gdb.base/valgrind-disp-step.c (foo): Likewise.
662 * gdb.base/watch-cond.c (func): Likewise.
663 * gdb.multi/goodbye.c (verylongfun): Likewise.
664 * gdb.multi/hello.c (commonfun): Likewise.
665 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
666 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
667 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
668 Likewise.
669 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
670 * gdb.threads/interrupt-while-step-over.c (child_function):
671 Likewise.
672 * gdb.trace/actions-changed.c (end): Likewise.
673
674 2020-05-15 Gary Benson <gbenson@redhat.com>
675
676 * gdb.opencl/callfuncs.exp: Report when test skipped.
677 * gdb.opencl/convs_casts.exp: Likewise.
678 * gdb.opencl/datatypes.exp: Likewise.
679 * gdb.opencl/operators.exp: Likewise.
680 * gdb.opencl/vec_comps.exp: Likewise.
681
682 2020-05-15 Tom de Vries <tdevries@suse.de>
683
684 * gdb.base/align.exp.in: Rename to ...
685 * gdb.base/align.exp.tcl: ... this.
686 * gdb.base/align-c++.exp: Update.
687 * gdb.base/align-c.exp: Update.
688 * gdb.base/all-architectures.exp.in: Rename to ...
689 * gdb.base/all-architectures.exp: ... this.
690 * gdb.base/all-architectures-0.exp: Update.
691 * gdb.base/all-architectures-1.exp: Update.
692 * gdb.base/all-architectures-2.exp: Update.
693 * gdb.base/all-architectures-3.exp: Update.
694 * gdb.base/all-architectures-4.exp: Update.
695 * gdb.base/all-architectures-5.exp: Update.
696 * gdb.base/all-architectures-6.exp: Update.
697 * gdb.base/all-architectures-7.exp: Update.
698 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
699 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
700 * gdb.base/infcall-nested-structs-c++.exp: Update.
701 * gdb.base/infcall-nested-structs-c.exp: Update.
702 * gdb.base/info-types.exp.in: Rename to ...
703 * gdb.base/info-types.exp.tcl: ... this.
704 * gdb.base/info-types-c++.exp: Update.
705 * gdb.base/info-types-c.exp: Update.
706 * gdb.base/max-depth.exp.in: Rename to ...
707 * gdb.base/max-depth.exp.tcl: ... this.
708 * gdb.base/max-depth-c++.exp: Update.
709 * gdb.base/max-depth-c.exp: Update.
710 * gdb.cp/cpexprs.exp.in: Rename to ...
711 * gdb.cp/cpexprs.exp.tcl: ... this.
712 * gdb.cp/cpexprs-debug-types.exp: Update.
713 * gdb.cp/cpexprs.exp: Update.
714 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
715 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
716 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
717 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
718 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
719 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
720 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
721 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
722 * gdb.dwarf2/clang-debug-names-2.exp: Update.
723 * gdb.dwarf2/clang-debug-names.exp: Update.
724
725 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * lib/check-test-names.exp: Remove code that prevents this file
728 loading when tests are run in parallel.
729
730 2020-05-15 Pedro Alves <palves@redhat.com>
731
732 * gdb.multi/multi-kill.exp (start_inferior): Remove
733 'testpid' parameter. Refer to namespace variable directly.
734 (testpid): Declare as namespace variable.
735
736 2020-05-15 Pedro Alves <palves@redhat.com>
737
738 * gdb.multi/multi-kill.exp: Wrap in namespace.
739 (start_inferior): Add TESTPID parameter. Use it instead of the
740 testpid global.
741 (top level): Define empty TESTPID array, and pass it down to
742 start_inferior.
743
744 2020-05-14 Tom de Vries <tdevries@suse.de>
745
746 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
747 output.
748
749 2020-05-14 Tom de Vries <tdevries@suse.de>
750
751 * gdb.base/align.exp: Split into ...
752 * gdb.base/align.exp.in: ...
753 * gdb.base/align-c++.exp: ...
754 * gdb.base/align-c.exp: ... these.
755 * gdb.base/infcall-nested-structs.exp: Split into ...
756 * gdb.base/infcall-nested-structs.exp.in: ...
757 * gdb.base/infcall-nested-structs-c++.exp: ...
758 * gdb.base/infcall-nested-structs-c.exp: ... these.
759 * gdb.base/info-types.exp: Split into ...
760 * gdb.base/info-types.exp.in: ...
761 * gdb.base/info-types-c++.exp: ...
762 * gdb.base/info-types-c.exp: ... these.
763 * gdb.base/max-depth.exp: Split into ...
764 * gdb.base/max-depth.exp.in: ...
765 * gdb.base/max-depth-c++.exp: ...
766 * gdb.base/max-depth-c.exp: ... these.
767 * gdb.cp/infcall-nodebug.exp: Split into ...
768 * gdb.cp/infcall-nodebug.exp.in: ...
769 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
770 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
771 * gdb.cp/infcall-nodebug-c-d0.exp: ...
772 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
773
774 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
775 Pedro Alves <palves@redhat.com>
776
777 * gdb.multi/multi-exit.c: New file.
778 * gdb.multi/multi-exit.exp: New file.
779 * gdb.multi/multi-kill.c: New file.
780 * gdb.multi/multi-kill.exp: New file.
781
782 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
783
784 * gdb.base/annota1.exp: Update the expected output.
785 * gdb.cp/annota2.exp: Ditto.
786
787 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * lib/check-test-names.exp: Disable when testing is being run in
790 parallel.
791
792 2020-05-12 Tom de Vries <tdevries@suse.de>
793
794 * gdb.base/jit-elf.exp: Fix string concat.
795
796 2020-05-12 Tom de Vries <tdevries@suse.de>
797
798 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
799 messages.
800
801 2020-05-12 Tom de Vries <tdevries@suse.de>
802
803 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
804
805 2020-05-12 Tom de Vries <tdevries@suse.de>
806
807 * gdb.ada/catch_ex.exp: Use with_test_prefix.
808 * gdb.ada/mi_catch_ex.exp: Same.
809 * gdb.ada/mi_catch_ex_hand.exp: Same.
810
811 2020-05-12 Tom de Vries <tdevries@suse.de>
812
813 * gdb.fortran/complex.exp: Use with_test_prefix.
814
815 2020-05-12 Tom de Vries <tdevries@suse.de>
816
817 * gdb.trace/passcount.exp: Fix test-names.
818
819 2020-05-12 Tom de Vries <tdevries@suse.de>
820
821 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
822
823 2020-05-12 Tom de Vries <tdevries@suse.de>
824
825 * gdb.gdb/complaints.exp: Use with_test_prefix.
826 * gdb.xml/tdesc-regs.exp: Same.
827 * gdb.opt/inline-locals.exp: Fix test name.
828
829 2020-05-12 Tom de Vries <tdevries@suse.de>
830
831 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
832 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
833 * gdb.dwarf2/implref-struct.exp: Same.
834 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
835 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
836
837 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
838
839 * gdb.base/jit-so.exp (one_jit_test): Change test name.
840
841 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
842
843 * lib/check-test-names.exp (all_test_names): New module variable.
844 (counts): Add 'duplicates' field.
845 (_check_duplicates): New procedure.
846 (check): Also check for duplicates.
847 (do_log_summary): Print duplicates count.
848 (do_reset_vars): Reset counter for duplicate test names, and
849 discard all know test names.
850
851 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * lib/gdb.exp: Include check-test-names.exp library.
854 * lib/check-test-names.exp: New file.
855
856 2020-05-11 Tom de Vries <tdevries@suse.de>
857
858 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
859
860 2020-05-11 Keith Seitz <keiths@redhat.com>
861
862 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
863
864 2020-05-11 Tom de Vries <tdevries@suse.de>
865
866 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
867 * gdb.cp/cpexprs.exp.in: .. here.
868 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
869 cpexprs.exp.
870
871 2020-05-11 Keith Seitz <keiths@redhat.com>
872
873 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
874 test names.
875 * gdb.ada/arrayptr.exp: Likewise.
876 * gdb.ada/assign_arr.exp: Likewise.
877 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
878 * gdb.ada/bp_on_var.exp: Likewise.
879 * gdb.ada/call_pn.exp: Likewise.
880 * gdb.ada/complete.exp: Likewise.
881 * gdb.ada/fun_overload_menu.exp: Likewise.
882 * gdb.ada/funcall_param.exp: Likewise.
883 * gdb.ada/funcall_ref.exp: Likewise.
884 * gdb.ada/packed_array_assign.exp: Likewise.
885 * gdb.ada/same_component_name.exp: Likewise.
886 * gdb.ada/type_coercion.exp: Likewise.
887 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
888 * gdb.ada/variant_record_packed_array.exp: Likewise.
889
890 2020-05-11 Tom de Vries <tdevries@suse.de>
891
892 PR symtab/25941
893 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
894 out of ...
895 * gdb.dwarf2/clang-debug-names.exp: ... here.
896 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
897 clang-debug-names.exp.in.
898 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
899 * gdb.dwarf2/clang-debug-names-2.c: New test.
900
901 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
902
903 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
904 (fortran_runto_main): New Proc, fortran version of runto_main.
905 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
906 * gdb.fortran/array-bounds.exp: Likewise.
907 * gdb.fortran/array-slices.exp: Likewise.
908 * gdb.fortran/block-data.exp: Likewise.
909 * gdb.fortran/charset.exp: Likewise.
910 * gdb.fortran/common-block.exp: Likewise.
911 * gdb.fortran/complex.exp: Likewise.
912 * gdb.fortran/derived-type-function.exp: Likewise.
913 * gdb.fortran/derived-type.exp: Likewise.
914 * gdb.fortran/info-modules.exp: Likewise.
915 * gdb.fortran/info-types.exp: Likewise.
916 * gdb.fortran/intrinsics.exp: Likewise.
917 * gdb.fortran/library-module.exp: Likewise.
918 * gdb.fortran/logical.exp: Likewise.
919 * gdb.fortran/max-depth.exp: Likewise.
920 * gdb.fortran/module.exp: Likewise.
921 * gdb.fortran/multi-dim.exp: Likewise.
922 * gdb.fortran/nested-funcs.exp: Likewise.
923 * gdb.fortran/print-formatted.exp: Likewise.
924 * gdb.fortran/print_type.exp: Likewise.
925 * gdb.fortran/printing-types.exp: Likewise.
926 * gdb.fortran/ptr-indentation.exp: Likewise.
927 * gdb.fortran/ptype-on-functions.exp: Likewise.
928 * gdb.fortran/subarray.exp: Likewise.
929 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
930 * gdb.fortran/vla-datatypes.exp: Likewise.
931 * gdb.fortran/vla-history.exp: Likewise.
932 * gdb.fortran/vla-ptr-info.exp: Likewise.
933 * gdb.fortran/vla-ptype-sub.exp: Likewise.
934 * gdb.fortran/vla-ptype.exp: Likewise.
935 * gdb.fortran/vla-sizeof.exp: Likewise.
936 * gdb.fortran/vla-type.exp: Likewise.
937 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
938 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
939 * gdb.fortran/vla-value-sub.exp: Likewise.
940 * gdb.fortran/vla-value.exp: Likewise.
941 * gdb.fortran/whatis_type.exp: Likewise.
942 * gdb.mi/mi-var-child-f.exp: Likewise.
943
944 2020-05-09 Tom de Vries <tdevries@suse.de>
945
946 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
947
948 2020-05-08 Tom de Vries <tdevries@suse.de>
949
950 * gdb.dwarf2/clang-debug-names.c: New test.
951 * gdb.dwarf2/clang-debug-names.exp: New file.
952
953 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
954
955 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
956 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
957
958 2020-05-06 Tom de Vries <tdevries@suse.de>
959
960 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
961 breakpoint is at a "recommended breakpoint location".
962 * gdb.reverse/consecutive-reverse.exp: Same.
963
964 2020-05-06 Tom de Vries <tdevries@suse.de>
965
966 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
967 address.
968
969 2020-05-06 Tom de Vries <tdevries@suse.de>
970
971 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
972
973 2020-05-06 Tom de Vries <tdevries@suse.de>
974
975 * gdb.base/store.exp (check_set, up_set): Allowing missing location
976 info for r.
977
978 2020-05-06 Tom de Vries <tdevries@suse.de>
979
980 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
981 necessary.
982
983 2020-05-06 Tom de Vries <tdevries@suse.de>
984
985 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
986 void.
987
988 2020-05-06 Tom de Vries <tdevries@suse.de>
989
990 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
991 of ...
992 * gdb.base/async.exp: ... here.
993 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
994 "recommended breakpoint location".
995
996 2020-05-06 Tom de Vries <tdevries@suse.de>
997
998 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
999
1000 2020-05-04 Tom de Vries <tdevries@suse.de>
1001
1002 * gdb.base/async.exp: Check whether instruction addresses are a
1003 "recommended breakpoint location".
1004
1005 2020-05-03 Tom Tromey <tom@tromey.com>
1006
1007 * gdb.base/sepdebug.exp: Remove "catch" test.
1008 * gdb.base/break.exp: Remove "catch" test.
1009 * gdb.base/default.exp: Update expected output.
1010
1011 2020-05-02 Tom de Vries <tdevries@suse.de>
1012
1013 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1014 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1015 * gdb.arch/i386-mpx-map.exp: Same.
1016 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1017 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1018 * gdb.arch/i386-mpx.exp: Same.
1019
1020 2020-05-02 Tom de Vries <tdevries@suse.de>
1021
1022 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1023
1024 2020-05-01 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.ada/operator_bp.exp: Allow more than required amount of
1027 breakpoint.
1028
1029 2020-05-01 Tom de Vries <tdevries@suse.de>
1030
1031 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1032
1033 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1034
1035 PR gdb/18706
1036 * gdb.cp/stub-array-size.cc: New test.
1037 * gdb.cp/stub-array-size.exp: New file.
1038 * gdb.cp/stub-array-size.h: New test.
1039 * gdb.cp/stub-array-size2.cc: New test.
1040
1041 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1042
1043 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1044 output to the new format.
1045
1046 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1047
1048 * gdb.base/break.exp: Use with_test_prefix.
1049
1050 2020-04-29 Tom de Vries <tdevries@suse.de>
1051
1052 * lib/gdb.exp (debug_types): New proc.
1053 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1054 * gdb.python/py-symtab.exp: Same.
1055
1056 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1057
1058 PR gdb/17320
1059 * gdb.base/pretty-array.c: New test.
1060 * gdb.base/pretty-array.exp: New file.
1061
1062 2020-04-29 Tom de Vries <tdevries@suse.de>
1063
1064 PR symtab/25889
1065 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1066 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1067 and include cpexprs.exp.
1068
1069 2020-04-28 Mark Williams <mark@myosotissp.com>
1070
1071 PR gdb/24480
1072 * dw4-toplevel-types.exp: Test for top level types.
1073 * dw4-toplevel-types.cc: Test for top level types.
1074
1075 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1076
1077 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1078 (theads -> threads).
1079
1080 2020-04-28 Tom de Vries <tdevries@suse.de>
1081
1082 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1083
1084 2020-04-28 Tom de Vries <tdevries@suse.de>
1085
1086 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1087
1088 2020-04-28 Tom de Vries <tdevries@suse.de>
1089
1090 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1091
1092 2020-04-28 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.dwarf2/main-foo.c: New test.
1095 * gdb.dwarf2/struct-with-sig.exp: New file.
1096
1097 2020-04-25 Tom de Vries <tdevries@suse.de>
1098
1099 * boards/debug-types.exp: New file.
1100
1101 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1104
1105 2020-04-24 Tom Tromey <tom@tromey.com>
1106
1107 PR symtab/12707:
1108 * gdb.python/py-symbol.exp: Update expected results for
1109 linkage_name test.
1110 * gdb.cp/print-demangle.exp: New file.
1111 * gdb.base/c-linkage-name.exp: Fix test.
1112 * gdb.guile/scm-symbol.exp: Update expected results for
1113 linkage_name test.
1114
1115 2020-04-24 Tom Tromey <tom@tromey.com>
1116
1117 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1118 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1119 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1120 assembler.
1121
1122 2020-04-24 Tom de Vries <tdevries@suse.de>
1123
1124 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1125 C++.
1126
1127 2020-04-24 Tom Tromey <tromey@adacore.com>
1128
1129 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1130 values.
1131 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1132 values. Update test for minimal encodings.
1133 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1134 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1135 values. Update test for minimal encodings.
1136
1137 2020-04-24 Tom Tromey <tromey@adacore.com>
1138
1139 PR python/23662:
1140 * gdb.ada/variant.exp: Add Python checks.
1141 * gdb.rust/simple.exp: Add dynamic type checks.
1142
1143 2020-04-24 Tom Tromey <tromey@adacore.com>
1144
1145 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1146 Make array type matching more lax.
1147 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1148 * gdb.ada/mi_variant.exp: New file.
1149 * gdb.ada/mi_variant/pck.ads: New file.
1150 * gdb.ada/mi_variant/pkg.adb: New file.
1151 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1152 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1153
1154 2020-04-24 Tom Tromey <tromey@adacore.com>
1155
1156 * gdb.ada/variant.exp: Add dynamic field offset tests.
1157 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1158 * gdb.ada/variant/pkg.adb: Add new variables.
1159
1160 2020-04-24 Tom Tromey <tromey@adacore.com>
1161
1162 * gdb.ada/variant.exp: New file
1163 * gdb.ada/variant/pkg.adb: New file
1164 * gdb.ada/variant/pck.adb: New file
1165
1166 2020-04-24 Tom de Vries <tdevries@suse.de>
1167
1168 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1169
1170 2020-04-24 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1173 flags.
1174
1175 2020-04-24 Tom de Vries <tdevries@suse.de>
1176
1177 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1178
1179 2020-04-24 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/gdb.exp (default_gdb_start): Handle eof.
1182 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1183 failure.
1184 * gdb.base/readnever.exp: Handle clean_restart failure.
1185
1186 2020-04-23 Tom de Vries <tdevries@suse.de>
1187
1188 * gdb.base/decl-before-def.exp: Run to main and print a again.
1189
1190 2020-04-23 Tom de Vries <tdevries@suse.de>
1191
1192 * gdb.base/decl-before-def-decl.c: New test.
1193 * gdb.base/decl-before-def-def.c: New test.
1194 * gdb.base/decl-before-def.exp: New file.
1195
1196 2020-04-23 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1199
1200 2020-04-22 Tom de Vries <tdevries@suse.de>
1201
1202 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1203 debug_info_offset.
1204 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1205 before $objsfile in the line line.
1206
1207 2020-04-22 Tom de Vries <tdevries@suse.de>
1208
1209 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1210
1211 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1212
1213 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1214 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1215 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1216 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1217 * gdb.base/jit-protocol.h: Update definitions to match all usage
1218 contexts.
1219
1220 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1221
1222 * gdb.base: Rename all jit related test and source files.
1223
1224 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1225
1226 * gdb.base/jit-reader.exp: Relax register output check.
1227
1228 2020-04-22 Tom de Vries <tdevries@suse.de>
1229
1230 PR symtab/25764
1231 * gdb.base/psym-external-decl-2.c: New test.
1232 * gdb.base/psym-external-decl.c: New test.
1233 * gdb.base/psym-external-decl.exp: New file.
1234 * gdb.threads/tls.exp: Add PR25807 kfail.
1235
1236 2020-04-22 Tom de Vries <tdevries@suse.de>
1237
1238 PR symtab/25801
1239 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1240 in "info source" output.
1241
1242 2020-04-22 Tom de Vries <tdevries@suse.de>
1243
1244 PR symtab/25700
1245 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1246 symtab for imported_unit.c.
1247
1248 2020-04-21 Gary Benson <gbenson@redhat.com>
1249
1250 * gdb.base/advance.c (func): New argument, to match call site.
1251 (func2, func3): Add return statements.
1252
1253 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1254
1255 * gdb.multi/run-only-second-inf.c: New file.
1256 * gdb.multi/run-only-second-inf.exp: New file.
1257
1258 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1259
1260 * gdb.btrace/multi-inferior.c: New test.
1261 * gdb.btrace/multi-inferior.exp: New file.
1262
1263 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1264
1265 * gdb.btrace/enable-new-thread.c: New test.
1266 * gdb.btrace/enable-new-thread.exp: New file.
1267
1268 2020-04-21 Tom de Vries <tdevries@suse.de>
1269
1270 PR gdb/25471
1271 * gdb.threads/killed-outside.c: New test.
1272 * gdb.threads/killed-outside.exp: New file.
1273
1274 2020-04-20 Gary Benson <gbenson@redhat.com>
1275
1276 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1277 * gdb.base/nested-subp2.exp: Likewise.
1278 * gdb.base/nested-subp3.exp: Likewise.
1279
1280 2020-04-20 Gary Benson <gbenson@redhat.com>
1281
1282 * gdb.base/nested-subp1.exp: Disable test when using clang.
1283 * gdb.base/nested-subp2.exp: Likewise.
1284 * gdb.base/nested-subp3.exp: Likewise.
1285
1286 2020-04-20 Gary Benson <gbenson@redhat.com>
1287
1288 * gdb.cp/exception.cc: Fix compilation error with clang.
1289
1290 2020-04-20 Gary Benson <gbenson@redhat.com>
1291
1292 * gdb.trace/tspeed.c: Fix compilation error with clang.
1293
1294 2020-04-20 Gary Benson <gbenson@redhat.com>
1295
1296 * gdb.base/jit-main.c: Fix compilation error with clang.
1297
1298 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1299
1300 * gdb.base/attach-twice.c: Include "sys/types.h".
1301 (PTRACE_ATTACH): Add fallback definition.
1302 (main): Pass `0' to the 4th argument of `ptrace'.
1303
1304 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1305
1306 * gdb.base/fork-running-state.c: Include "signal.h".
1307
1308 2020-04-17 Tom Tromey <tromey@adacore.com>
1309
1310 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1311 Update tests.
1312 * gdb.btrace/cpu.exp: Update tests.
1313 * gdb.base/maint.exp: Update tests.
1314 * gdb.base/default.exp: Update tests.
1315 * gdb.base/completion.exp: Update tests.
1316
1317 2020-04-16 Tom de Vries <tdevries@suse.de>
1318
1319 PR symtab/25791
1320 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1321 (ensure_gdb_index): and factor out and move ...
1322 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1323 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1324
1325 2020-04-16 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1328 loading exec.
1329
1330 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1331
1332 * gdb.base/many-completions.exp: New file.
1333
1334 2020-04-14 Tom de Vries <tdevries@suse.de>
1335
1336 PR symtab/25718
1337 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1338
1339 2020-04-14 Tom de Vries <tdevries@suse.de>
1340
1341 PR symtab/25720
1342 * gdb.base/maint-expand-symbols-header-file.c: New test.
1343 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1344 * gdb.base/maint-expand-symbols-header-file.h: New test.
1345
1346 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1347
1348 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1349 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1350 get_func_info.
1351 (get_func_info): Delete.
1352 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1353 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1354 * lib/dwarf.exp (get_func_info): New function.
1355
1356 2020-04-13 Tom de Vries <tdevries@suse.de>
1357
1358 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1359 to what find_gnatmake does.
1360
1361 2020-04-10 Tom de Vries <tdevries@suse.de>
1362
1363 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1364 -readnow.
1365
1366 2020-04-10 Tom de Vries <tdevries@suse.de>
1367
1368 PR cli/25808
1369 * gdb.base/style.c: Add leading newlines.
1370 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1371 Check listing of main's one-line body.
1372
1373 2020-04-08 Tom de Vries <tdevries@suse.de>
1374
1375 * lib/gdb.exp (psymtabs_p): New proc.
1376 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1377 importing unit" unsupported if there are no partial symbols.
1378
1379 2020-04-08 Tom de Vries <tdevries@suse.de>
1380
1381 PR testsuite/25760
1382 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1383
1384 2020-04-07 Tom de Vries <tdevries@suse.de>
1385
1386 PR symtab/25796
1387 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1388
1389 2020-04-07 Tom de Vries <tdevries@suse.de>
1390
1391 * gdb.base/check-psymtab.c: New test.
1392 * gdb.base/check-psymtab.exp: New file.
1393
1394 2020-04-06 Tom Tromey <tromey@adacore.com>
1395
1396 * gdb.ada/variant-record/proc.adb: New file.
1397 * gdb.ada/variant-record/value.adb: New file.
1398 * gdb.ada/variant-record/value.s: New file.
1399 * gdb.ada/variant-record.exp: New file.
1400
1401 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
1402
1403 PR gdb/25325
1404 * gdb.cp/typed-enum.cc: New test.
1405 * gdb.cp/typed-enum.exp: New file.
1406
1407 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1408
1409 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1410 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1411 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1412 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1413 * gdb.opt/inline-small-func.c: New file.
1414 * gdb.opt/inline-small-func.exp: New file.
1415 * gdb.opt/inline-small-func.h: New file.
1416
1417 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1420 function.
1421
1422 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * lib/dwarf.exp (function_range): Allow compiler options to be
1425 specified.
1426
1427 2020-04-02 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1430 __attribute__((always_inline)).
1431 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1432
1433 2020-04-02 Tom de Vries <tdevries@suse.de>
1434
1435 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1436 (gdbserver_gdb_exit): ... here. Add timeout warning.
1437 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1438 (connect_target_extended_remote): Append new server_spawn_id to
1439 server_spawn_ids.
1440 (cleanup): New proc.
1441 (setup, <toplevel>): Call cleanup.
1442
1443 2020-04-02 Tom de Vries <tdevries@suse.de>
1444
1445 * gdb.base/main-psymtab.exp: New file.
1446
1447 2020-04-02 Tom de Vries <tdevries@suse.de>
1448
1449 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1450
1451 2020-04-01 Tom Tromey <tom@tromey.com>
1452
1453 * gdb.base/complex-parts.exp: Add type tests.
1454
1455 2020-04-01 Tom Tromey <tom@tromey.com>
1456
1457 * gdb.base/complex-parts.exp: Add arithmetic tests.
1458
1459 2020-04-01 Tom Tromey <tom@tromey.com>
1460
1461 * gdb.compile/compile.exp: Update.
1462 * gdb.compile/compile-cplus.exp: Update.
1463 * gdb.base/varargs.exp: Update.
1464 * gdb.base/floatn.exp: Update.
1465 * gdb.base/endianity.exp: Update.
1466 * gdb.base/callfuncs.exp (do_function_calls): Update.
1467 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1468 (complex_float_integral_args): Update.
1469 * gdb.base/complex.exp: Update.
1470 * gdb.base/complex-parts.exp: Update.
1471
1472 2020-04-01 Tom Tromey <tromey@adacore.com>
1473
1474 * gdb.rust/union.rs: New file.
1475 * gdb.rust/union.exp: New file.
1476 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1477 (main): Update.
1478 * gdb.rust/simple.exp: Move union tests to union.exp.
1479
1480 2020-04-01 Tom Tromey <tromey@adacore.com>
1481
1482 * gdb.rust/simple.rs (main): Remove "y0".
1483
1484 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1485
1486 * gdb.multi/stop-all-on-exit.c: New test.
1487 * gdb.multi/stop-all-on-exit.exp: New file.
1488
1489 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
1490
1491 PR gdb/24789
1492 * gdb.cp/misc.cc: Add integer reference variable.
1493 * gdb.cp/misc.exp: Add test.
1494
1495 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1496
1497 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1498 scenario to cover execution until the end and also the case
1499
1500 2020-03-31 Tom de Vries <tdevries@suse.de>
1501
1502 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1503 c. Use "maint info symtabs" to check symtab expansion.
1504
1505 2020-03-30 Tom de Vries <tdevries@suse.de>
1506
1507 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1508 unsupported.
1509 (verify_psymtab_expanded): Move ...
1510 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1511 test.
1512 (readnow): New proc.
1513
1514 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1517 with $hex.
1518
1519 2020-03-20 Tom Tromey <tromey@adacore.com>
1520
1521 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1522
1523 2020-03-20 Tom Tromey <tromey@adacore.com>
1524
1525 * gdb.ada/sub_variant/subv.adb: New file.
1526 * gdb.ada/sub_variant.exp: New file.
1527
1528 2020-03-20 Tom de Vries <tdevries@suse.de>
1529
1530 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1531 first break fails.
1532 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1533
1534 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1535
1536 * gdb.server/exit-multiple-threads.c: New file.
1537 * gdb.server/exit-multiple-threads.exp: New file.
1538
1539 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * gdb.fortran/mixed-lang-stack.c: New file.
1542 * gdb.fortran/mixed-lang-stack.cpp: New file.
1543 * gdb.fortran/mixed-lang-stack.exp: New file.
1544 * gdb.fortran/mixed-lang-stack.f90: New file.
1545
1546 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 * gdb.linespec/cp-completion-aliases.cc: New file.
1549 * gdb.linespec/cp-completion-aliases.exp: New file.
1550
1551 2020-03-19 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1554 more precise.
1555
1556 2020-03-18 Tom de Vries <tdevries@suse.de>
1557
1558 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1559 * gdb.dwarf2/break-inline-psymtab.c: New test.
1560 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1561
1562 2020-03-16 Tom de Vries <tdevries@suse.de>
1563
1564 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1565 cache_verify and cache_verify_proc.
1566
1567 2020-03-15 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.server/solib-list.exp: Handle
1570 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1571
1572 2020-03-15 Tom de Vries <tdevries@suse.de>
1573
1574 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1575 objfiles".
1576
1577 2020-03-14 Tom Tromey <tom@tromey.com>
1578
1579 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1580
1581 2020-03-14 Tom de Vries <tdevries@suse.de>
1582
1583 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1584
1585 2020-03-14 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1588 result in line-by-line fashion.
1589
1590 2020-03-14 Tom de Vries <tdevries@suse.de>
1591
1592 * lib/gdb.exp (supports_statement_frontiers): New proc.
1593 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1594
1595 2020-03-14 Tom de Vries <tdevries@suse.de>
1596
1597 * gdb.base/printcmds.exp: Add missing quoting for "print
1598 teststring2".
1599
1600 2020-03-13 Tom Tromey <tom@tromey.com>
1601
1602 * gdb.base/printcmds.exp (test_print_strings): Add regression
1603 test.
1604 * gdb.base/printcmds.c (charptr): New typedef.
1605 (teststring2): New global.
1606
1607 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1610 full path in the test name.
1611 (test_ld): Add some with_test_prefix blocks to make test names
1612 unique.
1613
1614 2020-03-13 Tom de Vries <tdevries@suse.de>
1615
1616 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1617
1618 2020-03-13 Tom de Vries <tdevries@suse.de>
1619
1620 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1621
1622 2020-03-13 Tom de Vries <tdevries@suse.de>
1623
1624 PR symtab/25646
1625 * gdb.dwarf2/imported-unit.exp: Add test.
1626
1627 2020-03-13 Tom de Vries <tdevries@suse.de>
1628
1629 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1630 (var1, var2): New variable.
1631 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1632 matching symbols.
1633
1634 2020-03-13 Tom de Vries <tdevries@suse.de>
1635
1636 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1637 (Term::command): Use prompt prefix.
1638 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1639 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1640 command_no_prompt_prefix instead of prefix.
1641 * gdb.tui/tui-layout-asm.exp: Same.
1642
1643 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1644
1645 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1646
1647 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1648
1649 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1650 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1651 on" while stepping over the test instruction, match printed
1652 message.
1653
1654 2020-03-12 Tom de Vries <tdevries@suse.de>
1655
1656 * gdb.base/info-types.exp: Use exp_continue during matching of output
1657 of "info types".
1658
1659 2020-03-12 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1662
1663 2020-03-12 Tom de Vries <tdevries@suse.de>
1664
1665 * gdb.fortran/module.exp: Use exp_continue during matching of output
1666 of "info variable -n".
1667
1668 2020-03-12 Tom de Vries <tdevries@suse.de>
1669
1670 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1671 gdb.dwarf2/dw2-ranges-base.c.
1672
1673 2020-03-12 Tom de Vries <tdevries@suse.de>
1674
1675 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1676 in presence of GLIBC debuginfo.
1677
1678 2020-03-12 Tom de Vries <tdevries@suse.de>
1679
1680 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1681 $core.
1682
1683 2020-03-12 Tom de Vries <tdevries@suse.de>
1684
1685 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1686 more precise.
1687
1688 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
1689
1690 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1691 from Unix to Windows path.
1692
1693 2020-03-11 Tom de Vries <tdevries@suse.de>
1694
1695 * gdb.ada/minsyms.exp: Set language to ada.
1696
1697 2020-03-11 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1700
1701 2020-03-11 Tom de Vries <tdevries@suse.de>
1702
1703 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1704
1705 2020-03-11 Tom Tromey <tromey@adacore.com>
1706
1707 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1708
1709 2020-03-11 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1712
1713 2020-03-11 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.base/break-interp.exp: Limit verbose scope.
1716
1717 2020-03-11 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.fortran/logical.f90: Define variable with character type.
1720 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1721
1722 2020-03-11 Tom de Vries <tdevries@suse.de>
1723
1724 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1725
1726 2020-03-11 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1729 symtabs.
1730
1731 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1732 Bernd Edlinger <bernd.edlinger@hotmail.de>
1733
1734 * gdb.cp/step-and-next-inline.cc: New file.
1735 * gdb.cp/step-and-next-inline.exp: New file.
1736 * gdb.cp/step-and-next-inline.h: New file.
1737 * gdb.dwarf2/dw2-is-stmt.c: New file.
1738 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1739 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1740 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1741 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1742
1743 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1744
1745 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1746 is-stmt flag in the line table.
1747
1748 2020-03-09 Tom de Vries <tdevries@suse.de>
1749
1750 * lib/gdb.exp (cached_file): Create cache dir.
1751
1752 2020-03-07 Tom de Vries <tdevries@suse.de>
1753
1754 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1755 * gdb.cp/rvalue-ref-params.exp: Same.
1756
1757 2020-03-06 Tom de Vries <tdevries@suse.de>
1758
1759 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1760 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1761
1762 2020-03-06 Tom de Vries <tdevries@suse.de>
1763
1764 * README: Fix "the the".
1765 * gdb.base/dprintf.exp: Same.
1766
1767 2020-03-05 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.base/maint.exp: Update "main print statistics" expected output.
1770
1771 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1772
1773 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1774 (fortran_int8): Likewise.
1775 (fortran_real4): Likewise.
1776 (fortran_real8): Likewise.
1777 (fortran_complex4): Likewise.
1778 (fortran_logical4): Likewise.
1779 (fortran_character1): Likewise.
1780
1781 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1782
1783 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1784 printed as true.
1785
1786 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1787
1788 * gdb.base/printcmds.exp: Add test to verify printf of a
1789 variable holding an address.
1790
1791 2020-03-03 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1794
1795 2020-03-03 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1798 gdb_test_multiple call.
1799
1800 2020-03-03 Tom de Vries <tdevries@suse.de>
1801
1802 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1803 gdb_test_multiple calls.
1804
1805 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1806
1807 * gdb.base/default.exp: Remove test of 'set history filename'.
1808 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1809 filename to the empty string.
1810 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1811 and GDBHISTSIZE.
1812
1813 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1814
1815 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1816 disabled.
1817
1818 2020-03-02 Pedro Alves <palves@redhat.com>
1819 Tom de Vries <tdevries@suse.de>
1820
1821 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1822 -prompt prefix, before user_code argument. Add -lbl option likewise.
1823 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1824 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1825 argument.
1826 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1827 have "\r\n" at start-of-line, instead of at end-of-line.
1828
1829 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1830
1831 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1832 libinproctrace.so.
1833
1834 2020-02-28 Luis Machado <luis.machado@linaro.org>
1835
1836 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1837 to "p/x".
1838
1839 2020-02-28 Luis Machado <luis.machado@linaro.org>
1840
1841 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1842 asm/ptrace.h and error.h.
1843
1844 2020-02-28 Tom de Vries <tdevries@suse.de>
1845
1846 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1847 (struct wrapper, do_something, mundane/symada__cS): Move ...
1848 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1849 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1850 Update "print symada__cS before partial symtab expansion" regexp.
1851 Update breakpoint location. Flush symbol cache after expansion.
1852
1853 2020-02-28 Luis Machado <luis.machado@linaro.org>
1854
1855 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1856
1857 2020-02-27 Tom de Vries <tdevries@suse.de>
1858
1859 * config/sid.exp: Remove unused globals.
1860 * gdb.base/attach.exp: Same.
1861 * gdb.base/catch-load.exp: Same.
1862 * gdb.base/dbx.exp: Same.
1863 * lib/gdb.exp: Same.
1864 * lib/mi-support.exp: Same.
1865 * lib/prompt.exp: Same.
1866
1867 2020-02-27 Tom de Vries <tdevries@suse.de>
1868
1869 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1870 not set.
1871
1872 2020-02-26 Aaron Merey <amerey@redhat.com>
1873
1874 * gdb.debuginfod: New directory for debuginfod tests.
1875 * gdb.debuginfod/main.c: New test file.
1876 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1877
1878 2020-02-26 Tom de Vries <tdevries@suse.de>
1879
1880 PR gdb/25603
1881 * gdb.base/persistent-lang.cc: New test.
1882 * gdb.base/persistent-lang.exp: New file.
1883
1884 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1885
1886 * gdb.fortran/derived-type-striding.exp: Add a new test.
1887 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1888 new test.
1889
1890 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1891
1892 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1893 names.
1894
1895 2020-02-25 Tom de Vries <tdevries@suse.de>
1896
1897 PR go/18926
1898 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1899
1900 2020-02-24 Tom de Vries <tdevries@suse.de>
1901
1902 PR gdb/25592
1903 * gdb.base/info-locals-unused-static-var.c: New test.
1904 * gdb.base/info-locals-unused-static-var.exp: New file.
1905
1906 2020-02-22 Tom Tromey <tom@tromey.com>
1907
1908 * gdb.python/tui-window.exp: New file.
1909 * gdb.python/tui-window.py: New file.
1910
1911 2020-02-22 Tom Tromey <tom@tromey.com>
1912
1913 PR tui/17850:
1914 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1915 tests.
1916
1917 2020-02-22 Tom Tromey <tom@tromey.com>
1918
1919 * gdb.tui/new-layout.exp: Add sub-layout tests.
1920
1921 2020-02-22 Tom Tromey <tom@tromey.com>
1922
1923 * gdb.tui/new-layout.exp: New file.
1924
1925 2020-02-22 Tom Tromey <tom@tromey.com>
1926
1927 * gdb.rust/rust-style.rs: New file.
1928 * gdb.rust/rust-style.exp: New file.
1929 * gdb.base/style.exp: Test structure printing.
1930 * gdb.base/style.c (struct some_struct): New type.
1931 (enum etype): New type.
1932 (struct_value): New global.
1933
1934 2020-02-21 Tom de Vries <tdevries@suse.de>
1935
1936 PR go/18926
1937 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1938 Remove blanket xfails. Use message argument for gdb_breakpoint.
1939 Make continuing to breakpoint test conditional on setting breakpoint.
1940 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1941 DW_AT_name attribute. Add xfail for GCC PR93866.
1942
1943 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1944
1945 * gdb.dwarf2/cpp-linkage-name.c: New file.
1946 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1947
1948 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1949
1950 * lib/gdb.exp (gdb_wrapper_init): Reset
1951 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1952 not exist.
1953
1954 2020-02-20 Tom de Vries <tdevries@suse.de>
1955
1956 PR go/17018
1957 * gdb.go/hello.exp: Copy ...
1958 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1959 print of st to print value of global definition. Add xfail for GCC
1960 PR93844.
1961 * gdb.go/hello.exp: Remove printing of st before definition.
1962 * gdb.go/hello.go: Copy ...
1963 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1964 to st.
1965 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1966
1967 2020-02-20 Tom de Vries <tdevries@suse.de>
1968
1969 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1970 (gdb_simple_compile): Handle compile_flags go by using .go extension
1971 for source file.
1972 * gdb.go/chan.exp: Use support_go_compile.
1973 * gdb.go/handcall.exp: Same.
1974 * gdb.go/hello.exp: Same.
1975 * gdb.go/integers.exp: Same.
1976 * gdb.go/max-depth.exp: Same.
1977 * gdb.go/methods.exp: Same.
1978 * gdb.go/package.exp: Same.
1979 * gdb.go/strings.exp: Same.
1980 * gdb.go/types.exp: Same.
1981 * gdb.go/unsafe.exp: Same.
1982
1983 2020-02-19 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.python/lib-types.exp: Make xfail more strict.
1986
1987 2020-02-19 Tom de Vries <tdevries@suse.de>
1988
1989 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1990
1991 2020-02-19 Doug Evans <dje@google.com>
1992
1993 PR rust/25535
1994 * gdb.rust/simple.exp: Add test.
1995 * gdb.rust/simple.rs: Add test.
1996
1997 2020-02-19 Tom de Vries <tdevries@suse.de>
1998
1999 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2000 output line-by-line.
2001
2002 2020-02-19 Tom de Vries <tdevries@suse.de>
2003
2004 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2005
2006 2020-02-19 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2009 prelink.
2010
2011 2020-02-19 Tom de Vries <tdevries@suse.de>
2012
2013 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2014 (gdb_do_cache): Use gdb_do_cache_wrap.
2015 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2016
2017 2020-02-19 Tom de Vries <tdevries@suse.de>
2018
2019 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2020 gdb_compile option.
2021
2022 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2023
2024 * gdb.base/printcmds.exp (test_print_enums): Update expected
2025 output.
2026
2027 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2028
2029 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2030 for "unknown".
2031
2032 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2033
2034 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2035 enumerator.
2036
2037 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2038
2039 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2040 FE_, add FE_NONE.
2041 (three): Update.
2042 (enum flag_enum_without_zero): New enum.
2043 (flag_enum_without_zero): New variable.
2044 (enum not_flag_enum): New enum.
2045 (three_not_flag): New variable.
2046 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2047 (test_print_enums): Add more tests for printing flag enums.
2048
2049 2020-02-18 Tom de Vries <tdevries@suse.de>
2050
2051 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2052 (gdb_compile_ada): ... here.
2053 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2054 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2055
2056 2020-02-14 Tom Tromey <tom@tromey.com>
2057
2058 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2059 build directory.
2060 * boards/gdbserver-base.exp: Update path to gdbserver.
2061
2062 2020-02-13 Tom de Vries <tdevries@suse.de>
2063
2064 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2065
2066 2020-02-13 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2069 are missing.
2070
2071 2020-02-13 Tom de Vries <tdevries@suse.de>
2072
2073 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2074 call.
2075
2076 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2077
2078 PR tui/25126
2079 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2080 * gdb.base/cached-source-file.c: New file.
2081 * gdb.base/cached-source-file.exp: New file.
2082
2083 2020-02-11 Tom de Vries <tdevries@suse.de>
2084
2085 PR testsuite/25488
2086 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2087
2088 2020-02-10 Tom de Vries <tdevries@suse.de>
2089
2090 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2091
2092 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2093
2094 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2095 and $after_addr are both integers before making a comparison.
2096
2097 2020-02-09 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2100 command output and paste it into gdb.log. If any, paste catch message
2101 to gdb.log.
2102
2103 2020-02-07 Tom Tromey <tromey@adacore.com>
2104
2105 PR breakpoints/24915:
2106 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2107
2108 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2109
2110 * gdb.tui/tui-missing-src.exp: Add the "missing source
2111 file" test for the TUI.
2112
2113 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2114
2115 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2116 including a port number in the output.
2117
2118 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2119
2120 * lib/fortran.exp (fortran_int4): Handle clang.
2121 (fortran_int8): Likewise.
2122 (fortran_real4): Likewise.
2123 (fortran_real8): Likewise.
2124 (fortran_complex4): Likewise.
2125 (fortran_logical4): Likewise.
2126 (fortran_character1): Likewise.
2127
2128 2020-02-04 Tom de Vries <tdevries@suse.de>
2129
2130 * README (Race detection): Add note.
2131
2132 2020-02-04 Tom de Vries <tdevries@suse.de>
2133
2134 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2135
2136 2020-02-04 Tom de Vries <tdevries@suse.de>
2137
2138 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2139
2140 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2141
2142 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2143 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2144 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2145 blttar, bnetarl.
2146 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2147 binary for blttar, bnetarl.
2148 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2149 wait instruction. Delete ldmx test.
2150 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2151
2152 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2153
2154 * gdb.fortran/array-bounds-high.exp: New file.
2155 * gdb.fortran/array-bounds-high.f90: New file.
2156
2157 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2158
2159 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2160 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2161
2162 2020-02-01 Tom de Vries <tdevries@suse.de>
2163
2164 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2165
2166 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2167
2168 PR tui/9765
2169 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2170 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2171
2172 2020-01-29 Luis Machado <luis.machado@linaro.org>
2173
2174 * gdb.arch/aarch64-brk-patterns.c: New source file.
2175 * gdb.arch/aarch64-brk-patterns.exp: New test.
2176
2177 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2178
2179 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2180 GCC/Clang version.
2181 * gdb.cp/pass-by-ref.exp: Ditto.
2182
2183 2020-01-29 Tom de Vries <tdevries@suse.de>
2184
2185 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2186 * gdb.threads/watchpoint-fork-mt.c: Same.
2187 * gdb.threads/watchpoint-fork-parent.c: Same.
2188 * gdb.threads/watchpoint-fork-st.c: Same.
2189 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2190
2191 2020-01-27 Luis Machado <luis.machado@linaro.org>
2192
2193 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2194 sitting at a syscall instruction when we hit the syscall function's
2195 breakpoint.
2196 Check PC against one obtained with the x command.
2197 Validate syscall number.
2198 (step_over_syscall): Don't continue to the syscall instruction if
2199 we're already there.
2200
2201 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2202
2203 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2204
2205 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2206
2207 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2208 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2209
2210 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2213 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2214
2215 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2216
2217 * gdb.base/maint.exp: Update line table parsing test.
2218 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2219
2220 2020-01-24 Pedro Alves <palves@redhat.com>
2221
2222 PR gdb/25410
2223 * gdb.multi/multi-re-run-1.c: New.
2224 * gdb.multi/multi-re-run-2.c: New.
2225 * gdb.multi/multi-re-run.exp: New.
2226
2227 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 PR gdb/23718
2230 * gdb.server/server-kill-python.exp: New file.
2231
2232 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.server/multi-ui-errors.c: New file.
2235 * gdb.server/multi-ui-errors.exp: New file.
2236
2237 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2238
2239 PR tui/9765
2240 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2241
2242 2020-01-19 Tom Tromey <tom@tromey.com>
2243
2244 * gdb.tui/main.exp: Add check for plain "file".
2245
2246 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2247
2248 * lib/gdb.exp: Fix spelling error (seperatelly).
2249
2250 2020-01-14 Tom Tromey <tom@tromey.com>
2251
2252 PR symtab/12535:
2253 * gdb.python/python.exp: Test decode_line with empty string
2254 argument.
2255
2256 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2257
2258 * gdb.base/skip-inline.exp: Extend test.
2259
2260 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2263 * gdb.dwarf2/dw2-bad-elf.c: New file.
2264 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2265
2266 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2267
2268 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2269 _line_saw_file.
2270
2271 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2272
2273 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2274 border.
2275
2276 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2277
2278 * gdb.multi/multi-target.exp (setup): Factor out "info
2279 connections" and "info inferiors" tests to ...
2280 (test_info_inferiors): ... this new procedure.
2281 (top level): Run new "info-inferiors" tests.
2282
2283 2020-01-10 Pedro Alves <palves@redhat.com>
2284
2285 * gdb.server/bkpt-other-inferior.exp: New file.
2286
2287 2020-01-10 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2290 of "add-inferior".
2291 * gdb.base/quit-live.exp: Likewise.
2292 * gdb.base/remote-exec-file.exp: Likewise.
2293 * gdb.guile/scm-progspace.exp: Likewise.
2294 * gdb.linespec/linespec.exp: Likewise.
2295 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2296 * gdb.mi/user-selected-context-sync.exp: Likewise.
2297 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2298 "info inferiors" tests.
2299 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2300 "add-inferior".
2301 * gdb.multi/watchpoint-multi.exp: Likewise.
2302 * gdb.python/py-inferior.exp: Likewise.
2303 * gdb.server/extended-remote-restart.exp: Likewise.
2304 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2305 "info inferiors".
2306 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2307 * gdb.trace/report.exp: Likewise.
2308
2309 2020-01-10 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.multi/multi-target.c: New file.
2312 * gdb.multi/multi-target.exp: New file.
2313 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2314 mode requested, but remote does not support non-stop".
2315
2316 2020-01-10 Pedro Alves <palves@redhat.com>
2317
2318 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2319 disconnect before reconnecting.
2320
2321 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2322 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.server/connect-without-multi-process.exp: Also test
2325 continuing to end.
2326
2327 2020-01-10 Pedro Alves <palves@redhat.com>
2328
2329 * gdb.base/remote-exec-file.exp: New file.
2330
2331 2020-01-10 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2334 output.
2335 * gdb.threads/async.c: New.
2336 * gdb.threads/async.exp: New.
2337 * gdb.multi/tids-gid-reset.c: New.
2338 * gdb.multi/tids-gid-reset.exp: New.
2339
2340 2020-01-10 George Barrett <bob@bob131.so>
2341
2342 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2343 to help in finding the image relocation offset.
2344 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2345 options in arguments.
2346 (stap_test_no_debuginfo): Likewise.
2347 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2348 test variants.
2349 (stap_test): Add null semaphore relocation test.
2350
2351 2020-01-10 George Barrett <bob@bob131.so>
2352
2353 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2354 * gdb.base/stap-probe.exp: Likewise.
2355 (stap_test): Pass argument as an additional flag.
2356 (stap_test_no_debuginfo): Likewise.
2357 (stap_test): Check `info probes stap' output for semaphore
2358 addresses if the test binary is supposed to have them.
2359
2360 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2361
2362 * gdb.tui/basic.exp: Add more scrolling tests.
2363
2364 2020-01-09 Tom Tromey <tom@tromey.com>
2365
2366 PR tui/18932:
2367 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2368 meangingful value.
2369 (Term::command, Term::resize): Update.
2370 * gdb.tui/basic.exp: Add scrolling test.
2371
2372 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.tui/tui-layout-asm.exp: New file.
2375
2376 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2377
2378 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2379
2380 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2383 (Term::enter_tui): Use Term::prepare_for_tui.
2384
2385 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2388 called.
2389
2390 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2391
2392 * gdb.base/skip.exp: Fix race condition in test.
2393
2394 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2395
2396 * gdb.base/backtrace.c: New file.
2397 * gdb.base/backtrace.exp: New file.
2398
2399 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2400
2401 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2402
2403 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2404
2405 * gdb.base/style.exp: Test that warnings are styled.
2406
2407 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2408
2409 * gdb.base/line65535.exp: New file.
2410 * gdb.base/line65535.c: New file.
2411
2412 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2413
2414 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2415 * lib/gnat_debug_info_test.adb: New file.
2416 * gdb.ada/ptype_tagged_param.exp: Use
2417 gnat_runtime_has_debug_info, expect a different output if
2418 runtime does not have debug info.
2419
2420 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2421
2422 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2423 (another) quote in test name.
2424
2425 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2426
2427 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2428 Add quote in test name.
2429
2430 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2431
2432 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2433 directory instead.
2434 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2435 * gdb.cp/pass-by-ref-2.cc: New file.
2436 * gdb.cp/pass-by-ref-2.exp: New file.
2437
2438 2019-12-20 Tom Tromey <tom@tromey.com>
2439
2440 * gdb.tui/list-before.exp: New file.
2441
2442 2019-12-20 Tom Tromey <tom@tromey.com>
2443
2444 * gdb.tui/list.exp: Check for source on initial listing.
2445
2446 2019-12-11 Tom Tromey <tromey@adacore.com>
2447
2448 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2449 Add crlf test.
2450
2451 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
2452
2453 * gdb.base/default.exp: Update value of $_gdb_major.
2454
2455 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2456
2457 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2458
2459 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2460
2461 * gdb.base/skip.exp: Whitespace fix.
2462
2463 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2464
2465 * gdb.base/skip-inline.c: New file.
2466 * gdb.base/skip-inline.exp: New file.
2467
2468 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2469
2470 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2471 jit_function_00 to jit_function_stack_mangle.
2472 * gdb.base/jithost.c (jit_function_t): Rename to...
2473 (jit_function_stack_mangle_t): ... this.
2474 (jit_function_add_t): New typedef.
2475 (jit_function_00_code): Rename to...
2476 (jit_function_stack_mangle_code): ... this, make static.
2477 (jit_function_add_code): New.
2478 (main): Generate "add" function and call it. Adjust to changes
2479 in jithost_abi.
2480 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2481 (struct jithost_abi) <begin, end>: Remove fields.
2482 <object, function_stack_mangle, function_add>: New fields.
2483 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2484 code_end>: Remove fields.
2485 <func_stack_mangle>: New field.
2486 (read_debug_info): Adjust to renaming, create block for "add"
2487 function.
2488 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2489
2490 2019-12-11 Tom Tromey <tom@tromey.com>
2491
2492 * gdb.tui/resize.exp: Fix regexp.
2493 * gdb.tui/regs.exp: Fix regexps.
2494 * gdb.tui/main.exp: Fix regexp.
2495
2496 2019-12-11 Tom Tromey <tom@tromey.com>
2497
2498 * gdb.tui/resize.exp: Update.
2499 * gdb.tui/empty.exp (layouts): Update.
2500
2501 2019-12-11 Tom Tromey <tom@tromey.com>
2502
2503 * gdb.tui/regs.exp: Update.
2504 * gdb.tui/empty.exp (layouts): Update.
2505 * gdb.tui/basic.exp: Update.
2506 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2507
2508 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2509
2510 * gdb.base/options.exp: Add -raw-values in the print completion list.
2511 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2512
2513 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2514
2515 * gdb.threads/omp-par-scope.c: New file.
2516 * gdb/threads/omp-par-scope.exp: New file.
2517
2518 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2519
2520 * lib/gdb.exp (support_nested_function_tests): New proc.
2521
2522 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2523
2524 * lib/gdb.exp (gdb_compile_openmp): New proc.
2525 (build_executable_from_specs): Add an "openmp" option.
2526 (gdb_compile_pthreads): Add non-executable case.
2527
2528 2019-12-10 Tom Tromey <tromey@adacore.com>
2529
2530 * gdb.ada/unchecked_union.exp: New file.
2531 * gdb.ada/unchecked_union/pck.adb: New file.
2532 * gdb.ada/unchecked_union/pck.ads: New file.
2533 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2534 * gdb-utils.exp (string_to_regexp): Also quote "?".
2535
2536 2019-12-10 George Barrett <bob@bob131.so>
2537
2538 Test scripted probe breakpoints.
2539 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2540 * gdb.python/py-breakpoint.c (main): Likewise.
2541 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2542 specifier test.
2543 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2544
2545 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2546
2547 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2548 an rvalue parameter.
2549 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2550 parameter.
2551
2552 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2553
2554 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2555 modules.
2556
2557 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2558
2559 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2560 broken version of GCC.
2561
2562 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2563
2564 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2565 sym-info-cmds library.
2566 * gdb.fortran/info-types.exp: Likewise.
2567 * lib/sym-info-cmds.exp: New file.
2568
2569 2019-12-08 Tom de Vries <tdevries@suse.de>
2570
2571 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2572
2573 2019-12-07 Keith Seitz <keiths@redhat.com>
2574
2575 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2576 * gdb.base/corefile-buildid-shlib.c: New file.
2577 * gdb.base/corefile-buildid.c: New file.
2578 * gdb.base/corefile-buildid.exp: New file.
2579
2580 2019-12-06 Tom de Vries <tdevries@suse.de>
2581
2582 * gdb.dwarf2/varval.exp: Add decl before def test.
2583
2584 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2585
2586 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2587
2588 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2589
2590 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2591 CV and reference conversion for overload resolution.
2592 * gdb.cp/rvalue-ref-overload.exp: Test it.
2593
2594 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2595
2596 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2597 * gdb.base/frameapply.exp: Test faas without command.
2598
2599 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2602 Fortran tests.
2603 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2604 order.
2605
2606 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2607
2608 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2609 casting to type with no kind specified.
2610 (test_basic_parsing_of_type_kinds): Additional tests for types
2611 with no kind specified, and add tests for single/double
2612 precision/complex types.
2613
2614 2019-12-04 Tom Tromey <tromey@adacore.com>
2615
2616 * gdb.base/endianity.c (struct other) <x>: New field.
2617 (main): Initialize it.
2618 * gdb.base/endianity.exp: Update.
2619
2620 2019-12-04 Tom Tromey <tromey@adacore.com>
2621
2622 * gdb.ada/scalar_storage/storage.adb: New file.
2623 * gdb.ada/scalar_storage/pck.adb: New file.
2624 * gdb.ada/scalar_storage/pck.ads: New file.
2625 * gdb.ada/scalar_storage.exp: New file.
2626
2627 2019-12-04 Tom Tromey <tromey@adacore.com>
2628
2629 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2630 (main): Initialize it.
2631 * gdb.base/endianity.exp: Update.
2632
2633 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2634
2635 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2636
2637 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2638
2639 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2640 -symbol-info-module-functions and -symbol-info-module-variables.
2641
2642 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2645
2646 2019-12-01 Richard Bunt <richard.bunt@arm.com>
2647 Andrew Burgess <andrew.burgess@embecosm.com>
2648
2649 * gdb.fortran/derived-type-striding.exp: New file.
2650 * gdb.fortran/derived-type-striding.f90: New file.
2651 * gdb.fortran/array-slices.exp: New file.
2652 * gdb.fortran/array-slices.f90: New file.
2653
2654 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2655
2656 * gdb.base/define.exp: Test . in command names.
2657 * gdb.base/setshow.exp: Update test, as . is now part of
2658 command name.
2659
2660 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2661
2662 * gdb.base/define-prefix.exp: New file.
2663
2664 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2665
2666 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2667 compile.
2668 (skip_btrace_pt_tests): Likewise.
2669
2670 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2671
2672 * gdb.fortran/info-modules.exp: Compile source files in correct
2673 order.
2674
2675 2019-11-27 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.dwarf2/imported-unit.exp: New file.
2678 * gdb.dwarf2/imported-unit.c: New file.
2679
2680 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2681
2682 * gdb.mi/mi-fortran-modules-2.f90: New file.
2683 * gdb.mi/mi-fortran-modules.exp: New file.
2684 * gdb.mi/mi-fortran-modules.f90: New file.
2685
2686 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2687
2688 * gdb.mi/mi-sym-info-1.c: New file.
2689 * gdb.mi/mi-sym-info-2.c: New file.
2690 * gdb.mi/mi-sym-info.exp: New file.
2691
2692 2019-11-22 Tom Tromey <tromey@adacore.com>
2693
2694 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2695 * gdb.ada/tasks/foo.adb: Add another stopping location.
2696
2697 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2698
2699 * gdb.base/endianity.c: New test.
2700 * gdb.base/endianity.exp: New file.
2701
2702 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2703
2704 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2705
2706 2019-11-21 Tom de Vries <tdevries@suse.de>
2707
2708 PR gdb/24956
2709 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2710
2711 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2712
2713 * gdb.python/py-progspace.exp: Add missing parentheses on some
2714 'print' commands.
2715
2716 2019-11-19 Tom Tromey <tom@tromey.com>
2717
2718 * gdb.tui/winheight.exp: New file.
2719
2720 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * gdb.base/ctf-whatis.c: Delete.
2723 * gdb.base/ctf-whatis.exp: Delete.
2724 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2725
2726 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2727
2728 * gdb.base/ctf-cvexpr.exp: Delete.
2729 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2730
2731 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2732
2733 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2734 the compiler. Clean up header comment a little.
2735 * gdb.base/ctf-ptype.exp: Likewise.
2736 * gdb.base/ctf-whatis.exp: Likewise.
2737 * lib/gdb.exp (skip_ctf_tests): New proc.
2738
2739 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2740
2741 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2742 * gdb.tui/corefile-run.exp: New file.
2743
2744 2019-11-14 Tom Tromey <tromey@adacore.com>
2745
2746 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2747 regression tests.
2748
2749 2019-11-12 Tom Tromey <tom@tromey.com>
2750
2751 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2752 after any command. Expect prompt after WAIT_FOR is seen.
2753 (enter_tui): Enable resize messages.
2754 (command): Expect command in output.
2755 (get_line): Avoid error when cursor appears to be off-screen.
2756 (dump_screen): Include screen size in title.
2757 (_do_resize): New proc, from "resize".
2758 (resize): Rewrite. Do resize in two steps.
2759 * gdb.tui/empty.exp (layouts): Fix entries.
2760 (check_boxes): Remove xfail.
2761 (check_text): Dump screen on failure.
2762
2763 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.python/py-symbol.exp: Add test for
2766 gdb.lookup_static_symbols.
2767
2768 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.python/py-symbol.c: Declare and call function from new
2771 py-symbol-2.c file.
2772 * gdb.python/py-symbol.exp: Compile both source files, and add new
2773 tests for gdb.lookup_static_symbol.
2774 * gdb.python/py-symbol-2.c: New file.
2775
2776 2019-11-02 Tom de Vries <tdevries@suse.de>
2777
2778 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2779 * gdb.base/anon.exp: Same.
2780 * gdb.base/auto-connect-native-target.exp: Same.
2781 * gdb.base/call-ar-st.exp: Same.
2782 * gdb.base/catch-syscall.exp: Same.
2783 * gdb.base/commands.exp: Same.
2784 * gdb.base/default.exp: Same.
2785 * gdb.base/display.exp: Same.
2786 * gdb.base/float.exp: Same.
2787 * gdb.base/foll-fork.exp: Same.
2788 * gdb.base/help.exp: Same.
2789 * gdb.base/info-macros.exp: Same.
2790 * gdb.base/info-proc.exp: Same.
2791 * gdb.base/info-target.exp: Same.
2792 * gdb.base/long_long.exp: Same.
2793 * gdb.base/macscp.exp: Same.
2794 * gdb.base/memattr.exp: Same.
2795 * gdb.base/nofield.exp: Same.
2796 * gdb.base/pointers.exp: Same.
2797 * gdb.base/printcmds.exp: Same.
2798 * gdb.base/ptype.exp: Same.
2799 * gdb.base/restore.exp: Same.
2800 * gdb.base/return.exp: Same.
2801 * gdb.base/scope.exp: Same.
2802 * gdb.base/set-noassign.exp: Same.
2803 * gdb.base/setshow.exp: Same.
2804 * gdb.base/shlib-call.exp: Same.
2805 * gdb.base/signals.exp: Same.
2806 * gdb.base/sigstep.exp: Same.
2807 * gdb.base/skip.exp: Same.
2808 * gdb.base/solib-symbol.exp: Same.
2809 * gdb.base/stap-probe.exp: Same.
2810 * gdb.base/step-line.exp: Same.
2811 * gdb.base/step-test.exp: Same.
2812 * gdb.base/style.exp: Same.
2813 * gdb.base/varargs.exp: Same.
2814 * gdb.base/vla-datatypes.exp: Same.
2815 * gdb.base/vla-ptr.exp: Same.
2816 * gdb.base/vla-sideeffect.exp: Same.
2817 * gdb.base/volatile.exp: Same.
2818 * gdb.base/watch-cond-infcall.exp: Same.
2819 * gdb.base/watchpoint.exp: Same.
2820
2821 2019-11-02 Tom de Vries <tdevries@suse.de>
2822
2823 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2824 * gdb.cp/cpexprs.exp: Same.
2825 * gdb.cp/except-multi-location.exp: Same.
2826 * gdb.cp/exceptprint.exp: Same.
2827 * gdb.cp/gdb2384.exp: Same.
2828 * gdb.cp/inherit.exp: Same.
2829 * gdb.cp/m-static.exp: Same.
2830 * gdb.cp/meth-typedefs.exp: Same.
2831 * gdb.cp/misc.exp: Same.
2832 * gdb.cp/namespace.exp: Same.
2833 * gdb.cp/non-trivial-retval.exp: Same.
2834 * gdb.cp/overload.exp: Same.
2835 * gdb.cp/pr17132.exp: Same.
2836 * gdb.cp/re-set-overloaded.exp: Same.
2837 * gdb.cp/rvalue-ref-types.exp: Same.
2838 * gdb.cp/templates.exp: Same.
2839
2840 2019-11-01 Luis Machado <luis.machado@linaro.org>
2841
2842 PR gdb/25124
2843
2844 * gdb.arch/pr25124.S: New file.
2845 * gdb.arch/pr25124.exp: New file.
2846
2847 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.fortran/info-modules.exp: Update expected results, and add
2850 additional tests for 'info module functinos', and 'info module
2851 variables'.
2852 * gdb.fortran/info-types.exp: Update expected results.
2853 * gdb.fortran/info-types.f90: Extend testcase with additional
2854 module variables and functions.
2855
2856 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * gdb.fortran/info-modules.exp: New file.
2859 * gdb.fortran/info-types.exp: Build with new file.
2860 * gdb.fortran/info-types.f90: Include and use new module.
2861 * gdb.fortran/info-types-2.f90: New file.
2862
2863 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2864
2865 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2866 * gdb.base/settings.exp: Test all settings types using
2867 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2868 that now verifies that the value of "maint show" is the same as
2869 returned by the settings functions. Test the type of the
2870 maintenance settings.
2871 * gdb.base/default.exp: Update show_conv_list.
2872
2873 2019-10-31 Tom de Vries <tdevries@suse.de>
2874
2875 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2876 gdb_test.
2877 * gdb.arch/amd64-disp-step.exp: Same.
2878 * gdb.asm/asm-source.exp: Same.
2879 * gdb.btrace/buffer-size.exp: Same.
2880 * gdb.btrace/cpu.exp: Same.
2881 * gdb.btrace/enable.exp: Same.
2882 * gdb.dwarf2/count.exp: Same.
2883 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2884 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2885 * gdb.fortran/vla-datatypes.exp: Same.
2886 * gdb.fortran/vla-history.exp: Same.
2887 * gdb.fortran/vla-ptype.exp: Same.
2888 * gdb.fortran/vla-value.exp: Same.
2889 * gdb.fortran/whatis_type.exp: Same.
2890 * gdb.guile/guile.exp: Same.
2891 * gdb.multi/tids.exp: Same.
2892 * gdb.python/py-finish-breakpoint.exp: Same.
2893 * gdb.python/py-framefilter.exp: Same.
2894 * gdb.python/py-pp-registration.exp: Same.
2895 * gdb.python/py-xmethods.exp: Same.
2896 * gdb.python/python.exp: Same.
2897 * gdb.server/connect-with-no-symbol-file.exp: Same.
2898 * gdb.server/no-thread-db.exp: Same.
2899 * gdb.server/run-without-local-binary.exp: Same.
2900 * gdb.stabs/weird.exp: Same.
2901 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2902 * gdb.threads/thread-find.exp: Same.
2903 * gdb.threads/tls-shared.exp: Same.
2904 * gdb.threads/tls.exp: Same.
2905 * gdb.threads/wp-replication.exp: Same.
2906 * gdb.trace/ax.exp: Same.
2907 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2908
2909 2019-10-31 Tom de Vries <tdevries@suse.de>
2910
2911 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2912 * gdb.ada/array_subscript_addr.exp: Same.
2913 * gdb.ada/arrayidx.exp: Same.
2914 * gdb.ada/arrayparam.exp: Same.
2915 * gdb.ada/arrayptr.exp: Same.
2916 * gdb.ada/boolean_expr.exp: Same.
2917 * gdb.ada/call_pn.exp: Same.
2918 * gdb.ada/complete.exp: Same.
2919 * gdb.ada/fixed_cmp.exp: Same.
2920 * gdb.ada/fun_addr.exp: Same.
2921 * gdb.ada/funcall_param.exp: Same.
2922 * gdb.ada/interface.exp: Same.
2923 * gdb.ada/mod_from_name.exp: Same.
2924 * gdb.ada/null_array.exp: Same.
2925 * gdb.ada/packed_array.exp: Same.
2926 * gdb.ada/packed_tagged.exp: Same.
2927 * gdb.ada/print_chars.exp: Same.
2928 * gdb.ada/print_pc.exp: Same.
2929 * gdb.ada/ptype_arith_binop.exp: Same.
2930 * gdb.ada/ptype_field.exp: Same.
2931 * gdb.ada/ptype_tagged_param.exp: Same.
2932 * gdb.ada/rec_return.exp: Same.
2933 * gdb.ada/ref_tick_size.exp: Same.
2934 * gdb.ada/str_ref_cmp.exp: Same.
2935 * gdb.ada/taft_type.exp: Same.
2936 * gdb.ada/tagged.exp: Same.
2937 * gdb.ada/type_coercion.exp: Same.
2938 * gdb.ada/uninitialized_vars.exp: Same.
2939
2940 2019-10-30 Tom de Vries <tdevries@suse.de>
2941
2942 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2943
2944 2019-10-26 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.base/bigcore.c: Fix typos in comments.
2947 * gdb.base/ctf-ptype.c: Same.
2948 * gdb.base/long_long.c: Same.
2949 * gdb.dwarf2/dw2-op-out-param.S: Same.
2950 * gdb.python/py-evthreads.c: Same.
2951 * gdb.reverse/i387-stack-reverse.c: Same.
2952 * gdb.trace/tfile.c: Same.
2953 * lib/compiler.c: Same.
2954 * lib/compiler.cc: Same.
2955
2956 2019-10-25 Tom de Vries <tdevries@suse.de>
2957
2958 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2959 gdb_test_multiple calls.
2960 * gdb.reverse/sigall-reverse.exp: Same.
2961 * gdb.reverse/solib-precsave.exp: Same.
2962 * gdb.reverse/solib-reverse.exp: Same.
2963 * gdb.reverse/until-precsave.exp: Same.
2964 * gdb.reverse/until-reverse.exp: Same.
2965
2966 2019-10-24 Tom de Vries <tdevries@suse.de>
2967
2968 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2969 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2970 kfail using -wrap pattern flag and convenience variable
2971 gdb_test_name.
2972
2973 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2974
2975 * gdb.python/py-progspace.exp: Add tests for the
2976 Progspace.block_for_pc method.
2977
2978 2019-10-23 Tom Tromey <tom@tromey.com>
2979
2980 * configure: Rebuild.
2981 * aclocal.m4: Use m4_include, not sinclude.
2982
2983 2019-10-21 Tom de Vries <tdevries@suse.de>
2984
2985 * gdb.base/infcall-nested-structs.c: Add
2986 __attribute__((noinline,noclone)) to all functions.
2987 (call_all): Add missing variable initialization. Simplify return value.
2988 (breakpt): Increment volatile variable, to prevent call from being
2989 optimized out.
2990 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2991
2992 2019-10-17 Tom de Vries <tdevries@suse.de>
2993
2994 * gdb.fortran/module.exp: Allow info variables to print info for files
2995 other than module.f90.
2996
2997 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2998
2999 * gdb.fortran/module.exp: Extend with 'info variables' test.
3000
3001 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3002
3003 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3004 F77_FOR_TARGET.
3005
3006 2019-10-16 Tom de Vries <tdevries@suse.de>
3007
3008 PR tdep/25096
3009 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3010
3011 2019-10-16 Tom de Vries <tdevries@suse.de>
3012
3013 PR tdep/24104
3014 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3015 Add KFAIL for PR tdep/25096.
3016
3017 2019-10-16 Tom de Vries <tdevries@suse.de>
3018
3019 PR testsuite/25059
3020 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3021
3022 2019-10-16 Tom de Vries <tdevries@suse.de>
3023
3024 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3025 as signed.
3026
3027 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3028
3029 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3030 one instead of increasing timeout.
3031
3032 2019-10-13 Tom de Vries <tdevries@suse.de>
3033
3034 PR record/25038
3035 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3036 * gdb.reverse/sigall-reverse.exp: Same.
3037 * gdb.reverse/solib-precsave.exp: Same.
3038 * gdb.reverse/solib-reverse.exp: Same.
3039 * gdb.reverse/step-precsave.exp: Same.
3040 * gdb.reverse/until-precsave.exp: Same.
3041 * gdb.reverse/until-reverse.exp: Same.
3042 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3043
3044 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3045
3046 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3047 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3048 (cmp_struct_05_01, cmp_struct_static_02_01)
3049 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3050 comparisons.
3051
3052 2019-10-10 Tom de Vries <tdevries@suse.de>
3053
3054 PR testsuite/24888
3055 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3056 gnatlink.
3057
3058 2019-10-09 Tom de Vries <tdevries@suse.de>
3059
3060 PR testsuite/25048
3061 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3062
3063 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3066 exceptions due to missing debug information.
3067
3068 2019-10-07 Tom de Vries <tdevries@suse.de>
3069
3070 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3071
3072 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3073
3074 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3075 * gdb.base/annota1.exp: Update to use gdb_test_name.
3076
3077 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3078
3079 * gdb.base/ctf-whatis.exp: New file.
3080 * gdb.base/ctf-whatis.c: New file.
3081 * gdb.base/ctf-ptype.exp: New file.
3082 * gdb.base/ctf-ptype.c: New file.
3083 * gdb.base/ctf-constvars.exp: New file.
3084 * gdb.base/ctf-constvars.c: New file.
3085 * gdb.base/ctf-cvexpr.exp: New file.
3086
3087 2019-10-04 Tom de Vries <tdevries@suse.de>
3088
3089 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3090 for loop.
3091
3092 2019-10-03 Tom Tromey <tom@tromey.com>
3093
3094 PR rust/24976:
3095 * gdb.rust/simple.rs (Union2): New type.
3096 (main): Use Union2.
3097 * gdb.rust/simple.exp: Add test.
3098
3099 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3100
3101 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3102 nested function prefix.
3103
3104 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3105 Richard Bunt <richard.bunt@arm.com>
3106 Andrew Burgess <andrew.burgess@embecosm.com>
3107
3108 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3109 nested functions.
3110 * gdb.fortran/nested-funcs.f90: Update expected results.
3111 * gdb.fortran/nested-funcs-2.exp: New file.
3112 * gdb.fortran/nested-funcs-2.f90: New file.
3113
3114 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.python/py-parameter.exp: Make test names unique.
3117 * gdb.python/py-template.exp: Likewise.
3118 * gdb.python/py-value.exp: Likewise.
3119
3120 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3121
3122 * gdb.base/break-interp.exp: Reduce test name duplication.
3123 * gdb.base/call-sc.exp: Likewise.
3124 * gdb.base/callfuncs.exp: Likewise.
3125 * gdb.base/charset.exp: Likewise.
3126 * gdb.base/dump.exp: Likewise.
3127 * gdb.base/ena-dis-br.exp: Likewise.
3128 * gdb.base/relational.exp: Likewise.
3129 * gdb.base/step-over-syscall.exp: Likewise.
3130 * gdb.base/structs.exp: Likewise.
3131
3132 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.linespec/explicit.exp: Make test names unique.
3135 * gdb.linespec/ls-errs.exp: Likewise.
3136
3137 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3138
3139 * gdb.reverse/break-precsave.exp: Make test names unique.
3140 * gdb.reverse/break-reverse.exp: Likewise.
3141 * gdb.reverse/finish-precsave.exp: Likewise.
3142 * gdb.reverse/finish-reverse.exp: Likewise.
3143 * gdb.reverse/machinestate-precsave.exp: Likewise.
3144 * gdb.reverse/machinestate.exp: Likewise.
3145 * gdb.reverse/readv-reverse.exp: Likewise.
3146 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3147 * gdb.reverse/sigall-precsave.exp: Likewise.
3148 * gdb.reverse/sigall-reverse.exp: Likewise.
3149 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3150 * gdb.reverse/watch-precsave.exp: Likewise.
3151 * gdb.reverse/watch-reverse.exp: Likewise.
3152
3153 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.threads/stop-with-handle.c: New file.
3156 * gdb.threads/stop-with-handle.exp: New file.
3157
3158 2019-10-03 Tom de Vries <tdevries@suse.de>
3159
3160 PR testsuite/25059
3161 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3162 directory" line to be missing.
3163
3164 2019-10-03 Tom de Vries <tdevries@suse.de>
3165
3166 PR testsuite/25059
3167 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3168 type optional.
3169
3170 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3171
3172 * gdb.python/py-format-string.c (string.h): New include.
3173 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3174 the same value, for endianness-independence.
3175 * gdb.python/py-format-string.exp (default_regexp_dict)
3176 (test_pretty_structs, test_format): Adjust expected output to the
3177 changed initialization.
3178
3179 2019-10-02 Tom Tromey <tromey@adacore.com>
3180
3181 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3182
3183 2019-10-02 Pedro Alves <palves@redhat.com>
3184 Andrew Burgess <andrew.burgess@embecosm.com>
3185
3186 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3187 "print-file-var.h".
3188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3189 (get_version_1): Print this_version_id and its address.
3190 Add extern "C" wrappers around interface functions.
3191 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3192 "print-file-var.h".
3193 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3194 (get_version_2): Print this_version_id and its address.
3195 Add extern "C" wrappers around interface functions.
3196 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3197 <stddef.h> and "print-file-var.h".
3198 Add extern "C" wrappers around interface functions.
3199 [VERSION_ID_MAIN] (this_version_id): Define.
3200 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3201 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3202 up extern "C" blocks.
3203 * gdb.base/print-file-var.exp (test): New, factored out from top
3204 level.
3205 (top level): Test all combinations of attribute hidden or not,
3206 dlopen or not, and this_version_id symbol in main file or not.
3207 Compile tests as both C++ and C, make test names unique.
3208
3209 2019-10-01 Tom Tromey <tom@tromey.com>
3210
3211 * gdb.base/style.exp: Test "show logging filename".
3212
3213 2019-10-01 Tom Tromey <tom@tromey.com>
3214
3215 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3216 * gdb.base/style.exp: Add metadata style test.
3217
3218 2019-10-01 Tom Tromey <tom@tromey.com>
3219
3220 * gdb.base/style.exp: Test "pwd".
3221
3222 2019-10-01 Tom Tromey <tom@tromey.com>
3223
3224 * gdb.base/style.exp: Update tests.
3225
3226 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3227
3228 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3229 'six' to unsigned.
3230 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3231 'five'. Use an all-ones bit pattern for each.
3232 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3233 to its changed values.
3234
3235 2019-09-30 Tom Tromey <tromey@adacore.com>
3236
3237 * gdb.rust/traits.rs: Disable all warnings.
3238
3239 2019-09-29 Tom de Vries <tdevries@suse.de>
3240
3241 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3242
3243 2019-09-29 Tom de Vries <tdevries@suse.de>
3244
3245 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3246
3247 2019-09-27 Tom de Vries <tdevries@suse.de>
3248
3249 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3250
3251 2019-09-27 Tom de Vries <tdevries@suse.de>
3252
3253 PR record/23188
3254 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3255
3256 2019-09-26 Tom Tromey <tromey@adacore.com>
3257
3258 * gdb.ada/py_taft.exp: New file.
3259 * gdb.ada/py_taft/main.adb: New file.
3260 * gdb.ada/py_taft/pkg.adb: New file.
3261 * gdb.ada/py_taft/pkg.ads: New file.
3262
3263 2019-09-24 Tom de Vries <tdevries@suse.de>
3264
3265 PR gdb/24598
3266 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3267
3268 2019-09-22 Tom de Vries <tdevries@suse.de>
3269
3270 * gdb.base/restore.exp: Allow register variables to be optimized out at
3271 -O0.
3272
3273 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3274
3275 * gdb.arch/spu-info.exp: Remove file.
3276 * gdb.arch/spu-info.c: Remove file.
3277 * gdb.arch/spu-ls.exp: Remove file.
3278 * gdb.arch/spu-ls.c: Remove file.
3279
3280 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3281 * gdb.asm/spu.inc: Remove file.
3282
3283 * gdb.base/dump.exp: Remove support for spu*-*-*.
3284 * gdb.base/stack-checking.exp: Likewise.
3285 * gdb.base/overlays.exp: Likewise.
3286 * gdb.base/ovlymgr.c: Likewise.
3287 * gdb.base/spu.ld: Remove file.
3288
3289 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3290 * gdb.cp/cpexprs.exp: Likewise.
3291 * gdb.cp/exception.exp: Likewise.
3292 * gdb.cp/gdb2495.exp: Likewise.
3293 * gdb.cp/mb-templates.exp: Likewise.
3294 * gdb.cp/pr9167.exp: Likewise.
3295 * gdb.cp/userdef.exp: Likewise.
3296
3297 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3298
3299 * gdb.cell: Remove directory.
3300 * lib/cell.exp: Remove file.
3301
3302 2019-09-19 Tom de Vries <tdevries@suse.de>
3303
3304 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3305
3306 2019-09-19 Tom de Vries <tdevries@suse.de>
3307
3308 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3309
3310 2019-09-19 Tom de Vries <tdevries@suse.de>
3311
3312 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3313 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3314 (gdb_target_cmd): ... here.
3315 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3316 value 2.
3317
3318 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3319
3320 * gdb.base/source-dir.exp: Avoid having directory names in test
3321 names.
3322
3323 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3324
3325 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3326 directory.
3327
3328 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3329
3330 * gdb.base/list-missing-source.exp: New file.
3331
3332 2019-09-14 Tom de Vries <tdevries@suse.de>
3333
3334 PR teststuite/24599
3335 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3336 * lib/ada.exp (gnatmake_version_at_least): New proc.
3337
3338 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.base/maint.exp: Use exec_has_index_section.
3341
3342 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.base/maint.exp: Add test for 'maint info sections'.
3345
3346 2019-09-12 Tom de Vries <tdevries@suse.de>
3347
3348 * gdb.base/store.exp: Allow register variables to be optimized out at
3349 -O0.
3350
3351 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3352
3353 * gdb.ada/rdv_wait.exp: Update to new task names.
3354 * gdb.base/task_switch_in_core.exp: Likewise.
3355 * gdb.base/info_sources_base.c: Likewise.
3356
3357 2019-09-10 Tom Tromey <tromey@adacore.com>
3358
3359 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3360
3361 2019-09-10 Tom Tromey <tromey@adacore.com>
3362
3363 * gdb.ada/dgopt.exp: New file.
3364 * gdb.ada/dgopt/x.adb: New file.
3365
3366 2019-09-08 Tom Tromey <tom@tromey.com>
3367
3368 * gdb.tui/resize.exp: Remove setup_xfail.
3369 * gdb.tui/regs.exp: Remove setup_xfail.
3370 * gdb.tui/basic.exp: Remove setup_xfail.
3371
3372 2019-09-06 David Blaikie <dblaikie@gmail.com>
3373
3374 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3375 * gdb.cp/cplabel.exp: Ditto.
3376 * gdb.linespec/ls-errs.exp: Ditto.
3377
3378 2019-09-05 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/gdb.exp (cmp_file_string): New proc.
3381 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3382 runto_main. Verify save breakpoints output.
3383
3384 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3385
3386 * gdb.base/info-var.exp: Test info variables without running
3387 to main, to avoid expect's buffer overflow.
3388
3389 2019-09-03 Tom Tromey <tromey@adacore.com>
3390
3391 * gdb.ada/bias.exp: New file.
3392 * gdb.ada/bias/bias.adb: New file.
3393 * gdb.ada/print_chars.exp: Add regression test.
3394 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3395 (MC): New variable.
3396
3397 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3398
3399 * gdb.base/argv0-symlink.exp: Run only on native target
3400 and local host.
3401
3402 2019-08-29 Tom de Vries <tdevries@suse.de>
3403
3404 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3405 diverse debug info.
3406 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3407
3408 2019-08-28 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.base/info-var.exp: Allow info variables to print info for files
3411 other than info-var-f1.c and info-var-f2.c.
3412
3413 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.fortran/info-types.exp: Add module.
3416 * gdb.fortran/info-types.f90: Update expected results.
3417
3418 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * gdb.fortran/info-types.exp: New file.
3421 * gdb.fortran/info-types.f90: New file.
3422 * lib/fortran.exp (fortran_character1): New proc.
3423
3424 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3427 functions'. Reindent as needed.
3428 * gdb.base/info-var-f1.c: New file.
3429 * gdb.base/info-var-f2.c: New file.
3430 * gdb.base/info-var.exp: New file.
3431 * gdb.base/info-var.h: New file.
3432
3433 2019-08-26 Tom de Vries <tdevries@suse.de>
3434
3435 PR c++/24852
3436 * gdb.cp/no-libstdcxx-probe.exp: New test.
3437
3438 2019-08-26 Tom de Vries <tdevries@suse.de>
3439
3440 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3441 * tests need to be skipped.
3442 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3443 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3444 mi_skip_libstdcxx_probe_tests.
3445
3446 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3447
3448 * gdb.python/py-xmethods.exp: Use raw strings when passing
3449 arguments to SimpleXMethodMatcher.
3450
3451 2019-08-22 Tom de Vries <tdevries@suse.de>
3452
3453 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3454 more informative.
3455
3456 2019-08-21 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.base/with.exp: Test "with" with no arguments.
3459
3460 2019-08-21 Tom de Vries <tdevries@suse.de>
3461
3462 * gdb.base/gdb-caching-proc.exp: Sort files.
3463
3464 2019-08-20 Tom de Vries <tdevries@suse.de>
3465
3466 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3467 compilation.
3468
3469 2019-08-16 Tom de Vries <tdevries@suse.de>
3470
3471 * gdb.base/compare-sections.exp ("after run to main"): Allow
3472 mismatched read-only sections for PIE executables.
3473
3474 2019-08-16 Tom Tromey <tom@tromey.com>
3475
3476 * lib/tuiterm.exp (_csi_Z): New proc.
3477 * gdb.tui/basic.exp: Update window positions.
3478 * gdb.tui/empty.exp: Update window positions.
3479
3480 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3481
3482 * gdb.base/examine-backward.exp: Correct regexp for
3483 "examine 3 bytes backward from ${address_zero}".
3484
3485 2019-08-15 Tom Tromey <tom@tromey.com>
3486
3487 * gdb.tui/empty.exp: Enable resizing tests.
3488
3489 2019-08-15 Tom Tromey <tromey@adacore.com>
3490
3491 * gdb.ada/char_enum.exp: Add regression tests.
3492 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3493 and '0'.
3494 (Char, Gchar): Update.
3495 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3496
3497 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3498
3499 * gdb.python/python.exp: Expect a leading underscore on
3500 GdbOutput{,Error}File.
3501
3502 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3503
3504 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3505 Windows host.
3506
3507 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3508
3509 * gdb.base/batch-preserve-term-settings.exp
3510 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3511
3512 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3513
3514 * lib/gdb.exp: When running on a mingw target, replace
3515 /x/ with x:/.
3516
3517 2019-08-14 Alan Hayward <alan.hayward@arm.com>
3518
3519 * gdb.arch/aarch64-prologue.c: New test.
3520 * gdb.arch/aarch64-prologue.exp: New file.
3521
3522 2019-08-13 Tom de Vries <tdevries@suse.de>
3523
3524 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3525 Thread.
3526
3527 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3528
3529 * gdb.python/py-completion.exp: Download the .py file to the host
3530 and use its host pathname. Conditionalize tests that use
3531 tab completion and manipulate files on the build machine.
3532 * gdb.python/py-events.exp: Download the .py file to the host
3533 and use its host pathname.
3534 * gdb.python/py-evsignal.exp: Likewise.
3535 * gdb.python/py-evthreads.exp: Likewise.
3536 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3537 pathname syntax.
3538 * gdb.python/py-framefilter.exp: Download the .py file to the right
3539 place on the host. Match Windows pathname syntax.
3540 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3541 .py file to the host and use its host pathname.
3542 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3543 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3544 build pathname. Skip symlink test on Windows host. Add missing
3545 newline at end of file.
3546 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3547 and use its host pathname.
3548 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3549 * gdb.python/py-section-script.exp: Use host location of binfile
3550 on safe-path. Use correct path separator on Windows host.
3551 Reorder alternatives in gdb_test_multiple to prevent matching
3552 the wrong alternative on success.
3553 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3554
3555 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3556
3557 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3558 expect the GDB inferior to no longer immediately stop after
3559 being resumed with "signal SIGINT".
3560
3561 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3562
3563 * gdb.linespec/break-ask.exp: Generalize regexps to match
3564 Windows pathnames too.
3565
3566 2019-08-08 Tom de Vries <tdevries@suse.de>
3567
3568 PR testsuite/24862
3569 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3570
3571 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3572
3573 * gdb.base/style.exp: Update tests for help doc new invariants.
3574 * gdb.base/help.exp: Likewise.
3575
3576 2019-08-06 Tom Tromey <tom@tromey.com>
3577
3578 * gdb.base/style.exp: Add disassemble test.
3579 * gdb.base/style.c (some_called_function): New function.
3580 (main): Use it.
3581
3582 2019-08-05 Christian Biesinger <cbiesinger@google.com>
3583
3584 * gdb.python/py-block.exp: Test dictionary access on blocks.
3585
3586 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
3587
3588 PR gdb/24863
3589 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3590 -list-thread-groups --available test when running under
3591 check-read1.
3592
3593 2019-08-05 Tom de Vries <tdevries@suse.de>
3594
3595 PR testsuite/24863
3596 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3597 * gdb.base/help.exp: Use with_read1_timeout_factor.
3598 * gdb.base/info-macros.exp: Same.
3599 * gdb.cp/nested-types.exp: Same.
3600
3601 2019-08-05 Tom de Vries <tdevries@suse.de>
3602
3603 * lib/gdb.exp (version_at_least): Factor out of ...
3604 (tcl_version_at_least): ... here.
3605 (gdb_compile): Fail if pie results in non-PIE executable.
3606 (readelf_version, readelf_prints_pie): New proc.
3607 (exec_is_pie): Return -1 if unknown.
3608
3609 2019-08-05 Tom de Vries <tdevries@suse.de>
3610
3611 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3612
3613 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3614
3615 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3616
3617 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3618
3619 * lib/completion-support.exp (test_gdb_complete_none): Skip
3620 tab completion tests if no readline support.
3621 (test_gdb_complete_unique_re): Likewise.
3622 (test_gdb_complete_multiple): Likewise.
3623
3624 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3625
3626 * gdb.base/info_sources.exp: New file.
3627 * gdb.base/info_sources.c: New file.
3628 * gdb.base/info_sources_base.c: New file.
3629
3630 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3631
3632 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3633 prefix argument.
3634 (test_exit_status): Add prefix argument.
3635
3636 2019-08-01 Tom de Vries <tdevries@suse.de>
3637
3638 PR testsuite/24863
3639 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3640 calling exp_continue for new thread and thread exited messages.
3641
3642 2019-08-01 Tom de Vries <tdevries@suse.de>
3643
3644 PR testsuite/24863
3645 * gdb.base/structs.exp: Fix check-read1 timeout using
3646 gdb_test_sequence.
3647 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3648
3649 2019-08-01 Tom de Vries <tdevries@suse.de>
3650
3651 PR testsuite/24863
3652 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3653 line.
3654
3655 2019-08-01 Tom de Vries <tdevries@suse.de>
3656
3657 PR testsuite/24863
3658 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3659
3660 2019-07-30 Tom Tromey <tromey@adacore.com>
3661
3662 * gdb.ada/display_nested.exp: New file.
3663 * gdb.ada/display_nested/foo.adb: New file.
3664 * gdb.ada/display_nested/pack.adb: New file.
3665 * gdb.ada/display_nested/pack.ads: New file.
3666
3667 2019-07-30 Christian Biesinger <cbiesinger@google.com>
3668
3669 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3670 namespace.
3671 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3672
3673 2019-07-30 Tom de Vries <tdevries@suse.de>
3674
3675 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3676 instead.
3677
3678 2019-07-30 Tom de Vries <tdevries@suse.de>
3679
3680 PR testsuite/24834
3681 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3682 (exec_is_pie): New proc.
3683
3684 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3685
3686 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3687
3688 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3689
3690 * gdb.python/py-objfile.c: Add global and static vars.
3691 * gdb.python/py-objfile.exp: Test new functions Objfile.
3692 lookup_global_symbol and lookup_static_symbol.
3693
3694 2019-07-29 Tom Tromey <tom@tromey.com>
3695
3696 * lib/tuiterm.exp (Term::_csi_@): New proc.
3697 (Term::_csi_X): Don't move cursor.
3698
3699 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3700
3701 * gdb.base/options.exp: Update backtrace - completion to
3702 new option -frame-info.
3703 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3704 Test new 'set print frame-info'. Test backtrace -frame-info
3705 overriding 'set print frame-info'.
3706 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3707 Test new 'set print frame-info'.
3708 Verify consistency of backtrace with and without filters, with and
3709 without -no-filters.
3710 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3711 default.
3712
3713 2019-07-29 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3716 no arguments".
3717
3718 2019-07-29 Tom de Vries <tdevries@suse.de>
3719
3720 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3721 is a substring of the first for "complete non-unique file name".
3722
3723 2019-07-29 Tom de Vries <tdevries@suse.de>
3724
3725 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3726 with ".*".
3727
3728 2019-07-29 Tom de Vries <tdevries@suse.de>
3729
3730 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3731 Pass prompt_regexp parameter to gdb_test_multiple calls.
3732
3733 2019-07-29 Tom de Vries <tdevries@suse.de>
3734
3735 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
3736 print registers" regexps.
3737
3738 2019-07-29 Tom de Vries <tdevries@suse.de>
3739
3740 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3741
3742 2019-07-29 Tom de Vries <tdevries@suse.de>
3743
3744 PR gdb/24855
3745 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3746 (skip_python_tests_prompt): Add prompt_regexp argument to
3747 gdb_test_multiple calls.
3748
3749 2019-07-27 Tom Tromey <tom@tromey.com>
3750
3751 * gdb.tui/main.exp: New file.
3752
3753 2019-07-27 Tom Tromey <tom@tromey.com>
3754
3755 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3756 optional.
3757 * gdb.tui/empty.exp: New file.
3758
3759 2019-07-27 Tom Tromey <tom@tromey.com>
3760
3761 * lib/tuiterm.exp (spawn): New proc.
3762 (Term::resize): New proc.
3763 * gdb.tui/resize.exp: New file.
3764
3765 2019-07-27 Tom Tromey <tom@tromey.com>
3766
3767 * gdb.tui/list.exp: New file.
3768
3769 2019-07-27 Tom Tromey <tom@tromey.com>
3770
3771 * gdb.tui/regs.exp: New file.
3772
3773 2019-07-27 Tom Tromey <tom@tromey.com>
3774
3775 * gdb.tui/basic.exp: Add "layout split" test.
3776
3777 2019-07-27 Tom Tromey <tom@tromey.com>
3778
3779 * gdb.tui/basic.exp: Add "layout asm" test.
3780
3781 2019-07-27 Tom Tromey <tom@tromey.com>
3782
3783 * lib/tuiterm.exp: New file.
3784 * gdb.tui/basic.exp: New file.
3785
3786 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3787
3788 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3789 Enable tests associated with this flag. Adjust regex
3790 referencing "foo_low" to now refer to "foo_cold" instead.
3791
3792 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3793
3794 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3795 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3796 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3797 foo_cold. Revise comments to match.
3798 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3799 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3800 were wrapped into this proc; Call do_test in loop from outermost
3801 level.
3802 (foo_low): Rename all occurrences to "foo_cold".
3803 (backtrace from baz): New test.
3804 (x2/i foo_cold): New test.
3805 (info line *foo_cold): New test.
3806
3807 2019-07-26 Tom de Vries <tdevries@suse.de>
3808
3809 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3810
3811 2019-07-25 Tom de Vries <tdevries@suse.de>
3812
3813 PR testsuite/24830
3814 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3815 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3816 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3817 (skip_libstdcxx_probe_tests): ... here.
3818 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3819
3820 2019-07-24 Tom de Vries <tdevries@suse.de>
3821
3822 PR testsuite/24807
3823 * gdb.objc/basicclass.m: Include stdio.h.
3824 * gdb.objc/nondebug.m: Same.
3825 * gdb.objc/objcdecode.m: Same.
3826
3827 2019-07-24 Tom de Vries <tdevries@suse.de>
3828
3829 PR testsuite/24612
3830 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3831 additional_flags.
3832
3833 2019-07-24 Tom de Vries <tdevries@suse.de>
3834
3835 PR testsuite/24831
3836 * gdb.multi/tids.exp: Update error messages for info threads.
3837
3838 2019-07-24 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.base/info-types.exp: Allow info types to print info for more than
3841 one file.
3842
3843 2019-07-23 Tom de Vries <tdevries@suse.de>
3844
3845 PR testsuite/24842
3846 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3847 gdb_spawn_with_cmdline_opts.
3848
3849 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3850
3851 * gdb.arch/arm-cmse-sgstubs.c: New test.
3852 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3853
3854 2019-07-23 Tom de Vries <tdevries@suse.de>
3855
3856 PR testsuite/24711
3857 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3858 issuing next command.
3859
3860 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.ada/info_auto_lang.exp: Update expected results.
3863 * gdb.base/info-types.c: Add additional types to check.
3864 * gdb.base/info-types.exp: Update expected results.
3865
3866 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.base/info-types.c: New file.
3869 * gdb.base/info-types.exp: New file.
3870
3871 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3872
3873 * gdb.arch/riscv-bp-infcall.c: New file.
3874 * gdb.arch/riscv-bp-infcall.exp: New file.
3875
3876 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3877
3878 PR breakpoints/24541
3879 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3880
3881 2019-07-14 Tom de Vries <tdevries@suse.de>
3882
3883 PR testsuite/24760
3884 * gdb.objc/basicclass.exp: Fix unterminated string.
3885
3886 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3887 Andrew Burgess <andrew.burgess@embecosm.com>
3888
3889 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3890 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3891 negative bounds.
3892 * gdb.fortran/vla-value.exp: Print elements of an array with
3893 negative bounds.
3894 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3895 testing.
3896
3897 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3898
3899 * gdb.base/options.exp (expect_string): Dequote strings in
3900 results.
3901 (test-string): Test strings with different quoting and reindent.
3902
3903 2019-07-10 Tom Tromey <tromey@adacore.com>
3904
3905 * gdb.ada/mi_ex_cond.exp: Update expected results.
3906 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3907 * gdb.ada/mi_catch_ex.exp: Update expected results.
3908 * gdb.ada/mi_catch_assert.exp: Update expected results.
3909 * gdb.ada/catch_ex.exp (catch_exception_info)
3910 (catch_exception_entry, catch_assert_entry)
3911 (catch_unhandled_entry): Update.
3912 * gdb.ada/catch_assert_if.exp: Update expected results.
3913
3914 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3915 Stephen Roberts <stephen.roberts@arm.com>
3916
3917 * gdb.base/define.exp: Restore original prompt.
3918
3919 2019-07-09 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3922 breakpoints" output.
3923 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3924 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3925 throw" creates breakpoint.
3926 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3927 'type="catchpoint"'.
3928
3929 2019-07-09 Pedro Alves <palves@redhat.com>
3930
3931 PR c++/15468
3932 * gdb.cp/except-multi-location-lib.cc: New.
3933 * gdb.cp/except-multi-location-main.cc: New.
3934 * gdb.cp/except-multi-location.exp: New.
3935
3936 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3937
3938 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3939 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3940 argument and update callers.
3941
3942 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3943
3944 * gdb.arch/amd64-break-on-asm-line.S: New file.
3945 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3946
3947 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3948
3949 * gdb.base/printcmds.exp: Test printing C string and
3950 C wide string convenience vars without transiting via the inferior.
3951 Also make test names unique.
3952
3953 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3954
3955 PR breakpoints/25011
3956 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3957
3958 2019-07-04 Pedro Alves <palves@redhat.com>
3959
3960 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3961 body returned ok(0), break(3) or continue(4).
3962 * gdb.testsuite/foreach_with_prefix.exp: New file.
3963
3964 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3965
3966 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3967
3968 2019-07-03 Pedro Alves <palves@redhat.com>
3969
3970 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3971 "return -code".
3972
3973 2019-07-03 Pedro Alves <palves@redhat.com>
3974
3975 PR cli/24732
3976 * gdb.base/shell.exp: Load completion-support.exp.
3977 Adjust expected error output. Add completion tests.
3978
3979 2019-07-03 Pedro Alves <palves@redhat.com>
3980
3981 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3982 string_to_regexp.
3983
3984 2019-07-03 Pedro Alves <palves@redhat.com>
3985
3986 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3987 (expect_integer): Adjust to expect "-string".
3988 (expect_string): New.
3989 (all_options): Expect "-string".
3990 (test-flag, test-boolean): Adjust to expect "-string".
3991 (test-string): New proc.
3992 (top level): Call it.
3993
3994 2019-07-03 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3997 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3998 the expected output in the success.
3999
4000 2019-07-03 Pedro Alves <palves@redhat.com>
4001
4002 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4003 Split one gdb_test_multiple call in two to avoid a race.
4004
4005 2019-07-03 Pedro Alves <palves@redhat.com>
4006
4007 * gdb.base/with.c: New file.
4008 * gdb.base/with.exp: New file.
4009
4010 2019-07-03 Pedro Alves <palves@redhat.com>
4011
4012 * gdb.base/settings.exp: Replace all references to "maint
4013 test-settings set" with references to "maint set test-settings",
4014 and all references to "maint test-settings show" with references
4015 to "maint show test-settings".
4016
4017 2019-07-03 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.base/settings.exp (test-string): Adjust expected out when
4020 testing "maint test-settings show filename"
4021
4022 2019-07-02 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/options.exp (test-info-threads): New procedure.
4025 (top level): Call it.
4026
4027 2019-06-28 Tom Tromey <tromey@adacore.com>
4028
4029 * gdb.dwarf2/ada-linkage-name.c: New file.
4030 * gdb.dwarf2/ada-linkage-name.exp: New file.
4031
4032 2019-06-27 Tom Tromey <tromey@adacore.com>
4033
4034 PR c++/20020:
4035 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4036
4037 2019-06-26 Tom de Vries <tdevries@suse.de>
4038
4039 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4040
4041 2019-06-26 Tom de Vries <tdevries@suse.de>
4042
4043 * gdb.base/index-cache.exp: Add back missing debug option.
4044
4045 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4046
4047 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4048
4049 2019-06-25 Tom de Vries <tdevries@suse.de>
4050
4051 PR testsuite/24727
4052 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4053
4054 2019-06-24 Tom de Vries <tdevries@suse.de>
4055
4056 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4057
4058 2019-06-24 Tom de Vries <tdevries@suse.de>
4059
4060 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4061 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4062 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4063
4064 2019-06-24 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4067
4068 2019-06-21 Tom de Vries <tdevries@suse.de>
4069
4070 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4071
4072 2019-06-21 Tom de Vries <tdevries@suse.de>
4073
4074 PR testsuite/24518
4075 PR ada/24713
4076 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4077 index.
4078
4079 2019-06-19 Tom Tromey <tromey@adacore.com>
4080
4081 * gdb.ada/length_cond.exp: Add intro comment.
4082
4083 2019-06-19 Tom Tromey <tromey@adacore.com>
4084
4085 * gdb.ada/length_cond.exp: New file.
4086 * gdb.ada/length_cond/length_cond.adb: New file.
4087 * gdb.ada/length_cond/pck.adb: New file.
4088 * gdb.ada/length_cond/pck.ads: New file.
4089
4090 2019-06-18 Tom de Vries <tdevries@suse.de>
4091
4092 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4093
4094 2019-06-18 Tom Tromey <tromey@adacore.com>
4095
4096 * gdb.base/list0.h: Add comment explaining control character.
4097
4098 2019-06-18 Tom de Vries <tdevries@suse.de>
4099
4100 * boards/fission.exp: Break up long debug_flags line.
4101
4102 2019-06-16 Tom de Vries <tdevries@suse.de>
4103
4104 PR gdb/24445
4105 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4106 generated index.
4107
4108 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4109
4110 PR gdb/24686
4111 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4112 improve detection of bug gdb/24541.
4113
4114 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4115
4116 PR gdb/24669
4117 * gdb.base/index-cache.exp (uses_readnow,
4118 expecting_index_cache_use): Define global variable.
4119 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4120 expecting_index_cache_use.
4121
4122 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4123 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.fortran/pointers.f90: New file.
4126 * gdb.fortran/print_type.exp: New file.
4127 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4128 * gdb.fortran/vla-type.exp: Likewise.
4129 * gdb.fortran/vla-value.exp: Likewise.
4130 * gdb.mi/mi-vla-fortran.exp: Likewise.
4131
4132 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4135 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4136 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4137 as a stop reason.
4138
4139 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4140
4141 * gdb.base/annota1.exp: Update expected results.
4142 * gdb.cp/annota2.exp: Likewise.
4143 * gdb.cp/annota3.exp: Likewise.
4144
4145 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4146
4147 * gdb.base/style-logging.exp: Remove path from test name.
4148
4149 2019-06-14 Tom Tromey <tromey@adacore.com>
4150
4151 PR gdb/24502:
4152 * gdb.base/style-logging.exp: New file.
4153
4154 2019-06-14 Tom Tromey <tromey@adacore.com>
4155
4156 * gdb.base/symfile-warn.exp: New file.
4157 * gdb.base/symfile-warn.c: New file.
4158
4159 2019-06-14 Tom Tromey <tromey@adacore.com>
4160
4161 * gdb.base/annotate-symlink.exp: New file.
4162
4163 2019-06-14 Tom Tromey <tromey@adacore.com>
4164
4165 * gdb.ada/set_wstr.exp: Add reassignment test.
4166
4167 2019-06-14 Tom Tromey <tromey@adacore.com>
4168
4169 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4170 'unchecked_access and 'unrestricted_access as well.
4171
4172 2019-06-14 Tom Tromey <tromey@adacore.com>
4173
4174 PR ada/24539:
4175 * gdb.ada/vla.exp: Update tests.
4176 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4177 pragma.
4178
4179 2019-06-13 Pedro Alves <palves@redhat.com>
4180
4181 * gdb.base/settings.exp (test-integer): Test junk after
4182 "unlimited".
4183
4184 2019-06-13 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/options.exp (test-thread-apply): New.
4187 (top level): Call it.
4188
4189 2019-06-13 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.base/options.exp (test-frame-apply): New.
4192 (top level): Test print commands with different "frame apply"
4193 prefixes.
4194
4195 2019-06-13 Pedro Alves <palves@redhat.com>
4196
4197 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4198 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4199 'max_completions' parameter and handle it.
4200 (test_gdb_completion_offers_commands): New.
4201
4202 2019-06-13 Pedro Alves <palves@redhat.com>
4203
4204 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4205
4206 2019-06-13 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.base/options.exp (test-backtrace): New.
4209 (top level): Call it.
4210
4211 2019-06-13 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.guile/scm-frame-args.exp: Use "set print
4214 raw-frame-arguments" instead of "set print raw frame-arguments".
4215 * gdb.python/py-frame-args.exp: Likewise.
4216
4217 2019-06-13 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.compile/compile.exp: Adjust expected output to option
4220 processing changes.
4221
4222 2019-06-13 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.base/options.exp: Build executable.
4225 (test-print): New procedure.
4226 (top level): Call it, once for "print" and another for "compile
4227 print".
4228
4229 2019-06-13 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.base/options.c: New file.
4232 * gdb.base/options.exp: New file.
4233
4234 2019-06-13 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4237 that "o" is ambiguous.
4238
4239 2019-06-13 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.base/settings.c: New file.
4242 * gdb.base/settings.exp: New file.
4243
4244 2019-06-13 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/completion.exp: Fix comment typo.
4247
4248 2019-06-13 Pedro Alves <palves@redhat.com>
4249
4250 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4251 foo --1" test.
4252
4253 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4254
4255 * gdb.fortran/block-data.f: New.
4256 * gdb.fortran/block-data.exp: New.
4257
4258 2019-06-11 Tom de Vries <tdevries@suse.de>
4259
4260 PR testsuite/24521
4261 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4262 message.
4263
4264 2019-06-11 Tom de Vries <tdevries@suse.de>
4265
4266 PR testsuite/24521
4267 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4268
4269 2019-06-11 Tom de Vries <tdevries@suse.de>
4270
4271 * boards/readnow.exp: New file.
4272
4273 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4274
4275 * gdb.fortran/vla-sizeof.exp: Update expected results.
4276
4277 2019-06-06 Amos Bird <amosbird@gmail.com>
4278
4279 * gdb.base/annota1.exp (thread_switch): Add test for
4280 thread-exited annotation.
4281
4282 2019-06-06 Tom Tromey <tromey@adacore.com>
4283
4284 * gdb.base/maint.exp: Expect command started/finished output.
4285
4286 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4287
4288 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4289 comment.
4290 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4291
4292 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4295 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4296 * gdb.arch/riscv-unwind-long-insn.c: New file.
4297 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4298
4299 2019-06-04 Christian Biesinger <cbiesinger@google.com>
4300
4301 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
4302
4303 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4304
4305 * lib/gdb.exp (help_list_trailer): New regexp variable
4306 factorizing the help trailer message.
4307 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4308 arg to allow to better factorize various tests.
4309 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4310 (test_prefix_command_help): Use help_list_trailer.
4311 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4312 * gdb.guile/scm-cmd.exp: Likewise.
4313 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4314 * gdb.base/help.exp: Use test_user_defined_class_help.
4315 * gdb.base/style.exp: Add tests for styling of help and apropos.
4316 * lib/gdb-utils.exp (style): Add title and highlight styles.
4317
4318 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4319
4320 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4321 $_shell_exitsignal.
4322 * gdb.base/default.exp: Update for new convenience variables.
4323
4324 2019-05-29 Tom Tromey <tromey@adacore.com>
4325
4326 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4327 to "break complete ada" test case's regexp.
4328
4329 2019-05-29 Tom Tromey <tromey@adacore.com>
4330
4331 PR c++/20020:
4332 * gdb.cp/constexpr-field.exp: New file.
4333 * gdb.cp/constexpr-field.cc: New file.
4334
4335 2019-05-29 Tom Tromey <tromey@adacore.com>
4336
4337 * gdb.base/finish.exp (finish_no_print): New proc.
4338 (finish_tests): Call it.
4339
4340 2019-05-24 Tom de Vries <tdevries@suse.de>
4341
4342 * gdb.dwarf2/gdb-add-index.exp: New file.
4343
4344 2019-05-22 Tom Tromey <tromey@adacore.com>
4345
4346 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4347 * gdb.base/style.exp: Use "style".
4348 * lib/gdb-utils.exp (style): New proc.
4349
4350 2019-05-22 Tom de Vries <tdevries@suse.de>
4351
4352 * gdb.base/align.exp: Require c++11.
4353
4354 2019-05-22 Tom de Vries <tdevries@suse.de>
4355
4356 PR testsuite/24586
4357 * gdb.python/py-mi-var-info-path-expression.exp: Call
4358 mi_skip_python_tests to check if python is supported.
4359
4360 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4361
4362 * gdb.arch/aarch64-pauth.c: New test.
4363 * gdb.arch/aarch64-pauth.exp: New file.
4364
4365 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4366
4367 * README (Re-running Tests Outside The Testsuite): New section.
4368
4369 2019-05-21 Tom de Vries <tdevries@suse.de>
4370
4371 * gdb.arch/amd64-eval.exp: Require c++11.
4372 * gdb.base/max-depth.exp: Same.
4373 * gdb.compile/compile-cplus-array-decay.exp: Same.
4374 * gdb.cp/meth-typedefs.exp: Same.
4375 * gdb.cp/subtypes.exp: Same.
4376 * gdb.cp/temargs.exp: Same.
4377
4378 2019-05-21 Alan Hayward <alan.hayward@arm.com>
4379
4380 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4381
4382 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4383
4384 PR gdb/18644
4385 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4386 * gdb.fortran/printing-types.exp: Add new test.
4387 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4388 testing.
4389 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4390 setup_kfail call.
4391
4392 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4393
4394 * README (Running the Testsuite): Change example.
4395 (Testsuite Parameters): Remove TRANSCRIPT.
4396 * lib/gdb.exp: Remove TRANSCRIPT check.
4397
4398 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4399
4400 * README (Testsuite Parameters): Add replay logging to
4401 GDBSERVER_DEBUG.
4402 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4403 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4404 as a comma separated list.
4405 (gdb_debug_init): Override procedure.
4406
4407 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4408
4409 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4410 (gdb_write_cmd_file): New procedure.
4411 * lib/gdbserver-support.exp (gdbserver_start): Call
4412 gdbserver_write_cmd_file.
4413 (gdbserver_write_cmd_file): New procedure.
4414
4415 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4416
4417 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4418 (delete_breakpoints): Likewise.
4419 (gdb_run_cmd): Likewise.
4420 (gdb_start_cmd): Likewise.
4421 (gdb_starti_cmd): Likewise.
4422 (gdb_internal_error_resync): Likewise.
4423 (gdb_test_multiple): Likewise.
4424 (gdb_reinitialize_dir): Likewise.
4425 (default_gdb_exit): Likewise.
4426 (gdb_file_cmd): Mark kill as optional.
4427 (default_gdb_start): Call gdb_stdin_log_init.
4428 (send_gdb): Call gdb_stdin_log_write.
4429 (rerun_to_main): Mark Y as an answer.
4430 (gdb_stdin_log_init): New function.
4431 (gdb_stdin_log_write): Likewise.
4432
4433 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4434
4435 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4436 * gdb.base/debug-expr.exp: Likewise.
4437 * gdb.base/foll-fork.exp: Likewise.
4438 * gdb.base/foll-vfork.exp: Likewise.
4439 * gdb.base/fork-print-inferior-events.exp: Likewise.
4440 * gdb.base/gdb-sigterm.exp: Likewise.
4441 * gdb.base/gdbinit-history.exp: Likewise.
4442 * gdb.base/osabi.exp: Likewise.
4443 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4444 * gdb.base/ui-redirect.exp: Likewise.
4445 * gdb.gdb/unittest.exp: Likewise.
4446 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4447 * gdb.mi/mi-watch.exp: Likewise.
4448 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4449 * gdb.mi/user-selected-context-sync.exp: Likewise.
4450 * gdb.python/python.exp: Disable debug test when debugging.
4451 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4453 Likewise.
4454 * gdb.threads/stepi-random-signal.exp: Likewise.
4455
4456 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4457
4458 * Makefile.in: Pass through GDB_DEBUG.
4459 * README (Testsuite Parameters): Add GDB_DEBUG.
4460 (gdb,debug): Add board setting.
4461 * lib/gdb.exp (default_gdb_start): Start debugging.
4462 (gdb_debug_enabled): New procedure.
4463 (gdb_debug_init): Likewise.
4464
4465 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4466
4467 * Makefile.in: Pass through GDB_DEBUG.
4468 * README (Testsuite Parameters): Add GDB_DEBUG.
4469 (gdb,debug): Add board setting.
4470 * lib/gdb.exp (default_gdb_start): Start debugging.
4471 (gdb_debug_enabled): New procedure.
4472 (gdb_debug_init): Likewise.
4473
4474 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4475
4476 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4477
4478 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4479
4480 * gdb.base/ui-redirect.exp: Test redirection.
4481
4482 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4483
4484 * gdb.mi/mi-complete.exp: New file.
4485 * gdb.mi/mi-complete.cc: Likewise.
4486
4487 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4488
4489 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4490 indexed and sliced arrays, and pointers to arrays.
4491
4492 2019-05-14 Tom Tromey <tromey@adacore.com>
4493
4494 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4495 styling test.
4496
4497 2019-05-14 Tom de Vries <tdevries@suse.de>
4498
4499 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4500 selection entry encoding.
4501
4502 2019-05-10 Tom Tromey <tromey@adacore.com>
4503
4504 * gdb.ada/info_exc.exp: Add "complete" test.
4505
4506 2019-05-09 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4509 CU-relative.
4510
4511 2019-05-09 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4514 CU-relative.
4515
4516 2019-05-08 Joel Brobecker <brobecker@adacore.com>
4517
4518 * gdb.ada/frame_arg_lang.exp: New testcase.
4519 * gdb.ada/frame_arg_lang/bla.adb: New file.
4520 * gdb.ada/frame_arg_lang/pck.ads: New file.
4521 * gdb.ada/frame_arg_lang/pck.adb: New file.
4522 * gdb.ada/frame_arg_lang/foo.c: New file.
4523
4524 2019-05-08 Tom Tromey <tromey@adacore.com>
4525
4526 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4527
4528 2019-05-08 Tom Tromey <tromey@adacore.com>
4529
4530 * gdb.base/ptype-offsets.exp: Update tests.
4531
4532 2019-05-08 Tom Tromey <tromey@adacore.com>
4533
4534 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4535 cases.
4536 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4537 "short".
4538
4539 2019-05-08 Tom Tromey <tromey@adacore.com>
4540
4541 * gdb.ada/vla.exp: New file.
4542 * gdb.ada/vla/vla.adb: New file.
4543
4544 2019-05-07 Tom de Vries <tdevries@suse.de>
4545
4546 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4547
4548 2019-05-07 Tom de Vries <tdevries@suse.de>
4549
4550 PR testsuite/24522
4551 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4552 section.
4553
4554 2019-05-07 Tom de Vries <tdevries@suse.de>
4555
4556 PR testsuite/24522
4557 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4558 .debug_aranges section.
4559
4560 2019-05-07 Tom de Vries <tdevries@suse.de>
4561
4562 PR testsuite/24159
4563 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4564
4565 2019-05-06 Tom de Vries <tdevries@suse.de>
4566
4567 * lib/gdb.exp (exec_has_index_section): New proc.
4568 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4569 section.
4570
4571 2019-05-04 Tom de Vries <tdevries@suse.de>
4572
4573 * boards/cc-with-debug-names.exp: New file.
4574
4575 2019-05-03 Tom Tromey <tromey@adacore.com>
4576
4577 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4578 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4579 * gdb.ada/char_enum.exp: Add test.
4580
4581 2019-05-03 Tom de Vries <tdevries@suse.de>
4582
4583 * boards/cc-with-gdb-index.exp: New file.
4584
4585 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.rust/simple.exp: Add new test case.
4588 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4589 (main): Initialise an instance of the new struct.
4590
4591 2019-05-01 Tom Tromey <tromey@adacore.com>
4592
4593 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4594 record.
4595 (NPR): New variable.
4596 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4597 test.
4598
4599 2019-05-01 Tom Tromey <tromey@adacore.com>
4600
4601 * gdb.ada/packed_array_assign.exp: Add packed assignment
4602 regression test.
4603
4604 2019-05-01 Tom de Vries <tdevries@suse.de>
4605
4606 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4607
4608 2019-05-01 Tom de Vries <tdevries@suse.de>
4609
4610 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4611
4612 2019-04-30 Ali Tamur <tamur@google.com>
4613
4614 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4615
4616 2019-04-30 Tom Tromey <tromey@adacore.com>
4617
4618 * lib/ada.exp (find_ada_tool): New proc.
4619 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4620 * gdb.ada/catch_ex_std.exp: New file.
4621 * gdb.ada/catch_ex_std/foo.adb: New file.
4622 * gdb.ada/catch_ex_std/some_package.adb: New file.
4623 * gdb.ada/catch_ex_std/some_package.ads: New file.
4624
4625 2019-04-30 Tom Tromey <tromey@adacore.com>
4626
4627 PR c++/24470:
4628 * gdb.cp/temargs.cc: Add test code from PR.
4629
4630 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4631
4632 * gdb.fortran/vla-datatypes.exp: Update expected results.
4633 * gdb.fortran/vla-ptype.exp: Likewise.
4634 * gdb.fortran/vla-type.exp: Likewise.
4635 * gdb.fortran/vla-value.exp: Likewise.
4636
4637 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4638
4639 * gdb.fortran/ptr-indentation.exp: Update expected results.
4640 * gdb.fortran/ptype-on-functions.exp: Likewise.
4641 * gdb.fortran/vla-ptr-info.exp: Likewise.
4642 * gdb.fortran/vla-value.exp: Likewise.
4643
4644 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4645
4646 * gdb.fortran/ptype-on-functions.exp: New file.
4647 * gdb.fortran/ptype-on-functions.f90: New file.
4648
4649 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4650
4651 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4652 case void string.
4653
4654 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4655
4656 * gdb.fortran/complex.exp: Expand.
4657 * gdb.fortran/complex.f: Renamed to...
4658 * gdb.fortran/complex.f90: ...this, and extended to add more
4659 complex values.
4660
4661 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4664 MODULO, CMPLX.
4665
4666 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4667 Richard Bunt <richard.bunt@arm.com>
4668
4669 * gdb.base/max-depth.c: New file.
4670 * gdb.base/max-depth.exp: New file.
4671 * gdb.python/py-nested-maps.c: New file.
4672 * gdb.python/py-nested-maps.exp: New file.
4673 * gdb.python/py-nested-maps.py: New file.
4674 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4675 (test_all_common): Call test_max_depth.
4676 * gdb.fortran/max-depth.exp: New file.
4677 * gdb.fortran/max-depth.f90: New file.
4678 * gdb.go/max-depth.exp: New file.
4679 * gdb.go/max-depth.go: New file.
4680 * gdb.modula2/max-depth.exp: New file.
4681 * gdb.modula2/max-depth.c: New file.
4682 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4683
4684 2019-04-29 Tom de Vries <tdevries@suse.de>
4685
4686 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4687
4688 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4689
4690 * gdb.base/callexit.exp: Test may-call-functions off.
4691
4692 2019-04-25 Keith Seitz <keiths@redhat.com>
4693
4694 PR c++/24367
4695 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4696 (another_incomplete_struct, test_incomplete): New definitions.
4697 (main): Use new definitions.
4698 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4699 functions.
4700
4701 2019-04-25 Ali Tamur <tamur@google.com>
4702
4703 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4704
4705 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4706
4707 PR corefiles/11608
4708 PR corefiles/18187
4709 * gdb.base/coredump-filter-build-id.exp: New file.
4710
4711 2019-04-25 Alan Hayward <alan.hayward@arm.com>
4712
4713 * Makefile.in: Pass through GDBSERVER_DEBUG.
4714 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4715 (gdbserver,debug): Add board setting.
4716 * gdb.trace/tspeed.exp: Skip when debugging.
4717 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4718 * lib/gdbserver-support.exp: Likewise
4719
4720 2019-04-24 Tom Tromey <tromey@adacore.com>
4721
4722 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4723 Rust.
4724
4725 2019-04-24 Tom Tromey <tromey@adacore.com>
4726
4727 * gdb.arch/amd64-eval.exp: Test bitfield return.
4728 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4729 (class Foo) <return_bitfields>: New method.
4730 (main): Call it.
4731
4732 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4733
4734 * gdb.cp/many-args.cc: New file.
4735 * gdb.cp/many-args.exp: New file.
4736
4737 2019-04-23 Tom de Vries <tdevries@suse.de>
4738
4739 PR gdb/24433
4740 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4741
4742 2019-04-23 Alan Hayward <alan.hayward@arm.com>
4743
4744 * gdb.trace/backtrace.exp: Use nopie flag.
4745 * gdb.trace/circ.exp: Likewise.
4746 * gdb.trace/collection.exp: Likewise.
4747 * gdb.trace/ftrace.exp: Likewise.
4748 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4749 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4750 * gdb.trace/qtro.exp: Likewise.
4751 * gdb.trace/read-memory.exp: Likewise.
4752 * gdb.trace/report.exp: Likewise.
4753 * gdb.trace/tfile.exp: Likewise.
4754 * gdb.trace/tfind.exp: Likewise.
4755 * gdb.trace/unavailable.exp: Likewise.
4756
4757 2019-04-22 Pedro Alves <palves@redhat.com>
4758
4759 * gdb.base/solib-probes-nosharedlibrary.c,
4760 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4761
4762 2019-04-19 Tom Tromey <tromey@adacore.com>
4763
4764 * gdb.ada/ptype_union.c: New file.
4765 * gdb.ada/ptype_union.exp: New file.
4766
4767 2019-04-19 Tom Tromey <tromey@adacore.com>
4768
4769 PR symtab/24423:
4770 * gdb.base/list0.h (foo): Add a control-l character.
4771
4772 2019-04-18 Tom de Vries <tdevries@suse.de>
4773
4774 PR gdb/24433
4775 * boards/local-board.exp: Set sysroot to "".
4776
4777 2019-04-18 Tom de Vries <tdevries@suse.de>
4778 Pedro Alves <palves@redhat.com>
4779
4780 PR gdb/24454
4781 * gdb.threads/vfork-follow-child-exec.c: New file.
4782 * gdb.threads/vfork-follow-child-exec.exp: New file.
4783 * gdb.threads/vfork-follow-child-exit.c: New file.
4784 * gdb.threads/vfork-follow-child-exit.exp: New file.
4785
4786 2019-04-15 Leszek Swirski <leszeks@google.com>
4787
4788 * gdb.arch/amd64-eval.cc: New file.
4789 * gdb.arch/amd64-eval.exp: New file.
4790
4791 2019-04-11 Alan Hayward <alan.hayward@arm.com>
4792
4793 * gdb.server/sysroot.c: New test.
4794 * gdb.server/sysroot.exp: New file.
4795 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4796 matching param.
4797
4798 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4799
4800 * gdb.base/align.exp: Extend test to cover structures containing
4801 only static fields.
4802
4803 2019-04-11 Tom de Vries <tdevries@suse.de>
4804
4805 * boards/cc-with-dwz-m.exp: New file.
4806 * boards/cc-with-dwz.exp: New file.
4807 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4808
4809 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4810
4811 * gdb.base/start-cpp.exp: New file.
4812 * gdb.base/start-cpp.cc: New file.
4813
4814 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4815
4816 * gdb.python/py-thrhandle.exp: Adjust tests to call
4817 thread_from_handle instead of thread_from_thread_handle.
4818
4819 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4820
4821 * gdb.python/py-thrhandle.exp: Add tests for
4822 gdb.InferiorThread.handle.
4823
4824 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * gdb.python/py-function.exp: Check calling helper function from
4827 all languages.
4828 * lib/gdb.exp (gdb_supported_languages): New proc.
4829
4830 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4831
4832 * gdb.base/complex-parts.c: New file.
4833 * gdb.base/complex-parts.exp: New file.
4834
4835 2019-04-01 Tom Tromey <tromey@adacore.com>
4836
4837 PR symtab/23331:
4838 * gdb.dwarf2/dw2-ranges-main.c: New file.
4839 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4840 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4841
4842 2019-03-30 Simon Marchi <simark@simark.ca>
4843
4844 * gdb.base/default.exp: Add values for $_gdb_major and
4845 $_gdb_minor.
4846
4847 2019-03-29 Tom Tromey <tromey@adacore.com>
4848
4849 * gdb.base/help.exp: Tighten apropos regexp.
4850
4851 2019-03-29 Keith Seitz <keiths@redhat.com>
4852
4853 * gdb.fortran/array-bounds.exp: New file.
4854 * gdb.fortran/array-bounds.f90: New file.
4855
4856 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4857
4858 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4859
4860 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4861
4862 * gdb.multi/hello.c (main): Increase alarm timer.
4863
4864 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4865
4866 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4867 factor when no hardware watchpoint support.
4868
4869 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4870 Pedro Alves <palves@redhat.com>
4871
4872 * boards/local-board.exp: set sysroot to /.
4873
4874 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4875
4876 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4877 in child.
4878
4879 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4880
4881 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4882 field.
4883 (make_container): Initialise new field.
4884 * gdb.python/py-prettyprint.exp: Add new tests.
4885 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4886 <display_hint>: New method.
4887
4888 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4889
4890 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4891 gdb_continue_to_breakpoint more throughout this test.
4892 (run_lang_tests) Supply unique test names, and use
4893 gdb_test_no_output.
4894
4895 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4896
4897 * gdb.base/finish-pretty.exp: Update expected results.
4898 * gdb.base/pretty-print.c: New file.
4899 * gdb.base/pretty-print.exp: New file.
4900
4901 2019-03-25 Pedro Alves <palves@redhat.com>
4902
4903 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4904 move comments outside list. Append '-i "" eof' section.
4905
4906 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4907
4908 PR testsuite/25016
4909 * README: Add pie options.
4910 * gdb.base/break-interp.exp: Ensure pie is disabled.
4911 * gdb.base/dump.exp: Likewise.
4912 * lib/gdb.exp (gdb_compile): Add pie option.
4913
4914 2019-03-19 Tom Tromey <tromey@adacore.com>
4915
4916 * gdb.mi/mi2-cli-display.c: New file.
4917 * gdb.mi/mi2-cli-display.exp: New file.
4918
4919 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4920 Tom Tromey <tromey@adacore.com>
4921
4922 * gdb.ada/ptype_array/pck.adb: New file.
4923 * gdb.ada/ptype_array/pck.ads: New file.
4924 * gdb.ada/ptype_array/foo.adb: New file.
4925 * gdb.ada/ptype_array.exp: New file.
4926
4927 2019-03-14 Tom Tromey <tromey@adacore.com>
4928
4929 * gdb.base/style.exp: Add "set style sources" test.
4930
4931 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4932
4933 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4934 * mi-breakpoint-multiple-locations.exp: ... this.
4935 (make_breakpoints_pattern): New proc.
4936 (do_test): Add mi_version parameter, test -break-insert,
4937 -break-info and =breakpoint-created.
4938
4939 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * config/default.exp: Remove 'load_lib gdb.exp'.
4942 * config/monitor.exp: Likewise.
4943 * config/sid.exp: Likewise.
4944 * config/sim.exp: Likewise.
4945 * config/slite.exp: Likewise.
4946 * config/unix.exp: Likewise.
4947 * gdb.base/default.exp: Remove unhelpful comment.
4948
4949 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4950
4951 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4952
4953 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4956
4957 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4958
4959 * gdb.fortran/type-kinds.exp: Update expected results.
4960
4961 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4962
4963 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4964
4965 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4966
4967 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4968 function.
4969 (test_basic_parsing_of_type_kinds): Expand types tested.
4970 (test_parsing_invalid_type_kinds): New function.
4971
4972 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4973
4974 * gdb.fortran/intrinsics.exp: New file.
4975 * gdb.fortran/intrinsics.f90: New file.
4976 * gdb.fortran/type-kinds.exp: New file.
4977
4978 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4979
4980 * gdb.fortran/dot-ops.exp: New file.
4981
4982 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4985 Check upper and lower case logical literals.
4986
4987 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4988
4989 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4990 Remove duplicate tests.
4991
4992 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4993
4994 * lib/gdb.exp (builtin_cd): rename of cd.
4995 (cd): Override builtin.
4996
4997 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4998
4999 * gdb.fortran/function-calls.exp: New file.
5000 * gdb.fortran/function-calls.f90: New test.
5001
5002 2019-03-04 Richard Bunt <richard.bunt@arm.com>
5003
5004 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5005 on user program standard output.
5006 * gdb.fortran/short-circuit-argument-list.f90: Record function
5007 calls.
5008
5009 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5010
5011 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5012 failure.
5013
5014 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5015
5016 PR gdb/8527
5017 * gdb.base/interrupt-daemon-attach.c,
5018 gdb.base/interrupt-daemon-attach.exp: New test.
5019
5020 2019-02-27 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/page.exp: Add tests for "set width/height -1".
5023
5024 2019-02-27 Pedro Alves <palves@redhat.com>
5025
5026 * gdb.base/page.exp: Add tests for "set/show width/height" with
5027 "infinite" values.
5028
5029 2019-02-27 Tom Tromey <tromey@adacore.com>
5030
5031 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5032 2.4.
5033 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5034 workaround.
5035
5036 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5037
5038 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5039 tests for structs with static members.
5040
5041 2019-02-26 Tom Tromey <tromey@adacore.com>
5042
5043 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5044 ValueError, not TypeError.
5045
5046 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5047
5048 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5049 call from main program.
5050
5051 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5052
5053 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5054 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5055 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5056 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5057 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5058
5059 2019-02-22 Keith Seitz <keiths@redhat.com>
5060
5061 PR symtab/23853
5062 * gdb.base/symlink-sourcefile.c: New file.
5063 * gdb.base/symlink-sourcefile.exp: New file.
5064
5065 2019-02-20 Tom Tromey <tom@tromey.com>
5066
5067 * gdb.base/info_qt.exp: Update.
5068
5069 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5070
5071 * gdb.base/source.exp: Move "error in sourced script" code to
5072 the end.
5073 * gdb.base/source-error.gdb: Move contents to
5074 source-error-1.gdb. Add new code to source source-error-1.gdb.
5075 * gdb.base/source-error-1.gdb: New file, from previous
5076 source-error.gdb.
5077
5078 2019-02-17 Tom Tromey <tom@tromey.com>
5079
5080 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5081 for macro styling.
5082 * gdb.base/style.c (SOME_MACRO): New macro.
5083
5084 2019-02-17 Tom Tromey <tom@tromey.com>
5085
5086 * gdb.base/style.exp: Add line-wrapping tests.
5087 * gdb.base/page.exp: Add test for quitting during pagination.
5088
5089 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.ada/big_packed_array: New testcase.
5092 * gdb.ada/homonym.exp: Fix incorrect expected output for
5093 "break <homonym__get_value>" test.
5094
5095 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5096
5097 PR breakpoints/21870
5098 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5099 and prepare_for_testing. Add comment.
5100 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5101 redundant cleanup call. Clean up comment.
5102
5103 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5104
5105 PR breakpoints/21870
5106 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5107 * gdb.arch/aarch64-dbreg-contents.c: New file.
5108
5109 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5110
5111 * gdb.ada/mi_ref_changeable: New testcase.
5112
5113 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5114
5115 * gdb.base/attach.exp: Add double attach test.
5116
5117 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5118
5119 * lib/gdb.exp (default_gdb_start): Don't match pagination
5120 prompt.
5121 (gdb_init): Set stty_init.
5122
5123 2019-01-27 Tom Tromey <tom@tromey.com>
5124
5125 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5126 skip_python_tests.
5127
5128 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5129
5130 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5131 New structure.
5132 (struct struct_static_02_02): Likewise.
5133 (struct struct_static_02_03): Likewise.
5134 (struct struct_static_02_04): Likewise.
5135 (struct struct_static_04_01): Likewise.
5136 (struct struct_static_04_02): Likewise.
5137 (struct struct_static_04_03): Likewise.
5138 (struct struct_static_04_04): Likewise.
5139 (struct struct_static_06_01): Likewise.
5140 (struct struct_static_06_02): Likewise.
5141 (struct struct_static_06_03): Likewise.
5142 (struct struct_static_06_04): Likewise.
5143 (cmp_struct_static_02_01): Likewise.
5144 (cmp_struct_static_02_02): Likewise.
5145 (cmp_struct_static_02_03): Likewise.
5146 (cmp_struct_static_02_04): Likewise.
5147 (cmp_struct_static_04_01): Likewise.
5148 (cmp_struct_static_04_02): Likewise.
5149 (cmp_struct_static_04_03): Likewise.
5150 (cmp_struct_static_04_04): Likewise.
5151 (cmp_struct_static_06_01): Likewise.
5152 (cmp_struct_static_06_02): Likewise.
5153 (cmp_struct_static_06_03): Likewise.
5154 (cmp_struct_static_06_04): Likewise.
5155 (call_all): Test new structs.
5156 * gdb.base/infcall-nested-structs.exp: Likewise.
5157
5158 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5159 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5160
5161 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5162 * gdb.base/stack-protector.c: New test.
5163 * gdb.base/stack-protector.exp: New file.
5164 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5165 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5166 option.
5167 (gdb_compile): Remove stack protector for GCC and prevent
5168 recursion.
5169
5170 2019-01-16 Keith Seitz <keiths@redhat.com>
5171
5172 PR gdb/23773
5173 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5174
5175 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5176
5177 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5178 aliases.
5179 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5180 tests.
5181 * gdb.arch/powerpc-vector-regs.c: New file.
5182 * gdb.arch/powerpc-vector-regs.exp: New file.
5183
5184 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5185
5186 * gdb.arch/altivec-regs.exp: Fix the list passed to
5187 gdb_expect_list when testing "info vector".
5188
5189 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5190
5191 * gdb.base/style.exp: Don't include path in testname.
5192
5193 2019-01-10 Keith Seitz <keiths@redhat.com>
5194
5195 PR gdb/23712
5196 PR symtab/23010
5197 * gdb.dwarf2/multidictionary.exp: New file.
5198
5199 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5200
5201 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5202 (test_gnuv3_style_demangling): ... this.
5203 (test_lucid_style_demangling): Remove.
5204 (test_arm_style_demangling): Remove.
5205 (test_hp_style_demangling): Remove.
5206 (do_tests): Remove calls to the above.
5207
5208 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5209
5210 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5211 case.
5212
5213 2019-01-06 Tom Tromey <tom@tromey.com>
5214
5215 PR gdb/28155:
5216 * gdb.dwarf2/typedef-void-finish.exp: New file.
5217
5218 2018-12-28 Tom Tromey <tom@tromey.com>
5219 Simon Marchi <simark@simark.ca>
5220
5221 * gdb.base/jit-exec.exp: New file.
5222 * gdb.base/jit-exec.c: New file.
5223 * gdb.base/jit-execd.c: New file.
5224
5225 2018-12-28 Tom Tromey <tom@tromey.com>
5226
5227 * gdb.base/style.exp: Update test to check for address styling.
5228
5229 2018-12-28 Tom Tromey <tom@tromey.com>
5230
5231 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5232 message.
5233
5234 2018-12-28 Tom Tromey <tom@tromey.com>
5235
5236 * gdb.base/style.exp: Add test for version number styling.
5237
5238 2018-12-28 Tom Tromey <tom@tromey.com>
5239
5240 * gdb.base/style.exp: Add test for print_address_symbolic.
5241
5242 2018-12-28 Tom Tromey <tom@tromey.com>
5243
5244 * gdb.base/style.exp: Add test for breakpoint setting.
5245
5246 2018-12-28 Tom Tromey <tom@tromey.com>
5247
5248 * gdb.base/style.exp: Add test for variable names.
5249
5250 2018-12-28 Tom Tromey <tom@tromey.com>
5251
5252 * gdb.base/style.exp: New file.
5253 * gdb.base/style.c: New file.
5254
5255 2018-12-28 Tom Tromey <tom@tromey.com>
5256
5257 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5258 "dumb".
5259 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5260 the TERM environment variable.
5261
5262 2018-12-27 Tom Tromey <tom@tromey.com>
5263
5264 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5265 pagination test.
5266
5267 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5268
5269 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5270 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5271
5272 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5273
5274 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5275 Filename a.adb changed to bp_fun_addr.adb.
5276 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5277
5278 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5279
5280 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5281 non-PIE executables.
5282 * README: Mention the gdb,nopie_flag board setting.
5283 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5284 non-PIE executable.
5285 * gdb.arch/amd64-entry-value.exp: Likewise.
5286 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5287 * gdb.arch/i386-float.exp: Likewise.
5288 * gdb.arch/i386-signal.exp: Likewise.
5289 * gdb.mi/mi-reg-undefined.exp: Likewise.
5290
5291 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5292
5293 PR gdb/23974
5294 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5295
5296 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5297
5298 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5299 Update order of results accordingly.
5300
5301 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5302
5303 * gdb.base/annota1.exp: Update a test regexp.
5304
5305 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5306
5307 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5308
5309 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5310
5311 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5312 (reuse_time): Initialize to REUSE_TIME_CAP.
5313 (check_rc): New function.
5314 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5315 Check pthread_create rc.
5316 (spawner_thread_func): Check pthread_create and pthread_join rc.
5317
5318 2018-12-08 Pedro Alves <palves@redhat.com>
5319
5320 * gdb.base/list.exp (test_forward_search): Rename to ...
5321 (test_forward_reverse_search): ... this. Also test reverse-search
5322 and the forward-search alias.
5323
5324 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5325
5326 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5327 local timeout variable before return, and remove all local timeout
5328 variable entirely.
5329 (gdb_load): Likewise.
5330
5331 2018-12-01 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.base/gdb-caching-proc.exp: New file.
5334
5335 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5336
5337 * Makefile.in (TIMESTAMP): New variable.
5338 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5339 command.
5340 (check-single-racy): Likewise.
5341 (check/%.exp): Likewise.
5342 (check-racy/%.exp): Likewise.
5343 (workers/%.worker): Likewise.
5344 (build-perf): Likewise.
5345 (check-perf): Likewise.
5346 * README: Describe new "TS" and "TS_FORMAT" variables.
5347 * print-ts.py: New file.
5348
5349 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5350
5351 PR python/23714
5352 * gdb.python/python.exp: Test command repetition after
5353 gdb.execute.
5354
5355 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5356
5357 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5358 is correctly aligned.
5359
5360 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5361
5362 * gdb.ada/info_auto_lang.exp: New testcase.
5363 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5364 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5365 * gdb.ada/info_auto_lang/some_c.c: New file.
5366
5367 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5368
5369 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5370 FUNC_lang language syntax.
5371
5372 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5373
5374 * gdb.base/info_minsym.c: New file.
5375 * gdb.base/info_minsym.exp: New file.
5376
5377 2018-11-19 Tom Tromey <tom@tromey.com>
5378
5379 PR rust/23625:
5380 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5381 * gdb.rust/expr.exp: Update expected output. Change one test.
5382
5383 2018-11-19 Tom Tromey <tom@tromey.com>
5384
5385 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5386
5387 2018-11-19 Pedro Alves <palves@redhat.com>
5388
5389 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5390 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5391 see the expected warning.
5392
5393 2018-11-16 Alan Hayward <alan.hayward@arm.com>
5394
5395 PR gdb/22736:
5396 * gdb.cp/infcall-nodebug-lib.c: New test.
5397 * gdb.cp/infcall-nodebug-main.c: New test.
5398 * gdb.cp/infcall-nodebug.exp: New file.
5399
5400 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5401
5402 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5403 completer tests.
5404
5405 2018-11-09 Tom de Vries <tdevries@suse.de>
5406
5407 * gdb.base/msym-lang.c: New test.
5408 * gdb.base/msym-lang.exp: New file.
5409 * gdb.base/msym-lang-main.c: New test.
5410
5411 2018-11-08 Tom Tromey <tom@tromey.com>
5412
5413 PR gdb/23555:
5414 PR gdb/23838:
5415 * gdb.base/warning.exp: New file.
5416
5417 2018-11-08 Jan Beulich <jbeulich@suse.com>
5418
5419 * testsuite/gdb.arch/i386-avx512.c,
5420 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5421
5422 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5423
5424 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5425 point hardware.
5426
5427 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5428
5429 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5430 * gdb.dwarf2/missing-type-name.exp: New file.
5431
5432 2018-11-06 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.base/many-headers.c: New test.
5435 * gdb.base/many-headers.exp: New file.
5436
5437 2018-11-06 Jim Wilson <jimw@sifive.com>
5438
5439 * gdb.base/code_elim.exp: For riscv, set additional_flags
5440 to include -msmall-data-limit=0.
5441
5442 2018-11-01 Joel Brobecker <brobecker@adacore.com>
5443
5444 * gdb.ada/watch_minus_l: New testcase.
5445
5446 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5447
5448 * gdb.arch/aix-sighandle.c: New file.
5449 * gdb.arch/aix-sighandle.exp: New file.
5450
5451 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5452
5453 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5454 registers being unions.
5455
5456 2018-10-31 Tom de Vries <tdevries@suse.de>
5457
5458 * lib/valgrind.exp: New file.
5459 (vgdb_start, vgdb_stop): New procs, factored out of ...
5460 * gdb.base/valgrind-bt.exp: ... here, ...
5461 * gdb.base/valgrind-disp-step.exp: ... here and ...
5462 * gdb.base/valgrind-infcall.exp: ... here.
5463
5464 2018-10-31 Tom de Vries <tdevries@suse.de>
5465
5466 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5467
5468 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 * gdb.dwarf2/void-type.c: New file.
5471 * gdb.dwarf2/void-type.exp: New file.
5472
5473 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5474
5475 * gdb.base/info_qt.c: New file.
5476 * gdb.base/info_qt.exp: New file.
5477
5478 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5479
5480 * gdb.arch/powerpc-htm-regs.c: New file.
5481 * gdb.arch/powerpc-htm-regs.exp: New file.
5482
5483 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5484
5485 * gdb.arch/powerpc-tar.c: New file.
5486 * gdb.arch/powerpc-tar.exp: New file.
5487
5488 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5489
5490 * gdb.arch/powerpc-ppr-dscr.c: New file.
5491 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5492
5493 2018-10-25 Tom de Vries <tdevries@suse.de>
5494
5495 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5496
5497 2018-10-24 Tom de Vries <tdevries@suse.de>
5498
5499 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5500 longer exists error.
5501
5502 2018-10-24 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5505
5506 2018-10-24 Tom de Vries <tdevries@suse.de>
5507
5508 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5509 --db-attach in valgrind.
5510
5511 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5512
5513 * gdb.arch/riscv-reg-aliases.c: New file.
5514 * gdb.arch/riscv-reg-aliases.exp: New file.
5515
5516 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5517
5518 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5519
5520 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5521
5522 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5523
5524 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5525
5526 * gdb.cp/ovldbreak.exp: Fix regexps.
5527
5528 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5529
5530 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5531
5532 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5533
5534 PR cli/23785
5535 * gdb.base/restore.exp: New test to check if "restore" with an
5536 invalid file doesn't segfault.
5537
5538 2018-10-18 Tom de Vries <tdevries@suse.de>
5539
5540 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5541 * gdb.ada/excep_handle.exp: Same.
5542 * gdb.ada/mi_string_access.exp: Same.
5543 * gdb.ada/mi_var_union.exp: Same.
5544 * gdb.arch/arc-analyze-prologue.exp: Same.
5545 * gdb.arch/arc-decode-insn.exp: Same.
5546 * gdb.base/readnever.exp: Same.
5547 * gdb.fortran/printing-types.exp: Same.
5548 * gdb.guile/scm-lazy-string.exp: Same.
5549
5550 2018-10-16 Tom de Vries <tdevries@suse.de>
5551
5552 PR gdb/23730
5553 * gdb.base/catch-follow-exec.c: Add copyright notice.
5554 * gdb.base/catch-follow-exec.exp: Rewrite to use
5555 gdb_spawn_with_cmdline_opts. Require gdb-native.
5556
5557 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5558
5559 * gdb.trace/actions-changed.exp: Check for arch support.
5560 * gdb.trace/actions.exp: Likewise.
5561 * gdb.trace/ax.exp: Likewise.
5562 * gdb.trace/backtrace.exp: Likewise.
5563 * gdb.trace/change-loc.exp: Likewise.
5564 * gdb.trace/deltrace.exp: Likewise.
5565 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5566 * gdb.trace/ftrace.exp: Likewise.
5567 * gdb.trace/infotrace.exp: Check for arch support.
5568 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5569 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5570 * gdb.trace/mi-tsv-changed.exp: Likewise.
5571 * gdb.trace/packetlen.exp: Likewise.
5572 * gdb.trace/passc-dyn.exp: Likewise.
5573 * gdb.trace/passcount.exp: Likewise.
5574 * gdb.trace/pending.exp: Likewise.
5575 * gdb.trace/range-stepping.exp: Check for shlib support.
5576 * gdb.trace/report.exp: Check for arch support.
5577 * gdb.trace/save-trace.exp: Likewise.
5578 * gdb.trace/signal.exp: Check for signal support.
5579 * gdb.trace/tfind.exp: Check for arch support.
5580 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5581 * gdb.trace/trace-common.h: Add comment.
5582 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5583 * gdb.trace/trace-enable-disable.exp: Likewise.
5584 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5585 * gdb.trace/tracecmd.exp: Check for arch support.
5586 * gdb.trace/tspeed.exp: Check for shlib and target support.
5587 * gdb.trace/tstatus.exp: Check for arch support.
5588 * gdb.trace/tsv.exp: Likewise.
5589 * gdb.trace/while-dyn.exp: Likewise.
5590 * gdb.trace/while-stepping.exp: Likewise.
5591 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5592
5593 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5594
5595 * gdb.trace/tspeed.exp: Remove nowarnings.
5596 (prepare_for_trace_test): Declare "global ipalib".
5597 * gdb.trace/tspeed.c: Include unistd.h.
5598 (main): Remove superfluous printf argument.
5599
5600 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5601
5602 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5603 directory prefix on the filename.
5604
5605 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5606
5607 * gdb.gdb/unittest.exp: Update expected message informing that
5608 selftests have been disabled.
5609 * gdb.server/unittest.exp: Likewise.
5610
5611 2018-10-09 Tom de Vries <tdevries@suse.de>
5612
5613 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5614 with runto_main.
5615
5616 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
5617
5618 PR c++/16841
5619 * gdb.cp/virtbase2.cc: New file.
5620 * gdb.cp/virtbase2.exp: New file.
5621
5622 2018-10-06 Tom Tromey <tom@tromey.com>
5623
5624 PR python/19399:
5625 * gdb.python/py-inferior.exp: Add architecture test.
5626
5627 2018-10-06 Tom Tromey <tom@tromey.com>
5628
5629 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5630 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5631
5632 2018-10-06 Tom Tromey <tom@tromey.com>
5633
5634 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5635 of a "throw" catchpoint.
5636
5637 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5638
5639 * gdb.base/info-proc.exp: Update string expected from "help info
5640 proc".
5641
5642 2018-10-04 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5645 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5646 (test_initial_complaints, test_empty_complaints): Update.
5647 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5648
5649 2018-10-04 Tom Tromey <tom@tromey.com>
5650
5651 PR cli/19551:
5652 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5653 * lib/gdb.exp (gdb_file_cmd): Update.
5654 * gdb.stabs/weird.exp (print_weird_var): Update.
5655 * gdb.server/solib-list.exp: Update.
5656 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5657 * gdb.mi/mi-cli.exp: Update.
5658 * gdb.linespec/linespec.exp: Update.
5659 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5660 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5661 * gdb.cp/cp-relocate.exp: Update.
5662 * gdb.base/sym-file.exp: Update.
5663 * gdb.base/relocate.exp: Update.
5664 * gdb.base/readnever.exp: Update.
5665 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5666 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5667 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5668 * gdb.base/code_elim.exp: Update.
5669 * gdb.base/break-unload-file.exp (test_break): Update.
5670 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5671 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5672 Update.
5673 * gdb.base/attach.exp (do_attach_tests): Update.
5674 * gdb.base/sepdebug.exp: Update.
5675 * gdb.python/py-section-script.exp: Update.
5676
5677 2018-10-04 Tom Tromey <tom@tromey.com>
5678
5679 PR cli/22234:
5680 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5681 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5682 output.
5683
5684 2018-10-04 Tom Tromey <tom@tromey.com>
5685
5686 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5687 set width and height to 0.
5688 (test_command_line_attach_run): Use -quiet.
5689
5690 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5691
5692 * lib/gdb.exp (skip_ifunc_tests): New.
5693 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5694 other compile failures.
5695 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5696
5697 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5698
5699 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5700 is_amd64_regs_target.
5701
5702 2018-10-01 Alan Hayward <alan.hayward@arm.com>
5703
5704 * gdb.arch/aarch64-sighandler-regs.c: New test.
5705 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5706 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5707
5708 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5709
5710 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5711 assembly.
5712
5713 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5714
5715 * gdb.base/frame-selection.exp: New file.
5716 * gdb.base/frame-selection.c: New file.
5717
5718 2018-09-27 Alan Hayward <alan.hayward@arm.com>
5719
5720 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5721 pthread barrier.
5722 (main): Likewise.
5723
5724 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5725
5726 * gdb.base/large-frame-1.c: New file.
5727 * gdb.base/large-frame-2.c: New file.
5728 * gdb.base/large-frame.exp: New file.
5729 * gdb.base/large-frame.h: New file.
5730
5731 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5732
5733 PR gdb/20948
5734 * gdb.base/write_mem.exp: New test.
5735 * gdb.base/write_mem.c: Likewise.
5736
5737 2018-09-23 Tom Tromey <tom@tromey.com>
5738
5739 PR python/18852:
5740 * gdb.python/py-parameter.exp: Add test for parameter that throws
5741 on "set".
5742
5743 2018-09-23 Tom Tromey <tom@tromey.com>
5744
5745 PR python/17284:
5746 * gdb.python/py-template.exp (test_template_arg): Add test for
5747 negative template argument number.
5748
5749 2018-09-23 Tom Tromey <tom@tromey.com>
5750
5751 PR python/14062:
5752 * gdb.python/python.exp: Add test for post_event error.
5753
5754 2018-09-23 Tom Tromey <tom@tromey.com>
5755
5756 PR python/18170:
5757 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5758 convert pointers to int and long.
5759
5760 2018-09-23 Tom Tromey <tom@tromey.com>
5761
5762 PR python/20126:
5763 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5764 signed-ness conversion tests.
5765
5766 2018-09-23 Tom Tromey <tom@tromey.com>
5767
5768 PR python/18352;
5769 * gdb.python/py-value.exp (test_float_conversion): New proc.
5770 Use it.
5771
5772 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5773
5774 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5775
5776 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5777
5778 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5779 no readline.
5780 * gdb.base/utf8-identifiers.exp: Likewise.
5781 * gdb.cp/cpcompletion.exp: Likewise.
5782 * gdb.linespec/cpcompletion.exp: Likewise.
5783 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5784 * gdb.linespec/cpls-ops.exp: Likewise.
5785
5786 2018-09-19 Richard Bunt <richard.bunt@arm.com>
5787 Chris January <chris.january@arm.com>
5788
5789 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5790 * gdb.fortran/short-circuit-argument-list.exp: New file.
5791 * gdb.fortran/short-circuit-argument-list.f90: New test.
5792
5793 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5794
5795 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5796 "arch=" keyword when executing "-stack-list-frames".
5797
5798 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5799
5800 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5801 "arch=" keyword when executing "-stack-list-frames".
5802
5803 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5804
5805 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5806 break ada".
5807
5808 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5809
5810 PR python/23669
5811 * gdb.python/python.exp: Test gdb.execute("show commands").
5812
5813 2018-09-16 Tom Tromey <tom@tromey.com>
5814
5815 * gdb.base/new-ui.exp (do_execution_tests): Update.
5816 * gdb.base/dbx.exp (test_breakpoints): Update.
5817
5818 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5819
5820 * lib/gdb.exp (gdb_simple_compile): Add proc.
5821 (is_elf_target): Use gdb_simple_compile.
5822 (skip_altivec_tests): Likewise.
5823 (skip_vsx_tests): Likewise.
5824 (skip_tsx_tests): Likewise.
5825 (skip_btrace_tests): Likewise.
5826 (skip_btrace_pt_tests): Likewise.
5827 (gdb_can_simple_compile): Likewise.
5828 (gdb_has_argv0): Likewise.
5829 (gdb_target_symbol_prefix): Likewise.
5830 (target_supports_scheduler_locking): Likewise.
5831
5832 2018-09-13 Tom Tromey <tom@tromey.com>
5833
5834 * Makefile.in (TAGS): Recognize proc_with_prefix and
5835 gdb_caching_proc.
5836
5837 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5838
5839 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5840 method.
5841
5842 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5843
5844 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5845 and a few other Inferior properties when the Inferior is no
5846 longer valid.
5847
5848 2018-09-13 Tom Tromey <tom@tromey.com>
5849
5850 PR rust/23650:
5851 * gdb.rust/simple.exp: Add test for enum field access error.
5852
5853 2018-09-13 Tom Tromey <tom@tromey.com>
5854
5855 PR rust/23626:
5856 * gdb.rust/simple.rs (EmptyEnum): New type.
5857 (main): Use it.
5858 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5859
5860 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5861
5862 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5863 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5864 * gdb.python/py-symtab.exp: Update test printing an objfile.
5865
5866 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5867
5868 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5869 object.
5870
5871 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5872
5873 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5874 (support_complex_tests): Use gdb_can_simple_compile.
5875 (is_ilp32_target): Likewise.
5876 (is_lp64_target): Likewise.
5877 (is_64_target): Likewise.
5878 (is_amd64_regs_target): Likewise.
5879 (is_aarch32_target): Likewise.
5880 (gdb_int128_helper): Likewise.
5881
5882 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5883
5884 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5885
5886 2018-09-10 Jerome Guitton <guitton@adacore.com>
5887
5888 * gdb.ada/same_component_name: Add test for case of tagged record
5889 with variable-length fields.
5890
5891 2018-09-10 Xavier Roirand <roirand@adacore.com>
5892
5893 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5894 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5895 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5896 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5897
5898 2018-09-10 Xavier Roirand <roirand@adacore.com>
5899
5900 * gdb.ada/mi_string_access.exp: New testcase.
5901 * gdb.ada/mi_string_access/bar.adb: New file.
5902 * gdb.ada/mi_string_access/pck.adb: New file.
5903 * gdb.ada/mi_string_access/pck.asd: New file.
5904
5905 2018-09-10 Xavier Roirand <roirand@adacore.com>
5906
5907 * gdb.ada/mi_var_union.exp: New testcase.
5908 * gdb.ada/mi_var_union/bar.adb: New file.
5909 * gdb.ada/mi_var_union/pck.adb: New file.
5910 * gdb.ada/mi_var_union/pck.asd: New file.
5911
5912 2018-09-08 Tom Tromey <tom@tromey.com>
5913
5914 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5915
5916 2018-09-08 Tom Tromey <tom@tromey.com>
5917
5918 PR python/16047:
5919 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5920 (register_pretty_printers): Register new printer.
5921 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5922 test.
5923 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5924 (an_int_type3): New global.
5925
5926 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5927
5928 * gdb.ada/expr_with_funcall: New testcase.
5929
5930 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5931
5932 * gdb.ada/packed_array_assign: New testcase.
5933
5934 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5935
5936 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5937 names, and add test prefixes to make test names unique.
5938
5939 2018-09-05 Tom de Vries <tdevries@suse.de>
5940
5941 * gdb.dwarf2/varval.exp: Add test.
5942
5943 2018-09-04 Gary Benson <gbenson@redhat.com>
5944
5945 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5946 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5947
5948 2018-08-31 Tom Tromey <tom@tromey.com>
5949
5950 * gdb.rust/simple.rs: Rename second variable "v".
5951
5952 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5953
5954 * gdb.base/funcargs.c (use_a): New function.
5955 (recurse): Call use_a.
5956
5957 2018-08-29 Keith Seitz <keiths@redhat.com>
5958
5959 * gdb.compile/compile-cplus-anonymous.cc: New file.
5960 * gdb.compile/compile-cplus-anonymous.exp: New file.
5961 * gdb.compile/compile-cplus-array-decay.cc: New file.
5962 * gdb.compile/compile-cplus-array-decay.exp: New file.
5963 * gdb.compile/compile-cplus-inherit.cc: New file.
5964 * gdb.compile/compile-cplus-inherit.exp: New file.
5965 * gdb.compile/compile-cplus-member.cc: New file.
5966 * gdb.compile/compile-cplus-member.exp: New file.
5967 * gdb.compile/compile-cplus-method.cc: New file.
5968 * gdb.compile/compile-cplus-method.exp: New file.
5969 * gdb.compile/compile-cplus-mod.c: "New" file.
5970 * gdb.compile/compile-cplus-namespace.cc: New file.
5971 * gdb.compile/compile-cplus-namespace.exp: New file.
5972 * gdb.compile/compile-cplus-nested.cc: New file.
5973 * gdb.compile/compile-cplus-nested.exp: New file.
5974 * gdb.compile/compile-cplus-print.c: "New" file.
5975 * gdb.compile/compile-cplus-print.exp: "New" file.
5976 * gdb.compile/compile-cplus-virtual.cc: New file.
5977 * gdb.compile/compile-cplus-virtual.exp: New file.
5978 * gdb.compile/compile-cplus.c: "New" file.
5979 * gdb.compile/compile-cplus.exp: "New" file.
5980 * lib/compile-support.exp: New file.
5981
5982 2018-08-16 Gary Benson <gbenson@redhat.com>
5983
5984 PR gdb/13000:
5985 * gdb.base/batch-exit-status.exp: New file.
5986 * gdb.base/batch-exit-status.good-commands: Likewise.
5987 * gdb.base/batch-exit-status.bad-commands: Likewise.
5988
5989 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5990
5991 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5992 (struct struct02): Likewise.
5993 (struct struct03): Likewise.
5994 (struct struct04): Likewise.
5995 (struct struct_01_01): New struct.
5996 (struct struct_01_02): Likewise.
5997 (struct struct_01_03): Likewise.
5998 (struct struct_01_04): Likewise.
5999 (struct struct_02_01): Likewise.
6000 (struct struct_02_02): Likewise.
6001 (struct struct_02_03): Likewise.
6002 (struct struct_02_04): Likewise.
6003 (struct struct_04_01): Likewise.
6004 (struct struct_04_02): Likewise.
6005 (struct struct_04_03): Likewise.
6006 (struct struct_04_04): Likewise.
6007 (struct struct_05_01): Likewise.
6008 (struct struct_05_02): Likewise.
6009 (struct struct_05_03): Likewise.
6010 (struct struct_05_04): Likewise.
6011 (cmp_struct01): Remove function.
6012 (cmp_struct02): Likewise.
6013 (cmp_struct03): Likewise.
6014 (cmp_struct04): Likewise.
6015 (cmp_struct_01_01): Add Function.
6016 (cmp_struct_01_02): Likewise.
6017 (cmp_struct_01_03): Likewise.
6018 (cmp_struct_01_04): Likewise.
6019 (cmp_struct_02_01): Likewise.
6020 (cmp_struct_02_02): Likewise.
6021 (cmp_struct_02_03): Likewise.
6022 (cmp_struct_02_04): Likewise.
6023 (cmp_struct_04_01): Likewise.
6024 (cmp_struct_04_02): Likewise.
6025 (cmp_struct_04_03): Likewise.
6026 (cmp_struct_04_04): Likewise.
6027 (cmp_struct_05_01): Likewise.
6028 (cmp_struct_05_02): Likewise.
6029 (cmp_struct_05_03): Likewise.
6030 (cmp_struct_05_04): Likewise.
6031 (call_all): Add new structs.
6032 * gdb.base/infcall-nested-structs.exp: Likewise.
6033
6034 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6035
6036 * gdb.python/py-framefilter-mi.exp: Update regexp to
6037 check for "arch" field in frame output.
6038
6039 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6040
6041 * gdb.dwarf2/dw2-ranges-func.c: New file.
6042 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6043
6044 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6045
6046 * gdb.base/term.exp: Compare terminal settings with values from
6047 the inferior.
6048 * gdb.base/term.c: Get and set terminal settings.
6049
6050 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6051
6052 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6053 accommodate new "arch" field in frame output.
6054 * gdb.mi/mi-return.exp: Likewise.
6055 * gdb.mi/mi-stack.exp: Likewise.
6056 * gdb.mi/mi-syn-frame.exp: Likewise.
6057 * gdb.mi/user-selected-context-sync.exp: Likewise.
6058
6059 2018-08-19 Michael Spang <spang@google.com>
6060
6061 PR gdb/11786
6062 * gdb.base/gcore-tls-pie.c: New file.
6063 * gdb.base/gcore-tls-pie.exp: New file.
6064
6065 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6066
6067 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6068 * gdb.dwarf2/varval.c: New file.
6069 * gdb.dwarf2/varval.exp: New file.
6070
6071 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6072
6073 PR gdb/18931
6074 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6075
6076 2018-08-16 Keith Seitz <keiths@redhat.com>
6077
6078 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6079 tests expected to pass.
6080
6081 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6082
6083 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6084 -data-disassemble -a.
6085 (test_disassembly_bogus_args): Likewise.
6086
6087 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6088
6089 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6090
6091 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6092
6093 * gdb.base/vla-optimized-out.exp: Add new test.
6094
6095 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6096
6097 * gdb.base/vla-optimized-out-o3.exp: Delete.
6098 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6099 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6100 deleted tests.
6101
6102 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6103
6104 PR gdb/18050:
6105 * gdb.server/extended-remote-restart.c: New file.
6106 * gdb.server/extended-remote-restart.exp: New file.
6107
6108 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6109
6110 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6111 "set variable index = 42".
6112
6113 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6114
6115 * boards/index-cache-gdb.exp: New file.
6116 * gdb.dwarf2/index-cache.exp: New file.
6117 * gdb.dwarf2/index-cache.c: New file.
6118 * gdb.base/maint.exp: Check if we are using the index cache.
6119
6120 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6121
6122 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6123 MAKEFLAGS.
6124
6125 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6126
6127 * dg-extract-results.sh: Move to toplevel contrib.
6128 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6129 * Makefile.in (check-parallel-racy): Likewise.
6130
6131 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6132
6133 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6134 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6135 tests if the target supports scheduler locking.
6136
6137 2018-08-04 Tom de Vries <tdevries@suse.de>
6138
6139 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6140
6141 2018-08-02 Tom Tromey <tom@tromey.com>
6142
6143 PR symtab/16842.
6144 * gdb.cp/temargs.exp: Test "info address" of a template
6145 parameter.
6146
6147 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6148
6149 * gdb.python/py-mi-var-info-path-expression.c: New file.
6150 * gdb.python/py-mi-var-info-path-expression.py: New file.
6151 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6152
6153 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6154
6155 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6156 error after "cannot resolve name" string.
6157
6158 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6159
6160 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6161 started.
6162 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6163
6164 2018-07-28 Tom de Vries <tdevries@suse.de>
6165
6166 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6167
6168 2018-07-26 Tom de Vries <tdevries@suse.de>
6169
6170 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6171
6172 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6173
6174 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6175 is visible.
6176
6177 2018-07-26 Tom de Vries <tdevries@suse.de>
6178
6179 PR breakpoints/23366
6180 * gdb.base/catch-follow-exec.c: New test.
6181 * gdb.base/catch-follow-exec.exp: New file.
6182
6183 2018-07-25 Tom de Vries <tdevries@suse.de>
6184
6185 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6186 vla-optimized-out.c.
6187
6188 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6189
6190 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6191 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6192
6193 2018-07-20 Tom de Vries <tdevries@suse.de>
6194
6195 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6196 NOCLONE macro.
6197 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6198
6199 2018-07-19 Tom de Vries <tdevries@suse.de>
6200
6201 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6202 regular expression.
6203
6204 2018-07-18 Tom de Vries <tdevries@suse.de>
6205
6206 * gdb.base/vla-optimized-out.c: New test.
6207 * gdb.base/vla-optimized-out.exp: New file.
6208
6209 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6210
6211 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6212 message "No address associated with hostname" when gdbserver
6213 cannot resolve the hostname.
6214
6215 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6216
6217 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6218 Add some test prefixes to make tests unique.
6219
6220 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6221
6222 * gdb.base/frameapply.c: New file.
6223 * gdb.base/frameapply.exp: New file.
6224
6225 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6226
6227 * gdb.base/skip.exp: Update expected error message.
6228
6229 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6230 Jan Kratochvil <jan.kratochvil@redhat.com>
6231 Paul Fertser <fercerpav@gmail.com>
6232 Tsutomu Seki <sekiriki@gmail.com>
6233
6234 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6235 parameter.
6236 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6237 by default.
6238 * boards/native-gdbserver.exp: Likewise.
6239 * gdb.server/run-without-local-binary.exp: Improve regexp used
6240 for detecting when a remote debugging connection succeeds.
6241 * gdb.server/server-connect.exp: New file.
6242 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6243 Do not prefix the port number with ":".
6244 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6245 support for detecting and using it. Add '$debughost_gdbserver'
6246 to the list of arguments used to start gdbserver. Handle case
6247 when gdbserver cannot resolve a network name.
6248
6249 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6250
6251 PR c++/23373
6252 * gdb.base/ptype-offsets.cc (struct static_member): New
6253 struct.
6254 (main) <stmember>: New variable.
6255 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6256 with a static member in it.
6257
6258 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6261 watchpoints enabled and disabled.
6262
6263 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6264
6265 * gdb.base/examine-backward.exp: Still run tests around address
6266 0x0, even if address 0x0 is not readable. Update the pattern for
6267 matching address 0x0 in expected output.
6268
6269 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6270
6271 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6272 malloc/free.
6273
6274 2018-07-04 Tom de Vries <tdevries@suse.de>
6275
6276 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6277
6278 2018-07-02 Maciej W. Rozycki <macro@mips.com>
6279
6280 PR tdep/8282
6281 * gdb.arch/mips-disassembler-options.exp: New test.
6282 * gdb.arch/mips-disassembler-options.s: New test source.
6283
6284 2018-06-29 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.threads/names.exp: Adjust expected "info threads" output.
6287
6288 2018-06-29 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.opt/inline-break.exp (line number, address): Add "info
6291 break" tests.
6292
6293 2018-06-29 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6296 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6297 number and address and running to them.
6298
6299 2018-06-29 Richard Bunt <richard.bunt@arm.com>
6300
6301 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6302
6303 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6304
6305 * lib/compiler.c: Remove executable permission flag.
6306
6307 2018-06-28 Richard Bunt <richard.bunt@arm.com>
6308
6309 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6310 code.
6311 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6312
6313 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6314
6315 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6316
6317 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6318
6319 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6320 address argument is omitted.
6321
6322 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6323
6324 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6325
6326 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
6327
6328 PR gdb/21695
6329 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6330 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6331
6332 2018-06-26 Tom Tromey <tom@tromey.com>
6333
6334 PR rust/22574:
6335 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6336 * gdb.rust/simple.rs (struct SimpleLayout): New.
6337
6338 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6339
6340 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6341 "info registers" output.
6342
6343 2018-06-21 Richard Bunt <richard.bunt@arm.com>
6344
6345 * gdb.base/watchpoint-hw-attach.c: New test.
6346 * gdb.base/watchpoint-hw-attach.exp: New file.
6347
6348 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6349
6350 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6351 through /bin/sh.
6352 * boards/dwarf4-gdb-index.exp: Likewise.
6353 * boards/fission-dwp.exp: Likewise.
6354
6355 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6356
6357 * gdb.base/float128.exp: Add comment and improved fail message
6358 to the failure case of "print large128" test.
6359
6360 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6361
6362 * configure.ac: Remove AC_PREREQ.
6363 * configure: Re-generate.
6364
6365 2018-06-19 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6368 (func_extern_caller): New.
6369 (main): Call func_extern_caller.
6370 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6371 logic change.
6372
6373 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
6374
6375 PR gdb/16841
6376 * gdb.cp/typedef-base.cc: New file.
6377 * gdb.cp/typedef-base.exp: New file.
6378
6379 2018-06-18 Tom de Vries <tdevries@suse.de>
6380
6381 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6382
6383 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6384 Richard Bunt <Richard.Bunt@arm.com>
6385
6386 * gdb.threads/attach-slow-waitpid.c: New file.
6387 * gdb.threads/attach-slow-waitpid.exp: New file.
6388 * gdb.threads/slow-waitpid.c: New file.
6389
6390 2018-06-14 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/fork-running-state.c: Include <errno.h>.
6393 (exit_if_relative_exits): New.
6394 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6395 exits.
6396 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6397 child exits.
6398
6399 2018-06-14 Tom de Vries <tdevries@suse.de>
6400
6401 PR cli/22573
6402 * gdb.base/finish-pretty.c: New test.
6403 * gdb.base/finish-pretty.exp: New file.
6404
6405 2018-06-14 Pedro Alves <palves@redhat.com>
6406
6407 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6408 gdb's expected startup output.
6409
6410 2018-06-14 Pedro Alves <palves@redhat.com>
6411
6412 * lib/selftest-support.exp (selftest_setup): Remove inlined
6413 function handling.
6414
6415 2018-06-14 Tom de Vries <tdevries@suse.de>
6416
6417 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6418 matching of breakpoint printing.
6419
6420 2018-06-13 Tom de Vries <tdevries@suse.de>
6421
6422 PR testsuite/23269
6423 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6424 (fork_child): ... here, and ...
6425 (fork_parent): ... here.
6426
6427 2018-06-12 Tom de Vries <tdevries@suse.de>
6428
6429 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6430
6431 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6432 Stephen Roberts <stephen.roberts@arm.com>
6433
6434 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6435 rewrite test to describe action performed, rather than possible
6436 failure.
6437
6438 2018-06-08 Gary Benson <gbenson@redhat.com>
6439
6440 * gdb.threads/check-libthread-db.exp: New file.
6441 * gdb.threads/check-libthread-db.c: Likewise.
6442
6443 2018-06-05 Tom Tromey <tom@tromey.com>
6444
6445 * gdb.base/default.exp: Update expected "show version" output.
6446
6447 2018-06-05 Tom Tromey <tom@tromey.com>
6448
6449 PR cli/12326:
6450 * gdb.cp/static-print-quit.exp: Update.
6451 * lib/gdb.exp (pagination_prompt): Update.
6452 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6453 * gdb.python/python.exp: Update.
6454
6455 2018-06-04 Joel Brobecker <brobecker@adacore.com>
6456
6457 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6458
6459 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6460
6461 * gdb.ada/bp_fun_addr: New testcase.
6462
6463 2018-06-01 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6466 results.
6467 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6468 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6469 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6470 * gdb.base/maint.exp (maint_pass_if): Update.
6471
6472 2018-05-31 Maciej W. Rozycki <macro@mips.com>
6473
6474 * gdb.base/endian.exp: New test.
6475 * gdb.base/endian.c: New test source.
6476
6477 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6478
6479 PR gdb/23203
6480 * gdb.base/bt-selected-frame.c: New file.
6481 * gdb.base/bt-selected-frame.exp: New file.
6482 * lib/gdb.exp (get_current_frame_number): New function.
6483
6484 2018-05-24 Maciej W. Rozycki <macro@mips.com>
6485 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.threads/tls-core.c: Include <stdlib.h>
6488 (thread_proc): Call `abort'.
6489 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6490 (tls_core_test): New procedure, bits factored out from ...
6491 (top level): ... here. Test both native cores and gcore cores.
6492
6493 2018-05-23 Tom Tromey <tom@tromey.com>
6494
6495 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6496
6497 2018-05-23 Tom Tromey <tom@tromey.com>
6498
6499 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6500 symfile_complaints.
6501 (test_short_complaints): Likewise.
6502 (test_empty_complaints): Likewise.
6503 (test_initial_complaints): Update.
6504
6505 2018-05-23 Tom Tromey <tom@tromey.com>
6506
6507 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6508
6509 2018-05-23 Tom Tromey <tom@tromey.com>
6510
6511 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6512 (test_short_complaints): Update.
6513
6514 2018-05-22 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/remote.exp: Only gdb_start after compiling the
6517 testcase. Issue "disconnect" before testing "set remote" command
6518 defaults. Issue clean_restart before running to main.
6519
6520 2018-05-22 Pedro Alves <palves@redhat.com>
6521
6522 * gdb.base/remote.exp: Adjust expected output of "show remote
6523 memory-write-packet-size". Add tests for "set remote
6524 memory-write-packet-size 0" and "set remote
6525 memory-write-packet-size fixed/limit".
6526
6527 2018-05-22 Pedro Alves <palves@redhat.com>
6528
6529 PR gdb/22973
6530 * gdb.base/utf8-identifiers.c: New file.
6531 * gdb.base/utf8-identifiers.exp: New file.
6532
6533 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6534
6535 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6536
6537 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6538
6539 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6540
6541 2018-05-18 Tom Tromey <tom@tromey.com>
6542
6543 * gdb.base/ptype-offsets.exp: Update.
6544
6545 2018-05-17 Keith Seitz <keiths@redhat.com>
6546
6547 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6548 in expected breakpoint stop locations.
6549 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6550 move to proper scope to test variable values.
6551 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6552 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6553 New functions.
6554 (main): Call not_inline_func3.
6555 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6556 inline_func1, inline_func2, and inline_func3. Test that when each
6557 breakpoint is hit, GDB properly reports both the stop location
6558 and the backtrace. Repeat tests for temporary breakpoints.
6559
6560 2018-05-15 Maciej W. Rozycki <macro@mips.com>
6561
6562 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6563 rather then trying to access it in determining whether the PID
6564 of `gdbserver' could have been retrieved.
6565
6566 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6567
6568 * gdb.arch/amd64-init-x87-values.S: New file.
6569 * gdb.arch/amd64-init-x87-values.exp: New file.
6570
6571 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6572
6573 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6574
6575 2018-05-04 Tom Tromey <tom@tromey.com>
6576
6577 PR python/22730:
6578 * gdb.python/python.exp: Test multi-line execute.
6579
6580 2018-05-04 Tom Tromey <tom@tromey.com>
6581
6582 PR python/22731:
6583 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6584
6585 2018-05-04 Tom Tromey <tom@tromey.com>
6586
6587 PR gdb/11750:
6588 * gdb.base/define.exp: Test defining a user command inside a user
6589 command.
6590 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6591
6592 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6593 Pedro Alves <palves@redhat.com>
6594
6595 PR breakpoints/19806 and support for PR external/20207.
6596 * gdb.base/watchpoint-unaligned.c: New file.
6597 * gdb.base/watchpoint-unaligned.exp: New file.
6598
6599 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6600
6601 * gdb.base/maint.exp: Make test names unique, use
6602 test_prefix_command_help to test 'help maint info', and remove
6603 repeated test of 'help maint'.
6604
6605 2018-05-04 Tom Tromey <tom@tromey.com>
6606
6607 PR gdb/22619:
6608 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6609 behavior.
6610
6611 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6612
6613 * gdb.base/maint.exp: Process output from 'maint print registers'
6614 line at a time.
6615
6616 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6617
6618 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6619 timeout.
6620
6621 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6622
6623 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6624 filter pattern.
6625
6626 2018-05-02 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6629 to_log_command renames.
6630 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6631
6632 2018-05-02 Tom Tromey <tom@tromey.com>
6633
6634 * gdb.python/py-parameter.exp: Set test message.
6635
6636 2018-05-02 Tom Tromey <tom@tromey.com>
6637
6638 PR python/20084:
6639 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6640 PARAM_ZUINTEGER_UNLIMITED tests.
6641
6642 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6643
6644 PR rust/23124
6645 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6646 when casting.
6647
6648 2018-04-30 Tom Tromey <tom@tromey.com>
6649
6650 * gdb.python/py-type.exp: Check align attribute.
6651 * gdb.python/py-type.c: New "aligncheck" global.
6652
6653 2018-04-30 Tom Tromey <tom@tromey.com>
6654
6655 PR exp/17095:
6656 * gdb.dwarf2/dw2-align.exp: New file.
6657 * gdb.cp/align.exp: New file.
6658 * gdb.base/align.exp: New file.
6659 * lib/gdb.exp (gdb_int128_helper): New proc.
6660 (has_int128_c, has_int128_cxx): New caching procs.
6661
6662 2018-04-27 Tom Tromey <tom@tromey.com>
6663
6664 PR rust/22545:
6665 * gdb.rust/simple.exp: Add inclusive range tests.
6666
6667 2018-04-26 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6670 ifunc breakpoint locations correctly of ifunc breakpoints set
6671 while the program resolves the ifunc.
6672
6673 2018-04-26 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/gnu-ifunc-final.c: New file.
6676 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6677 * gdb.base/gnu-ifunc.exp (executable): Delete.
6678 (staticexecutable): Adjust.
6679 (lib_opts, exec_opts): Delete.
6680 (make_binsuffix, build, set-break): New procedures.
6681 (misc_tests): New, with tests factored out from the top level.
6682 (top level): Test different combinations of ifunc resolver name,
6683 resolver with and with debug info, and ifunc target with and
6684 without debug info. Wrap static tests with with_target_prefix.
6685
6686 2018-04-26 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6689 return type" warnings.
6690
6691 2018-04-25 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6694 killed".
6695 * gdb.base/kill-after-signal.exp: Likewise.
6696 * gdb.threads/kill.exp: Likewise.
6697
6698 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6699 Sergio Durigan Junior <sergiodj@redhat.com>
6700 Pedro Alves <palves@redhat.com>
6701
6702 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6703 regexps to expect for '[Inferior ... detached]' as well.
6704 * gdb.base/attach.exp: Likewise.
6705 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6706 "gdb_continue_to_end".
6707 (test_catch_syscall_with_wrong_args): Likewise.
6708 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6709 ']'. Don't set 'verbose' on.
6710 * gdb.base/foll-vfork.exp: Likewise.
6711 * gdb.base/fork-print-inferior-events.c: New file.
6712 * gdb.base/fork-print-inferior-events.exp: New file.
6713 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6714 '[Inferior ... has been killed]' message.
6715 * gdb.base/kill-after-signal.exp: Likewise.
6716 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6717 detach message.
6718 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6719 message.
6720 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6721 regexps to expect for '[Inferior ... detached]' as well.
6722 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6723
6724 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6725
6726 PR gdb/23104
6727 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6728
6729 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6730
6731 PR gdb/23095
6732 * gdb.base/break-probes.exp: Pass shlib_load to
6733 prepare_for_testing. Set normal_bp to r_debug_state if target is
6734 bsd.
6735
6736 2018-04-19 Richard Bunt <richard.bunt@arm.com>
6737
6738 * gdb.threads/multiple-successive-infcall.c: New test.
6739 * gdb.threads/multiple-successive-infcall.exp: New file.
6740
6741 2018-04-17 Tom Tromey <tom@tromey.com>
6742
6743 * gdb.rust/simple.rs (Union): New type.
6744 (main): New local "u".
6745 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6746
6747 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6748
6749 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6750 number information in output of "whereis" command.
6751 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6752
6753 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6754
6755 * gdb.ada/info_types.exp: Adjust expected output to the line
6756 numbers now printed by "info var/func/type".
6757 * gdb.base/completion.exp: Likewise.
6758 * gdb.base/included.exp: Likewise.
6759 * gdb.cp/cp-relocate.exp: Likewise.
6760 * gdb.cp/cplusfuncs.exp: Likewise.
6761 * gdb.cp/namespace.exp: Likewise.
6762 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6763
6764 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6765
6766 * gdb.btrace/cpu.exp: New.
6767
6768 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6769
6770 * gdb.base/step-indirect-call-thunk.exp: New.
6771 * gdb.base/step-indirect-call-thunk.c: New.
6772 * gdb.reverse/step-indirect-call-thunk.exp: New.
6773 * gdb.reverse/step-indirect-call-thunk.c: New.
6774
6775 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6776
6777 * gdb.base/pie-fork.c: New file.
6778 * gdb.base/pie-fork.exp: New file.
6779
6780 2018-04-11 Tom Tromey <tom@tromey.com>
6781
6782 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6783
6784 2018-04-10 Pedro Alves <palves@redhat.com>
6785
6786 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6787 exits. Instead loop running forever.
6788 (fork_parent): Run forever too.
6789
6790 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6791
6792 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6793 mi_continue_to_line.
6794 * gdb.mi/mi-stack.c (callee4): Add comment.
6795
6796 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6797
6798 * gdb.mi/mi-stack.exp: Fix indentation.
6799
6800 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6801
6802 PR gdb/22979
6803 * gdb.arch/amd64-osabi.exp: New file.
6804
6805 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6806
6807 PR gdb/22980
6808 * gdb.base/osabi.exp: New file.
6809
6810 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6811
6812 * gdb.cp/static-typedef-print.exp: New file.
6813 * gdb.cp/static-typedef-print.cc: New file.
6814
6815 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6816
6817 * gdb.ada/varsize_limit: New testcase.
6818
6819 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6820
6821 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6822
6823 * gdb.ada/notcplusplus: New testcase.
6824
6825 * gdb.base/c-linkage-name.c: New file.
6826 * gdb.base/c-linkage-name.exp: New testcase.
6827
6828 2018-03-26 Tom Tromey <tom@tromey.com>
6829
6830 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6831 * gdb.python/py-framefilter.py (name_error): New global.
6832 (ErrorInName.function): Use name_error.
6833
6834 2018-03-26 Tom Tromey <tom@tromey.com>
6835
6836 PR backtrace/15582:
6837 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6838
6839 2018-03-23 Keith Seitz <keiths@redhat.com>
6840
6841 PR c++/22968
6842 * gdb.cp/subtypes.exp: New file.
6843 * gdb.cp/subtypes.h: New file.
6844 * gdb.cp/subtypes.cc: New file.
6845 * gdb.cp/subtypes-2.cc: New file.
6846
6847 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6848
6849 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6850 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6851 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6852 -nostartfiles when compiling the test. Confirm that all registers
6853 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6854
6855 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6856
6857 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6858 option, syntax was wrong anyway.
6859 * gdb.arch/arm-disp-step.exp: Likewise.
6860 * gdb.arch/sparc64-regs.exp: Likewise.
6861 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6862 option, syntax was wrong anyway, switch to use
6863 prepare_for_testing.
6864 * gdb.arch/i386-disp-step.exp: Likewise.
6865
6866 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6867
6868 * gdb.ada/exec_changed.exp: Replace "target_info exists
6869 use_gdb_stub" by "use_gdb_stub".
6870 * gdb.ada/start.exp: Likewise.
6871 * gdb.base/async-shell.exp: Likewise.
6872 * gdb.base/attach-pie-misread.exp: Likewise.
6873 * gdb.base/attach-wait-input.exp: Likewise.
6874 * gdb.base/break-entry.exp: Likewise.
6875 * gdb.base/break-interp.exp: Likewise.
6876 * gdb.base/dprintf-detach.exp: Likewise.
6877 * gdb.base/nostdlib.exp: Likewise.
6878 * gdb.base/solib-nodir.exp: Likewise.
6879 * gdb.base/statistics.exp: Likewise.
6880 * gdb.base/testenv.exp: Likewise.
6881 * gdb.mi/mi-exec-run.exp: Likewise.
6882 * gdb.mi/mi-start.exp: Likewise.
6883 * gdb.multi/dummy-frame-restore.exp: Likewise.
6884 * gdb.multi/multi-arch-exec.exp: Likewise.
6885 * gdb.multi/multi-arch.exp: Likewise.
6886 * gdb.multi/tids.exp: Likewise.
6887 * gdb.multi/watchpoint-multi.exp: Likewise.
6888 * gdb.python/py-events.exp: Likewise.
6889 * gdb.threads/attach-into-signal.exp: Likewise.
6890 * gdb.threads/attach-stopped.exp: Likewise.
6891 * gdb.threads/threadapply.exp: Likewise.
6892 * lib/selftest-support.exp: Likewise.
6893
6894 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6895
6896 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6897
6898 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6899
6900 * gdb.perf/template-breakpoints.cc: New file.
6901 * gdb.perf/template-breakpoints.exp: New file.
6902 * gdb.perf/template-breakpoints.py: New file.
6903
6904 2018-03-19 Tom Tromey <tom@tromey.com>
6905
6906 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6907 y0.
6908 * gdb.rust/simple.exp: Test bare identifier form of struct
6909 initializer.
6910
6911 2018-03-19 Tom Tromey <tom@tromey.com>
6912
6913 * gdb.gdb/observer.exp: Remove.
6914
6915 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6916
6917 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6918 "qualified" option when setting breakpoints.
6919 * gdb.trace/backtrace.exp: Likewise.
6920 * gdb.trace/circ.exp: Likewise.
6921 * gdb.trace/collection.exp: Likewise.
6922 * gdb.trace/disconnected-tracing.exp: Likewise.
6923 * gdb.trace/ftrace-lock.exp: Likewise.
6924 * gdb.trace/ftrace.exp: Likewise.
6925 * gdb.trace/infotrace.exp: Likewise.
6926 * gdb.trace/packetlen.exp: Likewise.
6927 * gdb.trace/passc-dyn.exp: Likewise.
6928 * gdb.trace/qtro.exp: Likewise.
6929 * gdb.trace/read-memory.exp: Likewise.
6930 * gdb.trace/report.exp: Likewise.
6931 * gdb.trace/signal.exp: Likewise.
6932 * gdb.trace/status-stop.exp: Likewise.
6933 * gdb.trace/strace.exp: Likewise.
6934 * gdb.trace/tfind.exp: Likewise.
6935 * gdb.trace/trace-break.exp: Likewise.
6936 * gdb.trace/trace-condition.exp: Likewise.
6937 * gdb.trace/trace-mt.exp: Likewise.
6938 * gdb.trace/tstatus.exp: Likewise.
6939 * gdb.trace/tsv.exp: Likewise.
6940 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6941 * gdb.trace/unavailable.exp: Likewise.
6942 * gdb.trace/while-dyn.exp: Likewise.
6943
6944 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6945
6946 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6947 that libinproctrace is copied to the target.
6948
6949 2018-03-14 Tom Tromey <tom@tromey.com>
6950
6951 PR cli/14977:
6952 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6953 a null pointer.
6954 * gdb.base/wchar.exp: Likewise.
6955
6956 2018-03-14 Tom Tromey <tom@tromey.com>
6957
6958 PR cli/19918:
6959 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6960 flag.
6961
6962 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6963
6964 PR gdb/22841
6965 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6966 "target" to remote_exec.
6967
6968 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6969
6970 PR gdb/22841
6971 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6972 ${board}_upload): Remove.
6973
6974 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6975
6976 * gdb.cp/watch-cp.cc: New test.
6977 * gdb.cp/watch-cp.exp: New file.
6978
6979 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6980
6981 * gdb.base/infcall-nested-structs.exp: New file.
6982 * gdb.base/infcall-nested-structs.c: New file.
6983 * gdb.base/float.exp: Add riscv support.
6984
6985 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6986
6987 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6988 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6989
6990 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6991
6992 * gdb.server/abspath.exp: New file.
6993 * lib/gdb.exp (with_cwd): New procedure.
6994
6995 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6996
6997 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6998 use it.
6999 (gdb_is_target_remote_prompt): New proc.
7000 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7001 (gdb_is_target_native): Pass prompt parameter to
7002 gdb_is_target_1.
7003
7004 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7005
7006 * gdb.base/load-command.c: New file.
7007 * gdb.base/load-command.exp: New file.
7008 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7009 (gdb_is_target_1): ...this, and generalize for other targets
7010 than just remote.
7011 (gdb_is_target_remote): Use gdb_is_target_1.
7012 (gdb_is_target_native): use gdb_is_target_1.
7013
7014 2018-02-26 Tom Tromey <tom@tromey.com>
7015
7016 PR python/16497:
7017 * gdb.python/py-framefilter.exp: Update test.
7018
7019 2018-02-26 Tom Tromey <tom@tromey.com>
7020
7021 * gdb.dwarf2/variant.c: New file.
7022 * gdb.dwarf2/variant.exp: New file.
7023
7024 2018-02-26 Tom Tromey <tom@tromey.com>
7025
7026 * gdb.rust/simple.exp: Accept more possible results in enum test.
7027
7028 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7029
7030 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7031 parentheses.
7032
7033 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7034
7035 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7036 name of a variable: $actual_linejj -> $actual_line.
7037
7038 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7039
7040 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7041
7042 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7043
7044 * gdb.btrace/buffer-size.exp: Do not force BTS.
7045
7046 2018-02-14 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7049 getting a "Quit".
7050
7051 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7052
7053 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7054 Fix test name.
7055
7056 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7057
7058 * gdb.cp/m-static.exp: Check type of optimized out static
7059 member.
7060
7061 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7062
7063 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7064 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7065
7066 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7067 Leszek Swirski <leszeks@google.com>
7068
7069 * gdb.python/py-prettyprint.c
7070 (struct to_string_returns_value_inner,
7071 struct to_string_returns_value_wrapper): New.
7072 (main): Add tsrvw variable.
7073 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7074 ToStringReturnsValueWrapper): New classes.
7075 (register_pretty_printers): Register new pretty-printers.
7076 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7077 recursive pretty printer.
7078 * gdb.python/py-mi.exp: Likewise.
7079
7080 2018-02-01 Leszek Swirski <leszeks@google.com>
7081
7082 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7083 functions with the same name as an include file are parsed
7084 correctly.
7085
7086 2018-02-01 Yao Qi <yao.qi@linaro.org>
7087
7088 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7089 "\[^\r\n\]*".
7090
7091 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7092
7093 * gdb.arch/powerpc-prologue-frame.s: New file.
7094 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7095 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7096
7097 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7098
7099 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7100
7101 2018-01-30 Pedro Alves <palves@redhat.com>
7102
7103 PR gdb/13211
7104 * gdb.base/interrupt-daemon.c: New.
7105 * gdb.base/interrupt-daemon.exp: New.
7106 * gdb.multi/multi-term-settings.c: New.
7107 * gdb.multi/multi-term-settings.exp: New.
7108
7109 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.base/break.exp: Save the location where the breakpoint
7112 on break.c:47 was actually inserted when debugging the version
7113 compiled at -O2 and use it in the expected output of the "info
7114 break" test performed soon after.
7115
7116 2018-01-22 Pedro Alves <palves@redhat.com>
7117 Sergio Durigan Junior <sergiodj@redhat.com>
7118
7119 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7120 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7121
7122 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7123
7124 * gdb.base/break-include.c, gdb.base/break-include.inc,
7125 gdb.base/break-include.exp: New files.
7126 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7127 line number now being the actual line number where the breakpoint
7128 was inserted.
7129 * gdb.mi/mi-break.exp: Likewise.
7130 * gdb.mi/mi-reverse.exp: Likewise.
7131 * gdb.mi/mi-simplerun.exp: Ditto.
7132
7133 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7134
7135 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7136 varobj.
7137 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7138
7139 2018-01-21 Don Breazeal <donb@codesourcery.com>
7140 Andrew Burgess <andrew.burgess@embecosm.com>
7141
7142 * gdb.mi/basics.c: Add new global.
7143 * gdb.mi/mi-frame-regs.exp: New file.
7144 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7145 case.
7146
7147 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7148
7149 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7150 non-parameter, and on an unknown symbol.
7151
7152 2018-01-19 Tom Tromey <tom@tromey.com>
7153
7154 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7155 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7156
7157 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7158
7159 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7160 setrlimit and chdir to int.
7161
7162 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7163
7164 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7165 function.
7166 (my_tend): Likewise.
7167 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7168 rationale of avoiding FP- and vector instructions.
7169
7170 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7171
7172 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7173 "info reg" with "\[ \t\]*".
7174 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7175 "\[ \t\]+".
7176 * gdb.arch/s390-multiarch.exp: Ditto.
7177 * gdb.base/pc-fp.exp: Ditto.
7178 * gdb.reverse/i386-precsave.exp: Ditto.
7179 * gdb.reverse/i386-reverse.exp: Ditto.
7180 * gdb.reverse/i387-env-reverse.exp: Ditto.
7181 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7182
7183 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7184
7185 * lib/gdb.exp (gdb_compile): Re-enable use of
7186 universal_compile_options for languages other than Rust.
7187
7188 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7189
7190 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7191
7192 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7193
7194 PR gdb/16577
7195 * gdb.base/solib-vanish.exp: New.
7196 * gdb.base/solib-vanish-main.c: New.
7197 * gdb.base/solib-vanish-lib1.c: New.
7198 * gdb.base/solib-vanish-lib2.c: New.
7199
7200 2018-01-17 Yao Qi <yao.qi@linaro.org>
7201
7202 * gdb.compile/compile.exp: Match the address printed for
7203 frame in the output of command "bt".
7204
7205 2018-01-15 Tom Tromey <tom@tromey.com>
7206
7207 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7208 compute sp_reg.
7209
7210 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7211
7212 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7213 to prepare.
7214 (prepare): Return 0 on error, 1 on success.
7215
7216 2018-01-12 Pedro Alves <palves@redhat.com>
7217
7218 * gdb.base/continue-after-aborted-step-over.c: New.
7219 * gdb.base/continue-after-aborted-step-over.exp: New.
7220
7221 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7222
7223 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7224 options when not creating an executable.
7225
7226 2018-01-11 Pedro Alves <palves@redhat.com>
7227
7228 PR remote/22597
7229 * gdb.server/stop-reply-no-thread.c: New file.
7230 * gdb.server/stop-reply-no-thread.exp: New file.
7231
7232 2018-01-10 Pedro Alves <palves@redhat.com>
7233
7234 PR gdb/22670
7235 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7236 functions too. Test setting breakpoints and printing C functions
7237 with no debug info too.
7238 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7239
7240 2018-01-10 Pedro Alves <palves@redhat.com>
7241
7242 PR gdb/22670
7243 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7244 a fail.
7245
7246 2018-01-10 Pedro Alves <palves@redhat.com>
7247
7248 PR gdb/22670
7249 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7250
7251 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7252
7253 * gdb.server/unittest.exp: Match the output in non-development
7254 mode.
7255
7256 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7257
7258 * gdb.gdb/unittest.exp: Match output in non-development mode.
7259
7260 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7261
7262 * gdb.ada/access_tagged_param.exp: Relax expected output
7263 for value of "ObjL" in "continue" to pck.inspect breakpoint
7264 test.
7265
7266 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7267
7268 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7269 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
7270
7271 2018-01-05 Pedro Alves <palves@redhat.com>
7272
7273 PR gdb/18653
7274 * gdb.base/libsegfault.exp: New.
7275
7276 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7277
7278 PR gdb/22670
7279 * gdb.ada/access_tagged_param.exp: New file.
7280 * gdb.ada/access_tagged_param/foo.adb: New file.
7281
7282 2018-01-05 Pedro Alves <palves@redhat.com>
7283
7284 PR gdb/22670
7285 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7286 exercise lower case too, and to exercise both full matching and
7287 wild matching.
7288
7289 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7290
7291 * gdb.ada/rename_subscript_param: New testcase.
7292
7293 2018-01-05 Jerome Guitton <guitton@adacore.com>
7294
7295 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7296
7297 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7298
7299 * gdb.ada/convvar_comp: New testcase.
7300
7301 2018-01-05 Xavier Roirand <roirand@adacore.com>
7302
7303 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7304 (My_Table): New global variable.
7305 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7306
7307 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7308
7309 PR gdb/22670
7310 * gdb.ada/maint_with_ada: New testcase.
7311
7312 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7313
7314 PR gdb/22670
7315 * gdb.ada/bp_c_mixed_case: New testcase.
7316
7317 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7318
7319 PR gdb/22670
7320 * gdb.ada/complete.exp: Add "complete break ada" test.
7321
7322 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7323
7324 PR gdb/22670
7325 * gdb.ada/info_addr_mixed_case: New testcase.
7326
7327 2018-01-03 Xavier Roirand <roirand@adacore.com>
7328
7329 * gdb.ada/excep_handle.exp: New testcase.
7330 * gdb.ada/excep_handle/foo.adb: New file.
7331 * gdb.ada/excep_handle/pck.ads: New file.
7332
7333 2018-01-03 Joel Brobecker <brobecker@adacore.com>
7334
7335 * gdb.base/step-line.c: Add extra empty line in copyright header.
7336 * gdb.base/step-line.inp: Likewise.
7337
7338 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7339
7340 * gdb.ada/dyn_stride.exp: Add slice test.
7341
7342 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7343
7344 * gdb.ada/dyn_stride: New testcase.
7345
7346 2017-12-27 Stafford Horne <shorne@gmail.com>
7347
7348 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7349 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7350
7351 2017-12-27 Stafford Horne <shorne@gmail.com>
7352
7353 * gdb.base/reggroups.c: New file.
7354 * gdb.base/reggroups.exp: New file.
7355
7356 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.dwarf2/ada-valprint-error.c: New file.
7359 * gdb.dwarf2/ada-valprint-error.exp: New file.
7360
7361 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7362
7363 * gdb.ada/assign_arr: New testcase.
7364
7365 2017-12-18 Xavier Roirand <roirand@adacore.com>
7366
7367 * gdb.ada/funcall_ptr: New testcase.
7368
7369 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7370
7371 PR cli/16224
7372 * gdb.base/ptype-offsets.cc: New file.
7373 * gdb.base/ptype-offsets.exp: New file.
7374
7375 2017-12-15 Yao Qi <yao.qi@linaro.org>
7376
7377 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7378 if XML is disabled.
7379
7380 2017-12-15 Xavier Roirand <roirand@adacore.com>
7381
7382 * gdb.ada/same_component_name: New testcase.
7383
7384 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7385
7386 * gdb.ada/str_binop_equal: New testcase.
7387
7388 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7389
7390 * gdb.ada/task_switch_in_core: New testcase.
7391
7392 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7393
7394 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7395 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7396 call test_bkpt_qualified.
7397 (test_bkpt_qualified): New proc.
7398
7399 2017-12-13 Pedro Alves <palves@redhat.com>
7400
7401 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7402 Tighten regexp by matching with an anchor.
7403
7404 2017-12-13 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7407 ("expression with namespace"): New set of tests.
7408 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7409 (Nested::Test_NS::qux): New.
7410 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7411 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7412
7413 2017-12-13 Joel Brobecker <brobecker@adacore.com>
7414
7415 * gdb.base/server-del-break.c: New file.
7416 * gdb.base/server-del-break.exp: New file.
7417
7418 2017-12-12 Stafford Horne <shorne@gmail.com>
7419
7420 * gdb.xml/tdesc-regs.exp: Add or1k support.
7421
7422 2017-12-12 Stafford Horne <shorne@gmail.com>
7423
7424 * gdb.base/bp-permanent.c: Define nop of or1k.
7425
7426 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7427
7428 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7429 output with components being reordered.
7430
7431 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7432
7433 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7434 output with components being reordered.
7435
7436 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7437 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/maint.exp (check for .gdb_index): Check also for
7440 .debug_names.
7441 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7442 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7443 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7444 (.gdb_index used after symbol reloading): Support also .debug_names.
7445 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7446
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 tests for watchpoint.
7451
7452 2017-12-08 Yao Qi <yao.qi@linaro.org>
7453
7454 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7455 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7456
7457 2017-12-08 Yao Qi <yao.qi@linaro.org>
7458
7459 * gdb.arch/aarch64-tagged-pointer.c: New file.
7460 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7461
7462 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7463
7464 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7465 "int".
7466
7467 2017-12-07 Keith Seitz <keiths@redhat.com>
7468
7469 PR breakpoints/22569
7470 * gdb.linespec/ls-errs.exp: Change expected result of "break
7471 -source this file has spaces.c -line 3".
7472 Check that an explicit source file followed by whitespace is
7473 identified as an invalid explicit location.
7474
7475 2017-12-07 Keith Seitz <keiths@redhat.com>
7476
7477 * gdb.cp/nested-types.cc: New file.
7478 * gdb.cp/nested-types.exp: New file.
7479 * lib/cp-support.exp: Load data-structures.exp library.
7480 (debug_cp_test_ptype_class): New global.
7481 (cp_ptype_class_verbose, next_line): New procedures.
7482 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7483 Add and document new return value.
7484 Switch the list of lines to a queue.
7485 Add support for new `type' key for nested type definitions.
7486 Add debugging/troubleshooting messages.
7487 * lib/data-structures.exp: New file.
7488
7489 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7490
7491 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7492 with proc_with_prefix, don't use with_test_prefix.
7493
7494 2017-12-07 Tom Tromey <tom@tromey.com>
7495
7496 * gdb.base/break.exp: Add test for empty "commands".
7497
7498 2017-12-07 Yao Qi <yao.qi@linaro.org>
7499
7500 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7501 malloc and catch syscall.
7502
7503 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7504
7505 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
7506 tests for explicit locations.
7507
7508 2017-12-06 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7511 force-disabling XML descriptions.
7512
7513 2017-12-04 Pedro Alves <palves@redhat.com>
7514
7515 PR gdb/22499
7516 * gdb.arch/amd64-disp-step-avx.S: New file.
7517 * gdb.arch/amd64-disp-step-avx.exp: New file.
7518
7519 2017-12-03 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7522 and <string.h>.
7523 (parent_function): Print distinct messages when waitpid fails, or
7524 the child exits with a signal, or the child exits for an unhandled
7525 reason.
7526 * gdb.threads/process-dies-while-detaching.exp
7527 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7528 it. Wait for both inferior output and GDB's prompt. Use an
7529 indirect spawn id list.
7530 (do_detach): New parameter 'child_exit'. Use it to compute
7531 expected inferior output.
7532 (test_detach, test_detach_watch, test_detach_killed_outside):
7533 Adjust to pass down the expected child exit kind.
7534
7535 2017-12-01 Joel Brobecker <brobecker@adacore.com>
7536 Sergio Durigan Junior <sergiodj@redhat.com>
7537 Pedro Alves <palves@redhat.com>
7538
7539 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7540
7541 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7542
7543 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7544 to 'symbol-file' and 'add-symbol-file' can be
7545 position-independent.
7546
7547 2017-12-01 Yao Qi <yao.qi@linaro.org>
7548
7549 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7550 the URL in copyright header.
7551 * gdb.arch/aarch64-fp.exp: Likewise.
7552 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7553 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7554 * gdb.base/expand-psymtabs.exp: Likewise.
7555 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7556 * gdb.fortran/common-block.exp: Likewise.
7557 * gdb.fortran/common-block.f90: Likewise.
7558 * gdb.fortran/logical.exp: Likewise.
7559 * gdb.fortran/vla-datatypes.f90: Likewise.
7560 * gdb.fortran/vla-sub.f90: Likewise.
7561
7562 2017-11-30 Joel Brobecker <brobecker@adacore.com>
7563
7564 * gdb.ada/repeat_dyn: New testcase.
7565
7566 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7567
7568 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7569 Update for changed thread numbering.
7570 * gdb.cell/bt.exp: Update for changed GDB output.
7571
7572 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7573
7574 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7575 setting isremote by hand.
7576 * boards/dwarf4-gdb-index.exp: Likewise.
7577 * boards/fission.exp: Likewise.
7578 * boards/stabs.exp: Likewise.
7579
7580 2017-11-30 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.linespec/cpls-ops.exp
7583 (check_explicit_skips_function_argument): Extract the underlying
7584 type of size_t instead of hardcoding it.
7585
7586 2017-11-29 Pedro Alves <palves@redhat.com>
7587
7588 PR c++/19436
7589 * gdb.linespec/cpls-abi-tag.cc: New file.
7590 * gdb.linespec/cpls-abi-tag.exp: New file.
7591
7592 2017-11-29 Pedro Alves <palves@redhat.com>
7593
7594 * gdb.base/langs.exp: Use -qualified.
7595 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7596 it.
7597 * gdb.cp/namespace.exp: Use -qualified.
7598 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7599 (overload-3, template-overload, template-ret-type, const-overload)
7600 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7601 procedures.
7602 (test_driver): Call them.
7603 * gdb.cp/save-bp-qualified.cc: New.
7604 * gdb.cp/save-bp-qualified.exp: New.
7605 * gdb.linespec/explicit.exp: Test -qualified.
7606 * lib/completion-support.exp (completion::explicit_opts_list): Add
7607 "-qualified".
7608 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7609
7610 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7611
7612 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7613
7614 2017-11-29 Tom Tromey <tom@tromey.com>
7615
7616 * gdb.base/relocate.exp: Update invalid argument test.
7617 Add new tests for invalid arguments.
7618
7619 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7620
7621 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7622 Return 0 as a long.
7623 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7624
7625 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7626
7627 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7628 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7629 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7630 func ().
7631 * gdb.cp/shadow.cc (B.func): Return 0.
7632
7633 2017-11-27 Joel Brobecker <brobecker@adacore.com>
7634
7635 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7636 expected output in gdb_expect call to allow the exception
7637 message to be present as well. Fix syntax confusion to avoid
7638 TCL thinking that exception_name is an array.
7639
7640 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7641
7642 * gdb.arch/spu-info.c: Include <unistd.h>.
7643 (do_signal_test): Fix broken calls to write.
7644 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7645 Fix checks for empty mailboxes. Update signal tests for corrected
7646 do_signal_test routine. Allow nonzero event status.
7647 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7648 * gdb.cell/arch.exp: Use standard_output_file.
7649 * gdb.cell/break.exp: Likewise.
7650 * gdb.cell/bt.exp: Likewise.
7651 * gdb.cell/core.exp: Likewise.
7652 * gdb.cell/dwarfaddr.exp: Likewise.
7653 * gdb.cell/ea-cache.exp: Likewise.
7654 * gdb.cell/ea-standalone.exp: Likewise.
7655 * gdb.cell/f-regs.exp: Likewise.
7656 * gdb.cell/fork.exp: Likewise.
7657 * gdb.cell/gcore.exp: Likewise.
7658 * gdb.cell/mem-access.exp: Likewise.
7659 * gdb.cell/ptype.exp: Likewise.
7660 * gdb.cell/registers.exp: Likewise.
7661 * gdb.cell/sizeof.exp: Likewise.
7662 * gdb.cell/solib-symbol.exp: Likewise.
7663 * gdb.cell/solib.exp: Likewise.
7664
7665 2017-11-25 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.base/complete-empty.exp: New file.
7668 * gdb.base/completion.exp: Adjust.
7669
7670 2017-11-25 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.linespec/cpls-ops.cc: New file.
7673 * gdb.linespec/cpls-ops.exp: New file.
7674 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7675 factored out from ...
7676 (test_complete_prefix_range): ... this.
7677
7678 2017-11-24 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.linespec/cpcompletion.exp: New file.
7681 * gdb.linespec/cpls-hyphen.cc: New file.
7682 * gdb.linespec/cpls.cc: New file.
7683 * gdb.linespec/cpls2.cc: New file.
7684 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7685 test to use test_gdb_complete_unique. Add label completion,
7686 keyword completion and explicit location completion tests.
7687 * lib/completion-support.exp: New file.
7688
7689 2017-11-24 Joel Brobecker <brobecker@adacore.com>
7690
7691 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7692 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7693 when hitting an exception catchpoint.
7694
7695 2017-11-22 Yao Qi <yao.qi@linaro.org>
7696
7697 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7698
7699 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7700
7701 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7702 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7703 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7704
7705 2017-11-22 Yao Qi <yao.qi@linaro.org>
7706
7707 * gdb.base/info-os.exp: Pass pthreads.
7708 * gdb.multi/multi-attach.exp: Likewise.
7709
7710 2017-11-22 Yao Qi <yao.qi@linaro.org>
7711
7712 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7713 compiler.
7714
7715 2017-11-22 Yao Qi <yao.qi@linaro.org>
7716
7717 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7718 * gdb.base/break-interp.exp: Likewise.
7719 * gdb.base/jit-attach-pie.exp: Likewise.
7720
7721 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7722
7723 * gdb.base/float128.c (large128): New variable.
7724 * gdb.base/float128.exp: Add test to print largest __float128 value.
7725
7726 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7727
7728 * gdb.arch/vsx-regs.exp: Update register content checks.
7729
7730 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7731
7732 * gdb.arch/ppc-longdouble.exp: New file.
7733 * gdb.arch/ppc-longdouble.c: Likewise.
7734
7735 2017-11-21 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7738
7739 2017-11-20 Pedro Alves <palves@redhat.com>
7740
7741 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7742 (long_double_typedef): New typedefs.
7743 Use DEF on double and long double.
7744 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7745 cases.
7746 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7747 and 'long_double_ptr_same_size' locals. Use them to decide
7748 whether cast from array/function to float is valid/invalid.
7749
7750 2017-11-17 Tom Tromey <tom@tromey.com>
7751
7752 * gdb.rust/traits.rs: New file.
7753 * gdb.rust/traits.exp: New file.
7754
7755 2017-11-17 Joel Brobecker <brobecker@adacore.com>
7756
7757 * gdb.ada/minsyms: New testcase.
7758
7759 2017-11-16 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7762 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7763
7764 2017-11-16 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7767 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7768
7769 2017-11-16 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.server/reconnect-ctrl-c.c: New file.
7772 * gdb.server/reconnect-ctrl-c.exp: New file.
7773
7774 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7775
7776 * gdb.python/py-rbreak.exp: New file.
7777 * gdb.python/py-rbreak.c: New file.
7778 * gdb.python/py-rbreak-func2.c: New file.
7779
7780 2017-11-16 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7783 pattern.
7784 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7785 GDB.
7786
7787 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7788
7789 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7790 regex.
7791
7792 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7793
7794 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7795 test names.
7796
7797 2017-11-09 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7800 factored out from ...
7801 (top level): ... here, and adjusted to avoid expecting beyond the
7802 prompt in a single gdb_test_multiple.
7803
7804 2017-11-09 Pedro Alves <palves@redhat.com>
7805
7806 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7807 output.
7808 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7809 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7810 * gdb.server/ext-run.exp ("kill" test): Likewise.
7811 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7812
7813 2017-11-09 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7816 match till end of line.
7817
7818 2017-11-09 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7821
7822 2017-11-09 Pedro Alves <palves@redhat.com>
7823
7824 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7825 New procedures, factored out from ...
7826 (top level): ... here, and adjusted to avoid expecting beyond the
7827 prompt in one go.
7828
7829 2017-11-09 Pedro Alves <palves@redhat.com>
7830
7831 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7832 output. Fix '?' match.
7833
7834 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7835
7836 * gdb.ada/scoped_watch: New testcase.
7837 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7838 which is actually correct.
7839 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7840 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7841
7842 2017-11-08 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.gdb/complaints.exp (test_initial_complaints)
7845 (test_serial_complaints, test_short_complaints): Call
7846 complaint_internal instead of complaint.
7847
7848 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7849
7850 * gdb.threads/tls-core.c: New file.
7851 * gdb.threads/tls-core.exp: Likewise.
7852
7853 2017-11-08 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7856 (p Exported_Capitalized): New test.
7857 (p exported_capitalized): New test.
7858
7859 2017-11-07 Pedro Alves <palves@redhat.com>
7860
7861 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7862
7863 2017-11-07 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7866 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7867 (disable_invalid, disable_inverted, disable_negative): New
7868 procedures.
7869 ("bad numbers"): New set of tests.
7870
7871 2017-11-07 Pedro Alves <palves@redhat.com>
7872
7873 * gdb.cp/ena-dis-br-range.exp: Add tests.
7874
7875 2017-11-07 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7878
7879 2017-11-07 Xavier Roirand <roirand@adacore.com>
7880 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.base/ena-dis-br.exp: Add reference to
7883 gdb.cp/ena-dis-br-range.exp.
7884 * gdb.cp/ena-dis-br-range.exp: New file.
7885 * gdb.cp/ena-dis-br-range.cc: New file.
7886
7887 2017-11-06 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.base/attach-non-pgrp-leader.c: New.
7890 * gdb.base/attach-non-pgrp-leader.exp: New.
7891
7892 2017-11-06 Pedro Alves <palves@redhat.com>
7893
7894 * configure.ac: No longer check for termio.h and sgtty.h.
7895 * configure: Regenerate.
7896 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7897 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7898 Remove termio and sgtty code.
7899
7900 2017-11-03 Yao Qi <yao.qi@linaro.org>
7901
7902 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7903 in GDB is disabled.
7904
7905 2017-11-03 Yao Qi <yao.qi@linaro.org>
7906
7907 * gdb.python/py-thrhandle.exp: Skip it if python is not
7908 enabled.
7909
7910 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7911
7912 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7913 as a breakpoint command.
7914
7915 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7916
7917 PR python/21213
7918 * gdb.python/py-infthread.exp: Test calling
7919 InferiorThread.inferior () multiple times in a row.
7920
7921 2017-10-27 Keith Seitz <keiths@redhat.com>
7922
7923 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7924 Test "info break" for every inlined function breakpoint.
7925
7926 2017-10-27 Yao Qi <yao.qi@linaro.org>
7927
7928 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7929
7930 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7931
7932 * gdb.cp/classes.exp (test_static_members): Test printing
7933 Outer::instance.
7934 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7935 (Inner::instance, Outer::instance): New.
7936
7937 2017-10-24 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7940 extra console" test in two stages.
7941
7942 2017-10-24 Pedro Alves <palves@redhat.com>
7943
7944 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7945
7946 2017-10-24 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7949 loop.
7950
7951 2017-10-24 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7954 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7955
7956 2017-10-24 Pedro Alves <palves@redhat.com>
7957
7958 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7959 parameter and handle it. Don't output read value in test name.
7960
7961 2017-10-24 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7964 custom test name.
7965
7966 2017-10-24 Pedro Alves <palves@redhat.com>
7967
7968 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7969 include the unstable output directory name in the test's name.
7970 (initial_setup_simple) <'set args'>: Use custom test name.
7971
7972 2017-10-24 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7975 with explicit test name.
7976
7977 2017-10-20 Pedro Alves <palves@redhat.com>
7978
7979 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7980 'wait -i'. Use gdb_assert and remote_close.
7981
7982 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7983
7984 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7985 number from variable rather than hard-coded.
7986
7987 2017-10-19 Pedro Alves <palves@redhat.com>
7988
7989 * gdb.base/long-inferior-output.c: New file.
7990 * gdb.base/long-inferior-output.exp: New file.
7991
7992 2017-11-18 Keith Seitz <keiths@redhat.com>
7993
7994 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7995 method.
7996 (main): Call it.
7997 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7998 Add additional user-defined conversion operator tests.
7999
8000 2017-10-17 Pedro Alves <palves@redhat.com>
8001
8002 * boards/native-stdio-gdbserver.exp: Load "local-board".
8003
8004 2017-10-17 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/quit-live.c: New file.
8007 * gdb.base/quit-live.exp: New file.
8008
8009 2017-10-16 Keith Seitz <keiths@redhat.com>
8010
8011 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8012 (class_with_protected_typedef, class_with_private_typedef)
8013 (struct_with_public_typedef, struct_with_protected_typedef)
8014 (struct_with_private_typedef): New classes/structs.
8015 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8016 typedefs and access specifiers.
8017
8018 2017-10-16 Pedro Alves <palves@redhat.com>
8019 Simon Marchi <simon.marchi@polymtl.ca>
8020
8021 * README (Local vs Remote vs Native): New section.
8022 * boards/local-board.exp: New file, with bits factored out from
8023 ...
8024 * boards/native-extended-gdbserver.exp: ... here. Load
8025 "local-board".
8026 * boards/native-gdbserver.exp: Load "local-board".
8027 (${board}_spawn, ${board}_exec): Delete.
8028 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8029 ...
8030 * boards/stdio-gdbserver-base.exp: ... this new file.
8031 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8032 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8033 procedure.
8034 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8035 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8036 stdio_gdbserver_command.
8037 (${board}_get_remote_address, ${board}_get_comm_port)
8038 (${board}_download, ${board}_upload): Delete.
8039 (get_target_remote_pipe_cmd): New.
8040
8041 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8042
8043 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8044 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8045 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8046 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8047 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8048 remove with_test_prefix.
8049
8050 2017-10-13 Pedro Alves <palves@redhat.com>
8051
8052 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8053 * gdb.base/annota1.exp: Use it instead of is_remote.
8054 * gdb.base/annota3.exp: Use it instead of is_remote.
8055 * gdb.cp/annota2.exp: Use it instead of is_remote.
8056 * gdb.cp/annota3.exp: Use it instead of is_remote.
8057 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8058
8059 2017-10-13 Pedro Alves <palves@redhat.com>
8060
8061 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8062 (test_num_test_vars, run_and_count_vars, find_env)
8063 (test_set_unset_env, test_inherit_env_var): New procedures.
8064 (top level): Use them.
8065
8066 2017-10-13 Pedro Alves <palves@redhat.com>
8067
8068 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8069 also skip on stub-like targets.
8070
8071 2017-10-13 Pedro Alves <palves@redhat.com>
8072
8073 PR gdb/22293
8074 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8075 (top level): Move some tests to ...
8076 (test_not_found): ... this new procedure.
8077 (top level): Call it.
8078
8079 2017-10-13 Pedro Alves <palves@redhat.com>
8080
8081 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8082 expect different "info terminal" output if testing with a
8083 non-native target.
8084
8085 2017-10-13 Pedro Alves <palves@redhat.com>
8086 Simon Marchi <simon.marchi@polymtl.ca>
8087
8088 PR python/12966
8089 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8090
8091 2017-10-13 Pedro Alves <palves@redhat.com>
8092
8093 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8094 already.
8095
8096 2017-10-13 Pedro Alves <palves@redhat.com>
8097
8098 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8099 is_remote.
8100
8101 2017-10-13 Pedro Alves <palves@redhat.com>
8102
8103 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8104 is_remote.
8105
8106 2017-10-13 Pedro Alves <palves@redhat.com>
8107
8108 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8109 is set.
8110 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8111 instead of is_remote.
8112
8113 2017-10-13 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8116 (top level): Add comment.
8117
8118 2017-10-13 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.base/remote.exp (top level): Fix comment typo and add
8121 missing return.
8122
8123 2017-10-13 Pedro Alves <palves@redhat.com>
8124 Simon Marchi <simon.marchi@polymtl.ca>
8125
8126 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8127 calls and add comments. Skip test if use_gdb_stub is set.
8128 (top level): Use "set cwd" command instead of "cd" command.
8129
8130 2017-10-13 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8133 is_remote target check.
8134
8135 2017-10-13 Pedro Alves <palves@redhat.com>
8136
8137 * gdb.base/scope.exp: Use build_executable + clean_restart +
8138 gdb_file_cmd instead of prepare_for_testing and no longer skip
8139 "before run" tests on is_remote target boards. Update comments.
8140 * boards/native-extended-gdbserver.exp
8141 (extended_gdbserver_load_last_file): New, factored out from ...
8142 (gdb_load): ... this. Move further below and add comment.
8143 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8144
8145 2017-10-12 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/attach.exp: Remove references to gdb64.
8148 * gdb.base/dbx.exp: Remove references to gdb64.
8149
8150 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8151 Pedro Alves <palves@redhat.com>
8152
8153 * gdb.base/label.exp: Remove is_remote target check.
8154
8155 2017-10-12 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/auvx.exp (coredir): Update comment.
8158 (top level) <core_works>: Use "set cwd" command instead of "cd"
8159 command.
8160
8161 2017-10-12 Pedro Alves <palves@redhat.com>
8162 Simon Marchi <simon.marchi@polymtl.ca>
8163
8164 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8165 target boards.
8166
8167 2017-10-12 Pedro Alves <palves@redhat.com>
8168 Simon Marchi <simon.marchi@polymtl.ca>
8169
8170 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8171 Instead skip if there's any gdb_protocol set.
8172
8173 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8174 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8177
8178 2017-10-12 Pedro Alves <palves@redhat.com>
8179 Simon Marchi <simon.marchi@polymtl.ca>
8180
8181 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8182 instead of on dejagnu remote boards.
8183
8184 2017-10-12 Pedro Alves <palves@redhat.com>
8185 Simon Marchi <simon.marchi@polymtl.ca>
8186
8187 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8188 checks. Use build_executable + clean_restart instead of
8189 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8190 of enabling non-stop after starting gdb.
8191
8192 2017-10-12 Pedro Alves <palves@redhat.com>
8193
8194 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8195 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8196 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8197 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8198
8199 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8200
8201 * gdb.arch/arc-tdesc-cpu.exp: New file.
8202 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8203
8204 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8205
8206 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8207
8208 2017-10-10 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8211 expect CLI output.
8212
8213 2017-10-10 Pedro Alves <palves@redhat.com>
8214
8215 * lib/selftest-support.exp (selftest_setup): Update for
8216 captured_command_loop's prototype change.
8217
8218 2017-10-09 Pedro Alves <palves@redhat.com>
8219
8220 Test both arch1=>arch2 and arch2=>arch1.
8221
8222 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8223 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8224 factored out to...
8225 (append_arch1_options, append_arch2_options, append_arch_options)
8226 (build_executables): New procedures.
8227 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8228 local.
8229 (top level): Add new 'first_arch' testing axis.
8230
8231 2017-10-09 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8234 (barrier): New.
8235 (thread_start, all_started): New functions.
8236 (main): Spawn new thread and wait until it is scheduled.
8237 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8238 option.
8239 (do_test): Add 'selected_thread' parameter. Run to all_started
8240 instead of main. Explicitly set the breakpoint at main. Switch
8241 to the SELECTED_THREAD thread.
8242 (top level): Test handling the exec event with either the main
8243 thread or the second thread selected.
8244
8245 2017-10-09 Pedro Alves <palves@redhat.com>
8246
8247 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8248 logic. Move STOP marker after the value checks.
8249 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8250 regexp.
8251
8252 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8253
8254 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8255
8256 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8257
8258 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8259 integer-to-dfp conversion.
8260 * gdb.base/dfp-test.exp: Likewise.
8261
8262 2017-10-04 Pedro Alves <palves@redhat.com>
8263
8264 * gdb.multi/hangout.c: Include <unistd.h>.
8265 (hangout_loop): New function.
8266 (main): Call alarm. Call hangout_loop in a loop.
8267 * gdb.multi/hello.c: Include <unistd.h>.
8268 (hello_loop): New function.
8269 (main): Call alarm. Call hangout_loop in a loop.
8270 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8271 inferior with the other selected.
8272
8273 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8274
8275 * gdb.mi/list-thread-groups-available.exp: New file.
8276 * gdb.mi/list-thread-groups-available.c: New file.
8277
8278 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8279
8280 * gdb.base/set-cwd.exp: Make it available on
8281 native-extended-gdbserver.
8282
8283 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8284
8285 * gdb.base/set-cwd.c: New file.
8286 * gdb.base/set-cwd.exp: Likewise.
8287
8288 2017-10-02 Tom Tromey <tom@tromey.com>
8289
8290 PR rust/22236:
8291 * gdb.rust/simple.rs (main): New variable "fslice".
8292 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8293
8294 2017-10-02 Tom Tromey <tom@tromey.com>
8295
8296 * gdb.rust/simple.exp: Test ptype of a slice.
8297
8298 2017-10-02 Tom Tromey <tom@tromey.com>
8299
8300 * gdb.rust/simple.exp: Test index of slice.
8301
8302 2017-09-27 Tom Tromey <tom@tromey.com>
8303
8304 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8305
8306 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8307 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/compare-sections.exp (get value of read-only section): Read
8310 as unsigned value.
8311 (corrupt read-only section): Likewise and don't set written if patching
8312 failed.
8313
8314 2017-09-21 Kevin Buettner <kevinb@redhat.com>
8315
8316 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8317 files.
8318
8319 2017-09-20 Pedro Alves <palves@redhat.com>
8320
8321 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8322 symbol names in gdb's output.
8323 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8324
8325 2017-09-20 Pedro Alves <palves@redhat.com>
8326
8327 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8328 Rename to ...
8329 (test_list_ambiguous_symbol): ... this and add a symbol name
8330 parameter. Adjust.
8331 (test_list_ambiguous_function): Reimplement on top of
8332 test_list_ambiguous_symbol and also test listing ambiguous
8333 variables.
8334 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8335 (ambiguous_fun): ... this.
8336 (ambiguous_var): New.
8337 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8338 (ambiguous_fun): ... this.
8339 (ambiguous_var): New.
8340
8341 2017-09-19 John Baldwin <jhb@FreeBSD.org>
8342
8343 * gdb.base/starti.c: New file.
8344 * gdb.base/starti.exp: New file.
8345 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8346
8347 2017-09-14 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8350 (top level): Use it instead of runto.
8351
8352 2017-09-11 Tom Tromey <tom@tromey.com>
8353
8354 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8355
8356 2017-09-11 Tom Tromey <tom@tromey.com>
8357
8358 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8359 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8360
8361 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8362
8363 * gdb.fortran/printing-types.exp: New file.
8364 * gdb.fortran/printing-types.exp: New file.
8365
8366 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8367
8368 * gdb.fortran/vla-ptype.exp: Fix typos.
8369 * gdb.fortran/vla-value.exp: Same.
8370
8371 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8372
8373 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8374 * gdb.mi/mi-var-child-f.exp: Likewise.
8375 * gdb.mi/mi-vla-fortran.exp: Likewise.
8376
8377 2017-09-08 Frank Penczek <frank.penczek@intel.com>
8378 Christoph Weinmann <christoph.t.weinmann@intel.com>
8379 Bernhard Heckel <bernhard.heckel@intel.com>
8380
8381 * gdb.fortran/ptr-indentation.f90: New file.
8382 * gdb.fortran/ptr-indentation.exp: New file.
8383
8384 2017-09-05 Tom Tromey <tom@tromey.com>
8385
8386 PR gdb/22010:
8387 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8388
8389 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8390
8391 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8392
8393 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * gdb.threads/tls-nodebug-pie.c: New file.
8396 * gdb.threads/tls-nodebug-pie.exp: New file.
8397
8398 2017-09-05 Tom Tromey <tom@tromey.com>
8399
8400 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8401 for rust.
8402
8403 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8404
8405 * gdb.multi/multi-arch-exec.exp: Test with different
8406 "follow-exec-mode" settings.
8407 (do_test): New procedure.
8408
8409 2017-09-04 Pedro Alves <palves@redhat.com>
8410
8411 * gdb.base/func-static.c (S::method const, S::method volatile)
8412 (S::method volatile const): New methods.
8413 (c_s, v_s, cv_s): New instances.
8414 (main): Call method() on them.
8415 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8416 (cannot_resolve): New procedure.
8417 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8418 print-quote-unquoted columns.
8419 (do_test): Test printing each scope too.
8420
8421 2017-09-04 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/local-static.exp: Also test with
8424 class::method::variable wholly quoted.
8425 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8426
8427 2017-09-04 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/local-static.c: New.
8430 * gdb.base/local-static.cc: New.
8431 * gdb.base/local-static.exp: New.
8432
8433 2017-09-04 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.asm/asm-source.exp: Add casts to int.
8436 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8437 (dataglobal64_1, dataglobal64_2): New globals.
8438 * gdb.base/nodebug.exp: Test different expressions involving the
8439 new globals, with print, whatis and ptype. Add casts to int.
8440 * gdb.base/solib-display.exp: Add casts to int.
8441 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8442 * gdb.cp/m-static.exp: Add cast to int.
8443 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8444 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8445 tls variable with no debug info without a cast. Test with a cast
8446 to int too.
8447 * gdb.trace/entry-values.exp: Add casts.
8448
8449 2017-09-04 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/nodebug.exp: Test that ptype's error about functions
8452 with unknown return type includes the function name too.
8453
8454 2017-09-04 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8457 return type of munmap in infcall.
8458 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8459 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8460 type of ftell in infcall.
8461 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8462 type of getpid in infcall.
8463 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8464 infcall.
8465 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8466 Bail on failure to extract the pid.
8467 * gdb.base/nodebug.c: #include <stdint.h>.
8468 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8469 New functions.
8470 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8471 Change expected output of print/whatis/ptype with functions with
8472 no debug info. Test all supported languages. Call
8473 test_call_promotion.
8474 * gdb.compile/compile.exp: Adjust expected output to expect
8475 warning.
8476 * gdb.threads/siginfo-threads.exp: Likewise.
8477
8478 2017-09-04 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8481 "prototypes". Test calling float functions via prototyped and
8482 unprototyped function pointers.
8483 (perform_all_tests): New parameter "prototypes". Pass it down.
8484 (top level): Pass down "prototypes" parameter to
8485 perform_all_tests.
8486
8487 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8488
8489 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8490 Test with nested loops.
8491
8492 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8493
8494 * gdb.base/commands.exp: Call the new procedures.
8495 (loop_break_test, loop_continue_test): New procedures.
8496
8497 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8498
8499 * gdb.base/commands.exp: Call new procedure.
8500 (define_if_without_arg_test): New procedure.
8501
8502 2017-09-04 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/list-ambiguous.exp: New file.
8505 * gdb.base/list-ambiguous0.c: New file.
8506 * gdb.base/list-ambiguous1.c: New file.
8507 * gdb.base/list.exp (test_list_range): Adjust expected output.
8508
8509 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8510
8511 * gdb.base/share-env-with-gdbserver.c: New file.
8512 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8513
8514 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8515
8516 * gdb.base/commands.exp (gdbvar_simple_if_test,
8517 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8518 progvar_simple_if_test, progvar_simple_while_test,
8519 progvar_complex_if_while_test, user_defined_command_test,
8520 user_defined_command_args_eval,
8521 user_defined_command_args_stack_test,
8522 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8523 temporary_breakpoint_commands,
8524 gdb_test_no_prompt, redefine_hook_test,
8525 redefine_backtrace_test): Remove "global gdb_prompt".
8526
8527 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8528
8529 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8530 New proc, call it from toplevel.
8531
8532 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8533
8534 PR remote/21852
8535 * gdb.server/normal.c: New file, copied from gdb.base.
8536 * gdb.server/run-without-local-binary.exp: New file.
8537
8538 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
8539
8540 * gdb.arch/sparc64-adi.exp: New file.
8541 * gdb.arch/sparc64-adi.c: New file.
8542
8543 2017-08-22 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8546 (top level): Add "list all overloads" tests.
8547
8548 2017-08-22 Tom Tromey <tom@tromey.com>
8549
8550 * gdb.gdb/xfullpath.exp: Remove.
8551
8552 2017-08-21 Pedro Alves <palves@redhat.com>
8553
8554 PR gdb/19487
8555 * gdb.base/symbol-alias.c: New.
8556 * gdb.base/symbol-alias2.c: New.
8557 * gdb.base/symbol-alias.exp: New.
8558
8559 2017-08-21 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/dfp-test.c
8562 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8563 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8564 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8565 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8566 * gdb.base/whatis-ptype-typedefs.c: New.
8567 * gdb.base/whatis-ptype-typedefs.exp: New.
8568 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8569 (an_int, an_int_type, an_int_type2): New globals.
8570 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8571 involving typedefs and cast expressions.
8572 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8573 (lookup_typedefs_function): New.
8574 (typedefs_pretty_printers_dict): New.
8575 (top level): Register lookup_typedefs_function in
8576 gdb.pretty_printers.
8577
8578 2017-08-18 Yao Qi <yao.qi@linaro.org>
8579
8580 * gdb.server/unittest.exp: New.
8581
8582 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8583
8584 PR gdb/21954
8585 * gdb.base/environ.exp: Add test to check if 'unset environment'
8586 works.
8587
8588 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8589
8590 * lib/gdb.exp (universal_compile_options): New caching proc.
8591 (gdb_compile): Suppress GCC's coloring of messages.
8592
8593 2017-08-14 Tom Tromey <tom@tromey.com>
8594
8595 PR gdb/21675:
8596 * gdb.base/printcmds.exp (test_radices): New function.
8597 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8598 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8599 * lib/gdb.exp (get_integer_valueof): Use p/d.
8600
8601 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8602
8603 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8604 characters.
8605
8606 2017-08-05 Tom Tromey <tom@tromey.com>
8607
8608 * gdb.rust/simple.exp: Allow String to appear in a different
8609 namespace.
8610
8611 2017-07-26 Yao Qi <yao.qi@linaro.org>
8612
8613 * gdb.gdb/unittest.exp: Invoke command
8614 "maintenance check xml-descriptions".
8615
8616 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8617
8618 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8619 calling context.
8620 (hex128): Drop erroneous calculation of parameters.
8621
8622 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8623
8624 * gdb.python/py-unwind.exp: Disable stack protection when
8625 building test file.
8626
8627 2017-07-20 Pedro Alves <palves@redhat.com>
8628
8629 * gdb.base/default.exp (set language): Adjust expected output.
8630
8631 2017-07-20 Pedro Alves <palves@redhat.com>
8632
8633 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8634 (test_minsym): ... this, and make static.
8635 (get_pck__foo__bar__minsym): Rename to ...
8636 (get_test_minsym): ... this.
8637 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8638 symbol names and comments.
8639 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8640 (get_test_minsym): ... this.
8641 (pck__foo__bar__minsym__2): Rename to ...
8642 (test_minsym): ... this.
8643 (main): Adjust.
8644
8645 2017-07-17 Pedro Alves <palves@redhat.com>
8646
8647 * gdb.base/completion.exp: Adjust expected output.
8648 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8649 the completer works.
8650
8651 2017-07-17 Pedro Alves <palves@redhat.com>
8652
8653 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8654
8655 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8656
8657 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8658
8659 2017-07-14 Tom Tromey <tom@tromey.com>
8660
8661 PR rust/21764:
8662 * gdb.rust/simple.exp: Add tests.
8663
8664 2017-07-14 Tom Tromey <tom@tromey.com>
8665
8666 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8667
8668 2017-07-14 Pedro Alves <palves@redhat.com>
8669
8670 * gdb.linespec/base/one/thefile.cc (z1): New function.
8671 * gdb.linespec/base/two/thefile.cc (z2): New function.
8672 * gdb.linespec/linespec.exp: Add tests.
8673
8674 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8675
8676 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8677 to mi_create_breakpoint.
8678
8679 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8680
8681 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8682 mi_create_breakpoint.
8683
8684 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8685
8686 * gdb.dlang/demangle.exp: Update for demangling changes.
8687
8688 2017-07-09 Tom Tromey <tom@tromey.com>
8689
8690 * gdb.dwarf2/shortpiece.exp: New file.
8691
8692 2017-07-06 David Blaikie <dblaikie@gmail.com>
8693
8694 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8695 built from fissiont-multi-cu{1,2}.c.
8696 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8697 except putting 'main' and 'func' in separate CUs in the same DWO file.
8698 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8699 test.
8700 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8701 test.
8702
8703 2017-07-06 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.python/py-unwind.exp: Test flushregs.
8706
8707 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8708
8709 PR cli/21688
8710 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8711 tests for alias commands and trailing whitespace.
8712
8713 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8714
8715 PR cli/21688
8716 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8717 procedure. Call it.
8718
8719 2017-06-29 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.base/printcmds.exp: Add tests.
8722
8723 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8724
8725 PR gdb/21337
8726 * gdb.base/reread-readsym.exp: New file.
8727 * gdb.base/reread-readsym.c: New file.
8728
8729 2017-06-21 Kevin Buettner <kevinb@redhat.com>
8730
8731 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8732 subpattern.
8733
8734 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8735
8736 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8737 extended mnemonic.
8738 * gdb.arch/powerpc-power9.s: Likewise.
8739
8740 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8741
8742 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8743 on 32-bit x86 targets. Exploit is_*_target macros where
8744 appropriate.
8745
8746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8747
8748 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8749 register pieces.
8750
8751 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8752
8753 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8754 located in one or more DWARF pieces.
8755
8756 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8757
8758 * lib/gdb.exp (get_endianness): New proc.
8759 * gdb.arch/aarch64-fp.exp: Use it.
8760 * gdb.arch/altivec-regs.exp: Likewise.
8761 * gdb.arch/e500-regs.exp: Likewise.
8762 * gdb.arch/vsx-regs.exp: Likewise.
8763 * gdb.base/dump.exp: Likewise.
8764 * gdb.base/funcargs.exp: Likewise.
8765 * gdb.base/gnu_vector.exp: Likewise.
8766 * gdb.dwarf2/formdata16.exp: Likewise.
8767 * gdb.dwarf2/implptrpiece.exp: Likewise.
8768 * gdb.dwarf2/nonvar-access.exp: Likewise.
8769 * gdb.python/py-inferior.exp: Likewise.
8770 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8771
8772 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8773
8774 PR gdb/21226
8775 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8776 stack value pieces are taken from the LSB end.
8777
8778 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779
8780 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8781 variable at nonzero offset.
8782
8783 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8784
8785 * gdb.dwarf2/var-access.c: New file.
8786 * gdb.dwarf2/var-access.exp: New test.
8787 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8788
8789 2017-06-12 Tom Tromey <tom@tromey.com>
8790
8791 * gdb.dwarf2/formdata16.exp: Add tests.
8792
8793 2017-06-12 Tom Tromey <tom@tromey.com>
8794
8795 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8796
8797 2017-06-12 Tom Tromey <tom@tromey.com>
8798
8799 PR exp/16225:
8800 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8801 * gdb.arch/vsx-regs.exp: Update tests.
8802 * gdb.arch/s390-vregs.exp (hex128): New proc.
8803 Update test.
8804 * gdb.arch/altivec-regs.exp: Update tests.
8805
8806 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8807
8808 * gdb.base/startup-with-shell.c: New file.
8809 * gdb.base/startup-with-shell.exp: Likewise.
8810
8811 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8812
8813 * gdb.server/non-existing-program.exp: Update regex in order to
8814 reflect the fact that gdbserver is now using fork_inferior (with a
8815 shell) to startup the inferior.
8816
8817 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8818
8819 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8820 support function calls from GDB.
8821
8822 2017-05-21 Tom Tromey <tom@tromey.com>
8823
8824 PR rust/21466:
8825 * gdb.rust/unsized.exp: New file.
8826 * gdb.rust/unsized.rs: New file.
8827
8828 2017-05-19 Tom Tromey <tom@tromey.com>
8829
8830 PR rust/21484:
8831 * gdb.rust/watch.exp: New file.
8832 * gdb.rust/watch.rs: New file.
8833
8834 2017-05-18 Tom Tromey <tom@tromey.com>
8835
8836 * gdb.rust/simple.exp: Allow Box to be qualified.
8837
8838 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8839
8840 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8841
8842 2017-05-18 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/fileio.c (test_write, test_read, test_close)
8845 (test_fstat): Don't print 'ret' in the fail path.
8846
8847 2017-05-18 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8850 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8851 (test_system, test_rename, test_unlink, test_time): Change
8852 prototypes.
8853 * gdb.base/fileio.exp (stop_msg): Adjust.
8854
8855 2017-05-18 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.base/fileio.c (null_str): New global.
8858 (test_stat): Use it.
8859 * gdb.base/fileio.exp: Remove nowarnings.
8860
8861 2017-05-17 Yao Qi <yao.qi@linaro.org>
8862
8863 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8864
8865 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8866
8867 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8868 argument command.
8869 (top-level): Invoke test_set_inferior_tty.
8870
8871 2017-05-04 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8874 Add parens to print call for Python 3.
8875
8876 2017-05-03 Keith Seitz <keiths@redhat.com>
8877
8878 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8879 (main): Call it.
8880
8881 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8882
8883 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8884 to prev and next.
8885
8886 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8887
8888 * gdb.python/py-record-btrace.exp: Remove test for
8889 gdb.BtraceInstruction.error.
8890
8891 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8892
8893 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8894
8895 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8896
8897 * gdb.python/py-record-btrace-threads.c: New file.
8898 * gdb.python/py-record-btrace-threads.exp: New file.
8899
8900 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8901
8902 PR testsuite/8595
8903 * gdb.base/environ.exp: Make test available in all architectures.
8904 Move bits related to "info program" testing to
8905 gdb.base/info-program.exp. Rewrite tests to use the two new
8906 procedures mentione below.
8907 (test_set_show_env_var) New procedure.
8908 (test_set_show_env_var_equal): Likewise.
8909 * gdb.base/info-program.exp: New file.
8910
8911 2017-04-27 Keith Seitz <keiths@redhat.com>
8912
8913 * gdb.cp/oranking.cc (test15): New function.
8914 (main): Call test15 and declare additional variables for testing.
8915 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8916 "p foo101('abc')" tests.
8917 Add tests for cv qualifier overloads.
8918 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8919 "lvalue reference overload" test.
8920 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8921 "print value of f1 on Child&& in f2" test.
8922
8923 2017-04-19 Pedro Alves <palves@redhat.com>
8924
8925 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8926 procedure.
8927 (top level): Call it.
8928 * lib/gdb.exp (gdb_define_cmd): New procedure.
8929
8930 2017-04-12 Pedro Alves <palves@redhat.com>
8931
8932 PR gdb/21323
8933 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8934 (wchar): New global.
8935 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8936 (do_test_wide_char, wide_char_types_no_program, top level): Add
8937 wchar_t testing.
8938
8939 2017-04-12 Pedro Alves <palves@redhat.com>
8940
8941 PR c++/21323
8942 * gdb.cp/wide_char_types.c: New file.
8943 * gdb.cp/wide_char_types.exp: New file.
8944
8945 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8946
8947 PR gdb/21352
8948 * gdb.trace/tsv.exp: Add test for "tsave -r".
8949
8950 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8951
8952 * gdb.dlang/watch-loc.c: New file.
8953 * gdb.dlang/watch-loc.exp: New file.
8954
8955 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8956
8957 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8958
8959 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8960
8961 * gdb.arch/arc-analyze-prologue.S: New file.
8962 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8963
8964 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8965
8966 * gdb.arch/arc-decode-insn.S: New file.
8967 * gdb.arch/arc-decode-insn.exp: Likewise.
8968
8969 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8970
8971 PR tdep/20928
8972 * gdb.arch/sparc64-regs.exp: New file.
8973 * gdb.arch/sparc64-regs.S: Likewise.
8974
8975 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8976
8977 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8978 and memory view on Python 3.
8979
8980 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8981 Keith Seitz <keiths@redhat.com>
8982
8983 PR gdb/14441
8984 * gdb.cp/demangle.exp: Add rvalue reference tests.
8985 * gdb.cp/rvalue-ref-casts.cc: New file.
8986 * gdb.cp/rvalue-ref-casts.exp: New file.
8987 * gdb.cp/rvalue-ref-overload.cc: New file.
8988 * gdb.cp/rvalue-ref-overload.exp: New file.
8989 * gdb.cp/rvalue-ref-params.cc: New file.
8990 * gdb.cp/rvalue-ref-params.exp: New file.
8991 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8992 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8993 * gdb.cp/rvalue-ref-types.cc: New file.
8994 * gdb.cp/rvalue-ref-types.exp: New file.
8995 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8996 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8997
8998 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8999
9000 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9001 New procedure.
9002
9003 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9004
9005 * lib/mi-support.exp (mi_gdb_test): Add additional message
9006 for unexpected output.
9007
9008 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9009
9010 * gdb.base/examine-backward.c (Barrier): New character array
9011 constant, to ensure that TestStrings is preceded by a string
9012 terminator.
9013
9014 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9015
9016 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9017 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9018 and implicit pointer into such a location.
9019
9020 2017-03-16 Doug Evans <dje@google.com>
9021
9022 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9023
9024 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9025
9026 * gdb.cp/m-static.exp: Fix expectation for prototype of
9027 test5.single_constructor and single_constructor::single_constructor.
9028
9029 2017-03-16 Doug Evans <dje@google.com>
9030
9031 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9032 * gdb.guile/scm-lazy-string.c: New file.
9033 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9034 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9035 for pointer, array, typedef lazy strings.
9036
9037 2017-03-16 Doug Evans <dje@google.com>
9038
9039 PR python/17728, python/18439, python/18779
9040 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9041 * gdb.python/py-lazy-string.c (pointer): New typedef.
9042 (main): New locals ptr, array, typedef_ptr.
9043 * gdb.python/py-value.exp: Move lazy string tests to ...
9044 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9045 array, typedef lazy strings.
9046
9047 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9048
9049 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9050 Add optional 'test' parameter.
9051
9052 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9053
9054 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9055 Skip for versions of DejaGnu < 1.5.
9056
9057 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9058
9059 * lib/gdb.exp (dejagnu_version): New proc.
9060 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9061 Use dejagnu_version.
9062
9063 2017-03-10 Keith Seitz <keiths@redhat.com>
9064
9065 PR c++/8128
9066 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9067 type from destructor regexps.
9068 Add a branch which actually passes the test.
9069 Adjust "ptype t5i" test names.
9070
9071 2017-03-08 Pedro Alves <palves@redhat.com>
9072
9073 * gdb.base/step-over-exit.exp: Add explicit test message.
9074
9075 2017-03-08 Pedro Alves <palves@redhat.com>
9076
9077 PR gdb/18360
9078 * gdb.threads/interrupt-while-step-over.c: New file.
9079 * gdb.threads/interrupt-while-step-over.exp: New file.
9080
9081 2017-03-08 Pedro Alves <palves@redhat.com>
9082
9083 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9084 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9085
9086 2017-03-08 Pedro Alves <palves@redhat.com>
9087
9088 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9089 PKRU as not supported as a PASS.
9090
9091 2017-03-08 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9094 prefix instead of $binfile1/$binfile2.
9095 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9096 in test message.
9097 * gdb.python/py-completion.exp: Use "load python file" as test
9098 messages instead of unstable path names.
9099
9100 2017-03-08 Pedro Alves <palves@redhat.com>
9101 Jan Kratochvil <jan.kratochvil@redhat.com>
9102
9103 PR cli/21218
9104 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9105 New proc.
9106 (top level): Call it.
9107
9108 2017-03-08 Pedro Alves <palves@redhat.com>
9109
9110 PR tui/21216
9111 * gdb.tui/tui-nl-filtered-output.exp: New file.
9112
9113 2017-03-08 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.base/completion.exp: Move TUI completion tests to ...
9116 * gdb.tui/completion.exp: ... this new file.
9117
9118 2017-03-08 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/tui-disasm-long-lines.c,
9121 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9122 gdb.base/tui-layout.exp: Move to ...
9123 * gdb.tui/: ... this new directory.
9124
9125 2017-03-07 Pedro Alves <palves@redhat.com>
9126
9127 * gdb.base/tui-layout.c: New file.
9128 * gdb.base/tui-layout.exp: New file.
9129
9130 2017-03-07 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.base/tui-layout.c: Rename to ...
9133 * gdb.base/tui-disasm-long-lines.c: ... this.
9134 * gdb.base/tui-layout.exp: Rename to ...
9135 * gdb.base/tui-disasm-long-lines.exp: ... this.
9136
9137 2017-03-07 Pedro Alves <palves@redhat.com>
9138
9139 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9140
9141 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9142
9143 * i386-mpx-call.c: New file.
9144 * i386-mpx-call.exp: New file.
9145
9146 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9147
9148 * gdb.arch/powerpc-power.exp: Delete test.
9149 * gdb.arch/powerpc-power.s: Likewise.
9150 * gdb.disasm/disassembler-options.exp: New test.
9151 * gdb.arch/powerpc-altivec.exp: Likewise.
9152 * gdb.arch/powerpc-altivec.s: Likewise.
9153 * gdb.arch/powerpc-altivec2.exp: Likewise.
9154 * gdb.arch/powerpc-altivec2.s: Likewise.
9155 * gdb.arch/powerpc-altivec3.exp: Likewise.
9156 * gdb.arch/powerpc-altivec3.s: Likewise.
9157 * gdb.arch/powerpc-power7.exp: Likewise.
9158 * gdb.arch/powerpc-power7.s: Likewise.
9159 * gdb.arch/powerpc-power8.exp: Likewise.
9160 * gdb.arch/powerpc-power8.s: Likewise.
9161 * gdb.arch/powerpc-power9.exp: Likewise.
9162 * gdb.arch/powerpc-power9.s: Likewise.
9163 * gdb.arch/powerpc-vsx.exp: Likewise.
9164 * gdb.arch/powerpc-vsx.s: Likewise.
9165 * gdb.arch/powerpc-vsx2.exp: Likewise.
9166 * gdb.arch/powerpc-vsx2.s: Likewise.
9167 * gdb.arch/powerpc-vsx3.exp: Likewise.
9168 * gdb.arch/powerpc-vsx3.s: Likewise.
9169 * gdb.arch/arm-disassembler-options.exp: Likewise.
9170 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9171 * gdb.arch/s390-disassembler-options.exp: Likewise.
9172
9173 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9174
9175 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9176 (check_supported_features): ... this. Changed return type to void.
9177 (supports_rdseed): New static global.
9178 (rdseed): Check supports_rdseed.
9179 (initialize): Call check_supported_features.
9180
9181 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9182
9183 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9184 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9185 and lqarx/stqcx.
9186 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9187 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9188
9189 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9190
9191 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9192 uppercase.
9193
9194 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9195
9196 * gdb.dwarf2/formdata16.c: New file.
9197 * gdb.dwarf2/formdata16.exp: New file.
9198 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9199
9200 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9203 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9204 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9205 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9206 DW_AT_GNU_*.
9207
9208 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9209
9210 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9211
9212 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9213
9214 PR gdb/21164
9215 * gdb.base/maint.exp: Add testcases for when the commands do
9216 not have arguments.
9217
9218 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9219
9220 * gdb.cp/chained-calls.exp: Use p instead of P.
9221
9222 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9223
9224 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9225 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9226
9227 2017-02-14 Tom Tromey <tom@tromey.com>
9228
9229 PR python/13598:
9230 * gdb.python/py-events.exp: Add before_prompt event tests.
9231
9232 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9233
9234 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9235
9236 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9237
9238 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9239 (main): Call my_unique_function_name.
9240 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9241 completion of patterns with a single match.
9242 Add missing -re switches to gdb_test_multiple calls.
9243
9244 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9245
9246 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9247 return if core file is not recognized.
9248
9249 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9250
9251 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9252 and extra UIs.
9253
9254 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9255
9256 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9257 proc_with_prefix.
9258
9259 2017-02-10 Tom Tromey <tom@tromey.com>
9260
9261 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9262
9263 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
9264
9265 PR gdb/21122
9266 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9267
9268 2017-02-08 Jerome Guitton <guitton@adacore.com>
9269
9270 * gdb.base/define.exp: Add test for command abbreviations
9271 in define.
9272
9273 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
9274
9275 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9276 * gdb.reverse/insn-reverse-x86.c: New file.
9277
9278 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9279
9280 PR tdep/20936
9281 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9282
9283 2017-02-03 Tom Tromey <tom@tromey.com>
9284
9285 PR rust/21097:
9286 * gdb.rust/simple.exp: Add new tests.
9287
9288 2017-02-02 Pedro Alves <palves@redhat.com>
9289
9290 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9291 tests.
9292
9293 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9294
9295 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9296 taking a 2-byte value out of a 4-byte DWARF implicit value on
9297 big-endian targets.
9298 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9299 logic. Add test cases for DW_OP_implicit.
9300
9301 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9302
9303 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9304
9305 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9306
9307 * gdb.btrace/enable.exp: Call gdb_exit before
9308 skip_gdbserver_tests.
9309
9310 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9313 GDBFLAGS.
9314
9315 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9316
9317 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9318 the test is skipped.
9319 * gdb.btrace/data.exp: Likewise.
9320 * gdb.btrace/delta.exp: Likewise.
9321 * gdb.btrace/dlopen.exp: Likewise.
9322 * gdb.btrace/enable-running.exp: Likewise.
9323 * gdb.btrace/enable.exp: Likewise.
9324 * gdb.btrace/exception.exp: Likewise.
9325 * gdb.btrace/function_call_history.exp: Likewise.
9326 * gdb.btrace/gcore.exp: Likewise.
9327 * gdb.btrace/instruction_history.exp: Likewise.
9328 * gdb.btrace/multi-thread-step.exp: Likewise.
9329 * gdb.btrace/nohist.exp: Likewise.
9330 * gdb.btrace/non-stop.exp: Likewise.
9331 * gdb.btrace/reconnect.exp: Likewise.
9332 * gdb.btrace/record_goto-step.exp: Likewise.
9333 * gdb.btrace/record_goto.exp: Likewise.
9334 * gdb.btrace/rn-dl-bind.exp: Likewise.
9335 * gdb.btrace/segv.exp: Likewise.
9336 * gdb.btrace/step.exp: Likewise.
9337 * gdb.btrace/stepi.exp: Likewise.
9338 * gdb.btrace/tailcall-only.exp: Likewise.
9339 * gdb.btrace/tailcall.exp: Likewise.
9340 * gdb.btrace/tsx.exp: Likewise.
9341 * gdb.btrace/unknown_functions.exp: Likewise.
9342 * gdb.btrace/vdso.exp: Likewise.
9343
9344 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9345
9346 * gdb.btrace/enable-running.c: New.
9347 * gdb.btrace/enable-running.exp: New.
9348
9349 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9350
9351 * gdb.arch/amd64-gs_base.c: New file.
9352 * gdb.arch/amd64-gs_base.exp: New file.
9353
9354 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9355
9356 * lib/memory.exp: Remove spurious empty newlines.
9357
9358 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9359
9360 * gdb.python/py-bad-printers.exp: Load python file using "source".
9361 * gdb.python/py-events.exp: Likewise.
9362 * gdb.python/py-evsignal.exp: Likewise.
9363 * gdb.python/py-evthreads.exp: Likewise.
9364 * gdb.python/py-frame-args.exp: Likewise.
9365 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9366 * gdb.python/py-framefilter-mi.exp: Likewise.
9367 * gdb.python/py-framefilter.exp: Likewise.
9368 * gdb.python/py-mi.exp: Likewise.
9369 * gdb.python/py-pp-maint.exp: Likewise.
9370 * gdb.python/py-pp-registration.exp: Likewise.
9371 * gdb.python/py-prettyprint.exp: Likewise.
9372 (run_lang_tests): Likewise.
9373 * gdb.python/py-typeprint.exp: Likewise.
9374
9375 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9376
9377 * lib/memory.exp: New file.
9378 * lib/gdb.exp: Load memory.exp.
9379 * gdb.base/memattr.exp (delete_memory): Move proc to
9380 lib/memory.exp and rename to delete_memory_regions.
9381 Replace delete_memory with delete_memory_regions.
9382 Cleanup memory regions before tests.
9383 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9384 before tests.
9385
9386 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9387
9388 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9389 files.
9390 (initialize): New function conditionally defined.
9391 (testcases): Move within conditional block.
9392 (main): Call initialize.
9393 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9394 of gdb.reverse/insn-reverse.c.
9395 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9396 gdb.reverse/insn-reverse.c.
9397
9398 2017-01-26 Yao Qi <yao.qi@linaro.org>
9399
9400 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9401 disassemble on address 0.
9402
9403 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9404 Yao Qi <yao.qi@linaro.org>
9405
9406 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9407 * gdb.dwarf2/implptr-64bit.S: Remove.
9408 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9409 variables in caller's context. Add DW_OP_implicit_value.
9410
9411 2017-01-25 Yao Qi <yao.qi@linaro.org>
9412
9413 * lib/dwarf.exp (Dwarf::_location): Handle
9414 DW_OP_GNU_implicit_pointer with proper size.
9415
9416 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9417
9418 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9419 and add untested calls.
9420
9421 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9422
9423 * gdb.python/python.exp: Check line number against what GDB thinks
9424 the line number is for func1.
9425
9426 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9427
9428 * gdb.dlang/debug-expr.exp: New file.
9429
9430 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
9431
9432 Fix test names for the following files:
9433
9434 * gdb.ada/exec_changed.exp
9435 * gdb.ada/info_types.exp
9436 * gdb.arch/aarch64-atomic-inst.exp
9437 * gdb.arch/aarch64-fp.exp
9438 * gdb.arch/altivec-abi.exp
9439 * gdb.arch/altivec-regs.exp
9440 * gdb.arch/amd64-byte.exp
9441 * gdb.arch/amd64-disp-step.exp
9442 * gdb.arch/amd64-dword.exp
9443 * gdb.arch/amd64-entry-value-inline.exp
9444 * gdb.arch/amd64-entry-value-param.exp
9445 * gdb.arch/amd64-entry-value-paramref.exp
9446 * gdb.arch/amd64-entry-value.exp
9447 * gdb.arch/amd64-i386-address.exp
9448 * gdb.arch/amd64-invalid-stack-middle.exp
9449 * gdb.arch/amd64-invalid-stack-top.exp
9450 * gdb.arch/amd64-optimout-repeat.exp
9451 * gdb.arch/amd64-prologue-skip.exp
9452 * gdb.arch/amd64-prologue-xmm.exp
9453 * gdb.arch/amd64-stap-special-operands.exp
9454 * gdb.arch/amd64-stap-wrong-subexp.exp
9455 * gdb.arch/amd64-tailcall-cxx.exp
9456 * gdb.arch/amd64-tailcall-noret.exp
9457 * gdb.arch/amd64-tailcall-ret.exp
9458 * gdb.arch/amd64-tailcall-self.exp
9459 * gdb.arch/amd64-word.exp
9460 * gdb.arch/arm-bl-branch-dest.exp
9461 * gdb.arch/arm-disp-step.exp
9462 * gdb.arch/arm-neon.exp
9463 * gdb.arch/arm-single-step-kernel-helper.exp
9464 * gdb.arch/avr-flash-qualifier.exp
9465 * gdb.arch/disp-step-insn-reloc.exp
9466 * gdb.arch/e500-abi.exp
9467 * gdb.arch/e500-regs.exp
9468 * gdb.arch/ftrace-insn-reloc.exp
9469 * gdb.arch/i386-avx512.exp
9470 * gdb.arch/i386-bp_permanent.exp
9471 * gdb.arch/i386-byte.exp
9472 * gdb.arch/i386-cfi-notcurrent.exp
9473 * gdb.arch/i386-disp-step.exp
9474 * gdb.arch/i386-dr3-watch.exp
9475 * gdb.arch/i386-float.exp
9476 * gdb.arch/i386-gnu-cfi.exp
9477 * gdb.arch/i386-mpx-map.exp
9478 * gdb.arch/i386-mpx-sigsegv.exp
9479 * gdb.arch/i386-mpx-simple_segv.exp
9480 * gdb.arch/i386-mpx.exp
9481 * gdb.arch/i386-permbkpt.exp
9482 * gdb.arch/i386-prologue.exp
9483 * gdb.arch/i386-signal.exp
9484 * gdb.arch/i386-size-overlap.exp
9485 * gdb.arch/i386-unwind.exp
9486 * gdb.arch/i386-word.exp
9487 * gdb.arch/mips-fcr.exp
9488 * gdb.arch/powerpc-d128-regs.exp
9489 * gdb.arch/powerpc-stackless.exp
9490 * gdb.arch/ppc64-atomic-inst.exp
9491 * gdb.arch/s390-stackless.exp
9492 * gdb.arch/s390-tdbregs.exp
9493 * gdb.arch/s390-vregs.exp
9494 * gdb.arch/sparc-sysstep.exp
9495 * gdb.arch/thumb-bx-pc.exp
9496 * gdb.arch/thumb-singlestep.exp
9497 * gdb.arch/thumb2-it.exp
9498 * gdb.arch/vsx-regs.exp
9499 * gdb.asm/asm-source.exp
9500 * gdb.base/a2-run.exp
9501 * gdb.base/advance.exp
9502 * gdb.base/all-bin.exp
9503 * gdb.base/anon.exp
9504 * gdb.base/args.exp
9505 * gdb.base/arithmet.exp
9506 * gdb.base/async-shell.exp
9507 * gdb.base/async.exp
9508 * gdb.base/attach-pie-noexec.exp
9509 * gdb.base/attach-twice.exp
9510 * gdb.base/auto-load.exp
9511 * gdb.base/bang.exp
9512 * gdb.base/bitfields.exp
9513 * gdb.base/break-always.exp
9514 * gdb.base/break-caller-line.exp
9515 * gdb.base/break-entry.exp
9516 * gdb.base/break-inline.exp
9517 * gdb.base/break-on-linker-gcd-function.exp
9518 * gdb.base/break-probes.exp
9519 * gdb.base/break.exp
9520 * gdb.base/breakpoint-shadow.exp
9521 * gdb.base/call-ar-st.exp
9522 * gdb.base/call-sc.exp
9523 * gdb.base/call-signal-resume.exp
9524 * gdb.base/call-strs.exp
9525 * gdb.base/callfuncs.exp
9526 * gdb.base/catch-fork-static.exp
9527 * gdb.base/catch-gdb-caused-signals.exp
9528 * gdb.base/catch-load.exp
9529 * gdb.base/catch-signal-fork.exp
9530 * gdb.base/catch-signal.exp
9531 * gdb.base/catch-syscall.exp
9532 * gdb.base/charset.exp
9533 * gdb.base/checkpoint.exp
9534 * gdb.base/chng-syms.exp
9535 * gdb.base/code-expr.exp
9536 * gdb.base/code_elim.exp
9537 * gdb.base/commands.exp
9538 * gdb.base/completion.exp
9539 * gdb.base/complex.exp
9540 * gdb.base/cond-expr.exp
9541 * gdb.base/condbreak.exp
9542 * gdb.base/consecutive.exp
9543 * gdb.base/continue-all-already-running.exp
9544 * gdb.base/coredump-filter.exp
9545 * gdb.base/corefile.exp
9546 * gdb.base/dbx.exp
9547 * gdb.base/debug-expr.exp
9548 * gdb.base/define.exp
9549 * gdb.base/del.exp
9550 * gdb.base/disabled-location.exp
9551 * gdb.base/disasm-end-cu.exp
9552 * gdb.base/disasm-optim.exp
9553 * gdb.base/display.exp
9554 * gdb.base/duplicate-bp.exp
9555 * gdb.base/ena-dis-br.exp
9556 * gdb.base/ending-run.exp
9557 * gdb.base/enumval.exp
9558 * gdb.base/environ.exp
9559 * gdb.base/eu-strip-infcall.exp
9560 * gdb.base/eval-avoid-side-effects.exp
9561 * gdb.base/eval-skip.exp
9562 * gdb.base/exitsignal.exp
9563 * gdb.base/expand-psymtabs.exp
9564 * gdb.base/filesym.exp
9565 * gdb.base/find-unmapped.exp
9566 * gdb.base/finish.exp
9567 * gdb.base/float.exp
9568 * gdb.base/foll-exec-mode.exp
9569 * gdb.base/foll-exec.exp
9570 * gdb.base/foll-fork.exp
9571 * gdb.base/fortran-sym-case.exp
9572 * gdb.base/freebpcmd.exp
9573 * gdb.base/func-ptr.exp
9574 * gdb.base/func-ptrs.exp
9575 * gdb.base/funcargs.exp
9576 * gdb.base/gcore-buffer-overflow.exp
9577 * gdb.base/gcore-relro-pie.exp
9578 * gdb.base/gcore-relro.exp
9579 * gdb.base/gcore.exp
9580 * gdb.base/gdb1090.exp
9581 * gdb.base/gdb11530.exp
9582 * gdb.base/gdb11531.exp
9583 * gdb.base/gdb1821.exp
9584 * gdb.base/gdbindex-stabs.exp
9585 * gdb.base/gdbvars.exp
9586 * gdb.base/hbreak.exp
9587 * gdb.base/hbreak2.exp
9588 * gdb.base/included.exp
9589 * gdb.base/infcall-input.exp
9590 * gdb.base/inferior-died.exp
9591 * gdb.base/infnan.exp
9592 * gdb.base/info-macros.exp
9593 * gdb.base/info-os.exp
9594 * gdb.base/info-proc.exp
9595 * gdb.base/info-shared.exp
9596 * gdb.base/info-target.exp
9597 * gdb.base/infoline.exp
9598 * gdb.base/interp.exp
9599 * gdb.base/interrupt.exp
9600 * gdb.base/jit-reader.exp
9601 * gdb.base/jit-simple.exp
9602 * gdb.base/kill-after-signal.exp
9603 * gdb.base/kill-detach-inferiors-cmd.exp
9604 * gdb.base/label.exp
9605 * gdb.base/langs.exp
9606 * gdb.base/ldbl_e308.exp
9607 * gdb.base/line-symtabs.exp
9608 * gdb.base/linespecs.exp
9609 * gdb.base/list.exp
9610 * gdb.base/long_long.exp
9611 * gdb.base/longest-types.exp
9612 * gdb.base/maint.exp
9613 * gdb.base/max-value-size.exp
9614 * gdb.base/memattr.exp
9615 * gdb.base/mips_pro.exp
9616 * gdb.base/morestack.exp
9617 * gdb.base/moribund-step.exp
9618 * gdb.base/multi-forks.exp
9619 * gdb.base/nested-addr.exp
9620 * gdb.base/nextoverexit.exp
9621 * gdb.base/noreturn-finish.exp
9622 * gdb.base/noreturn-return.exp
9623 * gdb.base/nostdlib.exp
9624 * gdb.base/offsets.exp
9625 * gdb.base/opaque.exp
9626 * gdb.base/pc-fp.exp
9627 * gdb.base/permissions.exp
9628 * gdb.base/print-symbol-loading.exp
9629 * gdb.base/prologue-include.exp
9630 * gdb.base/psymtab.exp
9631 * gdb.base/ptype.exp
9632 * gdb.base/random-signal.exp
9633 * gdb.base/randomize.exp
9634 * gdb.base/range-stepping.exp
9635 * gdb.base/readline-ask.exp
9636 * gdb.base/recpar.exp
9637 * gdb.base/recurse.exp
9638 * gdb.base/relational.exp
9639 * gdb.base/restore.exp
9640 * gdb.base/return-nodebug.exp
9641 * gdb.base/return.exp
9642 * gdb.base/run-after-attach.exp
9643 * gdb.base/save-bp.exp
9644 * gdb.base/scope.exp
9645 * gdb.base/sect-cmd.exp
9646 * gdb.base/set-lang-auto.exp
9647 * gdb.base/set-noassign.exp
9648 * gdb.base/setvar.exp
9649 * gdb.base/sigall.exp
9650 * gdb.base/sigbpt.exp
9651 * gdb.base/siginfo-addr.exp
9652 * gdb.base/siginfo-infcall.exp
9653 * gdb.base/siginfo-obj.exp
9654 * gdb.base/siginfo.exp
9655 * gdb.base/signals-state-child.exp
9656 * gdb.base/signest.exp
9657 * gdb.base/sigstep.exp
9658 * gdb.base/sizeof.exp
9659 * gdb.base/skip.exp
9660 * gdb.base/solib-corrupted.exp
9661 * gdb.base/solib-nodir.exp
9662 * gdb.base/solib-search.exp
9663 * gdb.base/stack-checking.exp
9664 * gdb.base/stale-infcall.exp
9665 * gdb.base/stap-probe.exp
9666 * gdb.base/start.exp
9667 * gdb.base/step-break.exp
9668 * gdb.base/step-bt.exp
9669 * gdb.base/step-line.exp
9670 * gdb.base/step-over-exit.exp
9671 * gdb.base/step-over-syscall.exp
9672 * gdb.base/step-resume-infcall.exp
9673 * gdb.base/step-test.exp
9674 * gdb.base/store.exp
9675 * gdb.base/structs3.exp
9676 * gdb.base/sym-file.exp
9677 * gdb.base/symbol-without-target_section.exp
9678 * gdb.base/term.exp
9679 * gdb.base/testenv.exp
9680 * gdb.base/ui-redirect.exp
9681 * gdb.base/until.exp
9682 * gdb.base/unwindonsignal.exp
9683 * gdb.base/value-double-free.exp
9684 * gdb.base/vla-datatypes.exp
9685 * gdb.base/vla-ptr.exp
9686 * gdb.base/vla-sideeffect.exp
9687 * gdb.base/volatile.exp
9688 * gdb.base/watch-cond-infcall.exp
9689 * gdb.base/watch-cond.exp
9690 * gdb.base/watch-non-mem.exp
9691 * gdb.base/watch-read.exp
9692 * gdb.base/watch-vfork.exp
9693 * gdb.base/watchpoint-cond-gone.exp
9694 * gdb.base/watchpoint-delete.exp
9695 * gdb.base/watchpoint-hw-hit-once.exp
9696 * gdb.base/watchpoint-hw.exp
9697 * gdb.base/watchpoint-stops-at-right-insn.exp
9698 * gdb.base/watchpoints.exp
9699 * gdb.base/wchar.exp
9700 * gdb.base/whatis-exp.exp
9701 * gdb.btrace/buffer-size.exp
9702 * gdb.btrace/data.exp
9703 * gdb.btrace/delta.exp
9704 * gdb.btrace/dlopen.exp
9705 * gdb.btrace/enable.exp
9706 * gdb.btrace/exception.exp
9707 * gdb.btrace/function_call_history.exp
9708 * gdb.btrace/gcore.exp
9709 * gdb.btrace/instruction_history.exp
9710 * gdb.btrace/nohist.exp
9711 * gdb.btrace/reconnect.exp
9712 * gdb.btrace/record_goto-step.exp
9713 * gdb.btrace/record_goto.exp
9714 * gdb.btrace/rn-dl-bind.exp
9715 * gdb.btrace/segv.exp
9716 * gdb.btrace/step.exp
9717 * gdb.btrace/stepi.exp
9718 * gdb.btrace/tailcall-only.exp
9719 * gdb.btrace/tailcall.exp
9720 * gdb.btrace/tsx.exp
9721 * gdb.btrace/unknown_functions.exp
9722 * gdb.btrace/vdso.exp
9723 * gdb.compile/compile-ifunc.exp
9724 * gdb.compile/compile-ops.exp
9725 * gdb.compile/compile-print.exp
9726 * gdb.compile/compile-setjmp.exp
9727 * gdb.cp/abstract-origin.exp
9728 * gdb.cp/ambiguous.exp
9729 * gdb.cp/annota2.exp
9730 * gdb.cp/annota3.exp
9731 * gdb.cp/anon-ns.exp
9732 * gdb.cp/anon-struct.exp
9733 * gdb.cp/anon-union.exp
9734 * gdb.cp/arg-reference.exp
9735 * gdb.cp/baseenum.exp
9736 * gdb.cp/bool.exp
9737 * gdb.cp/breakpoint.exp
9738 * gdb.cp/bs15503.exp
9739 * gdb.cp/call-c.exp
9740 * gdb.cp/casts.exp
9741 * gdb.cp/chained-calls.exp
9742 * gdb.cp/class2.exp
9743 * gdb.cp/classes.exp
9744 * gdb.cp/cmpd-minsyms.exp
9745 * gdb.cp/converts.exp
9746 * gdb.cp/cp-relocate.exp
9747 * gdb.cp/cpcompletion.exp
9748 * gdb.cp/cpexprs.exp
9749 * gdb.cp/cplabel.exp
9750 * gdb.cp/cplusfuncs.exp
9751 * gdb.cp/cpsizeof.exp
9752 * gdb.cp/ctti.exp
9753 * gdb.cp/derivation.exp
9754 * gdb.cp/destrprint.exp
9755 * gdb.cp/dispcxx.exp
9756 * gdb.cp/enum-class.exp
9757 * gdb.cp/exception.exp
9758 * gdb.cp/exceptprint.exp
9759 * gdb.cp/expand-psymtabs-cxx.exp
9760 * gdb.cp/expand-sals.exp
9761 * gdb.cp/extern-c.exp
9762 * gdb.cp/filename.exp
9763 * gdb.cp/formatted-ref.exp
9764 * gdb.cp/fpointer.exp
9765 * gdb.cp/gdb1355.exp
9766 * gdb.cp/gdb2495.exp
9767 * gdb.cp/hang.exp
9768 * gdb.cp/impl-this.exp
9769 * gdb.cp/infcall-dlopen.exp
9770 * gdb.cp/inherit.exp
9771 * gdb.cp/iostream.exp
9772 * gdb.cp/koenig.exp
9773 * gdb.cp/local.exp
9774 * gdb.cp/m-data.exp
9775 * gdb.cp/m-static.exp
9776 * gdb.cp/mb-ctor.exp
9777 * gdb.cp/mb-inline.exp
9778 * gdb.cp/mb-templates.exp
9779 * gdb.cp/member-name.exp
9780 * gdb.cp/member-ptr.exp
9781 * gdb.cp/meth-typedefs.exp
9782 * gdb.cp/method.exp
9783 * gdb.cp/method2.exp
9784 * gdb.cp/minsym-fallback.exp
9785 * gdb.cp/misc.exp
9786 * gdb.cp/namelessclass.exp
9787 * gdb.cp/namespace-enum.exp
9788 * gdb.cp/namespace-nested-import.exp
9789 * gdb.cp/namespace.exp
9790 * gdb.cp/nextoverthrow.exp
9791 * gdb.cp/no-dmgl-verbose.exp
9792 * gdb.cp/non-trivial-retval.exp
9793 * gdb.cp/noparam.exp
9794 * gdb.cp/nsdecl.exp
9795 * gdb.cp/nsimport.exp
9796 * gdb.cp/nsnested.exp
9797 * gdb.cp/nsnoimports.exp
9798 * gdb.cp/nsrecurs.exp
9799 * gdb.cp/nsstress.exp
9800 * gdb.cp/nsusing.exp
9801 * gdb.cp/operator.exp
9802 * gdb.cp/oranking.exp
9803 * gdb.cp/overload-const.exp
9804 * gdb.cp/overload.exp
9805 * gdb.cp/ovldbreak.exp
9806 * gdb.cp/ovsrch.exp
9807 * gdb.cp/paren-type.exp
9808 * gdb.cp/parse-lang.exp
9809 * gdb.cp/pass-by-ref.exp
9810 * gdb.cp/pr-1023.exp
9811 * gdb.cp/pr-1210.exp
9812 * gdb.cp/pr-574.exp
9813 * gdb.cp/pr10687.exp
9814 * gdb.cp/pr12028.exp
9815 * gdb.cp/pr17132.exp
9816 * gdb.cp/pr17494.exp
9817 * gdb.cp/pr9067.exp
9818 * gdb.cp/pr9167.exp
9819 * gdb.cp/pr9631.exp
9820 * gdb.cp/printmethod.exp
9821 * gdb.cp/psmang.exp
9822 * gdb.cp/psymtab-parameter.exp
9823 * gdb.cp/ptype-cv-cp.exp
9824 * gdb.cp/ptype-flags.exp
9825 * gdb.cp/re-set-overloaded.exp
9826 * gdb.cp/ref-types.exp
9827 * gdb.cp/rtti.exp
9828 * gdb.cp/scope-err.exp
9829 * gdb.cp/shadow.exp
9830 * gdb.cp/smartp.exp
9831 * gdb.cp/static-method.exp
9832 * gdb.cp/static-print-quit.exp
9833 * gdb.cp/temargs.exp
9834 * gdb.cp/templates.exp
9835 * gdb.cp/try_catch.exp
9836 * gdb.cp/typedef-operator.exp
9837 * gdb.cp/typeid.exp
9838 * gdb.cp/userdef.exp
9839 * gdb.cp/using-crash.exp
9840 * gdb.cp/var-tag.exp
9841 * gdb.cp/virtbase.exp
9842 * gdb.cp/virtfunc.exp
9843 * gdb.cp/virtfunc2.exp
9844 * gdb.cp/vla-cxx.exp
9845 * gdb.disasm/t01_mov.exp
9846 * gdb.disasm/t02_mova.exp
9847 * gdb.disasm/t03_add.exp
9848 * gdb.disasm/t04_sub.exp
9849 * gdb.disasm/t05_cmp.exp
9850 * gdb.disasm/t06_ari2.exp
9851 * gdb.disasm/t07_ari3.exp
9852 * gdb.disasm/t08_or.exp
9853 * gdb.disasm/t09_xor.exp
9854 * gdb.disasm/t10_and.exp
9855 * gdb.disasm/t11_logs.exp
9856 * gdb.disasm/t12_bit.exp
9857 * gdb.disasm/t13_otr.exp
9858 * gdb.dlang/circular.exp
9859 * gdb.dwarf2/arr-stride.exp
9860 * gdb.dwarf2/arr-subrange.exp
9861 * gdb.dwarf2/atomic-type.exp
9862 * gdb.dwarf2/bad-regnum.exp
9863 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9864 * gdb.dwarf2/callframecfa.exp
9865 * gdb.dwarf2/clztest.exp
9866 * gdb.dwarf2/corrupt.exp
9867 * gdb.dwarf2/data-loc.exp
9868 * gdb.dwarf2/dup-psym.exp
9869 * gdb.dwarf2/dw2-anon-mptr.exp
9870 * gdb.dwarf2/dw2-anonymous-func.exp
9871 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9872 * gdb.dwarf2/dw2-bad-unresolved.exp
9873 * gdb.dwarf2/dw2-basic.exp
9874 * gdb.dwarf2/dw2-canonicalize-type.exp
9875 * gdb.dwarf2/dw2-case-insensitive.exp
9876 * gdb.dwarf2/dw2-common-block.exp
9877 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9878 * gdb.dwarf2/dw2-compressed.exp
9879 * gdb.dwarf2/dw2-const.exp
9880 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9881 * gdb.dwarf2/dw2-cu-size.exp
9882 * gdb.dwarf2/dw2-dup-frame.exp
9883 * gdb.dwarf2/dw2-entry-value.exp
9884 * gdb.dwarf2/dw2-icycle.exp
9885 * gdb.dwarf2/dw2-ifort-parameter.exp
9886 * gdb.dwarf2/dw2-inline-break.exp
9887 * gdb.dwarf2/dw2-inline-param.exp
9888 * gdb.dwarf2/dw2-intercu.exp
9889 * gdb.dwarf2/dw2-intermix.exp
9890 * gdb.dwarf2/dw2-lexical-block-bare.exp
9891 * gdb.dwarf2/dw2-linkage-name-trust.exp
9892 * gdb.dwarf2/dw2-minsym-in-cu.exp
9893 * gdb.dwarf2/dw2-noloc.exp
9894 * gdb.dwarf2/dw2-op-call.exp
9895 * gdb.dwarf2/dw2-op-out-param.exp
9896 * gdb.dwarf2/dw2-opt-structptr.exp
9897 * gdb.dwarf2/dw2-param-error.exp
9898 * gdb.dwarf2/dw2-producer.exp
9899 * gdb.dwarf2/dw2-ranges-base.exp
9900 * gdb.dwarf2/dw2-ref-missing-frame.exp
9901 * gdb.dwarf2/dw2-reg-undefined.exp
9902 * gdb.dwarf2/dw2-regno-invalid.exp
9903 * gdb.dwarf2/dw2-restore.exp
9904 * gdb.dwarf2/dw2-restrict.exp
9905 * gdb.dwarf2/dw2-single-line-discriminators.exp
9906 * gdb.dwarf2/dw2-strp.exp
9907 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9908 * gdb.dwarf2/dw2-unresolved.exp
9909 * gdb.dwarf2/dw2-var-zero-addr.exp
9910 * gdb.dwarf2/dw4-sig-types.exp
9911 * gdb.dwarf2/dwz.exp
9912 * gdb.dwarf2/dynarr-ptr.exp
9913 * gdb.dwarf2/enum-type.exp
9914 * gdb.dwarf2/gdb-index.exp
9915 * gdb.dwarf2/implptr-64bit.exp
9916 * gdb.dwarf2/implptr-optimized-out.exp
9917 * gdb.dwarf2/implptr.exp
9918 * gdb.dwarf2/implref-array.exp
9919 * gdb.dwarf2/implref-const.exp
9920 * gdb.dwarf2/implref-global.exp
9921 * gdb.dwarf2/implref-struct.exp
9922 * gdb.dwarf2/mac-fileno.exp
9923 * gdb.dwarf2/main-subprogram.exp
9924 * gdb.dwarf2/member-ptr-forwardref.exp
9925 * gdb.dwarf2/method-ptr.exp
9926 * gdb.dwarf2/missing-sig-type.exp
9927 * gdb.dwarf2/nonvar-access.exp
9928 * gdb.dwarf2/opaque-type-lookup.exp
9929 * gdb.dwarf2/pieces-optimized-out.exp
9930 * gdb.dwarf2/pieces.exp
9931 * gdb.dwarf2/pr10770.exp
9932 * gdb.dwarf2/pr13961.exp
9933 * gdb.dwarf2/staticvirtual.exp
9934 * gdb.dwarf2/subrange.exp
9935 * gdb.dwarf2/symtab-producer.exp
9936 * gdb.dwarf2/trace-crash.exp
9937 * gdb.dwarf2/typeddwarf.exp
9938 * gdb.dwarf2/valop.exp
9939 * gdb.dwarf2/watch-notconst.exp
9940 * gdb.fortran/array-element.exp
9941 * gdb.fortran/charset.exp
9942 * gdb.fortran/common-block.exp
9943 * gdb.fortran/complex.exp
9944 * gdb.fortran/derived-type-function.exp
9945 * gdb.fortran/derived-type.exp
9946 * gdb.fortran/logical.exp
9947 * gdb.fortran/module.exp
9948 * gdb.fortran/multi-dim.exp
9949 * gdb.fortran/nested-funcs.exp
9950 * gdb.fortran/print-formatted.exp
9951 * gdb.fortran/subarray.exp
9952 * gdb.fortran/vla-alloc-assoc.exp
9953 * gdb.fortran/vla-datatypes.exp
9954 * gdb.fortran/vla-history.exp
9955 * gdb.fortran/vla-ptr-info.exp
9956 * gdb.fortran/vla-ptype-sub.exp
9957 * gdb.fortran/vla-ptype.exp
9958 * gdb.fortran/vla-sizeof.exp
9959 * gdb.fortran/vla-type.exp
9960 * gdb.fortran/vla-value-sub-arbitrary.exp
9961 * gdb.fortran/vla-value-sub-finish.exp
9962 * gdb.fortran/vla-value-sub.exp
9963 * gdb.fortran/vla-value.exp
9964 * gdb.fortran/whatis_type.exp
9965 * gdb.go/chan.exp
9966 * gdb.go/handcall.exp
9967 * gdb.go/hello.exp
9968 * gdb.go/integers.exp
9969 * gdb.go/methods.exp
9970 * gdb.go/package.exp
9971 * gdb.go/strings.exp
9972 * gdb.go/types.exp
9973 * gdb.go/unsafe.exp
9974 * gdb.guile/scm-arch.exp
9975 * gdb.guile/scm-block.exp
9976 * gdb.guile/scm-breakpoint.exp
9977 * gdb.guile/scm-cmd.exp
9978 * gdb.guile/scm-disasm.exp
9979 * gdb.guile/scm-equal.exp
9980 * gdb.guile/scm-frame-args.exp
9981 * gdb.guile/scm-frame-inline.exp
9982 * gdb.guile/scm-frame.exp
9983 * gdb.guile/scm-iterator.exp
9984 * gdb.guile/scm-math.exp
9985 * gdb.guile/scm-objfile.exp
9986 * gdb.guile/scm-ports.exp
9987 * gdb.guile/scm-symbol.exp
9988 * gdb.guile/scm-symtab.exp
9989 * gdb.guile/scm-value-cc.exp
9990 * gdb.guile/types-module.exp
9991 * gdb.linespec/break-ask.exp
9992 * gdb.linespec/cpexplicit.exp
9993 * gdb.linespec/explicit.exp
9994 * gdb.linespec/keywords.exp
9995 * gdb.linespec/linespec.exp
9996 * gdb.linespec/ls-dollar.exp
9997 * gdb.linespec/ls-errs.exp
9998 * gdb.linespec/skip-two.exp
9999 * gdb.linespec/thread.exp
10000 * gdb.mi/mi-async.exp
10001 * gdb.mi/mi-basics.exp
10002 * gdb.mi/mi-break.exp
10003 * gdb.mi/mi-catch-load.exp
10004 * gdb.mi/mi-cli.exp
10005 * gdb.mi/mi-cmd-param-changed.exp
10006 * gdb.mi/mi-console.exp
10007 * gdb.mi/mi-detach.exp
10008 * gdb.mi/mi-disassemble.exp
10009 * gdb.mi/mi-eval.exp
10010 * gdb.mi/mi-file-transfer.exp
10011 * gdb.mi/mi-file.exp
10012 * gdb.mi/mi-fill-memory.exp
10013 * gdb.mi/mi-inheritance-syntax-error.exp
10014 * gdb.mi/mi-linespec-err-cp.exp
10015 * gdb.mi/mi-logging.exp
10016 * gdb.mi/mi-memory-changed.exp
10017 * gdb.mi/mi-read-memory.exp
10018 * gdb.mi/mi-record-changed.exp
10019 * gdb.mi/mi-reg-undefined.exp
10020 * gdb.mi/mi-regs.exp
10021 * gdb.mi/mi-return.exp
10022 * gdb.mi/mi-reverse.exp
10023 * gdb.mi/mi-simplerun.exp
10024 * gdb.mi/mi-solib.exp
10025 * gdb.mi/mi-stack.exp
10026 * gdb.mi/mi-stepi.exp
10027 * gdb.mi/mi-syn-frame.exp
10028 * gdb.mi/mi-until.exp
10029 * gdb.mi/mi-var-block.exp
10030 * gdb.mi/mi-var-child.exp
10031 * gdb.mi/mi-var-cmd.exp
10032 * gdb.mi/mi-var-cp.exp
10033 * gdb.mi/mi-var-display.exp
10034 * gdb.mi/mi-var-invalidate.exp
10035 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10036 * gdb.mi/mi-vla-fortran.exp
10037 * gdb.mi/mi-watch.exp
10038 * gdb.mi/mi2-var-child.exp
10039 * gdb.mi/user-selected-context-sync.exp
10040 * gdb.modula2/unbounded-array.exp
10041 * gdb.multi/dummy-frame-restore.exp
10042 * gdb.multi/multi-arch-exec.exp
10043 * gdb.multi/multi-arch.exp
10044 * gdb.multi/tids.exp
10045 * gdb.multi/watchpoint-multi.exp
10046 * gdb.opencl/callfuncs.exp
10047 * gdb.opencl/convs_casts.exp
10048 * gdb.opencl/datatypes.exp
10049 * gdb.opencl/operators.exp
10050 * gdb.opencl/vec_comps.exp
10051 * gdb.opt/clobbered-registers-O2.exp
10052 * gdb.opt/inline-break.exp
10053 * gdb.opt/inline-bt.exp
10054 * gdb.opt/inline-cmds.exp
10055 * gdb.opt/inline-locals.exp
10056 * gdb.pascal/case-insensitive-symbols.exp
10057 * gdb.pascal/floats.exp
10058 * gdb.pascal/gdb11492.exp
10059 * gdb.python/lib-types.exp
10060 * gdb.python/py-arch.exp
10061 * gdb.python/py-as-string.exp
10062 * gdb.python/py-bad-printers.exp
10063 * gdb.python/py-block.exp
10064 * gdb.python/py-breakpoint-create-fail.exp
10065 * gdb.python/py-breakpoint.exp
10066 * gdb.python/py-caller-is.exp
10067 * gdb.python/py-cmd.exp
10068 * gdb.python/py-explore-cc.exp
10069 * gdb.python/py-explore.exp
10070 * gdb.python/py-finish-breakpoint.exp
10071 * gdb.python/py-finish-breakpoint2.exp
10072 * gdb.python/py-frame-args.exp
10073 * gdb.python/py-frame-inline.exp
10074 * gdb.python/py-frame.exp
10075 * gdb.python/py-framefilter-mi.exp
10076 * gdb.python/py-infthread.exp
10077 * gdb.python/py-lazy-string.exp
10078 * gdb.python/py-linetable.exp
10079 * gdb.python/py-mi-events.exp
10080 * gdb.python/py-mi-objfile.exp
10081 * gdb.python/py-mi.exp
10082 * gdb.python/py-objfile.exp
10083 * gdb.python/py-pp-integral.exp
10084 * gdb.python/py-pp-maint.exp
10085 * gdb.python/py-pp-re-notag.exp
10086 * gdb.python/py-pp-registration.exp
10087 * gdb.python/py-recurse-unwind.exp
10088 * gdb.python/py-strfns.exp
10089 * gdb.python/py-symbol.exp
10090 * gdb.python/py-symtab.exp
10091 * gdb.python/py-sync-interp.exp
10092 * gdb.python/py-typeprint.exp
10093 * gdb.python/py-unwind-maint.exp
10094 * gdb.python/py-unwind.exp
10095 * gdb.python/py-value-cc.exp
10096 * gdb.python/py-xmethods.exp
10097 * gdb.reverse/amd64-tailcall-reverse.exp
10098 * gdb.reverse/break-precsave.exp
10099 * gdb.reverse/break-reverse.exp
10100 * gdb.reverse/consecutive-precsave.exp
10101 * gdb.reverse/consecutive-reverse.exp
10102 * gdb.reverse/finish-precsave.exp
10103 * gdb.reverse/finish-reverse-bkpt.exp
10104 * gdb.reverse/finish-reverse.exp
10105 * gdb.reverse/fstatat-reverse.exp
10106 * gdb.reverse/getresuid-reverse.exp
10107 * gdb.reverse/i386-precsave.exp
10108 * gdb.reverse/i386-reverse.exp
10109 * gdb.reverse/i386-sse-reverse.exp
10110 * gdb.reverse/i387-env-reverse.exp
10111 * gdb.reverse/i387-stack-reverse.exp
10112 * gdb.reverse/insn-reverse.exp
10113 * gdb.reverse/machinestate-precsave.exp
10114 * gdb.reverse/machinestate.exp
10115 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10116 * gdb.reverse/pipe-reverse.exp
10117 * gdb.reverse/readv-reverse.exp
10118 * gdb.reverse/recvmsg-reverse.exp
10119 * gdb.reverse/rerun-prec.exp
10120 * gdb.reverse/s390-mvcle.exp
10121 * gdb.reverse/step-precsave.exp
10122 * gdb.reverse/step-reverse.exp
10123 * gdb.reverse/time-reverse.exp
10124 * gdb.reverse/until-precsave.exp
10125 * gdb.reverse/until-reverse.exp
10126 * gdb.reverse/waitpid-reverse.exp
10127 * gdb.reverse/watch-precsave.exp
10128 * gdb.reverse/watch-reverse.exp
10129 * gdb.rust/generics.exp
10130 * gdb.rust/methods.exp
10131 * gdb.rust/modules.exp
10132 * gdb.rust/simple.exp
10133 * gdb.server/connect-with-no-symbol-file.exp
10134 * gdb.server/ext-attach.exp
10135 * gdb.server/ext-restart.exp
10136 * gdb.server/ext-wrapper.exp
10137 * gdb.server/file-transfer.exp
10138 * gdb.server/server-exec-info.exp
10139 * gdb.server/server-kill.exp
10140 * gdb.server/server-mon.exp
10141 * gdb.server/wrapper.exp
10142 * gdb.stabs/exclfwd.exp
10143 * gdb.stabs/gdb11479.exp
10144 * gdb.threads/clone-new-thread-event.exp
10145 * gdb.threads/corethreads.exp
10146 * gdb.threads/current-lwp-dead.exp
10147 * gdb.threads/dlopen-libpthread.exp
10148 * gdb.threads/gcore-thread.exp
10149 * gdb.threads/sigstep-threads.exp
10150 * gdb.threads/watchpoint-fork.exp
10151 * gdb.trace/actions-changed.exp
10152 * gdb.trace/backtrace.exp
10153 * gdb.trace/change-loc.exp
10154 * gdb.trace/circ.exp
10155 * gdb.trace/collection.exp
10156 * gdb.trace/disconnected-tracing.exp
10157 * gdb.trace/ftrace.exp
10158 * gdb.trace/mi-trace-frame-collected.exp
10159 * gdb.trace/mi-trace-unavailable.exp
10160 * gdb.trace/mi-traceframe-changed.exp
10161 * gdb.trace/mi-tsv-changed.exp
10162 * gdb.trace/no-attach-trace.exp
10163 * gdb.trace/passc-dyn.exp
10164 * gdb.trace/qtro.exp
10165 * gdb.trace/range-stepping.exp
10166 * gdb.trace/read-memory.exp
10167 * gdb.trace/save-trace.exp
10168 * gdb.trace/signal.exp
10169 * gdb.trace/status-stop.exp
10170 * gdb.trace/tfile.exp
10171 * gdb.trace/trace-break.exp
10172 * gdb.trace/trace-buffer-size.exp
10173 * gdb.trace/trace-condition.exp
10174 * gdb.trace/tracefile-pseudo-reg.exp
10175 * gdb.trace/tstatus.exp
10176 * gdb.trace/unavailable.exp
10177 * gdb.trace/while-dyn.exp
10178 * gdb.trace/while-stepping.exp
10179
10180 2016-12-22 Doug Evans <xdje42@gmail.com>
10181
10182 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10183 and msymbols.
10184
10185 2016-12-19 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10188 (test_with_self): Don't call do_steps_and_nexts, and remove
10189 code about stepping into xmalloc.
10190
10191 2016-12-09 Yao Qi <yao.qi@linaro.org>
10192
10193 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10194
10195 2016-12-09 Yao Qi <yao.qi@linaro.org>
10196
10197 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10198
10199 2016-12-09 Pedro Alves <palves@redhat.com>
10200
10201 * gdb.base/all-architectures-0.exp: New file.
10202 * gdb.base/all-architectures-1.exp: New file.
10203 * gdb.base/all-architectures-2.exp: New file.
10204 * gdb.base/all-architectures-3.exp: New file.
10205 * gdb.base/all-architectures-4.exp: New file.
10206 * gdb.base/all-architectures-5.exp: New file.
10207 * gdb.base/all-architectures-6.exp: New file.
10208 * gdb.base/all-architectures-7.exp: New file.
10209 * gdb.base/all-architectures.exp.in: New file.
10210
10211 2016-12-09 Yao Qi <yao.qi@linaro.org>
10212
10213 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10214
10215 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10216
10217 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10218 possible.
10219 Remove useless pattern-matching code.
10220
10221 2016-12-02 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10224 procedure.
10225 (top level): Call it.
10226
10227 2016-12-02 Pedro Alves <palves@redhat.com>
10228
10229 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10230 New procedure.
10231 (top level): Call it.
10232
10233 2016-12-02 Pedro Alves <palves@redhat.com>
10234
10235 PR cli/20559
10236 * gdb.base/commands.exp (user_defined_command_args_eval): New
10237 procedure.
10238 (top level): Call it.
10239
10240 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10241
10242 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10243 timeout handling.
10244
10245 2016-12-02 Tom Tromey <tom@tromey.com>
10246
10247 * gdb.dwarf2/main-subprogram.c: New file.
10248 * gdb.dwarf2/main-subprogram.exp: New file.
10249
10250 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10251
10252 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10253 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10254 gdb_test_no_output for a couple of cases.
10255 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10256
10257 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10258
10259 Fix test names and standardize compilation error messages throughout
10260 the following files:
10261
10262 * gdb.ada/start.exp
10263 * gdb.arch/alpha-step.exp
10264 * gdb.arch/e500-prologue.exp
10265 * gdb.arch/ftrace-insn-reloc.exp
10266 * gdb.arch/gdb1291.exp
10267 * gdb.arch/gdb1431.exp
10268 * gdb.arch/gdb1558.exp
10269 * gdb.arch/i386-dr3-watch.exp
10270 * gdb.arch/i386-sse-stack-align.exp
10271 * gdb.arch/ia64-breakpoint-shadow.exp
10272 * gdb.arch/pa-nullify.exp
10273 * gdb.arch/powerpc-aix-prologue.exp
10274 * gdb.arch/thumb-bx-pc.exp
10275 * gdb.base/annota1.exp
10276 * gdb.base/annota3.exp
10277 * gdb.base/arrayidx.exp
10278 * gdb.base/assign.exp
10279 * gdb.base/attach.exp
10280 * gdb.base/auxv.exp
10281 * gdb.base/bang.exp
10282 * gdb.base/bfp-test.exp
10283 * gdb.base/bigcore.exp
10284 * gdb.base/bitfields2.exp
10285 * gdb.base/break-fun-addr.exp
10286 * gdb.base/break-probes.exp
10287 * gdb.base/call-rt-st.exp
10288 * gdb.base/callexit.exp
10289 * gdb.base/catch-fork-kill.exp
10290 * gdb.base/charset.exp
10291 * gdb.base/checkpoint.exp
10292 * gdb.base/comprdebug.exp
10293 * gdb.base/constvars.exp
10294 * gdb.base/coredump-filter.exp
10295 * gdb.base/cursal.exp
10296 * gdb.base/cvexpr.exp
10297 * gdb.base/detach.exp
10298 * gdb.base/display.exp
10299 * gdb.base/dmsym.exp
10300 * gdb.base/dprintf-pending.exp
10301 * gdb.base/dso2dso.exp
10302 * gdb.base/dtrace-probe.exp
10303 * gdb.base/dump.exp
10304 * gdb.base/enum_cond.exp
10305 * gdb.base/exe-lock.exp
10306 * gdb.base/exec-invalid-sysroot.exp
10307 * gdb.base/execl-update-breakpoints.exp
10308 * gdb.base/exprs.exp
10309 * gdb.base/fileio.exp
10310 * gdb.base/find.exp
10311 * gdb.base/finish.exp
10312 * gdb.base/fixsection.exp
10313 * gdb.base/foll-vfork.exp
10314 * gdb.base/frame-args.exp
10315 * gdb.base/gcore.exp
10316 * gdb.base/gdb1250.exp
10317 * gdb.base/global-var-nested-by-dso.exp
10318 * gdb.base/gnu-ifunc.exp
10319 * gdb.base/hashline1.exp
10320 * gdb.base/hashline2.exp
10321 * gdb.base/hashline3.exp
10322 * gdb.base/hbreak-in-shr-unsupported.exp
10323 * gdb.base/huge.exp
10324 * gdb.base/infcall-input.exp
10325 * gdb.base/info-fun.exp
10326 * gdb.base/info-shared.exp
10327 * gdb.base/jit-simple.exp
10328 * gdb.base/jit-so.exp
10329 * gdb.base/jit.exp
10330 * gdb.base/jump.exp
10331 * gdb.base/label.exp
10332 * gdb.base/lineinc.exp
10333 * gdb.base/logical.exp
10334 * gdb.base/longjmp.exp
10335 * gdb.base/macscp.exp
10336 * gdb.base/miscexprs.exp
10337 * gdb.base/new-ui-echo.exp
10338 * gdb.base/new-ui-pending-input.exp
10339 * gdb.base/new-ui.exp
10340 * gdb.base/nodebug.exp
10341 * gdb.base/nofield.exp
10342 * gdb.base/offsets.exp
10343 * gdb.base/overlays.exp
10344 * gdb.base/pending.exp
10345 * gdb.base/pointers.exp
10346 * gdb.base/pr11022.exp
10347 * gdb.base/printcmds.exp
10348 * gdb.base/prologue.exp
10349 * gdb.base/ptr-typedef.exp
10350 * gdb.base/realname-expand.exp
10351 * gdb.base/relativedebug.exp
10352 * gdb.base/relocate.exp
10353 * gdb.base/remote.exp
10354 * gdb.base/reread.exp
10355 * gdb.base/return2.exp
10356 * gdb.base/savedregs.exp
10357 * gdb.base/sep.exp
10358 * gdb.base/sepdebug.exp
10359 * gdb.base/sepsymtab.exp
10360 * gdb.base/set-inferior-tty.exp
10361 * gdb.base/setshow.exp
10362 * gdb.base/shlib-call.exp
10363 * gdb.base/sigaltstack.exp
10364 * gdb.base/siginfo-addr.exp
10365 * gdb.base/signals.exp
10366 * gdb.base/signull.exp
10367 * gdb.base/sigrepeat.exp
10368 * gdb.base/so-impl-ld.exp
10369 * gdb.base/solib-display.exp
10370 * gdb.base/solib-overlap.exp
10371 * gdb.base/solib-search.exp
10372 * gdb.base/solib-symbol.exp
10373 * gdb.base/structs.exp
10374 * gdb.base/structs2.exp
10375 * gdb.base/symtab-search-order.exp
10376 * gdb.base/twice.exp
10377 * gdb.base/unload.exp
10378 * gdb.base/varargs.exp
10379 * gdb.base/watchpoint-solib.exp
10380 * gdb.base/watchpoint.exp
10381 * gdb.base/whatis.exp
10382 * gdb.base/wrong_frame_bt_full.exp
10383 * gdb.btrace/dlopen.exp
10384 * gdb.cell/ea-standalone.exp
10385 * gdb.cell/ea-test.exp
10386 * gdb.cp/dispcxx.exp
10387 * gdb.cp/gdb2384.exp
10388 * gdb.cp/method2.exp
10389 * gdb.cp/nextoverthrow.exp
10390 * gdb.cp/pr10728.exp
10391 * gdb.disasm/am33.exp
10392 * gdb.disasm/h8300s.exp
10393 * gdb.disasm/mn10300.exp
10394 * gdb.disasm/sh3.exp
10395 * gdb.dwarf2/dw2-dir-file-name.exp
10396 * gdb.fortran/complex.exp
10397 * gdb.fortran/library-module.exp
10398 * gdb.guile/scm-pretty-print.exp
10399 * gdb.guile/scm-symbol.exp
10400 * gdb.guile/scm-type.exp
10401 * gdb.guile/scm-value.exp
10402 * gdb.linespec/linespec.exp
10403 * gdb.mi/gdb701.exp
10404 * gdb.mi/gdb792.exp
10405 * gdb.mi/mi-breakpoint-changed.exp
10406 * gdb.mi/mi-dprintf-pending.exp
10407 * gdb.mi/mi-dprintf.exp
10408 * gdb.mi/mi-exit-code.exp
10409 * gdb.mi/mi-pending.exp
10410 * gdb.mi/mi-solib.exp
10411 * gdb.mi/new-ui-mi-sync.exp
10412 * gdb.mi/pr11022.exp
10413 * gdb.mi/user-selected-context-sync.exp
10414 * gdb.opt/solib-intra-step.exp
10415 * gdb.python/py-events.exp
10416 * gdb.python/py-finish-breakpoint.exp
10417 * gdb.python/py-mi.exp
10418 * gdb.python/py-prettyprint.exp
10419 * gdb.python/py-shared.exp
10420 * gdb.python/py-symbol.exp
10421 * gdb.python/py-template.exp
10422 * gdb.python/py-type.exp
10423 * gdb.python/py-value.exp
10424 * gdb.reverse/solib-precsave.exp
10425 * gdb.reverse/solib-reverse.exp
10426 * gdb.server/solib-list.exp
10427 * gdb.stabs/weird.exp
10428 * gdb.threads/reconnect-signal.exp
10429 * gdb.threads/stepi-random-signal.exp
10430 * gdb.trace/actions.exp
10431 * gdb.trace/ax.exp
10432 * gdb.trace/backtrace.exp
10433 * gdb.trace/change-loc.exp
10434 * gdb.trace/deltrace.exp
10435 * gdb.trace/ftrace-lock.exp
10436 * gdb.trace/ftrace.exp
10437 * gdb.trace/infotrace.exp
10438 * gdb.trace/mi-tracepoint-changed.exp
10439 * gdb.trace/packetlen.exp
10440 * gdb.trace/passcount.exp
10441 * gdb.trace/pending.exp
10442 * gdb.trace/range-stepping.exp
10443 * gdb.trace/report.exp
10444 * gdb.trace/stap-trace.exp
10445 * gdb.trace/tfind.exp
10446 * gdb.trace/trace-break.exp
10447 * gdb.trace/trace-condition.exp
10448 * gdb.trace/trace-enable-disable.exp
10449 * gdb.trace/trace-mt.exp
10450 * gdb.trace/tracecmd.exp
10451 * gdb.trace/tspeed.exp
10452 * gdb.trace/tsv.exp
10453 * lib/perftest.exp
10454
10455 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10456
10457 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10458 with gdb_test_no_output.
10459 Use command as test name.
10460
10461 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10462
10463 Fix test names starting with uppercase throughout the files.
10464
10465 * gdb.ada/assign_1.exp
10466 * gdb.ada/boolean_expr.exp
10467 * gdb.base/arrayidx.exp
10468 * gdb.base/del.exp
10469 * gdb.base/gcore-buffer-overflow.exp
10470 * gdb.base/testenv.exp
10471 * gdb.compile/compile.exp
10472 * gdb.python/py-framefilter-invalidarg.exp
10473 * gdb.python/py-framefilter.exp
10474
10475 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10476
10477 Fix test names starting with uppercase throughout the files.
10478
10479 * gdb.ada/array_return.exp
10480 * gdb.ada/expr_delims.exp
10481 * gdb.ada/mi_dyn_arr.exp
10482 * gdb.ada/mi_interface.exp
10483 * gdb.ada/mi_var_array.exp
10484 * gdb.ada/watch_arg.exp
10485 * gdb.arch/alpha-step.exp
10486 * gdb.arch/altivec-regs.exp
10487 * gdb.arch/e500-regs.exp
10488 * gdb.arch/powerpc-d128-regs.exp
10489 * gdb.base/arrayidx.exp
10490 * gdb.base/break.exp
10491 * gdb.base/checkpoint.exp
10492 * gdb.base/debug-expr.exp
10493 * gdb.base/dmsym.exp
10494 * gdb.base/radix.exp
10495 * gdb.base/sepdebug.exp
10496 * gdb.base/testenv.exp
10497 * gdb.base/watch_thread_num.exp
10498 * gdb.base/watchpoint-cond-gone.exp
10499 * gdb.cell/break.exp
10500 * gdb.cell/ea-cache.exp
10501 * gdb.compile/compile.exp
10502 * gdb.cp/gdb2495.exp
10503 * gdb.gdb/selftest.exp
10504 * gdb.gdb/xfullpath.exp
10505 * gdb.go/hello.exp
10506 * gdb.go/integers.exp
10507 * gdb.objc/basicclass.exp
10508 * gdb.pascal/hello.exp
10509 * gdb.pascal/integers.exp
10510 * gdb.python/py-breakpoint.exp
10511 * gdb.python/py-cmd.exp
10512 * gdb.python/py-linetable.exp
10513 * gdb.python/py-xmethods.exp
10514 * gdb.python/python.exp
10515 * gdb.reverse/consecutive-precsave.exp
10516 * gdb.reverse/finish-precsave.exp
10517 * gdb.reverse/i386-precsave.exp
10518 * gdb.reverse/machinestate-precsave.exp
10519 * gdb.reverse/sigall-precsave.exp
10520 * gdb.reverse/solib-precsave.exp
10521 * gdb.reverse/step-precsave.exp
10522 * gdb.reverse/until-precsave.exp
10523 * gdb.reverse/watch-precsave.exp
10524 * gdb.threads/leader-exit.exp
10525 * gdb.threads/pthreads.exp
10526 * gdb.threads/wp-replication.exp
10527 * gdb.trace/actions.exp
10528 * gdb.trace/mi-tsv-changed.exp
10529 * gdb.trace/tsv.exp
10530
10531 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10532
10533 Fix test names starting with uppercase throughout the files.
10534
10535 * gdb.arch/i386-bp_permanent.exp
10536 * gdb.arch/i386-gnu-cfi.exp
10537 * gdb.base/disasm-end-cu.exp
10538 * gdb.base/macscp.exp
10539 * gdb.base/pending.exp
10540 * gdb.base/watch_thread_num.exp
10541 * gdb.cp/exception.exp
10542 * gdb.cp/gdb2495.exp
10543 * gdb.cp/local.exp
10544 * gdb.python/py-evsignal.exp
10545 * gdb.python/python.exp
10546 * gdb.trace/tracecmd.exp
10547
10548 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10549
10550 Fix test names starting with uppercase throughout the files.
10551
10552 * gdb.base/charset.exp
10553 * gdb.base/eval.exp
10554 * gdb.base/multi-forks.exp
10555 * gdb.guile/scm-progspace.exp
10556 * gdb.opencl/datatypes.exp
10557 * gdb.python/py-block.exp
10558 * gdb.python/py-function.exp
10559 * gdb.python/py-symbol.exp
10560 * gdb.python/py-symtab.exp
10561 * gdb.python/py-xmethods.exp
10562 * gdb.reverse/break-precsave.exp
10563 * gdb.reverse/break-reverse.exp
10564 * gdb.reverse/consecutive-precsave.exp
10565 * gdb.reverse/consecutive-reverse.exp
10566 * gdb.reverse/finish-precsave.exp
10567 * gdb.reverse/finish-reverse-bkpt.exp
10568 * gdb.reverse/finish-reverse.exp
10569 * gdb.reverse/fstatat-reverse.exp
10570 * gdb.reverse/getresuid-reverse.exp
10571 * gdb.reverse/i386-precsave.exp
10572 * gdb.reverse/i386-reverse.exp
10573 * gdb.reverse/i386-sse-reverse.exp
10574 * gdb.reverse/i387-stack-reverse.exp
10575 * gdb.reverse/insn-reverse.exp
10576 * gdb.reverse/machinestate-precsave.exp
10577 * gdb.reverse/machinestate.exp
10578 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10579 * gdb.reverse/pipe-reverse.exp
10580 * gdb.reverse/readv-reverse.exp
10581 * gdb.reverse/recvmsg-reverse.exp
10582 * gdb.reverse/rerun-prec.exp
10583 * gdb.reverse/s390-mvcle.exp
10584 * gdb.reverse/sigall-precsave.exp
10585 * gdb.reverse/sigall-reverse.exp
10586 * gdb.reverse/solib-precsave.exp
10587 * gdb.reverse/solib-reverse.exp
10588 * gdb.reverse/step-precsave.exp
10589 * gdb.reverse/step-reverse.exp
10590 * gdb.reverse/time-reverse.exp
10591 * gdb.reverse/until-precsave.exp
10592 * gdb.reverse/until-reverse.exp
10593 * gdb.reverse/waitpid-reverse.exp
10594 * gdb.reverse/watch-precsave.exp
10595 * gdb.reverse/watch-reverse.exp
10596
10597 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10598
10599 Fix test names starting with uppercase throughout the files.
10600
10601 * gdb.arch/i386-mpx-simple_segv.exp
10602 * gdb.arch/i386-mpx.exp
10603 * gdb.arch/i386-permbkpt.exp
10604 * gdb.arch/pa-nullify.exp
10605 * gdb.arch/powerpc-d128-regs.exp
10606 * gdb.arch/vsx-regs.exp
10607 * gdb.base/bfp-test.exp
10608 * gdb.base/break.exp
10609 * gdb.base/breakpoint-shadow.exp
10610 * gdb.base/callfuncs.exp
10611 * gdb.base/charset.exp
10612 * gdb.base/commands.exp
10613 * gdb.base/completion.exp
10614 * gdb.base/dfp-test.exp
10615 * gdb.base/echo.exp
10616 * gdb.base/ending-run.exp
10617 * gdb.base/eval.exp
10618 * gdb.base/expand-psymtabs.exp
10619 * gdb.base/float128.exp
10620 * gdb.base/floatn.exp
10621 * gdb.base/foll-exec-mode.exp
10622 * gdb.base/gdb1056.exp
10623 * gdb.base/gdb11531.exp
10624 * gdb.base/kill-after-signal.exp
10625 * gdb.base/multi-forks.exp
10626 * gdb.base/overlays.exp
10627 * gdb.base/pending.exp
10628 * gdb.base/sepdebug.exp
10629 * gdb.base/testenv.exp
10630 * gdb.base/valgrind-db-attach.exp
10631 * gdb.base/watch_thread_num.exp
10632 * gdb.base/watchpoint-cond-gone.exp
10633 * gdb.base/watchpoint.exp
10634 * gdb.base/watchpoints.exp
10635 * gdb.cp/arg-reference.exp
10636 * gdb.cp/baseenum.exp
10637 * gdb.cp/operator.exp
10638 * gdb.cp/shadow.exp
10639 * gdb.dwarf2/dw2-op-out-param.exp
10640 * gdb.dwarf2/dw2-reg-undefined.exp
10641 * gdb.go/chan.exp
10642 * gdb.go/hello.exp
10643 * gdb.go/integers.exp
10644 * gdb.go/methods.exp
10645 * gdb.go/package.exp
10646 * gdb.guile/scm-parameter.exp
10647 * gdb.guile/scm-progspace.exp
10648 * gdb.guile/scm-value.exp
10649 * gdb.mi/mi-pending.exp
10650 * gdb.mi/user-selected-context-sync.exp
10651 * gdb.multi/multi-attach.exp
10652 * gdb.multi/tids.exp
10653 * gdb.opt/clobbered-registers-O2.exp
10654 * gdb.pascal/floats.exp
10655 * gdb.pascal/integers.exp
10656 * gdb.python/py-block.exp
10657 * gdb.python/py-events.exp
10658 * gdb.python/py-parameter.exp
10659 * gdb.python/py-symbol.exp
10660 * gdb.python/py-symtab.exp
10661 * gdb.python/py-type.exp
10662 * gdb.python/py-value.exp
10663 * gdb.python/py-xmethods.exp
10664 * gdb.python/python.exp
10665 * gdb.reverse/break-precsave.exp
10666 * gdb.reverse/consecutive-precsave.exp
10667 * gdb.reverse/finish-precsave.exp
10668 * gdb.reverse/i386-precsave.exp
10669 * gdb.reverse/machinestate-precsave.exp
10670 * gdb.reverse/sigall-precsave.exp
10671 * gdb.reverse/solib-precsave.exp
10672 * gdb.reverse/step-precsave.exp
10673 * gdb.reverse/until-precsave.exp
10674 * gdb.reverse/watch-precsave.exp
10675 * gdb.server/ext-attach.exp
10676 * gdb.server/ext-restart.exp
10677 * gdb.server/ext-run.exp
10678 * gdb.server/ext-wrapper.exp
10679 * gdb.stabs/gdb11479.exp
10680 * gdb.stabs/weird.exp
10681 * gdb.threads/attach-many-short-lived-threads.exp
10682 * gdb.threads/kill.exp
10683 * gdb.threads/watchpoint-fork.exp
10684
10685 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10686
10687 Fix test names starting with uppercase throughout all the files below.
10688
10689 * gdb.ada/array_return.exp
10690 * gdb.ada/catch_ex.exp
10691 * gdb.ada/info_exc.exp
10692 * gdb.ada/mi_catch_ex.exp
10693 * gdb.ada/mi_dyn_arr.exp
10694 * gdb.ada/mi_ex_cond.exp
10695 * gdb.ada/mi_exc_info.exp
10696 * gdb.ada/mi_interface.exp
10697 * gdb.ada/mi_task_arg.exp
10698 * gdb.ada/mi_task_info.exp
10699 * gdb.ada/mi_var_array.exp
10700 * gdb.arch/alpha-step.exp
10701 * gdb.arch/amd64-disp-step.exp
10702 * gdb.arch/arm-disp-step.exp
10703 * gdb.arch/disp-step-insn-reloc.exp
10704 * gdb.arch/e500-prologue.exp
10705 * gdb.arch/ftrace-insn-reloc.exp
10706 * gdb.arch/gdb1558.exp
10707 * gdb.arch/i386-bp_permanent.exp
10708 * gdb.arch/i386-disp-step.exp
10709 * gdb.arch/i386-float.exp
10710 * gdb.arch/i386-gnu-cfi.exp
10711 * gdb.arch/ia64-breakpoint-shadow.exp
10712 * gdb.arch/mips16-thunks.exp
10713 * gdb.arch/pa-nullify.exp
10714 * gdb.arch/powerpc-aix-prologue.exp
10715 * gdb.arch/powerpc-power.exp
10716 * gdb.arch/ppc-dfp.exp
10717 * gdb.arch/s390-tdbregs.exp
10718 * gdb.arch/spu-info.exp
10719 * gdb.arch/spu-ls.exp
10720 * gdb.arch/thumb-bx-pc.exp
10721 * gdb.base/advance.exp
10722 * gdb.base/annota-input-while-running.exp
10723 * gdb.base/arrayidx.exp
10724 * gdb.base/asmlabel.exp
10725 * gdb.base/async.exp
10726 * gdb.base/attach-wait-input.exp
10727 * gdb.base/auto-connect-native-target.exp
10728 * gdb.base/batch-preserve-term-settings.exp
10729 * gdb.base/bfp-test.exp
10730 * gdb.base/bigcore.exp
10731 * gdb.base/bp-permanent.exp
10732 * gdb.base/break-always.exp
10733 * gdb.base/break-fun-addr.exp
10734 * gdb.base/break-idempotent.exp
10735 * gdb.base/break-main-file-remove-fail.exp
10736 * gdb.base/break-probes.exp
10737 * gdb.base/break-unload-file.exp
10738 * gdb.base/break.exp
10739 * gdb.base/call-ar-st.exp
10740 * gdb.base/call-rt-st.exp
10741 * gdb.base/call-sc.exp
10742 * gdb.base/call-signal-resume.exp
10743 * gdb.base/call-strs.exp
10744 * gdb.base/callexit.exp
10745 * gdb.base/callfuncs.exp
10746 * gdb.base/catch-gdb-caused-signals.exp
10747 * gdb.base/catch-signal-siginfo-cond.exp
10748 * gdb.base/catch-syscall.exp
10749 * gdb.base/compare-sections.exp
10750 * gdb.base/cond-eval-mode.exp
10751 * gdb.base/condbreak-call-false.exp
10752 * gdb.base/consecutive-step-over.exp
10753 * gdb.base/cursal.exp
10754 * gdb.base/disabled-location.exp
10755 * gdb.base/disasm-end-cu.exp
10756 * gdb.base/display.exp
10757 * gdb.base/double-prompt-target-event-error.exp
10758 * gdb.base/dprintf-bp-same-addr.exp
10759 * gdb.base/dprintf-detach.exp
10760 * gdb.base/dprintf-next.exp
10761 * gdb.base/dprintf-non-stop.exp
10762 * gdb.base/dprintf-pending.exp
10763 * gdb.base/dso2dso.exp
10764 * gdb.base/ending-run.exp
10765 * gdb.base/enum_cond.exp
10766 * gdb.base/examine-backward.exp
10767 * gdb.base/exe-lock.exp
10768 * gdb.base/exec-invalid-sysroot.exp
10769 * gdb.base/execl-update-breakpoints.exp
10770 * gdb.base/execution-termios.exp
10771 * gdb.base/fileio.exp
10772 * gdb.base/fixsection.exp
10773 * gdb.base/foll-exec-mode.exp
10774 * gdb.base/foll-exec.exp
10775 * gdb.base/fork-running-state.exp
10776 * gdb.base/frame-args.exp
10777 * gdb.base/fullpath-expand.exp
10778 * gdb.base/func-ptr.exp
10779 * gdb.base/gcore-relro-pie.exp
10780 * gdb.base/gdb1090.exp
10781 * gdb.base/gdb1555.exp
10782 * gdb.base/global-var-nested-by-dso.exp
10783 * gdb.base/gnu-ifunc.exp
10784 * gdb.base/hbreak-in-shr-unsupported.exp
10785 * gdb.base/hbreak-unmapped.exp
10786 * gdb.base/hook-stop.exp
10787 * gdb.base/infcall-input.exp
10788 * gdb.base/info-fun.exp
10789 * gdb.base/info-shared.exp
10790 * gdb.base/interrupt-noterm.exp
10791 * gdb.base/jit-so.exp
10792 * gdb.base/jit.exp
10793 * gdb.base/line-symtabs.exp
10794 * gdb.base/list.exp
10795 * gdb.base/longjmp.exp
10796 * gdb.base/macscp.exp
10797 * gdb.base/max-value-size.exp
10798 * gdb.base/nodebug.exp
10799 * gdb.base/nofield.exp
10800 * gdb.base/overlays.exp
10801 * gdb.base/paginate-after-ctrl-c-running.exp
10802 * gdb.base/paginate-bg-execution.exp
10803 * gdb.base/paginate-inferior-exit.exp
10804 * gdb.base/pending.exp
10805 * gdb.base/pr11022.exp
10806 * gdb.base/printcmds.exp
10807 * gdb.base/ptr-typedef.exp
10808 * gdb.base/ptype.exp
10809 * gdb.base/randomize.exp
10810 * gdb.base/range-stepping.exp
10811 * gdb.base/realname-expand.exp
10812 * gdb.base/relativedebug.exp
10813 * gdb.base/remote.exp
10814 * gdb.base/savedregs.exp
10815 * gdb.base/sepdebug.exp
10816 * gdb.base/set-noassign.exp
10817 * gdb.base/shlib-call.exp
10818 * gdb.base/shreloc.exp
10819 * gdb.base/sigaltstack.exp
10820 * gdb.base/sigbpt.exp
10821 * gdb.base/siginfo-addr.exp
10822 * gdb.base/siginfo-obj.exp
10823 * gdb.base/siginfo-thread.exp
10824 * gdb.base/signest.exp
10825 * gdb.base/signull.exp
10826 * gdb.base/sigrepeat.exp
10827 * gdb.base/skip.exp
10828 * gdb.base/so-impl-ld.exp
10829 * gdb.base/solib-corrupted.exp
10830 * gdb.base/solib-disc.exp
10831 * gdb.base/solib-display.exp
10832 * gdb.base/solib-overlap.exp
10833 * gdb.base/solib-search.exp
10834 * gdb.base/solib-symbol.exp
10835 * gdb.base/source-execution.exp
10836 * gdb.base/sss-bp-on-user-bp-2.exp
10837 * gdb.base/sss-bp-on-user-bp.exp
10838 * gdb.base/stack-checking.exp
10839 * gdb.base/stale-infcall.exp
10840 * gdb.base/step-break.exp
10841 * gdb.base/step-line.exp
10842 * gdb.base/step-over-exit.exp
10843 * gdb.base/step-test.exp
10844 * gdb.base/structs.exp
10845 * gdb.base/sym-file.exp
10846 * gdb.base/symtab-search-order.exp
10847 * gdb.base/term.exp
10848 * gdb.base/type-opaque.exp
10849 * gdb.base/unload.exp
10850 * gdb.base/until-nodebug.exp
10851 * gdb.base/until.exp
10852 * gdb.base/unwindonsignal.exp
10853 * gdb.base/watch-cond.exp
10854 * gdb.base/watch-non-mem.exp
10855 * gdb.base/watch_thread_num.exp
10856 * gdb.base/watchpoint-reuse-slot.exp
10857 * gdb.base/watchpoint-solib.exp
10858 * gdb.base/watchpoint.exp
10859 * gdb.btrace/dlopen.exp
10860 * gdb.cell/arch.exp
10861 * gdb.cell/break.exp
10862 * gdb.cell/bt.exp
10863 * gdb.cell/core.exp
10864 * gdb.cell/data.exp
10865 * gdb.cell/dwarfaddr.exp
10866 * gdb.cell/ea-cache.exp
10867 * gdb.cell/ea-standalone.exp
10868 * gdb.cell/ea-test.exp
10869 * gdb.cell/f-regs.exp
10870 * gdb.cell/fork.exp
10871 * gdb.cell/gcore.exp
10872 * gdb.cell/mem-access.exp
10873 * gdb.cell/ptype.exp
10874 * gdb.cell/registers.exp
10875 * gdb.cell/sizeof.exp
10876 * gdb.cell/solib-symbol.exp
10877 * gdb.cell/solib.exp
10878 * gdb.compile/compile-tls.exp
10879 * gdb.cp/exception.exp
10880 * gdb.cp/gdb2495.exp
10881 * gdb.cp/local.exp
10882 * gdb.cp/mb-inline.exp
10883 * gdb.cp/mb-templates.exp
10884 * gdb.cp/pr10687.exp
10885 * gdb.cp/pr9167.exp
10886 * gdb.cp/scope-err.exp
10887 * gdb.cp/templates.exp
10888 * gdb.cp/virtfunc.exp
10889 * gdb.dwarf2/dw2-dir-file-name.exp
10890 * gdb.dwarf2/dw2-single-line-discriminators.exp
10891 * gdb.fortran/complex.exp
10892 * gdb.fortran/library-module.exp
10893 * gdb.guile/guile.exp
10894 * gdb.guile/scm-cmd.exp
10895 * gdb.guile/scm-frame-inline.exp
10896 * gdb.guile/scm-objfile.exp
10897 * gdb.guile/scm-pretty-print.exp
10898 * gdb.guile/scm-symbol.exp
10899 * gdb.guile/scm-type.exp
10900 * gdb.guile/scm-value.exp
10901 * gdb.linespec/keywords.exp
10902 * gdb.linespec/ls-errs.exp
10903 * gdb.linespec/macro-relative.exp
10904 * gdb.linespec/thread.exp
10905 * gdb.mi/mi-breakpoint-changed.exp
10906 * gdb.mi/mi-dprintf-pending.exp
10907 * gdb.mi/mi-fullname-deleted.exp
10908 * gdb.mi/mi-logging.exp
10909 * gdb.mi/mi-pending.exp
10910 * gdb.mi/mi-solib.exp
10911 * gdb.mi/new-ui-mi-sync.exp
10912 * gdb.mi/user-selected-context-sync.exp
10913 * gdb.multi/dummy-frame-restore.exp
10914 * gdb.multi/multi-arch-exec.exp
10915 * gdb.multi/remove-inferiors.exp
10916 * gdb.multi/watchpoint-multi-exit.exp
10917 * gdb.opt/solib-intra-step.exp
10918 * gdb.perf/backtrace.exp
10919 * gdb.perf/single-step.exp
10920 * gdb.perf/skip-command.exp
10921 * gdb.perf/skip-prologue.exp
10922 * gdb.perf/solib.exp
10923 * gdb.python/lib-types.exp
10924 * gdb.python/py-as-string.exp
10925 * gdb.python/py-bad-printers.exp
10926 * gdb.python/py-block.exp
10927 * gdb.python/py-breakpoint.exp
10928 * gdb.python/py-cmd.exp
10929 * gdb.python/py-events.exp
10930 * gdb.python/py-evthreads.exp
10931 * gdb.python/py-finish-breakpoint.exp
10932 * gdb.python/py-finish-breakpoint2.exp
10933 * gdb.python/py-frame-inline.exp
10934 * gdb.python/py-frame.exp
10935 * gdb.python/py-inferior.exp
10936 * gdb.python/py-infthread.exp
10937 * gdb.python/py-mi.exp
10938 * gdb.python/py-objfile.exp
10939 * gdb.python/py-pp-maint.exp
10940 * gdb.python/py-pp-registration.exp
10941 * gdb.python/py-prettyprint.exp
10942 * gdb.python/py-recurse-unwind.exp
10943 * gdb.python/py-shared.exp
10944 * gdb.python/py-symbol.exp
10945 * gdb.python/py-symtab.exp
10946 * gdb.python/py-template.exp
10947 * gdb.python/py-type.exp
10948 * gdb.python/py-unwind-maint.exp
10949 * gdb.python/py-unwind.exp
10950 * gdb.python/py-value.exp
10951 * gdb.python/python.exp
10952 * gdb.reverse/finish-reverse-bkpt.exp
10953 * gdb.reverse/insn-reverse.exp
10954 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10955 * gdb.reverse/solib-precsave.exp
10956 * gdb.reverse/solib-reverse.exp
10957 * gdb.stabs/gdb11479.exp
10958 * gdb.stabs/weird.exp
10959 * gdb.threads/fork-child-threads.exp
10960 * gdb.threads/fork-plus-threads.exp
10961 * gdb.threads/fork-thread-pending.exp
10962 * gdb.threads/forking-threads-plus-breakpoint.exp
10963 * gdb.threads/hand-call-in-threads.exp
10964 * gdb.threads/interrupted-hand-call.exp
10965 * gdb.threads/linux-dp.exp
10966 * gdb.threads/local-watch-wrong-thread.exp
10967 * gdb.threads/next-while-other-thread-longjmps.exp
10968 * gdb.threads/non-ldr-exit.exp
10969 * gdb.threads/pending-step.exp
10970 * gdb.threads/print-threads.exp
10971 * gdb.threads/process-dies-while-detaching.exp
10972 * gdb.threads/process-dies-while-handling-bp.exp
10973 * gdb.threads/pthreads.exp
10974 * gdb.threads/queue-signal.exp
10975 * gdb.threads/reconnect-signal.exp
10976 * gdb.threads/signal-command-handle-nopass.exp
10977 * gdb.threads/signal-command-multiple-signals-pending.exp
10978 * gdb.threads/signal-delivered-right-thread.exp
10979 * gdb.threads/signal-sigtrap.exp
10980 * gdb.threads/sigthread.exp
10981 * gdb.threads/staticthreads.exp
10982 * gdb.threads/stepi-random-signal.exp
10983 * gdb.threads/thread-unwindonsignal.exp
10984 * gdb.threads/thread_check.exp
10985 * gdb.threads/thread_events.exp
10986 * gdb.threads/tid-reuse.exp
10987 * gdb.threads/tls-nodebug.exp
10988 * gdb.threads/tls-shared.exp
10989 * gdb.threads/tls-so_extern.exp
10990 * gdb.threads/tls.exp
10991 * gdb.threads/wp-replication.exp
10992 * gdb.trace/actions-changed.exp
10993 * gdb.trace/actions.exp
10994 * gdb.trace/backtrace.exp
10995 * gdb.trace/change-loc.exp
10996 * gdb.trace/collection.exp
10997 * gdb.trace/deltrace.exp
10998 * gdb.trace/disconnected-tracing.exp
10999 * gdb.trace/entry-values.exp
11000 * gdb.trace/ftrace-lock.exp
11001 * gdb.trace/ftrace.exp
11002 * gdb.trace/infotrace.exp
11003 * gdb.trace/mi-trace-frame-collected.exp
11004 * gdb.trace/mi-trace-unavailable.exp
11005 * gdb.trace/mi-traceframe-changed.exp
11006 * gdb.trace/mi-tracepoint-changed.exp
11007 * gdb.trace/mi-tsv-changed.exp
11008 * gdb.trace/no-attach-trace.exp
11009 * gdb.trace/packetlen.exp
11010 * gdb.trace/passc-dyn.exp
11011 * gdb.trace/passcount.exp
11012 * gdb.trace/pending.exp
11013 * gdb.trace/pr16508.exp
11014 * gdb.trace/qtro.exp
11015 * gdb.trace/range-stepping.exp
11016 * gdb.trace/read-memory.exp
11017 * gdb.trace/report.exp
11018 * gdb.trace/save-trace.exp
11019 * gdb.trace/signal.exp
11020 * gdb.trace/stap-trace.exp
11021 * gdb.trace/status-stop.exp
11022 * gdb.trace/strace.exp
11023 * gdb.trace/tfile.exp
11024 * gdb.trace/tfind.exp
11025 * gdb.trace/trace-break.exp
11026 * gdb.trace/trace-condition.exp
11027 * gdb.trace/trace-enable-disable.exp
11028 * gdb.trace/trace-mt.exp
11029 * gdb.trace/tracecmd.exp
11030 * gdb.trace/tracefile-pseudo-reg.exp
11031 * gdb.trace/tspeed.exp
11032 * gdb.trace/tstatus.exp
11033 * gdb.trace/tsv.exp
11034 * gdb.trace/unavailable.exp
11035 * gdb.trace/while-dyn.exp
11036 * gdb.trace/while-stepping.exp
11037 * lib/gdb-guile.exp
11038 * lib/gdb.exp
11039 * lib/mi-support.exp
11040 * lib/pascal.exp
11041 * lib/perftest.exp
11042 * lib/prelink-support.exp
11043 * lib/selftest-support.exp
11044
11045 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11046
11047 * Makefile.in: Include disable-implicit-rules.mk.
11048
11049 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11050
11051 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11052 non-byte-aligned bit fields.
11053
11054 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11055
11056 PR gdb/12616
11057 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11058 respects the DW_AT_data_bit_offset attribute.
11059
11060 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11061
11062 * gdb.base/default.exp: Fix output of "set language".
11063
11064 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11065
11066 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11067 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11068 make.
11069 * configure.ac: Remove checks for the make program.
11070 * configure: Re-generate.
11071
11072 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11073
11074 * gdb.python/py-recurse-unwind.c (main): Add loop.
11075 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11076 to read_register() and gdb.parse_and_eval(). Make each code
11077 call a separate case that can be individually tested.
11078 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11079 proc. Call cont_and_backtrace for each of the code paths that
11080 we want to test in the unwinder.
11081
11082 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11083
11084 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11085 the definition of struct S.
11086
11087 2016-11-11 Catherine Moore <clm@codesourcery.com>
11088
11089 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11090
11091 2016-11-09 Pedro Alves <palves@redhat.com>
11092
11093 * gdb.base/commands.exp (runto_or_return): New procedure.
11094 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11095 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11096 (progvar_simple_while_test, progvar_complex_if_while_test)
11097 (if_while_breakpoint_command_test)
11098 (infrun_breakpoint_command_test, breakpoint_command_test)
11099 (user_defined_command_test, watchpoint_command_test)
11100 (test_command_prompt_position, redefine_hook_test)
11101 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11102 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11103 multi_line_input and multi_line. Remove gdb_expect and
11104 gdb_stop_suppressing_tests uses.
11105 * lib/gdb.exp (valnum_re): New global.
11106 (multi_line_input): New procedure.
11107
11108 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11109
11110 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11111 Remove.
11112 (test_setup): Define with proc_with_prefix.
11113 (test_cli_inferior): Likewise.
11114 (test_cli_thread): Likewise.
11115 (test_cli_frame): Likewise.
11116 (test_cli_select_frame): Likewise.
11117 (test_cli_up_down): Likewise.
11118 (test_mi_thread_select): Likewise.
11119 (test_mi_stack_select_frame): Likewise.
11120 (test_cli_in_mi_inferior): Likewise.
11121 (test_cli_in_mi_thread): Likewise.
11122 (test_cli_in_mi_frame): Likewise.
11123 (top level): Do not use with_test_prefix_procname.
11124
11125 2016-11-09 Pedro Alves <palves@redhat.com>
11126
11127 * gdb.base/commands.exp (gdbvar_simple_if_test)
11128 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11129 (progvar_simple_if_test, progvar_simple_while_test)
11130 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11131 (infrun_breakpoint_command_test, breakpoint_command_test)
11132 (user_defined_command_test, watchpoint_command_test)
11133 (test_command_prompt_position, deprecated_command_test)
11134 (bp_deleted_in_command, temporary_breakpoint_commands)
11135 (stray_arg0_test, source_file_with_indented_comment)
11136 (recursive_source_test, if_commands_test)
11137 (error_clears_commands_left, redefine_hook_test)
11138 (redefine_backtrace_test): Use proc_with_prefix.
11139 * lib/gdb.exp (proc_with_prefix): New proc.
11140
11141 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11142
11143 * gdb.base/tui-layout.c: New file.
11144 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11145 disassembly window contains very long lines.
11146
11147 2016-11-08 Tom Tromey <tom@tromey.com>
11148
11149 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11150 depend on Python 2.
11151
11152 2016-11-08 Tom Tromey <tom@tromey.com>
11153
11154 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11155 New method.
11156
11157 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11158
11159 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11160
11161 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11162
11163 * gdb.rust/simple.rs: Add test for univariant enums without
11164 discriminants and for encoded struct-like enums.
11165
11166 2016-10-28 Pedro Alves <palves@redhat.com>
11167
11168 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11169 gdb_test_multiple, tighten regexps and match symtabs and line
11170 tables incrementally.
11171
11172 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11173
11174 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11175 general.
11176
11177 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11178
11179 * gdb.base/exec-invalid-sysroot.exp: New file.
11180
11181 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11182
11183 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11184
11185 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11188
11189 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11190
11191 * gdb.base/killed-outside.exp: Remove $options from a call to
11192 `prepare_for_testing'.
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 Change test message.
11198
11199 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11200
11201 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11202 Update comment.
11203
11204 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11205
11206 * gdb.trace/mi-trace-save.exp: New file.
11207
11208 2016-10-13 Yao Qi <yao.qi@linaro.org>
11209
11210 * gdb.base/code_elim.exp (get_var_address): Remove.
11211 * gdb.base/relocate.exp: Likewise.
11212 * gdb.base/shreloc.exp: Likewise.
11213 * lib/gdb.exp (get_var_address): New.
11214
11215 2016-10-13 Yao Qi <yao.qi@linaro.org>
11216
11217 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11218 floating point tests if $skip_float_test is false.
11219
11220 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11221
11222 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11223 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11224 argc values.
11225 Add 1 to argc so we guarantee distinct initial/modified argc values.
11226
11227 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11228
11229 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11230
11231 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11232
11233 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11234 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11235 * gdb.arch/vsx-regs.exp: Likewise.
11236
11237 2016-10-07 Yao Qi <yao.qi@linaro.org>
11238
11239 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11240
11241 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11242
11243 * gdb.python/python.exp: Test decode_line("*0").
11244
11245 2016-10-06 Doug Evans <dje@google.com>
11246
11247 * gdb.python/py-value.exp (test_value_creation): Add test for large
11248 unsigned 64-bit value.
11249
11250 2016-10-06 Tom Tromey <tom@tromey.com>
11251
11252 * gdb.compile/compile.exp: Change java tests to rust.
11253 * gdb.base/setshow.exp: Change java tests to rust.
11254 * gdb.base/default.exp: Remove java from language list.
11255 * README (Examples): Update language example.
11256 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11257 test.
11258 * lib/gdb.exp (skip_java_tests): Remove.
11259 * lib/java.exp: Remove.
11260 * gdb.java: Remove.
11261
11262 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11263
11264 * gdb.arch/mips-fcr.exp: New test.
11265 * gdb.arch/mips-fcr.c: Source for the new test.
11266
11267 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11268
11269 * gdb.base/solib-disc.exp: Use `standard_output_file'
11270 throughout.
11271
11272 2016-10-06 Pedro Alves <palves@redhat.com>
11273
11274 * gdb.base/jit-simple-dl.c: New file.
11275 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11276 * gdb.base/jit-simple.c: ... this.
11277 * gdb.base/jit-simple.exp (jit_run): Delete.
11278 (build_jit): New proc.
11279 (jit_test_reread): Recompile either the main program or the shared
11280 library, depending on what is being tested. Skip changing address
11281 if caller wants to. Compare before/after addresses. If testing
11282 standalone, explicitly load the binary. Test "maint info
11283 breakpoints".
11284 (top level): Add "standalone vs shared lib" and "change address"
11285 vs "same address" axes.
11286
11287 2016-10-06 Pedro Alves <palves@redhat.com>
11288
11289 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11290 call.
11291 (jit_run): Delete.
11292 (jit_test_reread): Use with_test_prefix. Reload the main binary
11293 explicitly. Compare the before/after addresses of the JIT
11294 descriptor.
11295
11296 2016-08-15 Doug Evans <dje@google.com>
11297
11298 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11299 for single bitfields is bool.
11300 * gdb.xml/tdesc-regs.exp: Ditto.
11301
11302 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11303
11304 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11305
11306 2016-10-05 Yao Qi <yao.qi@linaro.org>
11307
11308 * lib/gdb.exp (support_complex_tests): Return zero if
11309 gdb_skip_float_test return true.
11310
11311 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11312 Simon Marchi <simon.marchi@ericsson.com>
11313
11314 PR gdb/20487
11315 * gdb.mi/user-selected-context-sync.exp: New file.
11316 * gdb.mi/user-selected-context-sync.c: New file.
11317
11318 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11319 Simon Marchi <simon.marchi@ericsson.com>
11320
11321 PR gdb/20487
11322 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11323 =thread-select-event check.
11324
11325 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11326
11327 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11328 the compulsory L operand changes.
11329 * gdb.arch/powerpc-power.s: Likewise.
11330
11331 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11332
11333 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11334 * gdb.base/jit-attach-pie.c: New file.
11335 * gdb.base/jit-attach-pie.exp: New file.
11336
11337 2016-09-28 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.base/infcall-input.c: New file.
11340 * gdb.base/infcall-input.exp: New file.
11341
11342 2016-09-22 Yao Qi <yao.qi@linaro.org>
11343
11344 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11345 (gdb_exit): Rename it to ...
11346 (gdbserver_gdb_exit): ... Close GDBserver.
11347 (gdb_exit): New proc, call gdbserver_gdb_exit.
11348 (mi_gdb_exit): Likewise.
11349
11350 2016-09-22 Yao Qi <yao.qi@linaro.org>
11351
11352 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11353 path.
11354 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11355 Remove duplication.
11356
11357 2016-09-22 Yao Qi <yao.qi@linaro.org>
11358
11359 * lib/gdbserver-support.exp: Check the existence of
11360 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11361
11362 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11363
11364 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11365
11366 2016-09-21 Tom Tromey <tom@tromey.com>
11367
11368 PR gdb/20604:
11369 * gdb.base/quit.exp: New file.
11370
11371 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11372
11373 * .gitignore: New file.
11374
11375 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11376
11377 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11378 throughout.
11379
11380 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11381
11382 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11383
11384 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * gdb.cp/casts.cc (decltype): Move it ...
11387 (main): ... with its call to ...
11388 * gdb.cp/casts03.cc: ... a new file.
11389 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11390
11391 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11392
11393 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11394
11395 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11396
11397 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11398 and sync up the test with tests in gas/testsuite/gas/ppc.
11399 * gdb.arch/powerpc-power.exp: Likewise.
11400
11401 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11402
11403 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11404
11405 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11406 Jan Kratochvil <jan.kratochvil@redhat.com>
11407
11408 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11409 make m1's definition to be different from m2's. Use 'dummy' as an
11410 argument for probe 'two'.
11411
11412 2016-09-10 Jon Beniston <jon@beniston.com>
11413
11414 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11415 for sim target.
11416
11417 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11418
11419 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11420 variable declaration.
11421 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11422 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11423 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11424 received HWCAP as its argument.
11425
11426 2016-09-06 Pedro Alves <palves@redhat.com>
11427
11428 * gdb.base/new-ui-pending-input.c: New file.
11429 * gdb.base/new-ui-pending-input.exp: New file.
11430 * gdb.exp (clear_gdb_spawn_id): New procedure.
11431 (with_spawn_id): Check whether gdb_spawn_id exists before
11432 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11433 on exit.
11434
11435 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11436
11437 * gdb.base/float128.c: New file.
11438 * gdb.base/float128.exp: Likewise.
11439 * gdb.base/floatn.c: Likewise.
11440 * gdb.base/floatn.exp: Likewise.
11441
11442 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11443
11444 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11445
11446 2016-09-05 Pedro Alves <palves@redhat.com>
11447
11448 PR backtrace/19927
11449 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11450 unwinders are immediately called as side effect of "source" or
11451 "disable unwinder" commands.
11452 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11453
11454 2016-09-02 Yao Qi <yao.qi@linaro.org>
11455
11456 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11457 is true and $type is "float" or "double".
11458
11459 2016-09-02 Yao Qi <yao.qi@linaro.org>
11460
11461 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11462 true.
11463 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11464 * gdb.base/call-rt-st.exp: Likewise.
11465 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11466 return value instead of gdb,skip_float_test.
11467 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11468 (do_function_calls): Use its return value instead of
11469 gdb,skip_float_test.
11470 * gdb.base/finish.exp: Likewise.
11471 * gdb.base/funcargs.exp: Likewise.
11472 * gdb.base/return.exp: Likewise.
11473 * gdb.base/return2.exp: Likewise.
11474 * gdb.base/varargs.exp: Likewise.
11475 * lib/gdb.exp (gdb_skip_float_test): Change it to
11476 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11477
11478 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11479
11480 * gdb.multi/tids.exp: Test "thread apply all".
11481
11482 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11483
11484 * gdb.base/default.exp (tty): Remove.
11485
11486 2016-08-24 Kevin Buettner <kevinb@redhat.com>
11487
11488 * gdb.python/py-recurse-unwind.c: New file.
11489 * gdb.python/py-recurse-unwind.py: New file.
11490 * gdb.python/py-recurse-unwind.exp: New file.
11491
11492 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11493
11494 * gdb.base/set-inferior-tty.exp: New file.
11495 * gdb.base/set-inferior-tty.c: New file.
11496
11497 2016-08-23 Pedro Alves <palves@redhat.com>
11498
11499 PR gdb/20494
11500 * gdb.base/new-ui-echo.c: New file.
11501 * gdb.base/new-ui-echo.exp: New file.
11502
11503 2016-08-23 Yao Qi <yao.qi@linaro.org>
11504
11505 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11506 gdbserver_spawn.
11507 * gdb.server/connect-without-multi-process.exp (do_test):
11508 Likewise.
11509
11510 2016-08-23 Yao Qi <yao.qi@linaro.org>
11511
11512 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11513 standalone_txt. Delete gdb_txt and standalone_txt on host
11514 and target. Spawn the binary on target. Copy files from
11515 target to host.
11516
11517 2016-08-22 Pedro Alves <palves@redhat.com>
11518
11519 PR gdb/20505
11520 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11521 with_test_prefix. Factor out bits to ...
11522 (test_no_vdso): ... this new procedure.
11523
11524 2016-08-19 Carl Love <cel@us.ibm.com>
11525
11526 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11527 maintaining separate logic for constructing the output path.
11528 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11529 * gdb.arch/ppc-dfp.exp: Likewise.
11530 * gdb.arch/ppc-fp.exp: Likewise.
11531 * gdb.arch/vsx-regs.exp: Likewise.
11532 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11533 binprefix for generating the additional binary files.
11534
11535 2016-08-19 Pedro Alves <palves@redhat.com>
11536
11537 * gdb.trace/mi-trace-frame-collected.exp
11538 (test_trace_frame_collected): On x32, expect two registers.
11539
11540 2016-08-18 Carl Love <cel@us.ibm.com>
11541
11542 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11543 and sync up the test with tests in gas/testsuite/gas/ppc.
11544 * gdb.arch/powerpc-power.exp: Likewise.
11545
11546 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11547
11548 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11549 expected error message.
11550
11551 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11552
11553 * gdb.multi/remove-inferiors.exp: New file.
11554 * gdb.multi/remove-inferiors.c: New file.
11555
11556 2016-08-12 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11559 argument list.
11560
11561 2016-08-10 Pedro Alves <palves@redhat.com>
11562
11563 PR gdb/19187
11564 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11565 setup_kfails.
11566
11567 2016-08-09 Pedro Alves <palves@redhat.com>
11568 Simon Marchi <simon.marchi@ericsson.com>
11569
11570 PR gdb/20418
11571 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11572 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11573
11574 2016-08-09 Pedro Alves <palves@redhat.com>
11575
11576 PR mi/20431
11577 * gdb.mi/mi-cmd-error.exp: New file.
11578
11579 2016-08-09 Pedro Alves <palves@redhat.com>
11580
11581 PR gdb/18653
11582 * gdb.base/signals-state-child.c: New file.
11583 * gdb.base/signals-state-child.exp: New file.
11584 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11585
11586 2016-08-09 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11589
11590 2016-08-03 Tom Tromey <tom@tromey.com>
11591
11592 PR python/18565:
11593 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11594
11595 2016-08-01 Yao Qi <yao.qi@linaro.org>
11596
11597 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11598 variable mode to "multi-process" if $multi_process is 1, otherwise
11599 set it to "single-process".
11600
11601 2016-08-01 Yao Qi <yao.qi@linaro.org>
11602
11603 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11604 * gdb.cp/cpexprs.exp: Likewise.
11605 * gdb.cp/m-static.exp: Likewise.
11606
11607 2016-07-26 Tom Tromey <tom@tromey.com>
11608
11609 PR python/20190:
11610 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11611 test.
11612
11613 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11614
11615 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11616 selecting assembly source files.
11617 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11618 assembly source files.
11619 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11620 assembly source files.
11621 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11622 selecting assembly source files.
11623
11624 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11625
11626 * gdb.base/new-ui.exp (do_test_invalid_args): New
11627 procedure.
11628
11629 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11630
11631 * gdb.btrace/reconnect.c: New file.
11632 * gdb.btrace/reconnect.exp: New file.
11633
11634 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11635
11636 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11637 to test_catch_syscall_group.
11638 (test_catch_syscall_group): New.
11639
11640 2016-07-21 Tom Tromey <tom@tromey.com>
11641
11642 * gdb.rust/simple.rs (main): Use empty struct expression.
11643 * gdb.rust/simple.exp: Add tests for empty struct expression.
11644
11645 2016-07-21 Yao Qi <yao.qi@linaro.org>
11646
11647 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11648 if gdb_skip_xml_test is true on some targets.
11649
11650 2016-07-21 Yao Qi <yao.qi@linaro.org>
11651
11652 * gdb.server/solib-list.exp: Unset last_loaded_file.
11653
11654 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11657 "step into captured_main (args)".
11658
11659 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11660
11661 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11662
11663 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11664
11665 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11666
11667 2016-07-19 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11670 * gdb.opt/inline-bt.exp: Likewise.
11671 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11672 additional_flags=-Winline.
11673 * gdb.opt/inline-locals.exp: Likewise.
11674 * gdb.opt/inline-markers.c (ATTR): Define.
11675 (inlined_fn): Use it.
11676
11677 2016-07-19 Yao Qi <yao.qi@linaro.org>
11678
11679 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11680 (test_with_self): Remove some code. Remove argument executable.
11681 (top-level): Use do_self_tests.
11682
11683 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
11684 Don Breazeal <donb@codesourcery.com>
11685
11686 * gdb.base/maint.exp: Escape paths used in regular expressions.
11687 * gdb.stabs/weird.exp: Likewise.
11688
11689 2016-07-13 Tom Tromey <tom@tromey.com>
11690
11691 PR python/15620, PR python/18620:
11692 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11693 (test_bkpt_events): New procs.
11694
11695 2016-07-13 Tom Tromey <tom@tromey.com>
11696
11697 PR python/17698:
11698 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11699 test.
11700 (test_watchpoints): Likewise.
11701 (test_bkpt_pending): New proc.
11702
11703 2016-07-13 Tom Tromey <tom@tromey.com>
11704
11705 PR cli/18053:
11706 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11707 completion test.
11708
11709 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11710
11711 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11712 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11713 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11714 f_label.
11715 (g): Rename g_end_lbl to g_label.
11716 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11717 low_pc and high_pc.
11718 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11719
11720 2016-07-12 Tom Tromey <tom@tromey.com>
11721
11722 PR python/19293:
11723 * gdb.python/py-unwind-maint.exp: Update tests.
11724
11725 2016-07-12 Yao Qi <yao.qi@linaro.org>
11726
11727 * lib/selftest-support.exp (selftest_setup): Match the output
11728 when captured_main is inlined.
11729
11730 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11731
11732 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11733 New variables.
11734 (print this%a, print this%b, print this): New tests.
11735 * gdb.fortran/derived-types.f90 (this): New object and
11736 initialization.
11737
11738 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11739
11740 * gdb.ada/arraydim.exp: Remove extra directory level in build
11741 directory.
11742
11743 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11744
11745 * lib/ada.exp: Remove extra directory level in build directory.
11746 * gdb.ada/cond_lang.exp: Likewise.
11747 * gdb.ada/exec_changed.exp: Likewise.
11748 * gdb.ada/lang_switch.exp: Likewise.
11749
11750 2016-07-06 Manish Goregaokar <manish@mozilla.com>
11751
11752 * simple.rs: Add test for raw pointer subscripting.
11753 * simple.exp: Add test expectations.
11754
11755 2016-07-05 Yao Qi <yao.qi@linaro.org>
11756
11757 * gdb.mi/mi-reverse.exp: Match =record-started output.
11758
11759 2016-07-01 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11762 procedure.
11763 (jit_reader_test): Test the jit reader's unwinder.
11764 * gdb.base/jithost.c (jit_function_00_code): New global.
11765 (main): Use memcpy to fill in the mmapped code, instead of poking
11766 bytes manually here.
11767 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11768 value.
11769 (read_debug_info): Save the function's range.
11770 (read_sp): New function.
11771 (unwind_frame): Use it. Also unwind RBP.
11772 (get_frame_id): Use read_sp.
11773 (gdb_init_reader): Use calloc instead of malloc.
11774 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11775 parameter. Use gdb_test_multiple.
11776
11777 2016-07-01 Pedro Alves <palves@redhat.com>
11778 Antoine Tremblay <antoine.tremblay@ericsson.com>
11779
11780 * gdb.threads/process-dies-while-detaching.c: New file.
11781 * gdb.threads/process-dies-while-detaching.exp: New file.
11782
11783 2016-07-01 Pedro Alves <palves@redhat.com>
11784
11785 * gdb.multi/watchpoint-multi-exit.c: New file.
11786 * gdb.multi/watchpoint-multi-exit.exp: New file.
11787
11788 2016-06-30 Pedro Alves <palves@redhat.com>
11789
11790 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11791 unset inferior_spawn_id.
11792
11793 2016-06-30 Pedro Alves <palves@redhat.com>
11794
11795 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11796 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11797
11798 2016-06-29 Yao Qi <yao.qi@linaro.org>
11799
11800 * gdb.base/return.c: Add copyright header.
11801
11802 2016-06-29 Tom Tromey <tom@tromey.com>
11803
11804 PR python/20129:
11805 * gdb.python/py-framefilter.exp: Add tests for setting priority
11806 and disabling of non-existent frame filter.
11807
11808 2016-06-29 Yao Qi <yao.qi@linaro.org>
11809
11810 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11811 0x0f07ff.
11812
11813 2016-06-28 Yao Qi <yao.qi@linaro.org>
11814
11815 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11816 triplets. Start gdb, execute catch syscall, and continue. Check
11817 gdb's output to determine catch syscall is supported.
11818
11819 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11820
11821 * gdb.rust/simple.rs: Add test for returning unit in a function.
11822 * gdb.rust/simple.exp: Add expectation for functions returning
11823 unit.
11824
11825 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11826
11827 * gdb.python/py-breakpoint-create-fail.c,
11828 gdb.python/py-breakpoint-create-fail.exp,
11829 gdb.python/py-breakpoint-create-fail.py: New testcase.
11830
11831 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11832
11833 PR gdb/20239
11834 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11835 * gdb.rust/simple.exp: Add test expectations for new NonZero
11836 tests.
11837
11838 2016-06-24 David Taylor <dtaylor@emc.com>
11839
11840 * gdb.base/offsets.exp: New file.
11841 * gdb.base/offsets.c: New file.
11842
11843 2016-06-23 Tom Tromey <tom@tromey.com>
11844
11845 PR gdb/16483:
11846 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11847 before any filters are loaded.
11848
11849 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11850
11851 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11852 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11853 structs.
11854 * gdb.fortran/derived-type-function.exp: New file.
11855 * gdb.fortran/derived-type-function.f90: New file.
11856
11857
11858 2016-06-21 Pedro Alves <palves@redhat.com>
11859
11860 * gdb.base/new-ui.exp: New file.
11861 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11862 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11863 (with_spawn_id): New procedure.
11864
11865 2016-06-21 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.mi/mi-exec-run.exp: New file.
11868
11869 2016-06-21 Pedro Alves <palves@redhat.com>
11870
11871 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11872 breakpoint command's output on the main UI.
11873 (test_break): New procedure, factored out from calls in the top
11874 level.
11875 (top level): Use foreach_with_prefix to test MI as main UI and as
11876 separate UI.
11877
11878 2016-06-21 Pedro Alves <palves@redhat.com>
11879
11880 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11881 (test_awatch_creation_and_listing)
11882 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11883 Remove 'type' parameter.
11884 (test_watchpoint_all): New parameter mi_mode. Remove
11885 with_test_prefix.
11886 (top level): Use foreach_with_prefix, and add main/separate UI MI
11887 testing axis.
11888
11889 2016-06-21 Pedro Alves <palves@redhat.com>
11890
11891 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11892 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11893 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11894 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11895 (gdb_main_spawn_id, mi_spawn_id): Declare and
11896 comment.
11897 (mi_create_inferior_pty): New procedure,
11898 factored out from default_mi_gdb_start.
11899 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11900 procedures.
11901 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11902 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11903 Use mi_create_inferior_pty.
11904 (mi_gdb_start): Use eval to pass down args list.
11905
11906 2016-06-21 Pedro Alves <palves@redhat.com>
11907
11908 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11909 * gdb.opt/inline-cmds.exp: Add MI tests.
11910
11911 2016-06-21 Pedro Alves <palves@redhat.com>
11912
11913 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11914
11915 2016-06-21 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11918 (top level): Use it instead of mi_execute_to.
11919
11920 2016-06-21 Pedro Alves <palves@redhat.com>
11921
11922 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11923 (cont_handler_str): New.
11924 (signal_stop_handler): Set stop_handler_str instead of printing to
11925 stdout.
11926 (continue_handler): Set cont_handler_str instead of printing to
11927 stdout.
11928 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11929 mi_send_resuming_command. Print stop_handler_str and
11930 cont_handler_str instead of expecting the python events print
11931 directly.
11932
11933 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11934
11935 * gdb.base/jit-reader.exp: New file.
11936 * gdb.base/jithost.c: New file.
11937 * gdb.base/jithost.h: New file.
11938 * gdb.base/jitreader.c : New file.
11939 * gdb.base/jit-protocol.h: New file.
11940
11941 2016-06-17 Yao Qi <yao.qi@linaro.org>
11942
11943 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11944 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11945 and detach-on-fork. Adjust tests.
11946 (top level): Invoke break_cond_on_syscall with combinations of
11947 syscall, follow-fork-mode and detach-on-fork.
11948
11949 2016-06-17 Yao Qi <yao.qi@linaro.org>
11950
11951 * gdb.base/step-over-exit.c: New.
11952 * gdb.base/step-over-exit.exp: New.
11953
11954 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11955
11956 * gdb.base/float.exp: Add target check for nds32*-*-*.
11957 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11958
11959 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11960
11961 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11962 for unsupported target features.
11963 * gdb.base/call-rt-st.exp: Likewise.
11964 * gdb.base/call-sc.exp: Likewise.
11965 * gdb.base/call-signal-resume.exp: Likewise.
11966 * gdb.base/call-strs.exp: Likewise.
11967 * gdb.base/callexit.exp: Likewise.
11968 * gdb.base/callfuncs.exp: Likewise.
11969 * gdb.base/nodebug.exp: Likewise.
11970 * gdb.base/printcmds.exp: Likewise.
11971 * gdb.base/ptype.exp: Likewise.
11972 * gdb.base/structs.exp: Likewise.
11973 * gdb.base/unwindonsignal.exp: Likewise.
11974 * gdb.cp/gdb2495.exp: Likewise.
11975 * gdb.cp/templates.exp: Likewise.
11976 * gdb.cp/virtfunc.exp: Likewise.
11977 * gdb.threads/hand-call-in-threads.exp: Likewise.
11978 * gdb.threads/interrupted-hand-call.exp: Likewise.
11979 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11980
11981 2016-06-10 Tom Tromey <tom@tromey.com>
11982
11983 PR rust/20110:
11984 * gdb.rust/expr.exp: Add test for integer constant larger than
11985 i32.
11986
11987 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11988
11989 * gdb.fortran/nested-funcs.exp: New.
11990 * gdb.fortran/nested-funcs.f90: New.
11991
11992 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11993
11994 * gdb.base/examine-backward.c: New file.
11995 * gdb.base/examine-backward.exp: New file.
11996
11997 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11998
11999 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12000 matching.
12001
12002 2016-06-02 Tom Tromey <tom@tromey.com>
12003
12004 PR python/18984:
12005 * gdb.python/py-shared.exp: Add solib_name test.
12006
12007 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12008
12009 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12010
12011 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12012
12013 PR c++/19893
12014 * gdb.dwarf2/implref.exp: Rename to...
12015 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12016 * gdb.dwarf2/implref-array.c: New file.
12017 * gdb.dwarf2/implref-array.exp: Likewise.
12018 * gdb.dwarf2/implref-global.c: Likewise.
12019 * gdb.dwarf2/implref-global.exp: Likewise.
12020 * gdb.dwarf2/implref-struct.c: Likewise.
12021 * gdb.dwarf2/implref-struct.exp: Likewise.
12022
12023 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12024
12025 * gdb.trace/trace-condition.exp: Add 64bit tests.
12026
12027 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12028
12029 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12030 bits types.
12031 (main): Adapt to 8 to 64 bits types.
12032 * gdb.trace/trace-condition.exp: Add new tests.
12033
12034 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12035
12036 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12037
12038 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12039
12040 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12041 Move condition tests...
12042 * gdb.trace/trace-condition.exp: Here.
12043
12044 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12045
12046 * gdb.trace/trace-condition.exp: Add counter-case tests.
12047
12048 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12049
12050 PR c++/15231
12051 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12052 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12053
12054 2016-05-27 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12057 New procedure.
12058 (top level): Call it, and bail out of DejaGnu is known to be bad.
12059
12060 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12061
12062 * gdb.base/whatis.c: Extend the test case.
12063 * gdb.base/whatis.exp: Add additional tests.
12064
12065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12066
12067 * gdb.fortran/type.f90: Add pointer variable.
12068 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12069
12070 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12071
12072 * gdb.fortran/vla-type.exp: Fix testcase name.
12073
12074 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12075
12076 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12077
12078 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12079
12080 * gdb.fortran/type.f90: Add nested structures.
12081 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12082 * gdb.fortran/derived-type.exp: Adapt expected output.
12083 * gdb.fortran/vla-type.exp: Adapt expected output.
12084
12085 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12086
12087 * gdb.fortran/whatis_type.exp: Adapt expected output.
12088
12089 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12090
12091 * gdb.fortran/print_type.exp: Fix expected output.
12092 * gdb.fortran/whatis_type.exp: Fix expected output.
12093
12094 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12095
12096 * gdb.fortran/whatis_type.exp: Use multi_line.
12097
12098 2016-05-24 Tom Tromey <tom@tromey.com>
12099
12100 PR python/17386:
12101 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12102 use value as an index.
12103
12104 2016-05-23 Tom Tromey <tom@tromey.com>
12105
12106 PR python/17981:
12107 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12108 no-breakpoint case.
12109
12110 2016-05-24 Pedro Alves <palves@redhat.com>
12111
12112 PR gdb/19828
12113 * gdb.threads/clone-attach-detach.c: New file.
12114 * gdb.threads/clone-attach-detach.exp: New file.
12115
12116 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12117
12118 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12119
12120 2016-05-23 Tom Tromey <tom@tromey.com>
12121
12122 PR python/19438, PR python/18393:
12123 * gdb.python/py-progspace.exp: Add "dir" test.
12124 * gdb.python/py-objfile.exp: Add "dir" test.
12125
12126 2016-05-23 Yao Qi <yao.qi@linaro.org>
12127
12128 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12129 * gdb.arch/thumb2-it.exp: Likewise.
12130
12131 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12132
12133 * gdb.mi/mi-threads-interrupt.c: New file.
12134 * gdb.mi/mi-threads-interrupt.exp: New file.
12135
12136 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12137
12138 PR gdb/18077
12139 * gdb.mi/mi-async-run.exp: New file.
12140 * gdb.mi/mi-async-run.c: New file.
12141
12142 2016-05-17 Tom Tromey <tom@tromey.com>
12143 Manish Goregaokar <manishsmail@gmail.com>
12144
12145 * lib/rust-support.exp: New file.
12146 * lib/gdb.exp (skip_rust_tests): New proc.
12147 (build_executable_from_specs): Handle rust.
12148 * lib/future.exp (gdb_find_rustc): New proc.
12149 (gdb_default_target_compile): Handle rust.
12150 * gdb.rust/expr.exp: New file.
12151 * gdb.rust/generics.exp: New file.
12152 * gdb.rust/generics.rs: New file.
12153 * gdb.rust/methods.exp: New file.
12154 * gdb.rust/methods.rs: New file.
12155 * gdb.rust/modules.exp: New file.
12156 * gdb.rust/modules.rs: New file.
12157 * gdb.rust/simple.exp: New file.
12158 * gdb.rust/simple.rs: New file.
12159
12160 2016-05-17 Tom Tromey <tom@tromey.com>
12161
12162 * gdb.base/default.exp (set language): Add rust.
12163
12164 2016-05-17 Tom Tromey <tom@tromey.com>
12165
12166 * gdb.gdb/unittest.exp: New file.
12167
12168 2016-05-16 Yao Qi <yao.qi@linaro.org>
12169
12170 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12171 shell_prompt. Update shell_prompt_re.
12172
12173 2016-05-12 Doug Evans <dje@google.com>
12174
12175 PR symtab/19999
12176 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12177 $options when building executable.
12178 * gdb.dwarf2/fission-loclists-pie.S: New file.
12179 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12180
12181 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12182
12183 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12184 of [is_remote target],
12185
12186 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12187
12188 * lib/gdb.exp (use_gdb_stub): New procedure.
12189
12190 2016-05-03 Yunlian Jiang <yunlian@google.com>
12191 Doug Evans <dje@google.com>
12192
12193 PR symtab/19914
12194 * gdb.dwarf2/dwp-sepdebug.c: New file.
12195 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12196
12197 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12198
12199 * gdb.base/detach.exp: Remove is_remote check.
12200
12201 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12202
12203 * gdb.base/annota-input-while-running.exp: Don't check for
12204 [is_remote target]. Enable annotations after running to main.
12205 Remove unused "set test..." line.
12206
12207 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12208
12209 * gdb.trace/trace-enable-disable.exp: New file.
12210 * gdb.trace/trace-enable-disable.c: New file.
12211
12212 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12213
12214 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12215 use it in info sharedlibrary test.
12216 * gdb.trace/ftrace-lock.exp: Likewise.
12217 * gdb.trace/ftrace.exp: Likewise.
12218 * gdb.trace/range-stepping.exp: Likewise.
12219 * gdb.trace/trace-break.exp: Likewise.
12220 * gdb.trace/trace-condition.exp: Likewise.
12221 * gdb.trace/trace-mt.exp: Likewise.
12222
12223 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12224
12225 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12226 (gdb_load_shlib): ... this.
12227 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12228 gdb_load_shlib.
12229 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12230 * gdb.base/ctxobj.exp: Likewise.
12231 * gdb.base/dprintf-pending.exp: Likewise.
12232 * gdb.base/dso2dso.exp: Likewise.
12233 * gdb.base/fixsection.exp: Likewise.
12234 * gdb.base/gcore-relro.exp: Likewise.
12235 * gdb.base/gdb1555.exp: Likewise.
12236 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12237 * gdb.base/gnu-ifunc.exp: Likewise.
12238 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12239 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12240 * gdb.base/pending.exp: Likewise.
12241 * gdb.base/print-file-var.exp: Likewise.
12242 * gdb.base/print-symbol-loading.exp: Likewise.
12243 * gdb.base/shlib-call.exp: Likewise.
12244 * gdb.base/shreloc.exp: Likewise.
12245 * gdb.base/so-impl-ld.exp: Likewise.
12246 * gdb.base/solib-disc.exp: Likewise.
12247 * gdb.base/solib-nodir.exp: Likewise.
12248 * gdb.base/solib-overlap.exp: Likewise.
12249 * gdb.base/solib-symbol.exp: Likewise.
12250 * gdb.base/solib-weak.exp (do_test): Likewise.
12251 * gdb.base/sym-file.exp: Likewise.
12252 * gdb.base/symtab-search-order.exp: Likewise.
12253 * gdb.base/type-opaque.exp: Likewise.
12254 * gdb.base/unload.exp: Likewise.
12255 * gdb.base/watchpoint-solib.exp: Likewise.
12256 * gdb.compile/compile.exp: Likewise.
12257 * gdb.cp/gdb2384.exp: Likewise.
12258 * gdb.cp/infcall-dlopen.exp: Likewise.
12259 * gdb.cp/re-set-overloaded.exp: Likewise.
12260 * gdb.fortran/library-module.exp: Likewise.
12261 * gdb.opt/solib-intra-step.exp: Likewise.
12262 * gdb.python/py-finish-breakpoint.exp: Likewise.
12263 * gdb.python/py-shared.exp: Likewise.
12264 * gdb.reverse/solib-precsave.exp: Likewise.
12265 * gdb.reverse/solib-reverse.exp: Likewise.
12266 * gdb.server/solib-list.exp: Likewise.
12267 * gdb.threads/dlopen-libpthread.exp: Likewise.
12268 * gdb.threads/tls-shared.exp: Likewise.
12269 * gdb.threads/tls-so_extern.exp: Likewise.
12270 * gdb.trace/change-loc.exp: Likewise.
12271 * gdb.trace/ftrace-lock.exp: Likewise.
12272 * gdb.trace/ftrace.exp: Likewise.
12273 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12274 * gdb.trace/pending.exp: Likewise.
12275 * gdb.trace/range-stepping.exp: Likewise.
12276 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12277 (strace_info_marker): Likewise.
12278 (strace_probe_marker): Likewise.
12279 (strace_trace_on_same_addr): Likewise.
12280 (strace_trace_on_diff_addr): Likewise.
12281 * gdb.trace/trace-break.exp: Likewise.
12282 * gdb.trace/trace-condition.exp: Likewise.
12283 * gdb.trace/trace-mt.exp: Likewise.
12284
12285 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12286
12287 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12288 result of gdb_remote_download.
12289 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12290 * gdb.base/dso2dso.exp: Likewise.
12291 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12292 * gdb.base/print-file-var.exp: Likewise.
12293 * gdb.base/shlib-call.exp: Likewise.
12294 * gdb.base/shreloc.exp: Likewise.
12295 * gdb.base/solib-overlap.exp: Likewise.
12296 * gdb.base/solib-weak.exp (do_test): Likewise.
12297 * gdb.base/unload.exp: Likewise.
12298
12299 2016-04-27 Yao Qi <yao.qi@linaro.org>
12300
12301 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12302 exists.
12303
12304 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12305
12306 * vla-type.exp: Print structure from toplevel.
12307
12308 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12309
12310 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12311 of dynamic types.
12312 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12313 of dynamic types.
12314
12315 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12316
12317 * gdb.fortran/vla-type.f90: New file.
12318 * gdb.fortran/vla-type.exp: New file.
12319
12320 2016-04-25 Yao Qi <yao.qi@linaro.org>
12321
12322 * gdb.base/branch-to-self.c: New file.
12323 * gdb.base/branch-to-self.exp: New file.
12324
12325 2016-04-22 Yao Qi <yao.qi@linaro.org>
12326
12327 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12328 more after $hex.
12329
12330 2016-04-22 Yao Qi <yao.qi@linaro.org>
12331
12332 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12333 * gdb.base/annota3.exp: Likewise.
12334
12335 2016-04-22 Yao Qi <yao.qi@linaro.org>
12336
12337 * gdb.reverse/step-precsave.exp: Do one step and test program
12338 stops in "callee" and do multiple steps until program goes out
12339 of "callee".
12340 * gdb.reverse/step-reverse.exp: Likewise.
12341
12342 2016-04-22 Yao Qi <yao.qi@linaro.org>
12343
12344 * gdb.trace/signal.exp: Also pass if
12345 $tracepoint_hits($i) > $iterations.
12346
12347 2016-04-22 Yao Qi <yao.qi@linaro.org>
12348
12349 * gdb.trace/signal.c: New file.
12350 * gdb.trace/signal.exp: New file.
12351
12352 2016-04-19 Doug Evans <xdje42@gmail.com>
12353
12354 * gdb.base/bad-file.exp: New file.
12355
12356 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12357
12358 * gdb.dwarf2/implref.exp: New file.
12359
12360 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12361
12362 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12363 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12364 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12365 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12366 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12367 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12368 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12369 * lib/fortran.exp (fortran_int4): New procedure.
12370 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12371 (fortran_logical4): Likewise.
12372
12373 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12374
12375 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12376
12377 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12378
12379 * lib/compiler.c: Add Intel specific preprocessor macros.
12380 * lib/compiler.cc: Likewise.
12381
12382 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
12383
12384 * gdb.server/connect-with-no-symbol-file.c: New file.
12385 * gdb.server/connect-with-no-symbol-file.exp: New file.
12386
12387 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12388
12389 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12390
12391 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12392
12393 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12394 standard output directory.
12395
12396 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12397
12398 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12399
12400 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12401
12402 * gdb.btrace/instruction_history.c (loop): Add declaration.
12403
12404 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12405
12406 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12407
12408 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12409
12410 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12411 parentheses to print.
12412 (continue_handler): Likewise.
12413
12414 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12415
12416 * gdb.server/solib-list.exp: Remove is_remote check.
12417 Pass shlib= to gdb_compile. Don't link shared library with
12418 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12419 Run binary filename through "readlink -f" on the target.
12420
12421 2016-04-08 Pedro Alves <palves@redhat.com>
12422
12423 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12424 interpreter filename as argument to gdbserver_spawn.
12425 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12426 Return empty if $last_loaded_file does not exist.
12427
12428 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12429
12430 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12431 * gdb.base/jit-main.c: Use exit after usage.
12432
12433 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12434
12435 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12436 GDBHISTSIZE prior to the tests.
12437 * gdb.base/gdbinit-history.exp: Likewise.
12438
12439 2016-04-07 Pedro Alves <palves@redhat.com>
12440
12441 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12442 instead of build_executable. Use gdb_load_shlibs.
12443
12444 2016-04-07 Yao Qi <yao.qi@linaro.org>
12445
12446 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12447 Execute "si" command.
12448
12449 2016-04-07 Yao Qi <yao.qi@linaro.org>
12450
12451 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12452 number instead of the comments on some line.
12453
12454 2016-04-06 Don Breazeal <donb@codesourcery.com>
12455
12456 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12457 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12458
12459 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12460
12461 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12462 standard_output_file. Remove unused binfile variable.
12463
12464 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
12465
12466 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12467 * gdb.python/py-mi-objfile.exp: Match "list main" output
12468 in console format.
12469
12470 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12471
12472 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12473 absolute.
12474
12475 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12476
12477 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12478 absolute.
12479 * gdb.trace/ftrace.exp: Likewise.
12480 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12481 targets as well.
12482 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12483 (gdb_load_shlibs): Copy libraries to test directory when testing
12484 natively. Only set solib-search-path if testing remotely.
12485 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12486
12487 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12488
12489 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12490 gdb_download. Use it even if the target is not remote.
12491 * gdb.base/jit.exp (compile_jit_test): Likewise.
12492 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12493 output directory if the destination board is local, otherwise use
12494 the standard remote_download from DejaGnu.
12495 (gdb_download): Remove.
12496 (gdb_load_shlibs): Use gdb_remote_download instead of
12497 gdb_download.
12498 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12499 Use gdb_remote_download instead of gdb_download. Use it even if
12500 the target is not remote.
12501 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12502 instead of gdb_download.
12503
12504 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12505
12506 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12507 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12508 run.
12509
12510 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
12511
12512 PR gdb/19820
12513 * gdb.base/printcmds.exp: Add artificial arrays tests.
12514
12515 2016-03-31 Pedro Alves <palves@redhat.com>
12516
12517 PR gdb/19858
12518 * gdb.base/jit-main.c: Include unistd.h.
12519 (ATTACH): Define to 0 if not already defined.
12520 (wait_for_gdb, mypid): New globals.
12521 (WAIT_FOR_GDB): New macro.
12522 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12523 some breakpoint locations.
12524 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12525 New procedures.
12526 (one_jit_test): Add REATTACH parameter, and handle it. Use
12527 continue_to_test_location.
12528 (top level): Test attach, and adjusts calls to one_jit_test.
12529
12530 2016-03-31 Pedro Alves <palves@redhat.com>
12531
12532 PR gdb/19858
12533 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12534 BINSUFFIX parameter, and handle it.
12535 (top level): Adjust calls compile_jit_test.
12536
12537 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
12538
12539 PR python/19743
12540 * gdb.python/py-mi-events-gdb.py: New file.
12541 * gdb.python/py-mi-events.c: New file.
12542 * gdb.python/py-mi-events.exp: New file.
12543
12544 2016-03-30 Yao Qi <yao.qi@linaro.org>
12545
12546 * gdb.reverse/until-precsave.exp: Match function name only.
12547 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12548 Move malloc to a condition block.
12549 * gdb.reverse/until-reverse.exp: Match function name only.
12550
12551 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12552
12553 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12554 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12555 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12556 variable for GPR 0 instead of assuming it is register 0.
12557 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12558 * lib/trace-support.exp: Add s390 registers.
12559
12560 2016-03-29 Yao Qi <yao.qi@linaro.org>
12561
12562 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12563
12564 2016-03-24 Yao Qi <yao.qi@linaro.org>
12565
12566 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12567 test message.
12568
12569 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12570
12571 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12572 maintaining separate logic for constructing the output path.
12573
12574 2016-03-16 Don Breazeal <donb@codesourcery.com>
12575
12576 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12577 Retry fork and waitpid on interrupted system call errors.
12578 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12579 Use with_timeout_factor to increase timeout by factor of 10.
12580
12581 2016-03-15 Don Breazeal <donb@codesourcery.com>
12582
12583 * gdb.cp/scope-err.cc: New test program.
12584 * gdb.cp/scope-err.exp: New test script.
12585 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12586 lines and "set breakpoint here" comment.
12587 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12588 Fixed some whitespace and format issues.
12589 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12590 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12591
12592 2016-03-15 Doug Evans <dje@google.com>
12593
12594 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12595 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12596 All callers updated. Add tests for enums, mixed flags register.
12597
12598 2016-03-15 Doug Evans <dje@google.com>
12599
12600 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12601 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12602
12603 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12604
12605 * gdb.base/default.exp: Add $_as_string to the list of expected
12606 convenience functions.
12607
12608 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12609
12610 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12611
12612 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12613
12614 * gdb.python/py-as-string.exp: New file.
12615 * gdb.python/py-as-string.c: New file.
12616
12617 2016-03-09 Pedro Alves <palves@redhat.com>
12618
12619 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12620 signal" -> "Thread NN received signal" output change.
12621 * gdb.threads/ia64-sigill.exp: Likewise.
12622 * gdb.threads/linux-dp.exp: Likewise.
12623 * gdb.threads/manythreads.exp: Likewise.
12624 * gdb.threads/pending-step.exp: Likewise.
12625 * gdb.threads/print-threads.exp: Likewise.
12626 * gdb.threads/sigstep-threads.exp: Likewise.
12627 * gdb.threads/staticthreads.exp: Likewise.
12628 * gdb.threads/tls.exp: Likewise.
12629
12630 2016-03-09 Pedro Alves <palves@redhat.com>
12631
12632 * gdb.base/command-line-input.exp: New file.
12633
12634 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12635
12636 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12637 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12638 * gdb.trace/pending.exp: Accept leading dot before function name.
12639 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12640 * lib/trace-support.exp: Set registers for ppc.
12641
12642 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12643
12644 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12645 use it for disassembly; accept .main in addition to main in backtrace.
12646
12647 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
12648 Marcin Kościelnicki <koriakin@0x04.net>
12649
12650 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12651 (gdb_recursion_test_ptr): New global variable.
12652 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12653 gdb_recursion_test.
12654 (gdb_c_test): Ditto.
12655
12656 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12657
12658 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12659 ordering.
12660
12661 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12662
12663 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12664 (bar): Add bar_start_lbl label.
12665 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12666 of foo/bar for emitting DWARF and tracing.
12667
12668 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12669
12670 * analyze-racy-logs.py: Set executable bit.
12671
12672 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12673
12674 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12675 (CHECK_TARGET_TMP): Likewise.
12676 (check-single-racy): New rule.
12677 (check-parallel-racy): Likewise.
12678 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12679 (do-check-parallel-racy): New rule.
12680 (check-racy/%.exp): Likewise.
12681 * README (Racy testcases): New section.
12682 * analyze-racy-logs.py: New file.
12683
12684 2016-03-03 Doug Evans <dje@google.com>
12685
12686 * gdb.base/skip.exp: Use with_test_prefix.
12687
12688 2016-03-03 Yao Qi <yao.qi@linaro.org>
12689
12690 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12691 Invoke step_over_syscall "clone" and break_cond_on_syscall
12692 "clone".
12693 * gdb.base/step-over-clone.c: New file.
12694
12695 2016-03-03 Yao Qi <yao.qi@linaro.org>
12696
12697 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12698 code format.
12699
12700 2016-03-03 Yao Qi <yao.qi@linaro.org>
12701
12702 * gdb.base/disp-step-fork.c: Rename to ...
12703 * gdb.base/step-over-fork.c: ... it. New file.
12704 * gdb.base/disp-step-vfork.c: Rename to ...
12705 * gdb.base/step-over-vfork.c: ... it. New file.
12706 * gdb.base/disp-step-syscall.exp: Rename to ...
12707 * gdb.base/step-over-syscall.exp: ... it. New file.
12708 (disp_step_cross_syscall): Rename to ...
12709 (step_over_syscall): ... it.
12710
12711 2016-03-03 Yao Qi <yao.qi@linaro.org>
12712
12713 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12714 If target supports condition evaluation on target, invoke
12715 break_cond_on_syscall for fork and vfork.
12716
12717 2016-03-03 Yao Qi <yao.qi@linaro.org>
12718
12719 * gdb.base/disp-step-syscall.exp: Don't invoke
12720 support_displaced_stepping.
12721 (disp_step_cross_syscall): Test with displaced stepping off and
12722 on if supported.
12723
12724 2016-03-03 Yao Qi <yao.qi@linaro.org>
12725
12726 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12727 proc.
12728 (setup): New proc.
12729 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12730 and setup.
12731
12732 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12733
12734 * gdb.fortran/vla-history.exp: Remove breakpoint.
12735
12736 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12737
12738 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12739 exceeds timeout.
12740
12741 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12742
12743 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12744 breakpoint.
12745
12746 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12747
12748 * gdb.mi/vla.f90: Nullify pointer after declaration.
12749
12750 2016-03-01 Pedro Alves <palves@redhat.com>
12751
12752 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12753
12754 2016-03-01 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12757 before anything else.
12758 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12759 _GNU_SOURCE here.
12760 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12761 before anything else.
12762 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12763
12764 2016-03-01 Pedro Alves <palves@redhat.com>
12765
12766 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12767
12768 2016-03-01 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12771 prepare_for_testing.
12772
12773 2016-03-01 Yao Qi <yao.qi@linaro.org>
12774
12775 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12776
12777 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12780 manually constructing the output path.
12781
12782 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12783
12784 * gdb.arch/s390-stackless.S: New.
12785 * gdb.arch/s390-stackless.exp: New.
12786
12787 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12788
12789 * gdb.dlang/circular.c: New file.
12790 * gdb.dlang/circular.exp: New file.
12791
12792 2016-02-26 Yao Qi <yao.qi@linaro.org>
12793
12794 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12795 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12796 (testcases): Update.
12797
12798 2016-02-26 Yao Qi <yao.qi@linaro.org>
12799
12800 * gdb.reverse/aarch64.c: Rename to ...
12801 * gdb.reverse/insn-reverse.c: ... it.
12802 * gdb.reverse/aarch64.exp: Rename to ...
12803 * gdb.reverse/insn-reverse.exp: ... it.
12804
12805 2016-02-26 Yao Qi <yao.qi@linaro.org>
12806
12807 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12808 (testcase_ftype): New.
12809 (testcases): New array.
12810 (n_testcases): New.
12811 (main): Call each element in testcases.
12812 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12813 (read_testcase): New.
12814 Do the tests in a loop.
12815
12816 2016-02-25 Yao Qi <yao.qi@linaro.org>
12817
12818 * gdb.base/branches.c: Remove.
12819
12820 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12821
12822 PR gdb/13808
12823 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12824
12825 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12826
12827 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12828
12829 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12830
12831 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12832 change x86_64 call_insn to 'callq'.
12833
12834 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12835
12836 * gdb.trace/tfile-avx.c: Move to...
12837 * gdb.trace/tracefile-pseudo-reg.c: Here.
12838 * gdb.trace/tfile-avx.exp: Move to...
12839 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12840
12841 2016-02-24 Gary Benson <gbenson@redhat.com>
12842
12843 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12844 message on attach.
12845
12846 2016-02-23 Doug Evans <dje@google.com>
12847
12848 * gdb.base/skip.c (test_skip): New function.
12849 (end_test_skip_file_and_function): New function.
12850 (test_skip_file_and_function): New function.
12851 * gdb.base/skip1.c (test_skip): New function.
12852 (skip1_test_skip_file_and_function): New function.
12853 * gdb.base/skip.exp: Add tests for new skip options.
12854 * gdb.base/skip-solib.exp: Update expected output.
12855 * gdb.perf/skip-command.cc: New file.
12856 * gdb.perf/skip-command.exp: New file.
12857 * gdb.perf/skip-command.py: New file.
12858
12859 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12860
12861 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12862 info registers pattern.
12863
12864 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12865
12866 * lib/future.exp: Add D support.
12867 (gdb_find_gdc): New proc.
12868 (gdb_default_target_compile): Add D support.
12869
12870 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12871
12872 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12873 user+system time.
12874 (trace_speed_test): Determine the iteration count for a time
12875 between 15..30 seconds.
12876
12877 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12878
12879 * gdb.arch/i386-mpx-sigsegv.c: New file.
12880 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12881 * gdb.arch/i386-mpx-simple_segv.c: New file.
12882 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12883
12884 2016-02-18 Yao Qi <yao.qi@linaro.org>
12885
12886 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12887 Don't call setup_kfail.
12888
12889 2016-02-18 Yao Qi <yao.qi@linaro.org>
12890
12891 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12892 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12893
12894 2016-02-16 Doug Evans <dje@google.com>
12895
12896 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12897 * gdb.base/skip1.c: Ditto.
12898 * gdb.base/skip.exp: Whitespace cleanup.
12899
12900 2016-02-16 Don Breazeal <donb@codesourcery.com>
12901
12902 PR remote/19496
12903 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12904 Remove kfail for PR remote/19496.
12905
12906 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * lib/gdb.exp (standard_temp_file): Return a path specific to
12909 the runtest invocation.
12910
12911 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12912
12913 * gdb.trace/save-trace.exp: Change relative path to be in the
12914 standard output directory.
12915
12916 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12917
12918 * gdb.arch/i386-prologue.c: Add missing prototypes.
12919
12920 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12921
12922 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12923 * gdb.arch/i386-prologue.exp: Likewise.
12924 * gdb.arch/i386-size.exp: Likewise.
12925
12926 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12927
12928 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12929 define object file path.
12930 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12931 file path.
12932 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12933 standard_output_file to define binfile.
12934
12935 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12936
12937 Fix compatibility with recent gfortran-5.3.1.
12938 * gdb.fortran/vla-history.exp (print vla1 allocated)
12939 (print vla2 allocated, print $2, print $3): Remove
12940 (print $4): Rename to ...
12941 (print $2): ... here.
12942 (print $9): Rename to ...
12943 (print $5): ... here.
12944 (print $10): Rename to ...
12945 (print $6): ... here.
12946 * gdb.fortran/vla.f90: Add pvla initialization.
12947
12948 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12949
12950 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12951 New test.
12952 * gdb.fortran/vla-value-sub.exp: Likewise.
12953
12954 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12955
12956 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12957
12958 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12959
12960 * i386-biarch-core.exp: Define corefile using
12961 standard_output_file.
12962
12963 2016-02-12 Yao Qi <yao.qi@linaro.org>
12964
12965 * gdb.arch/arm-single-step-kernel-helper.c: New.
12966 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12967
12968 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12969
12970 * gdb.btrace/tailcall-only.exp: New.
12971 * gdb.btrace/tailcall-only.c: New.
12972 * gdb.btrace/x86_64-tailcall-only.S: New.
12973 * gdb.btrace/i686-tailcall-only.S: New.
12974
12975 2016-02-11 Pedro Alves <palves@redhat.com>
12976
12977 * README (Parallel testing): Add missing double quotes.
12978
12979 2016-02-11 Pedro Alves <palves@redhat.com>
12980
12981 * README (Parallel testing): New section.
12982 (GDB_PARALLEL): Rewrite.
12983 (FORCE_PARALLEL): Document.
12984
12985 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12986
12987 * gdb.trace/tfile-avx.c: New test.
12988 * gdb.trace/tfile-avx.exp: New test.
12989
12990 2016-02-09 Keith Seitz <keiths@redhat.com>
12991
12992 PR breakpoints/19546
12993 * gdb.base/infcall-exec.c: New file.
12994 * gdb.base/infcall-exec2.c: New file.
12995 * gdb.base/infcall-exec.exp: New file.
12996
12997 2016-02-09 Keith Seitz <keiths@redhat.com>
12998
12999 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13000 (toplevel): Call test_bkpt_address.
13001
13002 2016-02-09 Keith Seitz <keiths@redhat.com>
13003
13004 PR python/19506
13005 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13006 (toplevel): Call test_bkpt_address.
13007
13008 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13009
13010 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13011 to AC_OUTPUT.
13012 * configure: Regenerate.
13013
13014 2016-02-09 Pedro Alves <palves@redhat.com>
13015
13016 PR breakpoints/19548
13017 * gdb.base/execl-update-breakpoints.c (some_function): New
13018 function.
13019 (main): Call it.
13020 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13021 Tighten expected GDB output.
13022
13023 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13024
13025 * Makefile.in (ALL_SUBDIRS): Remove.
13026 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13027 (distclean maintainer-clean realclean): Likewise.
13028 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13029 * configure: Regenerate.
13030 * gdb.ada/Makefile.in: Delete.
13031 * gdb.arch/Makefile.in: Likewise.
13032 * gdb.asm/Makefile.in: Likewise.
13033 * gdb.base/Makefile.in: Likewise.
13034 * gdb.btrace/Makefile.in: Likewise.
13035 * gdb.cell/Makefile.in: Likewise.
13036 * gdb.compile/Makefile.in: Likewise.
13037 * gdb.cp/Makefile.in: Likewise.
13038 * gdb.disasm/Makefile.in: Likewise.
13039 * gdb.dlang/Makefile.in: Likewise.
13040 * gdb.dwarf2/Makefile.in: Likewise.
13041 * gdb.fortran/Makefile.in: Likewise.
13042 * gdb.gdb/Makefile.in: Likewise.
13043 * gdb.go/Makefile.in: Likewise.
13044 * gdb.guile/Makefile.in: Likewise.
13045 * gdb.java/Makefile.in: Likewise.
13046 * gdb.linespec/Makefile.in: Likewise.
13047 * gdb.mi/Makefile.in: Likewise.
13048 * gdb.modula2/Makefile.in: Likewise.
13049 * gdb.multi/Makefile.in: Likewise.
13050 * gdb.objc/Makefile.in: Likewise.
13051 * gdb.opencl/Makefile.in: Likewise.
13052 * gdb.opt/Makefile.in: Likewise.
13053 * gdb.pascal/Makefile.in: Likewise.
13054 * gdb.perf/Makefile.in: Likewise.
13055 * gdb.python/Makefile.in: Likewise.
13056 * gdb.reverse/Makefile.in: Likewise.
13057 * gdb.server/Makefile.in: Likewise.
13058 * gdb.stabs/Makefile.in: Likewise.
13059 * gdb.threads/Makefile.in: Likewise.
13060 * gdb.trace/Makefile.in: Likewise.
13061 * gdb.xml/Makefile.in: Likewise.
13062 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13063 GDB_PARALLEL.
13064 (standard_output_file): Remove check for GDB_PARALLEL, always
13065 return path in outputs/$subdir/$testname.
13066
13067 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13068
13069 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13070 (site.exp): Assign abs_srcdir to tcl's srcdir.
13071
13072 2016-02-04 Yao Qi <yao.qi@linaro.org>
13073
13074 * gdb.base/foll-exec-mode.c: Include limits.h.
13075 (main): Add parameters argc and argv. Get directory from
13076 argv[0].
13077 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13078 compilation.
13079 * gdb.base/foll-exec.c: Include limits.h.
13080 (main): Add parameters argc and argv.
13081 Get directory from argv[0].
13082 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13083 Adjust tests on the number of lines as source code changed.
13084 * gdb.base/foll-vfork-exit.c: Include limits.h.
13085 (main): Add one line of statement before vfork.
13086 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13087 (main): Add parameters argc and argv. Get directory from
13088 argv[0].
13089 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13090 (setup_gdb): Set tbreak to skip some source lines.
13091 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13092 (main): Add parameters argc and argv. Get directory from
13093 argv[0].
13094 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13095 compilation.
13096 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13097 (main): Add parameters argc and argv. Get directory from
13098 argv[0].
13099 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13100 compilation.
13101
13102 2016-02-01 Doug Evans <dje@google.com>
13103
13104 * gdb.base/skip.exp: Clean up multiple references to same test name.
13105
13106 2016-02-01 Pedro Alves <palves@redhat.com>
13107
13108 PR remote/19496
13109 * gdb.threads/forking-threads-plus-breakpoint.exp
13110 (displaced_stepping_supported): New global.
13111 (probe_displaced_stepping_support): New procedure.
13112 (do_test): Add 'displaced' parameter, and use it.
13113 (top level): Check for displaced stepping support. Add displaced
13114 stepping on/off testing axis.
13115
13116 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13117
13118 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13119 pointer. Don't perform further tests on the unassociated pointer
13120 if the first test fails.
13121
13122 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13123
13124 * gdb.base/max-value-size.c: New file.
13125 * gdb.base/max-value-size.exp: New file.
13126 * gdb.base/huge.exp: Disable max-value-size for this test.
13127
13128 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13129
13130 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13131
13132 2016-01-28 Yao Qi <yao.qi@linaro.org>
13133
13134 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13135
13136 2016-01-25 Pedro Alves <palves@redhat.com>
13137
13138 PR threads/19461
13139 * gdb.base/fork-running-state.c: New file.
13140 * gdb.base/fork-running-state.exp: New file.
13141
13142 2016-01-25 Pedro Alves <palves@redhat.com>
13143
13144 PR gdb/19494
13145 * gdb.base/catch-fork-kill.c: New file.
13146 * gdb.base/catch-fork-kill.exp: New file.
13147
13148 2016-01-25 Pedro Alves <palves@redhat.com>
13149
13150 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13151 Delete, moved to lib/gdb.exp.
13152 * gdb.threads/forking-threads-plus-breakpoint.exp
13153 (foreach_with_prefix): Likewise.
13154 * gdb.threads/process-dies-while-handling-bp.exp
13155 (foreach_with_prefix): Likewise.
13156 * lib/gdb.exp (foreach_with_prefix): New procedure.
13157
13158 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13159
13160 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13161 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13162
13163 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13164
13165 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13166 endian targets.
13167
13168 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13169 Pedro Alves <palves@redhat.com>
13170
13171 Fix testsuite compatibility with Guile.
13172 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13173 number.
13174
13175 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 Fix testsuite compatibility with Guile.
13178 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13179 (thread 1): New test for backtrace through signal handler.
13180
13181 2016-01-22 Yao Qi <yao.qi@linaro.org>
13182
13183 PR testsuite/19491
13184 * gdb.base/multi-forks.c: Include
13185 ../lib/unbuffer_output.c
13186 (main): Call gdb_unbuffer_output.
13187
13188 2016-01-21 Doug Evans <dje@google.com>
13189
13190 * lib/ada.exp (gdb_compile_ada): Fix typo.
13191
13192 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13193
13194 * gdb.base/break-fun-addr.exp: New file.
13195 * gdb.base/break-fun-addr1.c: New file.
13196 * gdb.base/break-fun-addr2.c: New file.
13197
13198 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13199
13200 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13201 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13202 enum flag values.
13203
13204 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13205
13206 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13207 when GDB can not set the vector return value. Add more comments
13208 for clarification.
13209
13210 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13211
13212 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13213 command.
13214
13215 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13216
13217 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13218
13219 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13220
13221 * Makefile.in (check-single): Pass --status to runtest.
13222 (check/%.exp): Likewise.
13223
13224 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13225
13226 * Makefile.in (check-parallel): Propagate return code from make
13227 do-check-parallel.
13228
13229 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13230
13231 * gdb.trace/ftrace.exp: Fix expected message on continue.
13232 * gdb.trace/pending.exp: Fix expected message on continue.
13233 * gdb.trace/trace-break.exp: Fix expected message on continue.
13234
13235 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13236
13237 * lib/gdb.exp (gdb_test): Remove unused global references.
13238
13239 2016-01-18 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.base/async-shell.exp: Adjust expected output.
13242 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13243 * gdb.base/siginfo-thread.exp: Adjust expected output.
13244 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13245 * gdb.java/jnpe.exp: Adjust expected output.
13246 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13247 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13248 * gdb.threads/leader-exit.exp: Adjust expected output.
13249 * gdb.threads/manythreads.exp: Adjust expected output.
13250 * gdb.threads/pthreads.exp: Adjust expected output.
13251 * gdb.threads/schedlock.exp: Adjust expected output.
13252 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13253 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13254 expected output.
13255 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13256 output.
13257 * gdb.threads/sigthread.exp: Adjust expected output.
13258 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13259
13260 2016-01-18 Yao Qi <yao.qi@linaro.org>
13261
13262 * gdb.guile/scm-section-script.c: Replace @progbits with
13263 %progbits.
13264 * gdb.python/py-section-script.c: Likewise.
13265
13266 2016-01-15 Pedro Alves <palves@redhat.com>
13267
13268 * gdb.multi/tids.exp: Test star wildcard ranges.
13269
13270 2016-01-15 Pedro Alves <palves@redhat.com>
13271
13272 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13273 command from "thread apply" invocation.
13274 (thr_apply_info_thr_invalid): Default the expected output to the
13275 input tid list.
13276 (top level): Add tests that use convenience variables. Add tests
13277 for "thread apply" with a valid TID list, but missing the command.
13278
13279 2016-01-13 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.base/default.exp: Expect $_gthread as well.
13282 * gdb.multi/tids.exp: Test $_gthread.
13283 * gdb.threads/thread-specific.exp: Test $_gthread.
13284
13285 2016-01-13 Pedro Alves <palves@redhat.com>
13286
13287 * gdb.multi/tids.exp: Test "info threads -gid".
13288
13289 2016-01-13 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13292 Breakpoint.thread.
13293 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13294
13295 2016-01-07 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.base/break.exp: Adjust to output changes.
13298 * gdb.base/hbreak2.exp: Likewise.
13299 * gdb.base/sepdebug.exp: Likewise.
13300 * gdb.base/watch_thread_num.exp: Likewise.
13301 * gdb.linespec/keywords.exp: Likewise.
13302 * gdb.multi/info-threads.exp: Likewise.
13303 * gdb.threads/thread-find.exp: Likewise.
13304 * gdb.multi/tids.c: New file.
13305 * gdb.multi/tids.exp: New file.
13306
13307 2016-01-13 Pedro Alves <palves@redhat.com>
13308
13309 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13310
13311 2016-01-13 Pedro Alves <palves@redhat.com>
13312
13313 * gdb.base/default.exp: Expect $_inferior as well.
13314 * gdb.multi/base.exp: Test $_inferior.
13315
13316 2016-01-13 Pedro Alves <palves@redhat.com>
13317
13318 PR breakpoints/19388
13319 * gdb.base/catch-signal-siginfo-cond.c: New file.
13320 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13321
13322 2016-01-12 Josh Stone <jistone@redhat.com>
13323 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13324
13325 * gdb.base/catch-syscall.c (do_execve): New variable.
13326 (main): Conditionally trigger an execve.
13327 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13328 (test_catch_syscall_execve): New, check entry/return across execve.
13329 (do_syscall_tests): Call test_catch_syscall_execve.
13330
13331 2016-01-12 Pedro Alves <palves@redhat.com>
13332
13333 * gdb.base/random-signal.exp (do_test): New procedure, with body
13334 of testcase moved in.
13335
13336 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13337 Pedro Alves <palves@redhat.com>
13338
13339 * gdb.base/funcargs.exp (finish from indirectly called function):
13340 Reintroduce the case for 'First'.
13341
13342 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13343 Pedro Alves <palves@redhat.com>
13344
13345 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13346 (tcatch_vfork_then_child_follow_exec)
13347 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13348 identification.
13349
13350 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13351
13352 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13353 and repeats to unlimited.
13354 * gdb.python/py-value.exp: Likewise.
13355 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13356 and repeats to unlimited.
13357
13358 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13359
13360 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13361 and reordering the functions.
13362 * gdb.multi/hangout.c: Likewise.
13363 * gdb.multi/hello.c: Likewise.
13364
13365 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13366
13367 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13368 absolute.
13369 (SingleStatisticTestResult.report): Use dict.keys instead of
13370 dict.iterkeys.
13371
13372 2016-01-06 Pedro Alves <palves@redhat.com>
13373
13374 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13375
13376 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13377
13378 * gdb.btrace/dlopen.exp: New.
13379 * gdb.btrace/dlopen.c: New.
13380 * gdb.btrace/dlopen-dso.c: New.
13381
13382 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13383
13384 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13385 PATTERN argument is optional.
13386
13387 2015-12-24 Joel Brobecker <brobecker@adacore.com>
13388
13389 * lib/ada.exp (target_compile_ada_from_dir): New function.
13390 (gdb_compile_ada): Reimplement avoiding the use of project files.
13391 * gdb.ada/gnat_ada.gpr: Delete.
13392 * gdb.ada/cond_lang.exp: Adjust test to make path before
13393 filename optional.
13394 * gdb.ada/small_reg_param.exp: Likewise.
13395
13396 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13397
13398 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13399
13400 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13401
13402 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13403 case.
13404
13405 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13406
13407 * gdb.base/break.exp: Remove dead code.
13408 * gdb.base/sepdebug.exp: Likewise.
13409
13410 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13411
13412 * gdb.asm/asm-source.exp: Remove HP-UX references.
13413 * gdb.base/annota1.exp: Likewise.
13414 * gdb.base/annota3.exp: Likewise.
13415 * gdb.base/attach.exp: Likewise.
13416 * gdb.base/bigcore.exp: Likewise.
13417 * gdb.base/break.exp: Likewise.
13418 * gdb.base/call-ar-st.exp: Likewise.
13419 * gdb.base/callfuncs.exp: Likewise.
13420 * gdb.base/catch-fork-static.exp: Likewise.
13421 * gdb.base/display.exp: Likewise.
13422 * gdb.base/foll-exec-mode.exp: Likewise.
13423 * gdb.base/foll-exec.exp: Likewise.
13424 * gdb.base/foll-fork.exp: Likewise.
13425 * gdb.base/foll-vfork.exp: Likewise.
13426 * gdb.base/funcargs.exp: Likewise.
13427 * gdb.base/hbreak2.exp: Likewise.
13428 * gdb.base/inferior-died.exp: Likewise.
13429 * gdb.base/interrupt.exp: Likewise.
13430 * gdb.base/multi-forks.exp: Likewise.
13431 * gdb.base/nodebug.exp: Likewise.
13432 * gdb.base/sepdebug.exp: Likewise.
13433 * gdb.base/solib1.c: Likewise.
13434 * gdb.base/step-test.exp: Likewise.
13435 * gdb.mi/non-stop.c: Likewise.
13436 * gdb.mi/pthreads.c: Likewise.
13437 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13438 * gdb.threads/pthreads.c: Likewise.
13439 * gdb.threads/staticthreads.exp: Likewise.
13440 * lib/future.exp: Likewise.
13441 * lib/gdb.exp: Likewise.
13442 * gdb.base/so-indr-cl.c: Remove.
13443 * gdb.base/so-indr-cl.exp: Likewise.
13444 * gdb.base/solib.c: Likewise.
13445 * gdb.base/solib.exp: Likewise.
13446 * gdb.base/solib2.c: Likewise.
13447
13448 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13449
13450 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13451 * gdb.base/call-ar-st.exp: Likewise.
13452 * gdb.base/callfuncs.exp: Likewise.
13453 * gdb.base/condbreak.exp: Likewise.
13454 * gdb.base/constvars.exp: Likewise.
13455 * gdb.base/hbreak2.exp: Likewise.
13456 * gdb.base/langs.exp: Likewise.
13457 * gdb.base/list.exp: Likewise.
13458 * gdb.base/long_long.exp: Likewise.
13459 * gdb.base/ptype.exp: Likewise.
13460 * gdb.base/scope.exp: Likewise.
13461 * gdb.base/signals.exp: Likewise.
13462 * gdb.base/so-impl-ld.exp: Likewise.
13463 * gdb.base/varargs.exp: Likewise.
13464 * gdb.base/volatile.exp: Likewise.
13465 * gdb.base/whatis.exp: Likewise.
13466 * gdb.cp/cplusfuncs.exp: Likewise.
13467 * gdb.cp/inherit.exp: Likewise.
13468 * gdb.cp/local.exp: Likewise.
13469 * gdb.cp/member-ptr.exp: Likewise.
13470 * gdb.cp/method.exp: Likewise.
13471 * gdb.cp/overload.exp: Likewise.
13472 * gdb.cp/templates.exp: Likewise.
13473 * gdb.stabs/weird.exp: Likewise.
13474 * lib/compiler.c: Likewise.
13475 * lib/compiler.cc: Likewise.
13476 * lib/cp-support.exp: Likewise.
13477 * lib/gdb.exp: Likewise.
13478
13479 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13480
13481 * configure.ac: Remove HP-UX case.
13482 * configure: Regenerate.
13483
13484 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13485
13486 * lib/gdb.exp (gdb_compile): Add function doc.
13487
13488 2015-12-17 Pedro Alves <palves@redhat.com>
13489
13490 PR threads/19354
13491 * gdb.multi/info-threads.exp: New file.
13492
13493 2015-12-15 Yao Qi <yao.qi@linaro.org>
13494
13495 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13496 is aarch64*-*-*.
13497
13498 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13499
13500 * gdb.base/history-duplicates.exp: Skip if no readline support.
13501
13502 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13503
13504 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13505
13506 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13507
13508 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13509
13510 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13511
13512 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13513 ctrl-C if nointerrupts target property is set.
13514 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13515 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13516 * gdb.base/paginate-bg-execution.exp: Likewise.
13517 * gdb.base/paginate-execution-startup.exp: Likewise.
13518 * gdb.base/random-signal.exp: Likewise.
13519 * gdb.base/range-stepping.exp: Likewise.
13520 * gdb.cp/annota2.exp: Likewise.
13521 * gdb.cp/annota3.exp: Likewise.
13522 * gdb.gdb/selftest.exp: Likewise.
13523 * gdb.threads/continue-pending-status.exp: Likewise.
13524 * gdb.threads/leader-exit.exp: Likewise.
13525 * gdb.threads/manythreads.exp: Likewise.
13526 * gdb.threads/pthreads.exp: Likewise.
13527 * gdb.threads/schedlock.exp: Likewise.
13528 * gdb.threads/sigthread.exp: Likewise.
13529
13530 2015-12-11 Don Breazeal <donb@codesourcery.com>
13531
13532 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13533 remote.
13534 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13535 * gdb.base/foll-exec.exp (main): Enable for target remote.
13536 * gdb.base/foll-fork.exp (main): Likewise.
13537 * gdb.base/foll-vfork.exp (main): Likewise.
13538 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13539 (proc continue_to_exit_bp_loc): Use clean_restart.
13540 * gdb.base/pie-execl.exp (main): Disable for target remote.
13541 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13542 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13543 * gdb.threads/execl.exp (main): Likewise.
13544 * gdb.threads/fork-child-threads.exp (main): Likewise.
13545 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13546 remote.
13547 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13548 remote.
13549 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13550 pid.tid style ptids, instead of just tid.
13551 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13552 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13553 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13554 ptids, instead of just tid.
13555
13556 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13557
13558 * gdb.base/list.exp (test_list_forward): Add end of file error
13559 test.
13560 (test_repeat_list_command): Add end of file error test.
13561 (test_list_backwards): Add beginning of file error test.
13562
13563 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13564
13565 * gdb.base/list.exp (test_list_invalid_args): New function,
13566 defined, and called.
13567
13568 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13569
13570 * gdb.base/list.exp (test_list): Make test names unique.
13571
13572 2015-12-11 Yao Qi <yao.qi@linaro.org>
13573
13574 * gdb.base/coremaker2.c: Remove.
13575
13576 2015-12-10 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.multi/base.exp: Remove stale "spaces" references.
13579
13580 2015-12-10 Pedro Alves <palves@redhat.com>
13581
13582 * gdb.multi/base.exp: Don't use nowarnings.
13583 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13584 * gdb.multi/hangout.c: Include stdio.h.
13585 * gdb.multi/hello.c: Include stdlib.h.
13586 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13587 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13588 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13589
13590 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13591
13592 * gdb.dwarf2/dw2-ranges-base.c: New file.
13593 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13594 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13595 support additional line table, and debug ranges generation.
13596 (Dwarf::ranges): New function, generate .debug_ranges.
13597 (Dwarf::lines): Support generating simple line table programs.
13598 (Dwarf::assemble): Initialise new namespace variables.
13599
13600 2015-12-09 Kevin Buettner <kevinb@redhat.com>
13601
13602 * gdb.base/async.exp (proc test_background): Add case for
13603 asynchronous execution not supported.
13604
13605 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
13606
13607 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13608 format and change test names to make them unique.
13609
13610 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13611 Pedro Alves <pedro@redhat.com>
13612
13613 PR gdb/18702
13614 Add checking of floatformats setup on x86_64 hosts.
13615 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13616 (smallval, bigval): New labels/constants.
13617 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13618 float" after loading bigval and smallval.
13619
13620 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13621
13622 * gdb.ada/fun_overload_menu.exp: New testcase.
13623 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13624
13625 2015-12-04 Josh Stone <jistone@redhat.com>
13626
13627 * gdb.base/catch-fork-static.exp: New.
13628
13629 2015-12-03 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.base/sizeof.c: Don't include stdio.h and
13632 ../lib/unbuffer_output.c.
13633 (main): New variable 'size' and 'value'. Remove printf and
13634 gdb_unbuffer_output. Assign return value to size and value.
13635 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13636 at the beginning.
13637 (check_sizeof): Check the result by printing variable 'size'.
13638 (check_valueof): Check the result by printing variable 'value'.
13639
13640 2015-12-01 Yao Qi <yao.qi@linaro.org>
13641
13642 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13643 for aarch64*-*-linux* target.
13644
13645 2015-11-30 Pedro Alves <palves@redhat.com>
13646
13647 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13648
13649 2015-11-30 Pedro Alves <palves@redhat.com>
13650
13651 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13652 Handle non-stop mode vCont replies.
13653
13654 2015-11-30 Pedro Alves <palves@redhat.com>
13655
13656 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13657 prepare_for_testing. Start gdb with "set non-stop on" appended to
13658 GDBFLAGS. Lax expected stop output.
13659
13660 2015-11-27 Yao Qi <yao.qi@linaro.org>
13661
13662 * gdb.arch/arm-neon.exp: New.
13663 * gdb.arch/arm-neon.c: New.
13664
13665 2015-11-27 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13668
13669 2015-11-27 Yao Qi <yao.qi@linaro.org>
13670
13671 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13672 frames-invalid annotation.
13673
13674 2015-11-27 Yao Qi <yao.qi@linaro.org>
13675
13676 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13677
13678 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13679
13680 * gdb.threads/names.exp: New file.
13681 * gdb.threads/names.c: New file.
13682 * README: Mention gdb,no_thread_names.
13683
13684 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13685
13686 PR 19297
13687 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13688 support" error.
13689
13690 2015-11-24 Pedro Alves <palves@redhat.com>
13691
13692 PR 17539
13693 * gdb.base/display.exp: Expect displays to be sorted in ascending
13694 order. Use multi_line.
13695 * gdb.base/solib-display.exp: Likewise.
13696
13697 2015-11-24 Pedro Alves <palves@redhat.com>
13698
13699 PR 17539
13700 * gdb.base/display.exp: Expect displays to be sorted in ascending
13701 order. Use multi_line.
13702 * gdb.base/solib-display.exp: Likewise.
13703
13704 2015-11-24 Pedro Alves <palves@redhat.com>
13705
13706 PR 17539
13707 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13708 threads in ascending order.
13709 * gdb.base/foll-fork.exp: Likewise.
13710 * gdb.base/foll-vfork.exp: Likewise.
13711 * gdb.base/multi-forks.exp: Likewise.
13712 * gdb.mi/mi-nonstop.exp: Likewise.
13713 * gdb.mi/mi-nsintrall.exp: Likewise.
13714 * gdb.multi/base.exp: Likewise.
13715 * gdb.multi/multi-arch.exp: Likewise.
13716 * gdb.python/py-inferior.exp: Likewise.
13717 * gdb.threads/break-while-running.exp: Likewise.
13718 * gdb.threads/execl.exp: Likewise.
13719 * gdb.threads/gcore-thread.exp: Likewise.
13720 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13721 * gdb.threads/kill.exp: Likewise.
13722 * gdb.threads/linux-dp.exp: Likewise.
13723 * gdb.threads/multiple-step-overs.exp: Likewise.
13724 * gdb.threads/next-bp-other-thread.exp: Likewise.
13725 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13726 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13727 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13728 * gdb.threads/thread-find.exp: Likewise.
13729 * gdb.threads/tls.exp: Likewise.
13730 * lib/mi-support.exp (mi_reverse_list): Delete.
13731 (mi_check_thread_states): No longer reverse list.
13732
13733 2015-11-24 Pedro Alves <palves@redhat.com>
13734
13735 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13736 use lowercase.
13737
13738 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13739
13740 * gdb.trace/actions.c: Include trace-common.h.
13741 (main): Add a location for a fast tracepoint.
13742 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13743 the normal tracepoints.
13744 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13745
13746 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13747
13748 * save-trace.exp: Factor out code to these...
13749 (gdb_save_tracepoints): New.
13750 (gdb_load_tracepoints): New.
13751 (do_save_load_test): New.
13752
13753 2015-11-23 Kevin Buettner <kevinb@redhat.com>
13754
13755 * gdb.base/asmlabel.exp: New test.
13756 * gdb.base/asmlabel.c: New test case.
13757
13758 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13759
13760 * gdb.base/wrong_frame_bt_full-main.c: New file.
13761 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13762 * gdb.base/wrong_frame_bt_full.exp: New file.
13763
13764 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13765
13766 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13767
13768 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13769
13770 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
13771 pstate register when comparing registers values in
13772 sparc64-*-linux-gnu targets to avoid spurious differences.
13773
13774 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13775
13776 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
13777
13778 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13779
13780 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13781 as type argument to gdb_compile.
13782 * gdb.base/nested-subp2.exp: Likewise.
13783 * gdb.base/nested-subp3.exp: Likewise.
13784
13785 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13786
13787 * lib/dwarf.exp (_note): Fix left shift of negative value.
13788 * gdb.trace/trace-condition.exp: Likewise.
13789
13790 2015-11-13 Yao Qi <yao.qi@linaro.org>
13791
13792 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13793 comments about d10v.
13794 (test_scalar_returns): Likewise.
13795 * gdb.base/d10v.ld: Remove.
13796 * gdb.base/overlays.exp: Remove the target triplet checking for
13797 d10v-*-*.
13798 * gdb.base/structs.exp (test_struct_returns): Remove the
13799 comments about d10v.
13800 (test_struct_calls): Likewise.
13801
13802 2015-11-13 Yao Qi <yao.qi@linaro.org>
13803
13804 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13805 * gdb.base/gnu_vector.c: Don't include stdio.h.
13806 (main): Don't print res and call add_some_intvecs.
13807
13808 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13809
13810 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13811 macro.
13812 (func5): Removed.
13813 (func4): Use FAST_TRACEPOINT_LABEL.
13814 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13815 macro.
13816 (func): Removed.
13817 (thread_function): Use FAST_TRACEPOINT_LABEL.
13818 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13819 (func): Remove.
13820 (marker): Use FAST_TRACEPOINT_LABEL.
13821 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13822 (pendfunc1): Remove.
13823 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13824 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13825 (foo): Remove.
13826 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13827 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13828 macro.
13829 (func): Remove.
13830 (marker): Use FAST_TRACEPOINT_LABEL.
13831 * gdb.trace/trace-common.h: New header.
13832 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13833 macro.
13834 (func): Remove.
13835 (marker): Use FAST_TRACEPOINT_LABEL.
13836 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13837 (func): Remove.
13838 (thread_function): Use FAST_TRACEPOINT_LABEL.
13839
13840 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13841
13842 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13843 in front.
13844 * gdb.trace/change-loc.exp: Use global pcreg definition.
13845 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13846 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13847 in front.
13848 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13849 * gdb.trace/pending.exp: Likewise.
13850 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13851 * gdb.trace/trace-break.exp: Likewise.
13852 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13853 in front.
13854 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13855 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13856 in front.
13857 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13858
13859 2015-11-09 Joel Brobecker <brobecker@adacore.com>
13860
13861 * gdb.ada/fin_fun_out: New testcase.
13862
13863 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13864
13865 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13866 value associated with DW_AT_byte_size.
13867 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13868 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13869 DW_AT_upper_bound.
13870
13871 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13872
13873 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13874 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13875 version.
13876 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13877 gdb.dwarf2/dw2-canonicalize-type.exp,
13878 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13879 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13880 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13881 provided by gdb_target_symbol_prefix_flags_asm.
13882 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13883 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13884 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13885 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13886 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13887 macros where needed). Use this macro for symbols which require
13888 the prefix provided by SYMBOL_PREFIX.
13889
13890 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13891
13892 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13893 New procs.
13894 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13895 representing expressions, of more than one list element.
13896 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13897 to prepend linker symbol prefix to f.
13898 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13899 table_1 and table_2.
13900 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13901 Likewise, for f and g.
13902 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13903 for ptr.
13904 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13905 for main.
13906 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13907 table_1_ptr and table_2_ptr.
13908
13909 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13910 Joel Brobecker <brobecker@adacore.com>
13911
13912 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13913
13914 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13915
13916 * gdb.reverse/s390-mvcle.c: New test.
13917 * gdb.reverse/s390-mvcle.exp: New file.
13918 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13919
13920 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13921
13922 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13923
13924 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13925
13926 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13927 reaching marker2.
13928 * gdb.reverse/getresuid-reverse.exp: Likewise.
13929 * gdb.reverse/pipe-reverse.exp: Likewise.
13930 * gdb.reverse/readv-reverse.exp: Likewise.
13931 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13932 * gdb.reverse/time-reverse.exp: Likewise.
13933 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13934
13935 2015-10-30 Yao Qi <yao.qi@linaro.org>
13936
13937 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13938 (empty_cycle): Remove.
13939 (main): Don't call empty_cycle. Don't use watch_count_done.
13940 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13941 empty_cycle. Rewrite the code counting HW watchpoints.
13942
13943 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13944
13945 * gdb.reverse/fstatat-reverse.c: New test.
13946 * gdb.reverse/fstatat-reverse.exp: New file.
13947 * gdb.reverse/getresuid-reverse.c: New test.
13948 * gdb.reverse/getresuid-reverse.exp: New file.
13949 * gdb.reverse/pipe-reverse.c: New test.
13950 * gdb.reverse/pipe-reverse.exp: New file.
13951 * gdb.reverse/readv-reverse.c: New test.
13952 * gdb.reverse/readv-reverse.exp: New file.
13953 * gdb.reverse/recvmsg-reverse.c: New test.
13954 * gdb.reverse/recvmsg-reverse.exp: New file.
13955 * gdb.reverse/time-reverse.c: New test.
13956 * gdb.reverse/time-reverse.exp: New file.
13957 * gdb.reverse/waitpid-reverse.c: New test.
13958 * gdb.reverse/waitpid-reverse.exp: New file.
13959
13960 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13961
13962 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13963
13964 2015-10-26 Doug Evans <dje@google.com>
13965
13966 PR symtab/17391
13967 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13968 * gdb.dwarf2/bad-regnum.c: New file.
13969 * gdb.dwarf2/bad-regnum.exp: New file.
13970
13971 2015-10-26 Doug Evans <dje@google.com>
13972
13973 PR python/18938
13974 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13975 file.
13976
13977 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13980 for a change by "Mention language in compile error message".
13981
13982 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13983
13984 PR python/18073
13985 * gdb.python/py-type.c (C::a_method): New.
13986 (C::a_const_method): New.
13987 (C::a_static_method): New.
13988 (a_function): New.
13989 * gdb.python/py-type.exp (test_fields): Test getting fields
13990 from function and method.
13991
13992 2015-10-21 Keven Boell <keven.boell@intel.com>
13993
13994 * gdb.fortran/vla-alloc-assoc.exp: New file.
13995 * gdb.fortran/vla-datatypes.exp: New file.
13996 * gdb.fortran/vla-datatypes.f90: New file.
13997 * gdb.fortran/vla-history.exp: New file.
13998 * gdb.fortran/vla-ptype-sub.exp: New file.
13999 * gdb.fortran/vla-ptype.exp: New file.
14000 * gdb.fortran/vla-sizeof.exp: New file.
14001 * gdb.fortran/vla-sub.f90: New file.
14002 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14003 * gdb.fortran/vla-value-sub-finish.exp: New file.
14004 * gdb.fortran/vla-value-sub.exp: New file.
14005 * gdb.fortran/vla-value.exp: New file.
14006 * gdb.fortran/vla-ptr-info.exp: New file.
14007 * gdb.mi/mi-vla-fortran.exp: New file.
14008 * gdb.mi/vla.f90: New file.
14009
14010 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14011
14012 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14013 of hardwired timeout value.
14014
14015 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14016 Pedro Alves <palves@redhat.com>
14017
14018 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14019 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14020
14021 2015-10-19 Josh Stone <jistone@redhat.com>
14022
14023 * gdb.base/catch-syscall.c: Include <sched.h>.
14024 (unknown_syscall): New variable.
14025 (main): Trigger a vfork and an unknown syscall.
14026 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14027 (unknown_syscall_number): Likewise.
14028 (check_call_to_syscall): Accept an optional syscall pattern.
14029 (check_return_from_syscall): Likewise.
14030 (check_continue): Likewise.
14031 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14032 (test_catch_syscall_skipping_return): New test toggling off 'catch
14033 syscall' to step over the syscall return, then toggling back on.
14034 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14035 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14036 (do_syscall_tests): Call test_catch_syscall_without_args and
14037 test_catch_syscall_mid_vfork.
14038 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14039 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14040
14041 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14042
14043 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14044 print g_vE): Add new pass patterns.
14045 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14046 print various symbol names for vptr fields.
14047
14048 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14049
14050 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14051 results.
14052
14053 2015-10-12 Yao Qi <yao.qi@linaro.org>
14054
14055 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14056
14057 2015-10-12 Yao Qi <yao.qi@linaro.org>
14058
14059 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14060 is aarch64*-*-linux*.
14061
14062 2015-10-12 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14065 (can_relocate_bcond_true): ... it.
14066 (can_relocate_bcond_false): New function.
14067 (foo): Likewise.
14068 (can_relocate_bl): Likewise.
14069 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14070 can_relocate_bl.
14071
14072 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14073
14074 * gdb.base/nested-addr.c: New file.
14075 * gdb.base/nested-addr.exp: New testcase.
14076
14077 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14078
14079 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14080 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14081 its output. Ignore the output of "record goto begin" and instead
14082 check that GDB is replaying.
14083
14084 2015-10-09 Pedro Alves <palves@redhat.com>
14085
14086 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14087 (top level): Use it in the run with no args test.
14088
14089 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14090
14091 * gdb.dlang/properties.exp: New file.
14092
14093 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14094
14095 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14096 whether or not address 0x1000 is mapped on the target.
14097
14098 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14099
14100 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14101 build.
14102
14103 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14104
14105 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14106 instruction-history test.
14107
14108 2015-09-28 Doug Evans <dje@google.com>
14109
14110 * gdb.base/gcore.c (array_func): Add reference to static_array.
14111
14112 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14113
14114 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14115 source line.
14116
14117 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14118
14119 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14120 short or char as base type.
14121
14122 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14123
14124 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14125 to allow any size enum.
14126
14127 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14128
14129 * gdb.ada/array_ptr_renaming.exp: New testcase.
14130 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14131 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14132
14133 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14134
14135 * gdb.trace/ftrace-lock.c: New file.
14136 * gdb.trace/ftrace-lock.exp: New file.
14137
14138 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14139
14140 * gdb.arch/insn-reloc.c: New file.
14141 * gdb.arch/ftrace-insn-reloc.exp: New file.
14142
14143 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14144
14145 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14146 instruction.
14147 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14148 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14149 * gdb.trace/range-stepping.c: Likewise.
14150 * gdb.trace/trace-break.c: Likewise.
14151 * gdb.trace/trace-mt.c (thread_function): Likewise.
14152 * gdb.trace/ftrace.c (marker): Likewise.
14153 * gdb.trace/trace-condition.c (marker): Likewise.
14154 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14155 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14156 is_aarch64_target.
14157
14158 2015-09-18 Doug Evans <xdje42@gmail.com>
14159
14160 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14161 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14162
14163 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14164
14165 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14166 the breakpoint.
14167
14168 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14169
14170 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14171 the pending breakpoint. Remove timeout override for "Run till
14172 MI pending breakpoint on pendfunc3 on thread 2" test.
14173
14174 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14175
14176 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14177 filename pattern.
14178
14179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14180
14181 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14182 in breakpoint filename pattern.
14183
14184 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14185
14186 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14187
14188 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14189
14190 * gdb.linespec/explicit.exp: Check for readline support for
14191 tab-completion tests. Fix obvious typo.
14192
14193 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14194
14195 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14196 and replay.
14197
14198 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14199
14200 * gdb.btrace/non-stop.c: New.
14201 * gdb.btrace/non-stop.exp: New.
14202
14203 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14204 Yao Qi <yao.qi@linaro.org>
14205
14206 * gdb.trace/trace-condition.c: New file.
14207 * gdb.trace/trace-condition.exp: New file.
14208
14209 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14210
14211 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14212 for testing bytecode compilation.
14213
14214 2015-09-16 Pedro Alves <palves@redhat.com>
14215 Sandra Loosemore <sandra@codesourcery.com>
14216
14217 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14218 (SECONDS): Redefine.
14219 (main): Call pthread_kill and alarm early.
14220 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14221 support.
14222 (test): If the target can't hardware step and doesn't support
14223 displaced stepping, increase the timeout.
14224
14225 2015-09-16 Pedro Alves <palves@redhat.com>
14226
14227 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14228 (enable_debug): New procedures.
14229 (test): Use them. Bail out if waiting for threads fails.
14230 (top level): Bail out if a test fails.
14231
14232 2015-09-16 Yao Qi <yao.qi@linaro.org>
14233
14234 * gdb.asm/asm-source.exp: Set asm-arch for
14235 aarch64*-*-* target.
14236 * gdb.asm/aarch64.inc: New file.
14237
14238 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14239
14240 * gdb.ada/array_of_variable_length.exp: New testcase.
14241 * gdb.ada/array_of_variable_length/foo.adb: New file.
14242 * gdb.ada/array_of_variable_length/pck.adb: New file.
14243 * gdb.ada/array_of_variable_length/pck.ads: New file.
14244
14245 2015-09-15 Doug Evans <dje@google.com>
14246
14247 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14248 of function static local variable.
14249
14250 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14251
14252 * gdb.threads/tls-so_extern.exp: New test file.
14253 * gdb.threads/tls-so_extern.c: New test file.
14254 * gdb.threads/tls-so_extern_main.c: New test file.
14255
14256 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14257
14258 * gdb.opt/solib-intra-step-lib.c: New file.
14259 * gdb.opt/solib-intra-step-main.c: New file.
14260 * gdb.opt/solib-intra-step.exp: New file.
14261
14262 2015-09-15 Pedro Alves <palves@redhat.com>
14263
14264 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14265 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14266
14267 2015-09-14 Pedro Alves <palves@redhat.com>
14268
14269 * gdb.base/hook-stop-continue.c: Delete.
14270 * gdb.base/hook-stop-continue.exp: Delete.
14271 * gdb.base/hook-stop-frame.c: Delete.
14272 * gdb.base/hook-stop-frame.exp: Delete.
14273 * gdb.base/hook-stop.c: New file.
14274 * gdb.base/hook-stop.exp: New file.
14275
14276 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14277
14278 * gdb.ada/access_to_packed_array.exp: New testcase.
14279 * gdb.ada/access_to_packed_array/foo.adb: New file.
14280 * gdb.ada/access_to_packed_array/pack.adb: New file.
14281 * gdb.ada/access_to_packed_array/pack.ads: New file.
14282
14283 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14284
14285 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14286 buffer size test.
14287
14288 2015-09-11 Don Breazeal <donb@codesourcery.com>
14289
14290 * gdb.base/foll-exec.c: Add copyright header. Fix
14291 formatting issues.
14292 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14293 (do_exec_tests): Use clean_restart in place of zap_session,
14294 and for test initialization. Fix formatting issues. Use
14295 fail in place of perror.
14296 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14297 an expect statement to match an expression with output from
14298 the program under debug.
14299 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14300 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14301 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14302 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14303 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14304
14305 2015-09-09 Doug Evans <dje@google.com>
14306
14307 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14308
14309 2015-09-09 Doug Evans <dje@google.com>
14310
14311 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14312
14313 2015-09-09 Doug Evans <dje@google.com>
14314
14315 * gdb.base/savedregs.exp: Fix typo.
14316
14317 2015-09-09 Pedro Alves <palves@redhat.com>
14318
14319 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14320
14321 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14322
14323 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14324 command actually switches threads. Give up on remaining
14325 tests if target fails to stop at breakpoint.
14326
14327 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14328
14329 * gdb.ada/funcall_char.exp: New testcase.
14330 * gdb.ada/funcall_char/foo.adb: New file.
14331
14332 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14333
14334 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14335 expected outputs. Add two testcases for completing ambiguous
14336 functions.
14337 * gdb.ada/complete/aux_pck.adb: New file.
14338 * gdb.ada/complete/aux_pck.ads: New file.
14339 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14340 Ambiguous_Func functions.
14341 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14342 * gdb.ada/complete/pck.adb: Likewise.
14343
14344 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14345
14346 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14347 failures to run the test program under GDB.
14348
14349 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
14350
14351 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14352 to C.
14353
14354 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14355
14356 * gdb.base/run-after-attach.exp: New test file.
14357 * gdb.base/run-after-attach.c: New test file.
14358
14359 2015-08-26 Don Breazeal <donb@codesourcery.com>
14360
14361 * gdb.base/foll-exec-2.c: New test program.
14362 * gdb.base/foll-exec-2.exp: New test.
14363
14364 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14365
14366 * gdb.base/nested-subp1.exp: New file.
14367 * gdb.base/nested-subp1.c: New file.
14368 * gdb.base/nested-subp2.exp: New file.
14369 * gdb.base/nested-subp2.c: New file.
14370 * gdb.base/nested-subp3.exp: New file.
14371 * gdb.base/nested-subp3.c: New file.
14372
14373 2015-08-24 Pedro Alves <palves@redhat.com>
14374
14375 * gdb.server/connect-without-multi-process.c: New file.
14376 * gdb.server/connect-without-multi-process.exp: New file.
14377
14378 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14379
14380 * gdb.opt/inline-markers.c: Make z int.
14381
14382 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14383
14384 * gdb.opt/inline-markers.c: Make z volatile.
14385
14386 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14387
14388 * gdb.opt/inline-bt.c: New volatile global z.
14389 * gdb.opt/inline-cmds.c: Likewise.
14390 * gdb.opt/inline-locals.c: Likewise.
14391 * gdb.opt/inline-markers.c: New extern global z.
14392 (marker): Use z.
14393 (inline_fn): Likewise.
14394
14395 2015-08-24 Pedro Alves <palves@redhat.com>
14396
14397 * config/m32r-stub.exp: Remove file.
14398 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14399 * gdb.base/call-rt-st.exp: Likewise.
14400 * gdb.base/call-strs.exp: Likewise.
14401 * gdb.base/default.exp: Remove references to h8300-*-hms and
14402 *-*-udi*.
14403 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14404
14405 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14406
14407 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14408 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14409 and "return" use KFAIL when GDB can not read/write the vector
14410 return value.
14411
14412 2015-08-21 Gary Benson <gbenson@redhat.com>
14413
14414 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14415
14416 2015-08-20 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.server/solib-list.exp: No longer expect an interior stop in
14419 non-stop mode.
14420
14421 2015-08-20 Pedro Alves <palves@redhat.com>
14422
14423 * gdb.server/connect-stopped-target.c: New file.
14424 * gdb.server/connect-stopped-target.exp: New file.
14425
14426 2015-08-20 Pedro Alves <palves@redhat.com>
14427
14428 * gdb.dwarf2/comp-unit-lang.exp: New file.
14429 * gdb.dwarf2/comp-unit-lang.c: New file.
14430
14431 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14432
14433 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14434 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14435
14436 2015-08-19 Kevin Buettner <kevinb@redhat.com>
14437
14438 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14439 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14440
14441 2015-08-18 Doug Evans <dje@google.com>
14442 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14443
14444 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14445 skip_python_tests. New arg prompt_regexp.
14446 (skip_python_tests): New function.
14447 * lib/mi-support.exp (mi_skip_python_tests): New function.
14448 * gdb.python/py-mi-objfile-gdb.py: New file.
14449 * gdb.python/py-mi-objfile.c: New file.
14450 * gdb.python/py-mi-objfile.exp: New file.
14451
14452 2015-08-17 Keith Seitz <keiths@redhat.com>
14453
14454 * gdb.linespec/explicit.exp: Move strace test from here ...
14455 * gdb.trace/strace.exp: ... to here.
14456
14457 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14458
14459 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14460 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14461
14462 2015-08-14 Doug Evans <xdje42@gmail.com>
14463
14464 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14465 inferior before selecting a new file.
14466
14467 2015-08-14 Doug Evans <xdje42@gmail.com>
14468
14469 * gdb.mi/mi-disassemble.exp: Update.
14470 * gdb.base/disasm-optim.S: New file.
14471 * gdb.base/disasm-optim.c: New file.
14472 * gdb.base/disasm-optim.h: New file.
14473 * gdb.base/disasm-optim.exp: New file.
14474
14475 2015-08-14 Keith Seitz <keiths@redhat.com>
14476
14477 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14478 "evaluated-by".
14479
14480 2015-08-13 Joel Brobecker <brobecker@adacore.com>
14481
14482 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14483
14484 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14485
14486 * gdb.ada/fun_renaming.exp: New testcase.
14487 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14488 * gdb.ada/fun_renaming/pack.adb: New file.
14489 * gdb.ada/fun_renaming/pack.ads: New file.
14490
14491 2015-08-12 Keith Seitz <keiths@redhat.com>
14492
14493 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14494 gdb_get_line_number.
14495
14496 2015-08-12 Joel Brobecker <brobecker@adacore.com>
14497
14498 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14499 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14500 gdb.base/dso2dso.exp: New files.
14501
14502 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14503 Pedro Alves <palves@redhat.com>
14504 Keith Seitz <keiths@redhat.com>
14505
14506 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14507 GDBFLAGS.
14508
14509 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14510
14511 * gdb.base/gdbhistsize-history.exp
14512 (test_histsize_history_setting): Use save_vars.
14513 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14514 Use save_vars.
14515 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14516 * gdb.base/readline.exp: Use save_vars.
14517
14518 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14519
14520 * lib/gdb.exp (save_vars): New proc.
14521
14522 2015-08-11 Keith Seitz <keiths@redhat.com>
14523
14524 * gdb.base/help.exp: Update help_breakpoint_text.
14525
14526 2015-08-11 Keith Seitz <keiths@redhat.com>
14527
14528 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14529 (at toplevel): Call test_explicit_breakpoints.
14530 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14531 breakpoints.
14532 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14533 breakpoint conditions, "-cond".
14534
14535 2015-08-11 Keith Seitz <keiths@redhat.com>
14536
14537 * gdb.linespec/3explicit.c: New file.
14538 * gdb.linespec/cpexplicit.cc: New file.
14539 * gdb.linespec/cpexplicit.exp: New file.
14540 * gdb.linespec/explicit.c: New file.
14541 * gdb.linespec/explicit.exp: New file.
14542 * gdb.linespec/explicit2.c: New file.
14543 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14544 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14545 before using in the matching pattern.
14546 Clarify that `prefix' is a regular expression.
14547
14548 2015-08-11 Keith Seitz <keiths@redhat.com>
14549
14550 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14551 test.
14552 Add tests for missing ",FMT" and ",".
14553
14554 2015-08-10 Doug Evans <dje@google.com>
14555 Keith Seitz <keiths@redhat.com>
14556
14557 PR gdb/17960
14558 * gdb.base/completion.exp: Add location completer tests.
14559
14560 2015-08-07 Pedro Alves <palves@redhat.com>
14561
14562 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14563 tests here.
14564 (top level): Run do_test with and without displaced stepping.
14565
14566 2015-08-07 Pedro Alves <palves@redhat.com>
14567
14568 * gdb.base/valgrind-disp-step.c: New file.
14569 * gdb.base/valgrind-disp-step.exp: New file.
14570
14571 2015-08-07 Pedro Alves <palves@redhat.com>
14572
14573 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14574 Delete function.
14575 (main): Add alarm. Run an infinite loop instead of calling
14576 wait_threads.
14577 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14578 comment.
14579 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14580 Delete function.
14581 (main): Add alarm. Run an infinite loop instead of calling
14582 wait_threads.
14583 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14584 comment.
14585
14586 2015-08-07 Pedro Alves <palves@redhat.com>
14587
14588 * gdb.base/checkpoint-ns.exp: New file.
14589 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14590 standard_testfile.
14591
14592 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14593
14594 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14595 * gdb.btrace/instruction_history.exp: Update.
14596 * gdb.btrace/tsx.exp: New.
14597 * gdb.btrace/tsx.c: New.
14598
14599 2015-08-06 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14602 increase timeout.
14603 * gdb.reverse/until-precsave.exp: Bump timeouts.
14604
14605 2015-08-06 Pedro Alves <palves@redhat.com>
14606
14607 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14608
14609 2015-08-06 Pedro Alves <palves@redhat.com>
14610
14611 PR gdb/18749
14612 * gdb.threads/process-dies-while-handling-bp.c: New file.
14613 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14614
14615 2015-08-06 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14618 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14619
14620 2015-08-05 Pedro Alves <palves@redhat.com>
14621
14622 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14623 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14624
14625 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14626
14627 * gdb.base/bp-permanent.exp: Report test as unsupported if
14628 the target cannot stop at the permanent breakpoint.
14629
14630 2015-08-03 Doug Evans <dje@google.com>
14631
14632 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14633 10000.
14634
14635 2015-08-03 Doug Evans <dje@google.com>
14636
14637 * Makefile.in (workers/%.worker, build-perf): New rule.
14638 (GDB_PERFTEST_MODE): New variable.
14639 (check-perf): Use it.
14640 (clean): Clean up gdb.perf parallel build subdirs.
14641 * lib/build-piece.exp: New file.
14642 * lib/gdb.exp (make_gdb_parallel_path): New function
14643 (standard_output_file, standard_temp_file): Call it.
14644 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14645 of $GDB_PARALLEL.
14646 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14647
14648 2015-08-03 Doug Evans <dje@google.com>
14649
14650 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
14651 (LOG_FILE_NAME): New global.
14652 (TextReporter.__init__): Initialize self.txt_sum.
14653 (TextReporter.report): Add support for multiple data-points.
14654 Move report to perftest.sum, put raw data in perftest.log.
14655 (TextReporter.start): Open sum and log files.
14656 (TextReporter.end): Close sum and log files.
14657 * gdb.perf/lib/perftest/testresult.py
14658 (SingleStatisticTestResult.record): Handle multiple data-points.
14659
14660 2015-07-31 Pedro Alves <palves@redhat.com>
14661
14662 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14663 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14664 kill_wait_spawned_process instead of explicit "kill -9".
14665 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14666 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14667 kill_wait_spawned_process.
14668 * gdb.base/attach-twice.exp: Likewise.
14669 * gdb.base/attach.exp: Likewise.
14670 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14671 gdb_test_multiple.
14672 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14673 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14674 kill_wait_spawned_process.
14675 * gdb.base/valgrind-infcall.exp: Likewise.
14676 * gdb.multi/multi-attach.exp: Likewise.
14677 * gdb.python/py-prompt.exp: Likewise.
14678 * gdb.python/py-sync-interp.exp: Likewise.
14679 * gdb.server/ext-attach.exp: Likewise.
14680 * gdb.threads/attach-into-signal.exp (corefunc): Use
14681 spawn_wait_for_attach, spawn_id_get_pid and
14682 kill_wait_spawned_process.
14683 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14684 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14685 spawn_id_get_pid and kill_wait_spawned_process.
14686 * gdb.threads/attach-stopped.exp (corefunc): Use
14687 spawn_wait_for_attach, spawn_id_get_pid and
14688 kill_wait_spawned_process.
14689 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14690 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14691 kill_wait_spawned_process instead of explicit "kill -9".
14692 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14693 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14694 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14695 processes. Don't map cygwin/windows pids here. Now returns a
14696 spawn id list.
14697
14698 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14699
14700 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14701 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14702 correct patch.
14703
14704 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14705
14706 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14707
14708 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14709
14710 Reapply:
14711 2014-05-21 Mark Wielaard <mjw@redhat.com>
14712
14713 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14714
14715 2015-07-30 Pedro Alves <palves@redhat.com>
14716
14717 * linux-low.c (handle_extended_wait): Set the child's last
14718 reported status to TARGET_WAITKIND_STOPPED.
14719
14720 2015-07-30 Pedro Alves <palves@redhat.com>
14721
14722 PR threads/18600
14723 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14724 only shows inferior 1.
14725
14726 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14727 Pedro Alves <palves@redhat.com>
14728
14729 PR threads/18600
14730 * gdb.threads/fork-plus-threads.c: New file.
14731 * gdb.threads/fork-plus-threads.exp: New file.
14732
14733 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14734
14735 * gdb.base/batch-preserve-term-settings.exp
14736 (test_terminal_settings_preserved_after_cli_exit): Use
14737 send_quit_command.
14738
14739 2015-07-29 Pedro Alves <palves@redhat.com>
14740 Don Breazeal <donb@codesourcery.com>
14741
14742 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14743 output from both inferior_spawn_id and gdb_spawn_id.
14744
14745 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14746
14747 * gdb.threads/attach-into-signal.exp (corefunc): Use
14748 with_test_prefix on nested loops, uniquefying the test messages.
14749
14750 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14751
14752 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14753 commit.
14754
14755 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14756
14757 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14758 New proc.
14759 (test_terminal_settings_preserved_after_sigterm): New test.
14760
14761 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14762
14763 * gdb.base/batch-preserve-term-settings.exp
14764 (test_terminal_settings_preserved_after_cli_exit): New test.
14765
14766 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14767
14768 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14769 manipulation of saved_gdbflags.
14770 (test_terminal_settings_preserved): Remove global declaration of
14771 the unused variable pagination_prompt. Remove manipulation of
14772 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14773 GDBFLAGS.
14774
14775 2015-07-29 Pedro Alves <palves@redhat.com>
14776
14777 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14778
14779 2015-07-29 Pedro Alves <palves@redhat.com>
14780
14781 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14782 at the top.
14783
14784 2015-07-29 Pedro Alves <palves@redhat.com>
14785
14786 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14787 (main): Call gdb_unbuffer_output.
14788 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14789 (main): Call gdb_unbuffer_output.
14790 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792 * gdb.base/call-strs.exp: Adjust to step over the
14793 gdb_unbuffer_output call.
14794 * gdb.base/catch-gdb-caused-signals.c: Include
14795 "../lib/unbuffer_output.c".
14796 (main): Call gdb_unbuffer_output.
14797 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14798 (main): Call gdb_unbuffer_output.
14799 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14800 (main): Call gdb_unbuffer_output.
14801 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14802 (main): Call gdb_unbuffer_output.
14803 * gdb.base/shlib-call.exp: Adjust to step over the
14804 gdb_unbuffer_output call.
14805 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14806 (main): Call gdb_unbuffer_output.
14807 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14808 (main): Call gdb_unbuffer_output.
14809 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14810 (main): Rename to ...
14811 (test): ... this.
14812 (main): Reimplement.
14813 * gdb.base/varargs.exp: Run to test instead of to main.
14814 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14815 (main): Call gdb_unbuffer_output.
14816
14817 2015-07-29 Pedro Alves <palves@redhat.com>
14818
14819 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14820 factore out from mi_continue_dprintf. For call-style dprintfs,
14821 expect dprintf output out of $inferior_spawn_id.
14822 (mi_continue_dprintf): Use mi_expect_dprintf.
14823 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14824 (main): Call gdb_unbuffer_output.
14825
14826 2015-07-29 Pedro Alves <palves@redhat.com>
14827
14828 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14829 (default_mi_gdb_start): Set inferior_spawn_id instead of
14830 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14831 gdb_spawn_id.
14832 (mi_gdb_test): Always expect inferior output from both
14833 $inferior_spawn_id and $gdb_spawn_id.
14834
14835 2015-07-29 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14838 send_inferior and $inferior_spawn_id.
14839
14840 2015-07-29 Pedro Alves <palves@redhat.com>
14841
14842 * gdb.gdb/complaints.exp (test_initial_complaints)
14843 (test_serial_complaints, test_short_complaints): Use
14844 gdb_test_stdio.
14845 (test_empty_complaint): Handle $inferior_spawn_id !=
14846 $gdb_spawn_id.
14847
14848 2015-07-29 Pedro Alves <palves@redhat.com>
14849
14850 * gdb.base/varargs.exp: Use gdb_test_stdio.
14851
14852 2015-07-29 Pedro Alves <palves@redhat.com>
14853
14854 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14855
14856 2015-07-29 Pedro Alves <palves@redhat.com>
14857
14858 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14859
14860 2015-07-29 Pedro Alves <palves@redhat.com>
14861
14862 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14863 parameter into two new parameters, "inf_result" and "gdb_result".
14864 Expect inferior output and gdb output from $inferior_spawn_id and
14865 $gdb_spawn_id, respectively. Adjust all callers.
14866
14867 2015-07-29 Pedro Alves <palves@redhat.com>
14868
14869 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14870 of gdb_test_sequence.
14871
14872 2015-07-29 Pedro Alves <palves@redhat.com>
14873
14874 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14875 (saw_spurious_output): Expect inferior output from
14876 $inferior_spawn_id. Use gdb_test_stdio.
14877
14878 2015-07-29 Pedro Alves <palves@redhat.com>
14879
14880 * gdb.base/dprintf.exp: Use standard_testfile. Change
14881 prepare_for_testing call.
14882 (srcfile): Don't set.
14883 (restart): New procedure.
14884 (test_dprintf): New procecure, use to continue over dprintfs.
14885 (test_call, test_agent): New procedures, tests moved here.
14886 Restart gdb and recreate dprintfs. Adjust expected output.
14887
14888 2015-07-29 Pedro Alves <palves@redhat.com>
14889
14890 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14891
14892 2015-07-29 Pedro Alves <palves@redhat.com>
14893
14894 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14895
14896 2015-07-29 Pedro Alves <palves@redhat.com>
14897
14898 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14899 gdb_test_stdio.
14900
14901 2015-07-29 Pedro Alves <palves@redhat.com>
14902
14903 * lib/gdb.exp (gdb_test_stdio): New procedure.
14904
14905 2015-07-29 Pedro Alves <palves@redhat.com>
14906
14907 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14908
14909 2015-07-29 Pedro Alves <palves@redhat.com>
14910
14911 * gdb.base/call-signal-resume.exp: Remove check for
14912 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14913 * gdb.base/unwindonsignal.exp: Likewise.
14914 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14915 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14916
14917 2015-07-29 Pedro Alves <palves@redhat.com>
14918
14919 * gdb.base/siginfo-addr.c (pass): New function.
14920 (handler): Call it iff si_addr is correct.
14921 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14922 Set a breakpoint at "pass" and continue to it.
14923
14924 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14925
14926 * gdb.python/py-objfile.exp: Make some tests have unique names.
14927 * gdb.python/py-pp-registration.exp: Likewise.
14928
14929 2015-07-28 Pedro Alves <palves@redhat.com>
14930
14931 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14932
14933 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14934
14935 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14936
14937 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14938
14939 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14940
14941 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14942
14943 * gdb.base/gdb-sigterm-2.exp: New test.
14944
14945 2015-07-25 Doug Evans <xdje42@gmail.com>
14946
14947 Revert:
14948 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14949 (workers/%.worker, build-perf): New rule.
14950 (GDB_PERFTEST_MODE): New variable.
14951 (check-perf): Use it.
14952 (clean): Clean up gdb.perf parallel build subdirs.
14953 * lib/build-piece.exp: New file.
14954 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14955 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14956 name.
14957 (standard_temp_file): Ditto.
14958 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14959 of $GDB_PARALLEL.
14960
14961 2015-07-24 Doug Evans <dje@google.com>
14962
14963 * gdb.perf/lib/perftest/utils.py: New file.
14964 * gdb.perf/gm-hello.cc: New file.
14965 * gdb.perf/gm-pervasive-typedef.cc: New file.
14966 * gdb.perf/gm-pervasive-typedef.h: New file.
14967 * gdb.perf/gm-std.cc: New file.
14968 * gdb.perf/gm-std.h: New file.
14969 * gdb.perf/gm-use-cerr.cc: New file.
14970 * gdb.perf/gm-utils.h: New file.
14971 * gdb.perf/gmonster-null-lookup.py: New file.
14972 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14973 * gdb.perf/gmonster-print-cerr.py: New file.
14974 * gdb.perf/gmonster-ptype-string.py: New file.
14975 * gdb.perf/gmonster-runto-main.py: New file.
14976 * gdb.perf/gmonster-select-file.py: New file.
14977 * gdb.perf/gmonster1-null-lookup.exp: New file.
14978 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14979 * gdb.perf/gmonster1-print-cerr.exp: New file.
14980 * gdb.perf/gmonster1-ptype-string.exp: New file.
14981 * gdb.perf/gmonster1-runto-main.exp: New file.
14982 * gdb.perf/gmonster1-select-file.exp: New file.
14983 * gdb.perf/gmonster1.cc: New file.
14984 * gdb.perf/gmonster1.exp: New file.
14985 * gdb.perf/gmonster2-null-lookup.exp: New file.
14986 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14987 * gdb.perf/gmonster2-print-cerr.exp: New file.
14988 * gdb.perf/gmonster2-ptype-string.exp: New file.
14989 * gdb.perf/gmonster2-runto-main.exp: New file.
14990 * gdb.perf/gmonster2-select-file.exp: New file.
14991 * gdb.perf/gmonster2.cc: New file.
14992 * gdb.perf/gmonster2.exp: New file.
14993
14994 2015-07-24 Doug Evans <dje@google.com>
14995
14996 * gdb.perf/README: New file.
14997 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14998 * lib/gen-perf-test.exp: New file.
14999
15000 2015-07-24 Doug Evans <dje@google.com>
15001
15002 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15003 (PerfTest::startup): New function.
15004 (PerfTest::run): Return result of calling body.
15005 (PerfTest::assemble): Rewrite.
15006 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15007 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15008 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15009 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15010 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15011
15012 2015-07-24 Doug Evans <dje@google.com>
15013
15014 * lib/gdb.exp (clean_restart): Make executable optional.
15015
15016 2015-07-24 Doug Evans <dje@google.com>
15017
15018 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15019 compiler_info references.
15020 * gdb.cp/temargs.exp: Ditto.
15021 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15022 (get_compiler_info): Early exit if already computed. Set compiler_info
15023 to "unknown" if there was a problem.
15024 (test_compiler_info): Add function comment. Call get_compiler_info.
15025
15026 2015-07-24 Doug Evans <dje@google.com>
15027
15028 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15029 (workers/%.worker, build-perf): New rule.
15030 (GDB_PERFTEST_MODE): New variable.
15031 (check-perf): Use it.
15032 (clean): Clean up gdb.perf parallel build subdirs.
15033 * lib/build-piece.exp: New file.
15034 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15035 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15036 name.
15037 (standard_temp_file): Ditto.
15038 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15039 of $GDB_PARALLEL.
15040
15041 2015-07-24 Doug Evans <dje@google.com>
15042
15043 * lib/future.exp (gdb_default_target_compile): New option
15044 "early_flags".
15045 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15046 --as-needed.
15047
15048 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15049
15050 * gdb.base/catch-syscall.exp: Call gdb_exit before
15051 gdb_skip_xml_test.
15052
15053 2015-07-24 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.python/py-events.exp: Accept output between the stop event
15056 and the prompt.
15057 * gdb.python/py-evsignal.exp: Likewise.
15058 * gdb.python/py-evthreads.exp: Likewise.
15059
15060 2015-07-24 Pedro Alves <palves@redhat.com>
15061
15062 PR gdb/18717
15063 * gdb.threads/non-ldr-exit.c: New file.
15064 * gdb.threads/non-ldr-exit.exp: New file.
15065
15066 2015-07-24 Yao Qi <yao.qi@linaro.org>
15067
15068 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15069 restarting process.
15070
15071 2015-07-24 Yao Qi <yao.qi@linaro.org>
15072
15073 * gdb.server/ext-restart.exp: New file.
15074
15075 2015-07-24 Yao Qi <yao.qi@linaro.org>
15076
15077 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15078 argument options.
15079 * gdb.server/ext-wrapper.exp: New file.
15080
15081 2015-07-23 Doug Evans <dje@google.com>
15082
15083 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15084 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15085
15086 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15087
15088 * gdb.ada/var_arr_typedef.exp: New testcase.
15089 * gdb.ada/var_arr_typedef/pack.adb: New file.
15090 * gdb.ada/var_arr_typedef/pack.ads: New file.
15091 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15092
15093 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15094
15095 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15096
15097 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15098
15099 * gdb.arch/i386-biarch-core.exp: Replace istarget
15100 by "complete set gnutarget". Remove expectation for the "core-file"
15101 command.
15102
15103 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15104
15105 Revert the previous commit:
15106 Tests for validate symbol file using build-id.
15107
15108 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15109
15110 Tests for validate symbol file using build-id.
15111 * gdb.base/solib-mismatch-lib.c: New file.
15112 * gdb.base/solib-mismatch-libmod.c: New file.
15113 * gdb.base/solib-mismatch.c: New file.
15114 * gdb.base/solib-mismatch.exp: New file.
15115
15116 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15117
15118 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15119 nios2-*-linux*.
15120 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15121 * gdb.base/siginfo.exp: Likewise.
15122 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15123
15124 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15125
15126 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15127 Move it to ...
15128 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15129 ... here.
15130 * gdb.trace/range-stepping.exp: Check that the target supports
15131 range stepping.
15132
15133 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15134
15135 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15136
15137 2015-07-14 Pedro Alves <palves@redhat.com>
15138
15139 * gdb.base/killed-outside.exp: New file.
15140 * gdb.base/killed-outside.c: New file.
15141
15142 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15143
15144 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15145 (n at main): New.
15146 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15147
15148 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15149
15150 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15151 infcall tests instead of setting up for KFAIL.
15152
15153 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15154
15155 * gdb.btrace/record_goto-step.exp: New.
15156
15157 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15158
15159 PR compile/18484
15160 * gdb.compile/compile.c (struct struct_type): Add volatile to
15161 selffield's type.
15162 * gdb.compile/compile.exp
15163 (compile code struct_object.selffield = &struct_object): Skip further
15164 struct_object tests if this one xfails.
15165
15166 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15167
15168 PR exp/18617
15169 * gdb.trace/ax.exp: Add test.
15170
15171 2015-07-07 Yao Qi <yao.qi@linaro.org>
15172
15173 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15174 instead of istarget "aarch64*-*-*".
15175 * gdb.arch/aarch64-fp.exp: Likewise.
15176 * gdb.base/float.exp: Likewise.
15177 * gdb.reverse/aarch64.exp: Likewise.
15178 * lib/gdb.exp (is_aarch64_target): New proc.
15179
15180 2015-07-07 Yao Qi <yao.qi@linaro.org>
15181
15182 * lib/gdb.exp (is_aarch32_target): New proc.
15183 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15184 instead of "istarget "arm*-*-*"".
15185 * gdb.arch/arm-disp-step.exp: Likewise.
15186 * gdb.arch/thumb-bx-pc.exp: Likewise.
15187 * gdb.arch/thumb-prologue.exp: Likewise.
15188 * gdb.arch/thumb-singlestep.exp: Likewise.
15189 * gdb.base/disp-step-syscall.exp: Likewise.
15190 * gdb.base/float.exp: Likewise.
15191
15192 2015-07-07 Yao Qi <yao.qi@linaro.org>
15193
15194 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15195 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15196
15197 2015-07-07 Yao Qi <yao.qi@linaro.org>
15198
15199 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15200 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15201 if it exists.
15202 * gdb.multi/multi-arch.exp: Likewise.
15203
15204 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15205
15206 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15207 print.
15208
15209 2015-07-07 Yao Qi <yao.qi@linaro.org>
15210
15211 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15212
15213 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15214
15215 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15216 '[' and ']' characters.
15217
15218 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15219
15220 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15221
15222 2015-06-29 Pedro Alves <palves@redhat.com>
15223
15224 PR threads/18127
15225 * gdb.threads/hand-call-new-thread.c: New file.
15226 * gdb.threads/hand-call-new-thread.c: New file.
15227
15228 2015-06-26 Keith Seitz <keiths@redhat.com>
15229 Doug Evans <dje@google.com>
15230
15231 PR 16253
15232 * gdb.cp/var-tag-2.cc: New file.
15233 * gdb.cp/var-tag-3.cc: New file.
15234 * gdb.cp/var-tag-4.cc: New file.
15235 * gdb.cp/var-tag.cc: New file.
15236 * gdb.cp/var-tag.exp: New file.
15237
15238 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15239
15240 * gdb.base/history-duplicates.exp: New test.
15241
15242 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15243
15244 * gdb.base/completion.exp: Test the completion of the "focus"
15245 command.
15246
15247 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15248
15249 * gdb.arch/amd64-prologue-skip.S: New file.
15250 * gdb.arch/amd64-prologue-skip.exp: New file.
15251
15252 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15253
15254 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15255 is_address_zero_readable check.
15256
15257 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15258
15259 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15260 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15261
15262 2015-06-24 Yao Qi <yao.qi@linaro.org>
15263
15264 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15265 linux targets.
15266
15267 2015-06-24 Yao Qi <yao.qi@linaro.org>
15268
15269 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15270 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15271 * gdb.base/siginfo-thread.exp: Likewise.
15272
15273 2015-06-22 Yao Qi <yao.qi@linaro.org>
15274
15275 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15276
15277 2015-06-22 Yao Qi <yao.qi@linaro.org>
15278
15279 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15280 aarch64*-*-*.
15281 (skip_hw_watchpoint_tests): Likewise.
15282
15283 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15284
15285 * gdb.base/gdbinit-history.exp: Test the interaction between
15286 setting GDBHISTSIZE and setting the history size via .gdbinit.
15287
15288 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15289
15290 PR gdb/16999
15291 * gdb.base/gdbhistsize-history.exp: New test.
15292
15293 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15294
15295 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15296 with GDBHISTSIZE.
15297 * gdb.base/readline.exp: Likewise.
15298
15299 2015-06-17 Yao Qi <yao.qi@linaro.org>
15300
15301 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15302 line.
15303
15304 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15305
15306 * gdb.base/gdbinit-history.exp: Add test case to check that
15307 an unlimited history file does not get truncated on exit.
15308
15309 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15310
15311 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15312 (VECTOR): New macro. Use it...
15313 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15314 ...for these typedefs.
15315 (int8, char1, int1, double1): New typedefs.
15316 (struct just_int2, struct two_int2): New structures.
15317 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15318 (add_structvecs, add_singlevecs): New functions.
15319 (main): Call add_some_intvecs twice.
15320 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15321 the compile and exit upon failure. Try compiling for the "native"
15322 architecture. Test inferior function calls with vector arguments
15323 and vector return value handling with "finish" and "return".
15324
15325 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15326
15327 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15328 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15329 PE file.
15330 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15331
15332 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15333
15334 PR breakpoints/16465
15335 * gdb.mi/mi-dprintf-pending.c: New file.
15336 * gdb.mi/mi-dprintf-pending.exp: New test.
15337 * gdb.mi/mi-dprintf-pendshr.c: New file.
15338
15339 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15340 Mircea Gherzan <mircea.gherzan@intel.com>
15341
15342 * gdb.arch/i386-mpx-map.c: New file.
15343 * gdb.arch/i386-mpx-map.exp: New File.
15344
15345 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15346
15347 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15348 * gdb.arch/i386-mpx.exp: Indentation fixed.
15349
15350 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15351
15352 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15353 function and improved indentation.
15354 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15355 gdb_test_multiple. Added additional tests to skip the test.
15356
15357 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15358
15359 * gdb.arch/i386-avx512.c: Change path in include file.
15360 * gdb.arch/i386-avx512.exp: Change include dir path
15361 compilation flag.
15362 * gdb.arch/i386-mpx.c: Change path in include file.
15363 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15364 flag.
15365
15366 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15367
15368 * gdb.compile/compile-print.exp (compile print *vararray@3)
15369 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15370
15371 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15372
15373 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15374 (do not keep jit in memory): ... this.
15375 (expect 5): Change it to ...
15376 (expect no 5): ... this.
15377
15378 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15379
15380 PR gdb/15564
15381 * gdb.mi/mi-detach.exp: New file.
15382
15383 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15384
15385 PR symtab/18392
15386 * gdb.arch/amd64-tailcall-self.S: New file.
15387 * gdb.arch/amd64-tailcall-self.c: New file.
15388 * gdb.arch/amd64-tailcall-self.exp: New file.
15389
15390 2015-05-28 Don Breazeal <donb@codesourcery.com>
15391
15392 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15393 tests for remote targets by checking is_target_gdbserver.
15394
15395 2015-05-27 Doug Evans <dje@google.com>
15396
15397 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15398 * gdb.dwarf2/opaque-type-lookup.c: New file.
15399 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15400
15401 2015-05-26 Doug Evans <dje@google.com>
15402
15403 * gdb.cp/iostream.cc: New file.
15404 * gdb.cp/iostream.exp: New file.
15405
15406 2015-05-26 Doug Evans <dje@google.com>
15407
15408 * gdb.dwarf2/dw2-op-call.exp: Update.
15409 * gdb.dwarf2/dw4-sig-types.exp: Update.
15410 * gdb.dwarf2/implptr.exp: Update.
15411 * gdb.mi/mi-cmd-param-changed.exp: Update.
15412
15413 2015-05-26 Doug Evans <dje@google.com>
15414
15415 * gdb.python/py-lazy-string.c: New file.
15416 * gdb.python/py-lazy-string.exp: New file.
15417 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15418 (main): Update. Add estring3.
15419 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15420 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15421
15422 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15423 Yao Qi <yao.qi@linaro.org>
15424
15425 * gdb.reverse/aarch64.c: New.
15426 * gdb.reverse/aarch64.exp: New.
15427
15428 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15429
15430 * lib/gdb.exp (supports_process_record): Return true for
15431 aarch64*-linux*.
15432 (supports_reverse): Likewise.
15433
15434 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15435
15436 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15437 Use with_test_prefix.
15438
15439 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15440
15441 * gdb.base/completion.exp: Add test for completion of layout
15442 names.
15443
15444 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15445
15446 * lib/gdb.exp (skip_tui_tests): New proc.
15447 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15448
15449 2015-05-19 Pedro Alves <palves@redhat.com>
15450
15451 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15452 Save the whole env array instead of just HOME. Unset HISTSIZE in
15453 the environment while testing. Restore whole environment
15454 afterwards.
15455
15456 2015-05-16 Doug Evans <xdje42@gmail.com>
15457
15458 * gdb.guile/scm-ports.c: New file.
15459 * gdb.guile/scm-ports.exp: Add memory port tests.
15460
15461 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15462
15463 * gdb.compile/compile-print.c: New file.
15464 * gdb.compile/compile-print.exp: New file.
15465
15466 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15467
15468 * gdb.compile/compile-ops.exp: Cast param to void.
15469 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15470 (compile code struct_object.selffield = &struct_object): Add xfail.
15471
15472 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15473
15474 * gdb.ada/arr_enum_with_gap: New testcase.
15475
15476 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15477
15478 * gdb.ada/byte_packed_arr: New testcase.
15479
15480 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15481
15482 * gdb.ada/pckd_neg: New testcase.
15483
15484 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15485
15486 PR gdb/17820
15487 * gdb.base/gdbinit-history.exp: New test.
15488 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15489 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15490
15491 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15492
15493 * gdb.python/py-xmethods.cc: Enhance test case.
15494 * gdb.python/py-xmethods.exp: New tests.
15495 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15496 function.
15497 (B_indexoper): Likewise.
15498 (global_dm_list) : Add new xmethod worker functions.
15499
15500 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15501
15502 * gdb.base/coredump-filter.exp: Correctly unset
15503 "coredump_var_addr" array.
15504
15505 2015-05-08 Pedro Alves <palves@redhat.com>
15506
15507 * gdb.server/non-existing-program.exp: Unset spawn_id.
15508
15509 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15510
15511 PR python/18291
15512 * gdb.python/py-xmethods.exp: Add tests.
15513
15514 2015-05-08 Yao Qi <yao.qi@linaro.org>
15515
15516 PR gdb/18208
15517 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15518 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15519 function set_coredump_filter, and remove remote_exec call.
15520 Remove argument ipid. Callers update.
15521 (top level): Don't get inferior's PID.
15522
15523 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15524
15525 * gdb.base/watch_thread_num.exp: Skip test on targets without
15526 access watchpoints.
15527
15528 2015-05-06 Pedro Alves <palves@redhat.com>
15529
15530 PR server/18081
15531 * gdb.server/non-existing-program.exp: New file.
15532
15533 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15534
15535 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15536
15537 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15538
15539 * gdb.ada/out_of_line_in_inlined: New testcase.
15540
15541 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15542
15543 * gdb.ada/var_rec_arr: New testcase.
15544
15545 2015-04-30 Yao Qi <yao.qi@linaro.org>
15546
15547 * gdb.base/break-idempotent.exp: If
15548 skip_hw_watchpoint_multi_tests returns true, skip the tests
15549 on "rwatch" and "awatch".
15550
15551 2015-04-30 Yao Qi <yao.qi@linaro.org>
15552
15553 * gdb.base/relativedebug.exp: Invoke gdb command
15554 "info sharedlibrary", and if libc.so doesn't have debug info,
15555 skip the test.
15556
15557 2015-04-29 Doug Evans <dje@google.com>
15558
15559 * gdb.python/py-xmethods.exp: Add ptype tests.
15560 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15561 get_result_type method.
15562
15563 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15564
15565 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15566 the target does not support hardware watchpoints.
15567
15568 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15569
15570 * gdb.base/break-always.exp: Abort testing if writing to memory
15571 causes an error.
15572
15573 2015-04-28 Doug Evans <dje@google.com>
15574
15575 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15576 * gdb.python/py-pp-registration.exp: ... here. New file.
15577 * gdb.python/py-pp-registration.c: New file.
15578 * gdb.python/py-pp-registration.py: New file.
15579
15580 2015-04-28 Doug Evans <dje@google.com>
15581
15582 * gdb.python/py-bad-printers.c: New file.
15583 * gdb.python/py-bad-printers.py: New file.
15584 * gdb.python/py-bad-printers.exp: New file.
15585
15586 2015-04-28 Sasha Smundak <asmundak@google.com>
15587
15588 * gdb.python/py-type.exp: New test.
15589
15590 2015-04-28 Andy Wingo <wingo@igalia.com>
15591
15592 * gdb.python/py-parameter.exp:
15593 * gdb.guile/scm-parameter.exp: Escape the path that we are
15594 matching against, as it might contain characters that are special
15595 to regular expressions.
15596
15597 2015-04-27 Joel Brobecker <brobecker@adacore.com>
15598
15599 * gdb.ada/rec_comp: New testcase.
15600
15601 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15602
15603 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15604 before using it.
15605
15606 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15607
15608 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15609 new tests for verilog output.
15610
15611 2015-04-24 Yao Qi <yao.qi@linaro.org>
15612
15613 * boards/remote-gdbserver-on-localhost.exp: New file.
15614
15615 2015-04-23 Pedro Alves <palves@redhat.com>
15616
15617 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15618 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15619 "end of file", remove $inferior_spawn_id from the indirect list.
15620
15621 2015-04-23 Pedro Alves <palves@redhat.com>
15622
15623 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15624
15625 2015-04-23 Pedro Alves <palves@redhat.com>
15626
15627 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15628 on $any_spawn_id instead of only on $gdb_spawn_id.
15629
15630 2015-04-21 Pierre Muller <muller@sourceware.org>
15631
15632 PR pascal/17815
15633 * lib/pascal.exp (gpc_compile): Add new option "class".
15634 (fpc_compile): Likewise.
15635 * gdb.pascal/case-insensitive-symbols.pas: New file.
15636 * gdb.pascal/case-insensitive-symbols.exp: New file.
15637
15638 2015-04-20 Gary Benson <gbenson@redhat.com>
15639
15640 * gdb.base/attach.exp: Fix three extended remote failures.
15641
15642 2015-04-17 Gary Benson <gbenson@redhat.com>
15643
15644 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15645 the main executable over the remote protocol.
15646
15647 2015-04-16 Pedro Alves <palves@redhat.com>
15648
15649 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15650 a new gdbserver if gdbserver_reconnect_p is set.
15651
15652 2015-04-16 Pedro Alves <palves@redhat.com>
15653
15654 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15655 is set, don't exit gdbserver.
15656
15657 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15658
15659 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15660 appropriate .insn, such that an older assembler can be used.
15661 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15662 the z/Architecture instruction set on 31-bit targets as well.
15663
15664 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15665
15666 * gdb.go/handcall.exp: Remove all logic related to the first
15667 breakpoint and rely on go_runto_main instead.
15668 * gdb.go/strings.exp: Likewise.
15669 * gdb.go/unsafe.exp: Likewise.
15670 * gdb.go/hello.exp: Likewise. Also rename the remaining
15671 breakpoint marker to "breakpoint 1".
15672 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15673 * gdb.go/strings.go: Likewise.
15674 * gdb.go/unsafe.go: Likewise.
15675 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15676 "set breakpoint 2 here" and rename the remaining breakpoint marker
15677 to "breakpoint 1".
15678
15679 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15680
15681 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15682 if itertools.imap is not present.
15683 * gdb.python/py-objfile.exp: Add parentheses.
15684 * gdb.python/py-type.exp: Same.
15685 * gdb.python/py-unwind-maint.py: Same.
15686
15687 2015-04-15 Yao Qi <yao.qi@linaro.org>
15688
15689 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15690 of ":$ptr_size" and set its form explicitly.
15691
15692 2015-04-15 Pedro Alves <palves@redhat.com>
15693 Yao Qi <yao.qi@linaro.org>
15694
15695 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15696 timeout by factor of 4.
15697 (test_regular_watch): Likewise.
15698 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15699 * gdb.reverse/sigall-reverse.exp: Likewise.
15700 * gdb.reverse/until-precsave.exp: Likewise.
15701 * lib/gdb.exp (with_timeout_factor): New proc.
15702 (gdb_expect): Move some code to ...
15703 (get_largest_timeout): ... here. New procedure.
15704
15705 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
15706
15707 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15708
15709 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15710
15711 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15712 to write to the .text section.
15713
15714 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15715
15716 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15717 Handle the case of targets that do not provide PID information.
15718
15719 2015-04-13 Yao Qi <yao.qi@linaro.org>
15720
15721 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15722 and use expect instead of gdb_expect.
15723
15724 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15725
15726 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15727 "coredump_var_addr" to avoid naming conflict with other testcases.
15728
15729 2015-04-10 Pedro Alves <palves@redhat.com>
15730
15731 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15732 gdb_test_sequence and gdb_assert.
15733
15734 2015-04-10 Pedro Alves <palves@redhat.com>
15735
15736 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15737 test messages that don't include the breakpoint address.
15738
15739 2015-04-10 Yao Qi <yao.qi@linaro.org>
15740
15741 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15742 false for some offset and width combinations which aren't
15743 supported by linux kernel.
15744
15745 2015-04-10 Pedro Alves <palves@redhat.com>
15746
15747 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15748 procedure, factored out from ...
15749 (top level): ... here. Add "set displaced-stepping" testing axis.
15750 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15751 parameter "displaced". Use it.
15752 (top level): Use foreach and add "set displaced-stepping" testing
15753 axis.
15754
15755 2015-04-10 Pedro Alves <palves@redhat.com>
15756
15757 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15758 Remove comment.
15759 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15760 both the address of the instruction that triggers the watchpoint
15761 and the address of the instruction immediately after, and use
15762 those addresses for the test. Fix comment.
15763
15764 2015-04-10 Pedro Alves <palves@redhat.com>
15765
15766 * gdb.base/sigstep.exp (breakpoint_to_handler)
15767 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15768 Test "backtrace" in handler.
15769 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15770 (top level): Add new "displaced" test axis to
15771 breakpoint_to_handler, breakpoint_to_handler_entry and
15772 breakpoint_over_handler.
15773
15774 2015-04-10 Pedro Alves <palves@redhat.com>
15775
15776 PR gdb/18216
15777 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15778
15779 2015-04-10 Yao Qi <yao.qi@linaro.org>
15780
15781 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15782 (test_add_rn_pc): New function.
15783 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15784 (top level): Invoke test_add_rn_pc.
15785
15786 2015-04-10 Pedro Alves <palves@redhat.com>
15787
15788 PR gdb/13858
15789 * gdb.base/step-over-no-symbols.exp: New file.
15790
15791 2015-04-09 Andy Wingo <wingo@igalia.com>
15792
15793 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15794 after the Python tests.
15795
15796 2015-04-08 Keith Seitz <keiths@redhat.com>
15797
15798 PR python/16699
15799 * gdb.python/py-completion.exp: New tests for completion.
15800 * gdb.python/py-completion.py (CompleteLimit1): New class.
15801 (CompleteLimit2): Likewise.
15802 (CompleteLimit3): Likewise.
15803 (CompleteLimit4): Likewise.
15804 (CompleteLimit5): Likewise.
15805 (CompleteLimit6): Likewise.
15806 (CompleteLimit7): Likewise.
15807
15808 2015-04-08 Pedro Alves <palves@redhat.com>
15809
15810 PR gdb/18214
15811 PR gdb/18216
15812 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15813 function.
15814 (main): Install it as SIGUSR1 handler.
15815 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15816 parameter. Always use "setup" as prefix. Toggle "set
15817 displaced-stepping" off/on depending on global. Don't switch to
15818 thread 1 here.
15819 (top level): Add displaced stepping "off/on" test axis. Update
15820 "setup" calls. Wrap each subtest with with_test_prefix. Test
15821 continuing with a queued signal in each thread.
15822
15823 2015-04-08 Pedro Alves <palves@redhat.com>
15824
15825 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15826 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15827 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15828 Return early if running to main fails.
15829 * gdb.trace/while-stepping.exp: Likewise.
15830
15831 2015-04-07 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15834 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15835 interact with inferior program.
15836
15837 2015-04-07 Pedro Alves <palves@redhat.com>
15838
15839 * lib/gdb.exp (inferior_spawn_id): New global.
15840 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15841 spawn id after processing the user code.
15842 (default_gdb_start): Set inferior_spawn_id.
15843 (send_inferior): New procedure.
15844 * lib/gdbserver-support.exp (gdbserver_start): Set
15845 inferior_spawn_id.
15846 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15847
15848 2015-04-07 Pedro Alves <palves@redhat.com>
15849
15850 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15851 * lib/gdbserver-support.exp (gdbserver_start): Make
15852 $server_spawn_id global.
15853 (gdbserver_start): Don't wait for gdbserver's spawn id with
15854 expect_background.
15855 (close_gdbserver): New procedure.
15856 (gdb_exit): Rename the default version and reimplement.
15857
15858 2015-04-07 Pedro Alves <palves@redhat.com>
15859
15860 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
15861 append the substituted item, not the original item.
15862
15863 2015-04-07 Pedro Alves <palves@redhat.com>
15864
15865 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15866 gdb_expect.
15867
15868 2015-04-07 Pedro Alves <palves@redhat.com>
15869
15870 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15871 output appearing once only.
15872
15873 2015-04-07 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15876 that doesn't expect anything. Return early if running to main
15877 fails.
15878
15879 2015-04-07 Yao Qi <yao.qi@linaro.org>
15880
15881 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15882 (child_function): Call alarm.
15883 (main): Move call to alarm into the loop.
15884 * gdb.threads/non-stop-fair-events.exp: Build program with
15885 -DTIMEOUT=$timeout.
15886
15887 2015-04-06 Doug Evans <xdje42@gmail.com>
15888
15889 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15890 Fix dest parameter to board_info.
15891 (fpc_compile): Ditto.
15892 (gdb_compile_pascal): Rename dest arg to destfile.
15893
15894 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15895
15896 * gdb.ada/funcall_ref.exp: New file.
15897 * gdb.ada/funcall_ref/foo.adb: New file.
15898
15899 2015-04-02 Yao Qi <yao.qi@linaro.org>
15900
15901 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15902 is remote.
15903
15904 2015-04-02 Gary Benson <gbenson@redhat.com>
15905
15906 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15907
15908 2015-04-01 Sasha Smundak <asmundak@google.com>
15909
15910 * gdb.python/py-unwind-maint.c: New file.
15911 * gdb.python/py-unwind-maint.exp: New test.
15912 * gdb.python/py-unwind-maint.py: New file.
15913 * gdb.python/py-unwind.c: New file.
15914 * gdb.python/py-unwind.exp: New test.
15915 * gdb.python/py-unwind.py: New test.
15916
15917 2015-04-01 Pedro Alves <palves@redhat.com>
15918
15919 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15920 to fail instead of non-existent $test.
15921
15922 2015-04-01 Pedro Alves <palves@redhat.com>
15923
15924 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15925 GDBFLAGS if not empty.
15926
15927 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15928
15929 * gdb.ada/complete.exp: Remove "multi_line".
15930 * gdb.ada/info_exc.exp: Remove "multi_line".
15931 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15932 * gdb.ada/ptype_field.exp: Remove "multi_line".
15933 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15934 * gdb.ada/tagged.exp: Remove "multi_line".
15935 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15936 [multi_line ...]
15937 * gdb.btrace/delta.exp: Likewise.
15938 * gdb.btrace/exception.exp: Likewise.
15939 * gdb.btrace/function_call_history.exp: Likewise.
15940 * gdb.btrace/instruction_history.exp: Likewise.
15941 * gdb.btrace/nohist.exp: Likewise.
15942 * gdb.btrace/record_goto.exp: Likewise.
15943 * gdb.btrace/segv.exp: Likewise.
15944 * gdb.btrace/stepi.exp: Likewise.
15945 * gdb.btrace/tailcall.exp: Likewise.
15946 * gdb.btrace/unknown_functions.exp: Likewise.
15947 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15948 * lib/gdb.exp: Add the "multi_line" helper.
15949
15950 2015-04-01 Pedro Alves <palves@redhat.com>
15951
15952 * gdb.threads/tid-reuse.c: New file.
15953 * gdb.threads/tid-reuse.exp: New file.
15954
15955 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15956
15957 PR corefiles/16092
15958 * gdb.base/coredump-filter.c: New file.
15959 * gdb.base/coredump-filter.exp: Likewise.
15960
15961 2015-03-27 Petr Machata <pmachata@redhat.com>
15962
15963 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15964 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15965 (Dwarf::assemble): Initialize them.
15966 (Dwarf::lines): New function.
15967
15968 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15969
15970 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15971 SYMBOL_PREFIX for x86_64-*-cygwin.
15972
15973 2015-03-26 Andy Wingo <wingo@igalia.com>
15974
15975 PR symtab/18148
15976 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15977 const_value but not a location.
15978 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15979 location defined in non-main CUs are visible.
15980
15981 2015-03-26 Yao Qi <yao.qi@linaro.org>
15982
15983 PR testsuite/18139
15984 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15985 Add a line number entry for the same line.
15986 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15987 Add a line number entry for the same line.
15988
15989 2015-03-26 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15992 .int 0.
15993 (func): Likewise. Add .Lfunc_1 label.
15994 Use .Lfunc_1 label.
15995 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15996 .int 0.
15997 (func): Likewise.
15998 Use .Lfunc_1 label.
15999
16000 2015-03-26 Yao Qi <yao.qi@linaro.org>
16001
16002 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16003 Call gdb_compile instead to compile each .s files without debug
16004 information.
16005
16006 2015-03-26 Yao Qi <yao.qi@linaro.org>
16007
16008 * gdb.base/savedregs.exp (process_saved_regs): Make
16009 "Saved registers:" optional in the pattern.
16010
16011 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16012
16013 * gdb.btrace/next.exp: Merged into step.exp.
16014 * gdb.btrace/finish.exp: Merged into step.exp.
16015 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16016 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16017 "record goto" and checking the exact replay position.
16018 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16019 check for "Recording format" in "info record" output.
16020 * gdb.btrace/record_goto.exp: Choose test file based on target.
16021 * gdb.btrace/x86-record_goto.S: Renamed into ...
16022 * gdb.btrace/x86_64-record_goto.S: ... this.
16023 * gdb.btrace/i686-record_goto.S: New.
16024 * gdb.btrace/x86-tailcall.S: Renamed into ...
16025 * gdb.btrace/x86_64-tailcall.S: ... this.
16026 * gdb.btrace/i686-tailcall.S: New.
16027 * gdb.btrace/x86-tailcall.c: Renamed into ...
16028 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16029 separate statements. Update test.
16030 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16031 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16032 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16033 * gdb.btrace/tailcall.exp: Choose test file based on target.
16034 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16035
16036 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16037
16038 * gdb.btrace/exception.exp: Increase BTS buffer size.
16039
16040 2015-03-24 Pedro Alves <palves@redhat.com>
16041
16042 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16043
16044 2015-03-24 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.threads/schedlock.exp (test_step): No longer expect that
16047 "set scheduler-locking step" with "next" over a function call runs
16048 threads unlocked.
16049
16050 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16051
16052 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16053
16054 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16055
16056 PR breakpoints/16466
16057 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16058 * gdb.mi/mi-pending.c (thread_func): New function.
16059 (int main): Add threading support required.
16060 * gdb.mi/mi-pending.exp: Add tests for this issue.
16061 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16062 (pendfunc2): Remove stdio dependency.
16063 * gdb.mi/mi-pendshr2.c: New file.
16064
16065 2015-03-23 Keith Seitz <keiths@redhat.com>
16066
16067 * gdb.linespec/keywords.c: New file.
16068 * gdb.linespec/keywords.exp: New file.
16069
16070 2015-03-23 Keith Seitz <keiths@redhat.com>
16071
16072 PR gdb/18021
16073 * gdb.dwarf2/staticvirtual.exp: New test.
16074
16075 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16076
16077 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16078 * README: Remove HP-UX and gdb.hp.
16079 (configuration):
16080 * configure: Regenerate.
16081 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16082 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16083 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16084 gdb.hp/gdb.defects/Makefile.
16085 * gdb.hp/Makefile.in: File deleted.
16086 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16087 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16088 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16089 * gdb.hp/gdb.aCC/run.c: File deleted.
16090 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16091 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16092 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16093 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16094 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16095 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16096 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16097 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16098 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16099 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16100 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16101 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16102 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16103 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16104 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16105 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16106 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16107 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16108 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16109 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16110 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16111 * gdb.hp/gdb.compat/average.c: File deleted.
16112 * gdb.hp/gdb.compat/sum.c: File deleted.
16113 * gdb.hp/gdb.compat/xdb.c: File deleted.
16114 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16115 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16116 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16117 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16118 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16119 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16120 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16121 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16122 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16123 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16124 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16125 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16126 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16127 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16128 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16129 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16130 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16131 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16132 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16133 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16134 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16135 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16136 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16137 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16138 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16139 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16140 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16141 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16142 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16143 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16144 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16145 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16146 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16147 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16148 * gdb.hp/tools/odump: File deleted.
16149
16150 2015-03-19 Pedro Alves <palves@redhat.com>
16151
16152 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16153 (saw_thread_3): New globals.
16154 (top level): Increment them when an event for the corresponding
16155 thread is seen.
16156 (no thread starvation): New test.
16157
16158 2015-03-19 Pedro Alves <palves@redhat.com>
16159
16160 * gdb.threads/continue-pending-status.c: New file.
16161 * gdb.threads/continue-pending-status.exp: New file.
16162
16163 2015-03-18 Pedro Alves <palves@redhat.com>
16164
16165 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16166 Use gdb_is_target_remote instead of is_remote. Use
16167 gdb_test_multiple instead of gdb_expect. Exit early if
16168 gdb_test_multiple hits its internal matches. Tighten stepi tests
16169 expected output. Fail on exit with any signal, instead of just
16170 SIGILL.
16171
16172 2015-03-18 Yao Qi <yao.qi@linaro.org>
16173
16174 PR tdep/18107
16175 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16176 variable.
16177 * gdb.base/catch-syscall.exp: Don't skip it on
16178 aarch64*-*-linux* target. Remove elements in all_syscalls.
16179 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16180 target.
16181 (setup_all_syscalls): New proc.
16182
16183 2015-03-16 Yao Qi <yao.qi@linaro.org>
16184
16185 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16186 (top level): Skip tests if valid_addr_p returns false for
16187 $cmd1 or $cmd2.
16188
16189 2015-03-11 Andy Wingo <wingo@igalia.com>
16190
16191 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16192
16193 2015-03-11 Yao Qi <yao.qi@linaro.org>
16194
16195 * gdb.base/catch-syscall.exp: Fix typo in comments.
16196
16197 2015-03-11 Yao Qi <yao.qi@linaro.org>
16198
16199 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16200
16201 2015-03-09 Pedro Alves <palves@redhat.com>
16202
16203 * dg-extract-results.py: Delete.
16204
16205 2015-03-09 Pedro Alves <palves@redhat.com>
16206
16207 Merge dg-extract-results.sh from GCC upstream (r218843).
16208
16209 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16210 * dg-extract-results.sh: Use --text with grep to avoid issues with
16211 binary files. Fall back to cat -v, if that doesn't work.
16212
16213 2015-03-05 Pedro Alves <palves@redhat.com>
16214
16215 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16216
16217 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16218
16219 * lib/mi-support.exp (mi_expect_interrupt): Accept
16220 alternative event for when in all-stop mode.
16221
16222 2015-03-04 Pedro Alves <palves@redhat.com>
16223
16224 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16225
16226 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16227
16228 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16229
16230 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16231
16232 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16233 regexps for GDB's current line display, accept a hex address
16234 preceding the line number.
16235
16236 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16237
16238 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16239 the 'arch1' variable for "s390*-linux*" targets.
16240
16241 2015-03-04 Pedro Alves <palves@redhat.com>
16242
16243 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16244 (main): Pass missing retval argument to pthread_join call.
16245
16246 2015-03-02 Pedro Alves <palves@redhat.com>
16247
16248 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16249 (top level): Call do_test with non-stop as well.
16250
16251 2015-03-02 Pedro Alves <palves@redhat.com>
16252
16253 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16254 -1.
16255
16256 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16257
16258 * gdb.arch/s390-vregs.exp: New test.
16259 * gdb.arch/s390-vregs.S: New file.
16260
16261 2015-02-27 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16264 call to catch_command_errors.
16265 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16266 catch_command_errors.
16267
16268 2015-02-27 Pedro Alves <palves@redhat.com>
16269
16270 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16271 "true" for boolean result.
16272 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16273 prototype of main.
16274
16275 2015-02-27 Pedro Alves <palves@redhat.com>
16276
16277 * lib/unbuffer_output.c: New file.
16278 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16279 (main): Call gdb_unbuffer_output.
16280
16281 2015-02-27 Yao Qi <yao.qi@linaro.org>
16282
16283 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16284 target.
16285
16286 2015-02-26 Doug Evans <dje@google.com>
16287
16288 * gdb.cp/class2.cc (Dbase, D): New classes.
16289 (main): New local delta.
16290 * gdb.cp/class2.exp: Test printing delta.
16291 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16292 (dynbar): New global.
16293 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16294
16295 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16296
16297 * gdb.compile/compile-ifunc.c: New file.
16298 * gdb.compile/compile-ifunc.exp: New file.
16299
16300 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16301
16302 * gdb.base/structs.exp: Check for correct struct on finish.
16303
16304 2015-02-26 Yao Qi <yao.qi@linaro.org>
16305
16306 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16307 is zero.
16308
16309 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16310
16311 * gdb.arch/cordic.ko.bz2: New file.
16312 * gdb.arch/cordic.ko.debug.bz2: New file.
16313 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16314
16315 2015-02-25 Yao Qi <yao.qi@linaro.org>
16316
16317 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16318 aarch64*-*-* target.
16319
16320 2015-02-23 Pedro Alves <palves@redhat.com>
16321
16322 * lib/gdb.exp (delete_breakpoints): Rewrite using
16323 gdb_test_multiple.
16324
16325 2015-02-23 Pedro Alves <palves@redhat.com>
16326
16327 * gdb.base/info-os.c: Include stdlib.h.
16328
16329 2015-02-22 Doug Evans <xdje42@gmail.com>
16330
16331 PR symtab/17855
16332 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16333 is read after symbols have been re-read.
16334 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16335 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16336
16337 2015-02-21 Doug Evans <dje@google.com>
16338
16339 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16340
16341 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16342
16343 PR corefiles/17808
16344 * gdb.arch/i386-biarch-core.core.bz2: New file.
16345 * gdb.arch/i386-biarch-core.exp: New file.
16346
16347 2015-02-21 Pedro Alves <palves@redhat.com>
16348
16349 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16350 runto_main fails.
16351
16352 2015-02-20 Pedro Alves <palves@redhat.com>
16353
16354 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16355 info probes.
16356
16357 2015-02-20 Pedro Alves <palves@redhat.com>
16358
16359 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16360
16361 2015-02-20 Pedro Alves <palves@redhat.com>
16362
16363 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16364 clean_restart before gdb_target_supports_trace.
16365
16366 2015-02-20 Pedro Alves <palves@redhat.com>
16367
16368 PR threads/18006
16369 * gdb.threads/clone-thread_db.c: New file.
16370 * gdb.threads/clone-thread_db.exp: New file.
16371
16372 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16373
16374 PR breakpoints/16812
16375 * gdb.base/catch-gdb-caused-signals.c: New file.
16376 * gdb.base/catch-gdb-caused-signals.exp: New file.
16377
16378 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16379
16380 * configure: Regenerated.
16381 * configure.ac: Use GDB_AC_TRANSFORM.
16382 * aclocal.m4: sinclude ../transform.m4.
16383
16384 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16385
16386 * lib/dtrace.exp: New file.
16387 * gdb.base/dtrace-probe.exp: Likewise.
16388 * gdb.base/dtrace-probe.d: Likewise.
16389 * gdb.base/dtrace-probe.c: Likewise.
16390 * lib/pdtrace.in: Likewise.
16391 * configure.ac: Output variables with the transformed names of
16392 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16393 * configure: Regenerated.
16394
16395 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16396
16397 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16398 expected message when trying to access $_probe_* convenience
16399 variables while not on a probe.
16400
16401 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16402
16403 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16404
16405 2015-02-11 Pedro Alves <pedro@codesourcery.com>
16406
16407 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16408 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16409
16410 2015-02-10 Doug Evans <xdje42@gmail.com>
16411
16412 * lib/gdb.exp (gdb_load): Always return a result.
16413
16414 2015-02-10 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.threads/signal-sigtrap.c: New file.
16417 * gdb.threads/signal-sigtrap.exp: New file.
16418
16419 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16420
16421 * gdb.trace/no-attach-trace.c: New file.
16422 * gdb.trace/no-attach-trace.exp: New file.
16423
16424 2015-02-09 Mark Wielaard <mjw@redhat.com>
16425
16426 * gdb.dwarf2/atomic.c: New file.
16427 * gdb.dwarf2/atomic-type.exp: Likewise.
16428
16429 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16430
16431 * gdb.btrace/buffer-size.exp: Update "info record" output.
16432 * gdb.btrace/delta.exp: Update "info record" output.
16433 * gdb.btrace/enable.exp: Update "info record" output.
16434 * gdb.btrace/finish.exp: Update "info record" output.
16435 * gdb.btrace/instruction_history.exp: Update "info record" output.
16436 * gdb.btrace/next.exp: Update "info record" output.
16437 * gdb.btrace/nexti.exp: Update "info record" output.
16438 * gdb.btrace/step.exp: Update "info record" output.
16439 * gdb.btrace/stepi.exp: Update "info record" output.
16440 * gdb.btrace/nohist.exp: Update "info record" output.
16441
16442 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16443
16444 * gdb.btrace/buffer-size: New.
16445
16446 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16447
16448 * gdb.btrace/delta.exp: Update "info record" output.
16449 * gdb.btrace/enable.exp: Update "info record" output.
16450 * gdb.btrace/finish.exp: Update "info record" output.
16451 * gdb.btrace/instruction_history.exp: Update "info record" output.
16452 * gdb.btrace/next.exp: Update "info record" output.
16453 * gdb.btrace/nexti.exp: Update "info record" output.
16454 * gdb.btrace/step.exp: Update "info record" output.
16455 * gdb.btrace/stepi.exp: Update "info record" output.
16456 * gdb.btrace/nohist.exp: Update "info record" output.
16457
16458 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16459
16460 PR gdb/15678
16461 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16462
16463 2015-02-06 Pedro Alves <palves@redhat.com>
16464
16465 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16466 macro.
16467 (seconds_left, again): New globals.
16468 (main): Wait seconds_left in a 1-second sleep loop instead of
16469 sleeping 180 seconds. If 'again' is set, reset the seconds
16470 counter.
16471 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16472 'again' in the inferior before detaching. Print the seconds left.
16473 (options): New global.
16474 (top level): Build program with -DTIMEOUT=$timeout.
16475
16476 2015-02-06 Pedro Alves <palves@redhat.com>
16477
16478 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16479 determine how many seconds to pass to 'alarm'.
16480 * gdb.base/gdb-sigterm.exp (top level): Build program with
16481 -DTIMEOUT=$timeout.
16482 (do_test): Return success/failure indication. Add more verbose
16483 logging. Don't fail if 200 single steps are seen. Instead, fail
16484 when the test times out.
16485 (passes): New global.
16486 (top level): Break the testing loop if testing fails on any
16487 iteration. Use gdb_assert.
16488
16489 2015-02-04 Don Breazeal <donb@codesourcery.com>
16490
16491 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16492 and initialize them.
16493 (ipc_cleanup): New function.
16494 (main): Don't declare shmid, semid, and msqid. Add a call to
16495 atexit so that we call ipc_cleanup on exit.
16496
16497 2015-02-04 Pedro Alves <palves@redhat.com>
16498
16499 * boards/native-extended-gdbserver.exp: Remove any target variant
16500 specifications from the board name before clearing the isremote
16501 flag from board_info.
16502
16503 2015-01-31 Doug Evans <xdje42@gmail.com>
16504
16505 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16506
16507 2015-01-31 Gary Benson <gbenson@redhat.com>
16508
16509 * gdb.base/completion.exp: Disable completion limiting for
16510 existing tests. Add new tests to check completion limiting.
16511 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16512
16513 2015-01-31 Doug Evans <xdje42@gmail.com>
16514
16515 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16516
16517 2015-01-31 Doug Evans <xdje42@gmail.com>
16518
16519 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16520 entries. Duplicate file section script entries.
16521 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16522 inlined entries. Add test for safe-path rejection.
16523 * gdb.python/py-section-script.c: Add duplicate inlined section script
16524 entries. Duplicate file section script entries.
16525 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16526 inlined entries. Add test for safe-path rejection.
16527
16528 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16529
16530 * gdb.ada/disc_arr_bound: New testcase.
16531
16532 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16533
16534 * gdb.ada/mi_var_array: New testcase.
16535
16536 2015-01-27 Doug Evans <dje@google.com>
16537
16538 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16539 Add test for objfile.filename, objfile.username after objfile
16540 has been unloaded.
16541
16542 2015-01-26 Joel Brobecker <brobecker@adacore.com>
16543
16544 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16545 the second test to print the name attribute of value
16546 returned by the call to gdb.lookup_type, and adjust
16547 the expected output accordingly.
16548
16549 2015-01-25 Mark Wielaard <mjw@redhat.com>
16550
16551 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16552 * gdb.base/disp-step-fork.c: Include unistd.h.
16553 * gdb.base/siginfo-obj.c: Include stdio.h.
16554 * gdb.base/siginfo-thread.c: Likewise.
16555 * gdb.mi/non-stop.c: Include unistd.h.
16556 * gdb.mi/nsthrexec.c: Include stdio.h.
16557 * gdb.mi/pthreads.c: Include unistd.h.
16558 * gdb.modula2/unbounded1.c (main): Declare returns int.
16559 * gdb.reverse/consecutive-reverse.c: Likewise.
16560 * gdb.threads/create-fail.c: Include unistd.h.
16561 * gdb.threads/killed.c: Likewise.
16562 * gdb.threads/linux-dp.c: Likewise.
16563 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16564 * gdb.threads/non-ldr-exc-2.c: Likewise.
16565 * gdb.threads/non-ldr-exc-3.c: Likewise.
16566 * gdb.threads/non-ldr-exc-4.c: Likewise.
16567 * gdb.threads/pthreads.c: Include unistd.h.
16568 (main): Declare returns int.
16569 * gdb.threads/tls-main.c (foo): New declaration.
16570 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16571
16572 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16573
16574 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16575 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16576
16577 2015-01-15 Mark Wielaard <mjw@redhat.com>
16578
16579 * gdb.base/noreturn-return.c: New file.
16580 * gdb.base/noreturn-return.exp: New file.
16581 * gdb.base/noreturn-finish.c: New file.
16582 * gdb.base/noreturn-finish.exp: New file.
16583
16584 2015-01-23 Pedro Alves <palves@redhat.com>
16585
16586 * gdb.threads/continue-pending-after-query.c: New file.
16587 * gdb.threads/continue-pending-after-query.exp: New file.
16588
16589 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16590 Simon Marchi <simon.marchi@ericsson.com>
16591
16592 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16593 * gdb.base/valgrind-db-attach.exp: Same.
16594 * gdb.base/valgrind-infcall.exp: Same.
16595 * lib/mi-support.exp (default_mi_gdb_start): Same.
16596 * lib/prompt.exp (default_prompt_gdb_start): Same.
16597 * lib/gdb.exp (default_gdb_spawn): Same.
16598 (gdb_interact): New.
16599
16600
16601 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16602
16603 * gdb.compile/compile.exp (pointer to jit function): New test.
16604
16605 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
16606
16607 * lib/gdb.exp (supports_process_record): Return true for
16608 powerpc*-*-linux*.
16609 (supports_reverse): Likewise.
16610
16611 2015-01-15 Don Breazeal <donb@codesourcery.com>
16612
16613 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16614 instead of checking whether the target board is remote and
16615 use spawn_wait_for_attach instead of exec/sleep.
16616 * gdb.base/attach-twice.exp: Likewise.
16617
16618 2015-01-15 Joel Brobecker <brobecker@adacore.com>
16619
16620 * gdb.ada/var_arr_attrs: New testcase.
16621
16622 2015-01-14 Pedro Alves <palves@redhat.com>
16623 Joel Brobecker <brobecker@adacore.com>
16624
16625 PR gdb/17525
16626 * gdb.base/bp-cmds-execution-x-script.c: New file.
16627 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16628 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16629
16630 2015-01-14 Pedro Alves <palves@redhat.com>
16631
16632 PR cli/17828
16633 * gdb.base/batch-preserve-term-settings.c: New file.
16634 * gdb.base/batch-preserve-term-settings.exp: New file.
16635
16636 2015-01-13 Doug Evans <dje@google.com>
16637
16638 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16639 binary.
16640
16641 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16642
16643 * Makefile.in (clean mostlyclean): Do not delete *.py.
16644
16645 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16646
16647 * gdb.python/py-lookup-type.exp: New file.
16648
16649 2015-01-12 Pedro Alves <palves@redhat.com>
16650
16651 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16652 restore GDBFLAGS before returning.
16653
16654 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16655
16656 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16657 is_amd64_regs_target and is_x86_like_target.
16658
16659 2015-01-11 Doug Evans <xdje42@gmail.com>
16660
16661 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16662 is given without an explicit form.
16663 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16664 attributes.
16665 * gdb.dwarf/corrupt.exp: Ditto.
16666 * gdb.dwarf2/enum-type.exp: Ditto.
16667 * gdb.trace/entry-values.exp: Ditto.
16668 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16669
16670 2015-01-11 Doug Evans <xdje42@gmail.com>
16671
16672 PR gdb/15830
16673 * gdb.base/maint.exp: Remove references to "maint demangle".
16674 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16675 Add tests for explicitly specifying language to demangle.
16676 * gdb.dlang/demangle.exp: Ditto.
16677
16678 2015-01-09 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.threads/non-stop-fair-events.c: New file.
16681 * gdb.threads/non-stop-fair-events.exp: New file.
16682
16683 2015-01-09 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16686 the global scope. Set a breakpoint after all threads are started
16687 rather than stepping over two source lines. Expect the prompt.
16688 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16689 global.
16690 (NUM): Now 15.
16691 (main): Use threads_started_barrier to wait for all threads to
16692 start. Main thread no longer calls thread_function. Exit after
16693 180 seconds.
16694 (loop): New function.
16695 (thread_function): Wait on threads_started_barrier barrier. Call
16696 'loop' at each iteration.
16697 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16698 threads have started, instead of hardcoding number of "next"
16699 steps. Use an access watchpoint instead of a write watchpoint.
16700
16701 2015-01-09 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16704 (thread_func): Wait on barrier.
16705 (main): Wait for all threads to start before stopping GDB.
16706 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16707 global.
16708 (thread1_func, thread2_func): Wait on barrier.
16709 (main): Wait for all threads to start before stopping GDB.
16710 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16711 New global.
16712 (thread1_func, thread2_func): Wait on barrier.
16713 (main): Wait for all threads to start before stopping GDB.
16714
16715 2015-01-09 Pedro Alves <palves@redhat.com>
16716
16717 * gdb.threads/attach-many-short-lived-threads.c: New file.
16718 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16719
16720 2014-01-09 Pedro Alves <palves@redhat.com>
16721
16722 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16723 instead of to thread 2.
16724 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16725 Add barrier around each pthread_create call instead of around all
16726 calls.
16727 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16728 Set a break on thread_function and have the child threads hit it
16729 one at at a time.
16730
16731 2015-01-09 Pedro Alves <palves@redhat.com>
16732
16733 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16734 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16735 false.
16736 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16737 checking whether the target board is remote.
16738 * gdb.multi/multi-attach.exp: Likewise.
16739 * gdb.python/py-sync-interp.exp: Likewise.
16740 * gdb.server/ext-attach.exp: Likewise.
16741 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16742 tests that need to attach, instead of checking whether the target
16743 board is remote at the top of the file.
16744
16745 2015-01-08 Yao Qi <yao@codesourcery.com>
16746
16747 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16748
16749 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16750
16751 Fix testcase compilation.
16752 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16753
16754 2015-01-06 Joel Brobecker <brobecker@adacore.com>
16755
16756 * gdb.python/py-type.exp: Add a couple test about empty
16757 array creation, and negative-length array creation.
16758
16759 2015-01-02 Doug Evans <xdje42@gmail.com>
16760
16761 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16762
16763 2015-01-02 Doug Evans <dje@google.com>
16764
16765 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16766
16767 2014-12-29 Yao Qi <yao@codesourcery.com>
16768
16769 * gdb.trace/entry-values.exp: Update comments. Rename variable
16770 bar_call_foo to returned_from_foo.
16771
16772 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16773
16774 PR gdb/17394
16775 * gdb.linespec/break-asm-file.c: New file.
16776 * gdb.linespec/break-asm-file.exp: New file.
16777 * gdb.linespec/break-asm-file0.s: New file.
16778 * gdb.linespec/break-asm-file1.s: New file.
16779
16780 2014-12-18 Nigel Stephens <nigel@mips.com>
16781 Maciej W. Rozycki <macro@codesourcery.com>
16782
16783 * gdb.base/float.exp: Handle the new output from "info float" on
16784 MIPS targets.
16785
16786 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16787
16788 Fix MinGW compilation.
16789 * gdb.compile/compile-ops.exp: Update untested message if
16790 !skip_compile_feature_tests.
16791 * gdb.compile/compile-setjmp.exp: Likewise.
16792 * gdb.compile/compile-tls.exp: Likewise.
16793 * gdb.compile/compile.exp: Likewise.
16794 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16795 supported on this host".
16796
16797 2014-12-16 Doug Evans <xdje42@gmail.com>
16798
16799 * boards/stabs.exp: New file.
16800
16801 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16802
16803 * gdb.base/completion.exp: Adjust to format changes of "maint
16804 print user-registers".
16805
16806 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
16807
16808 PR server/17457
16809 * gdb.arch/aarch64-fp.c: New file.
16810 * gdb.arch/aarch64-fp.exp: New file.
16811
16812 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16813
16814 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16815 r210637, r210913, r211666, r215400, r215817).
16816
16817 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16818 * dg-extract-results.py: New file.
16819 * dg-extract-results.sh: Use it if the environment seems
16820 suitable.
16821
16822 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16823
16824 * dg-extract-results.py (parse_run): Handle warnings that
16825 are printed before a test harness is run.
16826
16827 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16828
16829 * dg-extract-results.py (Named): Remove __cmp__ method.
16830 (output_variation): Use a key to sort variation.harnesses.
16831
16832 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16833
16834 * dg-extract-results.py: For Python 3, force sys.stdout to
16835 handle surrogate escape sequences.
16836 (safe_open): New function.
16837 (output_segment, main): Use it.
16838
16839 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16840
16841 * dg-extract-results.py (Prog.result_re): Include options
16842 in test name.
16843
16844 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16845
16846 * dg-extract-results.py (output_variation): Always sort if
16847 do_sum.
16848
16849 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16850
16851 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16852 as long as we get pagination notifications.
16853
16854 2014-12-15 Jason Merrill <jason@redhat.com>
16855
16856 * Makefile.in (check-gdb.%): Restore.
16857 * README: Mention it.
16858
16859 2014-12-13 Joel Brobecker <brobecker@adacore.com>
16860
16861 * gdb.ada/str_uninit: New testcase.
16862
16863 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16864
16865 PR symtab/17642
16866 * gdb.base/vla-stub-define.c: New file.
16867 * gdb.base/vla-stub.c: New file.
16868 * gdb.base/vla-stub.exp: New file.
16869
16870 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16871 Jan Kratochvil <jan.kratochvil@redhat.com>
16872 Tom Tromey <tromey@redhat.com>
16873
16874 * configure.ac: Add gdb.compile/.
16875 * configure: Regenerate.
16876 * gdb.compile/Makefile.in: New file.
16877 * gdb.compile/compile-ops.exp: New file.
16878 * gdb.compile/compile-ops.c: New file.
16879 * gdb.compile/compile-tls.c: New file.
16880 * gdb.compile/compile-tls.exp: New file.
16881 * gdb.compile/compile-constvar.S: New file.
16882 * gdb.compile/compile-constvar.c: New file.
16883 * gdb.compile/compile-mod.c: New file.
16884 * gdb.compile/compile-nodebug.c: New file.
16885 * gdb.compile/compile-setjmp-mod.c: New file.
16886 * gdb.compile/compile-setjmp.c: New file.
16887 * gdb.compile/compile-setjmp.exp: New file.
16888 * gdb.compile/compile-shlib.c: New file.
16889 * gdb.compile/compile.c: New file.
16890 * gdb.compile/compile.exp: New file.
16891 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16892
16893 2014-12-12 Tom Tromey <tromey@redhat.com>
16894
16895 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16896 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16897
16898 2014-12-12 Doug Evans <dje@google.com>
16899
16900 * lib/gdb-python.exp (get_python_valueof): New function.
16901 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16902
16903 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16904
16905 * gdb.base/completion.exp: Add test for completion of "info
16906 registers ".
16907
16908 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16909
16910 * gdb.base/func-ptrs.c: New file.
16911 * gdb.base/func-ptrs.exp: New file.
16912
16913 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16914
16915 PR breakpoints/17012
16916 * gdb.base/dprintf-detach.c: New file.
16917 * gdb.base/dprintf-detach.exp: New file.
16918
16919 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16920
16921 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16922 * lib/gdb.exp (target_is_gdbserver): New procedure.
16923
16924 2014-12-08 Doug Evans <dje@google.com>
16925
16926 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16927
16928 2014-12-05 Yao Qi <yao@codesourcery.com>
16929
16930 * gdb.guile/scm-error.exp: Remove the third argument to
16931 gdb_remote_download.
16932 * gdb.guile/scm-frame-args.exp: Likewise.
16933 * gdb.guile/scm-section-script.exp: Likewise.
16934
16935 2014-12-05 Yao Qi <yao@codesourcery.com>
16936
16937 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16938
16939 2014-12-04 Doug Evans <dje@google.com>
16940
16941 * gdb.python/py-objfile.exp: Add tests for
16942 objfile.add_separate_debug_file.
16943
16944 2014-12-04 Doug Evans <dje@google.com>
16945
16946 * lib/gdb.exp (get_build_id): New function.
16947 (build_id_debug_filename_get): Rewrite to use it.
16948 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16949
16950 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16951
16952 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16953 `method(long)', not just 0x0.
16954 * gdb.cp/nsalias.exp: Align code labels to 4.
16955 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16956 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16957 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16958 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16959 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16960 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16961
16962 2014-12-02 Doug Evans <dje@google.com>
16963
16964 PR symtab/17602
16965 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16966 * gdb.cp/anon-ns2.cc: ... here. New file.
16967 * gdb.cp/anon-ns.exp: Update.
16968
16969 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16970
16971 * gdb.python/py-events.py (inferior_call_handler): New.
16972 (register_changed_handler, memory_changed_handler): New.
16973 (test_events.invoke): Register new handlers.
16974 * gdb.python/py-events.exp: Add tests for inferior call,
16975 memory_changed and register_changed events.
16976
16977 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16978
16979 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16980 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16981 if the linker doesn't understand this.
16982
16983 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16984
16985 * gdb.python/python.exp: Change expected reply to help().
16986
16987 2014-12-01 Yao Qi <yao@codesourcery.com>
16988
16989 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16990 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16991 * configure: Re-generated.
16992
16993 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16994
16995 * gdb.cp/chained-calls.cc: New file.
16996 * gdb.cp/chained-calls.exp: New file.
16997 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16998
16999 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17000
17001 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17002 * gdb.dwarf2/symtab-producer.exp: Same.
17003 * gdb.gdb/python-interrupts.exp: Same.
17004 * gdb.gdb/python-selftest.exp: Same.
17005 * gdb.python/py-linetable.exp: Same.
17006 * gdb.python/py-type.exp: Same.
17007 * gdb.python/py-value-cc.exp: Same.
17008 * gdb.python/py-value.exp: Same.
17009
17010 2014-11-28 Yao Qi <yao@codesourcery.com>
17011
17012 * gdb.base/break-probes.exp: Match library name prefixed with
17013 sysroot.
17014
17015 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17016
17017 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17018 test expected output. Add parentheses for the call to print.
17019 Remove L suffix from integers.
17020
17021 2014-11-26 Doug Evans <dje@google.com>
17022
17023 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17024
17025 2014-11-22 Yao Qi <yao@codesourcery.com>
17026
17027 * gdb.trace/entry-values.c: Remove asms.
17028 (foo): Add foo_label.
17029 (bar): Add bar_label.
17030 * gdb.trace/entry-values.exp: Remove code computing foo's
17031 length and bar's length.
17032 (Dwarf::assemble): Invoke function_range for bar and use
17033 MACRO_AT_func for foo.
17034
17035 2014-11-22 Yao Qi <yao@codesourcery.com>
17036
17037 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17038 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17039 Use .Lgcc43_procstart instead of gcc43.
17040
17041 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17042
17043 * gdb.ada/n_arr_bound: New testcase.
17044
17045 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17046
17047 PR breakpoints/10737
17048 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17049 test_catch_syscall_multi_arch.
17050 (test_catch_syscall_multi_arch): New function.
17051
17052 2014-11-20 Doug Evans <xdje42@gmail.com>
17053
17054 * gdb.base/maint.exp: Update expected output.
17055
17056 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17057
17058 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17059 4-byte instruction on S390.
17060
17061 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17062
17063 * gdb.ada/arr_arr: New testcase.
17064
17065 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17066
17067 * gdb.ada/pkd_arr_elem: New Testcase.
17068
17069 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17070
17071 * gdb.reverse/break-precsave: Expect completion message for
17072 core file reads.
17073 * gdb.reverse/consecutive-precsave.exp: Likewise.
17074 * gdb.reverse/finish-precsave.exp: Likewise.
17075 * gdb.reverse/i386-precsave.exp: Likewise.
17076 * gdb.reverse/machinestate-precsave.exp: Likewise.
17077 * gdb.reverse/sigall-precsave.exp: Likewise.
17078 * gdb.reverse/solib-precsave.exp: Likewise.
17079 * gdb.reverse/step-precsave.exp: Likewise.
17080 * gdb.reverse/until-precsave.exp: Likewise.
17081 * gdb.reverse/watch-precsave.exp: Likewise.
17082
17083 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17084
17085 * gdb.base/bp-permanent.c: Include unistd.h.
17086 * gdb.python/py-framefilter-mi.c (main): Add return type.
17087 * gdb.python/py-framefilter.c (main): Likewise.
17088 * gdb.trace/actions-changed.c (main): Likewise.
17089
17090 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17091
17092 * gdb.mi/until.c: Add eye-catchers.
17093 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17094 line numbers.
17095
17096 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17097
17098 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17099 function header variants in break1.c.
17100 * gdb.base/ena-dis-br.exp: Likewise.
17101 * gdb.base/hbreak2.exp: Likewise.
17102 * gdb.reverse/until-precsave.exp: Drop references to removed
17103 non-prototype function header variants in ur1.c.
17104 * gdb.reverse/until-reverse.exp: Likewise.
17105
17106 2014-11-17 Petr Machata <pmachata@redhat.com>
17107
17108 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17109 ${_cu_offset_size} bytes abbrev offset.
17110
17111 2014-11-15 Doug Evans <xdje42@gmail.com>
17112
17113 PR symtab/17559
17114 * gdb.base/line-symtabs.exp: New file.
17115 * gdb.base/line-symtabs.c: New file.
17116 * gdb.base/line-symtabs.h: New file.
17117
17118 2014-11-14 Yao Qi <yao@codesourcery.com>
17119
17120 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17121 (func): Add label func_label.
17122 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17123 Replace low_pc and high_pc with MACRO_AT_range.
17124 Replace name, low_pc and high_pc with MACRO_AT_func.
17125
17126 2014-11-14 Yao Qi <yao@codesourcery.com>
17127
17128 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17129 Replace name, low_pc and high_pc with MACRO_AT_func.
17130
17131 2014-11-14 Yao Qi <yao@codesourcery.com>
17132
17133 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17134 produce debug information.
17135 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17136
17137 2014-11-14 Yao Qi <yao@codesourcery.com>
17138
17139 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17140 object and get function length.
17141 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17142 with MACRO_AT_func.
17143 (top-level): Replace gdb_compile and clean_restart with
17144 prepare_for_testing.
17145 * gdb.dwarf2/main.c (main): Add label main_label.
17146
17147 2014-11-14 Yao Qi <yao@codesourcery.com>
17148
17149 * lib/dwarf.exp (function_range): New procedure.
17150 (Dwarf::_handle_macro_at_func): New procedure.
17151 (Dwarf::_handle_macro_at_range): New procedure.
17152 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17153
17154 2014-11-14 Yao Qi <yao@codesourcery.com>
17155
17156 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17157 (_handle_attribute): New procedure.
17158
17159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17160
17161 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17162 * gdb.base/call-sc.c (zed): Likewise.
17163 * gdb.base/checkpoint.c (main): Likewise.
17164 * gdb.base/dump.c (main): Likewise.
17165 * gdb.base/gcore.c (main): Likewise.
17166 * gdb.base/huge.c (main): Likewise.
17167 * gdb.base/multi-forks.c (main): Likewise.
17168 * gdb.base/pr10179-a.c (main): Likewise.
17169 * gdb.base/savedregs.c (main): Likewise.
17170 * gdb.base/sigaltstack.c (main): Likewise.
17171 * gdb.base/siginfo.c (main): Likewise.
17172 * gdb.base/structs.c (zed): Likewise.
17173 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17174 * gdb.mi/mi-syn-frame.c (main): Likewise.
17175 * gdb.mi/until.c (foo, main): Likewise.
17176 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17177 * gdb.base/solib-weak.c (foo): Declare.
17178 * gdb.base/attach-twice.c: Include stdio.h.
17179 * gdb.base/weaklib1.c: Likewise.
17180 * gdb.base/weaklib2.c: Likewise.
17181 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17182 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17183 unistd.h.
17184 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17185 * gdb.mi/mi-exit-code.c: Likewise.
17186 * gdb.base/break-interp-lib.c: Include string.h.
17187 * gdb.base/coremaker.c: Likewise.
17188 * gdb.base/testenv.c: Likewise.
17189 * gdb.python/py-finish-breakpoint.c: Likewise.
17190 * gdb.base/inferior-died.c: Include sys/wait.h.
17191 * gdb.base/fileio.c: Include time.h.
17192 * gdb.base/async-shell.c: Include unistd.h.
17193 * gdb.base/dprintf-non-stop.c: Likewise.
17194 * gdb.base/info-os.c: Likewise.
17195 * gdb.mi/mi-console.c: Likewise.
17196 * gdb.mi/watch-nonstop.c: Likewise.
17197 * gdb.python/py-events.c: Likewise.
17198 * gdb.base/async.c (baz): Move up before its invocation.
17199 * gdb.base/code_elim2.c (my_global_func): Likewise.
17200 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17201 * gdb.base/advance.c (func2): Likewise.
17202
17203 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17204
17205 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17206 variant.
17207 * gdb.base/annota3.c: Likewise.
17208 * gdb.base/async.c: Likewise.
17209 * gdb.base/average.c: Likewise.
17210 * gdb.base/call-ar-st.c: Likewise.
17211 * gdb.base/call-rt-st.c: Likewise.
17212 * gdb.base/call-sc.c: Likewise.
17213 * gdb.base/call-strs.c: Likewise.
17214 * gdb.base/ending-run.c: Likewise.
17215 * gdb.base/execd-prog.c: Likewise.
17216 * gdb.base/exprs.c: Likewise.
17217 * gdb.base/foll-exec.c: Likewise.
17218 * gdb.base/foll-fork.c: Likewise.
17219 * gdb.base/foll-vfork.c: Likewise.
17220 * gdb.base/funcargs.c: Likewise.
17221 * gdb.base/gcore.c: Likewise.
17222 * gdb.base/jump.c: Likewise.
17223 * gdb.base/langs0.c: Likewise.
17224 * gdb.base/langs1.c: Likewise.
17225 * gdb.base/langs2.c: Likewise.
17226 * gdb.base/mips_pro.c: Likewise.
17227 * gdb.base/nodebug.c: Likewise.
17228 * gdb.base/opaque0.c: Likewise.
17229 * gdb.base/opaque1.c: Likewise.
17230 * gdb.base/recurse.c: Likewise.
17231 * gdb.base/run.c: Likewise.
17232 * gdb.base/scope0.c: Likewise.
17233 * gdb.base/scope1.c: Likewise.
17234 * gdb.base/setshow.c: Likewise.
17235 * gdb.base/setvar.c: Likewise.
17236 * gdb.base/shmain.c: Likewise.
17237 * gdb.base/shr1.c: Likewise.
17238 * gdb.base/shr2.c: Likewise.
17239 * gdb.base/sigall.c: Likewise.
17240 * gdb.base/signals.c: Likewise.
17241 * gdb.base/so-indr-cl.c: Likewise.
17242 * gdb.base/solib2.c: Likewise.
17243 * gdb.base/structs.c: Likewise.
17244 * gdb.base/sum.c: Likewise.
17245 * gdb.base/vforked-prog.c: Likewise.
17246 * gdb.base/watchpoint.c: Likewise.
17247 * gdb.reverse/shr2.c: Likewise.
17248 * gdb.reverse/until-reverse.c: Likewise.
17249 * gdb.reverse/ur1.c: Likewise.
17250 * gdb.reverse/watch-reverse.c: Likewise.
17251
17252 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17253
17254 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17255 variant.
17256 * gdb.base/sepdebug.exp: Drop references to removed code.
17257
17258 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17259
17260 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17261 variant. Preserve original line numbering.
17262 * gdb.base/list1.c: Likewise.
17263
17264 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17265
17266 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17267 variant.
17268 * gdb.base/break1.c: Likewise.
17269 * gdb.base/break.exp: Drop references to removed code.
17270
17271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17272
17273 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17274 variant.
17275
17276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17277
17278 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17279
17280 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17281
17282 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17283 logic into perform_all_tests() and invoke it with and without
17284 function header prototypes.
17285 (do_function_calls): Remove conditional XFAIL for PR 5318.
17286 (rerun_and_prepare): Remove duplicate code.
17287 (perform_all_tests): New. Main logic moved here.
17288
17289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17290
17291 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17292 code guarded by #ifdef NO_PROTOTYPES.
17293 (t_double_many_args): Likewise.
17294 (DEF_FUNC_MANY_ARGS_1): Likewise.
17295 (DEF_FUNC_VALUES_1): Likewise.
17296 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17297 guarded by #ifdef PROTOTYPES.
17298
17299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17300
17301 * gdb.mi/mi-console.c: Add eye-catcher.
17302 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17303 instead of literal line number.
17304
17305 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17306
17307 * gdb.base/shr2.c: Add eye-catcher.
17308 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17309 line number.
17310
17311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17312
17313 * gdb.base/jump.c: Add eye-catchers.
17314 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17315 numbers.
17316
17317 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17318
17319 * gdb.base/execd-prog.c: Add eye-catchers.
17320 * gdb.base/foll-exec.c: Likewise.
17321 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17322 line numbers.
17323
17324 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17325
17326 * gdb.base/ending-run.c: Add eye-catchers.
17327 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17328 literal line numbers.
17329
17330 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17331
17332 * gdb.base/call-rt-st.c: Add eye-catchers.
17333 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17334 literal line numbers.
17335
17336 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17337
17338 * gdb.base/call-ar-st.c: Add eye-catchers.
17339 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17340 literal line numbers.
17341
17342 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17343
17344 * gdb.base/average.c: Add eye-catchers.
17345 * gdb.base/sum.c: Likewise.
17346 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17347 regexps dynamically.
17348
17349 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17350
17351 * gdb.base/solib1.c: Add eye-catchers.
17352 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17353 literal line numbers.
17354
17355 2014-11-12 Pedro Alves <palves@redhat.com>
17356
17357 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17358 leader has exited.
17359
17360 2014-11-12 Pedro Alves <palves@redhat.com>
17361
17362 * gdb.arch/i386-bp_permanent.c: New file.
17363 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17364 (srcfile): Set to i386-bp_permanent.c.
17365 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17366 that stepi does not execute the 'leave' instruction, instead of
17367 testing it does execute.
17368 * gdb.base/bp-permanent.c: New file.
17369 * gdb.base/bp-permanent.exp: New file.
17370
17371 2014-11-10 Doug Evans <xdje42@gmail.com>
17372
17373 PR symtab/17564
17374 * gdb.base/symtab-search-order.exp: New file.
17375 * gdb.base/symtab-search-order.c: New file.
17376 * gdb.base/symtab-search-order-1.c: New file.
17377 * gdb.base/symtab-search-order-shlib-1.c: New file.
17378
17379 2014-11-07 Pedro Alves <palves@redhat.com>
17380
17381 PR gdb/17511
17382 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17383 i?86-*-linux*.
17384
17385 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17386
17387 PR c++/17494
17388 * gdb.cp/pr17494.cc: New file.
17389 * gdb.cp/pr17494.exp: New file.
17390
17391 2014-11-02 Yao Qi <yao@codesourcery.com>
17392
17393 * gdb.python/python.exp: Get working directory and match the
17394 output of "set extended-prompt \\w " with it.
17395
17396 2014-10-30 Doug Evans <dje@google.com>
17397
17398 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17399 in objfiles.
17400 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17401 in progspaces.
17402
17403 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
17404
17405 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17406 * gdb.base/realname-expand.exp: Likewise.
17407 * gdb.linespec/macro-relative.exp: Likewise.
17408
17409 2014-10-29 Pedro Alves <palves@redhat.com>
17410
17411 PR gdb/17408
17412 * gdb.threads/schedlock.c (some_function): New function.
17413 (call_function): New global.
17414 (MAYBE_CALL_SOME_FUNCTION): New macro.
17415 (thread_function): Call it.
17416 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17417 and use it instead of a global counter. Adjust all callers.
17418 (get_current_thread): Use "find current thread" for test message
17419 here rather than having all callers pass down the same string.
17420 (goto_loop): New procedure, factored out from ...
17421 (my_continue): ... this.
17422 (step_ten_loops): Change parameter from test message to command to
17423 use. Adjust.
17424 (list_count): Delete global.
17425 (check_result): New procedure, factored out from duplicate top
17426 level code.
17427 (continue tests): Wrap in with_test_prefix.
17428 (test_step): New procedure, factored out from duplicate top level
17429 code.
17430 (top level): Test "step" in combination with all scheduler-locking
17431 modes. Test "next" in combination with all scheduler-locking
17432 modes, and in combination with stepping over a function call or
17433 not.
17434 * gdb.threads/next-bp-other-thread.c: New file.
17435 * gdb.threads/next-bp-other-thread.exp: New file.
17436
17437 2014-10-29 Pedro Alves <palves@redhat.com>
17438
17439 PR python/17372
17440 * gdb.python/python.exp: Test a multi-line command that spawns
17441 interactive Python.
17442 * gdb.base/multi-line-starts-subshell.exp: New file.
17443
17444 2014-10-29 Yao Qi <yao@codesourcery.com>
17445
17446 * gdb.base/fileio.exp: Make directories on host.
17447
17448 2014-10-29 Yao Qi <yao@codesourcery.com>
17449
17450 * gdb.base/fileio.c (test_write): Close the file.
17451
17452 2014-10-28 Pedro Alves <palves@redhat.com>
17453
17454 PR gdb/12623
17455 * gdb.base/sigstep.c (no_handler): New global.
17456 (main): If 'no_handler is true, set the signal handlers to
17457 SIG_IGN.
17458 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17459 with_sw_watch and no_handler parameters. Handle them.
17460 (top level) <stepping over handler when stopped at a breakpoint
17461 test>: Add a test axis for testing with a software watchpoint, and
17462 another for testing with the signal handler set to SIG_IGN.
17463 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17464 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17465
17466 2014-10-28 Pedro Alves <palves@redhat.com>
17467
17468 PR gdb/17511
17469 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17470 * gdb.base/sigstep.exp (other_handler_location): New global.
17471 (advance): Support stepping into the signal handler, and running
17472 commands while in the handler.
17473 (in_handler_map): New global.
17474 (top level): In the advance test, add combinations for getting
17475 into the handler with stepping commands, and for running commands
17476 in the handler. Add comment descripting the advancei tests.
17477
17478 2014-10-28 Pedro Alves <palves@redhat.com>
17479
17480 * gdb.base/sigstep.exp: Use build_executable instead of
17481 prepare_for_testing.
17482 (top level): Move code that starts GDB, runs to main and creates a
17483 display to ...
17484 (restart): ... this new procedure.
17485 (top level): Move backtrace from signal handler test to ...
17486 (validate_backtrace): ... this new procedure.
17487 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17488 with_test_prefix. Always restart GDB.
17489 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17490 with_test_prefix. Always restart GDB. No need to delete
17491 breakpoints after the test.
17492 (test_skip_handler): Remove prefix parameter.
17493 (skip_over_handler, breakpoint_to_handler)
17494 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17495 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17496 restart GDB. No need to delete breakpoints after the test.
17497 (top level): Use foreach to call the test procedures with
17498 different commands.
17499
17500 2014-10-28 Pedro Alves <palves@redhat.com>
17501
17502 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17503 instead of GNATS numbers.
17504 * gdb.base/sigbpt.exp: Likewise.
17505 * gdb.base/siginfo.exp: Likewise.
17506 * gdb.base/sigstep.exp: Likewise.
17507
17508 2014-10-27 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.base/sigstep.c (dummy): New global.
17511 (main): Issue a couple writes to the new global.
17512 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17513 procedures.
17514 (skip_over_handler): Use test_skip_handler.
17515 (top level): Call skip_over_handler for stepi and nexti too.
17516 (breakpoint_over_handler): Use test_skip_handler.
17517 (top level): Call breakpoint_over_handler for stepi and nexti too.
17518
17519 2014-10-27 Yao Qi <yao@codesourcery.com>
17520
17521 * gdb.trace/tfile.c (adjust_function_address)
17522 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17523 function descriptor.
17524
17525 2014-10-24 Don Breazeal <donb@codesourcery.com>
17526
17527 * gdb.base/foll-fork.exp (test_follow_fork,
17528 catch_fork_child_follow): Check for updated fork messages emitted
17529 from infrun.c.
17530 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17531 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17532 vfork_and_exec_child_follow_through_step): Check for updated vfork
17533 messages emitted from infrun.c.
17534
17535 2014-10-24 Pedro Alves <palves@redhat.com>
17536
17537 * gdb.base/corefile.exp: Remove references to ultrix.
17538 * gdb.base/interrupt.exp: Likewise.
17539 * gdb.base/whatis.exp: Likewise.
17540 * gdb.gdb/selftest.exp: Likewise.
17541 * gdb.threads/manythreads.exp: Likewise.
17542 * gdb.threads/print-threads.exp: Likewise.
17543 * gdb.threads/pthreads.exp:: Likewise.
17544 * gdb.threads/schedlock.exp: Likewise.
17545
17546 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17547
17548 * gdb.cp/non-trivial-retval.cc: Add a test case.
17549 * gdb.cp/non-trivial-retval.exp: Add a test.
17550
17551 2014-10-20 Yao Qi <yao@codesourcery.com>
17552
17553 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17554 * gdb.python/py-objfile-script-gdb.py: New file.
17555 * gdb.python/py-objfile-script.exp: Update reference to
17556 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17557 of remote_download. Remove the dest file.
17558
17559 2014-10-20 Yao Qi <yao@codesourcery.com>
17560
17561 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17562 * gdb.base/step-line.exp: Likewise.
17563 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17564 * gdb.dwarf2/dw2-basic.exp: Likewise.
17565 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17566 * gdb.dwarf2/dw2-filename.exp: Likewise.
17567 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17568 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17569 * gdb.dwarf2/dw2-producer.exp: Likewise.
17570 * gdb.dwarf2/mac-fileno.exp: Likewise.
17571 * gdb.python/py-frame-args.exp: Likewise.
17572 * gdb.python/py-framefilter.exp: Likewise.
17573 * gdb.python/py-mi.exp: Likewise.
17574 * gdb.python/py-objfile-script.exp: Likewise
17575 * gdb.python/py-pp-integral.exp: Likewise.
17576 * gdb.python/py-pp-re-notag.exp: Likewise.
17577 * gdb.python/py-prettyprint.exp: Likewise.
17578 * gdb.python/py-section-script.exp: Likewise.
17579 * gdb.python/py-typeprint.exp: Likewise.
17580 * gdb.python/py-xmethods.exp: Likewise.
17581 * gdb.stabs/weird.exp: Likewise.
17582 * gdb.xml/tdesc-regs.exp: Likewise.
17583
17584 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17585
17586 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17587 (out_cu): Use addr_len for the size of addresses.
17588 (out_line): Likewise. Size DW_LNE_set_address instruction
17589 according to addr_len.
17590 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17591 (FUNC): Add START_INSNS to definition.
17592
17593 2014-10-18 Yao Qi <yao@codesourcery.com>
17594
17595 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17596 gdb_has_argv0 return true.
17597 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17598 check [target_info exists noargs], check [gdb_has_argv0]
17599 instead.
17600 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17601 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17602 procedures.
17603
17604 2014-10-17 Doug Evans <dje@google.com>
17605
17606 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17607 event.
17608 * gdb.python/py-events.py: Add clear_objfiles event.
17609
17610 2014-10-17 Doug Evans <dje@google.com>
17611
17612 * gdb.python/py-objfile.exp: Test progspace attribute.
17613
17614 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
17615
17616 * gdb.guile/scm-breakpoint.exp: Do not assume any
17617 directory separators when matching source file paths.
17618 * gdb.python/py-breakpoint.exp: Likewise.
17619 * gdb.reverse/break-precsave.exp: Likewise.
17620 * gdb.reverse/break-reverse.exp: Likewise.
17621 * gdb.reverse/consecutive-precsave.exp: Likewise.
17622 * gdb.reverse/finish-precsave.exp: Likewise.
17623 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17624 * gdb.reverse/finish-reverse.exp: Likewise.
17625 * gdb.reverse/i386-precsave.exp: Likewise.
17626 * gdb.reverse/i387-env-reverse.exp: Likewise.
17627 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17628 * gdb.reverse/machinestate-precsave.exp: Likewise.
17629 * gdb.reverse/machinestate.exp: Likewise.
17630 * gdb.reverse/sigall-precsave.exp: Likewise.
17631 * gdb.reverse/solib-precsave.exp: Likewise.
17632 * gdb.reverse/step-precsave.exp: Likewise.
17633 * gdb.reverse/until-precsave.exp: Likewise.
17634 * gdb.reverse/watch-precsave.exp: Likewise.
17635 * gdb.reverse/watch-reverse.exp: Likewise.
17636
17637 2014-10-17 Yao Qi <yao@codesourcery.com>
17638
17639 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17640 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17641
17642 2014-10-17 Pedro Alves <palves@redhat.com>
17643
17644 PR gdb/17471
17645 * gdb.base/bg-execution-repeat.c: New file.
17646 * gdb.base/bg-execution-repeat.exp: New file.
17647
17648 2014-10-17 Pedro Alves <palves@redhat.com>
17649
17650 PR gdb/17300
17651 * gdb.base/continue-all-already-running.c: New file.
17652 * gdb.base/continue-all-already-running.exp: New file.
17653
17654 2014-10-17 Pedro Alves <palves@redhat.com>
17655
17656 PR gdb/17472
17657 * gdb.base/annota-input-while-running.c: New file.
17658 * gdb.base/annota-input-while-running.exp: New file.
17659
17660 2014-10-17 Pedro Alves <palves@redhat.com>
17661
17662 * gdb.base/callfuncs.exp: emove references to osf.
17663 * gdb.base/sigall.exp: Likewise.
17664 * gdb.gdb/selftest.exp: Likewise.
17665 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17666 * gdb.mi/non-stop.c: Likewise.
17667 * gdb.mi/pthreads.c: Likewise.
17668 * gdb.reverse/sigall-precsave.exp: Likewise.
17669 * gdb.reverse/sigall-reverse.exp: Likewise.
17670 * gdb.threads/pthreads.c: Likewise.
17671 * gdb.threads/pthreads.exp: Likewise.
17672
17673 2014-10-17 Yao Qi <yao@codesourcery.com>
17674
17675 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17676 check 'target_info exists noargs'.
17677 (test_command_prompt_position): Likewise.
17678 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17679 Remove "set args".
17680 (progvar_simple_while_test): Likewise.
17681 (progvar_complex_if_while_test): Likewise.
17682 (if_while_breakpoint_command_test): Likewise.
17683 (infrun_breakpoint_command_test): Likewise.
17684 (breakpoint_command_test): Likewise.
17685 (watchpoint_command_test): Likewise.
17686 (bp_deleted_in_command_test): Likewise.
17687 (temporary_breakpoint_commands): Likewise.
17688
17689 2014-10-16 Yao Qi <yao@codesourcery.com>
17690
17691 * gdb.base/remotetimeout.exp: Remove noargs checking.
17692
17693 2014-10-15 Pedro Alves <palves@redhat.com>
17694
17695 PR breakpoints/9649
17696 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17697 * gdb.base/breakpoint-in-ro-region.exp
17698 (probe_target_hardware_step): New procedure.
17699 (top level): Probe hardware stepping and hardware breakpoint
17700 support. Test stepping through a read-only region, with both
17701 "breakpoint auto-hw" on and off and both "always-inserted" on and
17702 off.
17703
17704 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17705
17706 * gdb.dlang/demangle.exp: Update for demangling changes.
17707
17708 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17709
17710 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17711 * gdb.cp/non-trivial-retval.exp: Add new tests.
17712
17713 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17714
17715 PR c++/13403
17716 PR c++/15154
17717 * gdb.cp/non-trivial-retval.cc: New file.
17718 * gdb.cp/non-trivial-retval.exp: New file.
17719
17720 2014-10-15 Yao Qi <yao@codesourcery.com>
17721
17722 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17723 remote host.
17724
17725 2014-10-15 Yao Qi <yao@codesourcery.com>
17726
17727 * gdb.python/py-symbol.exp: Match file base name if host is
17728 remote, otherwise match file name with dir name.
17729 * gdb.python/py-symtab.exp: Likewise.
17730 * gdb.python/python.exp: Likewise.
17731
17732 2014-10-15 Yao Qi <yao@codesourcery.com>
17733
17734 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17735 pattern.
17736 * gdb.python/py-symtab.exp: Likewise.
17737 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17738 locationn.
17739
17740 2014-10-14 Joel Brobecker <brobecker@adacore.com>
17741
17742 * gdb.ada/addr_arith: New testcase.
17743
17744 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17745
17746 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17747 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17748 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17749 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17750
17751 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17752
17753 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17754 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17755 * gdb.arch/stap-eval-lang-ada.exp: New file.
17756
17757 2014-10-14 Yao Qi <yao@codesourcery.com>
17758
17759 * gdb.mi/mi-var-child.c (nothing1): New function.
17760 (nothing2): New function.
17761 (do_children_tests): Set function pointers by nothing1 and
17762 nothing2.
17763 * gdb.mi/mi-var-child.exp: Step over new added statements.
17764 Update test to match the new output.
17765 * gdb.mi/var-cmd.c (nothing1): New function.
17766 (nothing2): New function.
17767 (do_children_tests): Set function pointers by nothing1 and
17768 nothing2.
17769 * gdb.mi/mi-var-display.exp: Update test to match output.
17770 Step to the line specified by $line_dct_nothing.
17771 Increase the number of lines to step.
17772
17773 2014-10-14 Yao Qi <yao@codesourcery.com>
17774
17775 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17776 tests.
17777 * gdb.mi/mi2-var-child.exp: Likewise.
17778
17779 2014-10-13 Doug Evans <dje@google.com>
17780
17781 * gdb.python/py-objfile.exp: Change name of file name test.
17782
17783 2014-10-13 Doug Evans <dje@google.com>
17784
17785 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17786 from the start of the CU.
17787
17788 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17789 Yao Qi <yao@codesourcery.com>
17790
17791 Fix "save breakpoints" for "catch" command.
17792 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17793 Remove -nonewline. Match also the added "main" line.
17794
17795 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17796
17797 Fix "save breakpoints" for "disable $bpnum" command.
17798 * gdb.base/save-bp.c (main): Add label.
17799 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17800
17801 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17802
17803 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17804
17805 2014-10-11 Yao Qi <yao@codesourcery.com>
17806
17807 * gdb.server/server-kill.exp: Execute command
17808 "set remote trace-status-packet on" before "tstatus".
17809
17810 2014-10-11 Yao Qi <yao@codesourcery.com>
17811
17812 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17813 (main): Call getppid.
17814 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17815 and continue to it. Read variable "server_pid".
17816
17817 2014-10-11 Yao Qi <yao@codesourcery.com>
17818
17819 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17820
17821 2014-10-11 Yao Qi <yao@codesourcery.com>
17822
17823 * gdb.threads/thread-find.exp: Don't execute command
17824 "info threads".
17825 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17826 * gdb.threads/linux-dp.exp: Don't check the condition
17827 $threads_created equals to zero.
17828
17829 2014-10-10 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.base/bigcore.exp: Remove references to IRIX.
17832 * gdb.base/funcargs.exp: Likewise.
17833 * gdb.base/interrupt.exp: Likewise.
17834 * gdb.base/mips_pro.exp: Likewise.
17835 * gdb.base/nodebug.exp: Likewise.
17836 * gdb.base/setvar.exp: Likewise.
17837 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17838
17839 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17840 Pedro Alves <palves@redhat.com>
17841
17842 PR symtab/14466
17843 * gdb.base/vdso-warning.c: New file.
17844 * gdb.base/vdso-warning.exp: New file.
17845
17846 2014-10-02 Doug Evans <dje@google.com>
17847
17848 * gdb.base/structs.c (main): Don't run forever.
17849
17850 2014-10-02 Pedro Alves <palves@redhat.com>
17851
17852 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17853 (top level) <stop threads 1, stop threads 2>: Use it.
17854
17855 2014-10-02 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.threads/break-while-running.exp (test): Add new
17858 'update_thread_list' argument. Skip "info threads" if false.
17859 (top level): Add new 'update_thread_list' axis.
17860
17861 2014-10-02 Pedro Alves <palves@redhat.com>
17862
17863 PR breakpoints/17431
17864 * gdb.base/execl-update-breakpoints.c: New file.
17865 * gdb.base/execl-update-breakpoints.exp: New file.
17866
17867 2014-10-01 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.base/breakpoint-in-ro-region.c: New file.
17870 * gdb.base/breakpoint-in-ro-region.exp: New file.
17871
17872 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17873
17874 * gdb.mi/mi-exit-code.exp: New file.
17875 * gdb.mi/mi-exit-code.c: New file.
17876
17877 2014-09-30 Yao Qi <yao@codesourcery.com>
17878
17879 * lib/prelink-support.exp (build_executable_own_libs): Error if
17880 the target isn't native.
17881
17882 2014-09-30 Yao Qi <yao@codesourcery.com>
17883
17884 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17885 false.
17886
17887 2014-09-22 Pedro Alves <palves@redhat.com>
17888
17889 * gdb.threads/break-while-running.exp: New file.
17890 * gdb.threads/break-while-running.c: New file.
17891
17892 2014-09-19 Yao Qi <yao@codesourcery.com>
17893
17894 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17895 Invoke test. Restart GDB with --readnow and invoke test again.
17896
17897 2014-09-19 Yao Qi <yao@codesourcery.com>
17898
17899 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17900 proc set_breakpoint_on_gcd_function. Invoke
17901 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17902 invoke set_breakpoint_on_gcd_function again.
17903
17904 2014-09-18 Doug Evans <dje@google.com>
17905
17906 * gdb.dwarf2/symtab-producer.exp: New file.
17907
17908 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17909
17910 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17911 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17912 * gdb.base/global-var-nested-by-dso.c: Likewise.
17913 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17914
17915 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17916 Pedro Alves <palves@redhat.com>
17917
17918 * gdb.base/watch-bitfields.exp: Pass string other than test file
17919 name to prepare_for_testing.
17920 (watch): New procedure.
17921 (expect_watchpoint): Use with_test_prefix.
17922 (top level): Factor out tests to ...
17923 (test_watch_location, test_regular_watch): ... these new
17924 procedures, and use with_test_prefix and gdb_continue_to_end.
17925
17926 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17927
17928 PR breakpoints/12526
17929 * gdb.base/watch-bitfields.exp: New file.
17930 * gdb.base/watch-bitfields.c: New file.
17931
17932 2014-09-16 Pedro Alves <palves@redhat.com>
17933
17934 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17935 software and hardware addresses, not software address against
17936 itself.
17937
17938 2014-09-16 Pedro Alves <palves@redhat.com>
17939
17940 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17941 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17942
17943 2014-09-16 Pedro Alves <palves@redhat.com>
17944
17945 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17946 files.
17947 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17948 "*-*-vxworks*" throughout.
17949 * gdb.base/break.exp: Likewise.
17950 * gdb.base/default.exp: Likewise.
17951 * gdb.base/scope.exp: Likewise.
17952 * gdb.base/sepdebug.exp: Likewise.
17953 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17954 throughout.
17955 * gdb.base/run.c: Likewise.
17956 * gdb.base/sepdebug.c: Likewise.
17957 * gdb.hp/gdb.aCC/run.c: Likewise.
17958 * gdb.reverse/until-reverse.c: Likewise.
17959 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17960
17961 2014-09-16 Yao Qi <yao@codesourcery.com>
17962
17963 * boards/local-remote-host-native.exp: New file.
17964
17965 2014-09-14 Doug Evans <xdje42@gmail.com>
17966
17967 * gdb.threads/queue-signal.c (thread_count): New variable.
17968 (thread_count_mutex, thread_count_condvar): New variables.
17969 (incr_thread_count, wait_all_threads_running): New functions.
17970 (main): Wait for all threads to be in their thread functions.
17971
17972 2014-09-13 Doug Evans <xdje42@gmail.com>
17973
17974 * gdb.threads/queue-signal.c: New file.
17975 * gdb.threads/queue-signal.exp: New file.
17976
17977 2014-09-13 Doug Evans <xdje42@gmail.com>
17978
17979 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17980 be consistent with what default_gdb_init uses.
17981 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17982 the plain text of the prompt. Add some logging printfs.
17983 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17984
17985 2014-09-12 Pedro Alves <palves@redhat.com>
17986
17987 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17988 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17989 * gdb.arch/i386-size-overlap.exp: Likewise.
17990 * gdb.arch/i386-size.exp: Likewise.
17991 * gdb.arch/i386-unwind.exp: Likewise.
17992 * gdb.base/a2-run.exp: Likewise.
17993 * gdb.base/break.exp: Likewise.
17994 * gdb.base/charset.exp: Likewise.
17995 * gdb.base/chng-syms.exp: Likewise.
17996 * gdb.base/commands.exp: Likewise.
17997 * gdb.base/dbx.exp: Likewise.
17998 * gdb.base/find.exp: Likewise.
17999 * gdb.base/funcargs.exp: Likewise.
18000 * gdb.base/jit-simple.exp: Likewise.
18001 * gdb.base/reread.exp: Likewise.
18002 * gdb.base/sepdebug.exp: Likewise.
18003 * gdb.base/step-bt.exp: Likewise.
18004 * gdb.cp/mb-inline.exp: Likewise.
18005 * gdb.cp/mb-templates.exp: Likewise.
18006 * gdb.objc/basicclass.exp: Likewise.
18007 * gdb.threads/killed.exp: Likewise.
18008
18009 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18010
18011 PR tdep/17379
18012 * gdb.arch/powerpc-stackless.S: New file.
18013 * gdb.arch/powerpc-stackless.exp: New file.
18014
18015 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18016
18017 * gdb.base/attach.c: Include unistd.h.
18018 (main): Call alarm. Add label postloop.
18019 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18020 gdb_breakpoint, gdb_continue_to_breakpoint.
18021 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18022
18023 2014-09-11 Pedro Alves <palves@redhat.com>
18024
18025 PR gdb/17347
18026 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18027 * gdb.base/attach.exp (test_command_line_attach_run): New
18028 procedure.
18029 (top level): Call it.
18030
18031 2014-09-11 Pedro Alves <palves@redhat.com>
18032
18033 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18034 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18035 (do_command_attach_tests): Use spawn_wait_for_attach.
18036 * gdb.base/solib-overlap.exp: Likewise.
18037 * gdb.multi/multi-attach.exp: Likewise.
18038 * gdb.python/py-prompt.exp: Likewise.
18039 * gdb.python/py-sync-interp.exp: Likewise.
18040 * gdb.server/ext-attach.exp: Likewise.
18041
18042 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18043
18044 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18045 command in testcase. Simplify testcase.
18046
18047 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18048
18049 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18050
18051 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18052
18053 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18054
18055 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18056
18057 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18058
18059 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18060
18061 * gdb.dwarf2/dynarr-ptr.c: New file.
18062 * gdb.dwarf2/dynarr-ptr.exp: New file.
18063
18064 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18065
18066 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18067 of 30 rather than hardcoding 120 for a slow test case. Take the
18068 `gdb,timeout' target setting into account for this calculation.
18069 Don't extend the timeout for the test cases that don't need it.
18070
18071 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18072
18073 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18074 a factor of 2 for a slow test case. Take the `gdb,timeout'
18075 target setting into account for this calculation.
18076 * gdb.reverse/until-precsave.exp: Increase the timeout by
18077 a factor of 15 and 3 respectively rather than adding 120
18078 for a pair of slow test cases. Take the `gdb,timeout'
18079 target setting into account for this calculation.
18080
18081 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18082
18083 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18084 timeout, don't pass one down to gdb_expect.
18085 (gdb_expect): Rework timeout selection.
18086
18087 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18088
18089 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18090 exception on timeout.
18091 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18092 (gdbserver_start_extended): Catch any `gdbserver_start' error
18093 exceptions.
18094 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18095 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18096 `gdbserver_gdb_load' error exceptions.
18097
18098 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18099
18100 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18101 120 on waiting for the TCP socket to open.
18102
18103 2014-09-09 Doug Evans <xdje42@gmail.com>
18104
18105 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18106 _caller_matches, _any_caller_is, _any_caller_matches.
18107
18108 2014-09-09 Doug Evans <xdje42@gmail.com>
18109
18110 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18111
18112 2014-09-09 Yao Qi <yao@codesourcery.com>
18113
18114 * gdb.mi/mi-var-display.exp: Set print symbol off.
18115
18116 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18117
18118 PR gdb/17035
18119 * gdb.base/commands.exp: Add tests to verify user-defined
18120 commands with empty bodies.
18121 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18122 python commands in `show user command`.
18123 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18124 scheme commands in `show user command`.
18125
18126 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18127
18128 PR python/17355
18129 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18130 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18131 * gdb.python/py-framefilter-invalidarg.exp: New file.
18132 * gdb.python/py-framefilter-invalidarg.py: New file.
18133
18134 2014-09-06 Doug Evans <xdje42@gmail.com>
18135
18136 PR 15276
18137 * gdb.python/py-caller-is.c: New file.
18138 * gdb.python/py-caller-is.exp: New file.
18139
18140 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18141
18142 PR gdb/17235
18143 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18144 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18145
18146 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18147
18148 PR fortran/17237
18149 * gdb.fortran/print-formatted.exp: New file.
18150 * gdb.fortran/print-formatted.f90: Likewise.
18151
18152 2014-09-03 Sasha Smundak <asmundak@google.com>
18153
18154 * gdb.python/py-frame.exp: Test Frame.read_register.
18155
18156 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18157
18158 PR python/16699
18159 * gdb.python/py-completion.exp: New file.
18160 * gdb.python/py-completion.py: Likewise.
18161
18162 2014-08-28 Doug Evans <dje@google.com>
18163
18164 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18165 eax,etc. are live with values set by gdb and thus the compiler can't
18166 use them.
18167 * gdb.arch/i386-pseudo.c (main): Ditto.
18168
18169 2014-08-27 Doug Evans <dje@google.com>
18170
18171 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18172
18173 2014-08-25 Doug Evans <dje@google.com>
18174
18175 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18176 (main): Ditto.
18177
18178 2014-08-25 Doug Evans <dje@google.com>
18179
18180 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18181
18182 2014-08-24 Yao Qi <yao@codesourcery.com>
18183
18184 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18185 symbol off.
18186 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18187
18188 2014-08-22 Doug Evans <dje@google.com>
18189
18190 PR 17276
18191 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18192 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18193 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18194
18195 2014-08-22 Yao Qi <yao@codesourcery.com>
18196
18197 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18198 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18199 * gdb.python/python.exp: Likewise. Use .py file on the host
18200 instead of the build.
18201
18202 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18203
18204 * gdb.threads/gcore-stale-thread.c: New file.
18205 * gdb.threads/gcore-stale-thread.exp: New file.
18206
18207 2014-08-21 Pedro Alves <palves@redhat.com>
18208
18209 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18210 * gdb.base/gcore-relro-pie.exp: Likewise.
18211 * gdb.base/gcore-relro.exp: Likewise.
18212 * gdb.base/gcore.exp: Likewise.
18213 * gdb.base/print-symbol-loading.exp: Likewise.
18214 * gdb.threads/gcore-thread.exp: Likewise.
18215 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18216
18217 2014-08-20 Pedro Alves <palves@redhat.com>
18218 Jan Kratochvil <jan.kratochvil@redhat.com>
18219
18220 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18221 configure.
18222 (EXPECT): Handle READ1 being set.
18223 (all): Depend on EXTRA_RULES.
18224 (check-read1, expect-read1, read1.so, read1): New rules.
18225 * README (Testsuite Parameters): Document the READ1 make variable.
18226 (Race detection): New section.
18227 * configure: Regenerate.
18228 * configure.ac: If build==host==target, and running under a
18229 GNU/glibc system, add read1 to the extra Makefile rules.
18230 (EXTRA_RULES): AC_SUBST it.
18231 * lib/read1.c: New file.
18232
18233 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18234
18235 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18236 the handling of variables declared as a typedef to an array
18237 which a DW_AT_data_location attribute.
18238
18239 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18240 Pedro Alves <palves@redhat.com>
18241
18242 PR symtab/14604
18243 PR symtab/14605
18244 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18245 gdb_test.
18246
18247 2014-08-19 Pedro Alves <palves@redhat.com>
18248
18249 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18250
18251 2014-08-19 Yao Qi <yao@codesourcery.com>
18252
18253 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18254 right line.
18255
18256 2014-08-18 David Blaikie <dblaikie@gmail.com>
18257
18258 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18259
18260 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18261
18262 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18263 attribute in array range.
18264
18265 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18266
18267 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18268
18269 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18270
18271 PR c++/17132
18272 * gdb.cp/pr17132.cc: New file.
18273 * gdb.cp/pr17132.exp: New file.
18274
18275 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18276
18277 * gdb.python/py-xmethods.py (A_getarrayind)
18278 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18279 Use 'print' with function call syntax.
18280 (E_method_matcher.match): Fix tab vs space indentation mixup.
18281
18282 2014-08-15 Yao Qi <yao@codesourcery.com>
18283
18284 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18285 false.
18286
18287 2014-08-15 Yao Qi <yao@codesourcery.com>
18288
18289 * gdb.cp/casts.exp: Set print symbol off.
18290 * gdb.cp/class2.exp: Likewise.
18291 * gdb.cp/overload.exp: Likewise.
18292 * gdb.cp/templates.exp: Likewise.
18293
18294 2014-08-11 Doug Evans <dje@google.com>
18295
18296 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18297 (test_load_shlib): Update.
18298
18299 2014-08-09 Yao Qi <yao@codesourcery.com>
18300
18301 * gdb.base/display.exp: Invoke is_address_zero_readable.
18302 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18303 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18304 * gdb.base/hbreak-unmapped.exp: Return if
18305 is_address_zero_readable returns true.
18306 * gdb.base/signest.exp: Likewise.
18307 * gdb.base/signull.exp: Likewise.
18308 * gdb.base/sigbpt.exp: Likewise.
18309 * gdb.guile/scm-disasm.exp: Do the test if
18310 is_address_zero_readable returns false.
18311 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18312 * gdb.python/py-arch.exp: Likewise.
18313 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18314 * lib/gdb.exp (is_address_zero_readable): New proc.
18315
18316 2014-08-09 Yao Qi <yao@codesourcery.com>
18317
18318 PR testsuite/13443
18319 * gdb.mi/mi-var-display.exp: Make test messages unique.
18320
18321 2014-08-04 Tom Tromey <tromey@redhat.com>
18322
18323 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18324 target 0".
18325
18326 2014-08-04 Tom Tromey <tromey@redhat.com>
18327
18328 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18329 "target_resume".
18330
18331 2014-08-01 Joel Brobecker <brobecker@adacore.com>
18332
18333 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18334 inner_vla_struct_object_size.
18335 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18336 as xfail.
18337
18338 2014-07-30 Pedro Alves <palves@redhat.com>
18339
18340 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18341 comment.
18342
18343 2014-07-29 Yao Qi <yao@codesourcery.com>
18344
18345 PR gdb/17206
18346 * gdb.base/until-nodebug.exp: New.
18347
18348 2014-07-28 Doug Evans <xdje42@gmail.com>
18349
18350 PR guile/17203
18351 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18352 previously existing parameter, and previously ambiguously spelled
18353 parameter.
18354
18355 2014-07-28 Will Newton <will.newton@linaro.org>
18356
18357 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18358
18359 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18360 Doug Evans <xdje42@gmail.com>
18361
18362 PR guile/17146
18363 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18364
18365 2014-07-25 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.threads/signal-command-handle-nopass.c: New file.
18368 * gdb.threads/signal-command-handle-nopass.exp: New file.
18369 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18370 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18371 * gdb.threads/signal-delivered-right-thread.c: New file.
18372 * gdb.threads/signal-delivered-right-thread.exp: New file.
18373
18374 2014-07-25 Pedro Alves <palves@redhat.com>
18375
18376 * gdb.base/double-prompt-target-event-error.exp
18377 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18378 match.
18379 (cancel_pagination_in_target_event): Rework double prompt
18380 detection.
18381 * gdb.base/paginate-after-ctrl-c-running.exp
18382 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18383 <return>' match.
18384 * gdb.base/paginate-bg-execution.exp
18385 (test_bg_execution_pagination_return)
18386 (test_bg_execution_pagination_cancel): Remove '-notransfer
18387 <return>' matches.
18388 * gdb.base/paginate-execution-startup.exp
18389 (test_fg_execution_pagination_return)
18390 (test_fg_execution_pagination_cancel): Remove '-notransfer
18391 <return>' matches.
18392 * gdb.base/paginate-inferior-exit.exp
18393 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18394 match.
18395 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18396 * lib/gdb.exp (pagination_prompt): Run text through
18397 string_to_regexp.
18398 (gdb_test_multiple): Match $pagination_prompt instead of
18399 "<return>".
18400 (string_to_regexp): Move to lib/gdb-utils.exp.
18401
18402 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18403
18404 * gdb.arch/amd64-entry-value-paramref.S: New file.
18405 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18406 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18407 * gdb.arch/amd64-optimout-repeat.S: New file.
18408 * gdb.arch/amd64-optimout-repeat.c: New file.
18409 * gdb.arch/amd64-optimout-repeat.exp: New file.
18410
18411 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18412
18413 PR gdb/17170
18414 * gdb.base/statistics.exp: New file.
18415
18416 2014-07-17 Doug Evans <dje@google.com>
18417
18418 PR gdb/17170
18419 * gdb.base/maint.exp: Update testing of per-command stats.
18420
18421 2014-07-16 Pedro Alves <palves@redhat.com>
18422
18423 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18424 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18425 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18426 (tfile_write_buf): New functions.
18427 (add_memory_block): Rewrite using the above.
18428 (adjust_function_address): New function.
18429 (FUNCTION_ADDRESS): New macro.
18430 (write_basic_trace_file): Remove short_x local, and use
18431 tfile_write_16. Change type of func_addr local to unsigned long
18432 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18433 here. Cast argument of add_memory_block to char pointer.
18434 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18435 (main): Remove parameters.
18436 * gdb.trace/tfile.exp: Remove nowarnings.
18437
18438 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18439
18440 * gdb.base/debug-expr.exp: Test string evaluation with
18441 "debug expression" on.
18442
18443 2014-07-15 Pedro Alves <palves@redhat.com>
18444
18445 * gdb.base/reread.exp: Use clean_restart.
18446
18447 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18448
18449 * gdb.arch/avr-flash-qualifer.c: New.
18450 * gdb.arch/avr-flash-qualifer.exp: New.
18451
18452 2014-07-14 Pedro Alves <palves@redhat.com>
18453
18454 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18455 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18456
18457 2014-07-14 Pedro Alves <palves@redhat.com>
18458
18459 * gdb.base/double-prompt-target-event-error.c: New file.
18460 * gdb.base/double-prompt-target-event-error.exp: New file.
18461
18462 2014-07-14 Pedro Alves <palves@redhat.com>
18463
18464 PR gdb/17072
18465 * gdb.base/paginate-inferior-exit.c: New file.
18466 * gdb.base/paginate-inferior-exit.exp: New file.
18467
18468 2014-07-14 Pedro Alves <palves@redhat.com>
18469
18470 PR gdb/17072
18471 * gdb.base/paginate-bg-execution.c: New file.
18472 * gdb.base/paginate-bg-execution.exp: New file.
18473
18474 2014-07-14 Pedro Alves <palves@redhat.com>
18475
18476 PR gdb/17072
18477 * gdb.base/paginate-execution-startup.c: New file.
18478 * gdb.base/paginate-execution-startup.exp: New file.
18479 * lib/gdb.exp (pagination_prompt): New global.
18480 (default_gdb_spawn): New procedure, factored out from
18481 default_gdb_spawn.
18482 (default_gdb_start): Adjust to call default_gdb_spawn.
18483 (gdb_spawn): New procedure.
18484
18485 2014-07-14 Pedro Alves <palves@redhat.com>
18486
18487 * lib/gdb.exp (gdb_assert): New procedure.
18488 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18489
18490 2014-07-14 Pedro Alves <palves@redhat.com>
18491
18492 * gdb.base/execution-termios.c: New file.
18493 * gdb.base/execution-termios.exp: New file.
18494
18495 2014-07-14 Tom Tromey <tromey@redhat.com>
18496
18497 * gdb.cp/vla-cxx.cc: New file.
18498 * gdb.cp/vla-cxx.exp: New file.
18499
18500 2014-07-14 Tom Tromey <tromey@redhat.com>
18501
18502 * gdb.reverse/rerun-prec.c: New file.
18503 * gdb.reverse/rerun-prec.exp: New file.
18504
18505 2014-07-12 Maciej W. Rozycki <macro@mips.com>
18506 Maciej W. Rozycki <macro@codesourcery.com>
18507
18508 * lib/gdb-utils.exp: New file.
18509 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18510 inline `gdb_init_command' processing.
18511 (gdb_start_cmd): Likewise.
18512 * lib/mi-support.exp (mi_run_cmd): Likewise.
18513 * README: Document `gdb_init_command' and `gdb_init_commands'.
18514
18515 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18516
18517 Fix false FAIL running under a very long directory name.
18518 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18519 and "set print elements 10000". Twice.
18520
18521 2014-07-11 Yao Qi <yao@codesourcery.com>
18522
18523 * gdb.base/exprs.exp: "set print symbol off".
18524
18525 2014-07-11 Pedro Alves <palves@redhat.com>
18526
18527 * gdb.threads/kill.c: New file.
18528 * gdb.threads/kill.exp: New file.
18529
18530 2014-07-10 Yao Qi <yao@codesourcery.com>
18531
18532 * gdb.trace/tfile.c (write_basic_trace_file)
18533 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18534 address written to trace file.
18535
18536 2014-07-09 Pedro Alves <palves@redhat.com>
18537
18538 * gdb.base/attach-wait-input.exp: New file.
18539 * gdb.base/attach-wait-input.c: New file.
18540
18541 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18542
18543 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18544 setting up test structures.
18545 (main): Call new test function.
18546 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18547 test function, continue into test function and walk test
18548 structures.
18549
18550 2014-07-02 Yao Qi <yao@codesourcery.com>
18551
18552 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18553 'bar_start' at the beginning of functions 'foo' and 'bar'
18554 respectively.
18555 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18556 instead of 'foo' and 'bar'.
18557
18558 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18559
18560 * gdb.btrace/segv.exp: New.
18561 * gdb.btrace/segv.c: New.
18562
18563 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
18564
18565 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18566 instruction.
18567
18568 2014-06-30 Mark Wielaard <mjw@redhat.com>
18569
18570 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18571 vulture, vilify, villar): New volatile array constants.
18572 (vindictive, vegetation): New const volatile array constants.
18573 * gdb.base/volatile.exp: Test volatile and const volatile array
18574 types.
18575
18576 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18577
18578 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18579 target lacks support for awatch, rwatch, or hbreak.
18580
18581 2014-06-27 Yao Qi <yao@codesourcery.com>
18582
18583 * gdb.multi/dummy-frame-restore.exp: New.
18584 * gdb.multi/dummy-frame-restore.c: New.
18585
18586 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18587
18588 * gdb.btrace/gcore.exp: New.
18589
18590 2014-06-23 Pedro Alves <palves@redhat.com>
18591
18592 * gdb.base/watchpoint-reuse-slot.c: New file.
18593 * gdb.base/watchpoint-reuse-slot.exp: New file.
18594
18595 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18596
18597 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18598 progspace's filename in 'info', 'enable' and 'disable' command
18599 tests.
18600
18601 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18602
18603 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18604 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18605 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18606
18607 2014-06-20 Gary Benson <gbenson@redhat.com>
18608
18609 * gdb.arch/i386-avx.exp: Fix include file location.
18610 * gdb.arch/i386-sse.exp: Likewise.
18611
18612 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18613
18614 * gdb.dlang/expression.exp: New file.
18615
18616 2014-06-19 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18619 out from ...
18620 (top level): ... here. Iterate running tests under different
18621 scheduler-locking settings.
18622
18623 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
18624
18625 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18626 to DW_FORM_addr and use non-zero addresses.
18627
18628 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18629
18630 PR gdb/17017
18631 * gdb.python/py-xmethods.cc: Add global function call counters and
18632 increment them in their respective functions. Remove "cout"
18633 statements.
18634 * gdb.python/py-xmethods.exp: Make tests check the global function
18635 call counters instead of depending on inferior IO.
18636
18637 2014-06-18 Don Breazeal <donb@codesourcery.com>
18638
18639 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18640 Deleted procedure.
18641 (explicit_fork_parent_follow): Deleted procedure.
18642 (explicit_fork_child_follow): Deleted procedure.
18643 (test_follow_fork): New procedure.
18644 (do_fork_tests): Replace calls to deleted procedures with
18645 calls to test_follow_fork and reset GDB for subsequent
18646 procedure calls.
18647
18648 2014-06-17 Yao Qi <yao@codesourcery.com>
18649
18650 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18651 CP1252.
18652
18653 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
18654
18655 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18656 Initialize ptr and S explicitly.
18657 (skip_type_update_when_not_use_rtti_test): Likewise.
18658
18659 2014-06-16 Keith Seitz <keiths@redhat.com>
18660
18661 PR mi/15863
18662 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18663 the inferior is started.
18664
18665 2014-06-16 Pedro Alves <palves@redhat.com>
18666
18667 * gdb.base/break-main-file-remove-fail.c: New file.
18668 * gdb.base/break-main-file-remove-fail.exp: New file.
18669 * gdb.base/break-unload-file.exp: Use build_executable instead of
18670 prepare_for_testing.
18671 (test_break): New parameter "initial_load". Handle it.
18672 (top level): Add initial_load cmdline/file axis.
18673
18674 2014-06-12 Tom Tromey <tromey@redhat.com>
18675
18676 * gdb.base/completion.exp: Don't use directory name in test.
18677
18678 2014-06-09 Gary Benson <gbenson@redhat.com>
18679
18680 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18681 separate the always-available ANSI-standard signals from the
18682 signals that require checking.
18683 (main): Likewise.
18684 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18685 Likewise.
18686 (main): Likewise.
18687
18688 2014-06-07 Keith Seitz <keiths@redhat.com>
18689
18690 Revert:
18691 PR c++/16253
18692 * gdb.cp/var-tag.cc: New file.
18693 * gdb.cp/var-tag.exp: New file.
18694 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18695 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18696 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18697 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18698
18699 2014-06-06 Doug Evans <xdje42@gmail.com>
18700
18701 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18702
18703 2014-06-06 Pedro Alves <palves@redhat.com>
18704
18705 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18706 in target debug output instead of looking at RSP packets,
18707 disabling the test on any target that uses hardware stepping.
18708 Update comments.
18709
18710 2014-06-06 Pedro Alves <palves@redhat.com>
18711
18712 * gdb.base/break-unload-file.exp: Fix typo.
18713
18714 2014-06-06 Yao Qi <yao@codesourcery.com>
18715
18716 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18717 from "jit_function" to "^jit_function".
18718
18719 2014-06-06 Yao Qi <yao@codesourcery.com>
18720
18721 * gdb.base/async.c (foo): Add one statement.
18722 * gdb.base/async.exp: Get the next instruction address and
18723 match the output of "nexti" by instruction address. Match
18724 the hex address in the output of "finish".
18725
18726 2014-06-06 Gary Benson <gbenson@redhat.com>
18727
18728 * gdb.base/call-signals.c: Remove preprocessor conditionals
18729 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18730 SIGSEGV and SIGTERM.
18731 * gdb.base/sigall.c: Likewise.
18732 * gdb.base/unwindonsignal.c: Likewise.
18733 * gdb.reverse/sigall-reverse.c: Likewise.
18734
18735 2014-06-06 Yao Qi <yao@codesourcery.com>
18736
18737 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18738 readable, skip the test.
18739
18740 2014-06-06 Yao Qi <yao@codesourcery.com>
18741
18742 * gdb.threads/staticthreads.c (thread_function): Move the line
18743 setting breakpoint on forward.
18744 * gdb.threads/staticthreads.exp: Update comments.
18745
18746 2014-06-05 Ludovic Courtès <ludo@gnu.org>
18747
18748 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18749 "history-append! type error".
18750
18751 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18752
18753 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18754 erroneous dprintf expected input.
18755
18756 2014-06-04 Doug Evans <xdje42@gmail.com>
18757
18758 * gdb.guile/scm-generics.exp: Delete.
18759
18760 2014-06-04 Doug Evans <xdje42@gmail.com>
18761
18762 * gdb.guile/scm-breakpoint.exp: Update.
18763 Add tests for breakpoint registration.
18764
18765 2014-06-04 Tom Tromey <tromey@redhat.com>
18766
18767 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18768 VLA-in-union.
18769 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18770 inner_vla_struct, vla_union types. Initialize objects of those
18771 types and compute their sizes.
18772
18773 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18774 Hui Zhu <hui@codesourcery.com>
18775
18776 * gdb.base/fileio.exp: Add test for shell not available as well as
18777 available.
18778 * gdb.base/fileio.c (test_system): Check for shell twice.
18779
18780 2014-06-04 Yao Qi <yao@codesourcery.com>
18781
18782 * gdb.base/auto-connect-native-target.exp: Remove redundant
18783 space from the regexp pattern.
18784
18785 2014-06-04 Yao Qi <yao@codesourcery.com>
18786
18787 * gdb.base/default.exp: Replace "child" with "native" in
18788 regexp pattern.
18789
18790 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18791
18792 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18793 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18794 * gdb.python/py-xmethods.py: Python script supporting the
18795 new testcase and tests.
18796
18797 2014-06-03 Joel Brobecker <brobecker@adacore.com>
18798 Pedro Alves <palves@redhat.com>
18799
18800 PR breakpoints/17000
18801 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18802 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18803
18804 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18805
18806 * gdb.base/subst.exp: Add tests to verify partial path matching
18807 output.
18808
18809 2014-06-03 Pedro Alves <palves@redhat.com>
18810
18811 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18812 target that doesn't use software single-stepping.
18813
18814 2014-06-03 Pedro Alves <palves@redhat.com>
18815
18816 PR breakpoints/17000
18817 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18818 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18819
18820 2014-06-02 Doug Evans <xdje42@gmail.com>
18821
18822 * gdb.guile/scm-parameter.exp: New file.
18823
18824 2014-06-02 Doug Evans <xdje42@gmail.com>
18825
18826 * gdb.guile/scm-cmd.c: New file.
18827 * gdb.guile/scm-cmd.exp: New file.
18828
18829 2014-06-02 Doug Evans <xdje42@gmail.com>
18830
18831 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18832 pretty-printer lookup.
18833 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18834 (make-pp_s-printer): Call it.
18835 (make-pretty-printer-from-dict): New function.
18836 (lookup-pretty-printer-maker-from-dict): New function.
18837 (*pretty-printer*): Simplify.
18838 (make-objfile-pp_s-printer): New function.
18839 (install-objfile-pretty-printers!): New function.
18840 (make-progspace-pp_s-printer): New function.
18841 (install-progspace-pretty-printers!): New function.
18842 * gdb.guile/scm-progspace.c: New file.
18843 * gdb.guile/scm-progspace.exp: New file.
18844
18845 2014-06-02 Pedro Alves <palves@redhat.com>
18846
18847 * gdb.base/dprintf-bp-same-addr.c: New file.
18848 * gdb.base/dprintf-bp-same-addr.exp: New file.
18849
18850 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18851
18852 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18853 * gdb.arch/powerpc-power.s: Likewise.
18854
18855 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18856
18857 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18858
18859 2014-06-01 Yao Qi <yao@codesourcery.com>
18860
18861 * gdb.base/watchpoint.exp (test_watch_location): Check null
18862 pointer can be dereferenced. If not, do the test, otherwise
18863 skip it.
18864
18865 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18866
18867 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18868 results.
18869 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18870
18871 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18872
18873 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18874 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18875 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18876 * gdb.arch/amd64-invalid-stack-top.c: New file.
18877 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18878
18879 2014-05-30 Pedro Alves <palves@redhat.com>
18880
18881 PR breakpoints/17000
18882 * gdb.base/sss-bp-on-user-bp.c: New file.
18883 * gdb.base/sss-bp-on-user-bp.exp: New file.
18884
18885 2014-05-30 David Blaikie <dblaikie@gmail.com>
18886
18887 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18888 gnu_inline semantics via attribute.
18889 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18890 source explicitly specifies the required semantics.
18891
18892 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18893
18894 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18895
18896 2014-05-29 Pedro Alves <palves@redhat.com>
18897 Tom Tromey <tromey@redhat.com>
18898
18899 * gdb.base/async-shell.exp: Don't enable target-async.
18900 * gdb.base/async.exp
18901 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18902 parameter. Adjust.
18903 (top level): Don't test with "target-async".
18904 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18905 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18906 * gdb.base/inferior-died.exp: Don't enable target-async.
18907 * gdb.base/interrupt-noterm.exp: Likewise.
18908 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18909 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18910 * gdb.mi/mi-nonstop.exp: Likewise.
18911 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18912 * gdb.mi/mi-nsintrall.exp: Likewise.
18913 * gdb.mi/mi-nsmoribund.exp: Likewise.
18914 * gdb.mi/mi-nsthrexec.exp: Likewise.
18915 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18916 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18917 * gdb.python/py-evsignal.exp: Don't enable target-async.
18918 * gdb.python/py-evthreads.exp: Likewise.
18919 * gdb.python/py-prompt.exp: Likewise.
18920 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18921 * gdb.server/solib-list.exp: Don't enable target-async.
18922 * gdb.threads/thread-specific-bp.exp: Likewise.
18923 * lib/mi-support.exp: Adjust to use mi-async.
18924
18925 2014-05-29 Pedro Alves <palves@redhat.com>
18926
18927 PR gdb/13860
18928 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18929 reason, even in sync mode.
18930
18931 2014-05-29 Pedro Alves <palves@redhat.com>
18932 Hui Zhu <hui@codesourcery.com>
18933
18934 PR PR15693
18935 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18936 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18937 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18938 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18939
18940 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18941
18942 * config/monitor.exp (gdb_target_monitor): Replace use of
18943 "set remotebaud" by "set serial baud".
18944
18945 2014-05-26 Andy Wingo <wingo@igalia.com>
18946
18947 * gdb.guile/scm-breakpoint.exp:
18948 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18949 properties instead of gdb-object-properties.
18950
18951 2014-05-26 Yao Qi <yao@codesourcery.com>
18952
18953 * gdb.server/no-thread-db.exp: Specify source file name
18954 explicitly when setting a breakpoint.
18955
18956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18957
18958 * gdb.btrace/vdso.c: New.
18959 * gdb.btrace/vdso.exp: New.
18960
18961 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18962
18963 * gdb.base/gcore.exp (capture_command_output): Move ...
18964 * lib/gdb.exp (capture_command_output): ... here.
18965
18966 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18967
18968 * gdb.btrace/data.exp: Test memory access during btrace replay.
18969
18970 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18971
18972 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18973
18974 2014-05-21 Pedro Alves <palves@redhat.com>
18975
18976 PR gdb/13860
18977 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18978 (top level): Test that output related to execution commands is
18979 sent to the console with CLI commands, but not with MI commands.
18980 Test that breakpoint events are always mirrored to the console.
18981 Also expect the new source line to be output after a "next" in
18982 async mode too. Make it a pass/fail test.
18983 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18984 output.
18985 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18986
18987 2014-05-21 Pedro Alves <palves@redhat.com>
18988
18989 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18990 Use them to test variations of "list" after reaching a breakpoint.
18991 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18992 Test "list" with listsize 10 after reaching a breakpoint.
18993 * gdb.python/python.exp (decode_line current location line
18994 number): Adjust expected line number.
18995
18996 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18997
18998 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18999 behavior for $args, pass it directly to "run".
19000
19001 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19002
19003 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19004 30000 to 65536.
19005
19006 2014-05-21 Pedro Alves <palves@redhat.com>
19007
19008 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19009 auto-connect-native-target off".
19010 * gdb.base/auto-connect-native-target.c: New file.
19011 * gdb.base/auto-connect-native-target.exp: New file.
19012
19013 2014-05-21 Pedro Alves <palves@redhat.com>
19014
19015 * gdb.base/default.exp: Test "target native" instead of "target
19016 child".
19017
19018 2014-05-21 Mark Wielaard <mjw@redhat.com>
19019
19020 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19021
19022 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19023
19024 Fix TLS access for -static -pthread.
19025 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19026 <HAVE_TLS> (thread_function, main): Initialize it.
19027 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19028 Add clean_restart.
19029 <$have_tls != "">: Check TLSVAR.
19030
19031 2014-05-21 Pedro Alves <palves@redhat.com>
19032
19033 * gdb.base/dcache-line-read-error.c: New.
19034 * gdb.base/dcache-line-read-error.exp: New.
19035
19036 2014-05-20 Pedro Alves <palves@redhat.com>
19037
19038 * gdb.base/compare-sections.c: New file.
19039 * gdb.base/compare-sections.exp: New file.
19040
19041 2014-05-20 Pedro Alves <palves@redhat.com>
19042
19043 * gdb.base/break-idempotent.c: New file.
19044 * gdb.base/break-idempotent.exp: New file.
19045
19046 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19047
19048 * gdb.btrace/nohist.exp: New.
19049
19050 2014-05-20 Yao Qi <yao@codesourcery.com>
19051
19052 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19053 gdb.reverse directory and gdb_reverse_timeout exists in board
19054 setting.
19055 * README: Document gdb_reverse_timeout.
19056
19057 2014-05-20 Yao Qi <yao@codesourcery.com>
19058
19059 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19060 'test_file_name'. Treat args as a string instead of a list.
19061 (gdb_init): Rename argument 'args' by 'test_file_name'.
19062
19063 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19064
19065 * gdb.arch/powerpc-power.exp: New file.
19066 * gdb.arch/powerpc-power.s: New file.
19067
19068 2014-05-16 Doug Evans <dje@google.com>
19069
19070 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19071 * gdb.base/completion.exp: Check that all expected files exist
19072 before doing file completion.
19073
19074 2014-05-16 Doug Evans <dje@google.com>
19075
19076 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19077 Update.
19078 (do_syscall_tests_without_xml): Update.
19079
19080 2014-05-16 Pedro Alves <palves@redhat.com>
19081
19082 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19083 instead of "unknown output after running".
19084
19085 2014-05-16 Yao Qi <yao@codesourcery.com>
19086
19087 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19088 file1.txt from host at the end.
19089 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19090
19091 2014-05-15 Doug Evans <dje@google.com>
19092
19093 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19094 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19095 loading file. Add test for TU lookup.
19096
19097 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19098
19099 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19100 calling "-exec-arguments" or "set args" before running the
19101 inferior.
19102
19103 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19104
19105 * lib/mi-support.exp (mi_expect_stop): Expect message for
19106 inferiors that exit with non-zero exit code.
19107
19108 2014-05-14 Yao Qi <yao@codesourcery.com>
19109
19110 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19111 match absolute path on remote host.
19112 (test_file_list_exec_source_files): Remove "/" from the
19113 pattern.
19114
19115 2014-05-14 Yao Qi <yao@codesourcery.com>
19116
19117 * boards/local-remote-host-notty.exp (${board}_file): New
19118 proc.
19119
19120 2014-05-07 Kyle McMartin <kyle@redhat.com>
19121
19122 Pushed by Joel Brobecker <brobecker@adacore.com>.
19123 * gdb.arch/aarch64-atomic-inst.c: New file.
19124 * gdb.arch/aarch64-atomic-inst.exp: New file.
19125
19126 2014-05-07 Yao Qi <yao@codesourcery.com>
19127
19128 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19129 in current context" too.
19130
19131 2014-05-05 Keith Seitz <keiths@redhat.com>
19132
19133 * gdb.linespec/ls-dollar.exp: Add test for linespec
19134 file:convenience_variable.
19135
19136 2014-05-05 Yao Qi <yao@codesourcery.com>
19137
19138 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19139 traceframes into tfile and ctf trace files. Read data from
19140 trace file and test collected data.
19141 (gdb_collect_locals_test): Likewise.
19142 (gdb_unavailable_registers_test): Likewise.
19143 (gdb_unavailable_floats): Likewise.
19144 (gdb_collect_globals_test): Likewise.
19145 (top-level): Append "ctf" to trace_file_targets if GDB
19146 supports.
19147
19148 2014-05-05 Yao Qi <yao@codesourcery.com>
19149
19150 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19151 code to ...
19152 (gdb_collect_args_test_1): ... it. New proc.
19153 (gdb_collect_locals_test): Move some code to ...
19154 (gdb_collect_locals_test_1): ... it. New proc.
19155 (gdb_unavailable_registers_test): Move some code to ...
19156 (gdb_unavailable_registers_test_1): ... it. New proc.
19157 (gdb_unavailable_floats): Move some code to ...
19158 (gdb_unavailable_floats_1): ... it. New proc.
19159
19160 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19161
19162 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19163 probes to test for bitness recognition.
19164 * gdb.arch/amd64-stap-optional-prefix.exp
19165 (test_probe_value_without_reg): New procedure.
19166 Add code to test for different kinds of bitness.
19167
19168 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19169
19170 PR breakpoints/16889
19171 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19172 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19173
19174 2014-05-01 Pedro Alves <palves@redhat.com>
19175
19176 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19177 gdb_file_cmd if no file is specified.
19178 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19179 last_loaded_file to set the remote exec-file.
19180
19181 2014-05-01 Pedro Alves <palves@redhat.com>
19182
19183 * boards/local-remote-host.exp: New file.
19184
19185 2014-05-01 Pedro Alves <palves@redhat.com>
19186
19187 * boards/local-remote-host.exp: Rename to ...
19188 * boards/local-remote-host-notty.exp: ... this.
19189
19190 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19191
19192 * gdb.ada/dyn_arrayidx: New testcase.
19193
19194 2014-04-26 Yao Qi <yao@codesourcery.com>
19195
19196 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19197 and compute the length of function main. Save it in
19198 $main_length.
19199 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19200 (top-level): Use gdb_compile to compile objects into
19201 executable and restart GDB. Remove invocation to
19202 prepare_for_testing.
19203
19204 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19205 Pedro Alves <palves@redhat.com>
19206
19207 PR server/16255
19208 * gdb.multi/multi-attach.c: New file.
19209 * gdb.multi/multi-attach.exp: New file.
19210
19211 2014-04-25 Pedro Alves <palves@redhat.com>
19212
19213 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19214 user.
19215 (top level): Test that "set remote conditional-breakpoints-packet
19216 off" works as intended.
19217 * gdb.base/dprintf.exp: Test that "set remote
19218 breakpoint-commands-packet off" works as intended.
19219 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19220 New function.
19221 (top level): Call it.
19222 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19223 remote fast-tracepoints-packet off" works as intended.
19224 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19225 * lib/gdb.exp (gdb_is_target_remote): ... here.
19226
19227 2014-04-24 David Blaikie <dblaikie@gmail.com>
19228
19229 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19230 ensure clang would not discard them.
19231 * gdb.base/gdbvars.c: Ditto.
19232 * gdb.base/memattr.c: Ditto.
19233 * gdb.base/whatis.c: Ditto.
19234 * gdb.python/py-prettyprint.c: Ditto.
19235 * gdb.trace/actions.c: Ditto.
19236 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19237 ensure clang would not discard it.
19238
19239 2014-04-24 David Blaikie <dblaikie@gmail.com>
19240
19241 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19242 clang to emit the full definition of type required by the test
19243 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19244
19245 2014-04-24 David Blaikie <dblaikie@gmail.com>
19246
19247 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19248 coax Clang into emitting the definition of the type.
19249 * gdb.cp/pr10728-x.h (y): Ditto.
19250 * gdb.cp/pr10728-y.cc (y): Ditto.
19251
19252 2014-04-24 David Blaikie <dblaikie@gmail.com>
19253
19254 * gdb.base/label.exp: XFAIL label related tests under Clang.
19255 * gdb.cp/cplabel.exp: Ditto.
19256 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19257 under Clang those using labels.
19258
19259 2014-04-25 Yao Qi <yao@codesourcery.com>
19260
19261 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19262 double_label.
19263 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19264 partial_label and double_label.
19265
19266 2014-04-24 David Blaikie <dblaikie@gmail.com>
19267
19268 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19269
19270 2014-04-24 David Blaikie <dblaikie@gmail.com>
19271
19272 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19273 of the function to work across GCC and Clang.
19274 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19275 pointer types (const void ** const V void **).
19276
19277 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
19278 Walfred Tedeschi <walfred.tedeschi@intel.com>
19279
19280 * Makefile.in (EXECUTABLES): Added i386-avx512.
19281 * gdb.arch/i386-avx512.c: New file.
19282 * gdb.arch/i386-avx512.exp: Likewise.
19283
19284 2014-04-23 Keith Seitz <keiths@redhat.com>
19285
19286 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19287 (mi_make_breakpoint_table): New procedure.
19288 (mi_create_breakpoint): Use mi_make_breakpoint
19289 and return the result.
19290 (mi_make_breakpoint): New procedure.
19291 (mi_build_kv_pairs): New procedure.
19292
19293 * gdb.mi/mi-break.exp: Remove unused globals,
19294 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19295 All callers updated.
19296 * gdb.mi/mi-dprintf.exp: Use variable to track command
19297 number.
19298 Update all callers of mi_create_breakpoint and use
19299 mi_make_breakpoint_table.
19300 Remove any unused global variables.
19301 * gdb.mi/mi-nonstop.exp: Likewise.
19302 * gdb.mi/mi-nsintrall.exp: Likewise.
19303 * gdb.mi/mi-nsmoribund.exp: Likewise.
19304 * gdb.mi/mi-nsthrexec.exp: Likewise.
19305 * gdb.mi/mi-reverse.exp: Likewise.
19306 * gdb.mi/mi-simplerun.exp: Likewise.
19307 * gdb.mi/mi-stepn.exp: Likewise.
19308 * gdb.mi/mi-syn-frame.exp: Likewise.
19309 * gdb.mi/mi-until.exp: Likewise.
19310 * gdb.mi/mi-var-cp.exp: Likewise.
19311 * gdb.mi/mi-var-display.exp: Likewise.
19312 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19313 * gdb.mi/mi2-var-child.exp: Likewise.
19314 * gdb.mi/mi-vla-c99.exp: Likewise.
19315 * lib/mi-support.exp: Likewise.
19316
19317 From Ian Lance Taylor <iant@cygnus.com>:
19318 * lib/gdb.exp (parse_args): New procedure.
19319
19320 2014-04-23 Pedro Alves <palves@redhat.com>
19321
19322 * gdb.base/break-unload-file.c: New file.
19323 * gdb.base/break-unload-file.exp: New file.
19324 * gdb.base/sym-file-lib.c (baz): New function.
19325 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19326 field.
19327 (load): Store the segment's mapped size.
19328 (unload): New function.
19329 (unload_shlib): New function.
19330 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19331 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19332 set a breakpoint at baz, and call it.
19333 * gdb.base/sym-file.exp: New tests for stale breakpoint
19334 instructions.
19335
19336 2014-04-23 Pedro Alves <palves@redhat.com>
19337
19338 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19339 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19340 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19341 * gdb.base/hbreak-unmapped.c: New file.
19342 * gdb.base/hbreak-unmapped.exp: New file.
19343 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19344 * lib/gdb.exp (gdb_is_target_remote): ... here.
19345
19346 2014-04-22 Pedro Alves <palves@redhat.com>
19347
19348 * gdb.base/consecutive-step-over.c: New file.
19349 * gdb.base/consecutive-step-over.exp: New file.
19350
19351 2014-04-22 Pedro Alves <palves@redhat.com>
19352
19353 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19354 instead of send_gdb/gdb_expect.
19355
19356 2014-04-22 Yao Qi <yao@codesourcery.com>
19357
19358 * lib/trace-support.exp (generate_tracefile): New procedure.
19359 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19360 return 0.
19361 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19362 if generate_tracefile returns 1.
19363
19364 2014-04-18 Tom Tromey <palves@redhat.com>
19365 Pedro alves <tromey@redhat.com>
19366
19367 PR backtrace/15558
19368 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19369 with a backtrace limit.
19370 * gdb.python/py-frame-inline.exp: Test running to an inline
19371 function with a backtrace limit, and printing the newest frame.
19372 * gdb.python/py-frame-inline.c (main): Call f.
19373
19374 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19375
19376 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19377
19378 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19379
19380 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19381 Drop prefix from unsupported source file path.
19382
19383 2014-04-17 Yao Qi <yao@codesourcery.com>
19384
19385 * lib/gdb.exp (with_target_charset): New proc.
19386 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19387 with_target_charset.
19388 (test_print_strings): Likewise.
19389 (test_repeat_bytes): Likewise.
19390 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19391 for some tests.
19392
19393 2014-04-16 Keith Seitz <keiths@redhat.com>
19394
19395 PR gdb/15827
19396 * gdb.dwarf2/corrupt.c: New file.
19397 * gdb.dwarf2/corrupt.exp: New file.
19398
19399 2014-04-16 Keith Seitz <keiths@redhat.com>
19400
19401 PR c++/16597
19402 * gdb.cp/namelessclass.cc: New file.
19403 * gdb.cp/namelessclass.exp: New file.
19404 * gdb.cp/namelessclass.S: New file.
19405
19406 2014-04-16 Doug Evans <dje@google.com>
19407
19408 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19409 Add comment.
19410 (gdbserver_default_get_comm_port): New function.
19411 (gdbserver_start): Check if board file provided
19412 "gdbserver,get_comm_port" and use it if so.
19413 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19414 (gdb,socketport): Set to "stdio".
19415 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19416 (stdio_gdbserver_template): Delete.
19417 (${board}_get_remote_address): Update.
19418 (${board}_build_remote_cmd): Delete.
19419 (${board}_get_comm_port): New function.
19420 (${board}_spawn): Update.
19421 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19422 Delete.
19423 (${board}_get_remote_address): Update.
19424 (${board}_get_comm_port): New function.
19425
19426 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
19427
19428 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19429 appearing in any order.
19430
19431 2014-04-15 Doug Evans <dje@google.com>
19432
19433 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19434 uninitialized value of "description".
19435
19436 2014-04-15 Keith Seitz <keiths@redhat.com>
19437
19438 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19439 Remove unused globals.
19440 (test_running_the_program): Likewise.
19441 (test_controlled_execution): Likewise.
19442 (test_controlling_breakpoints): Likewise.
19443 (test_program_termination): Likewise.
19444
19445 2014-04-15 Keith Seitz <keiths@redhat.com>
19446
19447 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19448 unused globals.
19449 (test_rbreak_creation_and_listing): Likewise.
19450 (test_ignore_count): Likewise.
19451 (test_error): Likewise.
19452
19453 2014-04-15 Pedro Alves <palves@redhat.com>
19454
19455 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19456 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19457 sym-file-loader.c.
19458 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19459 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19460 to sym-file-loader.c.
19461 (struct library): Forward declare.
19462 (load_shlib, lookup_function): Change prototypes.
19463 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19464 (translate_offset): Remove declarations.
19465 (get_text_addr): New declaration.
19466 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19467 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19468 sym-file-loader.h.
19469 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19470 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19471 here from sym-file-loader.h.
19472 (struct library): New structure.
19473 (load_shlib, lookup_function): Change prototypes and adjust to
19474 work with a struct library.
19475 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19476 (translate_offset): Make static.
19477 (get_text_addr): New function.
19478 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19479
19480 2014-04-15 Pedro Alves <palves@redhat.com>
19481
19482 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19483
19484 2014-04-15 Pedro Alves <palves@redhat.com>
19485
19486 * gdb.base/sym-file-loader.c: Include <limits.h>.
19487 (SELF_LINK): New define.
19488 (get_origin): New function.
19489 (load_shlib): Use it.
19490 * gdb.base/sym-file.exp: Don't early return if the target is
19491 remote. Use runto_main, and issue fail is that fails. Use
19492 gdb_load_shlibs.
19493 (shlib_name): Delete.
19494 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19495
19496 2014-04-15 Pedro Alves <palves@redhat.com>
19497
19498 * gdb.base/sym-file.exp: Remove regex characters from test
19499 message. Don't refer to breakpoint numbers in test messages.
19500
19501 2014-04-14 Keith Seitz <keiths@redhat.com>
19502
19503 PR c++/16253
19504 * gdb.cp/var-tag.cc: New file.
19505 * gdb.cp/var-tag.exp: New file.
19506 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19507 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19508 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19509 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19510
19511 2014-04-14 Tom Tromey <tromey@redhat.com>
19512
19513 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19514 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19515 type.
19516 * gdb.cp/enum-class.exp: New file.
19517 * gdb.cp/enum-class.cc: New file.
19518
19519 2014-04-14 Tom Tromey <tromey@redhat.com>
19520
19521 * gdb.dwarf2/enum-type.exp: New file.
19522
19523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19524
19525 * gdb.mi/mi-vla-c99.exp: New file.
19526 * gdb.mi/vla.c: New file.
19527
19528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19529
19530 * gdb.base/vla-datatypes.c: New file.
19531 * gdb.base/vla-datatypes.exp: New file.
19532
19533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19534
19535 * gdb.base/vla-ptr.c: New file.
19536 * gdb.base/vla-ptr.exp: New file.
19537
19538 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19539
19540 * gdb.dwarf2/count.exp: New file.
19541
19542 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19543
19544 * gdb.base/vla-sideeffect.c: New file.
19545 * gdb.base/vla-sideeffect.exp: New file.
19546
19547 2014-04-14 David Blaikie <dblaikie@gmail.com>
19548
19549 * gdb.mi/non-stop.c: Add return value for non-void function return
19550 statement.
19551 * gdb.threads/staticthreads.c: Ditto.
19552
19553 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19554 Doug Evans <xdje42@gmail.com>
19555
19556 * gdb.guile/scm-value.c: Improve test case.
19557 * gdb.guile/scm-value.exp: Add new test.
19558
19559 2014-04-11 David Blaikie <dblaikie@gmail.com>
19560
19561 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19562 override Clang's default.
19563
19564 2014-04-11 Joel Brobecker <brobecker@adacore.com>
19565
19566 Revert the following changes (regressions):
19567
19568 * gdb.base/vla-sideeffect.c: New file.
19569 * gdb.base/vla-sideeffect.exp: New file.
19570
19571 * gdb.dwarf2/count.exp: New file.
19572
19573 * gdb.base/vla-multi.c: New file.
19574 * gdb.base/vla-multi.exp: New file.
19575
19576 * gdb.base/vla-ptr.c: New file.
19577 * gdb.base/vla-ptr.exp: New file.
19578
19579 * gdb.base/vla-datatypes.c: New file.
19580 * gdb.base/vla-datatypes.exp: New file.
19581
19582 * gdb.mi/mi-vla-c99.exp: New file.
19583 * gdb.mi/vla.c: New file.
19584
19585 2014-04-11 Keith Seitz <keiths@redhat.com>
19586
19587 PR c++/16675
19588 * gdb.cp/cpsizeof.exp: New file.
19589 * gdb.cp/cpsizeof.cc: New file.
19590
19591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19592
19593 * gdb.mi/mi-vla-c99.exp: New file.
19594 * gdb.mi/vla.c: New file.
19595
19596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19597
19598 * gdb.base/vla-datatypes.c: New file.
19599 * gdb.base/vla-datatypes.exp: New file.
19600
19601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19602
19603 * gdb.base/vla-ptr.c: New file.
19604 * gdb.base/vla-ptr.exp: New file.
19605
19606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19607
19608 * gdb.base/vla-multi.c: New file.
19609 * gdb.base/vla-multi.exp: New file.
19610
19611 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19612
19613 * gdb.dwarf2/count.exp: New file.
19614
19615 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19616
19617 * gdb.base/vla-sideeffect.c: New file.
19618 * gdb.base/vla-sideeffect.exp: New file.
19619
19620 2014-04-11 Yao Qi <yao@codesourcery.com>
19621
19622 * gdb.base/completion.exp: Check file exists before running tests
19623 on file completion.
19624
19625 2014-04-10 Pedro Alves <palves@redhat.com>
19626
19627 * gdb.base/cond-eval-mode.c: New file.
19628 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19629 prepare_for_testing to build the new file. Check result of
19630 runto_main.
19631 (test_break, test_watch): New procedures.
19632 (top level): Use them.
19633
19634 2014-04-08 Pierre Muller <muller@sourceware.org>
19635
19636 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19637 Ctrl-V use for mingw hosts.
19638
19639 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19640
19641 * gdb.python/py-value.c: Improve test case.
19642 * gdb.python/py-value.exp: Add new test.
19643
19644 2014-04-07 David Blaikie <dblaikie@gmail.com>
19645
19646 * lib/compiler.c: Identify the clang compiler.
19647 * lib/compiler.cc: Ditto.
19648
19649 2014-04-03 Yao Qi <yao@codesourcery.com>
19650
19651 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19652
19653 2014-04-01 Anton Blanchard <anton@samba.org>
19654
19655 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19656 messages unique.
19657
19658 2014-04-01 Anton Blanchard <anton@samba.org>
19659
19660 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19661 prepare_for_testing.
19662
19663 2014-04-01 Anton Blanchard <anton@samba.org>
19664
19665 * gdb.arch/ppc64-atomic-inst.c: Remove.
19666 * gdb.arch/ppc64-atomic-inst.S: New file.
19667 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19668
19669 2014-03-31 Doug Evans <dje@google.com>
19670
19671 * gdb.base/print-symbol-loading-lib.c: New file.
19672 * gdb.base/print-symbol-loading-main.c: New file.
19673 * gdb.base/print-symbol-loading.exp: New file.
19674
19675 2014-03-31 Yao Qi <yao@codesourcery.com>
19676
19677 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19678
19679 2014-03-28 Joel Brobecker <brobecker@adacore.com>
19680
19681 * gdb.ada/mi_dyn_arr: New testcase.
19682
19683 2014-03-27 Doug Evans <dje@google.com>
19684
19685 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19686
19687 2014-03-27 Yao Qi <yao@codesourcery.com>
19688
19689 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19690 if target is nios2-*-*.
19691
19692 2014-03-26 Yao Qi <yao@codesourcery.com>
19693
19694 * lib/gdb.exp (readline_is_used): New proc.
19695 * gdb.base/completion.exp: Move tests on command complete up.
19696 Skip the rest of tests if readline is not used.
19697 * gdb.ada/complete.exp: Skp the test if readline is not
19698 used.
19699 * gdb.base/filesym.exp: Likewise.
19700 * gdb.base/macscp.exp: Likewise.
19701 * gdb.base/readline-ask.exp: Likewise.
19702 * gdb.base/readline.exp: Likewise.
19703 * gdb.python/py-cmd.exp: Likewise.
19704 * gdb.trace/tfile.exp: Likewise.
19705
19706 2014-03-26 Yao Qi <yao@codesourcery.com>
19707
19708 * gdb.base/macscp.exp: Fix code format issues.
19709
19710 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19711
19712 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19713 * gdb.asm/powerpc64le.inc: New file.
19714
19715 2014-03-25 Pedro Alves <palves@redhat.com>
19716 Doug Evans <dje@google.com>
19717
19718 * gdb.base/source-execution.c: New file.
19719 * gdb.base/source-execution.exp: New file.
19720 * gdb.base/source-execution.gdb: New file.
19721
19722 2014-03-24 Doug Evans <dje@google.com>
19723
19724 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19725 using fission.
19726
19727 2014-03-24 Hui Zhu <hui@codesourcery.com>
19728 Pedro Alves <palves@redhat.com>
19729
19730 PR breakpoints/16101
19731 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19732 test pass/fail messages. Detect missing support for dprintf when
19733 breakpoints are actually inserted.
19734 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19735 breakpoints are actually inserted.
19736 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19737 fails.
19738
19739 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19740
19741 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19742
19743 2014-03-22 Doug Evans <xdje42@gmail.com>
19744
19745 * gdb.python/python.exp (python not supported): Verify multi-line
19746 python command issues an error.
19747 * gdb.guile/guile.exp (guile not supported): Verify multi-line
19748 guile command issues an error.
19749
19750 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19751
19752 * gdb.threads/thread-specific.exp: Handle the lack of usable
19753 $this_breakpoint and $this_thread.
19754
19755 2014-03-21 Hui Zhu <hui@codesourcery.com>
19756
19757 * gdb.base/attach.exp (do_command_attach_tests): New.
19758
19759 2014-03-20 Tom Tromey <tromey@redhat.com>
19760 Pedro Alves <palves@redhat.com>
19761
19762 PR cli/15718
19763 * gdb.base/condbreak-call-false.c: New file.
19764 * gdb.base/condbreak-call-false.exp: New file.
19765
19766 2014-03-20 Pedro Alves <palves@redhat.com>
19767
19768 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19769 Delete.
19770 (block_signals, unblock_signals): Delete.
19771 (child_function_2, main): Remove references to deleted variable
19772 and functions.
19773
19774 2014-03-20 Pedro Alves <palves@redhat.com>
19775
19776 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19777 Use pthread_kill to signal thread 2.
19778 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19779 Adjust to make the test send itself a signal rather than using the
19780 host's "kill" command.
19781
19782 2014-03-20 Pedro Alves <palves@redhat.com>
19783
19784 * gdb.threads/multiple-step-overs.c: New file.
19785 * gdb.threads/multiple-step-overs.exp: New file.
19786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19787 Adjust expected infrun debug output.
19788
19789 2014-03-20 Pedro Alves <palves@redhat.com>
19790
19791 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19792 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19793
19794 2014-03-20 Pedro Alves <palves@redhat.com>
19795
19796 PR breakpoints/7143
19797 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19798 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19799 of gdb_test_multiple.
19800 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19801 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19802
19803 2014-03-20 Pedro Alves <palves@redhat.com>
19804
19805 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19806 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19807
19808 2014-03-19 Pedro Alves <palves@redhat.com>
19809
19810 * gdb.base/async.exp: Remove early return.
19811
19812 2014-03-19 Pedro Alves <palves@redhat.com>
19813
19814 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19815
19816 2014-03-19 Pedro Alves <palves@redhat.com>
19817
19818 * gdb.base/async.exp (test_background): Expect \r\n after
19819 "completed." in the fail pattern.
19820
19821 2014-03-19 Pedro Alves <palves@redhat.com>
19822
19823 * gdb.base/async.exp (test_background): New procedure.
19824 Use it for all background execution command tests.
19825
19826 2014-03-19 Pedro Alves <palves@redhat.com>
19827
19828 * gdb.base/async.exp: Use prepare_for_testing.
19829
19830 2014-03-19 Pedro Alves <palves@redhat.com>
19831
19832 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19833 the same line.
19834
19835 2014-03-19 Pedro Alves <palves@redhat.com>
19836
19837 * gdb.base/async.c (main): Add "jump here" and "until here" line
19838 marker comments.
19839 * gdb.base/async.exp (jump_here): New global.
19840 (jump& test): Use it.
19841 (until_here): New global.
19842 (until& test): Use it.
19843
19844 2014-03-19 Pedro Alves <palves@redhat.com>
19845
19846 * gdb.base/async.exp: Don't frob gdb_protocol.
19847
19848 2014-03-18 Doug Evans <xdje42@gmail.com>
19849
19850 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19851 Fix spelling of exec-done-display.
19852
19853 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19854
19855 PR gdb/15358
19856 * gdb.base/gdb-sigterm.c: New file.
19857 * gdb.base/gdb-sigterm.exp: New file.
19858
19859 2014-03-18 Pedro Alves <palves@redhat.com>
19860
19861 PR gdb/13860
19862 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19863 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19864 solib-event.
19865
19866 2014-03-17 Joel Brobecker <brobecker@adacore.com>
19867
19868 * gdb.ada/pckd_arr_ren: New testcase.
19869
19870 2014-03-13 Doug Evans <xdje42@gmail.com>
19871
19872 PR guile/16612
19873 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19874 collect after discarding symbols.
19875
19876 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19877 Doug Evans <xdje42@gmail.com>
19878
19879 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19880 to history survives a gc.
19881
19882 2014-03-13 Pedro Alves <palves@redhat.com>
19883
19884 * gdb.base/default.exp: Don't test "target procfs".
19885
19886 2014-03-13 Pedro Alves <palves@redhat.com>
19887
19888 * gdb.base/default.exp: Update "target child" and "target procfs"
19889 tests to not expect "Unix".
19890
19891 2014-03-12 Tom Tromey <tromey@redhat.com>
19892
19893 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19894 New procs. Add target-async tests.
19895 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19896 Add target-async tests.
19897
19898 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19899
19900 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19901 'func_start' and 'func_end' for the beginning and end of the
19902 function code, respectively.
19903 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19904 'func_end' instead of 'func' and 'main'.
19905
19906 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19907
19908 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19909 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19910 generate the debug info assembler source.
19911
19912 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19913
19914 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19915 * gdb.dwarf2/arr-subrange.exp: Likewise.
19916 * gdb.dwarf2/dwz.exp: Likewise.
19917 * gdb.dwarf2/method-ptr.exp: Likewise.
19918 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19919 * gdb.dwarf2/subrange.exp: Likewise.
19920 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19921 * gdb.dwarf2/implptrpiece.exp: Likewise.
19922 * gdb.dwarf2/nostaticblock.exp: Likewise.
19923
19924 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19925
19926 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19927 directory to absolute path name arguments.
19928
19929 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19930
19931 * gdb.ada/tagged_access: New testcase.
19932
19933 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19934
19935 * gdb.btrace/data.exp: Update expected output.
19936
19937 2014-03-06 Yao Qi <yao@codesourcery.com>
19938
19939 * gdb.trace/pr16508.exp: New file.
19940
19941 2014-03-05 Pedro Alves <palves@redhat.com>
19942
19943 PR gdb/16575
19944 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19945 procedure.
19946 (top level): Adjust to use it. Add tests that exercise breakpoint
19947 interaction with the code-cache.
19948
19949 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19950
19951 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19952 test for 'history-append!'.
19953
19954 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19955
19956 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19957 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19958 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19959 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19960 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19961 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19962
19963 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19964
19965 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19966 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19967 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19968
19969 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19970
19971 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19972
19973 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19974
19975 * gdb.dwarf2/arr-stride.c: New file.
19976 * gdb.dwarf2/arr-stride.exp: New file.
19977
19978 2014-02-26 Pedro Alves <palves@redhat.com>
19979
19980 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19981 that won't ever trigger. Make sure that GDB reports the correct
19982 breakpoint that caused the stop.
19983
19984 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19985
19986 PR gdb/16626
19987 * gdb.base/auto-load-script: New file.
19988 * gdb.base/auto-load.c: New file.
19989 * gdb.base/auto-load.exp: New file.
19990
19991 PR gdb/16626
19992 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19993
19994 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19995
19996 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19997 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19998
19999 2014-02-24 Doug Evans <dje@google.com>
20000
20001 * lib/gdb.exp (run_on_host): Log error output if program fails.
20002
20003 2014-02-21 Pedro Alves <palves@redhat.com>
20004
20005 * gdb.threads/step-after-sr-lock.c: Rename to ...
20006 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20007 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20009 ... this.
20010
20011 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20012
20013 PR tdep/16397
20014 * gdb.arch/amd64-stap-special-operands.exp: New file.
20015 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20016 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20017 * gdb.arch/amd64-stap-triplet.S: Likewise.
20018 * gdb.arch/amd64-stap-triplet.c: Likewise.
20019
20020 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20021
20022 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20023 in .section pseudo-op.
20024
20025 2014-02-20 lin zuojian <manjian2006@gmail.com>
20026 Joel Brobecker <brobecker@adacore.com>
20027 Doug Evans <xdje42@gmail.com>
20028
20029 PR symtab/16581
20030 * gdb.dwarf2/dw2-icycle.S: New file.
20031 * gdb.dwarf2/dw2-icycle.c: New file.
20032 * gdb.dwarf2/dw2-icycle.exp: New file.
20033
20034 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20035
20036 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20037 operations on gdb.Value objects.
20038 * gdb.python/py-value-cc.exp: Add new test to test operations on
20039 gdb.Value objects.
20040
20041 2014-02-18 Doug Evans <dje@google.com>
20042
20043 * Makefile.in (TESTS): New variable.
20044 (expanded_tests, expanded_tests_or_none): New variables
20045 (check-single): Pass $(expanded_tests_or_none) to runtest.
20046 (check-parallel): Only run tests in $(TESTS) if non-empty.
20047 (check/no-matching-tests-found): New rule.
20048 * README: Document TESTS makefile variable.
20049
20050 2014-02-18 Doug Evans <dje@google.com>
20051
20052 * Makefile.in (check-parallel): rm -rf outputs temp.
20053
20054 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20055
20056 Fix "ERROR: no fileid for" in the testsuite.
20057 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20058
20059 2014-02-12 Doug Evans <dje@google.com>
20060
20061 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20062 (MISCELLANEOUS): New variable.
20063 (clean): rm -rf $(MISCELLANEOUS).
20064 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20065 dwp live in the same directory as symlinks, with each symlink pointed
20066 to a differently named file in a different directory.
20067
20068 2014-02-11 Doug Evans <dje@google.com>
20069
20070 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20071 of Tcl file commands.
20072
20073 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20074
20075 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20076 "kill -SIGUSR1 -1".
20077
20078 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20079
20080 * gdb.ada/tick_length_array_enum_idx: New testcase.
20081
20082 2014-02-10 Doug Evans <xdje42@gmail.com>
20083
20084 * configure.ac (AC_OUTPUT): Add gdb.guile.
20085 * configure: Regenerate.
20086 * lib/gdb-guile.exp: New file.
20087 * lib/gdb.exp (get_target_charset): New function.
20088 * gdb.base/help.exp: Update expected output from "apropos apropos".
20089 * gdb.guile/Makefile.in: New file.
20090 * gdb.guile/guile.exp: New file.
20091 * gdb.guile/scm-arch.c: New file.
20092 * gdb.guile/scm-arch.exp: New file.
20093 * gdb.guile/scm-block.c: New file.
20094 * gdb.guile/scm-block.exp: New file.
20095 * gdb.guile/scm-breakpoint.c: New file.
20096 * gdb.guile/scm-breakpoint.exp: New file.
20097 * gdb.guile/scm-disasm.c: New file.
20098 * gdb.guile/scm-disasm.exp: New file.
20099 * gdb.guile/scm-equal.c: New file.
20100 * gdb.guile/scm-equal.exp: New file.
20101 * gdb.guile/scm-error.exp: New file.
20102 * gdb.guile/scm-error.scm: New file.
20103 * gdb.guile/scm-frame-args.c: New file.
20104 * gdb.guile/scm-frame-args.exp: New file.
20105 * gdb.guile/scm-frame-args.scm: New file.
20106 * gdb.guile/scm-frame-inline.c: New file.
20107 * gdb.guile/scm-frame-inline.exp: New file.
20108 * gdb.guile/scm-frame.c: New file.
20109 * gdb.guile/scm-frame.exp: New file.
20110 * gdb.guile/scm-generics.exp: New file.
20111 * gdb.guile/scm-gsmob.exp: New file.
20112 * gdb.guile/scm-iterator.c: New file.
20113 * gdb.guile/scm-iterator.exp: New file.
20114 * gdb.guile/scm-math.c: New file.
20115 * gdb.guile/scm-math.exp: New file.
20116 * gdb.guile/scm-objfile-script-gdb.in: New file.
20117 * gdb.guile/scm-objfile-script.c: New file.
20118 * gdb.guile/scm-objfile-script.exp: New file.
20119 * gdb.guile/scm-objfile.c: New file.
20120 * gdb.guile/scm-objfile.exp: New file.
20121 * gdb.guile/scm-ports.exp: New file.
20122 * gdb.guile/scm-pretty-print.c: New file.
20123 * gdb.guile/scm-pretty-print.exp: New file.
20124 * gdb.guile/scm-pretty-print.scm: New file.
20125 * gdb.guile/scm-section-script.c: New file.
20126 * gdb.guile/scm-section-script.exp: New file.
20127 * gdb.guile/scm-section-script.scm: New file.
20128 * gdb.guile/scm-symbol.c: New file.
20129 * gdb.guile/scm-symbol.exp: New file.
20130 * gdb.guile/scm-symtab-2.c: New file.
20131 * gdb.guile/scm-symtab.c: New file.
20132 * gdb.guile/scm-symtab.exp: New file.
20133 * gdb.guile/scm-type.c: New file.
20134 * gdb.guile/scm-type.exp: New file.
20135 * gdb.guile/scm-value-cc.cc: New file.
20136 * gdb.guile/scm-value-cc.exp: New file.
20137 * gdb.guile/scm-value.c: New file.
20138 * gdb.guile/scm-value.exp: New file.
20139 * gdb.guile/source2.scm: New file.
20140 * gdb.guile/types-module.cc: New file.
20141 * gdb.guile/types-module.exp: New file.
20142
20143 2014-02-10 Yao Qi <yao@codesourcery.com>
20144
20145 PR testsuite/16543
20146 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20147 * configure: Regenerated.
20148 * Makefile.in: New file.
20149
20150 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20151
20152 * gdb.python/py-framefilter.exp: Fix typo.
20153
20154 2014-02-08 Yao Qi <yao@codesourcery.com>
20155
20156 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20157 that no =breakpoint-modified is emitted when breakpoints are
20158 modified through MI commands.
20159
20160 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20161 Pedro Alves <palves@redhat.com>
20162
20163 * gdb.threads/step-after-sr-lock.c: New file.
20164 * gdb.threads/step-after-sr-lock.exp: New file.
20165
20166 2014-02-07 Pedro Alves <palves@redhat.com>
20167
20168 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20169
20170 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20171
20172 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20173 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20174
20175 2014-02-06 Doug Evans <xdje42@gmail.com>
20176
20177 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20178 output.
20179
20180 * gdb.gdb/python-interrupts.exp: New file.
20181
20182 2014-02-05 Yao Qi <yao@codesourcery.com>
20183
20184 * gdb.trace/report.exp (use_collected_data): Test the output
20185 of "info threads" and "info inferiors".
20186
20187 2014-02-05 Yao Qi <yao@codesourcery.com>
20188
20189 Revert this patch:
20190
20191 2013-05-24 Yao Qi <yao@codesourcery.com>
20192
20193 * gdb.trace/tfile.exp: Test inferior and thread.
20194
20195 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20196
20197 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20198 on a function.
20199 * gdb.base/step-bt.c: Call hello via function pointer to make
20200 sure its first instruction is executed on powerpc64le-linux.
20201
20202 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20203
20204 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20205
20206 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20207
20208 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20209 of the test patterns for use on little-endian systems.
20210
20211 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20212
20213 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20214 (decimal_vector): Fix for little-endian.
20215
20216 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20217
20218 * gdb.arch/sparc-sysstep.exp: New file.
20219 * gdb.arch/sparc-sysstep.c: Likewise.
20220
20221 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20222
20223 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20224
20225 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20226
20227 2014-01-23 Tom Tromey <tromey@redhat.com>
20228
20229 * gdb.ada/array_char_idx: New testcase.
20230
20231 2014-01-23 Tom Tromey <tromey@redhat.com>
20232
20233 PR python/16487:
20234 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20235 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20236 classes.
20237
20238 2014-01-23 Tom Tromey <tromey@redhat.com>
20239
20240 PR python/16491:
20241 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20242 string from an inferior frame.
20243 * gdb.python/py-framefilter-mi.exp: Update.
20244
20245 2014-01-22 Doug Evans <dje@google.com>
20246
20247 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20248
20249 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20250
20251 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20252
20253 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20254
20255 * gdb.trace/entry-values.exp: Remove excess space character from
20256 regex patterns. Handle s390 call instruction.
20257
20258 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20259
20260 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20261 define "*_start" label. Make "name" static.
20262 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20263 ${name} by references to ${name}_start.
20264
20265 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20266
20267 * gdb.base/info-macros.exp: Remove "debug" from the compile
20268 options.
20269
20270 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20271
20272 * gdb.dlang/demangle.exp: New file.
20273
20274 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20275
20276 * gdb.dlang/primitive-types.exp: New file.
20277
20278 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20279
20280 * configure.ac: Create gdb.dlang/Makefile.
20281 * configure: Regenerate.
20282 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20283 * gdb.dlang/Makefile.in: New file.
20284 * lib/d-support.exp: New file.
20285 * lib/gdb.exp (skip_d_tests): New proc.
20286
20287 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20288
20289 * gdb.btrace/delta.exp: Check reverse stepi.
20290 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20291 * gdb.btrace/finish.exp: New.
20292 * gdb.btrace/next.exp: New.
20293 * gdb.btrace/nexti.exp: New.
20294 * gdb.btrace/record_goto.c: Add comments.
20295 * gdb.btrace/step.exp: New.
20296 * gdb.btrace/stepi.exp: New.
20297 * gdb.btrace/multi-thread-step.c: New.
20298 * gdb.btrace/multi-thread-step.exp: New.
20299 * gdb.btrace/rn-dl-bind.c: New.
20300 * gdb.btrace/rn-dl-bind.exp: New.
20301 * gdb.btrace/data.c: New.
20302 * gdb.btrace/data.exp: New.
20303 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20304
20305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20306
20307 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20308 * gdb.btrace/exception.exp: Update.
20309 * gdb.btrace/instruction_history.exp: Update.
20310 * gdb.btrace/record_goto.exp: Update.
20311 * gdb.btrace/tailcall.exp: Update.
20312 * gdb.btrace/unknown_functions.exp: Update.
20313 * gdb.btrace/delta.exp: New.
20314
20315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20316
20317 * gdb.btrace/record_goto.exp: Add backtrace test.
20318 * gdb.btrace/tailcall.exp: Add backtrace test.
20319
20320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20321
20322 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20323 * gdb.btrace/record_goto.c: New.
20324 * gdb.btrace/record_goto.exp: New.
20325 * gdb.btrace/x86-record_goto.S: New.
20326
20327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20328
20329 * gdb.btrace/function_call_history.exp: Update tests.
20330 * gdb.btrace/instruction_history.exp: Update tests.
20331
20332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20333
20334 * gdb.btrace/function_call_history.exp: Fix expected field
20335 order for "record function-call-history".
20336 Add new tests for "record function-call-history /c".
20337 * gdb.btrace/exception.cc: New.
20338 * gdb.btrace/exception.exp: New.
20339 * gdb.btrace/tailcall.exp: New.
20340 * gdb.btrace/x86-tailcall.S: New.
20341 * gdb.btrace/x86-tailcall.c: New.
20342 * gdb.btrace/unknown_functions.c: New.
20343 * gdb.btrace/unknown_functions.exp: New.
20344 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20345
20346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20347
20348 * gdb.btrace/instruction_history.exp: Update.
20349 * gdb.btrace/function_call_history.exp: Update.
20350
20351 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20352
20353 * gdb.btrace/function_call_history.exp: Fix expected function
20354 trace.
20355 * gdb.btrace/instruction_history.exp: Initialize traced.
20356 Remove traced_functions.
20357
20358 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20359
20360 * gdb.btrace/function_call_history.exp: Update
20361 * gdb.btrace/instruction_history.exp: Update.
20362
20363 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20364
20365 * gdb.btrace/enable.exp: Update expected text.
20366
20367 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20368
20369 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20370 bytes.
20371
20372 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20373
20374 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20375
20376 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
20377
20378 * lib/gdb.exp (supports_process_record): Return true for
20379 arm*-linux*. (supports_reverse): Likewise.
20380
20381 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20382
20383 PR python/15464
20384 PR python/16113
20385 * gdb.python/py-type.c: Enhance test case.
20386 * gdb.python/py-value-cc.cc: Likewise
20387 * gdb.python/py-type.exp: Add new tests.
20388 * gdb.python/py-value-cc.exp: Likewise
20389
20390 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20391 Pedro Alves <palves@redhat.com>
20392
20393 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20394 Make "name" extern.
20395 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20396 references to ${name}_start by references to ${name}.
20397
20398 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20399
20400 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20401
20402 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20403
20404 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20405
20406 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20407 Pedro Alves <palves@redhat.com>
20408
20409 * gdb.mi/mi-info-os.exp: Connect to the target with
20410 mi_gdb_target_load.
20411
20412 2014-01-08 Pedro Alves <palves@redhat.com>
20413
20414 * gdb.threads/reconnect-signal.c: New file.
20415 * gdb.threads/reconnect-signal.exp: New file.
20416
20417 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20418
20419 * gdb.base/source-dir.exp: New file.
20420
20421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20422
20423 * gdb.ada/mi_interface: New testcase.
20424
20425 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20426
20427 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20428 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20429 gdb.ada/pp-rec-component/pck.ads: New files.
20430
20431 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20432
20433 * gdb.python/py-pp-integral.c: New file.
20434 * gdb.python/py-pp-integral.py: New file.
20435 * gdb.python/py-pp-integral.exp: New file.
20436
20437 For older changes see ChangeLog-1993-2013.
20438 \f
20439 ;; Local Variables:
20440 ;; mode: change-log
20441 ;; left-margin: 8
20442 ;; fill-column: 74
20443 ;; version-control: never
20444 ;; End:
20445
20446 Copyright 2014-2020 Free Software Foundation, Inc.
20447 Copying and distribution of this file, with or without modification,
20448 are permitted provided the copyright notice and this notice are preserved.
This page took 0.449188 seconds and 3 git commands to generate.