[gdb/testsuite] Break up long debug_flags line in fission.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-06-18 Tom de Vries <tdevries@suse.de>
2
3 * boards/fission.exp: Break up long debug_flags line.
4
5 2019-06-16 Tom de Vries <tdevries@suse.de>
6
7 PR gdb/24445
8 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
9 generated index.
10
11 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 PR gdb/24686
14 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
15 improve detection of bug gdb/24541.
16
17 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
18
19 PR gdb/24669
20 * gdb.base/index-cache.exp (uses_readnow,
21 expecting_index_cache_use): Define global variable.
22 (test_cache_enabled_miss, test_cache_enabled_hit): Use
23 expecting_index_cache_use.
24
25 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
26 Andrew Burgess <andrew.burgess@embecosm.com>
27
28 * gdb.fortran/pointers.f90: New file.
29 * gdb.fortran/print_type.exp: New file.
30 * gdb.fortran/vla-ptype.exp: Adapt expected results.
31 * gdb.fortran/vla-type.exp: Likewise.
32 * gdb.fortran/vla-value.exp: Likewise.
33 * gdb.mi/mi-vla-fortran.exp: Likewise.
34
35 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
38 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
39 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
40 as a stop reason.
41
42 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
43
44 * gdb.base/annota1.exp: Update expected results.
45 * gdb.cp/annota2.exp: Likewise.
46 * gdb.cp/annota3.exp: Likewise.
47
48 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.base/style-logging.exp: Remove path from test name.
51
52 2019-06-14 Tom Tromey <tromey@adacore.com>
53
54 PR gdb/24502:
55 * gdb.base/style-logging.exp: New file.
56
57 2019-06-14 Tom Tromey <tromey@adacore.com>
58
59 * gdb.base/symfile-warn.exp: New file.
60 * gdb.base/symfile-warn.c: New file.
61
62 2019-06-14 Tom Tromey <tromey@adacore.com>
63
64 * gdb.base/annotate-symlink.exp: New file.
65
66 2019-06-14 Tom Tromey <tromey@adacore.com>
67
68 * gdb.ada/set_wstr.exp: Add reassignment test.
69
70 2019-06-14 Tom Tromey <tromey@adacore.com>
71
72 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
73 'unchecked_access and 'unrestricted_access as well.
74
75 2019-06-14 Tom Tromey <tromey@adacore.com>
76
77 PR ada/24539:
78 * gdb.ada/vla.exp: Update tests.
79 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
80 pragma.
81
82 2019-06-13 Pedro Alves <palves@redhat.com>
83
84 * gdb.base/settings.exp (test-integer): Test junk after
85 "unlimited".
86
87 2019-06-13 Pedro Alves <palves@redhat.com>
88
89 * gdb.base/options.exp (test-thread-apply): New.
90 (top level): Call it.
91
92 2019-06-13 Pedro Alves <palves@redhat.com>
93
94 * gdb.base/options.exp (test-frame-apply): New.
95 (top level): Test print commands with different "frame apply"
96 prefixes.
97
98 2019-06-13 Pedro Alves <palves@redhat.com>
99
100 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
101 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
102 'max_completions' parameter and handle it.
103 (test_gdb_completion_offers_commands): New.
104
105 2019-06-13 Pedro Alves <palves@redhat.com>
106
107 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
108
109 2019-06-13 Pedro Alves <palves@redhat.com>
110
111 * gdb.base/options.exp (test-backtrace): New.
112 (top level): Call it.
113
114 2019-06-13 Pedro Alves <palves@redhat.com>
115
116 * gdb.guile/scm-frame-args.exp: Use "set print
117 raw-frame-arguments" instead of "set print raw frame-arguments".
118 * gdb.python/py-frame-args.exp: Likewise.
119
120 2019-06-13 Pedro Alves <palves@redhat.com>
121
122 * gdb.compile/compile.exp: Adjust expected output to option
123 processing changes.
124
125 2019-06-13 Pedro Alves <palves@redhat.com>
126
127 * gdb.base/options.exp: Build executable.
128 (test-print): New procedure.
129 (top level): Call it, once for "print" and another for "compile
130 print".
131
132 2019-06-13 Pedro Alves <palves@redhat.com>
133
134 * gdb.base/options.c: New file.
135 * gdb.base/options.exp: New file.
136
137 2019-06-13 Pedro Alves <palves@redhat.com>
138
139 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
140 that "o" is ambiguous.
141
142 2019-06-13 Pedro Alves <palves@redhat.com>
143
144 * gdb.base/settings.c: New file.
145 * gdb.base/settings.exp: New file.
146
147 2019-06-13 Pedro Alves <palves@redhat.com>
148
149 * gdb.base/completion.exp: Fix comment typo.
150
151 2019-06-13 Pedro Alves <palves@redhat.com>
152
153 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
154 foo --1" test.
155
156 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
157
158 * gdb.fortran/block-data.f: New.
159 * gdb.fortran/block-data.exp: New.
160
161 2019-06-11 Tom de Vries <tdevries@suse.de>
162
163 PR testsuite/24521
164 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
165 message.
166
167 2019-06-11 Tom de Vries <tdevries@suse.de>
168
169 PR testsuite/24521
170 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
171
172 2019-06-11 Tom de Vries <tdevries@suse.de>
173
174 * boards/readnow.exp: New file.
175
176 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 * gdb.fortran/vla-sizeof.exp: Update expected results.
179
180 2019-06-06 Amos Bird <amosbird@gmail.com>
181
182 * gdb.base/annota1.exp (thread_switch): Add test for
183 thread-exited annotation.
184
185 2019-06-06 Tom Tromey <tromey@adacore.com>
186
187 * gdb.base/maint.exp: Expect command started/finished output.
188
189 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
192 comment.
193 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
194
195 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
198 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
199 * gdb.arch/riscv-unwind-long-insn.c: New file.
200 * gdb.arch/riscv-unwind-long-insn.exp: New file.
201
202 2019-06-04 Christian Biesinger <cbiesinger@google.com>
203
204 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
205
206 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
207
208 * lib/gdb.exp (help_list_trailer): New regexp variable
209 factorizing the help trailer message.
210 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
211 arg to allow to better factorize various tests.
212 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
213 (test_prefix_command_help): Use help_list_trailer.
214 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
215 * gdb.guile/scm-cmd.exp: Likewise.
216 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
217 * gdb.base/help.exp: Use test_user_defined_class_help.
218 * gdb.base/style.exp: Add tests for styling of help and apropos.
219 * lib/gdb-utils.exp (style): Add title and highlight styles.
220
221 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
222
223 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
224 $_shell_exitsignal.
225 * gdb.base/default.exp: Update for new convenience variables.
226
227 2019-05-29 Tom Tromey <tromey@adacore.com>
228
229 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
230 to "break complete ada" test case's regexp.
231
232 2019-05-29 Tom Tromey <tromey@adacore.com>
233
234 PR c++/20020:
235 * gdb.cp/constexpr-field.exp: New file.
236 * gdb.cp/constexpr-field.cc: New file.
237
238 2019-05-29 Tom Tromey <tromey@adacore.com>
239
240 * gdb.base/finish.exp (finish_no_print): New proc.
241 (finish_tests): Call it.
242
243 2019-05-24 Tom de Vries <tdevries@suse.de>
244
245 * gdb.dwarf2/gdb-add-index.exp: New file.
246
247 2019-05-22 Tom Tromey <tromey@adacore.com>
248
249 * gdb.base/info-shared.exp (check_info_shared): Use "style".
250 * gdb.base/style.exp: Use "style".
251 * lib/gdb-utils.exp (style): New proc.
252
253 2019-05-22 Tom de Vries <tdevries@suse.de>
254
255 * gdb.base/align.exp: Require c++11.
256
257 2019-05-22 Tom de Vries <tdevries@suse.de>
258
259 PR testsuite/24586
260 * gdb.python/py-mi-var-info-path-expression.exp: Call
261 mi_skip_python_tests to check if python is supported.
262
263 2019-05-22 Alan Hayward <alan.hayward@arm.com>
264
265 * gdb.arch/aarch64-pauth.c: New test.
266 * gdb.arch/aarch64-pauth.exp: New file.
267
268 2019-05-22 Alan Hayward <alan.hayward@arm.com>
269
270 * README (Re-running Tests Outside The Testsuite): New section.
271
272 2019-05-21 Tom de Vries <tdevries@suse.de>
273
274 * gdb.arch/amd64-eval.exp: Require c++11.
275 * gdb.base/max-depth.exp: Same.
276 * gdb.compile/compile-cplus-array-decay.exp: Same.
277 * gdb.cp/meth-typedefs.exp: Same.
278 * gdb.cp/subtypes.exp: Same.
279 * gdb.cp/temargs.exp: Same.
280
281 2019-05-21 Alan Hayward <alan.hayward@arm.com>
282
283 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
284
285 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 PR gdb/18644
288 * gdb.fortran/complex.exp: Remove setup_kfail calls.
289 * gdb.fortran/printing-types.exp: Add new test.
290 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
291 testing.
292 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
293 setup_kfail call.
294
295 2019-05-17 Alan Hayward <alan.hayward@arm.com>
296
297 * README (Running the Testsuite): Change example.
298 (Testsuite Parameters): Remove TRANSCRIPT.
299 * lib/gdb.exp: Remove TRANSCRIPT check.
300
301 2019-05-17 Alan Hayward <alan.hayward@arm.com>
302
303 * README (Testsuite Parameters): Add replay logging to
304 GDBSERVER_DEBUG.
305 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
306 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
307 as a comma separated list.
308 (gdb_debug_init): Override procedure.
309
310 2019-05-17 Alan Hayward <alan.hayward@arm.com>
311
312 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
313 (gdb_write_cmd_file): New procedure.
314 * lib/gdbserver-support.exp (gdbserver_start): Call
315 gdbserver_write_cmd_file.
316 (gdbserver_write_cmd_file): New procedure.
317
318 2019-05-17 Alan Hayward <alan.hayward@arm.com>
319
320 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
321 (delete_breakpoints): Likewise.
322 (gdb_run_cmd): Likewise.
323 (gdb_start_cmd): Likewise.
324 (gdb_starti_cmd): Likewise.
325 (gdb_internal_error_resync): Likewise.
326 (gdb_test_multiple): Likewise.
327 (gdb_reinitialize_dir): Likewise.
328 (default_gdb_exit): Likewise.
329 (gdb_file_cmd): Mark kill as optional.
330 (default_gdb_start): Call gdb_stdin_log_init.
331 (send_gdb): Call gdb_stdin_log_write.
332 (rerun_to_main): Mark Y as an answer.
333 (gdb_stdin_log_init): New function.
334 (gdb_stdin_log_write): Likewise.
335
336 2019-05-17 Alan Hayward <alan.hayward@arm.com>
337
338 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
339 * gdb.base/debug-expr.exp: Likewise.
340 * gdb.base/foll-fork.exp: Likewise.
341 * gdb.base/foll-vfork.exp: Likewise.
342 * gdb.base/fork-print-inferior-events.exp: Likewise.
343 * gdb.base/gdb-sigterm.exp: Likewise.
344 * gdb.base/gdbinit-history.exp: Likewise.
345 * gdb.base/osabi.exp: Likewise.
346 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
347 * gdb.base/ui-redirect.exp: Likewise.
348 * gdb.gdb/unittest.exp: Likewise.
349 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
350 * gdb.mi/mi-watch.exp: Likewise.
351 * gdb.mi/new-ui-mi-sync.exp: Likewise.
352 * gdb.mi/user-selected-context-sync.exp: Likewise.
353 * gdb.python/python.exp: Disable debug test when debugging.
354 * gdb.threads/check-libthread-db.exp: Disable when debugging.
355 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
356 Likewise.
357 * gdb.threads/stepi-random-signal.exp: Likewise.
358
359 2019-05-17 Alan Hayward <alan.hayward@arm.com>
360
361 * Makefile.in: Pass through GDB_DEBUG.
362 * README (Testsuite Parameters): Add GDB_DEBUG.
363 (gdb,debug): Add board setting.
364 * lib/gdb.exp (default_gdb_start): Start debugging.
365 (gdb_debug_enabled): New procedure.
366 (gdb_debug_init): Likewise.
367
368 2019-05-17 Alan Hayward <alan.hayward@arm.com>
369
370 * Makefile.in: Pass through GDB_DEBUG.
371 * README (Testsuite Parameters): Add GDB_DEBUG.
372 (gdb,debug): Add board setting.
373 * lib/gdb.exp (default_gdb_start): Start debugging.
374 (gdb_debug_enabled): New procedure.
375 (gdb_debug_init): Likewise.
376
377 2019-05-17 Alan Hayward <alan.hayward@arm.com>
378
379 * gdb.base/ui-redirect.exp: Add debug redirect tests.
380
381 2019-05-17 Alan Hayward <alan.hayward@arm.com>
382
383 * gdb.base/ui-redirect.exp: Test redirection.
384
385 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
386
387 * gdb.mi/mi-complete.exp: New file.
388 * gdb.mi/mi-complete.cc: Likewise.
389
390 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
391
392 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
393 indexed and sliced arrays, and pointers to arrays.
394
395 2019-05-14 Tom Tromey <tromey@adacore.com>
396
397 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
398 styling test.
399
400 2019-05-14 Tom de Vries <tdevries@suse.de>
401
402 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
403 selection entry encoding.
404
405 2019-05-10 Tom Tromey <tromey@adacore.com>
406
407 * gdb.ada/info_exc.exp: Add "complete" test.
408
409 2019-05-09 Tom de Vries <tdevries@suse.de>
410
411 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
412 CU-relative.
413
414 2019-05-09 Tom de Vries <tdevries@suse.de>
415
416 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
417 CU-relative.
418
419 2019-05-08 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/frame_arg_lang.exp: New testcase.
422 * gdb.ada/frame_arg_lang/bla.adb: New file.
423 * gdb.ada/frame_arg_lang/pck.ads: New file.
424 * gdb.ada/frame_arg_lang/pck.adb: New file.
425 * gdb.ada/frame_arg_lang/foo.c: New file.
426
427 2019-05-08 Tom Tromey <tromey@adacore.com>
428
429 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
430
431 2019-05-08 Tom Tromey <tromey@adacore.com>
432
433 * gdb.base/ptype-offsets.exp: Update tests.
434
435 2019-05-08 Tom Tromey <tromey@adacore.com>
436
437 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
438 cases.
439 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
440 "short".
441
442 2019-05-08 Tom Tromey <tromey@adacore.com>
443
444 * gdb.ada/vla.exp: New file.
445 * gdb.ada/vla/vla.adb: New file.
446
447 2019-05-07 Tom de Vries <tdevries@suse.de>
448
449 * gdb.base/index-cache.exp (ls_host): Fix return statement.
450
451 2019-05-07 Tom de Vries <tdevries@suse.de>
452
453 PR testsuite/24522
454 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
455 section.
456
457 2019-05-07 Tom de Vries <tdevries@suse.de>
458
459 PR testsuite/24522
460 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
461 .debug_aranges section.
462
463 2019-05-07 Tom de Vries <tdevries@suse.de>
464
465 PR testsuite/24159
466 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
467
468 2019-05-06 Tom de Vries <tdevries@suse.de>
469
470 * lib/gdb.exp (exec_has_index_section): New proc.
471 * gdb.base/index-cache.exp: Handle case that binfile contains an index
472 section.
473
474 2019-05-04 Tom de Vries <tdevries@suse.de>
475
476 * boards/cc-with-debug-names.exp: New file.
477
478 2019-05-03 Tom Tromey <tromey@adacore.com>
479
480 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
481 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
482 * gdb.ada/char_enum.exp: Add test.
483
484 2019-05-03 Tom de Vries <tdevries@suse.de>
485
486 * boards/cc-with-gdb-index.exp: New file.
487
488 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
489
490 * gdb.rust/simple.exp: Add new test case.
491 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
492 (main): Initialise an instance of the new struct.
493
494 2019-05-01 Tom Tromey <tromey@adacore.com>
495
496 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
497 record.
498 (NPR): New variable.
499 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
500 test.
501
502 2019-05-01 Tom Tromey <tromey@adacore.com>
503
504 * gdb.ada/packed_array_assign.exp: Add packed assignment
505 regression test.
506
507 2019-05-01 Tom de Vries <tdevries@suse.de>
508
509 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
510
511 2019-05-01 Tom de Vries <tdevries@suse.de>
512
513 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
514
515 2019-04-30 Ali Tamur <tamur@google.com>
516
517 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
518
519 2019-04-30 Tom Tromey <tromey@adacore.com>
520
521 * lib/ada.exp (find_ada_tool): New proc.
522 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
523 * gdb.ada/catch_ex_std.exp: New file.
524 * gdb.ada/catch_ex_std/foo.adb: New file.
525 * gdb.ada/catch_ex_std/some_package.adb: New file.
526 * gdb.ada/catch_ex_std/some_package.ads: New file.
527
528 2019-04-30 Tom Tromey <tromey@adacore.com>
529
530 PR c++/24470:
531 * gdb.cp/temargs.cc: Add test code from PR.
532
533 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * gdb.fortran/vla-datatypes.exp: Update expected results.
536 * gdb.fortran/vla-ptype.exp: Likewise.
537 * gdb.fortran/vla-type.exp: Likewise.
538 * gdb.fortran/vla-value.exp: Likewise.
539
540 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
541
542 * gdb.fortran/ptr-indentation.exp: Update expected results.
543 * gdb.fortran/ptype-on-functions.exp: Likewise.
544 * gdb.fortran/vla-ptr-info.exp: Likewise.
545 * gdb.fortran/vla-value.exp: Likewise.
546
547 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * gdb.fortran/ptype-on-functions.exp: New file.
550 * gdb.fortran/ptype-on-functions.f90: New file.
551
552 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
555 case void string.
556
557 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.fortran/complex.exp: Expand.
560 * gdb.fortran/complex.f: Renamed to...
561 * gdb.fortran/complex.f90: ...this, and extended to add more
562 complex values.
563
564 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
567 MODULO, CMPLX.
568
569 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
570 Richard Bunt <richard.bunt@arm.com>
571
572 * gdb.base/max-depth.c: New file.
573 * gdb.base/max-depth.exp: New file.
574 * gdb.python/py-nested-maps.c: New file.
575 * gdb.python/py-nested-maps.exp: New file.
576 * gdb.python/py-nested-maps.py: New file.
577 * gdb.python/py-format-string.exp (test_max_depth): New proc.
578 (test_all_common): Call test_max_depth.
579 * gdb.fortran/max-depth.exp: New file.
580 * gdb.fortran/max-depth.f90: New file.
581 * gdb.go/max-depth.exp: New file.
582 * gdb.go/max-depth.go: New file.
583 * gdb.modula2/max-depth.exp: New file.
584 * gdb.modula2/max-depth.c: New file.
585 * lib/gdb.exp (get_print_expr_at_depths): New proc.
586
587 2019-04-29 Tom de Vries <tdevries@suse.de>
588
589 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
590
591 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
592
593 * gdb.base/callexit.exp: Test may-call-functions off.
594
595 2019-04-25 Keith Seitz <keiths@redhat.com>
596
597 PR c++/24367
598 * gdb.cp/meth-typedefs.cc (incomplete_struct)
599 (another_incomplete_struct, test_incomplete): New definitions.
600 (main): Use new definitions.
601 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
602 functions.
603
604 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
605
606 PR corefiles/11608
607 PR corefiles/18187
608 * gdb.base/coredump-filter-build-id.exp: New file.
609
610 2019-04-25 Alan Hayward <alan.hayward@arm.com>
611
612 * Makefile.in: Pass through GDBSERVER_DEBUG.
613 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
614 (gdbserver,debug): Add board setting.
615 * gdb.trace/tspeed.exp: Skip when debugging.
616 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
617 * lib/gdbserver-support.exp: Likewise
618
619 2019-04-24 Tom Tromey <tromey@adacore.com>
620
621 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
622 Rust.
623
624 2019-04-24 Tom Tromey <tromey@adacore.com>
625
626 * gdb.arch/amd64-eval.exp: Test bitfield return.
627 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
628 (class Foo) <return_bitfields>: New method.
629 (main): Call it.
630
631 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
632
633 * gdb.cp/many-args.cc: New file.
634 * gdb.cp/many-args.exp: New file.
635
636 2019-04-23 Tom de Vries <tdevries@suse.de>
637
638 PR gdb/24433
639 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
640
641 2019-04-23 Alan Hayward <alan.hayward@arm.com>
642
643 * gdb.trace/backtrace.exp: Use nopie flag.
644 * gdb.trace/circ.exp: Likewise.
645 * gdb.trace/collection.exp: Likewise.
646 * gdb.trace/ftrace.exp: Likewise.
647 * gdb.trace/mi-trace-unavailable.exp: Likewise.
648 * gdb.trace/mi-traceframe-changed.exp: Likewise.
649 * gdb.trace/qtro.exp: Likewise.
650 * gdb.trace/read-memory.exp: Likewise.
651 * gdb.trace/report.exp: Likewise.
652 * gdb.trace/tfile.exp: Likewise.
653 * gdb.trace/tfind.exp: Likewise.
654 * gdb.trace/unavailable.exp: Likewise.
655
656 2019-04-22 Pedro Alves <palves@redhat.com>
657
658 * gdb.base/solib-probes-nosharedlibrary.c,
659 gdb.base/solib-probes-nosharedlibrary.exp: New files.
660
661 2019-04-19 Tom Tromey <tromey@adacore.com>
662
663 * gdb.ada/ptype_union.c: New file.
664 * gdb.ada/ptype_union.exp: New file.
665
666 2019-04-19 Tom Tromey <tromey@adacore.com>
667
668 PR symtab/24423:
669 * gdb.base/list0.h (foo): Add a control-l character.
670
671 2019-04-18 Tom de Vries <tdevries@suse.de>
672
673 PR gdb/24433
674 * boards/local-board.exp: Set sysroot to "".
675
676 2019-04-18 Tom de Vries <tdevries@suse.de>
677 Pedro Alves <palves@redhat.com>
678
679 PR gdb/24454
680 * gdb.threads/vfork-follow-child-exec.c: New file.
681 * gdb.threads/vfork-follow-child-exec.exp: New file.
682 * gdb.threads/vfork-follow-child-exit.c: New file.
683 * gdb.threads/vfork-follow-child-exit.exp: New file.
684
685 2019-04-15 Leszek Swirski <leszeks@google.com>
686
687 * gdb.arch/amd64-eval.cc: New file.
688 * gdb.arch/amd64-eval.exp: New file.
689
690 2019-04-11 Alan Hayward <alan.hayward@arm.com>
691
692 * gdb.server/sysroot.c: New test.
693 * gdb.server/sysroot.exp: New file.
694 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
695 matching param.
696
697 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * gdb.base/align.exp: Extend test to cover structures containing
700 only static fields.
701
702 2019-04-11 Tom de Vries <tdevries@suse.de>
703
704 * boards/cc-with-dwz-m.exp: New file.
705 * boards/cc-with-dwz.exp: New file.
706 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
707
708 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
709
710 * gdb.base/start-cpp.exp: New file.
711 * gdb.base/start-cpp.cc: New file.
712
713 2019-04-08 Kevin Buettner <kevinb@redhat.com>
714
715 * gdb.python/py-thrhandle.exp: Adjust tests to call
716 thread_from_handle instead of thread_from_thread_handle.
717
718 2019-04-08 Kevin Buettner <kevinb@redhat.com>
719
720 * gdb.python/py-thrhandle.exp: Add tests for
721 gdb.InferiorThread.handle.
722
723 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
724
725 * gdb.python/py-function.exp: Check calling helper function from
726 all languages.
727 * lib/gdb.exp (gdb_supported_languages): New proc.
728
729 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
730
731 * gdb.base/complex-parts.c: New file.
732 * gdb.base/complex-parts.exp: New file.
733
734 2019-04-01 Tom Tromey <tromey@adacore.com>
735
736 PR symtab/23331:
737 * gdb.dwarf2/dw2-ranges-main.c: New file.
738 * gdb.dwarf2/dw2-ranges-psym.c: New file.
739 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
740
741 2019-03-30 Simon Marchi <simark@simark.ca>
742
743 * gdb.base/default.exp: Add values for $_gdb_major and
744 $_gdb_minor.
745
746 2019-03-29 Tom Tromey <tromey@adacore.com>
747
748 * gdb.base/help.exp: Tighten apropos regexp.
749
750 2019-03-29 Keith Seitz <keiths@redhat.com>
751
752 * gdb.fortran/array-bounds.exp: New file.
753 * gdb.fortran/array-bounds.f90: New file.
754
755 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
756
757 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
758
759 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
760
761 * gdb.multi/hello.c (main): Increase alarm timer.
762
763 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
764
765 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
766 factor when no hardware watchpoint support.
767
768 2019-03-28 Alan Hayward <alan.hayward@arm.com>
769 Pedro Alves <palves@redhat.com>
770
771 * boards/local-board.exp: set sysroot to /.
772
773 2019-03-27 Alan Hayward <alan.hayward@arm.com>
774
775 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
776 in child.
777
778 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
779
780 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
781 field.
782 (make_container): Initialise new field.
783 * gdb.python/py-prettyprint.exp: Add new tests.
784 * gdb.python/py-prettyprint.py (class ContainerPrinter)
785 <display_hint>: New method.
786
787 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
790 gdb_continue_to_breakpoint more throughout this test.
791 (run_lang_tests) Supply unique test names, and use
792 gdb_test_no_output.
793
794 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
795
796 * gdb.base/finish-pretty.exp: Update expected results.
797 * gdb.base/pretty-print.c: New file.
798 * gdb.base/pretty-print.exp: New file.
799
800 2019-03-25 Pedro Alves <palves@redhat.com>
801
802 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
803 move comments outside list. Append '-i "" eof' section.
804
805 2019-03-22 Alan Hayward <alan.hayward@arm.com>
806
807 * README: Add pie options.
808 * gdb.base/break-interp.exp: Ensure pie is disabled.
809 * gdb.base/dump.exp: Likewise.
810 * lib/gdb.exp (gdb_compile): Add pie option.
811
812 2019-03-19 Tom Tromey <tromey@adacore.com>
813
814 * gdb.mi/mi2-cli-display.c: New file.
815 * gdb.mi/mi2-cli-display.exp: New file.
816
817 2019-03-18 Joel Brobecker <brobecker@adacore.com>
818 Tom Tromey <tromey@adacore.com>
819
820 * gdb.ada/ptype_array/pck.adb: New file.
821 * gdb.ada/ptype_array/pck.ads: New file.
822 * gdb.ada/ptype_array/foo.adb: New file.
823 * gdb.ada/ptype_array.exp: New file.
824
825 2019-03-14 Tom Tromey <tromey@adacore.com>
826
827 * gdb.base/style.exp: Add "set style sources" test.
828
829 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
830
831 * mi-breakpoint-location-ena-dis.exp: Rename to ...
832 * mi-breakpoint-multiple-locations.exp: ... this.
833 (make_breakpoints_pattern): New proc.
834 (do_test): Add mi_version parameter, test -break-insert,
835 -break-info and =breakpoint-created.
836
837 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
838
839 * config/default.exp: Remove 'load_lib gdb.exp'.
840 * config/monitor.exp: Likewise.
841 * config/sid.exp: Likewise.
842 * config/sim.exp: Likewise.
843 * config/slite.exp: Likewise.
844 * config/unix.exp: Likewise.
845 * gdb.base/default.exp: Remove unhelpful comment.
846
847 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
850
851 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
854
855 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.fortran/type-kinds.exp: Update expected results.
858
859 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
860
861 * gdb.fortran/type-kinds.exp: Test new integer type kind.
862
863 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
866 function.
867 (test_basic_parsing_of_type_kinds): Expand types tested.
868 (test_parsing_invalid_type_kinds): New function.
869
870 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * gdb.fortran/intrinsics.exp: New file.
873 * gdb.fortran/intrinsics.f90: New file.
874 * gdb.fortran/type-kinds.exp: New file.
875
876 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
877
878 * gdb.fortran/dot-ops.exp: New file.
879
880 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
883 Check upper and lower case logical literals.
884
885 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 * gdb.fortran/types.exp (test_float_literal_types_accepted):
888 Remove duplicate tests.
889
890 2019-03-06 Alan Hayward <alan.hayward@arm.com>
891
892 * lib/gdb.exp (builtin_cd): rename of cd.
893 (cd): Override builtin.
894
895 2019-03-06 Richard Bunt <richard.bunt@arm.com>
896
897 * gdb.fortran/function-calls.exp: New file.
898 * gdb.fortran/function-calls.f90: New test.
899
900 2019-03-04 Richard Bunt <richard.bunt@arm.com>
901
902 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
903 on user program standard output.
904 * gdb.fortran/short-circuit-argument-list.f90: Record function
905 calls.
906
907 2019-02-28 Alan Hayward <alan.hayward@arm.com>
908
909 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
910 failure.
911
912 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
913
914 PR gdb/8527
915 * gdb.base/interrupt-daemon-attach.c,
916 gdb.base/interrupt-daemon-attach.exp: New test.
917
918 2019-02-27 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/page.exp: Add tests for "set width/height -1".
921
922 2019-02-27 Pedro Alves <palves@redhat.com>
923
924 * gdb.base/page.exp: Add tests for "set/show width/height" with
925 "infinite" values.
926
927 2019-02-27 Tom Tromey <tromey@adacore.com>
928
929 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
930 2.4.
931 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
932 workaround.
933
934 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
935
936 * gdb.base/align.exp: Extend to compile in both C and C++, and add
937 tests for structs with static members.
938
939 2019-02-26 Tom Tromey <tromey@adacore.com>
940
941 * gdb.python/py-value.exp (test_value_from_buffer): Check for
942 ValueError, not TypeError.
943
944 2019-02-26 Kevin Buettner <kevinb@redhat.com>
945
946 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
947 call from main program.
948
949 2019-02-23 Joel Brobecker <brobecker@adacore.com>
950
951 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
952 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
953 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
954 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
955 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
956
957 2019-02-22 Keith Seitz <keiths@redhat.com>
958
959 PR symtab/23853
960 * gdb.base/symlink-sourcefile.c: New file.
961 * gdb.base/symlink-sourcefile.exp: New file.
962
963 2019-02-20 Tom Tromey <tom@tromey.com>
964
965 * gdb.base/info_qt.exp: Update.
966
967 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
968
969 * gdb.base/source.exp: Move "error in sourced script" code to
970 the end.
971 * gdb.base/source-error.gdb: Move contents to
972 source-error-1.gdb. Add new code to source source-error-1.gdb.
973 * gdb.base/source-error-1.gdb: New file, from previous
974 source-error.gdb.
975
976 2019-02-17 Tom Tromey <tom@tromey.com>
977
978 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
979 for macro styling.
980 * gdb.base/style.c (SOME_MACRO): New macro.
981
982 2019-02-17 Tom Tromey <tom@tromey.com>
983
984 * gdb.base/style.exp: Add line-wrapping tests.
985 * gdb.base/page.exp: Add test for quitting during pagination.
986
987 2019-02-17 Joel Brobecker <brobecker@adacore.com>
988
989 * gdb.ada/big_packed_array: New testcase.
990 * gdb.ada/homonym.exp: Fix incorrect expected output for
991 "break <homonym__get_value>" test.
992
993 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
994
995 PR breakpoints/21870
996 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
997 and prepare_for_testing. Add comment.
998 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
999 redundant cleanup call. Clean up comment.
1000
1001 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1002
1003 PR breakpoints/21870
1004 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1005 * gdb.arch/aarch64-dbreg-contents.c: New file.
1006
1007 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1008
1009 * gdb.ada/mi_ref_changeable: New testcase.
1010
1011 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1012
1013 * gdb.base/attach.exp: Add double attach test.
1014
1015 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1016
1017 * lib/gdb.exp (default_gdb_start): Don't match pagination
1018 prompt.
1019 (gdb_init): Set stty_init.
1020
1021 2019-01-27 Tom Tromey <tom@tromey.com>
1022
1023 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1024 skip_python_tests.
1025
1026 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1027
1028 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1029 New structure.
1030 (struct struct_static_02_02): Likewise.
1031 (struct struct_static_02_03): Likewise.
1032 (struct struct_static_02_04): Likewise.
1033 (struct struct_static_04_01): Likewise.
1034 (struct struct_static_04_02): Likewise.
1035 (struct struct_static_04_03): Likewise.
1036 (struct struct_static_04_04): Likewise.
1037 (struct struct_static_06_01): Likewise.
1038 (struct struct_static_06_02): Likewise.
1039 (struct struct_static_06_03): Likewise.
1040 (struct struct_static_06_04): Likewise.
1041 (cmp_struct_static_02_01): Likewise.
1042 (cmp_struct_static_02_02): Likewise.
1043 (cmp_struct_static_02_03): Likewise.
1044 (cmp_struct_static_02_04): Likewise.
1045 (cmp_struct_static_04_01): Likewise.
1046 (cmp_struct_static_04_02): Likewise.
1047 (cmp_struct_static_04_03): Likewise.
1048 (cmp_struct_static_04_04): Likewise.
1049 (cmp_struct_static_06_01): Likewise.
1050 (cmp_struct_static_06_02): Likewise.
1051 (cmp_struct_static_06_03): Likewise.
1052 (cmp_struct_static_06_04): Likewise.
1053 (call_all): Test new structs.
1054 * gdb.base/infcall-nested-structs.exp: Likewise.
1055
1056 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1057 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1058
1059 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1060 * gdb.base/stack-protector.c: New test.
1061 * gdb.base/stack-protector.exp: New file.
1062 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1063 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1064 option.
1065 (gdb_compile): Remove stack protector for GCC and prevent
1066 recursion.
1067
1068 2019-01-16 Keith Seitz <keiths@redhat.com>
1069
1070 PR gdb/23773
1071 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1072
1073 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1074
1075 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1076 aliases.
1077 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1078 tests.
1079 * gdb.arch/powerpc-vector-regs.c: New file.
1080 * gdb.arch/powerpc-vector-regs.exp: New file.
1081
1082 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1083
1084 * gdb.arch/altivec-regs.exp: Fix the list passed to
1085 gdb_expect_list when testing "info vector".
1086
1087 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.base/style.exp: Don't include path in testname.
1090
1091 2019-01-10 Keith Seitz <keiths@redhat.com>
1092
1093 PR gdb/23712
1094 PR symtab/23010
1095 * gdb.dwarf2/multidictionary.exp: New file.
1096
1097 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1098
1099 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1100 (test_gnuv3_style_demangling): ... this.
1101 (test_lucid_style_demangling): Remove.
1102 (test_arm_style_demangling): Remove.
1103 (test_hp_style_demangling): Remove.
1104 (do_tests): Remove calls to the above.
1105
1106 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1109 case.
1110
1111 2019-01-06 Tom Tromey <tom@tromey.com>
1112
1113 PR gdb/28155:
1114 * gdb.dwarf2/typedef-void-finish.exp: New file.
1115
1116 2018-12-28 Tom Tromey <tom@tromey.com>
1117 Simon Marchi <simark@simark.ca>
1118
1119 * gdb.base/jit-exec.exp: New file.
1120 * gdb.base/jit-exec.c: New file.
1121 * gdb.base/jit-execd.c: New file.
1122
1123 2018-12-28 Tom Tromey <tom@tromey.com>
1124
1125 * gdb.base/style.exp: Update test to check for address styling.
1126
1127 2018-12-28 Tom Tromey <tom@tromey.com>
1128
1129 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1130 message.
1131
1132 2018-12-28 Tom Tromey <tom@tromey.com>
1133
1134 * gdb.base/style.exp: Add test for version number styling.
1135
1136 2018-12-28 Tom Tromey <tom@tromey.com>
1137
1138 * gdb.base/style.exp: Add test for print_address_symbolic.
1139
1140 2018-12-28 Tom Tromey <tom@tromey.com>
1141
1142 * gdb.base/style.exp: Add test for breakpoint setting.
1143
1144 2018-12-28 Tom Tromey <tom@tromey.com>
1145
1146 * gdb.base/style.exp: Add test for variable names.
1147
1148 2018-12-28 Tom Tromey <tom@tromey.com>
1149
1150 * gdb.base/style.exp: New file.
1151 * gdb.base/style.c: New file.
1152
1153 2018-12-28 Tom Tromey <tom@tromey.com>
1154
1155 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1156 "dumb".
1157 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1158 the TERM environment variable.
1159
1160 2018-12-27 Tom Tromey <tom@tromey.com>
1161
1162 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1163 pagination test.
1164
1165 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1166
1167 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1168 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1169
1170 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1171
1172 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1173 Filename a.adb changed to bp_fun_addr.adb.
1174 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1175
1176 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1177
1178 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1179 non-PIE executables.
1180 * README: Mention the gdb,nopie_flag board setting.
1181 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1182 non-PIE executable.
1183 * gdb.arch/amd64-entry-value.exp: Likewise.
1184 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1185 * gdb.arch/i386-float.exp: Likewise.
1186 * gdb.arch/i386-signal.exp: Likewise.
1187 * gdb.mi/mi-reg-undefined.exp: Likewise.
1188
1189 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1190
1191 PR gdb/23974
1192 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1193
1194 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1195
1196 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1197 Update order of results accordingly.
1198
1199 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.base/annota1.exp: Update a test regexp.
1202
1203 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1206
1207 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1208
1209 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1210 (reuse_time): Initialize to REUSE_TIME_CAP.
1211 (check_rc): New function.
1212 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1213 Check pthread_create rc.
1214 (spawner_thread_func): Check pthread_create and pthread_join rc.
1215
1216 2018-12-08 Pedro Alves <palves@redhat.com>
1217
1218 * gdb.base/list.exp (test_forward_search): Rename to ...
1219 (test_forward_reverse_search): ... this. Also test reverse-search
1220 and the forward-search alias.
1221
1222 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1223
1224 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1225 local timeout variable before return, and remove all local timeout
1226 variable entirely.
1227 (gdb_load): Likewise.
1228
1229 2018-12-01 Tom de Vries <tdevries@suse.de>
1230
1231 * gdb.base/gdb-caching-proc.exp: New file.
1232
1233 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1234
1235 * Makefile.in (TIMESTAMP): New variable.
1236 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1237 command.
1238 (check-single-racy): Likewise.
1239 (check/%.exp): Likewise.
1240 (check-racy/%.exp): Likewise.
1241 (workers/%.worker): Likewise.
1242 (build-perf): Likewise.
1243 (check-perf): Likewise.
1244 * README: Describe new "TS" and "TS_FORMAT" variables.
1245 * print-ts.py: New file.
1246
1247 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1248
1249 PR python/23714
1250 * gdb.python/python.exp: Test command repetition after
1251 gdb.execute.
1252
1253 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1254
1255 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1256 is correctly aligned.
1257
1258 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1259
1260 * gdb.ada/info_auto_lang.exp: New testcase.
1261 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1262 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1263 * gdb.ada/info_auto_lang/some_c.c: New file.
1264
1265 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1266
1267 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1268 FUNC_lang language syntax.
1269
1270 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1271
1272 * gdb.base/info_minsym.c: New file.
1273 * gdb.base/info_minsym.exp: New file.
1274
1275 2018-11-19 Tom Tromey <tom@tromey.com>
1276
1277 PR rust/23625:
1278 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1279 * gdb.rust/expr.exp: Update expected output. Change one test.
1280
1281 2018-11-19 Tom Tromey <tom@tromey.com>
1282
1283 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1284
1285 2018-11-19 Pedro Alves <palves@redhat.com>
1286
1287 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1288 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1289 see the expected warning.
1290
1291 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1292
1293 PR gdb/22736:
1294 * gdb.cp/infcall-nodebug-lib.c: New test.
1295 * gdb.cp/infcall-nodebug-main.c: New test.
1296 * gdb.cp/infcall-nodebug.exp: New file.
1297
1298 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1299
1300 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1301 completer tests.
1302
1303 2018-11-09 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.base/msym-lang.c: New test.
1306 * gdb.base/msym-lang.exp: New file.
1307 * gdb.base/msym-lang-main.c: New test.
1308
1309 2018-11-08 Tom Tromey <tom@tromey.com>
1310
1311 PR gdb/23555:
1312 PR gdb/23838:
1313 * gdb.base/warning.exp: New file.
1314
1315 2018-11-08 Jan Beulich <jbeulich@suse.com>
1316
1317 * testsuite/gdb.arch/i386-avx512.c,
1318 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1319
1320 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1323 point hardware.
1324
1325 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1328 * gdb.dwarf2/missing-type-name.exp: New file.
1329
1330 2018-11-06 Tom de Vries <tdevries@suse.de>
1331
1332 * gdb.base/many-headers.c: New test.
1333 * gdb.base/many-headers.exp: New file.
1334
1335 2018-11-06 Jim Wilson <jimw@sifive.com>
1336
1337 * gdb.base/code_elim.exp: For riscv, set additional_flags
1338 to include -msmall-data-limit=0.
1339
1340 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1341
1342 * gdb.ada/watch_minus_l: New testcase.
1343
1344 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1345
1346 * gdb.arch/aix-sighandle.c: New file.
1347 * gdb.arch/aix-sighandle.exp: New file.
1348
1349 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1352 registers being unions.
1353
1354 2018-10-31 Tom de Vries <tdevries@suse.de>
1355
1356 * lib/valgrind.exp: New file.
1357 (vgdb_start, vgdb_stop): New procs, factored out of ...
1358 * gdb.base/valgrind-bt.exp: ... here, ...
1359 * gdb.base/valgrind-disp-step.exp: ... here and ...
1360 * gdb.base/valgrind-infcall.exp: ... here.
1361
1362 2018-10-31 Tom de Vries <tdevries@suse.de>
1363
1364 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1365
1366 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 * gdb.dwarf2/void-type.c: New file.
1369 * gdb.dwarf2/void-type.exp: New file.
1370
1371 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1372
1373 * gdb.base/info_qt.c: New file.
1374 * gdb.base/info_qt.exp: New file.
1375
1376 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1377
1378 * gdb.arch/powerpc-htm-regs.c: New file.
1379 * gdb.arch/powerpc-htm-regs.exp: New file.
1380
1381 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1382
1383 * gdb.arch/powerpc-tar.c: New file.
1384 * gdb.arch/powerpc-tar.exp: New file.
1385
1386 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1387
1388 * gdb.arch/powerpc-ppr-dscr.c: New file.
1389 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1390
1391 2018-10-25 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1394
1395 2018-10-24 Tom de Vries <tdevries@suse.de>
1396
1397 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1398 longer exists error.
1399
1400 2018-10-24 Tom de Vries <tdevries@suse.de>
1401
1402 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1403
1404 2018-10-24 Tom de Vries <tdevries@suse.de>
1405
1406 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1407 --db-attach in valgrind.
1408
1409 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1410
1411 * gdb.arch/riscv-reg-aliases.c: New file.
1412 * gdb.arch/riscv-reg-aliases.exp: New file.
1413
1414 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1415
1416 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1417
1418 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1419
1420 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1421
1422 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1423
1424 * gdb.cp/ovldbreak.exp: Fix regexps.
1425
1426 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1427
1428 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1429
1430 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1431
1432 PR cli/23785
1433 * gdb.base/restore.exp: New test to check if "restore" with an
1434 invalid file doesn't segfault.
1435
1436 2018-10-18 Tom de Vries <tdevries@suse.de>
1437
1438 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1439 * gdb.ada/excep_handle.exp: Same.
1440 * gdb.ada/mi_string_access.exp: Same.
1441 * gdb.ada/mi_var_union.exp: Same.
1442 * gdb.arch/arc-analyze-prologue.exp: Same.
1443 * gdb.arch/arc-decode-insn.exp: Same.
1444 * gdb.base/readnever.exp: Same.
1445 * gdb.fortran/printing-types.exp: Same.
1446 * gdb.guile/scm-lazy-string.exp: Same.
1447
1448 2018-10-16 Tom de Vries <tdevries@suse.de>
1449
1450 PR gdb/23730
1451 * gdb.base/catch-follow-exec.c: Add copyright notice.
1452 * gdb.base/catch-follow-exec.exp: Rewrite to use
1453 gdb_spawn_with_cmdline_opts. Require gdb-native.
1454
1455 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1456
1457 * gdb.trace/actions-changed.exp: Check for arch support.
1458 * gdb.trace/actions.exp: Likewise.
1459 * gdb.trace/ax.exp: Likewise.
1460 * gdb.trace/backtrace.exp: Likewise.
1461 * gdb.trace/change-loc.exp: Likewise.
1462 * gdb.trace/deltrace.exp: Likewise.
1463 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1464 * gdb.trace/ftrace.exp: Likewise.
1465 * gdb.trace/infotrace.exp: Check for arch support.
1466 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1467 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1468 * gdb.trace/mi-tsv-changed.exp: Likewise.
1469 * gdb.trace/packetlen.exp: Likewise.
1470 * gdb.trace/passc-dyn.exp: Likewise.
1471 * gdb.trace/passcount.exp: Likewise.
1472 * gdb.trace/pending.exp: Likewise.
1473 * gdb.trace/range-stepping.exp: Check for shlib support.
1474 * gdb.trace/report.exp: Check for arch support.
1475 * gdb.trace/save-trace.exp: Likewise.
1476 * gdb.trace/signal.exp: Check for signal support.
1477 * gdb.trace/tfind.exp: Check for arch support.
1478 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1479 * gdb.trace/trace-common.h: Add comment.
1480 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1481 * gdb.trace/trace-enable-disable.exp: Likewise.
1482 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1483 * gdb.trace/tracecmd.exp: Check for arch support.
1484 * gdb.trace/tspeed.exp: Check for shlib and target support.
1485 * gdb.trace/tstatus.exp: Check for arch support.
1486 * gdb.trace/tsv.exp: Likewise.
1487 * gdb.trace/while-dyn.exp: Likewise.
1488 * gdb.trace/while-stepping.exp: Likewise.
1489 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1490
1491 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1492
1493 * gdb.trace/tspeed.exp: Remove nowarnings.
1494 (prepare_for_trace_test): Declare "global ipalib".
1495 * gdb.trace/tspeed.c: Include unistd.h.
1496 (main): Remove superfluous printf argument.
1497
1498 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1499
1500 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1501 directory prefix on the filename.
1502
1503 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1504
1505 * gdb.gdb/unittest.exp: Update expected message informing that
1506 selftests have been disabled.
1507 * gdb.server/unittest.exp: Likewise.
1508
1509 2018-10-09 Tom de Vries <tdevries@suse.de>
1510
1511 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1512 with runto_main.
1513
1514 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1515
1516 PR c++/16841
1517 * gdb.cp/virtbase2.cc: New file.
1518 * gdb.cp/virtbase2.exp: New file.
1519
1520 2018-10-06 Tom Tromey <tom@tromey.com>
1521
1522 PR python/19399:
1523 * gdb.python/py-inferior.exp: Add architecture test.
1524
1525 2018-10-06 Tom Tromey <tom@tromey.com>
1526
1527 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1528 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1529
1530 2018-10-06 Tom Tromey <tom@tromey.com>
1531
1532 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1533 of a "throw" catchpoint.
1534
1535 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1536
1537 * gdb.base/info-proc.exp: Update string expected from "help info
1538 proc".
1539
1540 2018-10-04 Tom Tromey <tom@tromey.com>
1541
1542 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1543 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1544 (test_initial_complaints, test_empty_complaints): Update.
1545 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1546
1547 2018-10-04 Tom Tromey <tom@tromey.com>
1548
1549 PR cli/19551:
1550 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1551 * lib/gdb.exp (gdb_file_cmd): Update.
1552 * gdb.stabs/weird.exp (print_weird_var): Update.
1553 * gdb.server/solib-list.exp: Update.
1554 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1555 * gdb.mi/mi-cli.exp: Update.
1556 * gdb.linespec/linespec.exp: Update.
1557 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1558 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1559 * gdb.cp/cp-relocate.exp: Update.
1560 * gdb.base/sym-file.exp: Update.
1561 * gdb.base/relocate.exp: Update.
1562 * gdb.base/readnever.exp: Update.
1563 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1564 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1565 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1566 * gdb.base/code_elim.exp: Update.
1567 * gdb.base/break-unload-file.exp (test_break): Update.
1568 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1569 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1570 Update.
1571 * gdb.base/attach.exp (do_attach_tests): Update.
1572 * gdb.base/sepdebug.exp: Update.
1573 * gdb.python/py-section-script.exp: Update.
1574
1575 2018-10-04 Tom Tromey <tom@tromey.com>
1576
1577 PR cli/22234:
1578 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1579 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1580 output.
1581
1582 2018-10-04 Tom Tromey <tom@tromey.com>
1583
1584 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1585 set width and height to 0.
1586 (test_command_line_attach_run): Use -quiet.
1587
1588 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1589
1590 * lib/gdb.exp (skip_ifunc_tests): New.
1591 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1592 other compile failures.
1593 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1594
1595 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1596
1597 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1598 is_amd64_regs_target.
1599
1600 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1601
1602 * gdb.arch/aarch64-sighandler-regs.c: New test.
1603 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1604 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1605
1606 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1607
1608 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1609 assembly.
1610
1611 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1612
1613 * gdb.base/frame-selection.exp: New file.
1614 * gdb.base/frame-selection.c: New file.
1615
1616 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1617
1618 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1619 pthread barrier.
1620 (main): Likewise.
1621
1622 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1623
1624 * gdb.base/large-frame-1.c: New file.
1625 * gdb.base/large-frame-2.c: New file.
1626 * gdb.base/large-frame.exp: New file.
1627 * gdb.base/large-frame.h: New file.
1628
1629 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1630
1631 PR gdb/20948
1632 * gdb.base/write_mem.exp: New test.
1633 * gdb.base/write_mem.c: Likewise.
1634
1635 2018-09-23 Tom Tromey <tom@tromey.com>
1636
1637 PR python/18852:
1638 * gdb.python/py-parameter.exp: Add test for parameter that throws
1639 on "set".
1640
1641 2018-09-23 Tom Tromey <tom@tromey.com>
1642
1643 PR python/17284:
1644 * gdb.python/py-template.exp (test_template_arg): Add test for
1645 negative template argument number.
1646
1647 2018-09-23 Tom Tromey <tom@tromey.com>
1648
1649 PR python/14062:
1650 * gdb.python/python.exp: Add test for post_event error.
1651
1652 2018-09-23 Tom Tromey <tom@tromey.com>
1653
1654 PR python/18170:
1655 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1656 convert pointers to int and long.
1657
1658 2018-09-23 Tom Tromey <tom@tromey.com>
1659
1660 PR python/20126:
1661 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1662 signed-ness conversion tests.
1663
1664 2018-09-23 Tom Tromey <tom@tromey.com>
1665
1666 PR python/18352;
1667 * gdb.python/py-value.exp (test_float_conversion): New proc.
1668 Use it.
1669
1670 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1671
1672 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1673
1674 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1675
1676 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1677 no readline.
1678 * gdb.base/utf8-identifiers.exp: Likewise.
1679 * gdb.cp/cpcompletion.exp: Likewise.
1680 * gdb.linespec/cpcompletion.exp: Likewise.
1681 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1682 * gdb.linespec/cpls-ops.exp: Likewise.
1683
1684 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1685 Chris January <chris.january@arm.com>
1686
1687 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1688 * gdb.fortran/short-circuit-argument-list.exp: New file.
1689 * gdb.fortran/short-circuit-argument-list.f90: New test.
1690
1691 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1692
1693 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1694 "arch=" keyword when executing "-stack-list-frames".
1695
1696 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1697
1698 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1699 "arch=" keyword when executing "-stack-list-frames".
1700
1701 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1702
1703 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1704 break ada".
1705
1706 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1707
1708 PR python/23669
1709 * gdb.python/python.exp: Test gdb.execute("show commands").
1710
1711 2018-09-16 Tom Tromey <tom@tromey.com>
1712
1713 * gdb.base/new-ui.exp (do_execution_tests): Update.
1714 * gdb.base/dbx.exp (test_breakpoints): Update.
1715
1716 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1717
1718 * lib/gdb.exp (gdb_simple_compile): Add proc.
1719 (is_elf_target): Use gdb_simple_compile.
1720 (skip_altivec_tests): Likewise.
1721 (skip_vsx_tests): Likewise.
1722 (skip_tsx_tests): Likewise.
1723 (skip_btrace_tests): Likewise.
1724 (skip_btrace_pt_tests): Likewise.
1725 (gdb_can_simple_compile): Likewise.
1726 (gdb_has_argv0): Likewise.
1727 (gdb_target_symbol_prefix): Likewise.
1728 (target_supports_scheduler_locking): Likewise.
1729
1730 2018-09-13 Tom Tromey <tom@tromey.com>
1731
1732 * Makefile.in (TAGS): Recognize proc_with_prefix and
1733 gdb_caching_proc.
1734
1735 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1736
1737 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1738 method.
1739
1740 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1741
1742 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1743 and a few other Inferior properties when the Inferior is no
1744 longer valid.
1745
1746 2018-09-13 Tom Tromey <tom@tromey.com>
1747
1748 PR rust/23650:
1749 * gdb.rust/simple.exp: Add test for enum field access error.
1750
1751 2018-09-13 Tom Tromey <tom@tromey.com>
1752
1753 PR rust/23626:
1754 * gdb.rust/simple.rs (EmptyEnum): New type.
1755 (main): Use it.
1756 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1757
1758 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1759
1760 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1761 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1762 * gdb.python/py-symtab.exp: Update test printing an objfile.
1763
1764 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1765
1766 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1767 object.
1768
1769 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1770
1771 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1772 (support_complex_tests): Use gdb_can_simple_compile.
1773 (is_ilp32_target): Likewise.
1774 (is_lp64_target): Likewise.
1775 (is_64_target): Likewise.
1776 (is_amd64_regs_target): Likewise.
1777 (is_aarch32_target): Likewise.
1778 (gdb_int128_helper): Likewise.
1779
1780 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1781
1782 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1783
1784 2018-09-10 Jerome Guitton <guitton@adacore.com>
1785
1786 * gdb.ada/same_component_name: Add test for case of tagged record
1787 with variable-length fields.
1788
1789 2018-09-10 Xavier Roirand <roirand@adacore.com>
1790
1791 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1792 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1793 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1794 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1795
1796 2018-09-10 Xavier Roirand <roirand@adacore.com>
1797
1798 * gdb.ada/mi_string_access.exp: New testcase.
1799 * gdb.ada/mi_string_access/bar.adb: New file.
1800 * gdb.ada/mi_string_access/pck.adb: New file.
1801 * gdb.ada/mi_string_access/pck.asd: New file.
1802
1803 2018-09-10 Xavier Roirand <roirand@adacore.com>
1804
1805 * gdb.ada/mi_var_union.exp: New testcase.
1806 * gdb.ada/mi_var_union/bar.adb: New file.
1807 * gdb.ada/mi_var_union/pck.adb: New file.
1808 * gdb.ada/mi_var_union/pck.asd: New file.
1809
1810 2018-09-08 Tom Tromey <tom@tromey.com>
1811
1812 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1813
1814 2018-09-08 Tom Tromey <tom@tromey.com>
1815
1816 PR python/16047:
1817 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1818 (register_pretty_printers): Register new printer.
1819 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1820 test.
1821 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1822 (an_int_type3): New global.
1823
1824 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1825
1826 * gdb.ada/expr_with_funcall: New testcase.
1827
1828 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1829
1830 * gdb.ada/packed_array_assign: New testcase.
1831
1832 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1833
1834 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1835 names, and add test prefixes to make test names unique.
1836
1837 2018-09-05 Tom de Vries <tdevries@suse.de>
1838
1839 * gdb.dwarf2/varval.exp: Add test.
1840
1841 2018-09-04 Gary Benson <gbenson@redhat.com>
1842
1843 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1844 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1845
1846 2018-08-31 Tom Tromey <tom@tromey.com>
1847
1848 * gdb.rust/simple.rs: Rename second variable "v".
1849
1850 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1851
1852 * gdb.base/funcargs.c (use_a): New function.
1853 (recurse): Call use_a.
1854
1855 2018-08-29 Keith Seitz <keiths@redhat.com>
1856
1857 * gdb.compile/compile-cplus-anonymous.cc: New file.
1858 * gdb.compile/compile-cplus-anonymous.exp: New file.
1859 * gdb.compile/compile-cplus-array-decay.cc: New file.
1860 * gdb.compile/compile-cplus-array-decay.exp: New file.
1861 * gdb.compile/compile-cplus-inherit.cc: New file.
1862 * gdb.compile/compile-cplus-inherit.exp: New file.
1863 * gdb.compile/compile-cplus-member.cc: New file.
1864 * gdb.compile/compile-cplus-member.exp: New file.
1865 * gdb.compile/compile-cplus-method.cc: New file.
1866 * gdb.compile/compile-cplus-method.exp: New file.
1867 * gdb.compile/compile-cplus-mod.c: "New" file.
1868 * gdb.compile/compile-cplus-namespace.cc: New file.
1869 * gdb.compile/compile-cplus-namespace.exp: New file.
1870 * gdb.compile/compile-cplus-nested.cc: New file.
1871 * gdb.compile/compile-cplus-nested.exp: New file.
1872 * gdb.compile/compile-cplus-print.c: "New" file.
1873 * gdb.compile/compile-cplus-print.exp: "New" file.
1874 * gdb.compile/compile-cplus-virtual.cc: New file.
1875 * gdb.compile/compile-cplus-virtual.exp: New file.
1876 * gdb.compile/compile-cplus.c: "New" file.
1877 * gdb.compile/compile-cplus.exp: "New" file.
1878 * lib/compile-support.exp: New file.
1879
1880 2018-08-16 Gary Benson <gbenson@redhat.com>
1881
1882 PR gdb/13000:
1883 * gdb.base/batch-exit-status.exp: New file.
1884 * gdb.base/batch-exit-status.good-commands: Likewise.
1885 * gdb.base/batch-exit-status.bad-commands: Likewise.
1886
1887 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1888
1889 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1890 (struct struct02): Likewise.
1891 (struct struct03): Likewise.
1892 (struct struct04): Likewise.
1893 (struct struct_01_01): New struct.
1894 (struct struct_01_02): Likewise.
1895 (struct struct_01_03): Likewise.
1896 (struct struct_01_04): Likewise.
1897 (struct struct_02_01): Likewise.
1898 (struct struct_02_02): Likewise.
1899 (struct struct_02_03): Likewise.
1900 (struct struct_02_04): Likewise.
1901 (struct struct_04_01): Likewise.
1902 (struct struct_04_02): Likewise.
1903 (struct struct_04_03): Likewise.
1904 (struct struct_04_04): Likewise.
1905 (struct struct_05_01): Likewise.
1906 (struct struct_05_02): Likewise.
1907 (struct struct_05_03): Likewise.
1908 (struct struct_05_04): Likewise.
1909 (cmp_struct01): Remove function.
1910 (cmp_struct02): Likewise.
1911 (cmp_struct03): Likewise.
1912 (cmp_struct04): Likewise.
1913 (cmp_struct_01_01): Add Function.
1914 (cmp_struct_01_02): Likewise.
1915 (cmp_struct_01_03): Likewise.
1916 (cmp_struct_01_04): Likewise.
1917 (cmp_struct_02_01): Likewise.
1918 (cmp_struct_02_02): Likewise.
1919 (cmp_struct_02_03): Likewise.
1920 (cmp_struct_02_04): Likewise.
1921 (cmp_struct_04_01): Likewise.
1922 (cmp_struct_04_02): Likewise.
1923 (cmp_struct_04_03): Likewise.
1924 (cmp_struct_04_04): Likewise.
1925 (cmp_struct_05_01): Likewise.
1926 (cmp_struct_05_02): Likewise.
1927 (cmp_struct_05_03): Likewise.
1928 (cmp_struct_05_04): Likewise.
1929 (call_all): Add new structs.
1930 * gdb.base/infcall-nested-structs.exp: Likewise.
1931
1932 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1933
1934 * gdb.python/py-framefilter-mi.exp: Update regexp to
1935 check for "arch" field in frame output.
1936
1937 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1938
1939 * gdb.dwarf2/dw2-ranges-func.c: New file.
1940 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1941
1942 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1943
1944 * gdb.base/term.exp: Compare terminal settings with values from
1945 the inferior.
1946 * gdb.base/term.c: Get and set terminal settings.
1947
1948 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1949
1950 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1951 accommodate new "arch" field in frame output.
1952 * gdb.mi/mi-return.exp: Likewise.
1953 * gdb.mi/mi-stack.exp: Likewise.
1954 * gdb.mi/mi-syn-frame.exp: Likewise.
1955 * gdb.mi/user-selected-context-sync.exp: Likewise.
1956
1957 2018-08-19 Michael Spang <spang@google.com>
1958
1959 PR gdb/11786
1960 * gdb.base/gcore-tls-pie.c: New file.
1961 * gdb.base/gcore-tls-pie.exp: New file.
1962
1963 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1964
1965 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1966 * gdb.dwarf2/varval.c: New file.
1967 * gdb.dwarf2/varval.exp: New file.
1968
1969 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1970
1971 PR gdb/18931
1972 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1973
1974 2018-08-16 Keith Seitz <keiths@redhat.com>
1975
1976 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1977 tests expected to pass.
1978
1979 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1980
1981 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1982 -data-disassemble -a.
1983 (test_disassembly_bogus_args): Likewise.
1984
1985 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1986
1987 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1988
1989 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1990
1991 * gdb.base/vla-optimized-out.exp: Add new test.
1992
1993 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1994
1995 * gdb.base/vla-optimized-out-o3.exp: Delete.
1996 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1997 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1998 deleted tests.
1999
2000 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2001
2002 PR gdb/18050:
2003 * gdb.server/extended-remote-restart.c: New file.
2004 * gdb.server/extended-remote-restart.exp: New file.
2005
2006 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2007
2008 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2009 "set variable index = 42".
2010
2011 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2012
2013 * boards/index-cache-gdb.exp: New file.
2014 * gdb.dwarf2/index-cache.exp: New file.
2015 * gdb.dwarf2/index-cache.c: New file.
2016 * gdb.base/maint.exp: Check if we are using the index cache.
2017
2018 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2019
2020 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2021 MAKEFLAGS.
2022
2023 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2024
2025 * dg-extract-results.sh: Move to toplevel contrib.
2026 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2027 * Makefile.in (check-parallel-racy): Likewise.
2028
2029 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2030
2031 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2032 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2033 tests if the target supports scheduler locking.
2034
2035 2018-08-04 Tom de Vries <tdevries@suse.de>
2036
2037 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2038
2039 2018-08-02 Tom Tromey <tom@tromey.com>
2040
2041 PR symtab/16842.
2042 * gdb.cp/temargs.exp: Test "info address" of a template
2043 parameter.
2044
2045 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2046
2047 * gdb.python/py-mi-var-info-path-expression.c: New file.
2048 * gdb.python/py-mi-var-info-path-expression.py: New file.
2049 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2050
2051 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2052
2053 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2054 error after "cannot resolve name" string.
2055
2056 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2057
2058 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2059 started.
2060 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2061
2062 2018-07-28 Tom de Vries <tdevries@suse.de>
2063
2064 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2065
2066 2018-07-26 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2069
2070 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2071
2072 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2073 is visible.
2074
2075 2018-07-26 Tom de Vries <tdevries@suse.de>
2076
2077 PR breakpoints/23366
2078 * gdb.base/catch-follow-exec.c: New test.
2079 * gdb.base/catch-follow-exec.exp: New file.
2080
2081 2018-07-25 Tom de Vries <tdevries@suse.de>
2082
2083 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2084 vla-optimized-out.c.
2085
2086 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2087
2088 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2089 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2090
2091 2018-07-20 Tom de Vries <tdevries@suse.de>
2092
2093 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2094 NOCLONE macro.
2095 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2096
2097 2018-07-19 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2100 regular expression.
2101
2102 2018-07-18 Tom de Vries <tdevries@suse.de>
2103
2104 * gdb.base/vla-optimized-out.c: New test.
2105 * gdb.base/vla-optimized-out.exp: New file.
2106
2107 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2108
2109 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2110 message "No address associated with hostname" when gdbserver
2111 cannot resolve the hostname.
2112
2113 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2114
2115 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2116 Add some test prefixes to make tests unique.
2117
2118 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2119
2120 * gdb.base/frameapply.c: New file.
2121 * gdb.base/frameapply.exp: New file.
2122
2123 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2124
2125 * gdb.base/skip.exp: Update expected error message.
2126
2127 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2128 Jan Kratochvil <jan.kratochvil@redhat.com>
2129 Paul Fertser <fercerpav@gmail.com>
2130 Tsutomu Seki <sekiriki@gmail.com>
2131
2132 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2133 parameter.
2134 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2135 by default.
2136 * boards/native-gdbserver.exp: Likewise.
2137 * gdb.server/run-without-local-binary.exp: Improve regexp used
2138 for detecting when a remote debugging connection succeeds.
2139 * gdb.server/server-connect.exp: New file.
2140 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2141 Do not prefix the port number with ":".
2142 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2143 support for detecting and using it. Add '$debughost_gdbserver'
2144 to the list of arguments used to start gdbserver. Handle case
2145 when gdbserver cannot resolve a network name.
2146
2147 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2148
2149 PR c++/23373
2150 * gdb.base/ptype-offsets.cc (struct static_member): New
2151 struct.
2152 (main) <stmember>: New variable.
2153 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2154 with a static member in it.
2155
2156 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2159 watchpoints enabled and disabled.
2160
2161 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 * gdb.base/examine-backward.exp: Still run tests around address
2164 0x0, even if address 0x0 is not readable. Update the pattern for
2165 matching address 0x0 in expected output.
2166
2167 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2168
2169 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2170 malloc/free.
2171
2172 2018-07-04 Tom de Vries <tdevries@suse.de>
2173
2174 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2175
2176 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2177
2178 PR tdep/8282
2179 * gdb.arch/mips-disassembler-options.exp: New test.
2180 * gdb.arch/mips-disassembler-options.s: New test source.
2181
2182 2018-06-29 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.threads/names.exp: Adjust expected "info threads" output.
2185
2186 2018-06-29 Pedro Alves <palves@redhat.com>
2187
2188 * gdb.opt/inline-break.exp (line number, address): Add "info
2189 break" tests.
2190
2191 2018-06-29 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2194 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2195 number and address and running to them.
2196
2197 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2198
2199 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2200
2201 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 * lib/compiler.c: Remove executable permission flag.
2204
2205 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2206
2207 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2208 code.
2209 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2210
2211 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2212
2213 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2214
2215 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2216
2217 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2218 address argument is omitted.
2219
2220 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2221
2222 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2223
2224 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2225
2226 PR gdb/21695
2227 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2228 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2229
2230 2018-06-26 Tom Tromey <tom@tromey.com>
2231
2232 PR rust/22574:
2233 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2234 * gdb.rust/simple.rs (struct SimpleLayout): New.
2235
2236 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2237
2238 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2239 "info registers" output.
2240
2241 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2242
2243 * gdb.base/watchpoint-hw-attach.c: New test.
2244 * gdb.base/watchpoint-hw-attach.exp: New file.
2245
2246 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2247
2248 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2249 through /bin/sh.
2250 * boards/dwarf4-gdb-index.exp: Likewise.
2251 * boards/fission-dwp.exp: Likewise.
2252
2253 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2254
2255 * gdb.base/float128.exp: Add comment and improved fail message
2256 to the failure case of "print large128" test.
2257
2258 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2259
2260 * configure.ac: Remove AC_PREREQ.
2261 * configure: Re-generate.
2262
2263 2018-06-19 Pedro Alves <palves@redhat.com>
2264
2265 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2266 (func_extern_caller): New.
2267 (main): Call func_extern_caller.
2268 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2269 logic change.
2270
2271 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2272
2273 PR gdb/16841
2274 * gdb.cp/typedef-base.cc: New file.
2275 * gdb.cp/typedef-base.exp: New file.
2276
2277 2018-06-18 Tom de Vries <tdevries@suse.de>
2278
2279 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2280
2281 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2282 Richard Bunt <Richard.Bunt@arm.com>
2283
2284 * gdb.threads/attach-slow-waitpid.c: New file.
2285 * gdb.threads/attach-slow-waitpid.exp: New file.
2286 * gdb.threads/slow-waitpid.c: New file.
2287
2288 2018-06-14 Pedro Alves <palves@redhat.com>
2289
2290 * gdb.base/fork-running-state.c: Include <errno.h>.
2291 (exit_if_relative_exits): New.
2292 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2293 exits.
2294 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2295 child exits.
2296
2297 2018-06-14 Tom de Vries <tdevries@suse.de>
2298
2299 PR cli/22573
2300 * gdb.base/finish-pretty.c: New test.
2301 * gdb.base/finish-pretty.exp: New file.
2302
2303 2018-06-14 Pedro Alves <palves@redhat.com>
2304
2305 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2306 gdb's expected startup output.
2307
2308 2018-06-14 Pedro Alves <palves@redhat.com>
2309
2310 * lib/selftest-support.exp (selftest_setup): Remove inlined
2311 function handling.
2312
2313 2018-06-14 Tom de Vries <tdevries@suse.de>
2314
2315 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2316 matching of breakpoint printing.
2317
2318 2018-06-13 Tom de Vries <tdevries@suse.de>
2319
2320 PR testsuite/23269
2321 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2322 (fork_child): ... here, and ...
2323 (fork_parent): ... here.
2324
2325 2018-06-12 Tom de Vries <tdevries@suse.de>
2326
2327 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2328
2329 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2330 Stephen Roberts <stephen.roberts@arm.com>
2331
2332 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2333 rewrite test to describe action performed, rather than possible
2334 failure.
2335
2336 2018-06-08 Gary Benson <gbenson@redhat.com>
2337
2338 * gdb.threads/check-libthread-db.exp: New file.
2339 * gdb.threads/check-libthread-db.c: Likewise.
2340
2341 2018-06-05 Tom Tromey <tom@tromey.com>
2342
2343 * gdb.base/default.exp: Update expected "show version" output.
2344
2345 2018-06-05 Tom Tromey <tom@tromey.com>
2346
2347 PR cli/12326:
2348 * gdb.cp/static-print-quit.exp: Update.
2349 * lib/gdb.exp (pagination_prompt): Update.
2350 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2351 * gdb.python/python.exp: Update.
2352
2353 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2354
2355 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2356
2357 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2358
2359 * gdb.ada/bp_fun_addr: New testcase.
2360
2361 2018-06-01 Tom Tromey <tom@tromey.com>
2362
2363 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2364 results.
2365 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2366 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2367 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2368 * gdb.base/maint.exp (maint_pass_if): Update.
2369
2370 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2371
2372 * gdb.base/endian.exp: New test.
2373 * gdb.base/endian.c: New test source.
2374
2375 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 PR gdb/23203
2378 * gdb.base/bt-selected-frame.c: New file.
2379 * gdb.base/bt-selected-frame.exp: New file.
2380 * lib/gdb.exp (get_current_frame_number): New function.
2381
2382 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2383 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.threads/tls-core.c: Include <stdlib.h>
2386 (thread_proc): Call `abort'.
2387 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2388 (tls_core_test): New procedure, bits factored out from ...
2389 (top level): ... here. Test both native cores and gcore cores.
2390
2391 2018-05-23 Tom Tromey <tom@tromey.com>
2392
2393 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2394
2395 2018-05-23 Tom Tromey <tom@tromey.com>
2396
2397 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2398 symfile_complaints.
2399 (test_short_complaints): Likewise.
2400 (test_empty_complaints): Likewise.
2401 (test_initial_complaints): Update.
2402
2403 2018-05-23 Tom Tromey <tom@tromey.com>
2404
2405 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2406
2407 2018-05-23 Tom Tromey <tom@tromey.com>
2408
2409 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2410 (test_short_complaints): Update.
2411
2412 2018-05-22 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.base/remote.exp: Only gdb_start after compiling the
2415 testcase. Issue "disconnect" before testing "set remote" command
2416 defaults. Issue clean_restart before running to main.
2417
2418 2018-05-22 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.base/remote.exp: Adjust expected output of "show remote
2421 memory-write-packet-size". Add tests for "set remote
2422 memory-write-packet-size 0" and "set remote
2423 memory-write-packet-size fixed/limit".
2424
2425 2018-05-22 Pedro Alves <palves@redhat.com>
2426
2427 PR gdb/22973
2428 * gdb.base/utf8-identifiers.c: New file.
2429 * gdb.base/utf8-identifiers.exp: New file.
2430
2431 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2432
2433 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2434
2435 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2436
2437 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2438
2439 2018-05-18 Tom Tromey <tom@tromey.com>
2440
2441 * gdb.base/ptype-offsets.exp: Update.
2442
2443 2018-05-17 Keith Seitz <keiths@redhat.com>
2444
2445 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2446 in expected breakpoint stop locations.
2447 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2448 move to proper scope to test variable values.
2449 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2450 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2451 New functions.
2452 (main): Call not_inline_func3.
2453 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2454 inline_func1, inline_func2, and inline_func3. Test that when each
2455 breakpoint is hit, GDB properly reports both the stop location
2456 and the backtrace. Repeat tests for temporary breakpoints.
2457
2458 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2459
2460 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2461 rather then trying to access it in determining whether the PID
2462 of `gdbserver' could have been retrieved.
2463
2464 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2465
2466 * gdb.arch/amd64-init-x87-values.S: New file.
2467 * gdb.arch/amd64-init-x87-values.exp: New file.
2468
2469 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2470
2471 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2472
2473 2018-05-04 Tom Tromey <tom@tromey.com>
2474
2475 PR python/22730:
2476 * gdb.python/python.exp: Test multi-line execute.
2477
2478 2018-05-04 Tom Tromey <tom@tromey.com>
2479
2480 PR python/22731:
2481 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2482
2483 2018-05-04 Tom Tromey <tom@tromey.com>
2484
2485 PR gdb/11750:
2486 * gdb.base/define.exp: Test defining a user command inside a user
2487 command.
2488 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2489
2490 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2491 Pedro Alves <palves@redhat.com>
2492
2493 PR breakpoints/19806 and support for PR external/20207.
2494 * gdb.base/watchpoint-unaligned.c: New file.
2495 * gdb.base/watchpoint-unaligned.exp: New file.
2496
2497 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2498
2499 * gdb.base/maint.exp: Make test names unique, use
2500 test_prefix_command_help to test 'help maint info', and remove
2501 repeated test of 'help maint'.
2502
2503 2018-05-04 Tom Tromey <tom@tromey.com>
2504
2505 PR gdb/22619:
2506 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2507 behavior.
2508
2509 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2510
2511 * gdb.base/maint.exp: Process output from 'maint print registers'
2512 line at a time.
2513
2514 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2515
2516 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2517 timeout.
2518
2519 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2522 filter pattern.
2523
2524 2018-05-02 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2527 to_log_command renames.
2528 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2529
2530 2018-05-02 Tom Tromey <tom@tromey.com>
2531
2532 * gdb.python/py-parameter.exp: Set test message.
2533
2534 2018-05-02 Tom Tromey <tom@tromey.com>
2535
2536 PR python/20084:
2537 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2538 PARAM_ZUINTEGER_UNLIMITED tests.
2539
2540 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2541
2542 PR rust/23124
2543 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2544 when casting.
2545
2546 2018-04-30 Tom Tromey <tom@tromey.com>
2547
2548 * gdb.python/py-type.exp: Check align attribute.
2549 * gdb.python/py-type.c: New "aligncheck" global.
2550
2551 2018-04-30 Tom Tromey <tom@tromey.com>
2552
2553 PR exp/17095:
2554 * gdb.dwarf2/dw2-align.exp: New file.
2555 * gdb.cp/align.exp: New file.
2556 * gdb.base/align.exp: New file.
2557 * lib/gdb.exp (gdb_int128_helper): New proc.
2558 (has_int128_c, has_int128_cxx): New caching procs.
2559
2560 2018-04-27 Tom Tromey <tom@tromey.com>
2561
2562 PR rust/22545:
2563 * gdb.rust/simple.exp: Add inclusive range tests.
2564
2565 2018-04-26 Pedro Alves <palves@redhat.com>
2566
2567 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2568 ifunc breakpoint locations correctly of ifunc breakpoints set
2569 while the program resolves the ifunc.
2570
2571 2018-04-26 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.base/gnu-ifunc-final.c: New file.
2574 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2575 * gdb.base/gnu-ifunc.exp (executable): Delete.
2576 (staticexecutable): Adjust.
2577 (lib_opts, exec_opts): Delete.
2578 (make_binsuffix, build, set-break): New procedures.
2579 (misc_tests): New, with tests factored out from the top level.
2580 (top level): Test different combinations of ifunc resolver name,
2581 resolver with and with debug info, and ifunc target with and
2582 without debug info. Wrap static tests with with_target_prefix.
2583
2584 2018-04-26 Pedro Alves <palves@redhat.com>
2585
2586 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2587 return type" warnings.
2588
2589 2018-04-25 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2592 killed".
2593 * gdb.base/kill-after-signal.exp: Likewise.
2594 * gdb.threads/kill.exp: Likewise.
2595
2596 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2597 Sergio Durigan Junior <sergiodj@redhat.com>
2598 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2601 regexps to expect for '[Inferior ... detached]' as well.
2602 * gdb.base/attach.exp: Likewise.
2603 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2604 "gdb_continue_to_end".
2605 (test_catch_syscall_with_wrong_args): Likewise.
2606 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2607 ']'. Don't set 'verbose' on.
2608 * gdb.base/foll-vfork.exp: Likewise.
2609 * gdb.base/fork-print-inferior-events.c: New file.
2610 * gdb.base/fork-print-inferior-events.exp: New file.
2611 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2612 '[Inferior ... has been killed]' message.
2613 * gdb.base/kill-after-signal.exp: Likewise.
2614 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2615 detach message.
2616 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2617 message.
2618 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2619 regexps to expect for '[Inferior ... detached]' as well.
2620 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2621
2622 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2623
2624 PR gdb/23104
2625 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2626
2627 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2628
2629 * gdb.threads/multiple-successive-infcall.c: New test.
2630 * gdb.threads/multiple-successive-infcall.exp: New file.
2631
2632 2018-04-17 Tom Tromey <tom@tromey.com>
2633
2634 * gdb.rust/simple.rs (Union): New type.
2635 (main): New local "u".
2636 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2637
2638 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2639
2640 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2641 number information in output of "whereis" command.
2642 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2643
2644 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2645
2646 * gdb.ada/info_types.exp: Adjust expected output to the line
2647 numbers now printed by "info var/func/type".
2648 * gdb.base/completion.exp: Likewise.
2649 * gdb.base/included.exp: Likewise.
2650 * gdb.cp/cp-relocate.exp: Likewise.
2651 * gdb.cp/cplusfuncs.exp: Likewise.
2652 * gdb.cp/namespace.exp: Likewise.
2653 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2654
2655 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2656
2657 * gdb.btrace/cpu.exp: New.
2658
2659 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2660
2661 * gdb.base/step-indirect-call-thunk.exp: New.
2662 * gdb.base/step-indirect-call-thunk.c: New.
2663 * gdb.reverse/step-indirect-call-thunk.exp: New.
2664 * gdb.reverse/step-indirect-call-thunk.c: New.
2665
2666 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2667
2668 * gdb.base/pie-fork.c: New file.
2669 * gdb.base/pie-fork.exp: New file.
2670
2671 2018-04-11 Tom Tromey <tom@tromey.com>
2672
2673 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2674
2675 2018-04-10 Pedro Alves <palves@redhat.com>
2676
2677 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2678 exits. Instead loop running forever.
2679 (fork_parent): Run forever too.
2680
2681 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2682
2683 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2684 mi_continue_to_line.
2685 * gdb.mi/mi-stack.c (callee4): Add comment.
2686
2687 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2688
2689 * gdb.mi/mi-stack.exp: Fix indentation.
2690
2691 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2692
2693 PR gdb/22979
2694 * gdb.arch/amd64-osabi.exp: New file.
2695
2696 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2697
2698 PR gdb/22980
2699 * gdb.base/osabi.exp: New file.
2700
2701 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2702
2703 * gdb.cp/static-typedef-print.exp: New file.
2704 * gdb.cp/static-typedef-print.cc: New file.
2705
2706 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2707
2708 * gdb.ada/varsize_limit: New testcase.
2709
2710 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2711
2712 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2713
2714 * gdb.ada/notcplusplus: New testcase.
2715
2716 * gdb.base/c-linkage-name.c: New file.
2717 * gdb.base/c-linkage-name.exp: New testcase.
2718
2719 2018-03-26 Tom Tromey <tom@tromey.com>
2720
2721 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2722 * gdb.python/py-framefilter.py (name_error): New global.
2723 (ErrorInName.function): Use name_error.
2724
2725 2018-03-26 Tom Tromey <tom@tromey.com>
2726
2727 PR backtrace/15582:
2728 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2729
2730 2018-03-23 Keith Seitz <keiths@redhat.com>
2731
2732 PR c++/22968
2733 * gdb.cp/subtypes.exp: New file.
2734 * gdb.cp/subtypes.h: New file.
2735 * gdb.cp/subtypes.cc: New file.
2736 * gdb.cp/subtypes-2.cc: New file.
2737
2738 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2739
2740 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2741 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2742 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2743 -nostartfiles when compiling the test. Confirm that all registers
2744 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2745
2746 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2747
2748 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2749 option, syntax was wrong anyway.
2750 * gdb.arch/arm-disp-step.exp: Likewise.
2751 * gdb.arch/sparc64-regs.exp: Likewise.
2752 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2753 option, syntax was wrong anyway, switch to use
2754 prepare_for_testing.
2755 * gdb.arch/i386-disp-step.exp: Likewise.
2756
2757 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2758
2759 * gdb.ada/exec_changed.exp: Replace "target_info exists
2760 use_gdb_stub" by "use_gdb_stub".
2761 * gdb.ada/start.exp: Likewise.
2762 * gdb.base/async-shell.exp: Likewise.
2763 * gdb.base/attach-pie-misread.exp: Likewise.
2764 * gdb.base/attach-wait-input.exp: Likewise.
2765 * gdb.base/break-entry.exp: Likewise.
2766 * gdb.base/break-interp.exp: Likewise.
2767 * gdb.base/dprintf-detach.exp: Likewise.
2768 * gdb.base/nostdlib.exp: Likewise.
2769 * gdb.base/solib-nodir.exp: Likewise.
2770 * gdb.base/statistics.exp: Likewise.
2771 * gdb.base/testenv.exp: Likewise.
2772 * gdb.mi/mi-exec-run.exp: Likewise.
2773 * gdb.mi/mi-start.exp: Likewise.
2774 * gdb.multi/dummy-frame-restore.exp: Likewise.
2775 * gdb.multi/multi-arch-exec.exp: Likewise.
2776 * gdb.multi/multi-arch.exp: Likewise.
2777 * gdb.multi/tids.exp: Likewise.
2778 * gdb.multi/watchpoint-multi.exp: Likewise.
2779 * gdb.python/py-events.exp: Likewise.
2780 * gdb.threads/attach-into-signal.exp: Likewise.
2781 * gdb.threads/attach-stopped.exp: Likewise.
2782 * gdb.threads/threadapply.exp: Likewise.
2783 * lib/selftest-support.exp: Likewise.
2784
2785 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2786
2787 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2788
2789 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2790
2791 * gdb.perf/template-breakpoints.cc: New file.
2792 * gdb.perf/template-breakpoints.exp: New file.
2793 * gdb.perf/template-breakpoints.py: New file.
2794
2795 2018-03-19 Tom Tromey <tom@tromey.com>
2796
2797 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2798 y0.
2799 * gdb.rust/simple.exp: Test bare identifier form of struct
2800 initializer.
2801
2802 2018-03-19 Tom Tromey <tom@tromey.com>
2803
2804 * gdb.gdb/observer.exp: Remove.
2805
2806 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2807
2808 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2809 "qualified" option when setting breakpoints.
2810 * gdb.trace/backtrace.exp: Likewise.
2811 * gdb.trace/circ.exp: Likewise.
2812 * gdb.trace/collection.exp: Likewise.
2813 * gdb.trace/disconnected-tracing.exp: Likewise.
2814 * gdb.trace/ftrace-lock.exp: Likewise.
2815 * gdb.trace/ftrace.exp: Likewise.
2816 * gdb.trace/infotrace.exp: Likewise.
2817 * gdb.trace/packetlen.exp: Likewise.
2818 * gdb.trace/passc-dyn.exp: Likewise.
2819 * gdb.trace/qtro.exp: Likewise.
2820 * gdb.trace/read-memory.exp: Likewise.
2821 * gdb.trace/report.exp: Likewise.
2822 * gdb.trace/signal.exp: Likewise.
2823 * gdb.trace/status-stop.exp: Likewise.
2824 * gdb.trace/strace.exp: Likewise.
2825 * gdb.trace/tfind.exp: Likewise.
2826 * gdb.trace/trace-break.exp: Likewise.
2827 * gdb.trace/trace-condition.exp: Likewise.
2828 * gdb.trace/trace-mt.exp: Likewise.
2829 * gdb.trace/tstatus.exp: Likewise.
2830 * gdb.trace/tsv.exp: Likewise.
2831 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2832 * gdb.trace/unavailable.exp: Likewise.
2833 * gdb.trace/while-dyn.exp: Likewise.
2834
2835 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2836
2837 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2838 that libinproctrace is copied to the target.
2839
2840 2018-03-14 Tom Tromey <tom@tromey.com>
2841
2842 PR cli/14977:
2843 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2844 a null pointer.
2845 * gdb.base/wchar.exp: Likewise.
2846
2847 2018-03-14 Tom Tromey <tom@tromey.com>
2848
2849 PR cli/19918:
2850 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2851 flag.
2852
2853 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2854
2855 PR gdb/22841
2856 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2857 "target" to remote_exec.
2858
2859 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2860
2861 PR gdb/22841
2862 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2863 ${board}_upload): Remove.
2864
2865 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2866
2867 * gdb.cp/watch-cp.cc: New test.
2868 * gdb.cp/watch-cp.exp: New file.
2869
2870 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * gdb.base/infcall-nested-structs.exp: New file.
2873 * gdb.base/infcall-nested-structs.c: New file.
2874 * gdb.base/float.exp: Add riscv support.
2875
2876 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2877
2878 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2879 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2880
2881 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2882
2883 * gdb.server/abspath.exp: New file.
2884 * lib/gdb.exp (with_cwd): New procedure.
2885
2886 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2887
2888 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2889 use it.
2890 (gdb_is_target_remote_prompt): New proc.
2891 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2892 (gdb_is_target_native): Pass prompt parameter to
2893 gdb_is_target_1.
2894
2895 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2896
2897 * gdb.base/load-command.c: New file.
2898 * gdb.base/load-command.exp: New file.
2899 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2900 (gdb_is_target_1): ...this, and generalize for other targets
2901 than just remote.
2902 (gdb_is_target_remote): Use gdb_is_target_1.
2903 (gdb_is_target_native): use gdb_is_target_1.
2904
2905 2018-02-26 Tom Tromey <tom@tromey.com>
2906
2907 PR python/16497:
2908 * gdb.python/py-framefilter.exp: Update test.
2909
2910 2018-02-26 Tom Tromey <tom@tromey.com>
2911
2912 * gdb.dwarf2/variant.c: New file.
2913 * gdb.dwarf2/variant.exp: New file.
2914
2915 2018-02-26 Tom Tromey <tom@tromey.com>
2916
2917 * gdb.rust/simple.exp: Accept more possible results in enum test.
2918
2919 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2920
2921 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2922 parentheses.
2923
2924 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2925
2926 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2927 name of a variable: $actual_linejj -> $actual_line.
2928
2929 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2930
2931 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2932
2933 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2934
2935 * gdb.btrace/buffer-size.exp: Do not force BTS.
2936
2937 2018-02-14 Pedro Alves <palves@redhat.com>
2938
2939 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2940 getting a "Quit".
2941
2942 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2943
2944 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2945 Fix test name.
2946
2947 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2948
2949 * gdb.cp/m-static.exp: Check type of optimized out static
2950 member.
2951
2952 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2953
2954 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2955 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2956
2957 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2958 Leszek Swirski <leszeks@google.com>
2959
2960 * gdb.python/py-prettyprint.c
2961 (struct to_string_returns_value_inner,
2962 struct to_string_returns_value_wrapper): New.
2963 (main): Add tsrvw variable.
2964 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2965 ToStringReturnsValueWrapper): New classes.
2966 (register_pretty_printers): Register new pretty-printers.
2967 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2968 recursive pretty printer.
2969 * gdb.python/py-mi.exp: Likewise.
2970
2971 2018-02-01 Leszek Swirski <leszeks@google.com>
2972
2973 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2974 functions with the same name as an include file are parsed
2975 correctly.
2976
2977 2018-02-01 Yao Qi <yao.qi@linaro.org>
2978
2979 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2980 "\[^\r\n\]*".
2981
2982 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2983
2984 * gdb.arch/powerpc-prologue-frame.s: New file.
2985 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2986 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2987
2988 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2989
2990 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2991
2992 2018-01-30 Pedro Alves <palves@redhat.com>
2993
2994 PR gdb/13211
2995 * gdb.base/interrupt-daemon.c: New.
2996 * gdb.base/interrupt-daemon.exp: New.
2997 * gdb.multi/multi-term-settings.c: New.
2998 * gdb.multi/multi-term-settings.exp: New.
2999
3000 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3001
3002 * gdb.base/break.exp: Save the location where the breakpoint
3003 on break.c:47 was actually inserted when debugging the version
3004 compiled at -O2 and use it in the expected output of the "info
3005 break" test performed soon after.
3006
3007 2018-01-22 Pedro Alves <palves@redhat.com>
3008 Sergio Durigan Junior <sergiodj@redhat.com>
3009
3010 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3011 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3012
3013 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3014
3015 * gdb.base/break-include.c, gdb.base/break-include.inc,
3016 gdb.base/break-include.exp: New files.
3017 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3018 line number now being the actual line number where the breakpoint
3019 was inserted.
3020 * gdb.mi/mi-break.exp: Likewise.
3021 * gdb.mi/mi-reverse.exp: Likewise.
3022 * gdb.mi/mi-simplerun.exp: Ditto.
3023
3024 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3025
3026 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3027 varobj.
3028 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3029
3030 2018-01-21 Don Breazeal <donb@codesourcery.com>
3031 Andrew Burgess <andrew.burgess@embecosm.com>
3032
3033 * gdb.mi/basics.c: Add new global.
3034 * gdb.mi/mi-frame-regs.exp: New file.
3035 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3036 case.
3037
3038 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3039
3040 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3041 non-parameter, and on an unknown symbol.
3042
3043 2018-01-19 Tom Tromey <tom@tromey.com>
3044
3045 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3046 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3047
3048 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3049
3050 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3051 setrlimit and chdir to int.
3052
3053 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3054
3055 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3056 function.
3057 (my_tend): Likewise.
3058 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3059 rationale of avoiding FP- and vector instructions.
3060
3061 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3062
3063 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3064 "info reg" with "\[ \t\]*".
3065 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3066 "\[ \t\]+".
3067 * gdb.arch/s390-multiarch.exp: Ditto.
3068 * gdb.base/pc-fp.exp: Ditto.
3069 * gdb.reverse/i386-precsave.exp: Ditto.
3070 * gdb.reverse/i386-reverse.exp: Ditto.
3071 * gdb.reverse/i387-env-reverse.exp: Ditto.
3072 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3073
3074 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3075
3076 * lib/gdb.exp (gdb_compile): Re-enable use of
3077 universal_compile_options for languages other than Rust.
3078
3079 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3080
3081 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3082
3083 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3084
3085 PR gdb/16577
3086 * gdb.base/solib-vanish.exp: New.
3087 * gdb.base/solib-vanish-main.c: New.
3088 * gdb.base/solib-vanish-lib1.c: New.
3089 * gdb.base/solib-vanish-lib2.c: New.
3090
3091 2018-01-17 Yao Qi <yao.qi@linaro.org>
3092
3093 * gdb.compile/compile.exp: Match the address printed for
3094 frame in the output of command "bt".
3095
3096 2018-01-15 Tom Tromey <tom@tromey.com>
3097
3098 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3099 compute sp_reg.
3100
3101 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3102
3103 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3104 to prepare.
3105 (prepare): Return 0 on error, 1 on success.
3106
3107 2018-01-12 Pedro Alves <palves@redhat.com>
3108
3109 * gdb.base/continue-after-aborted-step-over.c: New.
3110 * gdb.base/continue-after-aborted-step-over.exp: New.
3111
3112 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3113
3114 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3115 options when not creating an executable.
3116
3117 2018-01-11 Pedro Alves <palves@redhat.com>
3118
3119 PR remote/22597
3120 * gdb.server/stop-reply-no-thread.c: New file.
3121 * gdb.server/stop-reply-no-thread.exp: New file.
3122
3123 2018-01-10 Pedro Alves <palves@redhat.com>
3124
3125 PR gdb/22670
3126 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3127 functions too. Test setting breakpoints and printing C functions
3128 with no debug info too.
3129 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3130
3131 2018-01-10 Pedro Alves <palves@redhat.com>
3132
3133 PR gdb/22670
3134 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3135 a fail.
3136
3137 2018-01-10 Pedro Alves <palves@redhat.com>
3138
3139 PR gdb/22670
3140 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3141
3142 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3143
3144 * gdb.server/unittest.exp: Match the output in non-development
3145 mode.
3146
3147 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3148
3149 * gdb.gdb/unittest.exp: Match output in non-development mode.
3150
3151 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3152
3153 * gdb.ada/access_tagged_param.exp: Relax expected output
3154 for value of "ObjL" in "continue" to pck.inspect breakpoint
3155 test.
3156
3157 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3158
3159 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3160 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3161
3162 2018-01-05 Pedro Alves <palves@redhat.com>
3163
3164 PR gdb/18653
3165 * gdb.base/libsegfault.exp: New.
3166
3167 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3168
3169 PR gdb/22670
3170 * gdb.ada/access_tagged_param.exp: New file.
3171 * gdb.ada/access_tagged_param/foo.adb: New file.
3172
3173 2018-01-05 Pedro Alves <palves@redhat.com>
3174
3175 PR gdb/22670
3176 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3177 exercise lower case too, and to exercise both full matching and
3178 wild matching.
3179
3180 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3181
3182 * gdb.ada/rename_subscript_param: New testcase.
3183
3184 2018-01-05 Jerome Guitton <guitton@adacore.com>
3185
3186 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3187
3188 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3189
3190 * gdb.ada/convvar_comp: New testcase.
3191
3192 2018-01-05 Xavier Roirand <roirand@adacore.com>
3193
3194 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3195 (My_Table): New global variable.
3196 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3197
3198 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3199
3200 PR gdb/22670
3201 * gdb.ada/maint_with_ada: New testcase.
3202
3203 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3204
3205 PR gdb/22670
3206 * gdb.ada/bp_c_mixed_case: New testcase.
3207
3208 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3209
3210 PR gdb/22670
3211 * gdb.ada/complete.exp: Add "complete break ada" test.
3212
3213 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3214
3215 PR gdb/22670
3216 * gdb.ada/info_addr_mixed_case: New testcase.
3217
3218 2018-01-03 Xavier Roirand <roirand@adacore.com>
3219
3220 * gdb.ada/excep_handle.exp: New testcase.
3221 * gdb.ada/excep_handle/foo.adb: New file.
3222 * gdb.ada/excep_handle/pck.ads: New file.
3223
3224 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3225
3226 * gdb.base/step-line.c: Add extra empty line in copyright header.
3227 * gdb.base/step-line.inp: Likewise.
3228
3229 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3230
3231 * gdb.ada/dyn_stride.exp: Add slice test.
3232
3233 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3234
3235 * gdb.ada/dyn_stride: New testcase.
3236
3237 2017-12-27 Stafford Horne <shorne@gmail.com>
3238
3239 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3240 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3241
3242 2017-12-27 Stafford Horne <shorne@gmail.com>
3243
3244 * gdb.base/reggroups.c: New file.
3245 * gdb.base/reggroups.exp: New file.
3246
3247 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3248
3249 * gdb.dwarf2/ada-valprint-error.c: New file.
3250 * gdb.dwarf2/ada-valprint-error.exp: New file.
3251
3252 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3253
3254 * gdb.ada/assign_arr: New testcase.
3255
3256 2017-12-18 Xavier Roirand <roirand@adacore.com>
3257
3258 * gdb.ada/funcall_ptr: New testcase.
3259
3260 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3261
3262 PR cli/16224
3263 * gdb.base/ptype-offsets.cc: New file.
3264 * gdb.base/ptype-offsets.exp: New file.
3265
3266 2017-12-15 Yao Qi <yao.qi@linaro.org>
3267
3268 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3269 if XML is disabled.
3270
3271 2017-12-15 Xavier Roirand <roirand@adacore.com>
3272
3273 * gdb.ada/same_component_name: New testcase.
3274
3275 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3276
3277 * gdb.ada/str_binop_equal: New testcase.
3278
3279 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3280
3281 * gdb.ada/task_switch_in_core: New testcase.
3282
3283 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3284
3285 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3286 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3287 call test_bkpt_qualified.
3288 (test_bkpt_qualified): New proc.
3289
3290 2017-12-13 Pedro Alves <palves@redhat.com>
3291
3292 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3293 Tighten regexp by matching with an anchor.
3294
3295 2017-12-13 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3298 ("expression with namespace"): New set of tests.
3299 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3300 (Nested::Test_NS::qux): New.
3301 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3302 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3303
3304 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3305
3306 * gdb.base/server-del-break.c: New file.
3307 * gdb.base/server-del-break.exp: New file.
3308
3309 2017-12-12 Stafford Horne <shorne@gmail.com>
3310
3311 * gdb.xml/tdesc-regs.exp: Add or1k support.
3312
3313 2017-12-12 Stafford Horne <shorne@gmail.com>
3314
3315 * gdb.base/bp-permanent.c: Define nop of or1k.
3316
3317 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3318
3319 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3320 output with components being reordered.
3321
3322 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3323
3324 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3325 output with components being reordered.
3326
3327 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3328 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/maint.exp (check for .gdb_index): Check also for
3331 .debug_names.
3332 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3333 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3334 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3335 (.gdb_index used after symbol reloading): Support also .debug_names.
3336 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3337
3338 2017-12-08 Yao Qi <yao.qi@linaro.org>
3339
3340 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3341 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3342
3343 2017-12-08 Yao Qi <yao.qi@linaro.org>
3344
3345 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3346 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3347
3348 2017-12-08 Yao Qi <yao.qi@linaro.org>
3349
3350 * gdb.arch/aarch64-tagged-pointer.c: New file.
3351 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3352
3353 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3354
3355 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3356 "int".
3357
3358 2017-12-07 Keith Seitz <keiths@redhat.com>
3359
3360 PR breakpoints/22569
3361 * gdb.linespec/ls-errs.exp: Change expected result of "break
3362 -source this file has spaces.c -line 3".
3363 Check that an explicit source file followed by whitespace is
3364 identified as an invalid explicit location.
3365
3366 2017-12-07 Keith Seitz <keiths@redhat.com>
3367
3368 * gdb.cp/nested-types.cc: New file.
3369 * gdb.cp/nested-types.exp: New file.
3370 * lib/cp-support.exp: Load data-structures.exp library.
3371 (debug_cp_test_ptype_class): New global.
3372 (cp_ptype_class_verbose, next_line): New procedures.
3373 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3374 Add and document new return value.
3375 Switch the list of lines to a queue.
3376 Add support for new `type' key for nested type definitions.
3377 Add debugging/troubleshooting messages.
3378 * lib/data-structures.exp: New file.
3379
3380 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3381
3382 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3383 with proc_with_prefix, don't use with_test_prefix.
3384
3385 2017-12-07 Tom Tromey <tom@tromey.com>
3386
3387 * gdb.base/break.exp: Add test for empty "commands".
3388
3389 2017-12-07 Yao Qi <yao.qi@linaro.org>
3390
3391 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3392 malloc and catch syscall.
3393
3394 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3395
3396 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3397 tests for explicit locations.
3398
3399 2017-12-06 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3402 force-disabling XML descriptions.
3403
3404 2017-12-04 Pedro Alves <palves@redhat.com>
3405
3406 PR gdb/22499
3407 * gdb.arch/amd64-disp-step-avx.S: New file.
3408 * gdb.arch/amd64-disp-step-avx.exp: New file.
3409
3410 2017-12-03 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3413 and <string.h>.
3414 (parent_function): Print distinct messages when waitpid fails, or
3415 the child exits with a signal, or the child exits for an unhandled
3416 reason.
3417 * gdb.threads/process-dies-while-detaching.exp
3418 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3419 it. Wait for both inferior output and GDB's prompt. Use an
3420 indirect spawn id list.
3421 (do_detach): New parameter 'child_exit'. Use it to compute
3422 expected inferior output.
3423 (test_detach, test_detach_watch, test_detach_killed_outside):
3424 Adjust to pass down the expected child exit kind.
3425
3426 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3427 Sergio Durigan Junior <sergiodj@redhat.com>
3428 Pedro Alves <palves@redhat.com>
3429
3430 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3431
3432 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3433
3434 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3435 to 'symbol-file' and 'add-symbol-file' can be
3436 position-independent.
3437
3438 2017-12-01 Yao Qi <yao.qi@linaro.org>
3439
3440 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3441 the URL in copyright header.
3442 * gdb.arch/aarch64-fp.exp: Likewise.
3443 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3444 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3445 * gdb.base/expand-psymtabs.exp: Likewise.
3446 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3447 * gdb.fortran/common-block.exp: Likewise.
3448 * gdb.fortran/common-block.f90: Likewise.
3449 * gdb.fortran/logical.exp: Likewise.
3450 * gdb.fortran/vla-datatypes.f90: Likewise.
3451 * gdb.fortran/vla-sub.f90: Likewise.
3452
3453 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3454
3455 * gdb.ada/repeat_dyn: New testcase.
3456
3457 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3458
3459 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3460 Update for changed thread numbering.
3461 * gdb.cell/bt.exp: Update for changed GDB output.
3462
3463 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3464
3465 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3466 setting isremote by hand.
3467 * boards/dwarf4-gdb-index.exp: Likewise.
3468 * boards/fission.exp: Likewise.
3469 * boards/stabs.exp: Likewise.
3470
3471 2017-11-30 Pedro Alves <palves@redhat.com>
3472
3473 * gdb.linespec/cpls-ops.exp
3474 (check_explicit_skips_function_argument): Extract the underlying
3475 type of size_t instead of hardcoding it.
3476
3477 2017-11-29 Pedro Alves <palves@redhat.com>
3478
3479 PR c++/19436
3480 * gdb.linespec/cpls-abi-tag.cc: New file.
3481 * gdb.linespec/cpls-abi-tag.exp: New file.
3482
3483 2017-11-29 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.base/langs.exp: Use -qualified.
3486 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3487 it.
3488 * gdb.cp/namespace.exp: Use -qualified.
3489 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3490 (overload-3, template-overload, template-ret-type, const-overload)
3491 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3492 procedures.
3493 (test_driver): Call them.
3494 * gdb.cp/save-bp-qualified.cc: New.
3495 * gdb.cp/save-bp-qualified.exp: New.
3496 * gdb.linespec/explicit.exp: Test -qualified.
3497 * lib/completion-support.exp (completion::explicit_opts_list): Add
3498 "-qualified".
3499 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3500
3501 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3502
3503 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3504
3505 2017-11-29 Tom Tromey <tom@tromey.com>
3506
3507 * gdb.base/relocate.exp: Update invalid argument test.
3508 Add new tests for invalid arguments.
3509
3510 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3511
3512 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3513 Return 0 as a long.
3514 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3515
3516 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3517
3518 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3519 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3520 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3521 func ().
3522 * gdb.cp/shadow.cc (B.func): Return 0.
3523
3524 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3525
3526 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3527 expected output in gdb_expect call to allow the exception
3528 message to be present as well. Fix syntax confusion to avoid
3529 TCL thinking that exception_name is an array.
3530
3531 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3532
3533 * gdb.arch/spu-info.c: Include <unistd.h>.
3534 (do_signal_test): Fix broken calls to write.
3535 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3536 Fix checks for empty mailboxes. Update signal tests for corrected
3537 do_signal_test routine. Allow nonzero event status.
3538 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3539 * gdb.cell/arch.exp: Use standard_output_file.
3540 * gdb.cell/break.exp: Likewise.
3541 * gdb.cell/bt.exp: Likewise.
3542 * gdb.cell/core.exp: Likewise.
3543 * gdb.cell/dwarfaddr.exp: Likewise.
3544 * gdb.cell/ea-cache.exp: Likewise.
3545 * gdb.cell/ea-standalone.exp: Likewise.
3546 * gdb.cell/f-regs.exp: Likewise.
3547 * gdb.cell/fork.exp: Likewise.
3548 * gdb.cell/gcore.exp: Likewise.
3549 * gdb.cell/mem-access.exp: Likewise.
3550 * gdb.cell/ptype.exp: Likewise.
3551 * gdb.cell/registers.exp: Likewise.
3552 * gdb.cell/sizeof.exp: Likewise.
3553 * gdb.cell/solib-symbol.exp: Likewise.
3554 * gdb.cell/solib.exp: Likewise.
3555
3556 2017-11-25 Pedro Alves <palves@redhat.com>
3557
3558 * gdb.base/complete-empty.exp: New file.
3559 * gdb.base/completion.exp: Adjust.
3560
3561 2017-11-25 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.linespec/cpls-ops.cc: New file.
3564 * gdb.linespec/cpls-ops.exp: New file.
3565 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3566 factored out from ...
3567 (test_complete_prefix_range): ... this.
3568
3569 2017-11-24 Pedro Alves <palves@redhat.com>
3570
3571 * gdb.linespec/cpcompletion.exp: New file.
3572 * gdb.linespec/cpls-hyphen.cc: New file.
3573 * gdb.linespec/cpls.cc: New file.
3574 * gdb.linespec/cpls2.cc: New file.
3575 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3576 test to use test_gdb_complete_unique. Add label completion,
3577 keyword completion and explicit location completion tests.
3578 * lib/completion-support.exp: New file.
3579
3580 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3581
3582 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3583 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3584 when hitting an exception catchpoint.
3585
3586 2017-11-22 Yao Qi <yao.qi@linaro.org>
3587
3588 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3589
3590 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3591
3592 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3593 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3594 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3595
3596 2017-11-22 Yao Qi <yao.qi@linaro.org>
3597
3598 * gdb.base/info-os.exp: Pass pthreads.
3599 * gdb.multi/multi-attach.exp: Likewise.
3600
3601 2017-11-22 Yao Qi <yao.qi@linaro.org>
3602
3603 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3604 compiler.
3605
3606 2017-11-22 Yao Qi <yao.qi@linaro.org>
3607
3608 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3609 * gdb.base/break-interp.exp: Likewise.
3610 * gdb.base/jit-attach-pie.exp: Likewise.
3611
3612 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3613
3614 * gdb.base/float128.c (large128): New variable.
3615 * gdb.base/float128.exp: Add test to print largest __float128 value.
3616
3617 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3618
3619 * gdb.arch/vsx-regs.exp: Update register content checks.
3620
3621 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3622
3623 * gdb.arch/ppc-longdouble.exp: New file.
3624 * gdb.arch/ppc-longdouble.c: Likewise.
3625
3626 2017-11-21 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3629
3630 2017-11-20 Pedro Alves <palves@redhat.com>
3631
3632 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3633 (long_double_typedef): New typedefs.
3634 Use DEF on double and long double.
3635 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3636 cases.
3637 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3638 and 'long_double_ptr_same_size' locals. Use them to decide
3639 whether cast from array/function to float is valid/invalid.
3640
3641 2017-11-17 Tom Tromey <tom@tromey.com>
3642
3643 * gdb.rust/traits.rs: New file.
3644 * gdb.rust/traits.exp: New file.
3645
3646 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3647
3648 * gdb.ada/minsyms: New testcase.
3649
3650 2017-11-16 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3653 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3654
3655 2017-11-16 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3658 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3659
3660 2017-11-16 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.server/reconnect-ctrl-c.c: New file.
3663 * gdb.server/reconnect-ctrl-c.exp: New file.
3664
3665 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3666
3667 * gdb.python/py-rbreak.exp: New file.
3668 * gdb.python/py-rbreak.c: New file.
3669 * gdb.python/py-rbreak-func2.c: New file.
3670
3671 2017-11-16 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3674 pattern.
3675 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3676 GDB.
3677
3678 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3679
3680 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3681 regex.
3682
3683 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3684
3685 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3686 test names.
3687
3688 2017-11-09 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3691 factored out from ...
3692 (top level): ... here, and adjusted to avoid expecting beyond the
3693 prompt in a single gdb_test_multiple.
3694
3695 2017-11-09 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3698 output.
3699 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3700 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3701 * gdb.server/ext-run.exp ("kill" test): Likewise.
3702 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3703
3704 2017-11-09 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3707 match till end of line.
3708
3709 2017-11-09 Pedro Alves <palves@redhat.com>
3710
3711 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3712
3713 2017-11-09 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3716 New procedures, factored out from ...
3717 (top level): ... here, and adjusted to avoid expecting beyond the
3718 prompt in one go.
3719
3720 2017-11-09 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3723 output. Fix '?' match.
3724
3725 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3726
3727 * gdb.ada/scoped_watch: New testcase.
3728 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3729 which is actually correct.
3730 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3731 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3732
3733 2017-11-08 Pedro Alves <palves@redhat.com>
3734
3735 * gdb.gdb/complaints.exp (test_initial_complaints)
3736 (test_serial_complaints, test_short_complaints): Call
3737 complaint_internal instead of complaint.
3738
3739 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3740
3741 * gdb.threads/tls-core.c: New file.
3742 * gdb.threads/tls-core.exp: Likewise.
3743
3744 2017-11-08 Pedro Alves <palves@redhat.com>
3745
3746 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3747 (p Exported_Capitalized): New test.
3748 (p exported_capitalized): New test.
3749
3750 2017-11-07 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3753
3754 2017-11-07 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3757 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3758 (disable_invalid, disable_inverted, disable_negative): New
3759 procedures.
3760 ("bad numbers"): New set of tests.
3761
3762 2017-11-07 Pedro Alves <palves@redhat.com>
3763
3764 * gdb.cp/ena-dis-br-range.exp: Add tests.
3765
3766 2017-11-07 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3769
3770 2017-11-07 Xavier Roirand <roirand@adacore.com>
3771 Pedro Alves <palves@redhat.com>
3772
3773 * gdb.base/ena-dis-br.exp: Add reference to
3774 gdb.cp/ena-dis-br-range.exp.
3775 * gdb.cp/ena-dis-br-range.exp: New file.
3776 * gdb.cp/ena-dis-br-range.cc: New file.
3777
3778 2017-11-06 Pedro Alves <palves@redhat.com>
3779
3780 * gdb.base/attach-non-pgrp-leader.c: New.
3781 * gdb.base/attach-non-pgrp-leader.exp: New.
3782
3783 2017-11-06 Pedro Alves <palves@redhat.com>
3784
3785 * configure.ac: No longer check for termio.h and sgtty.h.
3786 * configure: Regenerate.
3787 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3788 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3789 Remove termio and sgtty code.
3790
3791 2017-11-03 Yao Qi <yao.qi@linaro.org>
3792
3793 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3794 in GDB is disabled.
3795
3796 2017-11-03 Yao Qi <yao.qi@linaro.org>
3797
3798 * gdb.python/py-thrhandle.exp: Skip it if python is not
3799 enabled.
3800
3801 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3802
3803 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3804 as a breakpoint command.
3805
3806 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3807
3808 PR python/21213
3809 * gdb.python/py-infthread.exp: Test calling
3810 InferiorThread.inferior () multiple times in a row.
3811
3812 2017-10-27 Keith Seitz <keiths@redhat.com>
3813
3814 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3815 Test "info break" for every inlined function breakpoint.
3816
3817 2017-10-27 Yao Qi <yao.qi@linaro.org>
3818
3819 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3820
3821 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3822
3823 * gdb.cp/classes.exp (test_static_members): Test printing
3824 Outer::instance.
3825 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3826 (Inner::instance, Outer::instance): New.
3827
3828 2017-10-24 Pedro Alves <palves@redhat.com>
3829
3830 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3831 extra console" test in two stages.
3832
3833 2017-10-24 Pedro Alves <palves@redhat.com>
3834
3835 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3836
3837 2017-10-24 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3840 loop.
3841
3842 2017-10-24 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3845 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3846
3847 2017-10-24 Pedro Alves <palves@redhat.com>
3848
3849 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3850 parameter and handle it. Don't output read value in test name.
3851
3852 2017-10-24 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3855 custom test name.
3856
3857 2017-10-24 Pedro Alves <palves@redhat.com>
3858
3859 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3860 include the unstable output directory name in the test's name.
3861 (initial_setup_simple) <'set args'>: Use custom test name.
3862
3863 2017-10-24 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3866 with explicit test name.
3867
3868 2017-10-20 Pedro Alves <palves@redhat.com>
3869
3870 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3871 'wait -i'. Use gdb_assert and remote_close.
3872
3873 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3874
3875 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3876 number from variable rather than hard-coded.
3877
3878 2017-10-19 Pedro Alves <palves@redhat.com>
3879
3880 * gdb.base/long-inferior-output.c: New file.
3881 * gdb.base/long-inferior-output.exp: New file.
3882
3883 2017-11-18 Keith Seitz <keiths@redhat.com>
3884
3885 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3886 method.
3887 (main): Call it.
3888 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3889 Add additional user-defined conversion operator tests.
3890
3891 2017-10-17 Pedro Alves <palves@redhat.com>
3892
3893 * boards/native-stdio-gdbserver.exp: Load "local-board".
3894
3895 2017-10-17 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.base/quit-live.c: New file.
3898 * gdb.base/quit-live.exp: New file.
3899
3900 2017-10-16 Keith Seitz <keiths@redhat.com>
3901
3902 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3903 (class_with_protected_typedef, class_with_private_typedef)
3904 (struct_with_public_typedef, struct_with_protected_typedef)
3905 (struct_with_private_typedef): New classes/structs.
3906 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3907 typedefs and access specifiers.
3908
3909 2017-10-16 Pedro Alves <palves@redhat.com>
3910 Simon Marchi <simon.marchi@polymtl.ca>
3911
3912 * README (Local vs Remote vs Native): New section.
3913 * boards/local-board.exp: New file, with bits factored out from
3914 ...
3915 * boards/native-extended-gdbserver.exp: ... here. Load
3916 "local-board".
3917 * boards/native-gdbserver.exp: Load "local-board".
3918 (${board}_spawn, ${board}_exec): Delete.
3919 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3920 ...
3921 * boards/stdio-gdbserver-base.exp: ... this new file.
3922 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3923 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3924 procedure.
3925 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3926 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3927 stdio_gdbserver_command.
3928 (${board}_get_remote_address, ${board}_get_comm_port)
3929 (${board}_download, ${board}_upload): Delete.
3930 (get_target_remote_pipe_cmd): New.
3931
3932 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3933
3934 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3935 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3936 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3937 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3938 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3939 remove with_test_prefix.
3940
3941 2017-10-13 Pedro Alves <palves@redhat.com>
3942
3943 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3944 * gdb.base/annota1.exp: Use it instead of is_remote.
3945 * gdb.base/annota3.exp: Use it instead of is_remote.
3946 * gdb.cp/annota2.exp: Use it instead of is_remote.
3947 * gdb.cp/annota3.exp: Use it instead of is_remote.
3948 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3949
3950 2017-10-13 Pedro Alves <palves@redhat.com>
3951
3952 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3953 (test_num_test_vars, run_and_count_vars, find_env)
3954 (test_set_unset_env, test_inherit_env_var): New procedures.
3955 (top level): Use them.
3956
3957 2017-10-13 Pedro Alves <palves@redhat.com>
3958
3959 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3960 also skip on stub-like targets.
3961
3962 2017-10-13 Pedro Alves <palves@redhat.com>
3963
3964 PR gdb/22293
3965 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3966 (top level): Move some tests to ...
3967 (test_not_found): ... this new procedure.
3968 (top level): Call it.
3969
3970 2017-10-13 Pedro Alves <palves@redhat.com>
3971
3972 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3973 expect different "info terminal" output if testing with a
3974 non-native target.
3975
3976 2017-10-13 Pedro Alves <palves@redhat.com>
3977 Simon Marchi <simon.marchi@polymtl.ca>
3978
3979 PR python/12966
3980 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3981
3982 2017-10-13 Pedro Alves <palves@redhat.com>
3983
3984 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3985 already.
3986
3987 2017-10-13 Pedro Alves <palves@redhat.com>
3988
3989 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3990 is_remote.
3991
3992 2017-10-13 Pedro Alves <palves@redhat.com>
3993
3994 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3995 is_remote.
3996
3997 2017-10-13 Pedro Alves <palves@redhat.com>
3998
3999 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4000 is set.
4001 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4002 instead of is_remote.
4003
4004 2017-10-13 Pedro Alves <palves@redhat.com>
4005
4006 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4007 (top level): Add comment.
4008
4009 2017-10-13 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.base/remote.exp (top level): Fix comment typo and add
4012 missing return.
4013
4014 2017-10-13 Pedro Alves <palves@redhat.com>
4015 Simon Marchi <simon.marchi@polymtl.ca>
4016
4017 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4018 calls and add comments. Skip test if use_gdb_stub is set.
4019 (top level): Use "set cwd" command instead of "cd" command.
4020
4021 2017-10-13 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4024 is_remote target check.
4025
4026 2017-10-13 Pedro Alves <palves@redhat.com>
4027
4028 * gdb.base/scope.exp: Use build_executable + clean_restart +
4029 gdb_file_cmd instead of prepare_for_testing and no longer skip
4030 "before run" tests on is_remote target boards. Update comments.
4031 * boards/native-extended-gdbserver.exp
4032 (extended_gdbserver_load_last_file): New, factored out from ...
4033 (gdb_load): ... this. Move further below and add comment.
4034 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4035
4036 2017-10-12 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.base/attach.exp: Remove references to gdb64.
4039 * gdb.base/dbx.exp: Remove references to gdb64.
4040
4041 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4042 Pedro Alves <palves@redhat.com>
4043
4044 * gdb.base/label.exp: Remove is_remote target check.
4045
4046 2017-10-12 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.base/auvx.exp (coredir): Update comment.
4049 (top level) <core_works>: Use "set cwd" command instead of "cd"
4050 command.
4051
4052 2017-10-12 Pedro Alves <palves@redhat.com>
4053 Simon Marchi <simon.marchi@polymtl.ca>
4054
4055 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4056 target boards.
4057
4058 2017-10-12 Pedro Alves <palves@redhat.com>
4059 Simon Marchi <simon.marchi@polymtl.ca>
4060
4061 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4062 Instead skip if there's any gdb_protocol set.
4063
4064 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4065 Pedro Alves <palves@redhat.com>
4066
4067 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4068
4069 2017-10-12 Pedro Alves <palves@redhat.com>
4070 Simon Marchi <simon.marchi@polymtl.ca>
4071
4072 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4073 instead of on dejagnu remote boards.
4074
4075 2017-10-12 Pedro Alves <palves@redhat.com>
4076 Simon Marchi <simon.marchi@polymtl.ca>
4077
4078 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4079 checks. Use build_executable + clean_restart instead of
4080 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4081 of enabling non-stop after starting gdb.
4082
4083 2017-10-12 Pedro Alves <palves@redhat.com>
4084
4085 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4086 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4087 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4088 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4089
4090 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4091
4092 * gdb.arch/arc-tdesc-cpu.exp: New file.
4093 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4094
4095 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4096
4097 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4098
4099 2017-10-10 Pedro Alves <palves@redhat.com>
4100
4101 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4102 expect CLI output.
4103
4104 2017-10-10 Pedro Alves <palves@redhat.com>
4105
4106 * lib/selftest-support.exp (selftest_setup): Update for
4107 captured_command_loop's prototype change.
4108
4109 2017-10-09 Pedro Alves <palves@redhat.com>
4110
4111 Test both arch1=>arch2 and arch2=>arch1.
4112
4113 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4114 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4115 factored out to...
4116 (append_arch1_options, append_arch2_options, append_arch_options)
4117 (build_executables): New procedures.
4118 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4119 local.
4120 (top level): Add new 'first_arch' testing axis.
4121
4122 2017-10-09 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4125 (barrier): New.
4126 (thread_start, all_started): New functions.
4127 (main): Spawn new thread and wait until it is scheduled.
4128 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4129 option.
4130 (do_test): Add 'selected_thread' parameter. Run to all_started
4131 instead of main. Explicitly set the breakpoint at main. Switch
4132 to the SELECTED_THREAD thread.
4133 (top level): Test handling the exec event with either the main
4134 thread or the second thread selected.
4135
4136 2017-10-09 Pedro Alves <palves@redhat.com>
4137
4138 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4139 logic. Move STOP marker after the value checks.
4140 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4141 regexp.
4142
4143 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4144
4145 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4146
4147 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4148
4149 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4150 integer-to-dfp conversion.
4151 * gdb.base/dfp-test.exp: Likewise.
4152
4153 2017-10-04 Pedro Alves <palves@redhat.com>
4154
4155 * gdb.multi/hangout.c: Include <unistd.h>.
4156 (hangout_loop): New function.
4157 (main): Call alarm. Call hangout_loop in a loop.
4158 * gdb.multi/hello.c: Include <unistd.h>.
4159 (hello_loop): New function.
4160 (main): Call alarm. Call hangout_loop in a loop.
4161 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4162 inferior with the other selected.
4163
4164 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4165
4166 * gdb.mi/list-thread-groups-available.exp: New file.
4167 * gdb.mi/list-thread-groups-available.c: New file.
4168
4169 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4170
4171 * gdb.base/set-cwd.exp: Make it available on
4172 native-extended-gdbserver.
4173
4174 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4175
4176 * gdb.base/set-cwd.c: New file.
4177 * gdb.base/set-cwd.exp: Likewise.
4178
4179 2017-10-02 Tom Tromey <tom@tromey.com>
4180
4181 PR rust/22236:
4182 * gdb.rust/simple.rs (main): New variable "fslice".
4183 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4184
4185 2017-10-02 Tom Tromey <tom@tromey.com>
4186
4187 * gdb.rust/simple.exp: Test ptype of a slice.
4188
4189 2017-10-02 Tom Tromey <tom@tromey.com>
4190
4191 * gdb.rust/simple.exp: Test index of slice.
4192
4193 2017-09-27 Tom Tromey <tom@tromey.com>
4194
4195 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4196
4197 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4198 Pedro Alves <palves@redhat.com>
4199
4200 * gdb.base/compare-sections.exp (get value of read-only section): Read
4201 as unsigned value.
4202 (corrupt read-only section): Likewise and don't set written if patching
4203 failed.
4204
4205 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4206
4207 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4208 files.
4209
4210 2017-09-20 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4213 symbol names in gdb's output.
4214 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4215
4216 2017-09-20 Pedro Alves <palves@redhat.com>
4217
4218 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4219 Rename to ...
4220 (test_list_ambiguous_symbol): ... this and add a symbol name
4221 parameter. Adjust.
4222 (test_list_ambiguous_function): Reimplement on top of
4223 test_list_ambiguous_symbol and also test listing ambiguous
4224 variables.
4225 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4226 (ambiguous_fun): ... this.
4227 (ambiguous_var): New.
4228 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4229 (ambiguous_fun): ... this.
4230 (ambiguous_var): New.
4231
4232 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4233
4234 * gdb.base/starti.c: New file.
4235 * gdb.base/starti.exp: New file.
4236 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4237
4238 2017-09-14 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4241 (top level): Use it instead of runto.
4242
4243 2017-09-11 Tom Tromey <tom@tromey.com>
4244
4245 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4246
4247 2017-09-11 Tom Tromey <tom@tromey.com>
4248
4249 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4250 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4251
4252 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4253
4254 * gdb.fortran/printing-types.exp: New file.
4255 * gdb.fortran/printing-types.exp: New file.
4256
4257 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4258
4259 * gdb.fortran/vla-ptype.exp: Fix typos.
4260 * gdb.fortran/vla-value.exp: Same.
4261
4262 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4263
4264 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4265 * gdb.mi/mi-var-child-f.exp: Likewise.
4266 * gdb.mi/mi-vla-fortran.exp: Likewise.
4267
4268 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4269 Christoph Weinmann <christoph.t.weinmann@intel.com>
4270 Bernhard Heckel <bernhard.heckel@intel.com>
4271
4272 * gdb.fortran/ptr-indentation.f90: New file.
4273 * gdb.fortran/ptr-indentation.exp: New file.
4274
4275 2017-09-05 Tom Tromey <tom@tromey.com>
4276
4277 PR gdb/22010:
4278 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4279
4280 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4281
4282 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4283
4284 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 * gdb.threads/tls-nodebug-pie.c: New file.
4287 * gdb.threads/tls-nodebug-pie.exp: New file.
4288
4289 2017-09-05 Tom Tromey <tom@tromey.com>
4290
4291 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4292 for rust.
4293
4294 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4295
4296 * gdb.multi/multi-arch-exec.exp: Test with different
4297 "follow-exec-mode" settings.
4298 (do_test): New procedure.
4299
4300 2017-09-04 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.base/func-static.c (S::method const, S::method volatile)
4303 (S::method volatile const): New methods.
4304 (c_s, v_s, cv_s): New instances.
4305 (main): Call method() on them.
4306 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4307 (cannot_resolve): New procedure.
4308 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4309 print-quote-unquoted columns.
4310 (do_test): Test printing each scope too.
4311
4312 2017-09-04 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.base/local-static.exp: Also test with
4315 class::method::variable wholly quoted.
4316 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4317
4318 2017-09-04 Pedro Alves <palves@redhat.com>
4319
4320 * gdb.base/local-static.c: New.
4321 * gdb.base/local-static.cc: New.
4322 * gdb.base/local-static.exp: New.
4323
4324 2017-09-04 Pedro Alves <palves@redhat.com>
4325
4326 * gdb.asm/asm-source.exp: Add casts to int.
4327 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4328 (dataglobal64_1, dataglobal64_2): New globals.
4329 * gdb.base/nodebug.exp: Test different expressions involving the
4330 new globals, with print, whatis and ptype. Add casts to int.
4331 * gdb.base/solib-display.exp: Add casts to int.
4332 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4333 * gdb.cp/m-static.exp: Add cast to int.
4334 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4335 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4336 tls variable with no debug info without a cast. Test with a cast
4337 to int too.
4338 * gdb.trace/entry-values.exp: Add casts.
4339
4340 2017-09-04 Pedro Alves <palves@redhat.com>
4341
4342 * gdb.base/nodebug.exp: Test that ptype's error about functions
4343 with unknown return type includes the function name too.
4344
4345 2017-09-04 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4348 return type of munmap in infcall.
4349 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4350 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4351 type of ftell in infcall.
4352 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4353 type of getpid in infcall.
4354 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4355 infcall.
4356 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4357 Bail on failure to extract the pid.
4358 * gdb.base/nodebug.c: #include <stdint.h>.
4359 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4360 New functions.
4361 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4362 Change expected output of print/whatis/ptype with functions with
4363 no debug info. Test all supported languages. Call
4364 test_call_promotion.
4365 * gdb.compile/compile.exp: Adjust expected output to expect
4366 warning.
4367 * gdb.threads/siginfo-threads.exp: Likewise.
4368
4369 2017-09-04 Pedro Alves <palves@redhat.com>
4370
4371 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4372 "prototypes". Test calling float functions via prototyped and
4373 unprototyped function pointers.
4374 (perform_all_tests): New parameter "prototypes". Pass it down.
4375 (top level): Pass down "prototypes" parameter to
4376 perform_all_tests.
4377
4378 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4379
4380 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4381 Test with nested loops.
4382
4383 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4384
4385 * gdb.base/commands.exp: Call the new procedures.
4386 (loop_break_test, loop_continue_test): New procedures.
4387
4388 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4389
4390 * gdb.base/commands.exp: Call new procedure.
4391 (define_if_without_arg_test): New procedure.
4392
4393 2017-09-04 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.base/list-ambiguous.exp: New file.
4396 * gdb.base/list-ambiguous0.c: New file.
4397 * gdb.base/list-ambiguous1.c: New file.
4398 * gdb.base/list.exp (test_list_range): Adjust expected output.
4399
4400 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4401
4402 * gdb.base/share-env-with-gdbserver.c: New file.
4403 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4404
4405 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4406
4407 * gdb.base/commands.exp (gdbvar_simple_if_test,
4408 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4409 progvar_simple_if_test, progvar_simple_while_test,
4410 progvar_complex_if_while_test, user_defined_command_test,
4411 user_defined_command_args_eval,
4412 user_defined_command_args_stack_test,
4413 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4414 temporary_breakpoint_commands,
4415 gdb_test_no_prompt, redefine_hook_test,
4416 redefine_backtrace_test): Remove "global gdb_prompt".
4417
4418 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4419
4420 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4421 New proc, call it from toplevel.
4422
4423 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4424
4425 PR remote/21852
4426 * gdb.server/normal.c: New file, copied from gdb.base.
4427 * gdb.server/run-without-local-binary.exp: New file.
4428
4429 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4430
4431 * gdb.arch/sparc64-adi.exp: New file.
4432 * gdb.arch/sparc64-adi.c: New file.
4433
4434 2017-08-22 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4437 (top level): Add "list all overloads" tests.
4438
4439 2017-08-22 Tom Tromey <tom@tromey.com>
4440
4441 * gdb.gdb/xfullpath.exp: Remove.
4442
4443 2017-08-21 Pedro Alves <palves@redhat.com>
4444
4445 PR gdb/19487
4446 * gdb.base/symbol-alias.c: New.
4447 * gdb.base/symbol-alias2.c: New.
4448 * gdb.base/symbol-alias.exp: New.
4449
4450 2017-08-21 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.base/dfp-test.c
4453 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4454 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4455 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4456 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4457 * gdb.base/whatis-ptype-typedefs.c: New.
4458 * gdb.base/whatis-ptype-typedefs.exp: New.
4459 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4460 (an_int, an_int_type, an_int_type2): New globals.
4461 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4462 involving typedefs and cast expressions.
4463 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4464 (lookup_typedefs_function): New.
4465 (typedefs_pretty_printers_dict): New.
4466 (top level): Register lookup_typedefs_function in
4467 gdb.pretty_printers.
4468
4469 2017-08-18 Yao Qi <yao.qi@linaro.org>
4470
4471 * gdb.server/unittest.exp: New.
4472
4473 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4474
4475 PR gdb/21954
4476 * gdb.base/environ.exp: Add test to check if 'unset environment'
4477 works.
4478
4479 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4480
4481 * lib/gdb.exp (universal_compile_options): New caching proc.
4482 (gdb_compile): Suppress GCC's coloring of messages.
4483
4484 2017-08-14 Tom Tromey <tom@tromey.com>
4485
4486 PR gdb/21675:
4487 * gdb.base/printcmds.exp (test_radices): New function.
4488 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4489 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4490 * lib/gdb.exp (get_integer_valueof): Use p/d.
4491
4492 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4493
4494 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4495 characters.
4496
4497 2017-08-05 Tom Tromey <tom@tromey.com>
4498
4499 * gdb.rust/simple.exp: Allow String to appear in a different
4500 namespace.
4501
4502 2017-07-26 Yao Qi <yao.qi@linaro.org>
4503
4504 * gdb.gdb/unittest.exp: Invoke command
4505 "maintenance check xml-descriptions".
4506
4507 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4508
4509 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4510 calling context.
4511 (hex128): Drop erroneous calculation of parameters.
4512
4513 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4514
4515 * gdb.python/py-unwind.exp: Disable stack protection when
4516 building test file.
4517
4518 2017-07-20 Pedro Alves <palves@redhat.com>
4519
4520 * gdb.base/default.exp (set language): Adjust expected output.
4521
4522 2017-07-20 Pedro Alves <palves@redhat.com>
4523
4524 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4525 (test_minsym): ... this, and make static.
4526 (get_pck__foo__bar__minsym): Rename to ...
4527 (get_test_minsym): ... this.
4528 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4529 symbol names and comments.
4530 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4531 (get_test_minsym): ... this.
4532 (pck__foo__bar__minsym__2): Rename to ...
4533 (test_minsym): ... this.
4534 (main): Adjust.
4535
4536 2017-07-17 Pedro Alves <palves@redhat.com>
4537
4538 * gdb.base/completion.exp: Adjust expected output.
4539 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4540 the completer works.
4541
4542 2017-07-17 Pedro Alves <palves@redhat.com>
4543
4544 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4545
4546 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4547
4548 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4549
4550 2017-07-14 Tom Tromey <tom@tromey.com>
4551
4552 PR rust/21764:
4553 * gdb.rust/simple.exp: Add tests.
4554
4555 2017-07-14 Tom Tromey <tom@tromey.com>
4556
4557 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4558
4559 2017-07-14 Pedro Alves <palves@redhat.com>
4560
4561 * gdb.linespec/base/one/thefile.cc (z1): New function.
4562 * gdb.linespec/base/two/thefile.cc (z2): New function.
4563 * gdb.linespec/linespec.exp: Add tests.
4564
4565 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4566
4567 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4568 to mi_create_breakpoint.
4569
4570 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4571
4572 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4573 mi_create_breakpoint.
4574
4575 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4576
4577 * gdb.dlang/demangle.exp: Update for demangling changes.
4578
4579 2017-07-09 Tom Tromey <tom@tromey.com>
4580
4581 * gdb.dwarf2/shortpiece.exp: New file.
4582
4583 2017-07-06 David Blaikie <dblaikie@gmail.com>
4584
4585 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4586 built from fissiont-multi-cu{1,2}.c.
4587 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4588 except putting 'main' and 'func' in separate CUs in the same DWO file.
4589 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4590 test.
4591 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4592 test.
4593
4594 2017-07-06 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.python/py-unwind.exp: Test flushregs.
4597
4598 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4599
4600 PR cli/21688
4601 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4602 tests for alias commands and trailing whitespace.
4603
4604 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4605
4606 PR cli/21688
4607 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4608 procedure. Call it.
4609
4610 2017-06-29 Pedro Alves <palves@redhat.com>
4611
4612 * gdb.base/printcmds.exp: Add tests.
4613
4614 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4615
4616 PR gdb/21337
4617 * gdb.base/reread-readsym.exp: New file.
4618 * gdb.base/reread-readsym.c: New file.
4619
4620 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4621
4622 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4623 subpattern.
4624
4625 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4626
4627 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4628 extended mnemonic.
4629 * gdb.arch/powerpc-power9.s: Likewise.
4630
4631 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632
4633 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4634 on 32-bit x86 targets. Exploit is_*_target macros where
4635 appropriate.
4636
4637 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4638
4639 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4640 register pieces.
4641
4642 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4643
4644 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4645 located in one or more DWARF pieces.
4646
4647 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4648
4649 * lib/gdb.exp (get_endianness): New proc.
4650 * gdb.arch/aarch64-fp.exp: Use it.
4651 * gdb.arch/altivec-regs.exp: Likewise.
4652 * gdb.arch/e500-regs.exp: Likewise.
4653 * gdb.arch/vsx-regs.exp: Likewise.
4654 * gdb.base/dump.exp: Likewise.
4655 * gdb.base/funcargs.exp: Likewise.
4656 * gdb.base/gnu_vector.exp: Likewise.
4657 * gdb.dwarf2/formdata16.exp: Likewise.
4658 * gdb.dwarf2/implptrpiece.exp: Likewise.
4659 * gdb.dwarf2/nonvar-access.exp: Likewise.
4660 * gdb.python/py-inferior.exp: Likewise.
4661 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4662
4663 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4664
4665 PR gdb/21226
4666 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4667 stack value pieces are taken from the LSB end.
4668
4669 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4670
4671 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4672 variable at nonzero offset.
4673
4674 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4675
4676 * gdb.dwarf2/var-access.c: New file.
4677 * gdb.dwarf2/var-access.exp: New test.
4678 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4679
4680 2017-06-12 Tom Tromey <tom@tromey.com>
4681
4682 * gdb.dwarf2/formdata16.exp: Add tests.
4683
4684 2017-06-12 Tom Tromey <tom@tromey.com>
4685
4686 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4687
4688 2017-06-12 Tom Tromey <tom@tromey.com>
4689
4690 PR exp/16225:
4691 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4692 * gdb.arch/vsx-regs.exp: Update tests.
4693 * gdb.arch/s390-vregs.exp (hex128): New proc.
4694 Update test.
4695 * gdb.arch/altivec-regs.exp: Update tests.
4696
4697 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4698
4699 * gdb.base/startup-with-shell.c: New file.
4700 * gdb.base/startup-with-shell.exp: Likewise.
4701
4702 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4703
4704 * gdb.server/non-existing-program.exp: Update regex in order to
4705 reflect the fact that gdbserver is now using fork_inferior (with a
4706 shell) to startup the inferior.
4707
4708 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4709
4710 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4711 support function calls from GDB.
4712
4713 2017-05-21 Tom Tromey <tom@tromey.com>
4714
4715 PR rust/21466:
4716 * gdb.rust/unsized.exp: New file.
4717 * gdb.rust/unsized.rs: New file.
4718
4719 2017-05-19 Tom Tromey <tom@tromey.com>
4720
4721 PR rust/21484:
4722 * gdb.rust/watch.exp: New file.
4723 * gdb.rust/watch.rs: New file.
4724
4725 2017-05-18 Tom Tromey <tom@tromey.com>
4726
4727 * gdb.rust/simple.exp: Allow Box to be qualified.
4728
4729 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4730
4731 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4732
4733 2017-05-18 Pedro Alves <palves@redhat.com>
4734
4735 * gdb.base/fileio.c (test_write, test_read, test_close)
4736 (test_fstat): Don't print 'ret' in the fail path.
4737
4738 2017-05-18 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4741 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4742 (test_system, test_rename, test_unlink, test_time): Change
4743 prototypes.
4744 * gdb.base/fileio.exp (stop_msg): Adjust.
4745
4746 2017-05-18 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.base/fileio.c (null_str): New global.
4749 (test_stat): Use it.
4750 * gdb.base/fileio.exp: Remove nowarnings.
4751
4752 2017-05-17 Yao Qi <yao.qi@linaro.org>
4753
4754 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4755
4756 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4757
4758 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4759 argument command.
4760 (top-level): Invoke test_set_inferior_tty.
4761
4762 2017-05-04 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4765 Add parens to print call for Python 3.
4766
4767 2017-05-03 Keith Seitz <keiths@redhat.com>
4768
4769 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4770 (main): Call it.
4771
4772 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4773
4774 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4775 to prev and next.
4776
4777 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4778
4779 * gdb.python/py-record-btrace.exp: Remove test for
4780 gdb.BtraceInstruction.error.
4781
4782 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4783
4784 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4785
4786 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4787
4788 * gdb.python/py-record-btrace-threads.c: New file.
4789 * gdb.python/py-record-btrace-threads.exp: New file.
4790
4791 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4792
4793 PR testsuite/8595
4794 * gdb.base/environ.exp: Make test available in all architectures.
4795 Move bits related to "info program" testing to
4796 gdb.base/info-program.exp. Rewrite tests to use the two new
4797 procedures mentione below.
4798 (test_set_show_env_var) New procedure.
4799 (test_set_show_env_var_equal): Likewise.
4800 * gdb.base/info-program.exp: New file.
4801
4802 2017-04-27 Keith Seitz <keiths@redhat.com>
4803
4804 * gdb.cp/oranking.cc (test15): New function.
4805 (main): Call test15 and declare additional variables for testing.
4806 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4807 "p foo101('abc')" tests.
4808 Add tests for cv qualifier overloads.
4809 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4810 "lvalue reference overload" test.
4811 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4812 "print value of f1 on Child&& in f2" test.
4813
4814 2017-04-19 Pedro Alves <palves@redhat.com>
4815
4816 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4817 procedure.
4818 (top level): Call it.
4819 * lib/gdb.exp (gdb_define_cmd): New procedure.
4820
4821 2017-04-12 Pedro Alves <palves@redhat.com>
4822
4823 PR gdb/21323
4824 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4825 (wchar): New global.
4826 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4827 (do_test_wide_char, wide_char_types_no_program, top level): Add
4828 wchar_t testing.
4829
4830 2017-04-12 Pedro Alves <palves@redhat.com>
4831
4832 PR c++/21323
4833 * gdb.cp/wide_char_types.c: New file.
4834 * gdb.cp/wide_char_types.exp: New file.
4835
4836 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4837
4838 PR gdb/21352
4839 * gdb.trace/tsv.exp: Add test for "tsave -r".
4840
4841 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4842
4843 * gdb.dlang/watch-loc.c: New file.
4844 * gdb.dlang/watch-loc.exp: New file.
4845
4846 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4847
4848 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4849
4850 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4851
4852 * gdb.arch/arc-analyze-prologue.S: New file.
4853 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4854
4855 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4856
4857 * gdb.arch/arc-decode-insn.S: New file.
4858 * gdb.arch/arc-decode-insn.exp: Likewise.
4859
4860 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4861
4862 PR tdep/20928
4863 * gdb.arch/sparc64-regs.exp: New file.
4864 * gdb.arch/sparc64-regs.S: Likewise.
4865
4866 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4867
4868 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4869 and memory view on Python 3.
4870
4871 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4872 Keith Seitz <keiths@redhat.com>
4873
4874 PR gdb/14441
4875 * gdb.cp/demangle.exp: Add rvalue reference tests.
4876 * gdb.cp/rvalue-ref-casts.cc: New file.
4877 * gdb.cp/rvalue-ref-casts.exp: New file.
4878 * gdb.cp/rvalue-ref-overload.cc: New file.
4879 * gdb.cp/rvalue-ref-overload.exp: New file.
4880 * gdb.cp/rvalue-ref-params.cc: New file.
4881 * gdb.cp/rvalue-ref-params.exp: New file.
4882 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4883 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4884 * gdb.cp/rvalue-ref-types.cc: New file.
4885 * gdb.cp/rvalue-ref-types.exp: New file.
4886 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4887 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4888
4889 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4890
4891 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4892 New procedure.
4893
4894 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4895
4896 * lib/mi-support.exp (mi_gdb_test): Add additional message
4897 for unexpected output.
4898
4899 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4900
4901 * gdb.base/examine-backward.c (Barrier): New character array
4902 constant, to ensure that TestStrings is preceded by a string
4903 terminator.
4904
4905 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4906
4907 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4908 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4909 and implicit pointer into such a location.
4910
4911 2017-03-16 Doug Evans <dje@google.com>
4912
4913 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4914
4915 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4916
4917 * gdb.cp/m-static.exp: Fix expectation for prototype of
4918 test5.single_constructor and single_constructor::single_constructor.
4919
4920 2017-03-16 Doug Evans <dje@google.com>
4921
4922 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4923 * gdb.guile/scm-lazy-string.c: New file.
4924 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4925 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4926 for pointer, array, typedef lazy strings.
4927
4928 2017-03-16 Doug Evans <dje@google.com>
4929
4930 PR python/17728, python/18439, python/18779
4931 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4932 * gdb.python/py-lazy-string.c (pointer): New typedef.
4933 (main): New locals ptr, array, typedef_ptr.
4934 * gdb.python/py-value.exp: Move lazy string tests to ...
4935 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4936 array, typedef lazy strings.
4937
4938 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4939
4940 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4941 Add optional 'test' parameter.
4942
4943 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4944
4945 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4946 Skip for versions of DejaGnu < 1.5.
4947
4948 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4949
4950 * lib/gdb.exp (dejagnu_version): New proc.
4951 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4952 Use dejagnu_version.
4953
4954 2017-03-10 Keith Seitz <keiths@redhat.com>
4955
4956 PR c++/8128
4957 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4958 type from destructor regexps.
4959 Add a branch which actually passes the test.
4960 Adjust "ptype t5i" test names.
4961
4962 2017-03-08 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.base/step-over-exit.exp: Add explicit test message.
4965
4966 2017-03-08 Pedro Alves <palves@redhat.com>
4967
4968 PR gdb/18360
4969 * gdb.threads/interrupt-while-step-over.c: New file.
4970 * gdb.threads/interrupt-while-step-over.exp: New file.
4971
4972 2017-03-08 Pedro Alves <palves@redhat.com>
4973
4974 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4975 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4976
4977 2017-03-08 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4980 PKRU as not supported as a PASS.
4981
4982 2017-03-08 Pedro Alves <palves@redhat.com>
4983
4984 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4985 prefix instead of $binfile1/$binfile2.
4986 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4987 in test message.
4988 * gdb.python/py-completion.exp: Use "load python file" as test
4989 messages instead of unstable path names.
4990
4991 2017-03-08 Pedro Alves <palves@redhat.com>
4992 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 PR cli/21218
4995 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4996 New proc.
4997 (top level): Call it.
4998
4999 2017-03-08 Pedro Alves <palves@redhat.com>
5000
5001 PR tui/21216
5002 * gdb.tui/tui-nl-filtered-output.exp: New file.
5003
5004 2017-03-08 Pedro Alves <palves@redhat.com>
5005
5006 * gdb.base/completion.exp: Move TUI completion tests to ...
5007 * gdb.tui/completion.exp: ... this new file.
5008
5009 2017-03-08 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/tui-disasm-long-lines.c,
5012 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5013 gdb.base/tui-layout.exp: Move to ...
5014 * gdb.tui/: ... this new directory.
5015
5016 2017-03-07 Pedro Alves <palves@redhat.com>
5017
5018 * gdb.base/tui-layout.c: New file.
5019 * gdb.base/tui-layout.exp: New file.
5020
5021 2017-03-07 Pedro Alves <palves@redhat.com>
5022
5023 * gdb.base/tui-layout.c: Rename to ...
5024 * gdb.base/tui-disasm-long-lines.c: ... this.
5025 * gdb.base/tui-layout.exp: Rename to ...
5026 * gdb.base/tui-disasm-long-lines.exp: ... this.
5027
5028 2017-03-07 Pedro Alves <palves@redhat.com>
5029
5030 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5031
5032 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5033
5034 * i386-mpx-call.c: New file.
5035 * i386-mpx-call.exp: New file.
5036
5037 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5038
5039 * gdb.arch/powerpc-power.exp: Delete test.
5040 * gdb.arch/powerpc-power.s: Likewise.
5041 * gdb.disasm/disassembler-options.exp: New test.
5042 * gdb.arch/powerpc-altivec.exp: Likewise.
5043 * gdb.arch/powerpc-altivec.s: Likewise.
5044 * gdb.arch/powerpc-altivec2.exp: Likewise.
5045 * gdb.arch/powerpc-altivec2.s: Likewise.
5046 * gdb.arch/powerpc-altivec3.exp: Likewise.
5047 * gdb.arch/powerpc-altivec3.s: Likewise.
5048 * gdb.arch/powerpc-power7.exp: Likewise.
5049 * gdb.arch/powerpc-power7.s: Likewise.
5050 * gdb.arch/powerpc-power8.exp: Likewise.
5051 * gdb.arch/powerpc-power8.s: Likewise.
5052 * gdb.arch/powerpc-power9.exp: Likewise.
5053 * gdb.arch/powerpc-power9.s: Likewise.
5054 * gdb.arch/powerpc-vsx.exp: Likewise.
5055 * gdb.arch/powerpc-vsx.s: Likewise.
5056 * gdb.arch/powerpc-vsx2.exp: Likewise.
5057 * gdb.arch/powerpc-vsx2.s: Likewise.
5058 * gdb.arch/powerpc-vsx3.exp: Likewise.
5059 * gdb.arch/powerpc-vsx3.s: Likewise.
5060 * gdb.arch/arm-disassembler-options.exp: Likewise.
5061 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5062 * gdb.arch/s390-disassembler-options.exp: Likewise.
5063
5064 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5065
5066 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5067 (check_supported_features): ... this. Changed return type to void.
5068 (supports_rdseed): New static global.
5069 (rdseed): Check supports_rdseed.
5070 (initialize): Call check_supported_features.
5071
5072 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5073
5074 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5075 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5076 and lqarx/stqcx.
5077 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5078 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5079
5080 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5081
5082 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5083 uppercase.
5084
5085 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5086
5087 * gdb.dwarf2/formdata16.c: New file.
5088 * gdb.dwarf2/formdata16.exp: New file.
5089 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5090
5091 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5092
5093 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5094 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5095 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5096 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5097 DW_AT_GNU_*.
5098
5099 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5100
5101 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5102
5103 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5104
5105 PR gdb/21164
5106 * gdb.base/maint.exp: Add testcases for when the commands do
5107 not have arguments.
5108
5109 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5110
5111 * gdb.cp/chained-calls.exp: Use p instead of P.
5112
5113 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5114
5115 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5116 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5117
5118 2017-02-14 Tom Tromey <tom@tromey.com>
5119
5120 PR python/13598:
5121 * gdb.python/py-events.exp: Add before_prompt event tests.
5122
5123 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5124
5125 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5126
5127 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5128
5129 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5130 (main): Call my_unique_function_name.
5131 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5132 completion of patterns with a single match.
5133 Add missing -re switches to gdb_test_multiple calls.
5134
5135 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5136
5137 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5138 return if core file is not recognized.
5139
5140 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5141
5142 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5143 and extra UIs.
5144
5145 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5146
5147 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5148 proc_with_prefix.
5149
5150 2017-02-10 Tom Tromey <tom@tromey.com>
5151
5152 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5153
5154 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5155
5156 PR gdb/21122
5157 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5158
5159 2017-02-08 Jerome Guitton <guitton@adacore.com>
5160
5161 * gdb.base/define.exp: Add test for command abbreviations
5162 in define.
5163
5164 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5165
5166 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5167 * gdb.reverse/insn-reverse-x86.c: New file.
5168
5169 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5170
5171 PR tdep/20936
5172 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5173
5174 2017-02-03 Tom Tromey <tom@tromey.com>
5175
5176 PR rust/21097:
5177 * gdb.rust/simple.exp: Add new tests.
5178
5179 2017-02-02 Pedro Alves <palves@redhat.com>
5180
5181 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5182 tests.
5183
5184 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5185
5186 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5187 taking a 2-byte value out of a 4-byte DWARF implicit value on
5188 big-endian targets.
5189 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5190 logic. Add test cases for DW_OP_implicit.
5191
5192 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5193
5194 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5195
5196 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5197
5198 * gdb.btrace/enable.exp: Call gdb_exit before
5199 skip_gdbserver_tests.
5200
5201 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5202
5203 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5204 GDBFLAGS.
5205
5206 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5207
5208 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5209 the test is skipped.
5210 * gdb.btrace/data.exp: Likewise.
5211 * gdb.btrace/delta.exp: Likewise.
5212 * gdb.btrace/dlopen.exp: Likewise.
5213 * gdb.btrace/enable-running.exp: Likewise.
5214 * gdb.btrace/enable.exp: Likewise.
5215 * gdb.btrace/exception.exp: Likewise.
5216 * gdb.btrace/function_call_history.exp: Likewise.
5217 * gdb.btrace/gcore.exp: Likewise.
5218 * gdb.btrace/instruction_history.exp: Likewise.
5219 * gdb.btrace/multi-thread-step.exp: Likewise.
5220 * gdb.btrace/nohist.exp: Likewise.
5221 * gdb.btrace/non-stop.exp: Likewise.
5222 * gdb.btrace/reconnect.exp: Likewise.
5223 * gdb.btrace/record_goto-step.exp: Likewise.
5224 * gdb.btrace/record_goto.exp: Likewise.
5225 * gdb.btrace/rn-dl-bind.exp: Likewise.
5226 * gdb.btrace/segv.exp: Likewise.
5227 * gdb.btrace/step.exp: Likewise.
5228 * gdb.btrace/stepi.exp: Likewise.
5229 * gdb.btrace/tailcall-only.exp: Likewise.
5230 * gdb.btrace/tailcall.exp: Likewise.
5231 * gdb.btrace/tsx.exp: Likewise.
5232 * gdb.btrace/unknown_functions.exp: Likewise.
5233 * gdb.btrace/vdso.exp: Likewise.
5234
5235 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5236
5237 * gdb.btrace/enable-running.c: New.
5238 * gdb.btrace/enable-running.exp: New.
5239
5240 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5241
5242 * gdb.arch/amd64-gs_base.c: New file.
5243 * gdb.arch/amd64-gs_base.exp: New file.
5244
5245 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5246
5247 * lib/memory.exp: Remove spurious empty newlines.
5248
5249 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5250
5251 * gdb.python/py-bad-printers.exp: Load python file using "source".
5252 * gdb.python/py-events.exp: Likewise.
5253 * gdb.python/py-evsignal.exp: Likewise.
5254 * gdb.python/py-evthreads.exp: Likewise.
5255 * gdb.python/py-frame-args.exp: Likewise.
5256 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5257 * gdb.python/py-framefilter-mi.exp: Likewise.
5258 * gdb.python/py-framefilter.exp: Likewise.
5259 * gdb.python/py-mi.exp: Likewise.
5260 * gdb.python/py-pp-maint.exp: Likewise.
5261 * gdb.python/py-pp-registration.exp: Likewise.
5262 * gdb.python/py-prettyprint.exp: Likewise.
5263 (run_lang_tests): Likewise.
5264 * gdb.python/py-typeprint.exp: Likewise.
5265
5266 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5267
5268 * lib/memory.exp: New file.
5269 * lib/gdb.exp: Load memory.exp.
5270 * gdb.base/memattr.exp (delete_memory): Move proc to
5271 lib/memory.exp and rename to delete_memory_regions.
5272 Replace delete_memory with delete_memory_regions.
5273 Cleanup memory regions before tests.
5274 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5275 before tests.
5276
5277 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5278
5279 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5280 files.
5281 (initialize): New function conditionally defined.
5282 (testcases): Move within conditional block.
5283 (main): Call initialize.
5284 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5285 of gdb.reverse/insn-reverse.c.
5286 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5287 gdb.reverse/insn-reverse.c.
5288
5289 2017-01-26 Yao Qi <yao.qi@linaro.org>
5290
5291 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5292 disassemble on address 0.
5293
5294 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5295 Yao Qi <yao.qi@linaro.org>
5296
5297 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5298 * gdb.dwarf2/implptr-64bit.S: Remove.
5299 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5300 variables in caller's context. Add DW_OP_implicit_value.
5301
5302 2017-01-25 Yao Qi <yao.qi@linaro.org>
5303
5304 * lib/dwarf.exp (Dwarf::_location): Handle
5305 DW_OP_GNU_implicit_pointer with proper size.
5306
5307 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5308
5309 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5310 and add untested calls.
5311
5312 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5313
5314 * gdb.python/python.exp: Check line number against what GDB thinks
5315 the line number is for func1.
5316
5317 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5318
5319 * gdb.dlang/debug-expr.exp: New file.
5320
5321 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5322
5323 Fix test names for the following files:
5324
5325 * gdb.ada/exec_changed.exp
5326 * gdb.ada/info_types.exp
5327 * gdb.arch/aarch64-atomic-inst.exp
5328 * gdb.arch/aarch64-fp.exp
5329 * gdb.arch/altivec-abi.exp
5330 * gdb.arch/altivec-regs.exp
5331 * gdb.arch/amd64-byte.exp
5332 * gdb.arch/amd64-disp-step.exp
5333 * gdb.arch/amd64-dword.exp
5334 * gdb.arch/amd64-entry-value-inline.exp
5335 * gdb.arch/amd64-entry-value-param.exp
5336 * gdb.arch/amd64-entry-value-paramref.exp
5337 * gdb.arch/amd64-entry-value.exp
5338 * gdb.arch/amd64-i386-address.exp
5339 * gdb.arch/amd64-invalid-stack-middle.exp
5340 * gdb.arch/amd64-invalid-stack-top.exp
5341 * gdb.arch/amd64-optimout-repeat.exp
5342 * gdb.arch/amd64-prologue-skip.exp
5343 * gdb.arch/amd64-prologue-xmm.exp
5344 * gdb.arch/amd64-stap-special-operands.exp
5345 * gdb.arch/amd64-stap-wrong-subexp.exp
5346 * gdb.arch/amd64-tailcall-cxx.exp
5347 * gdb.arch/amd64-tailcall-noret.exp
5348 * gdb.arch/amd64-tailcall-ret.exp
5349 * gdb.arch/amd64-tailcall-self.exp
5350 * gdb.arch/amd64-word.exp
5351 * gdb.arch/arm-bl-branch-dest.exp
5352 * gdb.arch/arm-disp-step.exp
5353 * gdb.arch/arm-neon.exp
5354 * gdb.arch/arm-single-step-kernel-helper.exp
5355 * gdb.arch/avr-flash-qualifier.exp
5356 * gdb.arch/disp-step-insn-reloc.exp
5357 * gdb.arch/e500-abi.exp
5358 * gdb.arch/e500-regs.exp
5359 * gdb.arch/ftrace-insn-reloc.exp
5360 * gdb.arch/i386-avx512.exp
5361 * gdb.arch/i386-bp_permanent.exp
5362 * gdb.arch/i386-byte.exp
5363 * gdb.arch/i386-cfi-notcurrent.exp
5364 * gdb.arch/i386-disp-step.exp
5365 * gdb.arch/i386-dr3-watch.exp
5366 * gdb.arch/i386-float.exp
5367 * gdb.arch/i386-gnu-cfi.exp
5368 * gdb.arch/i386-mpx-map.exp
5369 * gdb.arch/i386-mpx-sigsegv.exp
5370 * gdb.arch/i386-mpx-simple_segv.exp
5371 * gdb.arch/i386-mpx.exp
5372 * gdb.arch/i386-permbkpt.exp
5373 * gdb.arch/i386-prologue.exp
5374 * gdb.arch/i386-signal.exp
5375 * gdb.arch/i386-size-overlap.exp
5376 * gdb.arch/i386-unwind.exp
5377 * gdb.arch/i386-word.exp
5378 * gdb.arch/mips-fcr.exp
5379 * gdb.arch/powerpc-d128-regs.exp
5380 * gdb.arch/powerpc-stackless.exp
5381 * gdb.arch/ppc64-atomic-inst.exp
5382 * gdb.arch/s390-stackless.exp
5383 * gdb.arch/s390-tdbregs.exp
5384 * gdb.arch/s390-vregs.exp
5385 * gdb.arch/sparc-sysstep.exp
5386 * gdb.arch/thumb-bx-pc.exp
5387 * gdb.arch/thumb-singlestep.exp
5388 * gdb.arch/thumb2-it.exp
5389 * gdb.arch/vsx-regs.exp
5390 * gdb.asm/asm-source.exp
5391 * gdb.base/a2-run.exp
5392 * gdb.base/advance.exp
5393 * gdb.base/all-bin.exp
5394 * gdb.base/anon.exp
5395 * gdb.base/args.exp
5396 * gdb.base/arithmet.exp
5397 * gdb.base/async-shell.exp
5398 * gdb.base/async.exp
5399 * gdb.base/attach-pie-noexec.exp
5400 * gdb.base/attach-twice.exp
5401 * gdb.base/auto-load.exp
5402 * gdb.base/bang.exp
5403 * gdb.base/bitfields.exp
5404 * gdb.base/break-always.exp
5405 * gdb.base/break-caller-line.exp
5406 * gdb.base/break-entry.exp
5407 * gdb.base/break-inline.exp
5408 * gdb.base/break-on-linker-gcd-function.exp
5409 * gdb.base/break-probes.exp
5410 * gdb.base/break.exp
5411 * gdb.base/breakpoint-shadow.exp
5412 * gdb.base/call-ar-st.exp
5413 * gdb.base/call-sc.exp
5414 * gdb.base/call-signal-resume.exp
5415 * gdb.base/call-strs.exp
5416 * gdb.base/callfuncs.exp
5417 * gdb.base/catch-fork-static.exp
5418 * gdb.base/catch-gdb-caused-signals.exp
5419 * gdb.base/catch-load.exp
5420 * gdb.base/catch-signal-fork.exp
5421 * gdb.base/catch-signal.exp
5422 * gdb.base/catch-syscall.exp
5423 * gdb.base/charset.exp
5424 * gdb.base/checkpoint.exp
5425 * gdb.base/chng-syms.exp
5426 * gdb.base/code-expr.exp
5427 * gdb.base/code_elim.exp
5428 * gdb.base/commands.exp
5429 * gdb.base/completion.exp
5430 * gdb.base/complex.exp
5431 * gdb.base/cond-expr.exp
5432 * gdb.base/condbreak.exp
5433 * gdb.base/consecutive.exp
5434 * gdb.base/continue-all-already-running.exp
5435 * gdb.base/coredump-filter.exp
5436 * gdb.base/corefile.exp
5437 * gdb.base/dbx.exp
5438 * gdb.base/debug-expr.exp
5439 * gdb.base/define.exp
5440 * gdb.base/del.exp
5441 * gdb.base/disabled-location.exp
5442 * gdb.base/disasm-end-cu.exp
5443 * gdb.base/disasm-optim.exp
5444 * gdb.base/display.exp
5445 * gdb.base/duplicate-bp.exp
5446 * gdb.base/ena-dis-br.exp
5447 * gdb.base/ending-run.exp
5448 * gdb.base/enumval.exp
5449 * gdb.base/environ.exp
5450 * gdb.base/eu-strip-infcall.exp
5451 * gdb.base/eval-avoid-side-effects.exp
5452 * gdb.base/eval-skip.exp
5453 * gdb.base/exitsignal.exp
5454 * gdb.base/expand-psymtabs.exp
5455 * gdb.base/filesym.exp
5456 * gdb.base/find-unmapped.exp
5457 * gdb.base/finish.exp
5458 * gdb.base/float.exp
5459 * gdb.base/foll-exec-mode.exp
5460 * gdb.base/foll-exec.exp
5461 * gdb.base/foll-fork.exp
5462 * gdb.base/fortran-sym-case.exp
5463 * gdb.base/freebpcmd.exp
5464 * gdb.base/func-ptr.exp
5465 * gdb.base/func-ptrs.exp
5466 * gdb.base/funcargs.exp
5467 * gdb.base/gcore-buffer-overflow.exp
5468 * gdb.base/gcore-relro-pie.exp
5469 * gdb.base/gcore-relro.exp
5470 * gdb.base/gcore.exp
5471 * gdb.base/gdb1090.exp
5472 * gdb.base/gdb11530.exp
5473 * gdb.base/gdb11531.exp
5474 * gdb.base/gdb1821.exp
5475 * gdb.base/gdbindex-stabs.exp
5476 * gdb.base/gdbvars.exp
5477 * gdb.base/hbreak.exp
5478 * gdb.base/hbreak2.exp
5479 * gdb.base/included.exp
5480 * gdb.base/infcall-input.exp
5481 * gdb.base/inferior-died.exp
5482 * gdb.base/infnan.exp
5483 * gdb.base/info-macros.exp
5484 * gdb.base/info-os.exp
5485 * gdb.base/info-proc.exp
5486 * gdb.base/info-shared.exp
5487 * gdb.base/info-target.exp
5488 * gdb.base/infoline.exp
5489 * gdb.base/interp.exp
5490 * gdb.base/interrupt.exp
5491 * gdb.base/jit-reader.exp
5492 * gdb.base/jit-simple.exp
5493 * gdb.base/kill-after-signal.exp
5494 * gdb.base/kill-detach-inferiors-cmd.exp
5495 * gdb.base/label.exp
5496 * gdb.base/langs.exp
5497 * gdb.base/ldbl_e308.exp
5498 * gdb.base/line-symtabs.exp
5499 * gdb.base/linespecs.exp
5500 * gdb.base/list.exp
5501 * gdb.base/long_long.exp
5502 * gdb.base/longest-types.exp
5503 * gdb.base/maint.exp
5504 * gdb.base/max-value-size.exp
5505 * gdb.base/memattr.exp
5506 * gdb.base/mips_pro.exp
5507 * gdb.base/morestack.exp
5508 * gdb.base/moribund-step.exp
5509 * gdb.base/multi-forks.exp
5510 * gdb.base/nested-addr.exp
5511 * gdb.base/nextoverexit.exp
5512 * gdb.base/noreturn-finish.exp
5513 * gdb.base/noreturn-return.exp
5514 * gdb.base/nostdlib.exp
5515 * gdb.base/offsets.exp
5516 * gdb.base/opaque.exp
5517 * gdb.base/pc-fp.exp
5518 * gdb.base/permissions.exp
5519 * gdb.base/print-symbol-loading.exp
5520 * gdb.base/prologue-include.exp
5521 * gdb.base/psymtab.exp
5522 * gdb.base/ptype.exp
5523 * gdb.base/random-signal.exp
5524 * gdb.base/randomize.exp
5525 * gdb.base/range-stepping.exp
5526 * gdb.base/readline-ask.exp
5527 * gdb.base/recpar.exp
5528 * gdb.base/recurse.exp
5529 * gdb.base/relational.exp
5530 * gdb.base/restore.exp
5531 * gdb.base/return-nodebug.exp
5532 * gdb.base/return.exp
5533 * gdb.base/run-after-attach.exp
5534 * gdb.base/save-bp.exp
5535 * gdb.base/scope.exp
5536 * gdb.base/sect-cmd.exp
5537 * gdb.base/set-lang-auto.exp
5538 * gdb.base/set-noassign.exp
5539 * gdb.base/setvar.exp
5540 * gdb.base/sigall.exp
5541 * gdb.base/sigbpt.exp
5542 * gdb.base/siginfo-addr.exp
5543 * gdb.base/siginfo-infcall.exp
5544 * gdb.base/siginfo-obj.exp
5545 * gdb.base/siginfo.exp
5546 * gdb.base/signals-state-child.exp
5547 * gdb.base/signest.exp
5548 * gdb.base/sigstep.exp
5549 * gdb.base/sizeof.exp
5550 * gdb.base/skip.exp
5551 * gdb.base/solib-corrupted.exp
5552 * gdb.base/solib-nodir.exp
5553 * gdb.base/solib-search.exp
5554 * gdb.base/stack-checking.exp
5555 * gdb.base/stale-infcall.exp
5556 * gdb.base/stap-probe.exp
5557 * gdb.base/start.exp
5558 * gdb.base/step-break.exp
5559 * gdb.base/step-bt.exp
5560 * gdb.base/step-line.exp
5561 * gdb.base/step-over-exit.exp
5562 * gdb.base/step-over-syscall.exp
5563 * gdb.base/step-resume-infcall.exp
5564 * gdb.base/step-test.exp
5565 * gdb.base/store.exp
5566 * gdb.base/structs3.exp
5567 * gdb.base/sym-file.exp
5568 * gdb.base/symbol-without-target_section.exp
5569 * gdb.base/term.exp
5570 * gdb.base/testenv.exp
5571 * gdb.base/ui-redirect.exp
5572 * gdb.base/until.exp
5573 * gdb.base/unwindonsignal.exp
5574 * gdb.base/value-double-free.exp
5575 * gdb.base/vla-datatypes.exp
5576 * gdb.base/vla-ptr.exp
5577 * gdb.base/vla-sideeffect.exp
5578 * gdb.base/volatile.exp
5579 * gdb.base/watch-cond-infcall.exp
5580 * gdb.base/watch-cond.exp
5581 * gdb.base/watch-non-mem.exp
5582 * gdb.base/watch-read.exp
5583 * gdb.base/watch-vfork.exp
5584 * gdb.base/watchpoint-cond-gone.exp
5585 * gdb.base/watchpoint-delete.exp
5586 * gdb.base/watchpoint-hw-hit-once.exp
5587 * gdb.base/watchpoint-hw.exp
5588 * gdb.base/watchpoint-stops-at-right-insn.exp
5589 * gdb.base/watchpoints.exp
5590 * gdb.base/wchar.exp
5591 * gdb.base/whatis-exp.exp
5592 * gdb.btrace/buffer-size.exp
5593 * gdb.btrace/data.exp
5594 * gdb.btrace/delta.exp
5595 * gdb.btrace/dlopen.exp
5596 * gdb.btrace/enable.exp
5597 * gdb.btrace/exception.exp
5598 * gdb.btrace/function_call_history.exp
5599 * gdb.btrace/gcore.exp
5600 * gdb.btrace/instruction_history.exp
5601 * gdb.btrace/nohist.exp
5602 * gdb.btrace/reconnect.exp
5603 * gdb.btrace/record_goto-step.exp
5604 * gdb.btrace/record_goto.exp
5605 * gdb.btrace/rn-dl-bind.exp
5606 * gdb.btrace/segv.exp
5607 * gdb.btrace/step.exp
5608 * gdb.btrace/stepi.exp
5609 * gdb.btrace/tailcall-only.exp
5610 * gdb.btrace/tailcall.exp
5611 * gdb.btrace/tsx.exp
5612 * gdb.btrace/unknown_functions.exp
5613 * gdb.btrace/vdso.exp
5614 * gdb.compile/compile-ifunc.exp
5615 * gdb.compile/compile-ops.exp
5616 * gdb.compile/compile-print.exp
5617 * gdb.compile/compile-setjmp.exp
5618 * gdb.cp/abstract-origin.exp
5619 * gdb.cp/ambiguous.exp
5620 * gdb.cp/annota2.exp
5621 * gdb.cp/annota3.exp
5622 * gdb.cp/anon-ns.exp
5623 * gdb.cp/anon-struct.exp
5624 * gdb.cp/anon-union.exp
5625 * gdb.cp/arg-reference.exp
5626 * gdb.cp/baseenum.exp
5627 * gdb.cp/bool.exp
5628 * gdb.cp/breakpoint.exp
5629 * gdb.cp/bs15503.exp
5630 * gdb.cp/call-c.exp
5631 * gdb.cp/casts.exp
5632 * gdb.cp/chained-calls.exp
5633 * gdb.cp/class2.exp
5634 * gdb.cp/classes.exp
5635 * gdb.cp/cmpd-minsyms.exp
5636 * gdb.cp/converts.exp
5637 * gdb.cp/cp-relocate.exp
5638 * gdb.cp/cpcompletion.exp
5639 * gdb.cp/cpexprs.exp
5640 * gdb.cp/cplabel.exp
5641 * gdb.cp/cplusfuncs.exp
5642 * gdb.cp/cpsizeof.exp
5643 * gdb.cp/ctti.exp
5644 * gdb.cp/derivation.exp
5645 * gdb.cp/destrprint.exp
5646 * gdb.cp/dispcxx.exp
5647 * gdb.cp/enum-class.exp
5648 * gdb.cp/exception.exp
5649 * gdb.cp/exceptprint.exp
5650 * gdb.cp/expand-psymtabs-cxx.exp
5651 * gdb.cp/expand-sals.exp
5652 * gdb.cp/extern-c.exp
5653 * gdb.cp/filename.exp
5654 * gdb.cp/formatted-ref.exp
5655 * gdb.cp/fpointer.exp
5656 * gdb.cp/gdb1355.exp
5657 * gdb.cp/gdb2495.exp
5658 * gdb.cp/hang.exp
5659 * gdb.cp/impl-this.exp
5660 * gdb.cp/infcall-dlopen.exp
5661 * gdb.cp/inherit.exp
5662 * gdb.cp/iostream.exp
5663 * gdb.cp/koenig.exp
5664 * gdb.cp/local.exp
5665 * gdb.cp/m-data.exp
5666 * gdb.cp/m-static.exp
5667 * gdb.cp/mb-ctor.exp
5668 * gdb.cp/mb-inline.exp
5669 * gdb.cp/mb-templates.exp
5670 * gdb.cp/member-name.exp
5671 * gdb.cp/member-ptr.exp
5672 * gdb.cp/meth-typedefs.exp
5673 * gdb.cp/method.exp
5674 * gdb.cp/method2.exp
5675 * gdb.cp/minsym-fallback.exp
5676 * gdb.cp/misc.exp
5677 * gdb.cp/namelessclass.exp
5678 * gdb.cp/namespace-enum.exp
5679 * gdb.cp/namespace-nested-import.exp
5680 * gdb.cp/namespace.exp
5681 * gdb.cp/nextoverthrow.exp
5682 * gdb.cp/no-dmgl-verbose.exp
5683 * gdb.cp/non-trivial-retval.exp
5684 * gdb.cp/noparam.exp
5685 * gdb.cp/nsdecl.exp
5686 * gdb.cp/nsimport.exp
5687 * gdb.cp/nsnested.exp
5688 * gdb.cp/nsnoimports.exp
5689 * gdb.cp/nsrecurs.exp
5690 * gdb.cp/nsstress.exp
5691 * gdb.cp/nsusing.exp
5692 * gdb.cp/operator.exp
5693 * gdb.cp/oranking.exp
5694 * gdb.cp/overload-const.exp
5695 * gdb.cp/overload.exp
5696 * gdb.cp/ovldbreak.exp
5697 * gdb.cp/ovsrch.exp
5698 * gdb.cp/paren-type.exp
5699 * gdb.cp/parse-lang.exp
5700 * gdb.cp/pass-by-ref.exp
5701 * gdb.cp/pr-1023.exp
5702 * gdb.cp/pr-1210.exp
5703 * gdb.cp/pr-574.exp
5704 * gdb.cp/pr10687.exp
5705 * gdb.cp/pr12028.exp
5706 * gdb.cp/pr17132.exp
5707 * gdb.cp/pr17494.exp
5708 * gdb.cp/pr9067.exp
5709 * gdb.cp/pr9167.exp
5710 * gdb.cp/pr9631.exp
5711 * gdb.cp/printmethod.exp
5712 * gdb.cp/psmang.exp
5713 * gdb.cp/psymtab-parameter.exp
5714 * gdb.cp/ptype-cv-cp.exp
5715 * gdb.cp/ptype-flags.exp
5716 * gdb.cp/re-set-overloaded.exp
5717 * gdb.cp/ref-types.exp
5718 * gdb.cp/rtti.exp
5719 * gdb.cp/scope-err.exp
5720 * gdb.cp/shadow.exp
5721 * gdb.cp/smartp.exp
5722 * gdb.cp/static-method.exp
5723 * gdb.cp/static-print-quit.exp
5724 * gdb.cp/temargs.exp
5725 * gdb.cp/templates.exp
5726 * gdb.cp/try_catch.exp
5727 * gdb.cp/typedef-operator.exp
5728 * gdb.cp/typeid.exp
5729 * gdb.cp/userdef.exp
5730 * gdb.cp/using-crash.exp
5731 * gdb.cp/var-tag.exp
5732 * gdb.cp/virtbase.exp
5733 * gdb.cp/virtfunc.exp
5734 * gdb.cp/virtfunc2.exp
5735 * gdb.cp/vla-cxx.exp
5736 * gdb.disasm/t01_mov.exp
5737 * gdb.disasm/t02_mova.exp
5738 * gdb.disasm/t03_add.exp
5739 * gdb.disasm/t04_sub.exp
5740 * gdb.disasm/t05_cmp.exp
5741 * gdb.disasm/t06_ari2.exp
5742 * gdb.disasm/t07_ari3.exp
5743 * gdb.disasm/t08_or.exp
5744 * gdb.disasm/t09_xor.exp
5745 * gdb.disasm/t10_and.exp
5746 * gdb.disasm/t11_logs.exp
5747 * gdb.disasm/t12_bit.exp
5748 * gdb.disasm/t13_otr.exp
5749 * gdb.dlang/circular.exp
5750 * gdb.dwarf2/arr-stride.exp
5751 * gdb.dwarf2/arr-subrange.exp
5752 * gdb.dwarf2/atomic-type.exp
5753 * gdb.dwarf2/bad-regnum.exp
5754 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5755 * gdb.dwarf2/callframecfa.exp
5756 * gdb.dwarf2/clztest.exp
5757 * gdb.dwarf2/corrupt.exp
5758 * gdb.dwarf2/data-loc.exp
5759 * gdb.dwarf2/dup-psym.exp
5760 * gdb.dwarf2/dw2-anon-mptr.exp
5761 * gdb.dwarf2/dw2-anonymous-func.exp
5762 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5763 * gdb.dwarf2/dw2-bad-unresolved.exp
5764 * gdb.dwarf2/dw2-basic.exp
5765 * gdb.dwarf2/dw2-canonicalize-type.exp
5766 * gdb.dwarf2/dw2-case-insensitive.exp
5767 * gdb.dwarf2/dw2-common-block.exp
5768 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5769 * gdb.dwarf2/dw2-compressed.exp
5770 * gdb.dwarf2/dw2-const.exp
5771 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5772 * gdb.dwarf2/dw2-cu-size.exp
5773 * gdb.dwarf2/dw2-dup-frame.exp
5774 * gdb.dwarf2/dw2-entry-value.exp
5775 * gdb.dwarf2/dw2-icycle.exp
5776 * gdb.dwarf2/dw2-ifort-parameter.exp
5777 * gdb.dwarf2/dw2-inline-break.exp
5778 * gdb.dwarf2/dw2-inline-param.exp
5779 * gdb.dwarf2/dw2-intercu.exp
5780 * gdb.dwarf2/dw2-intermix.exp
5781 * gdb.dwarf2/dw2-lexical-block-bare.exp
5782 * gdb.dwarf2/dw2-linkage-name-trust.exp
5783 * gdb.dwarf2/dw2-minsym-in-cu.exp
5784 * gdb.dwarf2/dw2-noloc.exp
5785 * gdb.dwarf2/dw2-op-call.exp
5786 * gdb.dwarf2/dw2-op-out-param.exp
5787 * gdb.dwarf2/dw2-opt-structptr.exp
5788 * gdb.dwarf2/dw2-param-error.exp
5789 * gdb.dwarf2/dw2-producer.exp
5790 * gdb.dwarf2/dw2-ranges-base.exp
5791 * gdb.dwarf2/dw2-ref-missing-frame.exp
5792 * gdb.dwarf2/dw2-reg-undefined.exp
5793 * gdb.dwarf2/dw2-regno-invalid.exp
5794 * gdb.dwarf2/dw2-restore.exp
5795 * gdb.dwarf2/dw2-restrict.exp
5796 * gdb.dwarf2/dw2-single-line-discriminators.exp
5797 * gdb.dwarf2/dw2-strp.exp
5798 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5799 * gdb.dwarf2/dw2-unresolved.exp
5800 * gdb.dwarf2/dw2-var-zero-addr.exp
5801 * gdb.dwarf2/dw4-sig-types.exp
5802 * gdb.dwarf2/dwz.exp
5803 * gdb.dwarf2/dynarr-ptr.exp
5804 * gdb.dwarf2/enum-type.exp
5805 * gdb.dwarf2/gdb-index.exp
5806 * gdb.dwarf2/implptr-64bit.exp
5807 * gdb.dwarf2/implptr-optimized-out.exp
5808 * gdb.dwarf2/implptr.exp
5809 * gdb.dwarf2/implref-array.exp
5810 * gdb.dwarf2/implref-const.exp
5811 * gdb.dwarf2/implref-global.exp
5812 * gdb.dwarf2/implref-struct.exp
5813 * gdb.dwarf2/mac-fileno.exp
5814 * gdb.dwarf2/main-subprogram.exp
5815 * gdb.dwarf2/member-ptr-forwardref.exp
5816 * gdb.dwarf2/method-ptr.exp
5817 * gdb.dwarf2/missing-sig-type.exp
5818 * gdb.dwarf2/nonvar-access.exp
5819 * gdb.dwarf2/opaque-type-lookup.exp
5820 * gdb.dwarf2/pieces-optimized-out.exp
5821 * gdb.dwarf2/pieces.exp
5822 * gdb.dwarf2/pr10770.exp
5823 * gdb.dwarf2/pr13961.exp
5824 * gdb.dwarf2/staticvirtual.exp
5825 * gdb.dwarf2/subrange.exp
5826 * gdb.dwarf2/symtab-producer.exp
5827 * gdb.dwarf2/trace-crash.exp
5828 * gdb.dwarf2/typeddwarf.exp
5829 * gdb.dwarf2/valop.exp
5830 * gdb.dwarf2/watch-notconst.exp
5831 * gdb.fortran/array-element.exp
5832 * gdb.fortran/charset.exp
5833 * gdb.fortran/common-block.exp
5834 * gdb.fortran/complex.exp
5835 * gdb.fortran/derived-type-function.exp
5836 * gdb.fortran/derived-type.exp
5837 * gdb.fortran/logical.exp
5838 * gdb.fortran/module.exp
5839 * gdb.fortran/multi-dim.exp
5840 * gdb.fortran/nested-funcs.exp
5841 * gdb.fortran/print-formatted.exp
5842 * gdb.fortran/subarray.exp
5843 * gdb.fortran/vla-alloc-assoc.exp
5844 * gdb.fortran/vla-datatypes.exp
5845 * gdb.fortran/vla-history.exp
5846 * gdb.fortran/vla-ptr-info.exp
5847 * gdb.fortran/vla-ptype-sub.exp
5848 * gdb.fortran/vla-ptype.exp
5849 * gdb.fortran/vla-sizeof.exp
5850 * gdb.fortran/vla-type.exp
5851 * gdb.fortran/vla-value-sub-arbitrary.exp
5852 * gdb.fortran/vla-value-sub-finish.exp
5853 * gdb.fortran/vla-value-sub.exp
5854 * gdb.fortran/vla-value.exp
5855 * gdb.fortran/whatis_type.exp
5856 * gdb.go/chan.exp
5857 * gdb.go/handcall.exp
5858 * gdb.go/hello.exp
5859 * gdb.go/integers.exp
5860 * gdb.go/methods.exp
5861 * gdb.go/package.exp
5862 * gdb.go/strings.exp
5863 * gdb.go/types.exp
5864 * gdb.go/unsafe.exp
5865 * gdb.guile/scm-arch.exp
5866 * gdb.guile/scm-block.exp
5867 * gdb.guile/scm-breakpoint.exp
5868 * gdb.guile/scm-cmd.exp
5869 * gdb.guile/scm-disasm.exp
5870 * gdb.guile/scm-equal.exp
5871 * gdb.guile/scm-frame-args.exp
5872 * gdb.guile/scm-frame-inline.exp
5873 * gdb.guile/scm-frame.exp
5874 * gdb.guile/scm-iterator.exp
5875 * gdb.guile/scm-math.exp
5876 * gdb.guile/scm-objfile.exp
5877 * gdb.guile/scm-ports.exp
5878 * gdb.guile/scm-symbol.exp
5879 * gdb.guile/scm-symtab.exp
5880 * gdb.guile/scm-value-cc.exp
5881 * gdb.guile/types-module.exp
5882 * gdb.linespec/break-ask.exp
5883 * gdb.linespec/cpexplicit.exp
5884 * gdb.linespec/explicit.exp
5885 * gdb.linespec/keywords.exp
5886 * gdb.linespec/linespec.exp
5887 * gdb.linespec/ls-dollar.exp
5888 * gdb.linespec/ls-errs.exp
5889 * gdb.linespec/skip-two.exp
5890 * gdb.linespec/thread.exp
5891 * gdb.mi/mi-async.exp
5892 * gdb.mi/mi-basics.exp
5893 * gdb.mi/mi-break.exp
5894 * gdb.mi/mi-catch-load.exp
5895 * gdb.mi/mi-cli.exp
5896 * gdb.mi/mi-cmd-param-changed.exp
5897 * gdb.mi/mi-console.exp
5898 * gdb.mi/mi-detach.exp
5899 * gdb.mi/mi-disassemble.exp
5900 * gdb.mi/mi-eval.exp
5901 * gdb.mi/mi-file-transfer.exp
5902 * gdb.mi/mi-file.exp
5903 * gdb.mi/mi-fill-memory.exp
5904 * gdb.mi/mi-inheritance-syntax-error.exp
5905 * gdb.mi/mi-linespec-err-cp.exp
5906 * gdb.mi/mi-logging.exp
5907 * gdb.mi/mi-memory-changed.exp
5908 * gdb.mi/mi-read-memory.exp
5909 * gdb.mi/mi-record-changed.exp
5910 * gdb.mi/mi-reg-undefined.exp
5911 * gdb.mi/mi-regs.exp
5912 * gdb.mi/mi-return.exp
5913 * gdb.mi/mi-reverse.exp
5914 * gdb.mi/mi-simplerun.exp
5915 * gdb.mi/mi-solib.exp
5916 * gdb.mi/mi-stack.exp
5917 * gdb.mi/mi-stepi.exp
5918 * gdb.mi/mi-syn-frame.exp
5919 * gdb.mi/mi-until.exp
5920 * gdb.mi/mi-var-block.exp
5921 * gdb.mi/mi-var-child.exp
5922 * gdb.mi/mi-var-cmd.exp
5923 * gdb.mi/mi-var-cp.exp
5924 * gdb.mi/mi-var-display.exp
5925 * gdb.mi/mi-var-invalidate.exp
5926 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5927 * gdb.mi/mi-vla-fortran.exp
5928 * gdb.mi/mi-watch.exp
5929 * gdb.mi/mi2-var-child.exp
5930 * gdb.mi/user-selected-context-sync.exp
5931 * gdb.modula2/unbounded-array.exp
5932 * gdb.multi/dummy-frame-restore.exp
5933 * gdb.multi/multi-arch-exec.exp
5934 * gdb.multi/multi-arch.exp
5935 * gdb.multi/tids.exp
5936 * gdb.multi/watchpoint-multi.exp
5937 * gdb.opencl/callfuncs.exp
5938 * gdb.opencl/convs_casts.exp
5939 * gdb.opencl/datatypes.exp
5940 * gdb.opencl/operators.exp
5941 * gdb.opencl/vec_comps.exp
5942 * gdb.opt/clobbered-registers-O2.exp
5943 * gdb.opt/inline-break.exp
5944 * gdb.opt/inline-bt.exp
5945 * gdb.opt/inline-cmds.exp
5946 * gdb.opt/inline-locals.exp
5947 * gdb.pascal/case-insensitive-symbols.exp
5948 * gdb.pascal/floats.exp
5949 * gdb.pascal/gdb11492.exp
5950 * gdb.python/lib-types.exp
5951 * gdb.python/py-arch.exp
5952 * gdb.python/py-as-string.exp
5953 * gdb.python/py-bad-printers.exp
5954 * gdb.python/py-block.exp
5955 * gdb.python/py-breakpoint-create-fail.exp
5956 * gdb.python/py-breakpoint.exp
5957 * gdb.python/py-caller-is.exp
5958 * gdb.python/py-cmd.exp
5959 * gdb.python/py-explore-cc.exp
5960 * gdb.python/py-explore.exp
5961 * gdb.python/py-finish-breakpoint.exp
5962 * gdb.python/py-finish-breakpoint2.exp
5963 * gdb.python/py-frame-args.exp
5964 * gdb.python/py-frame-inline.exp
5965 * gdb.python/py-frame.exp
5966 * gdb.python/py-framefilter-mi.exp
5967 * gdb.python/py-infthread.exp
5968 * gdb.python/py-lazy-string.exp
5969 * gdb.python/py-linetable.exp
5970 * gdb.python/py-mi-events.exp
5971 * gdb.python/py-mi-objfile.exp
5972 * gdb.python/py-mi.exp
5973 * gdb.python/py-objfile.exp
5974 * gdb.python/py-pp-integral.exp
5975 * gdb.python/py-pp-maint.exp
5976 * gdb.python/py-pp-re-notag.exp
5977 * gdb.python/py-pp-registration.exp
5978 * gdb.python/py-recurse-unwind.exp
5979 * gdb.python/py-strfns.exp
5980 * gdb.python/py-symbol.exp
5981 * gdb.python/py-symtab.exp
5982 * gdb.python/py-sync-interp.exp
5983 * gdb.python/py-typeprint.exp
5984 * gdb.python/py-unwind-maint.exp
5985 * gdb.python/py-unwind.exp
5986 * gdb.python/py-value-cc.exp
5987 * gdb.python/py-xmethods.exp
5988 * gdb.reverse/amd64-tailcall-reverse.exp
5989 * gdb.reverse/break-precsave.exp
5990 * gdb.reverse/break-reverse.exp
5991 * gdb.reverse/consecutive-precsave.exp
5992 * gdb.reverse/consecutive-reverse.exp
5993 * gdb.reverse/finish-precsave.exp
5994 * gdb.reverse/finish-reverse-bkpt.exp
5995 * gdb.reverse/finish-reverse.exp
5996 * gdb.reverse/fstatat-reverse.exp
5997 * gdb.reverse/getresuid-reverse.exp
5998 * gdb.reverse/i386-precsave.exp
5999 * gdb.reverse/i386-reverse.exp
6000 * gdb.reverse/i386-sse-reverse.exp
6001 * gdb.reverse/i387-env-reverse.exp
6002 * gdb.reverse/i387-stack-reverse.exp
6003 * gdb.reverse/insn-reverse.exp
6004 * gdb.reverse/machinestate-precsave.exp
6005 * gdb.reverse/machinestate.exp
6006 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6007 * gdb.reverse/pipe-reverse.exp
6008 * gdb.reverse/readv-reverse.exp
6009 * gdb.reverse/recvmsg-reverse.exp
6010 * gdb.reverse/rerun-prec.exp
6011 * gdb.reverse/s390-mvcle.exp
6012 * gdb.reverse/step-precsave.exp
6013 * gdb.reverse/step-reverse.exp
6014 * gdb.reverse/time-reverse.exp
6015 * gdb.reverse/until-precsave.exp
6016 * gdb.reverse/until-reverse.exp
6017 * gdb.reverse/waitpid-reverse.exp
6018 * gdb.reverse/watch-precsave.exp
6019 * gdb.reverse/watch-reverse.exp
6020 * gdb.rust/generics.exp
6021 * gdb.rust/methods.exp
6022 * gdb.rust/modules.exp
6023 * gdb.rust/simple.exp
6024 * gdb.server/connect-with-no-symbol-file.exp
6025 * gdb.server/ext-attach.exp
6026 * gdb.server/ext-restart.exp
6027 * gdb.server/ext-wrapper.exp
6028 * gdb.server/file-transfer.exp
6029 * gdb.server/server-exec-info.exp
6030 * gdb.server/server-kill.exp
6031 * gdb.server/server-mon.exp
6032 * gdb.server/wrapper.exp
6033 * gdb.stabs/exclfwd.exp
6034 * gdb.stabs/gdb11479.exp
6035 * gdb.threads/clone-new-thread-event.exp
6036 * gdb.threads/corethreads.exp
6037 * gdb.threads/current-lwp-dead.exp
6038 * gdb.threads/dlopen-libpthread.exp
6039 * gdb.threads/gcore-thread.exp
6040 * gdb.threads/sigstep-threads.exp
6041 * gdb.threads/watchpoint-fork.exp
6042 * gdb.trace/actions-changed.exp
6043 * gdb.trace/backtrace.exp
6044 * gdb.trace/change-loc.exp
6045 * gdb.trace/circ.exp
6046 * gdb.trace/collection.exp
6047 * gdb.trace/disconnected-tracing.exp
6048 * gdb.trace/ftrace.exp
6049 * gdb.trace/mi-trace-frame-collected.exp
6050 * gdb.trace/mi-trace-unavailable.exp
6051 * gdb.trace/mi-traceframe-changed.exp
6052 * gdb.trace/mi-tsv-changed.exp
6053 * gdb.trace/no-attach-trace.exp
6054 * gdb.trace/passc-dyn.exp
6055 * gdb.trace/qtro.exp
6056 * gdb.trace/range-stepping.exp
6057 * gdb.trace/read-memory.exp
6058 * gdb.trace/save-trace.exp
6059 * gdb.trace/signal.exp
6060 * gdb.trace/status-stop.exp
6061 * gdb.trace/tfile.exp
6062 * gdb.trace/trace-break.exp
6063 * gdb.trace/trace-buffer-size.exp
6064 * gdb.trace/trace-condition.exp
6065 * gdb.trace/tracefile-pseudo-reg.exp
6066 * gdb.trace/tstatus.exp
6067 * gdb.trace/unavailable.exp
6068 * gdb.trace/while-dyn.exp
6069 * gdb.trace/while-stepping.exp
6070
6071 2016-12-22 Doug Evans <xdje42@gmail.com>
6072
6073 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6074 and msymbols.
6075
6076 2016-12-19 Yao Qi <yao.qi@linaro.org>
6077
6078 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6079 (test_with_self): Don't call do_steps_and_nexts, and remove
6080 code about stepping into xmalloc.
6081
6082 2016-12-09 Yao Qi <yao.qi@linaro.org>
6083
6084 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6085
6086 2016-12-09 Yao Qi <yao.qi@linaro.org>
6087
6088 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6089
6090 2016-12-09 Pedro Alves <palves@redhat.com>
6091
6092 * gdb.base/all-architectures-0.exp: New file.
6093 * gdb.base/all-architectures-1.exp: New file.
6094 * gdb.base/all-architectures-2.exp: New file.
6095 * gdb.base/all-architectures-3.exp: New file.
6096 * gdb.base/all-architectures-4.exp: New file.
6097 * gdb.base/all-architectures-5.exp: New file.
6098 * gdb.base/all-architectures-6.exp: New file.
6099 * gdb.base/all-architectures-7.exp: New file.
6100 * gdb.base/all-architectures.exp.in: New file.
6101
6102 2016-12-09 Yao Qi <yao.qi@linaro.org>
6103
6104 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6105
6106 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6107
6108 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6109 possible.
6110 Remove useless pattern-matching code.
6111
6112 2016-12-02 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6115 procedure.
6116 (top level): Call it.
6117
6118 2016-12-02 Pedro Alves <palves@redhat.com>
6119
6120 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6121 New procedure.
6122 (top level): Call it.
6123
6124 2016-12-02 Pedro Alves <palves@redhat.com>
6125
6126 PR cli/20559
6127 * gdb.base/commands.exp (user_defined_command_args_eval): New
6128 procedure.
6129 (top level): Call it.
6130
6131 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6132
6133 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6134 timeout handling.
6135
6136 2016-12-02 Tom Tromey <tom@tromey.com>
6137
6138 * gdb.dwarf2/main-subprogram.c: New file.
6139 * gdb.dwarf2/main-subprogram.exp: New file.
6140
6141 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6142
6143 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6144 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6145 gdb_test_no_output for a couple of cases.
6146 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6147
6148 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6149
6150 Fix test names and standardize compilation error messages throughout
6151 the following files:
6152
6153 * gdb.ada/start.exp
6154 * gdb.arch/alpha-step.exp
6155 * gdb.arch/e500-prologue.exp
6156 * gdb.arch/ftrace-insn-reloc.exp
6157 * gdb.arch/gdb1291.exp
6158 * gdb.arch/gdb1431.exp
6159 * gdb.arch/gdb1558.exp
6160 * gdb.arch/i386-dr3-watch.exp
6161 * gdb.arch/i386-sse-stack-align.exp
6162 * gdb.arch/ia64-breakpoint-shadow.exp
6163 * gdb.arch/pa-nullify.exp
6164 * gdb.arch/powerpc-aix-prologue.exp
6165 * gdb.arch/thumb-bx-pc.exp
6166 * gdb.base/annota1.exp
6167 * gdb.base/annota3.exp
6168 * gdb.base/arrayidx.exp
6169 * gdb.base/assign.exp
6170 * gdb.base/attach.exp
6171 * gdb.base/auxv.exp
6172 * gdb.base/bang.exp
6173 * gdb.base/bfp-test.exp
6174 * gdb.base/bigcore.exp
6175 * gdb.base/bitfields2.exp
6176 * gdb.base/break-fun-addr.exp
6177 * gdb.base/break-probes.exp
6178 * gdb.base/call-rt-st.exp
6179 * gdb.base/callexit.exp
6180 * gdb.base/catch-fork-kill.exp
6181 * gdb.base/charset.exp
6182 * gdb.base/checkpoint.exp
6183 * gdb.base/comprdebug.exp
6184 * gdb.base/constvars.exp
6185 * gdb.base/coredump-filter.exp
6186 * gdb.base/cursal.exp
6187 * gdb.base/cvexpr.exp
6188 * gdb.base/detach.exp
6189 * gdb.base/display.exp
6190 * gdb.base/dmsym.exp
6191 * gdb.base/dprintf-pending.exp
6192 * gdb.base/dso2dso.exp
6193 * gdb.base/dtrace-probe.exp
6194 * gdb.base/dump.exp
6195 * gdb.base/enum_cond.exp
6196 * gdb.base/exe-lock.exp
6197 * gdb.base/exec-invalid-sysroot.exp
6198 * gdb.base/execl-update-breakpoints.exp
6199 * gdb.base/exprs.exp
6200 * gdb.base/fileio.exp
6201 * gdb.base/find.exp
6202 * gdb.base/finish.exp
6203 * gdb.base/fixsection.exp
6204 * gdb.base/foll-vfork.exp
6205 * gdb.base/frame-args.exp
6206 * gdb.base/gcore.exp
6207 * gdb.base/gdb1250.exp
6208 * gdb.base/global-var-nested-by-dso.exp
6209 * gdb.base/gnu-ifunc.exp
6210 * gdb.base/hashline1.exp
6211 * gdb.base/hashline2.exp
6212 * gdb.base/hashline3.exp
6213 * gdb.base/hbreak-in-shr-unsupported.exp
6214 * gdb.base/huge.exp
6215 * gdb.base/infcall-input.exp
6216 * gdb.base/info-fun.exp
6217 * gdb.base/info-shared.exp
6218 * gdb.base/jit-simple.exp
6219 * gdb.base/jit-so.exp
6220 * gdb.base/jit.exp
6221 * gdb.base/jump.exp
6222 * gdb.base/label.exp
6223 * gdb.base/lineinc.exp
6224 * gdb.base/logical.exp
6225 * gdb.base/longjmp.exp
6226 * gdb.base/macscp.exp
6227 * gdb.base/miscexprs.exp
6228 * gdb.base/new-ui-echo.exp
6229 * gdb.base/new-ui-pending-input.exp
6230 * gdb.base/new-ui.exp
6231 * gdb.base/nodebug.exp
6232 * gdb.base/nofield.exp
6233 * gdb.base/offsets.exp
6234 * gdb.base/overlays.exp
6235 * gdb.base/pending.exp
6236 * gdb.base/pointers.exp
6237 * gdb.base/pr11022.exp
6238 * gdb.base/printcmds.exp
6239 * gdb.base/prologue.exp
6240 * gdb.base/ptr-typedef.exp
6241 * gdb.base/realname-expand.exp
6242 * gdb.base/relativedebug.exp
6243 * gdb.base/relocate.exp
6244 * gdb.base/remote.exp
6245 * gdb.base/reread.exp
6246 * gdb.base/return2.exp
6247 * gdb.base/savedregs.exp
6248 * gdb.base/sep.exp
6249 * gdb.base/sepdebug.exp
6250 * gdb.base/sepsymtab.exp
6251 * gdb.base/set-inferior-tty.exp
6252 * gdb.base/setshow.exp
6253 * gdb.base/shlib-call.exp
6254 * gdb.base/sigaltstack.exp
6255 * gdb.base/siginfo-addr.exp
6256 * gdb.base/signals.exp
6257 * gdb.base/signull.exp
6258 * gdb.base/sigrepeat.exp
6259 * gdb.base/so-impl-ld.exp
6260 * gdb.base/solib-display.exp
6261 * gdb.base/solib-overlap.exp
6262 * gdb.base/solib-search.exp
6263 * gdb.base/solib-symbol.exp
6264 * gdb.base/structs.exp
6265 * gdb.base/structs2.exp
6266 * gdb.base/symtab-search-order.exp
6267 * gdb.base/twice.exp
6268 * gdb.base/unload.exp
6269 * gdb.base/varargs.exp
6270 * gdb.base/watchpoint-solib.exp
6271 * gdb.base/watchpoint.exp
6272 * gdb.base/whatis.exp
6273 * gdb.base/wrong_frame_bt_full.exp
6274 * gdb.btrace/dlopen.exp
6275 * gdb.cell/ea-standalone.exp
6276 * gdb.cell/ea-test.exp
6277 * gdb.cp/dispcxx.exp
6278 * gdb.cp/gdb2384.exp
6279 * gdb.cp/method2.exp
6280 * gdb.cp/nextoverthrow.exp
6281 * gdb.cp/pr10728.exp
6282 * gdb.disasm/am33.exp
6283 * gdb.disasm/h8300s.exp
6284 * gdb.disasm/mn10300.exp
6285 * gdb.disasm/sh3.exp
6286 * gdb.dwarf2/dw2-dir-file-name.exp
6287 * gdb.fortran/complex.exp
6288 * gdb.fortran/library-module.exp
6289 * gdb.guile/scm-pretty-print.exp
6290 * gdb.guile/scm-symbol.exp
6291 * gdb.guile/scm-type.exp
6292 * gdb.guile/scm-value.exp
6293 * gdb.linespec/linespec.exp
6294 * gdb.mi/gdb701.exp
6295 * gdb.mi/gdb792.exp
6296 * gdb.mi/mi-breakpoint-changed.exp
6297 * gdb.mi/mi-dprintf-pending.exp
6298 * gdb.mi/mi-dprintf.exp
6299 * gdb.mi/mi-exit-code.exp
6300 * gdb.mi/mi-pending.exp
6301 * gdb.mi/mi-solib.exp
6302 * gdb.mi/new-ui-mi-sync.exp
6303 * gdb.mi/pr11022.exp
6304 * gdb.mi/user-selected-context-sync.exp
6305 * gdb.opt/solib-intra-step.exp
6306 * gdb.python/py-events.exp
6307 * gdb.python/py-finish-breakpoint.exp
6308 * gdb.python/py-mi.exp
6309 * gdb.python/py-prettyprint.exp
6310 * gdb.python/py-shared.exp
6311 * gdb.python/py-symbol.exp
6312 * gdb.python/py-template.exp
6313 * gdb.python/py-type.exp
6314 * gdb.python/py-value.exp
6315 * gdb.reverse/solib-precsave.exp
6316 * gdb.reverse/solib-reverse.exp
6317 * gdb.server/solib-list.exp
6318 * gdb.stabs/weird.exp
6319 * gdb.threads/reconnect-signal.exp
6320 * gdb.threads/stepi-random-signal.exp
6321 * gdb.trace/actions.exp
6322 * gdb.trace/ax.exp
6323 * gdb.trace/backtrace.exp
6324 * gdb.trace/change-loc.exp
6325 * gdb.trace/deltrace.exp
6326 * gdb.trace/ftrace-lock.exp
6327 * gdb.trace/ftrace.exp
6328 * gdb.trace/infotrace.exp
6329 * gdb.trace/mi-tracepoint-changed.exp
6330 * gdb.trace/packetlen.exp
6331 * gdb.trace/passcount.exp
6332 * gdb.trace/pending.exp
6333 * gdb.trace/range-stepping.exp
6334 * gdb.trace/report.exp
6335 * gdb.trace/stap-trace.exp
6336 * gdb.trace/tfind.exp
6337 * gdb.trace/trace-break.exp
6338 * gdb.trace/trace-condition.exp
6339 * gdb.trace/trace-enable-disable.exp
6340 * gdb.trace/trace-mt.exp
6341 * gdb.trace/tracecmd.exp
6342 * gdb.trace/tspeed.exp
6343 * gdb.trace/tsv.exp
6344 * lib/perftest.exp
6345
6346 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6347
6348 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6349 with gdb_test_no_output.
6350 Use command as test name.
6351
6352 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6353
6354 Fix test names starting with uppercase throughout the files.
6355
6356 * gdb.ada/assign_1.exp
6357 * gdb.ada/boolean_expr.exp
6358 * gdb.base/arrayidx.exp
6359 * gdb.base/del.exp
6360 * gdb.base/gcore-buffer-overflow.exp
6361 * gdb.base/testenv.exp
6362 * gdb.compile/compile.exp
6363 * gdb.python/py-framefilter-invalidarg.exp
6364 * gdb.python/py-framefilter.exp
6365
6366 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6367
6368 Fix test names starting with uppercase throughout the files.
6369
6370 * gdb.ada/array_return.exp
6371 * gdb.ada/expr_delims.exp
6372 * gdb.ada/mi_dyn_arr.exp
6373 * gdb.ada/mi_interface.exp
6374 * gdb.ada/mi_var_array.exp
6375 * gdb.ada/watch_arg.exp
6376 * gdb.arch/alpha-step.exp
6377 * gdb.arch/altivec-regs.exp
6378 * gdb.arch/e500-regs.exp
6379 * gdb.arch/powerpc-d128-regs.exp
6380 * gdb.base/arrayidx.exp
6381 * gdb.base/break.exp
6382 * gdb.base/checkpoint.exp
6383 * gdb.base/debug-expr.exp
6384 * gdb.base/dmsym.exp
6385 * gdb.base/radix.exp
6386 * gdb.base/sepdebug.exp
6387 * gdb.base/testenv.exp
6388 * gdb.base/watch_thread_num.exp
6389 * gdb.base/watchpoint-cond-gone.exp
6390 * gdb.cell/break.exp
6391 * gdb.cell/ea-cache.exp
6392 * gdb.compile/compile.exp
6393 * gdb.cp/gdb2495.exp
6394 * gdb.gdb/selftest.exp
6395 * gdb.gdb/xfullpath.exp
6396 * gdb.go/hello.exp
6397 * gdb.go/integers.exp
6398 * gdb.objc/basicclass.exp
6399 * gdb.pascal/hello.exp
6400 * gdb.pascal/integers.exp
6401 * gdb.python/py-breakpoint.exp
6402 * gdb.python/py-cmd.exp
6403 * gdb.python/py-linetable.exp
6404 * gdb.python/py-xmethods.exp
6405 * gdb.python/python.exp
6406 * gdb.reverse/consecutive-precsave.exp
6407 * gdb.reverse/finish-precsave.exp
6408 * gdb.reverse/i386-precsave.exp
6409 * gdb.reverse/machinestate-precsave.exp
6410 * gdb.reverse/sigall-precsave.exp
6411 * gdb.reverse/solib-precsave.exp
6412 * gdb.reverse/step-precsave.exp
6413 * gdb.reverse/until-precsave.exp
6414 * gdb.reverse/watch-precsave.exp
6415 * gdb.threads/leader-exit.exp
6416 * gdb.threads/pthreads.exp
6417 * gdb.threads/wp-replication.exp
6418 * gdb.trace/actions.exp
6419 * gdb.trace/mi-tsv-changed.exp
6420 * gdb.trace/tsv.exp
6421
6422 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6423
6424 Fix test names starting with uppercase throughout the files.
6425
6426 * gdb.arch/i386-bp_permanent.exp
6427 * gdb.arch/i386-gnu-cfi.exp
6428 * gdb.base/disasm-end-cu.exp
6429 * gdb.base/macscp.exp
6430 * gdb.base/pending.exp
6431 * gdb.base/watch_thread_num.exp
6432 * gdb.cp/exception.exp
6433 * gdb.cp/gdb2495.exp
6434 * gdb.cp/local.exp
6435 * gdb.python/py-evsignal.exp
6436 * gdb.python/python.exp
6437 * gdb.trace/tracecmd.exp
6438
6439 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6440
6441 Fix test names starting with uppercase throughout the files.
6442
6443 * gdb.base/charset.exp
6444 * gdb.base/eval.exp
6445 * gdb.base/multi-forks.exp
6446 * gdb.guile/scm-progspace.exp
6447 * gdb.opencl/datatypes.exp
6448 * gdb.python/py-block.exp
6449 * gdb.python/py-function.exp
6450 * gdb.python/py-symbol.exp
6451 * gdb.python/py-symtab.exp
6452 * gdb.python/py-xmethods.exp
6453 * gdb.reverse/break-precsave.exp
6454 * gdb.reverse/break-reverse.exp
6455 * gdb.reverse/consecutive-precsave.exp
6456 * gdb.reverse/consecutive-reverse.exp
6457 * gdb.reverse/finish-precsave.exp
6458 * gdb.reverse/finish-reverse-bkpt.exp
6459 * gdb.reverse/finish-reverse.exp
6460 * gdb.reverse/fstatat-reverse.exp
6461 * gdb.reverse/getresuid-reverse.exp
6462 * gdb.reverse/i386-precsave.exp
6463 * gdb.reverse/i386-reverse.exp
6464 * gdb.reverse/i386-sse-reverse.exp
6465 * gdb.reverse/i387-stack-reverse.exp
6466 * gdb.reverse/insn-reverse.exp
6467 * gdb.reverse/machinestate-precsave.exp
6468 * gdb.reverse/machinestate.exp
6469 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6470 * gdb.reverse/pipe-reverse.exp
6471 * gdb.reverse/readv-reverse.exp
6472 * gdb.reverse/recvmsg-reverse.exp
6473 * gdb.reverse/rerun-prec.exp
6474 * gdb.reverse/s390-mvcle.exp
6475 * gdb.reverse/sigall-precsave.exp
6476 * gdb.reverse/sigall-reverse.exp
6477 * gdb.reverse/solib-precsave.exp
6478 * gdb.reverse/solib-reverse.exp
6479 * gdb.reverse/step-precsave.exp
6480 * gdb.reverse/step-reverse.exp
6481 * gdb.reverse/time-reverse.exp
6482 * gdb.reverse/until-precsave.exp
6483 * gdb.reverse/until-reverse.exp
6484 * gdb.reverse/waitpid-reverse.exp
6485 * gdb.reverse/watch-precsave.exp
6486 * gdb.reverse/watch-reverse.exp
6487
6488 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6489
6490 Fix test names starting with uppercase throughout the files.
6491
6492 * gdb.arch/i386-mpx-simple_segv.exp
6493 * gdb.arch/i386-mpx.exp
6494 * gdb.arch/i386-permbkpt.exp
6495 * gdb.arch/pa-nullify.exp
6496 * gdb.arch/powerpc-d128-regs.exp
6497 * gdb.arch/vsx-regs.exp
6498 * gdb.base/bfp-test.exp
6499 * gdb.base/break.exp
6500 * gdb.base/breakpoint-shadow.exp
6501 * gdb.base/callfuncs.exp
6502 * gdb.base/charset.exp
6503 * gdb.base/commands.exp
6504 * gdb.base/completion.exp
6505 * gdb.base/dfp-test.exp
6506 * gdb.base/echo.exp
6507 * gdb.base/ending-run.exp
6508 * gdb.base/eval.exp
6509 * gdb.base/expand-psymtabs.exp
6510 * gdb.base/float128.exp
6511 * gdb.base/floatn.exp
6512 * gdb.base/foll-exec-mode.exp
6513 * gdb.base/gdb1056.exp
6514 * gdb.base/gdb11531.exp
6515 * gdb.base/kill-after-signal.exp
6516 * gdb.base/multi-forks.exp
6517 * gdb.base/overlays.exp
6518 * gdb.base/pending.exp
6519 * gdb.base/sepdebug.exp
6520 * gdb.base/testenv.exp
6521 * gdb.base/valgrind-db-attach.exp
6522 * gdb.base/watch_thread_num.exp
6523 * gdb.base/watchpoint-cond-gone.exp
6524 * gdb.base/watchpoint.exp
6525 * gdb.base/watchpoints.exp
6526 * gdb.cp/arg-reference.exp
6527 * gdb.cp/baseenum.exp
6528 * gdb.cp/operator.exp
6529 * gdb.cp/shadow.exp
6530 * gdb.dwarf2/dw2-op-out-param.exp
6531 * gdb.dwarf2/dw2-reg-undefined.exp
6532 * gdb.go/chan.exp
6533 * gdb.go/hello.exp
6534 * gdb.go/integers.exp
6535 * gdb.go/methods.exp
6536 * gdb.go/package.exp
6537 * gdb.guile/scm-parameter.exp
6538 * gdb.guile/scm-progspace.exp
6539 * gdb.guile/scm-value.exp
6540 * gdb.mi/mi-pending.exp
6541 * gdb.mi/user-selected-context-sync.exp
6542 * gdb.multi/multi-attach.exp
6543 * gdb.multi/tids.exp
6544 * gdb.opt/clobbered-registers-O2.exp
6545 * gdb.pascal/floats.exp
6546 * gdb.pascal/integers.exp
6547 * gdb.python/py-block.exp
6548 * gdb.python/py-events.exp
6549 * gdb.python/py-parameter.exp
6550 * gdb.python/py-symbol.exp
6551 * gdb.python/py-symtab.exp
6552 * gdb.python/py-type.exp
6553 * gdb.python/py-value.exp
6554 * gdb.python/py-xmethods.exp
6555 * gdb.python/python.exp
6556 * gdb.reverse/break-precsave.exp
6557 * gdb.reverse/consecutive-precsave.exp
6558 * gdb.reverse/finish-precsave.exp
6559 * gdb.reverse/i386-precsave.exp
6560 * gdb.reverse/machinestate-precsave.exp
6561 * gdb.reverse/sigall-precsave.exp
6562 * gdb.reverse/solib-precsave.exp
6563 * gdb.reverse/step-precsave.exp
6564 * gdb.reverse/until-precsave.exp
6565 * gdb.reverse/watch-precsave.exp
6566 * gdb.server/ext-attach.exp
6567 * gdb.server/ext-restart.exp
6568 * gdb.server/ext-run.exp
6569 * gdb.server/ext-wrapper.exp
6570 * gdb.stabs/gdb11479.exp
6571 * gdb.stabs/weird.exp
6572 * gdb.threads/attach-many-short-lived-threads.exp
6573 * gdb.threads/kill.exp
6574 * gdb.threads/watchpoint-fork.exp
6575
6576 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6577
6578 Fix test names starting with uppercase throughout all the files below.
6579
6580 * gdb.ada/array_return.exp
6581 * gdb.ada/catch_ex.exp
6582 * gdb.ada/info_exc.exp
6583 * gdb.ada/mi_catch_ex.exp
6584 * gdb.ada/mi_dyn_arr.exp
6585 * gdb.ada/mi_ex_cond.exp
6586 * gdb.ada/mi_exc_info.exp
6587 * gdb.ada/mi_interface.exp
6588 * gdb.ada/mi_task_arg.exp
6589 * gdb.ada/mi_task_info.exp
6590 * gdb.ada/mi_var_array.exp
6591 * gdb.arch/alpha-step.exp
6592 * gdb.arch/amd64-disp-step.exp
6593 * gdb.arch/arm-disp-step.exp
6594 * gdb.arch/disp-step-insn-reloc.exp
6595 * gdb.arch/e500-prologue.exp
6596 * gdb.arch/ftrace-insn-reloc.exp
6597 * gdb.arch/gdb1558.exp
6598 * gdb.arch/i386-bp_permanent.exp
6599 * gdb.arch/i386-disp-step.exp
6600 * gdb.arch/i386-float.exp
6601 * gdb.arch/i386-gnu-cfi.exp
6602 * gdb.arch/ia64-breakpoint-shadow.exp
6603 * gdb.arch/mips16-thunks.exp
6604 * gdb.arch/pa-nullify.exp
6605 * gdb.arch/powerpc-aix-prologue.exp
6606 * gdb.arch/powerpc-power.exp
6607 * gdb.arch/ppc-dfp.exp
6608 * gdb.arch/s390-tdbregs.exp
6609 * gdb.arch/spu-info.exp
6610 * gdb.arch/spu-ls.exp
6611 * gdb.arch/thumb-bx-pc.exp
6612 * gdb.base/advance.exp
6613 * gdb.base/annota-input-while-running.exp
6614 * gdb.base/arrayidx.exp
6615 * gdb.base/asmlabel.exp
6616 * gdb.base/async.exp
6617 * gdb.base/attach-wait-input.exp
6618 * gdb.base/auto-connect-native-target.exp
6619 * gdb.base/batch-preserve-term-settings.exp
6620 * gdb.base/bfp-test.exp
6621 * gdb.base/bigcore.exp
6622 * gdb.base/bp-permanent.exp
6623 * gdb.base/break-always.exp
6624 * gdb.base/break-fun-addr.exp
6625 * gdb.base/break-idempotent.exp
6626 * gdb.base/break-main-file-remove-fail.exp
6627 * gdb.base/break-probes.exp
6628 * gdb.base/break-unload-file.exp
6629 * gdb.base/break.exp
6630 * gdb.base/call-ar-st.exp
6631 * gdb.base/call-rt-st.exp
6632 * gdb.base/call-sc.exp
6633 * gdb.base/call-signal-resume.exp
6634 * gdb.base/call-strs.exp
6635 * gdb.base/callexit.exp
6636 * gdb.base/callfuncs.exp
6637 * gdb.base/catch-gdb-caused-signals.exp
6638 * gdb.base/catch-signal-siginfo-cond.exp
6639 * gdb.base/catch-syscall.exp
6640 * gdb.base/compare-sections.exp
6641 * gdb.base/cond-eval-mode.exp
6642 * gdb.base/condbreak-call-false.exp
6643 * gdb.base/consecutive-step-over.exp
6644 * gdb.base/cursal.exp
6645 * gdb.base/disabled-location.exp
6646 * gdb.base/disasm-end-cu.exp
6647 * gdb.base/display.exp
6648 * gdb.base/double-prompt-target-event-error.exp
6649 * gdb.base/dprintf-bp-same-addr.exp
6650 * gdb.base/dprintf-detach.exp
6651 * gdb.base/dprintf-next.exp
6652 * gdb.base/dprintf-non-stop.exp
6653 * gdb.base/dprintf-pending.exp
6654 * gdb.base/dso2dso.exp
6655 * gdb.base/ending-run.exp
6656 * gdb.base/enum_cond.exp
6657 * gdb.base/examine-backward.exp
6658 * gdb.base/exe-lock.exp
6659 * gdb.base/exec-invalid-sysroot.exp
6660 * gdb.base/execl-update-breakpoints.exp
6661 * gdb.base/execution-termios.exp
6662 * gdb.base/fileio.exp
6663 * gdb.base/fixsection.exp
6664 * gdb.base/foll-exec-mode.exp
6665 * gdb.base/foll-exec.exp
6666 * gdb.base/fork-running-state.exp
6667 * gdb.base/frame-args.exp
6668 * gdb.base/fullpath-expand.exp
6669 * gdb.base/func-ptr.exp
6670 * gdb.base/gcore-relro-pie.exp
6671 * gdb.base/gdb1090.exp
6672 * gdb.base/gdb1555.exp
6673 * gdb.base/global-var-nested-by-dso.exp
6674 * gdb.base/gnu-ifunc.exp
6675 * gdb.base/hbreak-in-shr-unsupported.exp
6676 * gdb.base/hbreak-unmapped.exp
6677 * gdb.base/hook-stop.exp
6678 * gdb.base/infcall-input.exp
6679 * gdb.base/info-fun.exp
6680 * gdb.base/info-shared.exp
6681 * gdb.base/interrupt-noterm.exp
6682 * gdb.base/jit-so.exp
6683 * gdb.base/jit.exp
6684 * gdb.base/line-symtabs.exp
6685 * gdb.base/list.exp
6686 * gdb.base/longjmp.exp
6687 * gdb.base/macscp.exp
6688 * gdb.base/max-value-size.exp
6689 * gdb.base/nodebug.exp
6690 * gdb.base/nofield.exp
6691 * gdb.base/overlays.exp
6692 * gdb.base/paginate-after-ctrl-c-running.exp
6693 * gdb.base/paginate-bg-execution.exp
6694 * gdb.base/paginate-inferior-exit.exp
6695 * gdb.base/pending.exp
6696 * gdb.base/pr11022.exp
6697 * gdb.base/printcmds.exp
6698 * gdb.base/ptr-typedef.exp
6699 * gdb.base/ptype.exp
6700 * gdb.base/randomize.exp
6701 * gdb.base/range-stepping.exp
6702 * gdb.base/realname-expand.exp
6703 * gdb.base/relativedebug.exp
6704 * gdb.base/remote.exp
6705 * gdb.base/savedregs.exp
6706 * gdb.base/sepdebug.exp
6707 * gdb.base/set-noassign.exp
6708 * gdb.base/shlib-call.exp
6709 * gdb.base/shreloc.exp
6710 * gdb.base/sigaltstack.exp
6711 * gdb.base/sigbpt.exp
6712 * gdb.base/siginfo-addr.exp
6713 * gdb.base/siginfo-obj.exp
6714 * gdb.base/siginfo-thread.exp
6715 * gdb.base/signest.exp
6716 * gdb.base/signull.exp
6717 * gdb.base/sigrepeat.exp
6718 * gdb.base/skip.exp
6719 * gdb.base/so-impl-ld.exp
6720 * gdb.base/solib-corrupted.exp
6721 * gdb.base/solib-disc.exp
6722 * gdb.base/solib-display.exp
6723 * gdb.base/solib-overlap.exp
6724 * gdb.base/solib-search.exp
6725 * gdb.base/solib-symbol.exp
6726 * gdb.base/source-execution.exp
6727 * gdb.base/sss-bp-on-user-bp-2.exp
6728 * gdb.base/sss-bp-on-user-bp.exp
6729 * gdb.base/stack-checking.exp
6730 * gdb.base/stale-infcall.exp
6731 * gdb.base/step-break.exp
6732 * gdb.base/step-line.exp
6733 * gdb.base/step-over-exit.exp
6734 * gdb.base/step-test.exp
6735 * gdb.base/structs.exp
6736 * gdb.base/sym-file.exp
6737 * gdb.base/symtab-search-order.exp
6738 * gdb.base/term.exp
6739 * gdb.base/type-opaque.exp
6740 * gdb.base/unload.exp
6741 * gdb.base/until-nodebug.exp
6742 * gdb.base/until.exp
6743 * gdb.base/unwindonsignal.exp
6744 * gdb.base/watch-cond.exp
6745 * gdb.base/watch-non-mem.exp
6746 * gdb.base/watch_thread_num.exp
6747 * gdb.base/watchpoint-reuse-slot.exp
6748 * gdb.base/watchpoint-solib.exp
6749 * gdb.base/watchpoint.exp
6750 * gdb.btrace/dlopen.exp
6751 * gdb.cell/arch.exp
6752 * gdb.cell/break.exp
6753 * gdb.cell/bt.exp
6754 * gdb.cell/core.exp
6755 * gdb.cell/data.exp
6756 * gdb.cell/dwarfaddr.exp
6757 * gdb.cell/ea-cache.exp
6758 * gdb.cell/ea-standalone.exp
6759 * gdb.cell/ea-test.exp
6760 * gdb.cell/f-regs.exp
6761 * gdb.cell/fork.exp
6762 * gdb.cell/gcore.exp
6763 * gdb.cell/mem-access.exp
6764 * gdb.cell/ptype.exp
6765 * gdb.cell/registers.exp
6766 * gdb.cell/sizeof.exp
6767 * gdb.cell/solib-symbol.exp
6768 * gdb.cell/solib.exp
6769 * gdb.compile/compile-tls.exp
6770 * gdb.cp/exception.exp
6771 * gdb.cp/gdb2495.exp
6772 * gdb.cp/local.exp
6773 * gdb.cp/mb-inline.exp
6774 * gdb.cp/mb-templates.exp
6775 * gdb.cp/pr10687.exp
6776 * gdb.cp/pr9167.exp
6777 * gdb.cp/scope-err.exp
6778 * gdb.cp/templates.exp
6779 * gdb.cp/virtfunc.exp
6780 * gdb.dwarf2/dw2-dir-file-name.exp
6781 * gdb.dwarf2/dw2-single-line-discriminators.exp
6782 * gdb.fortran/complex.exp
6783 * gdb.fortran/library-module.exp
6784 * gdb.guile/guile.exp
6785 * gdb.guile/scm-cmd.exp
6786 * gdb.guile/scm-frame-inline.exp
6787 * gdb.guile/scm-objfile.exp
6788 * gdb.guile/scm-pretty-print.exp
6789 * gdb.guile/scm-symbol.exp
6790 * gdb.guile/scm-type.exp
6791 * gdb.guile/scm-value.exp
6792 * gdb.linespec/keywords.exp
6793 * gdb.linespec/ls-errs.exp
6794 * gdb.linespec/macro-relative.exp
6795 * gdb.linespec/thread.exp
6796 * gdb.mi/mi-breakpoint-changed.exp
6797 * gdb.mi/mi-dprintf-pending.exp
6798 * gdb.mi/mi-fullname-deleted.exp
6799 * gdb.mi/mi-logging.exp
6800 * gdb.mi/mi-pending.exp
6801 * gdb.mi/mi-solib.exp
6802 * gdb.mi/new-ui-mi-sync.exp
6803 * gdb.mi/user-selected-context-sync.exp
6804 * gdb.multi/dummy-frame-restore.exp
6805 * gdb.multi/multi-arch-exec.exp
6806 * gdb.multi/remove-inferiors.exp
6807 * gdb.multi/watchpoint-multi-exit.exp
6808 * gdb.opt/solib-intra-step.exp
6809 * gdb.perf/backtrace.exp
6810 * gdb.perf/single-step.exp
6811 * gdb.perf/skip-command.exp
6812 * gdb.perf/skip-prologue.exp
6813 * gdb.perf/solib.exp
6814 * gdb.python/lib-types.exp
6815 * gdb.python/py-as-string.exp
6816 * gdb.python/py-bad-printers.exp
6817 * gdb.python/py-block.exp
6818 * gdb.python/py-breakpoint.exp
6819 * gdb.python/py-cmd.exp
6820 * gdb.python/py-events.exp
6821 * gdb.python/py-evthreads.exp
6822 * gdb.python/py-finish-breakpoint.exp
6823 * gdb.python/py-finish-breakpoint2.exp
6824 * gdb.python/py-frame-inline.exp
6825 * gdb.python/py-frame.exp
6826 * gdb.python/py-inferior.exp
6827 * gdb.python/py-infthread.exp
6828 * gdb.python/py-mi.exp
6829 * gdb.python/py-objfile.exp
6830 * gdb.python/py-pp-maint.exp
6831 * gdb.python/py-pp-registration.exp
6832 * gdb.python/py-prettyprint.exp
6833 * gdb.python/py-recurse-unwind.exp
6834 * gdb.python/py-shared.exp
6835 * gdb.python/py-symbol.exp
6836 * gdb.python/py-symtab.exp
6837 * gdb.python/py-template.exp
6838 * gdb.python/py-type.exp
6839 * gdb.python/py-unwind-maint.exp
6840 * gdb.python/py-unwind.exp
6841 * gdb.python/py-value.exp
6842 * gdb.python/python.exp
6843 * gdb.reverse/finish-reverse-bkpt.exp
6844 * gdb.reverse/insn-reverse.exp
6845 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6846 * gdb.reverse/solib-precsave.exp
6847 * gdb.reverse/solib-reverse.exp
6848 * gdb.stabs/gdb11479.exp
6849 * gdb.stabs/weird.exp
6850 * gdb.threads/fork-child-threads.exp
6851 * gdb.threads/fork-plus-threads.exp
6852 * gdb.threads/fork-thread-pending.exp
6853 * gdb.threads/forking-threads-plus-breakpoint.exp
6854 * gdb.threads/hand-call-in-threads.exp
6855 * gdb.threads/interrupted-hand-call.exp
6856 * gdb.threads/linux-dp.exp
6857 * gdb.threads/local-watch-wrong-thread.exp
6858 * gdb.threads/next-while-other-thread-longjmps.exp
6859 * gdb.threads/non-ldr-exit.exp
6860 * gdb.threads/pending-step.exp
6861 * gdb.threads/print-threads.exp
6862 * gdb.threads/process-dies-while-detaching.exp
6863 * gdb.threads/process-dies-while-handling-bp.exp
6864 * gdb.threads/pthreads.exp
6865 * gdb.threads/queue-signal.exp
6866 * gdb.threads/reconnect-signal.exp
6867 * gdb.threads/signal-command-handle-nopass.exp
6868 * gdb.threads/signal-command-multiple-signals-pending.exp
6869 * gdb.threads/signal-delivered-right-thread.exp
6870 * gdb.threads/signal-sigtrap.exp
6871 * gdb.threads/sigthread.exp
6872 * gdb.threads/staticthreads.exp
6873 * gdb.threads/stepi-random-signal.exp
6874 * gdb.threads/thread-unwindonsignal.exp
6875 * gdb.threads/thread_check.exp
6876 * gdb.threads/thread_events.exp
6877 * gdb.threads/tid-reuse.exp
6878 * gdb.threads/tls-nodebug.exp
6879 * gdb.threads/tls-shared.exp
6880 * gdb.threads/tls-so_extern.exp
6881 * gdb.threads/tls.exp
6882 * gdb.threads/wp-replication.exp
6883 * gdb.trace/actions-changed.exp
6884 * gdb.trace/actions.exp
6885 * gdb.trace/backtrace.exp
6886 * gdb.trace/change-loc.exp
6887 * gdb.trace/collection.exp
6888 * gdb.trace/deltrace.exp
6889 * gdb.trace/disconnected-tracing.exp
6890 * gdb.trace/entry-values.exp
6891 * gdb.trace/ftrace-lock.exp
6892 * gdb.trace/ftrace.exp
6893 * gdb.trace/infotrace.exp
6894 * gdb.trace/mi-trace-frame-collected.exp
6895 * gdb.trace/mi-trace-unavailable.exp
6896 * gdb.trace/mi-traceframe-changed.exp
6897 * gdb.trace/mi-tracepoint-changed.exp
6898 * gdb.trace/mi-tsv-changed.exp
6899 * gdb.trace/no-attach-trace.exp
6900 * gdb.trace/packetlen.exp
6901 * gdb.trace/passc-dyn.exp
6902 * gdb.trace/passcount.exp
6903 * gdb.trace/pending.exp
6904 * gdb.trace/pr16508.exp
6905 * gdb.trace/qtro.exp
6906 * gdb.trace/range-stepping.exp
6907 * gdb.trace/read-memory.exp
6908 * gdb.trace/report.exp
6909 * gdb.trace/save-trace.exp
6910 * gdb.trace/signal.exp
6911 * gdb.trace/stap-trace.exp
6912 * gdb.trace/status-stop.exp
6913 * gdb.trace/strace.exp
6914 * gdb.trace/tfile.exp
6915 * gdb.trace/tfind.exp
6916 * gdb.trace/trace-break.exp
6917 * gdb.trace/trace-condition.exp
6918 * gdb.trace/trace-enable-disable.exp
6919 * gdb.trace/trace-mt.exp
6920 * gdb.trace/tracecmd.exp
6921 * gdb.trace/tracefile-pseudo-reg.exp
6922 * gdb.trace/tspeed.exp
6923 * gdb.trace/tstatus.exp
6924 * gdb.trace/tsv.exp
6925 * gdb.trace/unavailable.exp
6926 * gdb.trace/while-dyn.exp
6927 * gdb.trace/while-stepping.exp
6928 * lib/gdb-guile.exp
6929 * lib/gdb.exp
6930 * lib/mi-support.exp
6931 * lib/pascal.exp
6932 * lib/perftest.exp
6933 * lib/prelink-support.exp
6934 * lib/selftest-support.exp
6935
6936 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6937
6938 * Makefile.in: Include disable-implicit-rules.mk.
6939
6940 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6941
6942 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6943 non-byte-aligned bit fields.
6944
6945 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6946
6947 PR gdb/12616
6948 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6949 respects the DW_AT_data_bit_offset attribute.
6950
6951 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6952
6953 * gdb.base/default.exp: Fix output of "set language".
6954
6955 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6956
6957 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6958 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6959 make.
6960 * configure.ac: Remove checks for the make program.
6961 * configure: Re-generate.
6962
6963 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6964
6965 * gdb.python/py-recurse-unwind.c (main): Add loop.
6966 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6967 to read_register() and gdb.parse_and_eval(). Make each code
6968 call a separate case that can be individually tested.
6969 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6970 proc. Call cont_and_backtrace for each of the code paths that
6971 we want to test in the unwinder.
6972
6973 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6974
6975 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6976 the definition of struct S.
6977
6978 2016-11-11 Catherine Moore <clm@codesourcery.com>
6979
6980 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6981
6982 2016-11-09 Pedro Alves <palves@redhat.com>
6983
6984 * gdb.base/commands.exp (runto_or_return): New procedure.
6985 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6986 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6987 (progvar_simple_while_test, progvar_complex_if_while_test)
6988 (if_while_breakpoint_command_test)
6989 (infrun_breakpoint_command_test, breakpoint_command_test)
6990 (user_defined_command_test, watchpoint_command_test)
6991 (test_command_prompt_position, redefine_hook_test)
6992 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6993 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6994 multi_line_input and multi_line. Remove gdb_expect and
6995 gdb_stop_suppressing_tests uses.
6996 * lib/gdb.exp (valnum_re): New global.
6997 (multi_line_input): New procedure.
6998
6999 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7000
7001 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7002 Remove.
7003 (test_setup): Define with proc_with_prefix.
7004 (test_cli_inferior): Likewise.
7005 (test_cli_thread): Likewise.
7006 (test_cli_frame): Likewise.
7007 (test_cli_select_frame): Likewise.
7008 (test_cli_up_down): Likewise.
7009 (test_mi_thread_select): Likewise.
7010 (test_mi_stack_select_frame): Likewise.
7011 (test_cli_in_mi_inferior): Likewise.
7012 (test_cli_in_mi_thread): Likewise.
7013 (test_cli_in_mi_frame): Likewise.
7014 (top level): Do not use with_test_prefix_procname.
7015
7016 2016-11-09 Pedro Alves <palves@redhat.com>
7017
7018 * gdb.base/commands.exp (gdbvar_simple_if_test)
7019 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7020 (progvar_simple_if_test, progvar_simple_while_test)
7021 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7022 (infrun_breakpoint_command_test, breakpoint_command_test)
7023 (user_defined_command_test, watchpoint_command_test)
7024 (test_command_prompt_position, deprecated_command_test)
7025 (bp_deleted_in_command, temporary_breakpoint_commands)
7026 (stray_arg0_test, source_file_with_indented_comment)
7027 (recursive_source_test, if_commands_test)
7028 (error_clears_commands_left, redefine_hook_test)
7029 (redefine_backtrace_test): Use proc_with_prefix.
7030 * lib/gdb.exp (proc_with_prefix): New proc.
7031
7032 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033
7034 * gdb.base/tui-layout.c: New file.
7035 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7036 disassembly window contains very long lines.
7037
7038 2016-11-08 Tom Tromey <tom@tromey.com>
7039
7040 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7041 depend on Python 2.
7042
7043 2016-11-08 Tom Tromey <tom@tromey.com>
7044
7045 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7046 New method.
7047
7048 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7049
7050 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7051
7052 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7053
7054 * gdb.rust/simple.rs: Add test for univariant enums without
7055 discriminants and for encoded struct-like enums.
7056
7057 2016-10-28 Pedro Alves <palves@redhat.com>
7058
7059 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7060 gdb_test_multiple, tighten regexps and match symtabs and line
7061 tables incrementally.
7062
7063 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7064
7065 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7066 general.
7067
7068 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7069
7070 * gdb.base/exec-invalid-sysroot.exp: New file.
7071
7072 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7073
7074 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7075
7076 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7077
7078 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7079
7080 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7081
7082 * gdb.base/killed-outside.exp: Remove $options from a call to
7083 `prepare_for_testing'.
7084
7085 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7086
7087 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7088 Change test message.
7089
7090 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7091
7092 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7093 Update comment.
7094
7095 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7096
7097 * gdb.trace/mi-trace-save.exp: New file.
7098
7099 2016-10-13 Yao Qi <yao.qi@linaro.org>
7100
7101 * gdb.base/code_elim.exp (get_var_address): Remove.
7102 * gdb.base/relocate.exp: Likewise.
7103 * gdb.base/shreloc.exp: Likewise.
7104 * lib/gdb.exp (get_var_address): New.
7105
7106 2016-10-13 Yao Qi <yao.qi@linaro.org>
7107
7108 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7109 floating point tests if $skip_float_test is false.
7110
7111 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7112
7113 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7114 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7115 argc values.
7116 Add 1 to argc so we guarantee distinct initial/modified argc values.
7117
7118 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7119
7120 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7121
7122 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7123
7124 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7125 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7126 * gdb.arch/vsx-regs.exp: Likewise.
7127
7128 2016-10-07 Yao Qi <yao.qi@linaro.org>
7129
7130 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7131
7132 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7133
7134 * gdb.python/python.exp: Test decode_line("*0").
7135
7136 2016-10-06 Doug Evans <dje@google.com>
7137
7138 * gdb.python/py-value.exp (test_value_creation): Add test for large
7139 unsigned 64-bit value.
7140
7141 2016-10-06 Tom Tromey <tom@tromey.com>
7142
7143 * gdb.compile/compile.exp: Change java tests to rust.
7144 * gdb.base/setshow.exp: Change java tests to rust.
7145 * gdb.base/default.exp: Remove java from language list.
7146 * README (Examples): Update language example.
7147 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7148 test.
7149 * lib/gdb.exp (skip_java_tests): Remove.
7150 * lib/java.exp: Remove.
7151 * gdb.java: Remove.
7152
7153 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7154
7155 * gdb.arch/mips-fcr.exp: New test.
7156 * gdb.arch/mips-fcr.c: Source for the new test.
7157
7158 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7159
7160 * gdb.base/solib-disc.exp: Use `standard_output_file'
7161 throughout.
7162
7163 2016-10-06 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.base/jit-simple-dl.c: New file.
7166 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7167 * gdb.base/jit-simple.c: ... this.
7168 * gdb.base/jit-simple.exp (jit_run): Delete.
7169 (build_jit): New proc.
7170 (jit_test_reread): Recompile either the main program or the shared
7171 library, depending on what is being tested. Skip changing address
7172 if caller wants to. Compare before/after addresses. If testing
7173 standalone, explicitly load the binary. Test "maint info
7174 breakpoints".
7175 (top level): Add "standalone vs shared lib" and "change address"
7176 vs "same address" axes.
7177
7178 2016-10-06 Pedro Alves <palves@redhat.com>
7179
7180 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7181 call.
7182 (jit_run): Delete.
7183 (jit_test_reread): Use with_test_prefix. Reload the main binary
7184 explicitly. Compare the before/after addresses of the JIT
7185 descriptor.
7186
7187 2016-08-15 Doug Evans <dje@google.com>
7188
7189 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7190 for single bitfields is bool.
7191 * gdb.xml/tdesc-regs.exp: Ditto.
7192
7193 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7196
7197 2016-10-05 Yao Qi <yao.qi@linaro.org>
7198
7199 * lib/gdb.exp (support_complex_tests): Return zero if
7200 gdb_skip_float_test return true.
7201
7202 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7203 Simon Marchi <simon.marchi@ericsson.com>
7204
7205 PR gdb/20487
7206 * gdb.mi/user-selected-context-sync.exp: New file.
7207 * gdb.mi/user-selected-context-sync.c: New file.
7208
7209 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7210 Simon Marchi <simon.marchi@ericsson.com>
7211
7212 PR gdb/20487
7213 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7214 =thread-select-event check.
7215
7216 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7217
7218 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7219 the compulsory L operand changes.
7220 * gdb.arch/powerpc-power.s: Likewise.
7221
7222 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7223
7224 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7225 * gdb.base/jit-attach-pie.c: New file.
7226 * gdb.base/jit-attach-pie.exp: New file.
7227
7228 2016-09-28 Pedro Alves <palves@redhat.com>
7229
7230 * gdb.base/infcall-input.c: New file.
7231 * gdb.base/infcall-input.exp: New file.
7232
7233 2016-09-22 Yao Qi <yao.qi@linaro.org>
7234
7235 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7236 (gdb_exit): Rename it to ...
7237 (gdbserver_gdb_exit): ... Close GDBserver.
7238 (gdb_exit): New proc, call gdbserver_gdb_exit.
7239 (mi_gdb_exit): Likewise.
7240
7241 2016-09-22 Yao Qi <yao.qi@linaro.org>
7242
7243 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7244 path.
7245 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7246 Remove duplication.
7247
7248 2016-09-22 Yao Qi <yao.qi@linaro.org>
7249
7250 * lib/gdbserver-support.exp: Check the existence of
7251 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7252
7253 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7254
7255 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7256
7257 2016-09-21 Tom Tromey <tom@tromey.com>
7258
7259 PR gdb/20604:
7260 * gdb.base/quit.exp: New file.
7261
7262 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7263
7264 * .gitignore: New file.
7265
7266 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7267
7268 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7269 throughout.
7270
7271 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7272
7273 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7274
7275 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.cp/casts.cc (decltype): Move it ...
7278 (main): ... with its call to ...
7279 * gdb.cp/casts03.cc: ... a new file.
7280 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7281
7282 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7285
7286 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7287
7288 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7289 and sync up the test with tests in gas/testsuite/gas/ppc.
7290 * gdb.arch/powerpc-power.exp: Likewise.
7291
7292 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7293
7294 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7295
7296 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7297 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7300 make m1's definition to be different from m2's. Use 'dummy' as an
7301 argument for probe 'two'.
7302
7303 2016-09-10 Jon Beniston <jon@beniston.com>
7304
7305 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7306 for sim target.
7307
7308 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7309
7310 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7311 variable declaration.
7312 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7313 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7314 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7315 received HWCAP as its argument.
7316
7317 2016-09-06 Pedro Alves <palves@redhat.com>
7318
7319 * gdb.base/new-ui-pending-input.c: New file.
7320 * gdb.base/new-ui-pending-input.exp: New file.
7321 * gdb.exp (clear_gdb_spawn_id): New procedure.
7322 (with_spawn_id): Check whether gdb_spawn_id exists before
7323 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7324 on exit.
7325
7326 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7327
7328 * gdb.base/float128.c: New file.
7329 * gdb.base/float128.exp: Likewise.
7330 * gdb.base/floatn.c: Likewise.
7331 * gdb.base/floatn.exp: Likewise.
7332
7333 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7334
7335 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7336
7337 2016-09-05 Pedro Alves <palves@redhat.com>
7338
7339 PR backtrace/19927
7340 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7341 unwinders are immediately called as side effect of "source" or
7342 "disable unwinder" commands.
7343 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7344
7345 2016-09-02 Yao Qi <yao.qi@linaro.org>
7346
7347 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7348 is true and $type is "float" or "double".
7349
7350 2016-09-02 Yao Qi <yao.qi@linaro.org>
7351
7352 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7353 true.
7354 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7355 * gdb.base/call-rt-st.exp: Likewise.
7356 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7357 return value instead of gdb,skip_float_test.
7358 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7359 (do_function_calls): Use its return value instead of
7360 gdb,skip_float_test.
7361 * gdb.base/finish.exp: Likewise.
7362 * gdb.base/funcargs.exp: Likewise.
7363 * gdb.base/return.exp: Likewise.
7364 * gdb.base/return2.exp: Likewise.
7365 * gdb.base/varargs.exp: Likewise.
7366 * lib/gdb.exp (gdb_skip_float_test): Change it to
7367 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7368
7369 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7370
7371 * gdb.multi/tids.exp: Test "thread apply all".
7372
7373 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 * gdb.base/default.exp (tty): Remove.
7376
7377 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7378
7379 * gdb.python/py-recurse-unwind.c: New file.
7380 * gdb.python/py-recurse-unwind.py: New file.
7381 * gdb.python/py-recurse-unwind.exp: New file.
7382
7383 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7384
7385 * gdb.base/set-inferior-tty.exp: New file.
7386 * gdb.base/set-inferior-tty.c: New file.
7387
7388 2016-08-23 Pedro Alves <palves@redhat.com>
7389
7390 PR gdb/20494
7391 * gdb.base/new-ui-echo.c: New file.
7392 * gdb.base/new-ui-echo.exp: New file.
7393
7394 2016-08-23 Yao Qi <yao.qi@linaro.org>
7395
7396 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7397 gdbserver_spawn.
7398 * gdb.server/connect-without-multi-process.exp (do_test):
7399 Likewise.
7400
7401 2016-08-23 Yao Qi <yao.qi@linaro.org>
7402
7403 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7404 standalone_txt. Delete gdb_txt and standalone_txt on host
7405 and target. Spawn the binary on target. Copy files from
7406 target to host.
7407
7408 2016-08-22 Pedro Alves <palves@redhat.com>
7409
7410 PR gdb/20505
7411 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7412 with_test_prefix. Factor out bits to ...
7413 (test_no_vdso): ... this new procedure.
7414
7415 2016-08-19 Carl Love <cel@us.ibm.com>
7416
7417 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7418 maintaining separate logic for constructing the output path.
7419 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7420 * gdb.arch/ppc-dfp.exp: Likewise.
7421 * gdb.arch/ppc-fp.exp: Likewise.
7422 * gdb.arch/vsx-regs.exp: Likewise.
7423 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7424 binprefix for generating the additional binary files.
7425
7426 2016-08-19 Pedro Alves <palves@redhat.com>
7427
7428 * gdb.trace/mi-trace-frame-collected.exp
7429 (test_trace_frame_collected): On x32, expect two registers.
7430
7431 2016-08-18 Carl Love <cel@us.ibm.com>
7432
7433 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7434 and sync up the test with tests in gas/testsuite/gas/ppc.
7435 * gdb.arch/powerpc-power.exp: Likewise.
7436
7437 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7438
7439 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7440 expected error message.
7441
7442 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7443
7444 * gdb.multi/remove-inferiors.exp: New file.
7445 * gdb.multi/remove-inferiors.c: New file.
7446
7447 2016-08-12 Yao Qi <yao.qi@linaro.org>
7448
7449 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7450 argument list.
7451
7452 2016-08-10 Pedro Alves <palves@redhat.com>
7453
7454 PR gdb/19187
7455 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7456 setup_kfails.
7457
7458 2016-08-09 Pedro Alves <palves@redhat.com>
7459 Simon Marchi <simon.marchi@ericsson.com>
7460
7461 PR gdb/20418
7462 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7463 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7464
7465 2016-08-09 Pedro Alves <palves@redhat.com>
7466
7467 PR mi/20431
7468 * gdb.mi/mi-cmd-error.exp: New file.
7469
7470 2016-08-09 Pedro Alves <palves@redhat.com>
7471
7472 PR gdb/18653
7473 * gdb.base/signals-state-child.c: New file.
7474 * gdb.base/signals-state-child.exp: New file.
7475 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7476
7477 2016-08-09 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7480
7481 2016-08-03 Tom Tromey <tom@tromey.com>
7482
7483 PR python/18565:
7484 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7485
7486 2016-08-01 Yao Qi <yao.qi@linaro.org>
7487
7488 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7489 variable mode to "multi-process" if $multi_process is 1, otherwise
7490 set it to "single-process".
7491
7492 2016-08-01 Yao Qi <yao.qi@linaro.org>
7493
7494 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7495 * gdb.cp/cpexprs.exp: Likewise.
7496 * gdb.cp/m-static.exp: Likewise.
7497
7498 2016-07-26 Tom Tromey <tom@tromey.com>
7499
7500 PR python/20190:
7501 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7502 test.
7503
7504 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7505
7506 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7507 selecting assembly source files.
7508 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7509 assembly source files.
7510 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7511 assembly source files.
7512 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7513 selecting assembly source files.
7514
7515 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7516
7517 * gdb.base/new-ui.exp (do_test_invalid_args): New
7518 procedure.
7519
7520 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7521
7522 * gdb.btrace/reconnect.c: New file.
7523 * gdb.btrace/reconnect.exp: New file.
7524
7525 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7526
7527 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7528 to test_catch_syscall_group.
7529 (test_catch_syscall_group): New.
7530
7531 2016-07-21 Tom Tromey <tom@tromey.com>
7532
7533 * gdb.rust/simple.rs (main): Use empty struct expression.
7534 * gdb.rust/simple.exp: Add tests for empty struct expression.
7535
7536 2016-07-21 Yao Qi <yao.qi@linaro.org>
7537
7538 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7539 if gdb_skip_xml_test is true on some targets.
7540
7541 2016-07-21 Yao Qi <yao.qi@linaro.org>
7542
7543 * gdb.server/solib-list.exp: Unset last_loaded_file.
7544
7545 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7548 "step into captured_main (args)".
7549
7550 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7551
7552 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7553
7554 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7555
7556 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7557
7558 2016-07-19 Pedro Alves <palves@redhat.com>
7559
7560 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7561 * gdb.opt/inline-bt.exp: Likewise.
7562 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7563 additional_flags=-Winline.
7564 * gdb.opt/inline-locals.exp: Likewise.
7565 * gdb.opt/inline-markers.c (ATTR): Define.
7566 (inlined_fn): Use it.
7567
7568 2016-07-19 Yao Qi <yao.qi@linaro.org>
7569
7570 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7571 (test_with_self): Remove some code. Remove argument executable.
7572 (top-level): Use do_self_tests.
7573
7574 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7575 Don Breazeal <donb@codesourcery.com>
7576
7577 * gdb.base/maint.exp: Escape paths used in regular expressions.
7578 * gdb.stabs/weird.exp: Likewise.
7579
7580 2016-07-13 Tom Tromey <tom@tromey.com>
7581
7582 PR python/15620, PR python/18620:
7583 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7584 (test_bkpt_events): New procs.
7585
7586 2016-07-13 Tom Tromey <tom@tromey.com>
7587
7588 PR python/17698:
7589 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7590 test.
7591 (test_watchpoints): Likewise.
7592 (test_bkpt_pending): New proc.
7593
7594 2016-07-13 Tom Tromey <tom@tromey.com>
7595
7596 PR cli/18053:
7597 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7598 completion test.
7599
7600 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7601
7602 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7603 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7604 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7605 f_label.
7606 (g): Rename g_end_lbl to g_label.
7607 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7608 low_pc and high_pc.
7609 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7610
7611 2016-07-12 Tom Tromey <tom@tromey.com>
7612
7613 PR python/19293:
7614 * gdb.python/py-unwind-maint.exp: Update tests.
7615
7616 2016-07-12 Yao Qi <yao.qi@linaro.org>
7617
7618 * lib/selftest-support.exp (selftest_setup): Match the output
7619 when captured_main is inlined.
7620
7621 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7622
7623 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7624 New variables.
7625 (print this%a, print this%b, print this): New tests.
7626 * gdb.fortran/derived-types.f90 (this): New object and
7627 initialization.
7628
7629 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7630
7631 * gdb.ada/arraydim.exp: Remove extra directory level in build
7632 directory.
7633
7634 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7635
7636 * lib/ada.exp: Remove extra directory level in build directory.
7637 * gdb.ada/cond_lang.exp: Likewise.
7638 * gdb.ada/exec_changed.exp: Likewise.
7639 * gdb.ada/lang_switch.exp: Likewise.
7640
7641 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7642
7643 * simple.rs: Add test for raw pointer subscripting.
7644 * simple.exp: Add test expectations.
7645
7646 2016-07-05 Yao Qi <yao.qi@linaro.org>
7647
7648 * gdb.mi/mi-reverse.exp: Match =record-started output.
7649
7650 2016-07-01 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7653 procedure.
7654 (jit_reader_test): Test the jit reader's unwinder.
7655 * gdb.base/jithost.c (jit_function_00_code): New global.
7656 (main): Use memcpy to fill in the mmapped code, instead of poking
7657 bytes manually here.
7658 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7659 value.
7660 (read_debug_info): Save the function's range.
7661 (read_sp): New function.
7662 (unwind_frame): Use it. Also unwind RBP.
7663 (get_frame_id): Use read_sp.
7664 (gdb_init_reader): Use calloc instead of malloc.
7665 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7666 parameter. Use gdb_test_multiple.
7667
7668 2016-07-01 Pedro Alves <palves@redhat.com>
7669 Antoine Tremblay <antoine.tremblay@ericsson.com>
7670
7671 * gdb.threads/process-dies-while-detaching.c: New file.
7672 * gdb.threads/process-dies-while-detaching.exp: New file.
7673
7674 2016-07-01 Pedro Alves <palves@redhat.com>
7675
7676 * gdb.multi/watchpoint-multi-exit.c: New file.
7677 * gdb.multi/watchpoint-multi-exit.exp: New file.
7678
7679 2016-06-30 Pedro Alves <palves@redhat.com>
7680
7681 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7682 unset inferior_spawn_id.
7683
7684 2016-06-30 Pedro Alves <palves@redhat.com>
7685
7686 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7687 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7688
7689 2016-06-29 Yao Qi <yao.qi@linaro.org>
7690
7691 * gdb.base/return.c: Add copyright header.
7692
7693 2016-06-29 Tom Tromey <tom@tromey.com>
7694
7695 PR python/20129:
7696 * gdb.python/py-framefilter.exp: Add tests for setting priority
7697 and disabling of non-existent frame filter.
7698
7699 2016-06-29 Yao Qi <yao.qi@linaro.org>
7700
7701 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7702 0x0f07ff.
7703
7704 2016-06-28 Yao Qi <yao.qi@linaro.org>
7705
7706 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7707 triplets. Start gdb, execute catch syscall, and continue. Check
7708 gdb's output to determine catch syscall is supported.
7709
7710 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7711
7712 * gdb.rust/simple.rs: Add test for returning unit in a function.
7713 * gdb.rust/simple.exp: Add expectation for functions returning
7714 unit.
7715
7716 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7717
7718 * gdb.python/py-breakpoint-create-fail.c,
7719 gdb.python/py-breakpoint-create-fail.exp,
7720 gdb.python/py-breakpoint-create-fail.py: New testcase.
7721
7722 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7723
7724 PR gdb/20239
7725 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7726 * gdb.rust/simple.exp: Add test expectations for new NonZero
7727 tests.
7728
7729 2016-06-24 David Taylor <dtaylor@emc.com>
7730
7731 * gdb.base/offsets.exp: New file.
7732 * gdb.base/offsets.c: New file.
7733
7734 2016-06-23 Tom Tromey <tom@tromey.com>
7735
7736 PR gdb/16483:
7737 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7738 before any filters are loaded.
7739
7740 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7741
7742 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7743 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7744 structs.
7745 * gdb.fortran/derived-type-function.exp: New file.
7746 * gdb.fortran/derived-type-function.f90: New file.
7747
7748
7749 2016-06-21 Pedro Alves <palves@redhat.com>
7750
7751 * gdb.base/new-ui.exp: New file.
7752 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7753 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7754 (with_spawn_id): New procedure.
7755
7756 2016-06-21 Pedro Alves <palves@redhat.com>
7757
7758 * gdb.mi/mi-exec-run.exp: New file.
7759
7760 2016-06-21 Pedro Alves <palves@redhat.com>
7761
7762 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7763 breakpoint command's output on the main UI.
7764 (test_break): New procedure, factored out from calls in the top
7765 level.
7766 (top level): Use foreach_with_prefix to test MI as main UI and as
7767 separate UI.
7768
7769 2016-06-21 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7772 (test_awatch_creation_and_listing)
7773 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7774 Remove 'type' parameter.
7775 (test_watchpoint_all): New parameter mi_mode. Remove
7776 with_test_prefix.
7777 (top level): Use foreach_with_prefix, and add main/separate UI MI
7778 testing axis.
7779
7780 2016-06-21 Pedro Alves <palves@redhat.com>
7781
7782 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7783 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7784 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7785 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7786 (gdb_main_spawn_id, mi_spawn_id): Declare and
7787 comment.
7788 (mi_create_inferior_pty): New procedure,
7789 factored out from default_mi_gdb_start.
7790 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7791 procedures.
7792 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7793 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7794 Use mi_create_inferior_pty.
7795 (mi_gdb_start): Use eval to pass down args list.
7796
7797 2016-06-21 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7800 * gdb.opt/inline-cmds.exp: Add MI tests.
7801
7802 2016-06-21 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7805
7806 2016-06-21 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7809 (top level): Use it instead of mi_execute_to.
7810
7811 2016-06-21 Pedro Alves <palves@redhat.com>
7812
7813 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7814 (cont_handler_str): New.
7815 (signal_stop_handler): Set stop_handler_str instead of printing to
7816 stdout.
7817 (continue_handler): Set cont_handler_str instead of printing to
7818 stdout.
7819 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7820 mi_send_resuming_command. Print stop_handler_str and
7821 cont_handler_str instead of expecting the python events print
7822 directly.
7823
7824 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7825
7826 * gdb.base/jit-reader.exp: New file.
7827 * gdb.base/jithost.c: New file.
7828 * gdb.base/jithost.h: New file.
7829 * gdb.base/jitreader.c : New file.
7830 * gdb.base/jit-protocol.h: New file.
7831
7832 2016-06-17 Yao Qi <yao.qi@linaro.org>
7833
7834 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7835 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7836 and detach-on-fork. Adjust tests.
7837 (top level): Invoke break_cond_on_syscall with combinations of
7838 syscall, follow-fork-mode and detach-on-fork.
7839
7840 2016-06-17 Yao Qi <yao.qi@linaro.org>
7841
7842 * gdb.base/step-over-exit.c: New.
7843 * gdb.base/step-over-exit.exp: New.
7844
7845 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7846
7847 * gdb.base/float.exp: Add target check for nds32*-*-*.
7848 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7849
7850 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7851
7852 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7853 for unsupported target features.
7854 * gdb.base/call-rt-st.exp: Likewise.
7855 * gdb.base/call-sc.exp: Likewise.
7856 * gdb.base/call-signal-resume.exp: Likewise.
7857 * gdb.base/call-strs.exp: Likewise.
7858 * gdb.base/callexit.exp: Likewise.
7859 * gdb.base/callfuncs.exp: Likewise.
7860 * gdb.base/nodebug.exp: Likewise.
7861 * gdb.base/printcmds.exp: Likewise.
7862 * gdb.base/ptype.exp: Likewise.
7863 * gdb.base/structs.exp: Likewise.
7864 * gdb.base/unwindonsignal.exp: Likewise.
7865 * gdb.cp/gdb2495.exp: Likewise.
7866 * gdb.cp/templates.exp: Likewise.
7867 * gdb.cp/virtfunc.exp: Likewise.
7868 * gdb.threads/hand-call-in-threads.exp: Likewise.
7869 * gdb.threads/interrupted-hand-call.exp: Likewise.
7870 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7871
7872 2016-06-10 Tom Tromey <tom@tromey.com>
7873
7874 PR rust/20110:
7875 * gdb.rust/expr.exp: Add test for integer constant larger than
7876 i32.
7877
7878 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7879
7880 * gdb.fortran/nested-funcs.exp: New.
7881 * gdb.fortran/nested-funcs.f90: New.
7882
7883 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7884
7885 * gdb.base/examine-backward.c: New file.
7886 * gdb.base/examine-backward.exp: New file.
7887
7888 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7889
7890 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7891 matching.
7892
7893 2016-06-02 Tom Tromey <tom@tromey.com>
7894
7895 PR python/18984:
7896 * gdb.python/py-shared.exp: Add solib_name test.
7897
7898 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7899
7900 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7901
7902 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7903
7904 PR c++/19893
7905 * gdb.dwarf2/implref.exp: Rename to...
7906 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7907 * gdb.dwarf2/implref-array.c: New file.
7908 * gdb.dwarf2/implref-array.exp: Likewise.
7909 * gdb.dwarf2/implref-global.c: Likewise.
7910 * gdb.dwarf2/implref-global.exp: Likewise.
7911 * gdb.dwarf2/implref-struct.c: Likewise.
7912 * gdb.dwarf2/implref-struct.exp: Likewise.
7913
7914 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7915
7916 * gdb.trace/trace-condition.exp: Add 64bit tests.
7917
7918 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7919
7920 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7921 bits types.
7922 (main): Adapt to 8 to 64 bits types.
7923 * gdb.trace/trace-condition.exp: Add new tests.
7924
7925 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7926
7927 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7928
7929 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7930
7931 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7932 Move condition tests...
7933 * gdb.trace/trace-condition.exp: Here.
7934
7935 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7936
7937 * gdb.trace/trace-condition.exp: Add counter-case tests.
7938
7939 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7940
7941 PR c++/15231
7942 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7943 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7944
7945 2016-05-27 Pedro Alves <palves@redhat.com>
7946
7947 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7948 New procedure.
7949 (top level): Call it, and bail out of DejaGnu is known to be bad.
7950
7951 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7952
7953 * gdb.base/whatis.c: Extend the test case.
7954 * gdb.base/whatis.exp: Add additional tests.
7955
7956 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7957
7958 * gdb.fortran/type.f90: Add pointer variable.
7959 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7960
7961 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7962
7963 * gdb.fortran/vla-type.exp: Fix testcase name.
7964
7965 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7966
7967 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7968
7969 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7970
7971 * gdb.fortran/type.f90: Add nested structures.
7972 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7973 * gdb.fortran/derived-type.exp: Adapt expected output.
7974 * gdb.fortran/vla-type.exp: Adapt expected output.
7975
7976 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7977
7978 * gdb.fortran/whatis_type.exp: Adapt expected output.
7979
7980 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7981
7982 * gdb.fortran/print_type.exp: Fix expected output.
7983 * gdb.fortran/whatis_type.exp: Fix expected output.
7984
7985 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7986
7987 * gdb.fortran/whatis_type.exp: Use multi_line.
7988
7989 2016-05-24 Tom Tromey <tom@tromey.com>
7990
7991 PR python/17386:
7992 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7993 use value as an index.
7994
7995 2016-05-23 Tom Tromey <tom@tromey.com>
7996
7997 PR python/17981:
7998 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7999 no-breakpoint case.
8000
8001 2016-05-24 Pedro Alves <palves@redhat.com>
8002
8003 PR gdb/19828
8004 * gdb.threads/clone-attach-detach.c: New file.
8005 * gdb.threads/clone-attach-detach.exp: New file.
8006
8007 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8008
8009 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8010
8011 2016-05-23 Tom Tromey <tom@tromey.com>
8012
8013 PR python/19438, PR python/18393:
8014 * gdb.python/py-progspace.exp: Add "dir" test.
8015 * gdb.python/py-objfile.exp: Add "dir" test.
8016
8017 2016-05-23 Yao Qi <yao.qi@linaro.org>
8018
8019 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8020 * gdb.arch/thumb2-it.exp: Likewise.
8021
8022 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8023
8024 * gdb.mi/mi-threads-interrupt.c: New file.
8025 * gdb.mi/mi-threads-interrupt.exp: New file.
8026
8027 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8028
8029 PR gdb/18077
8030 * gdb.mi/mi-async-run.exp: New file.
8031 * gdb.mi/mi-async-run.c: New file.
8032
8033 2016-05-17 Tom Tromey <tom@tromey.com>
8034 Manish Goregaokar <manishsmail@gmail.com>
8035
8036 * lib/rust-support.exp: New file.
8037 * lib/gdb.exp (skip_rust_tests): New proc.
8038 (build_executable_from_specs): Handle rust.
8039 * lib/future.exp (gdb_find_rustc): New proc.
8040 (gdb_default_target_compile): Handle rust.
8041 * gdb.rust/expr.exp: New file.
8042 * gdb.rust/generics.exp: New file.
8043 * gdb.rust/generics.rs: New file.
8044 * gdb.rust/methods.exp: New file.
8045 * gdb.rust/methods.rs: New file.
8046 * gdb.rust/modules.exp: New file.
8047 * gdb.rust/modules.rs: New file.
8048 * gdb.rust/simple.exp: New file.
8049 * gdb.rust/simple.rs: New file.
8050
8051 2016-05-17 Tom Tromey <tom@tromey.com>
8052
8053 * gdb.base/default.exp (set language): Add rust.
8054
8055 2016-05-17 Tom Tromey <tom@tromey.com>
8056
8057 * gdb.gdb/unittest.exp: New file.
8058
8059 2016-05-16 Yao Qi <yao.qi@linaro.org>
8060
8061 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8062 shell_prompt. Update shell_prompt_re.
8063
8064 2016-05-12 Doug Evans <dje@google.com>
8065
8066 PR symtab/19999
8067 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8068 $options when building executable.
8069 * gdb.dwarf2/fission-loclists-pie.S: New file.
8070 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8071
8072 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8073
8074 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8075 of [is_remote target],
8076
8077 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8078
8079 * lib/gdb.exp (use_gdb_stub): New procedure.
8080
8081 2016-05-03 Yunlian Jiang <yunlian@google.com>
8082 Doug Evans <dje@google.com>
8083
8084 PR symtab/19914
8085 * gdb.dwarf2/dwp-sepdebug.c: New file.
8086 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8087
8088 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8089
8090 * gdb.base/detach.exp: Remove is_remote check.
8091
8092 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8093
8094 * gdb.base/annota-input-while-running.exp: Don't check for
8095 [is_remote target]. Enable annotations after running to main.
8096 Remove unused "set test..." line.
8097
8098 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8099
8100 * gdb.trace/trace-enable-disable.exp: New file.
8101 * gdb.trace/trace-enable-disable.c: New file.
8102
8103 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8104
8105 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8106 use it in info sharedlibrary test.
8107 * gdb.trace/ftrace-lock.exp: Likewise.
8108 * gdb.trace/ftrace.exp: Likewise.
8109 * gdb.trace/range-stepping.exp: Likewise.
8110 * gdb.trace/trace-break.exp: Likewise.
8111 * gdb.trace/trace-condition.exp: Likewise.
8112 * gdb.trace/trace-mt.exp: Likewise.
8113
8114 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8115
8116 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8117 (gdb_load_shlib): ... this.
8118 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8119 gdb_load_shlib.
8120 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8121 * gdb.base/ctxobj.exp: Likewise.
8122 * gdb.base/dprintf-pending.exp: Likewise.
8123 * gdb.base/dso2dso.exp: Likewise.
8124 * gdb.base/fixsection.exp: Likewise.
8125 * gdb.base/gcore-relro.exp: Likewise.
8126 * gdb.base/gdb1555.exp: Likewise.
8127 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8128 * gdb.base/gnu-ifunc.exp: Likewise.
8129 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8130 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8131 * gdb.base/pending.exp: Likewise.
8132 * gdb.base/print-file-var.exp: Likewise.
8133 * gdb.base/print-symbol-loading.exp: Likewise.
8134 * gdb.base/shlib-call.exp: Likewise.
8135 * gdb.base/shreloc.exp: Likewise.
8136 * gdb.base/so-impl-ld.exp: Likewise.
8137 * gdb.base/solib-disc.exp: Likewise.
8138 * gdb.base/solib-nodir.exp: Likewise.
8139 * gdb.base/solib-overlap.exp: Likewise.
8140 * gdb.base/solib-symbol.exp: Likewise.
8141 * gdb.base/solib-weak.exp (do_test): Likewise.
8142 * gdb.base/sym-file.exp: Likewise.
8143 * gdb.base/symtab-search-order.exp: Likewise.
8144 * gdb.base/type-opaque.exp: Likewise.
8145 * gdb.base/unload.exp: Likewise.
8146 * gdb.base/watchpoint-solib.exp: Likewise.
8147 * gdb.compile/compile.exp: Likewise.
8148 * gdb.cp/gdb2384.exp: Likewise.
8149 * gdb.cp/infcall-dlopen.exp: Likewise.
8150 * gdb.cp/re-set-overloaded.exp: Likewise.
8151 * gdb.fortran/library-module.exp: Likewise.
8152 * gdb.opt/solib-intra-step.exp: Likewise.
8153 * gdb.python/py-finish-breakpoint.exp: Likewise.
8154 * gdb.python/py-shared.exp: Likewise.
8155 * gdb.reverse/solib-precsave.exp: Likewise.
8156 * gdb.reverse/solib-reverse.exp: Likewise.
8157 * gdb.server/solib-list.exp: Likewise.
8158 * gdb.threads/dlopen-libpthread.exp: Likewise.
8159 * gdb.threads/tls-shared.exp: Likewise.
8160 * gdb.threads/tls-so_extern.exp: Likewise.
8161 * gdb.trace/change-loc.exp: Likewise.
8162 * gdb.trace/ftrace-lock.exp: Likewise.
8163 * gdb.trace/ftrace.exp: Likewise.
8164 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8165 * gdb.trace/pending.exp: Likewise.
8166 * gdb.trace/range-stepping.exp: Likewise.
8167 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8168 (strace_info_marker): Likewise.
8169 (strace_probe_marker): Likewise.
8170 (strace_trace_on_same_addr): Likewise.
8171 (strace_trace_on_diff_addr): Likewise.
8172 * gdb.trace/trace-break.exp: Likewise.
8173 * gdb.trace/trace-condition.exp: Likewise.
8174 * gdb.trace/trace-mt.exp: Likewise.
8175
8176 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8177
8178 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8179 result of gdb_remote_download.
8180 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8181 * gdb.base/dso2dso.exp: Likewise.
8182 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8183 * gdb.base/print-file-var.exp: Likewise.
8184 * gdb.base/shlib-call.exp: Likewise.
8185 * gdb.base/shreloc.exp: Likewise.
8186 * gdb.base/solib-overlap.exp: Likewise.
8187 * gdb.base/solib-weak.exp (do_test): Likewise.
8188 * gdb.base/unload.exp: Likewise.
8189
8190 2016-04-27 Yao Qi <yao.qi@linaro.org>
8191
8192 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8193 exists.
8194
8195 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8196
8197 * vla-type.exp: Print structure from toplevel.
8198
8199 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8200
8201 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8202 of dynamic types.
8203 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8204 of dynamic types.
8205
8206 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8207
8208 * gdb.fortran/vla-type.f90: New file.
8209 * gdb.fortran/vla-type.exp: New file.
8210
8211 2016-04-25 Yao Qi <yao.qi@linaro.org>
8212
8213 * gdb.base/branch-to-self.c: New file.
8214 * gdb.base/branch-to-self.exp: New file.
8215
8216 2016-04-22 Yao Qi <yao.qi@linaro.org>
8217
8218 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8219 more after $hex.
8220
8221 2016-04-22 Yao Qi <yao.qi@linaro.org>
8222
8223 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8224 * gdb.base/annota3.exp: Likewise.
8225
8226 2016-04-22 Yao Qi <yao.qi@linaro.org>
8227
8228 * gdb.reverse/step-precsave.exp: Do one step and test program
8229 stops in "callee" and do multiple steps until program goes out
8230 of "callee".
8231 * gdb.reverse/step-reverse.exp: Likewise.
8232
8233 2016-04-22 Yao Qi <yao.qi@linaro.org>
8234
8235 * gdb.trace/signal.exp: Also pass if
8236 $tracepoint_hits($i) > $iterations.
8237
8238 2016-04-22 Yao Qi <yao.qi@linaro.org>
8239
8240 * gdb.trace/signal.c: New file.
8241 * gdb.trace/signal.exp: New file.
8242
8243 2016-04-19 Doug Evans <xdje42@gmail.com>
8244
8245 * gdb.base/bad-file.exp: New file.
8246
8247 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8248
8249 * gdb.dwarf2/implref.exp: New file.
8250
8251 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8252
8253 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8254 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8255 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8256 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8257 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8258 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8259 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8260 * lib/fortran.exp (fortran_int4): New procedure.
8261 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8262 (fortran_logical4): Likewise.
8263
8264 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8265
8266 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8267
8268 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8269
8270 * lib/compiler.c: Add Intel specific preprocessor macros.
8271 * lib/compiler.cc: Likewise.
8272
8273 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8274
8275 * gdb.server/connect-with-no-symbol-file.c: New file.
8276 * gdb.server/connect-with-no-symbol-file.exp: New file.
8277
8278 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8279
8280 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8281
8282 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8283
8284 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8285 standard output directory.
8286
8287 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8288
8289 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8290
8291 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8292
8293 * gdb.btrace/instruction_history.c (loop): Add declaration.
8294
8295 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8296
8297 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8298
8299 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8300
8301 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8302 parentheses to print.
8303 (continue_handler): Likewise.
8304
8305 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8306
8307 * gdb.server/solib-list.exp: Remove is_remote check.
8308 Pass shlib= to gdb_compile. Don't link shared library with
8309 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8310 Run binary filename through "readlink -f" on the target.
8311
8312 2016-04-08 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8315 interpreter filename as argument to gdbserver_spawn.
8316 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8317 Return empty if $last_loaded_file does not exist.
8318
8319 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8320
8321 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8322 * gdb.base/jit-main.c: Use exit after usage.
8323
8324 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8325
8326 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8327 GDBHISTSIZE prior to the tests.
8328 * gdb.base/gdbinit-history.exp: Likewise.
8329
8330 2016-04-07 Pedro Alves <palves@redhat.com>
8331
8332 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8333 instead of build_executable. Use gdb_load_shlibs.
8334
8335 2016-04-07 Yao Qi <yao.qi@linaro.org>
8336
8337 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8338 Execute "si" command.
8339
8340 2016-04-07 Yao Qi <yao.qi@linaro.org>
8341
8342 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8343 number instead of the comments on some line.
8344
8345 2016-04-06 Don Breazeal <donb@codesourcery.com>
8346
8347 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8348 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8349
8350 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8351
8352 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8353 standard_output_file. Remove unused binfile variable.
8354
8355 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8356
8357 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8358 * gdb.python/py-mi-objfile.exp: Match "list main" output
8359 in console format.
8360
8361 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8362
8363 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8364 absolute.
8365
8366 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8367
8368 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8369 absolute.
8370 * gdb.trace/ftrace.exp: Likewise.
8371 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8372 targets as well.
8373 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8374 (gdb_load_shlibs): Copy libraries to test directory when testing
8375 natively. Only set solib-search-path if testing remotely.
8376 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8377
8378 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8379
8380 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8381 gdb_download. Use it even if the target is not remote.
8382 * gdb.base/jit.exp (compile_jit_test): Likewise.
8383 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8384 output directory if the destination board is local, otherwise use
8385 the standard remote_download from DejaGnu.
8386 (gdb_download): Remove.
8387 (gdb_load_shlibs): Use gdb_remote_download instead of
8388 gdb_download.
8389 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8390 Use gdb_remote_download instead of gdb_download. Use it even if
8391 the target is not remote.
8392 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8393 instead of gdb_download.
8394
8395 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8396
8397 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8398 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8399 run.
8400
8401 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8402
8403 PR gdb/19820
8404 * gdb.base/printcmds.exp: Add artificial arrays tests.
8405
8406 2016-03-31 Pedro Alves <palves@redhat.com>
8407
8408 PR gdb/19858
8409 * gdb.base/jit-main.c: Include unistd.h.
8410 (ATTACH): Define to 0 if not already defined.
8411 (wait_for_gdb, mypid): New globals.
8412 (WAIT_FOR_GDB): New macro.
8413 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8414 some breakpoint locations.
8415 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8416 New procedures.
8417 (one_jit_test): Add REATTACH parameter, and handle it. Use
8418 continue_to_test_location.
8419 (top level): Test attach, and adjusts calls to one_jit_test.
8420
8421 2016-03-31 Pedro Alves <palves@redhat.com>
8422
8423 PR gdb/19858
8424 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8425 BINSUFFIX parameter, and handle it.
8426 (top level): Adjust calls compile_jit_test.
8427
8428 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8429
8430 PR python/19743
8431 * gdb.python/py-mi-events-gdb.py: New file.
8432 * gdb.python/py-mi-events.c: New file.
8433 * gdb.python/py-mi-events.exp: New file.
8434
8435 2016-03-30 Yao Qi <yao.qi@linaro.org>
8436
8437 * gdb.reverse/until-precsave.exp: Match function name only.
8438 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8439 Move malloc to a condition block.
8440 * gdb.reverse/until-reverse.exp: Match function name only.
8441
8442 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8443
8444 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8445 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8446 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8447 variable for GPR 0 instead of assuming it is register 0.
8448 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8449 * lib/trace-support.exp: Add s390 registers.
8450
8451 2016-03-29 Yao Qi <yao.qi@linaro.org>
8452
8453 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8454
8455 2016-03-24 Yao Qi <yao.qi@linaro.org>
8456
8457 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8458 test message.
8459
8460 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8461
8462 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8463 maintaining separate logic for constructing the output path.
8464
8465 2016-03-16 Don Breazeal <donb@codesourcery.com>
8466
8467 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8468 Retry fork and waitpid on interrupted system call errors.
8469 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8470 Use with_timeout_factor to increase timeout by factor of 10.
8471
8472 2016-03-15 Don Breazeal <donb@codesourcery.com>
8473
8474 * gdb.cp/scope-err.cc: New test program.
8475 * gdb.cp/scope-err.exp: New test script.
8476 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8477 lines and "set breakpoint here" comment.
8478 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8479 Fixed some whitespace and format issues.
8480 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8481 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8482
8483 2016-03-15 Doug Evans <dje@google.com>
8484
8485 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8486 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8487 All callers updated. Add tests for enums, mixed flags register.
8488
8489 2016-03-15 Doug Evans <dje@google.com>
8490
8491 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8492 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8493
8494 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8495
8496 * gdb.base/default.exp: Add $_as_string to the list of expected
8497 convenience functions.
8498
8499 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8500
8501 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8502
8503 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8504
8505 * gdb.python/py-as-string.exp: New file.
8506 * gdb.python/py-as-string.c: New file.
8507
8508 2016-03-09 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8511 signal" -> "Thread NN received signal" output change.
8512 * gdb.threads/ia64-sigill.exp: Likewise.
8513 * gdb.threads/linux-dp.exp: Likewise.
8514 * gdb.threads/manythreads.exp: Likewise.
8515 * gdb.threads/pending-step.exp: Likewise.
8516 * gdb.threads/print-threads.exp: Likewise.
8517 * gdb.threads/sigstep-threads.exp: Likewise.
8518 * gdb.threads/staticthreads.exp: Likewise.
8519 * gdb.threads/tls.exp: Likewise.
8520
8521 2016-03-09 Pedro Alves <palves@redhat.com>
8522
8523 * gdb.base/command-line-input.exp: New file.
8524
8525 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8526
8527 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8528 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8529 * gdb.trace/pending.exp: Accept leading dot before function name.
8530 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8531 * lib/trace-support.exp: Set registers for ppc.
8532
8533 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8534
8535 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8536 use it for disassembly; accept .main in addition to main in backtrace.
8537
8538 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8539 Marcin Kościelnicki <koriakin@0x04.net>
8540
8541 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8542 (gdb_recursion_test_ptr): New global variable.
8543 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8544 gdb_recursion_test.
8545 (gdb_c_test): Ditto.
8546
8547 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8548
8549 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8550 ordering.
8551
8552 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8553
8554 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8555 (bar): Add bar_start_lbl label.
8556 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8557 of foo/bar for emitting DWARF and tracing.
8558
8559 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8560
8561 * analyze-racy-logs.py: Set executable bit.
8562
8563 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8564
8565 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8566 (CHECK_TARGET_TMP): Likewise.
8567 (check-single-racy): New rule.
8568 (check-parallel-racy): Likewise.
8569 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8570 (do-check-parallel-racy): New rule.
8571 (check-racy/%.exp): Likewise.
8572 * README (Racy testcases): New section.
8573 * analyze-racy-logs.py: New file.
8574
8575 2016-03-03 Doug Evans <dje@google.com>
8576
8577 * gdb.base/skip.exp: Use with_test_prefix.
8578
8579 2016-03-03 Yao Qi <yao.qi@linaro.org>
8580
8581 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8582 Invoke step_over_syscall "clone" and break_cond_on_syscall
8583 "clone".
8584 * gdb.base/step-over-clone.c: New file.
8585
8586 2016-03-03 Yao Qi <yao.qi@linaro.org>
8587
8588 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8589 code format.
8590
8591 2016-03-03 Yao Qi <yao.qi@linaro.org>
8592
8593 * gdb.base/disp-step-fork.c: Rename to ...
8594 * gdb.base/step-over-fork.c: ... it. New file.
8595 * gdb.base/disp-step-vfork.c: Rename to ...
8596 * gdb.base/step-over-vfork.c: ... it. New file.
8597 * gdb.base/disp-step-syscall.exp: Rename to ...
8598 * gdb.base/step-over-syscall.exp: ... it. New file.
8599 (disp_step_cross_syscall): Rename to ...
8600 (step_over_syscall): ... it.
8601
8602 2016-03-03 Yao Qi <yao.qi@linaro.org>
8603
8604 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8605 If target supports condition evaluation on target, invoke
8606 break_cond_on_syscall for fork and vfork.
8607
8608 2016-03-03 Yao Qi <yao.qi@linaro.org>
8609
8610 * gdb.base/disp-step-syscall.exp: Don't invoke
8611 support_displaced_stepping.
8612 (disp_step_cross_syscall): Test with displaced stepping off and
8613 on if supported.
8614
8615 2016-03-03 Yao Qi <yao.qi@linaro.org>
8616
8617 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8618 proc.
8619 (setup): New proc.
8620 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8621 and setup.
8622
8623 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8624
8625 * gdb.fortran/vla-history.exp: Remove breakpoint.
8626
8627 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8628
8629 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8630 exceeds timeout.
8631
8632 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8633
8634 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8635 breakpoint.
8636
8637 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8638
8639 * gdb.mi/vla.f90: Nullify pointer after declaration.
8640
8641 2016-03-01 Pedro Alves <palves@redhat.com>
8642
8643 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8644
8645 2016-03-01 Pedro Alves <palves@redhat.com>
8646
8647 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8648 before anything else.
8649 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8650 _GNU_SOURCE here.
8651 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8652 before anything else.
8653 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8654
8655 2016-03-01 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8658
8659 2016-03-01 Yao Qi <yao.qi@linaro.org>
8660
8661 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8662 prepare_for_testing.
8663
8664 2016-03-01 Yao Qi <yao.qi@linaro.org>
8665
8666 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8667
8668 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8669
8670 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8671 manually constructing the output path.
8672
8673 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8674
8675 * gdb.arch/s390-stackless.S: New.
8676 * gdb.arch/s390-stackless.exp: New.
8677
8678 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8679
8680 * gdb.dlang/circular.c: New file.
8681 * gdb.dlang/circular.exp: New file.
8682
8683 2016-02-26 Yao Qi <yao.qi@linaro.org>
8684
8685 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8686 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8687 (testcases): Update.
8688
8689 2016-02-26 Yao Qi <yao.qi@linaro.org>
8690
8691 * gdb.reverse/aarch64.c: Rename to ...
8692 * gdb.reverse/insn-reverse.c: ... it.
8693 * gdb.reverse/aarch64.exp: Rename to ...
8694 * gdb.reverse/insn-reverse.exp: ... it.
8695
8696 2016-02-26 Yao Qi <yao.qi@linaro.org>
8697
8698 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8699 (testcase_ftype): New.
8700 (testcases): New array.
8701 (n_testcases): New.
8702 (main): Call each element in testcases.
8703 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8704 (read_testcase): New.
8705 Do the tests in a loop.
8706
8707 2016-02-25 Yao Qi <yao.qi@linaro.org>
8708
8709 * gdb.base/branches.c: Remove.
8710
8711 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8712
8713 PR gdb/13808
8714 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8715
8716 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8717
8718 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8719
8720 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8721
8722 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8723 change x86_64 call_insn to 'callq'.
8724
8725 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8726
8727 * gdb.trace/tfile-avx.c: Move to...
8728 * gdb.trace/tracefile-pseudo-reg.c: Here.
8729 * gdb.trace/tfile-avx.exp: Move to...
8730 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8731
8732 2016-02-24 Gary Benson <gbenson@redhat.com>
8733
8734 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8735 message on attach.
8736
8737 2016-02-23 Doug Evans <dje@google.com>
8738
8739 * gdb.base/skip.c (test_skip): New function.
8740 (end_test_skip_file_and_function): New function.
8741 (test_skip_file_and_function): New function.
8742 * gdb.base/skip1.c (test_skip): New function.
8743 (skip1_test_skip_file_and_function): New function.
8744 * gdb.base/skip.exp: Add tests for new skip options.
8745 * gdb.base/skip-solib.exp: Update expected output.
8746 * gdb.perf/skip-command.cc: New file.
8747 * gdb.perf/skip-command.exp: New file.
8748 * gdb.perf/skip-command.py: New file.
8749
8750 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8751
8752 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8753 info registers pattern.
8754
8755 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8756
8757 * lib/future.exp: Add D support.
8758 (gdb_find_gdc): New proc.
8759 (gdb_default_target_compile): Add D support.
8760
8761 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8762
8763 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8764 user+system time.
8765 (trace_speed_test): Determine the iteration count for a time
8766 between 15..30 seconds.
8767
8768 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8769
8770 * gdb.arch/i386-mpx-sigsegv.c: New file.
8771 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8772 * gdb.arch/i386-mpx-simple_segv.c: New file.
8773 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8774
8775 2016-02-18 Yao Qi <yao.qi@linaro.org>
8776
8777 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8778 Don't call setup_kfail.
8779
8780 2016-02-18 Yao Qi <yao.qi@linaro.org>
8781
8782 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8783 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8784
8785 2016-02-16 Doug Evans <dje@google.com>
8786
8787 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8788 * gdb.base/skip1.c: Ditto.
8789 * gdb.base/skip.exp: Whitespace cleanup.
8790
8791 2016-02-16 Don Breazeal <donb@codesourcery.com>
8792
8793 PR remote/19496
8794 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8795 Remove kfail for PR remote/19496.
8796
8797 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8798
8799 * lib/gdb.exp (standard_temp_file): Return a path specific to
8800 the runtest invocation.
8801
8802 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8803
8804 * gdb.trace/save-trace.exp: Change relative path to be in the
8805 standard output directory.
8806
8807 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8808
8809 * gdb.arch/i386-prologue.c: Add missing prototypes.
8810
8811 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8812
8813 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8814 * gdb.arch/i386-prologue.exp: Likewise.
8815 * gdb.arch/i386-size.exp: Likewise.
8816
8817 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8818
8819 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8820 define object file path.
8821 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8822 file path.
8823 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8824 standard_output_file to define binfile.
8825
8826 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8827
8828 Fix compatibility with recent gfortran-5.3.1.
8829 * gdb.fortran/vla-history.exp (print vla1 allocated)
8830 (print vla2 allocated, print $2, print $3): Remove
8831 (print $4): Rename to ...
8832 (print $2): ... here.
8833 (print $9): Rename to ...
8834 (print $5): ... here.
8835 (print $10): Rename to ...
8836 (print $6): ... here.
8837 * gdb.fortran/vla.f90: Add pvla initialization.
8838
8839 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8840
8841 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8842 New test.
8843 * gdb.fortran/vla-value-sub.exp: Likewise.
8844
8845 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8846
8847 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8848
8849 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8850
8851 * i386-biarch-core.exp: Define corefile using
8852 standard_output_file.
8853
8854 2016-02-12 Yao Qi <yao.qi@linaro.org>
8855
8856 * gdb.arch/arm-single-step-kernel-helper.c: New.
8857 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8858
8859 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8860
8861 * gdb.btrace/tailcall-only.exp: New.
8862 * gdb.btrace/tailcall-only.c: New.
8863 * gdb.btrace/x86_64-tailcall-only.S: New.
8864 * gdb.btrace/i686-tailcall-only.S: New.
8865
8866 2016-02-11 Pedro Alves <palves@redhat.com>
8867
8868 * README (Parallel testing): Add missing double quotes.
8869
8870 2016-02-11 Pedro Alves <palves@redhat.com>
8871
8872 * README (Parallel testing): New section.
8873 (GDB_PARALLEL): Rewrite.
8874 (FORCE_PARALLEL): Document.
8875
8876 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8877
8878 * gdb.trace/tfile-avx.c: New test.
8879 * gdb.trace/tfile-avx.exp: New test.
8880
8881 2016-02-09 Keith Seitz <keiths@redhat.com>
8882
8883 PR breakpoints/19546
8884 * gdb.base/infcall-exec.c: New file.
8885 * gdb.base/infcall-exec2.c: New file.
8886 * gdb.base/infcall-exec.exp: New file.
8887
8888 2016-02-09 Keith Seitz <keiths@redhat.com>
8889
8890 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8891 (toplevel): Call test_bkpt_address.
8892
8893 2016-02-09 Keith Seitz <keiths@redhat.com>
8894
8895 PR python/19506
8896 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8897 (toplevel): Call test_bkpt_address.
8898
8899 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8900
8901 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8902 to AC_OUTPUT.
8903 * configure: Regenerate.
8904
8905 2016-02-09 Pedro Alves <palves@redhat.com>
8906
8907 PR breakpoints/19548
8908 * gdb.base/execl-update-breakpoints.c (some_function): New
8909 function.
8910 (main): Call it.
8911 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8912 Tighten expected GDB output.
8913
8914 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8915
8916 * Makefile.in (ALL_SUBDIRS): Remove.
8917 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8918 (distclean maintainer-clean realclean): Likewise.
8919 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8920 * configure: Regenerate.
8921 * gdb.ada/Makefile.in: Delete.
8922 * gdb.arch/Makefile.in: Likewise.
8923 * gdb.asm/Makefile.in: Likewise.
8924 * gdb.base/Makefile.in: Likewise.
8925 * gdb.btrace/Makefile.in: Likewise.
8926 * gdb.cell/Makefile.in: Likewise.
8927 * gdb.compile/Makefile.in: Likewise.
8928 * gdb.cp/Makefile.in: Likewise.
8929 * gdb.disasm/Makefile.in: Likewise.
8930 * gdb.dlang/Makefile.in: Likewise.
8931 * gdb.dwarf2/Makefile.in: Likewise.
8932 * gdb.fortran/Makefile.in: Likewise.
8933 * gdb.gdb/Makefile.in: Likewise.
8934 * gdb.go/Makefile.in: Likewise.
8935 * gdb.guile/Makefile.in: Likewise.
8936 * gdb.java/Makefile.in: Likewise.
8937 * gdb.linespec/Makefile.in: Likewise.
8938 * gdb.mi/Makefile.in: Likewise.
8939 * gdb.modula2/Makefile.in: Likewise.
8940 * gdb.multi/Makefile.in: Likewise.
8941 * gdb.objc/Makefile.in: Likewise.
8942 * gdb.opencl/Makefile.in: Likewise.
8943 * gdb.opt/Makefile.in: Likewise.
8944 * gdb.pascal/Makefile.in: Likewise.
8945 * gdb.perf/Makefile.in: Likewise.
8946 * gdb.python/Makefile.in: Likewise.
8947 * gdb.reverse/Makefile.in: Likewise.
8948 * gdb.server/Makefile.in: Likewise.
8949 * gdb.stabs/Makefile.in: Likewise.
8950 * gdb.threads/Makefile.in: Likewise.
8951 * gdb.trace/Makefile.in: Likewise.
8952 * gdb.xml/Makefile.in: Likewise.
8953 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8954 GDB_PARALLEL.
8955 (standard_output_file): Remove check for GDB_PARALLEL, always
8956 return path in outputs/$subdir/$testname.
8957
8958 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8959
8960 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8961 (site.exp): Assign abs_srcdir to tcl's srcdir.
8962
8963 2016-02-04 Yao Qi <yao.qi@linaro.org>
8964
8965 * gdb.base/foll-exec-mode.c: Include limits.h.
8966 (main): Add parameters argc and argv. Get directory from
8967 argv[0].
8968 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8969 compilation.
8970 * gdb.base/foll-exec.c: Include limits.h.
8971 (main): Add parameters argc and argv.
8972 Get directory from argv[0].
8973 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8974 Adjust tests on the number of lines as source code changed.
8975 * gdb.base/foll-vfork-exit.c: Include limits.h.
8976 (main): Add one line of statement before vfork.
8977 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8978 (main): Add parameters argc and argv. Get directory from
8979 argv[0].
8980 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8981 (setup_gdb): Set tbreak to skip some source lines.
8982 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8983 (main): Add parameters argc and argv. Get directory from
8984 argv[0].
8985 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8986 compilation.
8987 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8988 (main): Add parameters argc and argv. Get directory from
8989 argv[0].
8990 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8991 compilation.
8992
8993 2016-02-01 Doug Evans <dje@google.com>
8994
8995 * gdb.base/skip.exp: Clean up multiple references to same test name.
8996
8997 2016-02-01 Pedro Alves <palves@redhat.com>
8998
8999 PR remote/19496
9000 * gdb.threads/forking-threads-plus-breakpoint.exp
9001 (displaced_stepping_supported): New global.
9002 (probe_displaced_stepping_support): New procedure.
9003 (do_test): Add 'displaced' parameter, and use it.
9004 (top level): Check for displaced stepping support. Add displaced
9005 stepping on/off testing axis.
9006
9007 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9008
9009 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9010 pointer. Don't perform further tests on the unassociated pointer
9011 if the first test fails.
9012
9013 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9014
9015 * gdb.base/max-value-size.c: New file.
9016 * gdb.base/max-value-size.exp: New file.
9017 * gdb.base/huge.exp: Disable max-value-size for this test.
9018
9019 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9020
9021 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9022
9023 2016-01-28 Yao Qi <yao.qi@linaro.org>
9024
9025 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9026
9027 2016-01-25 Pedro Alves <palves@redhat.com>
9028
9029 PR threads/19461
9030 * gdb.base/fork-running-state.c: New file.
9031 * gdb.base/fork-running-state.exp: New file.
9032
9033 2016-01-25 Pedro Alves <palves@redhat.com>
9034
9035 PR gdb/19494
9036 * gdb.base/catch-fork-kill.c: New file.
9037 * gdb.base/catch-fork-kill.exp: New file.
9038
9039 2016-01-25 Pedro Alves <palves@redhat.com>
9040
9041 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9042 Delete, moved to lib/gdb.exp.
9043 * gdb.threads/forking-threads-plus-breakpoint.exp
9044 (foreach_with_prefix): Likewise.
9045 * gdb.threads/process-dies-while-handling-bp.exp
9046 (foreach_with_prefix): Likewise.
9047 * lib/gdb.exp (foreach_with_prefix): New procedure.
9048
9049 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9050
9051 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9052 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9053
9054 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9055
9056 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9057 endian targets.
9058
9059 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9060 Pedro Alves <palves@redhat.com>
9061
9062 Fix testsuite compatibility with Guile.
9063 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9064 number.
9065
9066 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9067
9068 Fix testsuite compatibility with Guile.
9069 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9070 (thread 1): New test for backtrace through signal handler.
9071
9072 2016-01-22 Yao Qi <yao.qi@linaro.org>
9073
9074 PR testsuite/19491
9075 * gdb.base/multi-forks.c: Include
9076 ../lib/unbuffer_output.c
9077 (main): Call gdb_unbuffer_output.
9078
9079 2016-01-21 Doug Evans <dje@google.com>
9080
9081 * lib/ada.exp (gdb_compile_ada): Fix typo.
9082
9083 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9084
9085 * gdb.base/break-fun-addr.exp: New file.
9086 * gdb.base/break-fun-addr1.c: New file.
9087 * gdb.base/break-fun-addr2.c: New file.
9088
9089 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9090
9091 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9092 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9093 enum flag values.
9094
9095 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9096
9097 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9098 when GDB can not set the vector return value. Add more comments
9099 for clarification.
9100
9101 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9102
9103 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9104 command.
9105
9106 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9107
9108 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9109
9110 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9111
9112 * Makefile.in (check-single): Pass --status to runtest.
9113 (check/%.exp): Likewise.
9114
9115 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9116
9117 * Makefile.in (check-parallel): Propagate return code from make
9118 do-check-parallel.
9119
9120 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9121
9122 * gdb.trace/ftrace.exp: Fix expected message on continue.
9123 * gdb.trace/pending.exp: Fix expected message on continue.
9124 * gdb.trace/trace-break.exp: Fix expected message on continue.
9125
9126 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9127
9128 * lib/gdb.exp (gdb_test): Remove unused global references.
9129
9130 2016-01-18 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.base/async-shell.exp: Adjust expected output.
9133 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9134 * gdb.base/siginfo-thread.exp: Adjust expected output.
9135 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9136 * gdb.java/jnpe.exp: Adjust expected output.
9137 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9138 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9139 * gdb.threads/leader-exit.exp: Adjust expected output.
9140 * gdb.threads/manythreads.exp: Adjust expected output.
9141 * gdb.threads/pthreads.exp: Adjust expected output.
9142 * gdb.threads/schedlock.exp: Adjust expected output.
9143 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9144 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9145 expected output.
9146 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9147 output.
9148 * gdb.threads/sigthread.exp: Adjust expected output.
9149 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9150
9151 2016-01-18 Yao Qi <yao.qi@linaro.org>
9152
9153 * gdb.guile/scm-section-script.c: Replace @progbits with
9154 %progbits.
9155 * gdb.python/py-section-script.c: Likewise.
9156
9157 2016-01-15 Pedro Alves <palves@redhat.com>
9158
9159 * gdb.multi/tids.exp: Test star wildcard ranges.
9160
9161 2016-01-15 Pedro Alves <palves@redhat.com>
9162
9163 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9164 command from "thread apply" invocation.
9165 (thr_apply_info_thr_invalid): Default the expected output to the
9166 input tid list.
9167 (top level): Add tests that use convenience variables. Add tests
9168 for "thread apply" with a valid TID list, but missing the command.
9169
9170 2016-01-13 Pedro Alves <palves@redhat.com>
9171
9172 * gdb.base/default.exp: Expect $_gthread as well.
9173 * gdb.multi/tids.exp: Test $_gthread.
9174 * gdb.threads/thread-specific.exp: Test $_gthread.
9175
9176 2016-01-13 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.multi/tids.exp: Test "info threads -gid".
9179
9180 2016-01-13 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9183 Breakpoint.thread.
9184 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9185
9186 2016-01-07 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.base/break.exp: Adjust to output changes.
9189 * gdb.base/hbreak2.exp: Likewise.
9190 * gdb.base/sepdebug.exp: Likewise.
9191 * gdb.base/watch_thread_num.exp: Likewise.
9192 * gdb.linespec/keywords.exp: Likewise.
9193 * gdb.multi/info-threads.exp: Likewise.
9194 * gdb.threads/thread-find.exp: Likewise.
9195 * gdb.multi/tids.c: New file.
9196 * gdb.multi/tids.exp: New file.
9197
9198 2016-01-13 Pedro Alves <palves@redhat.com>
9199
9200 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9201
9202 2016-01-13 Pedro Alves <palves@redhat.com>
9203
9204 * gdb.base/default.exp: Expect $_inferior as well.
9205 * gdb.multi/base.exp: Test $_inferior.
9206
9207 2016-01-13 Pedro Alves <palves@redhat.com>
9208
9209 PR breakpoints/19388
9210 * gdb.base/catch-signal-siginfo-cond.c: New file.
9211 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9212
9213 2016-01-12 Josh Stone <jistone@redhat.com>
9214 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9215
9216 * gdb.base/catch-syscall.c (do_execve): New variable.
9217 (main): Conditionally trigger an execve.
9218 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9219 (test_catch_syscall_execve): New, check entry/return across execve.
9220 (do_syscall_tests): Call test_catch_syscall_execve.
9221
9222 2016-01-12 Pedro Alves <palves@redhat.com>
9223
9224 * gdb.base/random-signal.exp (do_test): New procedure, with body
9225 of testcase moved in.
9226
9227 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9228 Pedro Alves <palves@redhat.com>
9229
9230 * gdb.base/funcargs.exp (finish from indirectly called function):
9231 Reintroduce the case for 'First'.
9232
9233 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9234 Pedro Alves <palves@redhat.com>
9235
9236 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9237 (tcatch_vfork_then_child_follow_exec)
9238 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9239 identification.
9240
9241 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9244 and repeats to unlimited.
9245 * gdb.python/py-value.exp: Likewise.
9246 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9247 and repeats to unlimited.
9248
9249 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9250
9251 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9252 and reordering the functions.
9253 * gdb.multi/hangout.c: Likewise.
9254 * gdb.multi/hello.c: Likewise.
9255
9256 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9257
9258 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9259 absolute.
9260 (SingleStatisticTestResult.report): Use dict.keys instead of
9261 dict.iterkeys.
9262
9263 2016-01-06 Pedro Alves <palves@redhat.com>
9264
9265 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9266
9267 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9268
9269 * gdb.btrace/dlopen.exp: New.
9270 * gdb.btrace/dlopen.c: New.
9271 * gdb.btrace/dlopen-dso.c: New.
9272
9273 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9274
9275 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9276 PATTERN argument is optional.
9277
9278 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9279
9280 * lib/ada.exp (target_compile_ada_from_dir): New function.
9281 (gdb_compile_ada): Reimplement avoiding the use of project files.
9282 * gdb.ada/gnat_ada.gpr: Delete.
9283 * gdb.ada/cond_lang.exp: Adjust test to make path before
9284 filename optional.
9285 * gdb.ada/small_reg_param.exp: Likewise.
9286
9287 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9288
9289 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9290
9291 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9292
9293 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9294 case.
9295
9296 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9297
9298 * gdb.base/break.exp: Remove dead code.
9299 * gdb.base/sepdebug.exp: Likewise.
9300
9301 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9302
9303 * gdb.asm/asm-source.exp: Remove HP-UX references.
9304 * gdb.base/annota1.exp: Likewise.
9305 * gdb.base/annota3.exp: Likewise.
9306 * gdb.base/attach.exp: Likewise.
9307 * gdb.base/bigcore.exp: Likewise.
9308 * gdb.base/break.exp: Likewise.
9309 * gdb.base/call-ar-st.exp: Likewise.
9310 * gdb.base/callfuncs.exp: Likewise.
9311 * gdb.base/catch-fork-static.exp: Likewise.
9312 * gdb.base/display.exp: Likewise.
9313 * gdb.base/foll-exec-mode.exp: Likewise.
9314 * gdb.base/foll-exec.exp: Likewise.
9315 * gdb.base/foll-fork.exp: Likewise.
9316 * gdb.base/foll-vfork.exp: Likewise.
9317 * gdb.base/funcargs.exp: Likewise.
9318 * gdb.base/hbreak2.exp: Likewise.
9319 * gdb.base/inferior-died.exp: Likewise.
9320 * gdb.base/interrupt.exp: Likewise.
9321 * gdb.base/multi-forks.exp: Likewise.
9322 * gdb.base/nodebug.exp: Likewise.
9323 * gdb.base/sepdebug.exp: Likewise.
9324 * gdb.base/solib1.c: Likewise.
9325 * gdb.base/step-test.exp: Likewise.
9326 * gdb.mi/non-stop.c: Likewise.
9327 * gdb.mi/pthreads.c: Likewise.
9328 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9329 * gdb.threads/pthreads.c: Likewise.
9330 * gdb.threads/staticthreads.exp: Likewise.
9331 * lib/future.exp: Likewise.
9332 * lib/gdb.exp: Likewise.
9333 * gdb.base/so-indr-cl.c: Remove.
9334 * gdb.base/so-indr-cl.exp: Likewise.
9335 * gdb.base/solib.c: Likewise.
9336 * gdb.base/solib.exp: Likewise.
9337 * gdb.base/solib2.c: Likewise.
9338
9339 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9340
9341 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9342 * gdb.base/call-ar-st.exp: Likewise.
9343 * gdb.base/callfuncs.exp: Likewise.
9344 * gdb.base/condbreak.exp: Likewise.
9345 * gdb.base/constvars.exp: Likewise.
9346 * gdb.base/hbreak2.exp: Likewise.
9347 * gdb.base/langs.exp: Likewise.
9348 * gdb.base/list.exp: Likewise.
9349 * gdb.base/long_long.exp: Likewise.
9350 * gdb.base/ptype.exp: Likewise.
9351 * gdb.base/scope.exp: Likewise.
9352 * gdb.base/signals.exp: Likewise.
9353 * gdb.base/so-impl-ld.exp: Likewise.
9354 * gdb.base/varargs.exp: Likewise.
9355 * gdb.base/volatile.exp: Likewise.
9356 * gdb.base/whatis.exp: Likewise.
9357 * gdb.cp/cplusfuncs.exp: Likewise.
9358 * gdb.cp/inherit.exp: Likewise.
9359 * gdb.cp/local.exp: Likewise.
9360 * gdb.cp/member-ptr.exp: Likewise.
9361 * gdb.cp/method.exp: Likewise.
9362 * gdb.cp/overload.exp: Likewise.
9363 * gdb.cp/templates.exp: Likewise.
9364 * gdb.stabs/weird.exp: Likewise.
9365 * lib/compiler.c: Likewise.
9366 * lib/compiler.cc: Likewise.
9367 * lib/cp-support.exp: Likewise.
9368 * lib/gdb.exp: Likewise.
9369
9370 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9371
9372 * configure.ac: Remove HP-UX case.
9373 * configure: Regenerate.
9374
9375 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9376
9377 * lib/gdb.exp (gdb_compile): Add function doc.
9378
9379 2015-12-17 Pedro Alves <palves@redhat.com>
9380
9381 PR threads/19354
9382 * gdb.multi/info-threads.exp: New file.
9383
9384 2015-12-15 Yao Qi <yao.qi@linaro.org>
9385
9386 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9387 is aarch64*-*-*.
9388
9389 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9390
9391 * gdb.base/history-duplicates.exp: Skip if no readline support.
9392
9393 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9394
9395 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9396
9397 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9398
9399 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9400
9401 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9402
9403 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9404 ctrl-C if nointerrupts target property is set.
9405 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9406 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9407 * gdb.base/paginate-bg-execution.exp: Likewise.
9408 * gdb.base/paginate-execution-startup.exp: Likewise.
9409 * gdb.base/random-signal.exp: Likewise.
9410 * gdb.base/range-stepping.exp: Likewise.
9411 * gdb.cp/annota2.exp: Likewise.
9412 * gdb.cp/annota3.exp: Likewise.
9413 * gdb.gdb/selftest.exp: Likewise.
9414 * gdb.threads/continue-pending-status.exp: Likewise.
9415 * gdb.threads/leader-exit.exp: Likewise.
9416 * gdb.threads/manythreads.exp: Likewise.
9417 * gdb.threads/pthreads.exp: Likewise.
9418 * gdb.threads/schedlock.exp: Likewise.
9419 * gdb.threads/sigthread.exp: Likewise.
9420
9421 2015-12-11 Don Breazeal <donb@codesourcery.com>
9422
9423 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9424 remote.
9425 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9426 * gdb.base/foll-exec.exp (main): Enable for target remote.
9427 * gdb.base/foll-fork.exp (main): Likewise.
9428 * gdb.base/foll-vfork.exp (main): Likewise.
9429 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9430 (proc continue_to_exit_bp_loc): Use clean_restart.
9431 * gdb.base/pie-execl.exp (main): Disable for target remote.
9432 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9433 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9434 * gdb.threads/execl.exp (main): Likewise.
9435 * gdb.threads/fork-child-threads.exp (main): Likewise.
9436 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9437 remote.
9438 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9439 remote.
9440 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9441 pid.tid style ptids, instead of just tid.
9442 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9443 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9444 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9445 ptids, instead of just tid.
9446
9447 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9448
9449 * gdb.base/list.exp (test_list_forward): Add end of file error
9450 test.
9451 (test_repeat_list_command): Add end of file error test.
9452 (test_list_backwards): Add beginning of file error test.
9453
9454 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9455
9456 * gdb.base/list.exp (test_list_invalid_args): New function,
9457 defined, and called.
9458
9459 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9460
9461 * gdb.base/list.exp (test_list): Make test names unique.
9462
9463 2015-12-11 Yao Qi <yao.qi@linaro.org>
9464
9465 * gdb.base/coremaker2.c: Remove.
9466
9467 2015-12-10 Pedro Alves <palves@redhat.com>
9468
9469 * gdb.multi/base.exp: Remove stale "spaces" references.
9470
9471 2015-12-10 Pedro Alves <palves@redhat.com>
9472
9473 * gdb.multi/base.exp: Don't use nowarnings.
9474 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9475 * gdb.multi/hangout.c: Include stdio.h.
9476 * gdb.multi/hello.c: Include stdlib.h.
9477 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9478 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9479 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9480
9481 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9482
9483 * gdb.dwarf2/dw2-ranges-base.c: New file.
9484 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9485 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9486 support additional line table, and debug ranges generation.
9487 (Dwarf::ranges): New function, generate .debug_ranges.
9488 (Dwarf::lines): Support generating simple line table programs.
9489 (Dwarf::assemble): Initialise new namespace variables.
9490
9491 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9492
9493 * gdb.base/async.exp (proc test_background): Add case for
9494 asynchronous execution not supported.
9495
9496 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9497
9498 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9499 format and change test names to make them unique.
9500
9501 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9502 Pedro Alves <pedro@redhat.com>
9503
9504 PR gdb/18702
9505 Add checking of floatformats setup on x86_64 hosts.
9506 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9507 (smallval, bigval): New labels/constants.
9508 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9509 float" after loading bigval and smallval.
9510
9511 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9512
9513 * gdb.ada/fun_overload_menu.exp: New testcase.
9514 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9515
9516 2015-12-04 Josh Stone <jistone@redhat.com>
9517
9518 * gdb.base/catch-fork-static.exp: New.
9519
9520 2015-12-03 Yao Qi <yao.qi@linaro.org>
9521
9522 * gdb.base/sizeof.c: Don't include stdio.h and
9523 ../lib/unbuffer_output.c.
9524 (main): New variable 'size' and 'value'. Remove printf and
9525 gdb_unbuffer_output. Assign return value to size and value.
9526 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9527 at the beginning.
9528 (check_sizeof): Check the result by printing variable 'size'.
9529 (check_valueof): Check the result by printing variable 'value'.
9530
9531 2015-12-01 Yao Qi <yao.qi@linaro.org>
9532
9533 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9534 for aarch64*-*-linux* target.
9535
9536 2015-11-30 Pedro Alves <palves@redhat.com>
9537
9538 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9539
9540 2015-11-30 Pedro Alves <palves@redhat.com>
9541
9542 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9543 Handle non-stop mode vCont replies.
9544
9545 2015-11-30 Pedro Alves <palves@redhat.com>
9546
9547 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9548 prepare_for_testing. Start gdb with "set non-stop on" appended to
9549 GDBFLAGS. Lax expected stop output.
9550
9551 2015-11-27 Yao Qi <yao.qi@linaro.org>
9552
9553 * gdb.arch/arm-neon.exp: New.
9554 * gdb.arch/arm-neon.c: New.
9555
9556 2015-11-27 Yao Qi <yao.qi@linaro.org>
9557
9558 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9559
9560 2015-11-27 Yao Qi <yao.qi@linaro.org>
9561
9562 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9563 frames-invalid annotation.
9564
9565 2015-11-27 Yao Qi <yao.qi@linaro.org>
9566
9567 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9568
9569 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9570
9571 * gdb.threads/names.exp: New file.
9572 * gdb.threads/names.c: New file.
9573 * README: Mention gdb,no_thread_names.
9574
9575 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9576
9577 PR 19297
9578 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9579 support" error.
9580
9581 2015-11-24 Pedro Alves <palves@redhat.com>
9582
9583 PR 17539
9584 * gdb.base/display.exp: Expect displays to be sorted in ascending
9585 order. Use multi_line.
9586 * gdb.base/solib-display.exp: Likewise.
9587
9588 2015-11-24 Pedro Alves <palves@redhat.com>
9589
9590 PR 17539
9591 * gdb.base/display.exp: Expect displays to be sorted in ascending
9592 order. Use multi_line.
9593 * gdb.base/solib-display.exp: Likewise.
9594
9595 2015-11-24 Pedro Alves <palves@redhat.com>
9596
9597 PR 17539
9598 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9599 threads in ascending order.
9600 * gdb.base/foll-fork.exp: Likewise.
9601 * gdb.base/foll-vfork.exp: Likewise.
9602 * gdb.base/multi-forks.exp: Likewise.
9603 * gdb.mi/mi-nonstop.exp: Likewise.
9604 * gdb.mi/mi-nsintrall.exp: Likewise.
9605 * gdb.multi/base.exp: Likewise.
9606 * gdb.multi/multi-arch.exp: Likewise.
9607 * gdb.python/py-inferior.exp: Likewise.
9608 * gdb.threads/break-while-running.exp: Likewise.
9609 * gdb.threads/execl.exp: Likewise.
9610 * gdb.threads/gcore-thread.exp: Likewise.
9611 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9612 * gdb.threads/kill.exp: Likewise.
9613 * gdb.threads/linux-dp.exp: Likewise.
9614 * gdb.threads/multiple-step-overs.exp: Likewise.
9615 * gdb.threads/next-bp-other-thread.exp: Likewise.
9616 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9617 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9618 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9619 * gdb.threads/thread-find.exp: Likewise.
9620 * gdb.threads/tls.exp: Likewise.
9621 * lib/mi-support.exp (mi_reverse_list): Delete.
9622 (mi_check_thread_states): No longer reverse list.
9623
9624 2015-11-24 Pedro Alves <palves@redhat.com>
9625
9626 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9627 use lowercase.
9628
9629 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9630
9631 * gdb.trace/actions.c: Include trace-common.h.
9632 (main): Add a location for a fast tracepoint.
9633 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9634 the normal tracepoints.
9635 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9636
9637 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9638
9639 * save-trace.exp: Factor out code to these...
9640 (gdb_save_tracepoints): New.
9641 (gdb_load_tracepoints): New.
9642 (do_save_load_test): New.
9643
9644 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9645
9646 * gdb.base/asmlabel.exp: New test.
9647 * gdb.base/asmlabel.c: New test case.
9648
9649 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9650
9651 * gdb.base/wrong_frame_bt_full-main.c: New file.
9652 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9653 * gdb.base/wrong_frame_bt_full.exp: New file.
9654
9655 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9656
9657 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9658
9659 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9660
9661 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9662 pstate register when comparing registers values in
9663 sparc64-*-linux-gnu targets to avoid spurious differences.
9664
9665 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9666
9667 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9668
9669 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9670
9671 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9672 as type argument to gdb_compile.
9673 * gdb.base/nested-subp2.exp: Likewise.
9674 * gdb.base/nested-subp3.exp: Likewise.
9675
9676 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9677
9678 * lib/dwarf.exp (_note): Fix left shift of negative value.
9679 * gdb.trace/trace-condition.exp: Likewise.
9680
9681 2015-11-13 Yao Qi <yao.qi@linaro.org>
9682
9683 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9684 comments about d10v.
9685 (test_scalar_returns): Likewise.
9686 * gdb.base/d10v.ld: Remove.
9687 * gdb.base/overlays.exp: Remove the target triplet checking for
9688 d10v-*-*.
9689 * gdb.base/structs.exp (test_struct_returns): Remove the
9690 comments about d10v.
9691 (test_struct_calls): Likewise.
9692
9693 2015-11-13 Yao Qi <yao.qi@linaro.org>
9694
9695 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9696 * gdb.base/gnu_vector.c: Don't include stdio.h.
9697 (main): Don't print res and call add_some_intvecs.
9698
9699 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9700
9701 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9702 macro.
9703 (func5): Removed.
9704 (func4): Use FAST_TRACEPOINT_LABEL.
9705 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9706 macro.
9707 (func): Removed.
9708 (thread_function): Use FAST_TRACEPOINT_LABEL.
9709 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9710 (func): Remove.
9711 (marker): Use FAST_TRACEPOINT_LABEL.
9712 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9713 (pendfunc1): Remove.
9714 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9715 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9716 (foo): Remove.
9717 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9718 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9719 macro.
9720 (func): Remove.
9721 (marker): Use FAST_TRACEPOINT_LABEL.
9722 * gdb.trace/trace-common.h: New header.
9723 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9724 macro.
9725 (func): Remove.
9726 (marker): Use FAST_TRACEPOINT_LABEL.
9727 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9728 (func): Remove.
9729 (thread_function): Use FAST_TRACEPOINT_LABEL.
9730
9731 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9732
9733 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9734 in front.
9735 * gdb.trace/change-loc.exp: Use global pcreg definition.
9736 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9737 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9738 in front.
9739 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9740 * gdb.trace/pending.exp: Likewise.
9741 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9742 * gdb.trace/trace-break.exp: Likewise.
9743 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9744 in front.
9745 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9746 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9747 in front.
9748 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9749
9750 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9751
9752 * gdb.ada/fin_fun_out: New testcase.
9753
9754 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9755
9756 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9757 value associated with DW_AT_byte_size.
9758 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9759 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9760 DW_AT_upper_bound.
9761
9762 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9763
9764 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9765 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9766 version.
9767 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9768 gdb.dwarf2/dw2-canonicalize-type.exp,
9769 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9770 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9771 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9772 provided by gdb_target_symbol_prefix_flags_asm.
9773 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9774 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9775 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9776 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9777 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9778 macros where needed). Use this macro for symbols which require
9779 the prefix provided by SYMBOL_PREFIX.
9780
9781 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9782
9783 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9784 New procs.
9785 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9786 representing expressions, of more than one list element.
9787 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9788 to prepend linker symbol prefix to f.
9789 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9790 table_1 and table_2.
9791 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9792 Likewise, for f and g.
9793 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9794 for ptr.
9795 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9796 for main.
9797 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9798 table_1_ptr and table_2_ptr.
9799
9800 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9801 Joel Brobecker <brobecker@adacore.com>
9802
9803 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9804
9805 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9806
9807 * gdb.reverse/s390-mvcle.c: New test.
9808 * gdb.reverse/s390-mvcle.exp: New file.
9809 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9810
9811 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9812
9813 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9814
9815 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9816
9817 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9818 reaching marker2.
9819 * gdb.reverse/getresuid-reverse.exp: Likewise.
9820 * gdb.reverse/pipe-reverse.exp: Likewise.
9821 * gdb.reverse/readv-reverse.exp: Likewise.
9822 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9823 * gdb.reverse/time-reverse.exp: Likewise.
9824 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9825
9826 2015-10-30 Yao Qi <yao.qi@linaro.org>
9827
9828 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9829 (empty_cycle): Remove.
9830 (main): Don't call empty_cycle. Don't use watch_count_done.
9831 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9832 empty_cycle. Rewrite the code counting HW watchpoints.
9833
9834 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9835
9836 * gdb.reverse/fstatat-reverse.c: New test.
9837 * gdb.reverse/fstatat-reverse.exp: New file.
9838 * gdb.reverse/getresuid-reverse.c: New test.
9839 * gdb.reverse/getresuid-reverse.exp: New file.
9840 * gdb.reverse/pipe-reverse.c: New test.
9841 * gdb.reverse/pipe-reverse.exp: New file.
9842 * gdb.reverse/readv-reverse.c: New test.
9843 * gdb.reverse/readv-reverse.exp: New file.
9844 * gdb.reverse/recvmsg-reverse.c: New test.
9845 * gdb.reverse/recvmsg-reverse.exp: New file.
9846 * gdb.reverse/time-reverse.c: New test.
9847 * gdb.reverse/time-reverse.exp: New file.
9848 * gdb.reverse/waitpid-reverse.c: New test.
9849 * gdb.reverse/waitpid-reverse.exp: New file.
9850
9851 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9852
9853 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9854
9855 2015-10-26 Doug Evans <dje@google.com>
9856
9857 PR symtab/17391
9858 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9859 * gdb.dwarf2/bad-regnum.c: New file.
9860 * gdb.dwarf2/bad-regnum.exp: New file.
9861
9862 2015-10-26 Doug Evans <dje@google.com>
9863
9864 PR python/18938
9865 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9866 file.
9867
9868 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9869
9870 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9871 for a change by "Mention language in compile error message".
9872
9873 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9874
9875 PR python/18073
9876 * gdb.python/py-type.c (C::a_method): New.
9877 (C::a_const_method): New.
9878 (C::a_static_method): New.
9879 (a_function): New.
9880 * gdb.python/py-type.exp (test_fields): Test getting fields
9881 from function and method.
9882
9883 2015-10-21 Keven Boell <keven.boell@intel.com>
9884
9885 * gdb.fortran/vla-alloc-assoc.exp: New file.
9886 * gdb.fortran/vla-datatypes.exp: New file.
9887 * gdb.fortran/vla-datatypes.f90: New file.
9888 * gdb.fortran/vla-history.exp: New file.
9889 * gdb.fortran/vla-ptype-sub.exp: New file.
9890 * gdb.fortran/vla-ptype.exp: New file.
9891 * gdb.fortran/vla-sizeof.exp: New file.
9892 * gdb.fortran/vla-sub.f90: New file.
9893 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9894 * gdb.fortran/vla-value-sub-finish.exp: New file.
9895 * gdb.fortran/vla-value-sub.exp: New file.
9896 * gdb.fortran/vla-value.exp: New file.
9897 * gdb.fortran/vla-ptr-info.exp: New file.
9898 * gdb.mi/mi-vla-fortran.exp: New file.
9899 * gdb.mi/vla.f90: New file.
9900
9901 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9902
9903 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9904 of hardwired timeout value.
9905
9906 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9907 Pedro Alves <palves@redhat.com>
9908
9909 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9910 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9911
9912 2015-10-19 Josh Stone <jistone@redhat.com>
9913
9914 * gdb.base/catch-syscall.c: Include <sched.h>.
9915 (unknown_syscall): New variable.
9916 (main): Trigger a vfork and an unknown syscall.
9917 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9918 (unknown_syscall_number): Likewise.
9919 (check_call_to_syscall): Accept an optional syscall pattern.
9920 (check_return_from_syscall): Likewise.
9921 (check_continue): Likewise.
9922 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9923 (test_catch_syscall_skipping_return): New test toggling off 'catch
9924 syscall' to step over the syscall return, then toggling back on.
9925 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9926 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9927 (do_syscall_tests): Call test_catch_syscall_without_args and
9928 test_catch_syscall_mid_vfork.
9929 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9930 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9931
9932 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9933
9934 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9935 print g_vE): Add new pass patterns.
9936 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9937 print various symbol names for vptr fields.
9938
9939 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9940
9941 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9942 results.
9943
9944 2015-10-12 Yao Qi <yao.qi@linaro.org>
9945
9946 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9947
9948 2015-10-12 Yao Qi <yao.qi@linaro.org>
9949
9950 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9951 is aarch64*-*-linux*.
9952
9953 2015-10-12 Yao Qi <yao.qi@linaro.org>
9954
9955 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9956 (can_relocate_bcond_true): ... it.
9957 (can_relocate_bcond_false): New function.
9958 (foo): Likewise.
9959 (can_relocate_bl): Likewise.
9960 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9961 can_relocate_bl.
9962
9963 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9964
9965 * gdb.base/nested-addr.c: New file.
9966 * gdb.base/nested-addr.exp: New testcase.
9967
9968 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9969
9970 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9971 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9972 its output. Ignore the output of "record goto begin" and instead
9973 check that GDB is replaying.
9974
9975 2015-10-09 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9978 (top level): Use it in the run with no args test.
9979
9980 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9981
9982 * gdb.dlang/properties.exp: New file.
9983
9984 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9985
9986 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9987 whether or not address 0x1000 is mapped on the target.
9988
9989 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9990
9991 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9992 build.
9993
9994 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9995
9996 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9997 instruction-history test.
9998
9999 2015-09-28 Doug Evans <dje@google.com>
10000
10001 * gdb.base/gcore.c (array_func): Add reference to static_array.
10002
10003 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10004
10005 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10006 source line.
10007
10008 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10009
10010 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10011 short or char as base type.
10012
10013 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10014
10015 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10016 to allow any size enum.
10017
10018 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10019
10020 * gdb.ada/array_ptr_renaming.exp: New testcase.
10021 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10022 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10023
10024 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10025
10026 * gdb.trace/ftrace-lock.c: New file.
10027 * gdb.trace/ftrace-lock.exp: New file.
10028
10029 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10030
10031 * gdb.arch/insn-reloc.c: New file.
10032 * gdb.arch/ftrace-insn-reloc.exp: New file.
10033
10034 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10035
10036 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10037 instruction.
10038 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10039 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10040 * gdb.trace/range-stepping.c: Likewise.
10041 * gdb.trace/trace-break.c: Likewise.
10042 * gdb.trace/trace-mt.c (thread_function): Likewise.
10043 * gdb.trace/ftrace.c (marker): Likewise.
10044 * gdb.trace/trace-condition.c (marker): Likewise.
10045 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10046 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10047 is_aarch64_target.
10048
10049 2015-09-18 Doug Evans <xdje42@gmail.com>
10050
10051 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10052 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10053
10054 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10055
10056 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10057 the breakpoint.
10058
10059 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10060
10061 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10062 the pending breakpoint. Remove timeout override for "Run till
10063 MI pending breakpoint on pendfunc3 on thread 2" test.
10064
10065 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10066
10067 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10068 filename pattern.
10069
10070 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10071
10072 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10073 in breakpoint filename pattern.
10074
10075 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10076
10077 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10078
10079 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10080
10081 * gdb.linespec/explicit.exp: Check for readline support for
10082 tab-completion tests. Fix obvious typo.
10083
10084 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10085
10086 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10087 and replay.
10088
10089 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10090
10091 * gdb.btrace/non-stop.c: New.
10092 * gdb.btrace/non-stop.exp: New.
10093
10094 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10095 Yao Qi <yao.qi@linaro.org>
10096
10097 * gdb.trace/trace-condition.c: New file.
10098 * gdb.trace/trace-condition.exp: New file.
10099
10100 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10101
10102 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10103 for testing bytecode compilation.
10104
10105 2015-09-16 Pedro Alves <palves@redhat.com>
10106 Sandra Loosemore <sandra@codesourcery.com>
10107
10108 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10109 (SECONDS): Redefine.
10110 (main): Call pthread_kill and alarm early.
10111 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10112 support.
10113 (test): If the target can't hardware step and doesn't support
10114 displaced stepping, increase the timeout.
10115
10116 2015-09-16 Pedro Alves <palves@redhat.com>
10117
10118 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10119 (enable_debug): New procedures.
10120 (test): Use them. Bail out if waiting for threads fails.
10121 (top level): Bail out if a test fails.
10122
10123 2015-09-16 Yao Qi <yao.qi@linaro.org>
10124
10125 * gdb.asm/asm-source.exp: Set asm-arch for
10126 aarch64*-*-* target.
10127 * gdb.asm/aarch64.inc: New file.
10128
10129 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10130
10131 * gdb.ada/array_of_variable_length.exp: New testcase.
10132 * gdb.ada/array_of_variable_length/foo.adb: New file.
10133 * gdb.ada/array_of_variable_length/pck.adb: New file.
10134 * gdb.ada/array_of_variable_length/pck.ads: New file.
10135
10136 2015-09-15 Doug Evans <dje@google.com>
10137
10138 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10139 of function static local variable.
10140
10141 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10142
10143 * gdb.threads/tls-so_extern.exp: New test file.
10144 * gdb.threads/tls-so_extern.c: New test file.
10145 * gdb.threads/tls-so_extern_main.c: New test file.
10146
10147 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10148
10149 * gdb.opt/solib-intra-step-lib.c: New file.
10150 * gdb.opt/solib-intra-step-main.c: New file.
10151 * gdb.opt/solib-intra-step.exp: New file.
10152
10153 2015-09-15 Pedro Alves <palves@redhat.com>
10154
10155 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10156 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10157
10158 2015-09-14 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.base/hook-stop-continue.c: Delete.
10161 * gdb.base/hook-stop-continue.exp: Delete.
10162 * gdb.base/hook-stop-frame.c: Delete.
10163 * gdb.base/hook-stop-frame.exp: Delete.
10164 * gdb.base/hook-stop.c: New file.
10165 * gdb.base/hook-stop.exp: New file.
10166
10167 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10168
10169 * gdb.ada/access_to_packed_array.exp: New testcase.
10170 * gdb.ada/access_to_packed_array/foo.adb: New file.
10171 * gdb.ada/access_to_packed_array/pack.adb: New file.
10172 * gdb.ada/access_to_packed_array/pack.ads: New file.
10173
10174 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10175
10176 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10177 buffer size test.
10178
10179 2015-09-11 Don Breazeal <donb@codesourcery.com>
10180
10181 * gdb.base/foll-exec.c: Add copyright header. Fix
10182 formatting issues.
10183 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10184 (do_exec_tests): Use clean_restart in place of zap_session,
10185 and for test initialization. Fix formatting issues. Use
10186 fail in place of perror.
10187 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10188 an expect statement to match an expression with output from
10189 the program under debug.
10190 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10191 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10192 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10193 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10194 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10195
10196 2015-09-09 Doug Evans <dje@google.com>
10197
10198 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10199
10200 2015-09-09 Doug Evans <dje@google.com>
10201
10202 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10203
10204 2015-09-09 Doug Evans <dje@google.com>
10205
10206 * gdb.base/savedregs.exp: Fix typo.
10207
10208 2015-09-09 Pedro Alves <palves@redhat.com>
10209
10210 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10211
10212 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10213
10214 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10215 command actually switches threads. Give up on remaining
10216 tests if target fails to stop at breakpoint.
10217
10218 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10219
10220 * gdb.ada/funcall_char.exp: New testcase.
10221 * gdb.ada/funcall_char/foo.adb: New file.
10222
10223 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10224
10225 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10226 expected outputs. Add two testcases for completing ambiguous
10227 functions.
10228 * gdb.ada/complete/aux_pck.adb: New file.
10229 * gdb.ada/complete/aux_pck.ads: New file.
10230 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10231 Ambiguous_Func functions.
10232 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10233 * gdb.ada/complete/pck.adb: Likewise.
10234
10235 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10236
10237 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10238 failures to run the test program under GDB.
10239
10240 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10241
10242 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10243 to C.
10244
10245 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10246
10247 * gdb.base/run-after-attach.exp: New test file.
10248 * gdb.base/run-after-attach.c: New test file.
10249
10250 2015-08-26 Don Breazeal <donb@codesourcery.com>
10251
10252 * gdb.base/foll-exec-2.c: New test program.
10253 * gdb.base/foll-exec-2.exp: New test.
10254
10255 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10256
10257 * gdb.base/nested-subp1.exp: New file.
10258 * gdb.base/nested-subp1.c: New file.
10259 * gdb.base/nested-subp2.exp: New file.
10260 * gdb.base/nested-subp2.c: New file.
10261 * gdb.base/nested-subp3.exp: New file.
10262 * gdb.base/nested-subp3.c: New file.
10263
10264 2015-08-24 Pedro Alves <palves@redhat.com>
10265
10266 * gdb.server/connect-without-multi-process.c: New file.
10267 * gdb.server/connect-without-multi-process.exp: New file.
10268
10269 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10270
10271 * gdb.opt/inline-markers.c: Make z int.
10272
10273 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10274
10275 * gdb.opt/inline-markers.c: Make z volatile.
10276
10277 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10278
10279 * gdb.opt/inline-bt.c: New volatile global z.
10280 * gdb.opt/inline-cmds.c: Likewise.
10281 * gdb.opt/inline-locals.c: Likewise.
10282 * gdb.opt/inline-markers.c: New extern global z.
10283 (marker): Use z.
10284 (inline_fn): Likewise.
10285
10286 2015-08-24 Pedro Alves <palves@redhat.com>
10287
10288 * config/m32r-stub.exp: Remove file.
10289 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10290 * gdb.base/call-rt-st.exp: Likewise.
10291 * gdb.base/call-strs.exp: Likewise.
10292 * gdb.base/default.exp: Remove references to h8300-*-hms and
10293 *-*-udi*.
10294 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10295
10296 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10297
10298 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10299 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10300 and "return" use KFAIL when GDB can not read/write the vector
10301 return value.
10302
10303 2015-08-21 Gary Benson <gbenson@redhat.com>
10304
10305 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10306
10307 2015-08-20 Pedro Alves <palves@redhat.com>
10308
10309 * gdb.server/solib-list.exp: No longer expect an interior stop in
10310 non-stop mode.
10311
10312 2015-08-20 Pedro Alves <palves@redhat.com>
10313
10314 * gdb.server/connect-stopped-target.c: New file.
10315 * gdb.server/connect-stopped-target.exp: New file.
10316
10317 2015-08-20 Pedro Alves <palves@redhat.com>
10318
10319 * gdb.dwarf2/comp-unit-lang.exp: New file.
10320 * gdb.dwarf2/comp-unit-lang.c: New file.
10321
10322 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10323
10324 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10325 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10326
10327 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10328
10329 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10330 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10331
10332 2015-08-18 Doug Evans <dje@google.com>
10333 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10334
10335 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10336 skip_python_tests. New arg prompt_regexp.
10337 (skip_python_tests): New function.
10338 * lib/mi-support.exp (mi_skip_python_tests): New function.
10339 * gdb.python/py-mi-objfile-gdb.py: New file.
10340 * gdb.python/py-mi-objfile.c: New file.
10341 * gdb.python/py-mi-objfile.exp: New file.
10342
10343 2015-08-17 Keith Seitz <keiths@redhat.com>
10344
10345 * gdb.linespec/explicit.exp: Move strace test from here ...
10346 * gdb.trace/strace.exp: ... to here.
10347
10348 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10349
10350 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10351 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10352
10353 2015-08-14 Doug Evans <xdje42@gmail.com>
10354
10355 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10356 inferior before selecting a new file.
10357
10358 2015-08-14 Doug Evans <xdje42@gmail.com>
10359
10360 * gdb.mi/mi-disassemble.exp: Update.
10361 * gdb.base/disasm-optim.S: New file.
10362 * gdb.base/disasm-optim.c: New file.
10363 * gdb.base/disasm-optim.h: New file.
10364 * gdb.base/disasm-optim.exp: New file.
10365
10366 2015-08-14 Keith Seitz <keiths@redhat.com>
10367
10368 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10369 "evaluated-by".
10370
10371 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10372
10373 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10374
10375 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10376
10377 * gdb.ada/fun_renaming.exp: New testcase.
10378 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10379 * gdb.ada/fun_renaming/pack.adb: New file.
10380 * gdb.ada/fun_renaming/pack.ads: New file.
10381
10382 2015-08-12 Keith Seitz <keiths@redhat.com>
10383
10384 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10385 gdb_get_line_number.
10386
10387 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10388
10389 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10390 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10391 gdb.base/dso2dso.exp: New files.
10392
10393 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10394 Pedro Alves <palves@redhat.com>
10395 Keith Seitz <keiths@redhat.com>
10396
10397 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10398 GDBFLAGS.
10399
10400 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10401
10402 * gdb.base/gdbhistsize-history.exp
10403 (test_histsize_history_setting): Use save_vars.
10404 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10405 Use save_vars.
10406 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10407 * gdb.base/readline.exp: Use save_vars.
10408
10409 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10410
10411 * lib/gdb.exp (save_vars): New proc.
10412
10413 2015-08-11 Keith Seitz <keiths@redhat.com>
10414
10415 * gdb.base/help.exp: Update help_breakpoint_text.
10416
10417 2015-08-11 Keith Seitz <keiths@redhat.com>
10418
10419 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10420 (at toplevel): Call test_explicit_breakpoints.
10421 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10422 breakpoints.
10423 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10424 breakpoint conditions, "-cond".
10425
10426 2015-08-11 Keith Seitz <keiths@redhat.com>
10427
10428 * gdb.linespec/3explicit.c: New file.
10429 * gdb.linespec/cpexplicit.cc: New file.
10430 * gdb.linespec/cpexplicit.exp: New file.
10431 * gdb.linespec/explicit.c: New file.
10432 * gdb.linespec/explicit.exp: New file.
10433 * gdb.linespec/explicit2.c: New file.
10434 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10435 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10436 before using in the matching pattern.
10437 Clarify that `prefix' is a regular expression.
10438
10439 2015-08-11 Keith Seitz <keiths@redhat.com>
10440
10441 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10442 test.
10443 Add tests for missing ",FMT" and ",".
10444
10445 2015-08-10 Doug Evans <dje@google.com>
10446 Keith Seitz <keiths@redhat.com>
10447
10448 PR gdb/17960
10449 * gdb.base/completion.exp: Add location completer tests.
10450
10451 2015-08-07 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10454 tests here.
10455 (top level): Run do_test with and without displaced stepping.
10456
10457 2015-08-07 Pedro Alves <palves@redhat.com>
10458
10459 * gdb.base/valgrind-disp-step.c: New file.
10460 * gdb.base/valgrind-disp-step.exp: New file.
10461
10462 2015-08-07 Pedro Alves <palves@redhat.com>
10463
10464 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10465 Delete function.
10466 (main): Add alarm. Run an infinite loop instead of calling
10467 wait_threads.
10468 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10469 comment.
10470 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10471 Delete function.
10472 (main): Add alarm. Run an infinite loop instead of calling
10473 wait_threads.
10474 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10475 comment.
10476
10477 2015-08-07 Pedro Alves <palves@redhat.com>
10478
10479 * gdb.base/checkpoint-ns.exp: New file.
10480 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10481 standard_testfile.
10482
10483 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10484
10485 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10486 * gdb.btrace/instruction_history.exp: Update.
10487 * gdb.btrace/tsx.exp: New.
10488 * gdb.btrace/tsx.c: New.
10489
10490 2015-08-06 Pedro Alves <palves@redhat.com>
10491
10492 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10493 increase timeout.
10494 * gdb.reverse/until-precsave.exp: Bump timeouts.
10495
10496 2015-08-06 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10499
10500 2015-08-06 Pedro Alves <palves@redhat.com>
10501
10502 PR gdb/18749
10503 * gdb.threads/process-dies-while-handling-bp.c: New file.
10504 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10505
10506 2015-08-06 Pedro Alves <palves@redhat.com>
10507
10508 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10509 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10510
10511 2015-08-05 Pedro Alves <palves@redhat.com>
10512
10513 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10514 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10515
10516 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10517
10518 * gdb.base/bp-permanent.exp: Report test as unsupported if
10519 the target cannot stop at the permanent breakpoint.
10520
10521 2015-08-03 Doug Evans <dje@google.com>
10522
10523 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10524 10000.
10525
10526 2015-08-03 Doug Evans <dje@google.com>
10527
10528 * Makefile.in (workers/%.worker, build-perf): New rule.
10529 (GDB_PERFTEST_MODE): New variable.
10530 (check-perf): Use it.
10531 (clean): Clean up gdb.perf parallel build subdirs.
10532 * lib/build-piece.exp: New file.
10533 * lib/gdb.exp (make_gdb_parallel_path): New function
10534 (standard_output_file, standard_temp_file): Call it.
10535 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10536 of $GDB_PARALLEL.
10537 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10538
10539 2015-08-03 Doug Evans <dje@google.com>
10540
10541 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10542 (LOG_FILE_NAME): New global.
10543 (TextReporter.__init__): Initialize self.txt_sum.
10544 (TextReporter.report): Add support for multiple data-points.
10545 Move report to perftest.sum, put raw data in perftest.log.
10546 (TextReporter.start): Open sum and log files.
10547 (TextReporter.end): Close sum and log files.
10548 * gdb.perf/lib/perftest/testresult.py
10549 (SingleStatisticTestResult.record): Handle multiple data-points.
10550
10551 2015-07-31 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10554 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10555 kill_wait_spawned_process instead of explicit "kill -9".
10556 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10557 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10558 kill_wait_spawned_process.
10559 * gdb.base/attach-twice.exp: Likewise.
10560 * gdb.base/attach.exp: Likewise.
10561 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10562 gdb_test_multiple.
10563 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10564 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10565 kill_wait_spawned_process.
10566 * gdb.base/valgrind-infcall.exp: Likewise.
10567 * gdb.multi/multi-attach.exp: Likewise.
10568 * gdb.python/py-prompt.exp: Likewise.
10569 * gdb.python/py-sync-interp.exp: Likewise.
10570 * gdb.server/ext-attach.exp: Likewise.
10571 * gdb.threads/attach-into-signal.exp (corefunc): Use
10572 spawn_wait_for_attach, spawn_id_get_pid and
10573 kill_wait_spawned_process.
10574 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10575 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10576 spawn_id_get_pid and kill_wait_spawned_process.
10577 * gdb.threads/attach-stopped.exp (corefunc): Use
10578 spawn_wait_for_attach, spawn_id_get_pid and
10579 kill_wait_spawned_process.
10580 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10581 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10582 kill_wait_spawned_process instead of explicit "kill -9".
10583 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10584 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10585 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10586 processes. Don't map cygwin/windows pids here. Now returns a
10587 spawn id list.
10588
10589 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10590
10591 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10592 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10593 correct patch.
10594
10595 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10596
10597 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10598
10599 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10600
10601 Reapply:
10602 2014-05-21 Mark Wielaard <mjw@redhat.com>
10603
10604 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10605
10606 2015-07-30 Pedro Alves <palves@redhat.com>
10607
10608 * linux-low.c (handle_extended_wait): Set the child's last
10609 reported status to TARGET_WAITKIND_STOPPED.
10610
10611 2015-07-30 Pedro Alves <palves@redhat.com>
10612
10613 PR threads/18600
10614 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10615 only shows inferior 1.
10616
10617 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10618 Pedro Alves <palves@redhat.com>
10619
10620 PR threads/18600
10621 * gdb.threads/fork-plus-threads.c: New file.
10622 * gdb.threads/fork-plus-threads.exp: New file.
10623
10624 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10625
10626 * gdb.base/batch-preserve-term-settings.exp
10627 (test_terminal_settings_preserved_after_cli_exit): Use
10628 send_quit_command.
10629
10630 2015-07-29 Pedro Alves <palves@redhat.com>
10631 Don Breazeal <donb@codesourcery.com>
10632
10633 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10634 output from both inferior_spawn_id and gdb_spawn_id.
10635
10636 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10637
10638 * gdb.threads/attach-into-signal.exp (corefunc): Use
10639 with_test_prefix on nested loops, uniquefying the test messages.
10640
10641 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10642
10643 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10644 commit.
10645
10646 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10647
10648 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10649 New proc.
10650 (test_terminal_settings_preserved_after_sigterm): New test.
10651
10652 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10653
10654 * gdb.base/batch-preserve-term-settings.exp
10655 (test_terminal_settings_preserved_after_cli_exit): New test.
10656
10657 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10658
10659 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10660 manipulation of saved_gdbflags.
10661 (test_terminal_settings_preserved): Remove global declaration of
10662 the unused variable pagination_prompt. Remove manipulation of
10663 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10664 GDBFLAGS.
10665
10666 2015-07-29 Pedro Alves <palves@redhat.com>
10667
10668 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10669
10670 2015-07-29 Pedro Alves <palves@redhat.com>
10671
10672 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10673 at the top.
10674
10675 2015-07-29 Pedro Alves <palves@redhat.com>
10676
10677 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10678 (main): Call gdb_unbuffer_output.
10679 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10680 (main): Call gdb_unbuffer_output.
10681 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10682 (main): Call gdb_unbuffer_output.
10683 * gdb.base/call-strs.exp: Adjust to step over the
10684 gdb_unbuffer_output call.
10685 * gdb.base/catch-gdb-caused-signals.c: Include
10686 "../lib/unbuffer_output.c".
10687 (main): Call gdb_unbuffer_output.
10688 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10689 (main): Call gdb_unbuffer_output.
10690 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10691 (main): Call gdb_unbuffer_output.
10692 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10693 (main): Call gdb_unbuffer_output.
10694 * gdb.base/shlib-call.exp: Adjust to step over the
10695 gdb_unbuffer_output call.
10696 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10697 (main): Call gdb_unbuffer_output.
10698 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10699 (main): Call gdb_unbuffer_output.
10700 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10701 (main): Rename to ...
10702 (test): ... this.
10703 (main): Reimplement.
10704 * gdb.base/varargs.exp: Run to test instead of to main.
10705 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10706 (main): Call gdb_unbuffer_output.
10707
10708 2015-07-29 Pedro Alves <palves@redhat.com>
10709
10710 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10711 factore out from mi_continue_dprintf. For call-style dprintfs,
10712 expect dprintf output out of $inferior_spawn_id.
10713 (mi_continue_dprintf): Use mi_expect_dprintf.
10714 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10715 (main): Call gdb_unbuffer_output.
10716
10717 2015-07-29 Pedro Alves <palves@redhat.com>
10718
10719 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10720 (default_mi_gdb_start): Set inferior_spawn_id instead of
10721 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10722 gdb_spawn_id.
10723 (mi_gdb_test): Always expect inferior output from both
10724 $inferior_spawn_id and $gdb_spawn_id.
10725
10726 2015-07-29 Pedro Alves <palves@redhat.com>
10727
10728 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10729 send_inferior and $inferior_spawn_id.
10730
10731 2015-07-29 Pedro Alves <palves@redhat.com>
10732
10733 * gdb.gdb/complaints.exp (test_initial_complaints)
10734 (test_serial_complaints, test_short_complaints): Use
10735 gdb_test_stdio.
10736 (test_empty_complaint): Handle $inferior_spawn_id !=
10737 $gdb_spawn_id.
10738
10739 2015-07-29 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.base/varargs.exp: Use gdb_test_stdio.
10742
10743 2015-07-29 Pedro Alves <palves@redhat.com>
10744
10745 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10746
10747 2015-07-29 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10750
10751 2015-07-29 Pedro Alves <palves@redhat.com>
10752
10753 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10754 parameter into two new parameters, "inf_result" and "gdb_result".
10755 Expect inferior output and gdb output from $inferior_spawn_id and
10756 $gdb_spawn_id, respectively. Adjust all callers.
10757
10758 2015-07-29 Pedro Alves <palves@redhat.com>
10759
10760 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10761 of gdb_test_sequence.
10762
10763 2015-07-29 Pedro Alves <palves@redhat.com>
10764
10765 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10766 (saw_spurious_output): Expect inferior output from
10767 $inferior_spawn_id. Use gdb_test_stdio.
10768
10769 2015-07-29 Pedro Alves <palves@redhat.com>
10770
10771 * gdb.base/dprintf.exp: Use standard_testfile. Change
10772 prepare_for_testing call.
10773 (srcfile): Don't set.
10774 (restart): New procedure.
10775 (test_dprintf): New procecure, use to continue over dprintfs.
10776 (test_call, test_agent): New procedures, tests moved here.
10777 Restart gdb and recreate dprintfs. Adjust expected output.
10778
10779 2015-07-29 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10782
10783 2015-07-29 Pedro Alves <palves@redhat.com>
10784
10785 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10786
10787 2015-07-29 Pedro Alves <palves@redhat.com>
10788
10789 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10790 gdb_test_stdio.
10791
10792 2015-07-29 Pedro Alves <palves@redhat.com>
10793
10794 * lib/gdb.exp (gdb_test_stdio): New procedure.
10795
10796 2015-07-29 Pedro Alves <palves@redhat.com>
10797
10798 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10799
10800 2015-07-29 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.base/call-signal-resume.exp: Remove check for
10803 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10804 * gdb.base/unwindonsignal.exp: Likewise.
10805 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10806 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10807
10808 2015-07-29 Pedro Alves <palves@redhat.com>
10809
10810 * gdb.base/siginfo-addr.c (pass): New function.
10811 (handler): Call it iff si_addr is correct.
10812 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10813 Set a breakpoint at "pass" and continue to it.
10814
10815 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10816
10817 * gdb.python/py-objfile.exp: Make some tests have unique names.
10818 * gdb.python/py-pp-registration.exp: Likewise.
10819
10820 2015-07-28 Pedro Alves <palves@redhat.com>
10821
10822 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10823
10824 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10825
10826 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10827
10828 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10829
10830 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10831
10832 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10833
10834 * gdb.base/gdb-sigterm-2.exp: New test.
10835
10836 2015-07-25 Doug Evans <xdje42@gmail.com>
10837
10838 Revert:
10839 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10840 (workers/%.worker, build-perf): New rule.
10841 (GDB_PERFTEST_MODE): New variable.
10842 (check-perf): Use it.
10843 (clean): Clean up gdb.perf parallel build subdirs.
10844 * lib/build-piece.exp: New file.
10845 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10846 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10847 name.
10848 (standard_temp_file): Ditto.
10849 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10850 of $GDB_PARALLEL.
10851
10852 2015-07-24 Doug Evans <dje@google.com>
10853
10854 * gdb.perf/lib/perftest/utils.py: New file.
10855 * gdb.perf/gm-hello.cc: New file.
10856 * gdb.perf/gm-pervasive-typedef.cc: New file.
10857 * gdb.perf/gm-pervasive-typedef.h: New file.
10858 * gdb.perf/gm-std.cc: New file.
10859 * gdb.perf/gm-std.h: New file.
10860 * gdb.perf/gm-use-cerr.cc: New file.
10861 * gdb.perf/gm-utils.h: New file.
10862 * gdb.perf/gmonster-null-lookup.py: New file.
10863 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10864 * gdb.perf/gmonster-print-cerr.py: New file.
10865 * gdb.perf/gmonster-ptype-string.py: New file.
10866 * gdb.perf/gmonster-runto-main.py: New file.
10867 * gdb.perf/gmonster-select-file.py: New file.
10868 * gdb.perf/gmonster1-null-lookup.exp: New file.
10869 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10870 * gdb.perf/gmonster1-print-cerr.exp: New file.
10871 * gdb.perf/gmonster1-ptype-string.exp: New file.
10872 * gdb.perf/gmonster1-runto-main.exp: New file.
10873 * gdb.perf/gmonster1-select-file.exp: New file.
10874 * gdb.perf/gmonster1.cc: New file.
10875 * gdb.perf/gmonster1.exp: New file.
10876 * gdb.perf/gmonster2-null-lookup.exp: New file.
10877 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10878 * gdb.perf/gmonster2-print-cerr.exp: New file.
10879 * gdb.perf/gmonster2-ptype-string.exp: New file.
10880 * gdb.perf/gmonster2-runto-main.exp: New file.
10881 * gdb.perf/gmonster2-select-file.exp: New file.
10882 * gdb.perf/gmonster2.cc: New file.
10883 * gdb.perf/gmonster2.exp: New file.
10884
10885 2015-07-24 Doug Evans <dje@google.com>
10886
10887 * gdb.perf/README: New file.
10888 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10889 * lib/gen-perf-test.exp: New file.
10890
10891 2015-07-24 Doug Evans <dje@google.com>
10892
10893 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10894 (PerfTest::startup): New function.
10895 (PerfTest::run): Return result of calling body.
10896 (PerfTest::assemble): Rewrite.
10897 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10898 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10899 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10900 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10901 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10902
10903 2015-07-24 Doug Evans <dje@google.com>
10904
10905 * lib/gdb.exp (clean_restart): Make executable optional.
10906
10907 2015-07-24 Doug Evans <dje@google.com>
10908
10909 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10910 compiler_info references.
10911 * gdb.cp/temargs.exp: Ditto.
10912 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10913 (get_compiler_info): Early exit if already computed. Set compiler_info
10914 to "unknown" if there was a problem.
10915 (test_compiler_info): Add function comment. Call get_compiler_info.
10916
10917 2015-07-24 Doug Evans <dje@google.com>
10918
10919 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10920 (workers/%.worker, build-perf): New rule.
10921 (GDB_PERFTEST_MODE): New variable.
10922 (check-perf): Use it.
10923 (clean): Clean up gdb.perf parallel build subdirs.
10924 * lib/build-piece.exp: New file.
10925 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10926 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10927 name.
10928 (standard_temp_file): Ditto.
10929 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10930 of $GDB_PARALLEL.
10931
10932 2015-07-24 Doug Evans <dje@google.com>
10933
10934 * lib/future.exp (gdb_default_target_compile): New option
10935 "early_flags".
10936 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10937 --as-needed.
10938
10939 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10940
10941 * gdb.base/catch-syscall.exp: Call gdb_exit before
10942 gdb_skip_xml_test.
10943
10944 2015-07-24 Pedro Alves <palves@redhat.com>
10945
10946 * gdb.python/py-events.exp: Accept output between the stop event
10947 and the prompt.
10948 * gdb.python/py-evsignal.exp: Likewise.
10949 * gdb.python/py-evthreads.exp: Likewise.
10950
10951 2015-07-24 Pedro Alves <palves@redhat.com>
10952
10953 PR gdb/18717
10954 * gdb.threads/non-ldr-exit.c: New file.
10955 * gdb.threads/non-ldr-exit.exp: New file.
10956
10957 2015-07-24 Yao Qi <yao.qi@linaro.org>
10958
10959 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10960 restarting process.
10961
10962 2015-07-24 Yao Qi <yao.qi@linaro.org>
10963
10964 * gdb.server/ext-restart.exp: New file.
10965
10966 2015-07-24 Yao Qi <yao.qi@linaro.org>
10967
10968 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10969 argument options.
10970 * gdb.server/ext-wrapper.exp: New file.
10971
10972 2015-07-23 Doug Evans <dje@google.com>
10973
10974 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10975 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10976
10977 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10978
10979 * gdb.ada/var_arr_typedef.exp: New testcase.
10980 * gdb.ada/var_arr_typedef/pack.adb: New file.
10981 * gdb.ada/var_arr_typedef/pack.ads: New file.
10982 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10983
10984 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10985
10986 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10987
10988 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10989
10990 * gdb.arch/i386-biarch-core.exp: Replace istarget
10991 by "complete set gnutarget". Remove expectation for the "core-file"
10992 command.
10993
10994 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10995
10996 Revert the previous commit:
10997 Tests for validate symbol file using build-id.
10998
10999 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11000
11001 Tests for validate symbol file using build-id.
11002 * gdb.base/solib-mismatch-lib.c: New file.
11003 * gdb.base/solib-mismatch-libmod.c: New file.
11004 * gdb.base/solib-mismatch.c: New file.
11005 * gdb.base/solib-mismatch.exp: New file.
11006
11007 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11008
11009 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11010 nios2-*-linux*.
11011 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11012 * gdb.base/siginfo.exp: Likewise.
11013 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11014
11015 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11016
11017 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11018 Move it to ...
11019 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11020 ... here.
11021 * gdb.trace/range-stepping.exp: Check that the target supports
11022 range stepping.
11023
11024 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11025
11026 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11027
11028 2015-07-14 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.base/killed-outside.exp: New file.
11031 * gdb.base/killed-outside.c: New file.
11032
11033 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11034
11035 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11036 (n at main): New.
11037 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11038
11039 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11040
11041 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11042 infcall tests instead of setting up for KFAIL.
11043
11044 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11045
11046 * gdb.btrace/record_goto-step.exp: New.
11047
11048 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11049
11050 PR compile/18484
11051 * gdb.compile/compile.c (struct struct_type): Add volatile to
11052 selffield's type.
11053 * gdb.compile/compile.exp
11054 (compile code struct_object.selffield = &struct_object): Skip further
11055 struct_object tests if this one xfails.
11056
11057 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11058
11059 PR exp/18617
11060 * gdb.trace/ax.exp: Add test.
11061
11062 2015-07-07 Yao Qi <yao.qi@linaro.org>
11063
11064 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11065 instead of istarget "aarch64*-*-*".
11066 * gdb.arch/aarch64-fp.exp: Likewise.
11067 * gdb.base/float.exp: Likewise.
11068 * gdb.reverse/aarch64.exp: Likewise.
11069 * lib/gdb.exp (is_aarch64_target): New proc.
11070
11071 2015-07-07 Yao Qi <yao.qi@linaro.org>
11072
11073 * lib/gdb.exp (is_aarch32_target): New proc.
11074 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11075 instead of "istarget "arm*-*-*"".
11076 * gdb.arch/arm-disp-step.exp: Likewise.
11077 * gdb.arch/thumb-bx-pc.exp: Likewise.
11078 * gdb.arch/thumb-prologue.exp: Likewise.
11079 * gdb.arch/thumb-singlestep.exp: Likewise.
11080 * gdb.base/disp-step-syscall.exp: Likewise.
11081 * gdb.base/float.exp: Likewise.
11082
11083 2015-07-07 Yao Qi <yao.qi@linaro.org>
11084
11085 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11086 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11087
11088 2015-07-07 Yao Qi <yao.qi@linaro.org>
11089
11090 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11091 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11092 if it exists.
11093 * gdb.multi/multi-arch.exp: Likewise.
11094
11095 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11096
11097 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11098 print.
11099
11100 2015-07-07 Yao Qi <yao.qi@linaro.org>
11101
11102 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11103
11104 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11105
11106 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11107 '[' and ']' characters.
11108
11109 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11110
11111 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11112
11113 2015-06-29 Pedro Alves <palves@redhat.com>
11114
11115 PR threads/18127
11116 * gdb.threads/hand-call-new-thread.c: New file.
11117 * gdb.threads/hand-call-new-thread.c: New file.
11118
11119 2015-06-26 Keith Seitz <keiths@redhat.com>
11120 Doug Evans <dje@google.com>
11121
11122 PR 16253
11123 * gdb.cp/var-tag-2.cc: New file.
11124 * gdb.cp/var-tag-3.cc: New file.
11125 * gdb.cp/var-tag-4.cc: New file.
11126 * gdb.cp/var-tag.cc: New file.
11127 * gdb.cp/var-tag.exp: New file.
11128
11129 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11130
11131 * gdb.base/history-duplicates.exp: New test.
11132
11133 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11134
11135 * gdb.base/completion.exp: Test the completion of the "focus"
11136 command.
11137
11138 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11139
11140 * gdb.arch/amd64-prologue-skip.S: New file.
11141 * gdb.arch/amd64-prologue-skip.exp: New file.
11142
11143 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11144
11145 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11146 is_address_zero_readable check.
11147
11148 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11149
11150 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11151 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11152
11153 2015-06-24 Yao Qi <yao.qi@linaro.org>
11154
11155 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11156 linux targets.
11157
11158 2015-06-24 Yao Qi <yao.qi@linaro.org>
11159
11160 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11161 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11162 * gdb.base/siginfo-thread.exp: Likewise.
11163
11164 2015-06-22 Yao Qi <yao.qi@linaro.org>
11165
11166 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11167
11168 2015-06-22 Yao Qi <yao.qi@linaro.org>
11169
11170 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11171 aarch64*-*-*.
11172 (skip_hw_watchpoint_tests): Likewise.
11173
11174 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11175
11176 * gdb.base/gdbinit-history.exp: Test the interaction between
11177 setting GDBHISTSIZE and setting the history size via .gdbinit.
11178
11179 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11180
11181 PR gdb/16999
11182 * gdb.base/gdbhistsize-history.exp: New test.
11183
11184 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11185
11186 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11187 with GDBHISTSIZE.
11188 * gdb.base/readline.exp: Likewise.
11189
11190 2015-06-17 Yao Qi <yao.qi@linaro.org>
11191
11192 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11193 line.
11194
11195 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11196
11197 * gdb.base/gdbinit-history.exp: Add test case to check that
11198 an unlimited history file does not get truncated on exit.
11199
11200 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11201
11202 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11203 (VECTOR): New macro. Use it...
11204 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11205 ...for these typedefs.
11206 (int8, char1, int1, double1): New typedefs.
11207 (struct just_int2, struct two_int2): New structures.
11208 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11209 (add_structvecs, add_singlevecs): New functions.
11210 (main): Call add_some_intvecs twice.
11211 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11212 the compile and exit upon failure. Try compiling for the "native"
11213 architecture. Test inferior function calls with vector arguments
11214 and vector return value handling with "finish" and "return".
11215
11216 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11217
11218 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11219 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11220 PE file.
11221 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11222
11223 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11224
11225 PR breakpoints/16465
11226 * gdb.mi/mi-dprintf-pending.c: New file.
11227 * gdb.mi/mi-dprintf-pending.exp: New test.
11228 * gdb.mi/mi-dprintf-pendshr.c: New file.
11229
11230 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11231 Mircea Gherzan <mircea.gherzan@intel.com>
11232
11233 * gdb.arch/i386-mpx-map.c: New file.
11234 * gdb.arch/i386-mpx-map.exp: New File.
11235
11236 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11237
11238 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11239 * gdb.arch/i386-mpx.exp: Indentation fixed.
11240
11241 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11242
11243 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11244 function and improved indentation.
11245 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11246 gdb_test_multiple. Added additional tests to skip the test.
11247
11248 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11249
11250 * gdb.arch/i386-avx512.c: Change path in include file.
11251 * gdb.arch/i386-avx512.exp: Change include dir path
11252 compilation flag.
11253 * gdb.arch/i386-mpx.c: Change path in include file.
11254 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11255 flag.
11256
11257 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11258
11259 * gdb.compile/compile-print.exp (compile print *vararray@3)
11260 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11261
11262 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11263
11264 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11265 (do not keep jit in memory): ... this.
11266 (expect 5): Change it to ...
11267 (expect no 5): ... this.
11268
11269 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11270
11271 PR gdb/15564
11272 * gdb.mi/mi-detach.exp: New file.
11273
11274 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11275
11276 PR symtab/18392
11277 * gdb.arch/amd64-tailcall-self.S: New file.
11278 * gdb.arch/amd64-tailcall-self.c: New file.
11279 * gdb.arch/amd64-tailcall-self.exp: New file.
11280
11281 2015-05-28 Don Breazeal <donb@codesourcery.com>
11282
11283 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11284 tests for remote targets by checking is_target_gdbserver.
11285
11286 2015-05-27 Doug Evans <dje@google.com>
11287
11288 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11289 * gdb.dwarf2/opaque-type-lookup.c: New file.
11290 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11291
11292 2015-05-26 Doug Evans <dje@google.com>
11293
11294 * gdb.cp/iostream.cc: New file.
11295 * gdb.cp/iostream.exp: New file.
11296
11297 2015-05-26 Doug Evans <dje@google.com>
11298
11299 * gdb.dwarf2/dw2-op-call.exp: Update.
11300 * gdb.dwarf2/dw4-sig-types.exp: Update.
11301 * gdb.dwarf2/implptr.exp: Update.
11302 * gdb.mi/mi-cmd-param-changed.exp: Update.
11303
11304 2015-05-26 Doug Evans <dje@google.com>
11305
11306 * gdb.python/py-lazy-string.c: New file.
11307 * gdb.python/py-lazy-string.exp: New file.
11308 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11309 (main): Update. Add estring3.
11310 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11311 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11312
11313 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11314 Yao Qi <yao.qi@linaro.org>
11315
11316 * gdb.reverse/aarch64.c: New.
11317 * gdb.reverse/aarch64.exp: New.
11318
11319 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11320
11321 * lib/gdb.exp (supports_process_record): Return true for
11322 aarch64*-linux*.
11323 (supports_reverse): Likewise.
11324
11325 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11326
11327 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11328 Use with_test_prefix.
11329
11330 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11331
11332 * gdb.base/completion.exp: Add test for completion of layout
11333 names.
11334
11335 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11336
11337 * lib/gdb.exp (skip_tui_tests): New proc.
11338 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11339
11340 2015-05-19 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11343 Save the whole env array instead of just HOME. Unset HISTSIZE in
11344 the environment while testing. Restore whole environment
11345 afterwards.
11346
11347 2015-05-16 Doug Evans <xdje42@gmail.com>
11348
11349 * gdb.guile/scm-ports.c: New file.
11350 * gdb.guile/scm-ports.exp: Add memory port tests.
11351
11352 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11353
11354 * gdb.compile/compile-print.c: New file.
11355 * gdb.compile/compile-print.exp: New file.
11356
11357 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11358
11359 * gdb.compile/compile-ops.exp: Cast param to void.
11360 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11361 (compile code struct_object.selffield = &struct_object): Add xfail.
11362
11363 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11364
11365 * gdb.ada/arr_enum_with_gap: New testcase.
11366
11367 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11368
11369 * gdb.ada/byte_packed_arr: New testcase.
11370
11371 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11372
11373 * gdb.ada/pckd_neg: New testcase.
11374
11375 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11376
11377 PR gdb/17820
11378 * gdb.base/gdbinit-history.exp: New test.
11379 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11380 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11381
11382 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11383
11384 * gdb.python/py-xmethods.cc: Enhance test case.
11385 * gdb.python/py-xmethods.exp: New tests.
11386 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11387 function.
11388 (B_indexoper): Likewise.
11389 (global_dm_list) : Add new xmethod worker functions.
11390
11391 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11392
11393 * gdb.base/coredump-filter.exp: Correctly unset
11394 "coredump_var_addr" array.
11395
11396 2015-05-08 Pedro Alves <palves@redhat.com>
11397
11398 * gdb.server/non-existing-program.exp: Unset spawn_id.
11399
11400 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11401
11402 PR python/18291
11403 * gdb.python/py-xmethods.exp: Add tests.
11404
11405 2015-05-08 Yao Qi <yao.qi@linaro.org>
11406
11407 PR gdb/18208
11408 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11409 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11410 function set_coredump_filter, and remove remote_exec call.
11411 Remove argument ipid. Callers update.
11412 (top level): Don't get inferior's PID.
11413
11414 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11415
11416 * gdb.base/watch_thread_num.exp: Skip test on targets without
11417 access watchpoints.
11418
11419 2015-05-06 Pedro Alves <palves@redhat.com>
11420
11421 PR server/18081
11422 * gdb.server/non-existing-program.exp: New file.
11423
11424 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11425
11426 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11427
11428 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11429
11430 * gdb.ada/out_of_line_in_inlined: New testcase.
11431
11432 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11433
11434 * gdb.ada/var_rec_arr: New testcase.
11435
11436 2015-04-30 Yao Qi <yao.qi@linaro.org>
11437
11438 * gdb.base/break-idempotent.exp: If
11439 skip_hw_watchpoint_multi_tests returns true, skip the tests
11440 on "rwatch" and "awatch".
11441
11442 2015-04-30 Yao Qi <yao.qi@linaro.org>
11443
11444 * gdb.base/relativedebug.exp: Invoke gdb command
11445 "info sharedlibrary", and if libc.so doesn't have debug info,
11446 skip the test.
11447
11448 2015-04-29 Doug Evans <dje@google.com>
11449
11450 * gdb.python/py-xmethods.exp: Add ptype tests.
11451 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11452 get_result_type method.
11453
11454 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11455
11456 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11457 the target does not support hardware watchpoints.
11458
11459 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11460
11461 * gdb.base/break-always.exp: Abort testing if writing to memory
11462 causes an error.
11463
11464 2015-04-28 Doug Evans <dje@google.com>
11465
11466 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11467 * gdb.python/py-pp-registration.exp: ... here. New file.
11468 * gdb.python/py-pp-registration.c: New file.
11469 * gdb.python/py-pp-registration.py: New file.
11470
11471 2015-04-28 Doug Evans <dje@google.com>
11472
11473 * gdb.python/py-bad-printers.c: New file.
11474 * gdb.python/py-bad-printers.py: New file.
11475 * gdb.python/py-bad-printers.exp: New file.
11476
11477 2015-04-28 Sasha Smundak <asmundak@google.com>
11478
11479 * gdb.python/py-type.exp: New test.
11480
11481 2015-04-28 Andy Wingo <wingo@igalia.com>
11482
11483 * gdb.python/py-parameter.exp:
11484 * gdb.guile/scm-parameter.exp: Escape the path that we are
11485 matching against, as it might contain characters that are special
11486 to regular expressions.
11487
11488 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11489
11490 * gdb.ada/rec_comp: New testcase.
11491
11492 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11493
11494 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11495 before using it.
11496
11497 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11498
11499 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11500 new tests for verilog output.
11501
11502 2015-04-24 Yao Qi <yao.qi@linaro.org>
11503
11504 * boards/remote-gdbserver-on-localhost.exp: New file.
11505
11506 2015-04-23 Pedro Alves <palves@redhat.com>
11507
11508 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11509 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11510 "end of file", remove $inferior_spawn_id from the indirect list.
11511
11512 2015-04-23 Pedro Alves <palves@redhat.com>
11513
11514 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11515
11516 2015-04-23 Pedro Alves <palves@redhat.com>
11517
11518 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11519 on $any_spawn_id instead of only on $gdb_spawn_id.
11520
11521 2015-04-21 Pierre Muller <muller@sourceware.org>
11522
11523 PR pascal/17815
11524 * lib/pascal.exp (gpc_compile): Add new option "class".
11525 (fpc_compile): Likewise.
11526 * gdb.pascal/case-insensitive-symbols.pas: New file.
11527 * gdb.pascal/case-insensitive-symbols.exp: New file.
11528
11529 2015-04-20 Gary Benson <gbenson@redhat.com>
11530
11531 * gdb.base/attach.exp: Fix three extended remote failures.
11532
11533 2015-04-17 Gary Benson <gbenson@redhat.com>
11534
11535 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11536 the main executable over the remote protocol.
11537
11538 2015-04-16 Pedro Alves <palves@redhat.com>
11539
11540 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11541 a new gdbserver if gdbserver_reconnect_p is set.
11542
11543 2015-04-16 Pedro Alves <palves@redhat.com>
11544
11545 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11546 is set, don't exit gdbserver.
11547
11548 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11549
11550 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11551 appropriate .insn, such that an older assembler can be used.
11552 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11553 the z/Architecture instruction set on 31-bit targets as well.
11554
11555 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11556
11557 * gdb.go/handcall.exp: Remove all logic related to the first
11558 breakpoint and rely on go_runto_main instead.
11559 * gdb.go/strings.exp: Likewise.
11560 * gdb.go/unsafe.exp: Likewise.
11561 * gdb.go/hello.exp: Likewise. Also rename the remaining
11562 breakpoint marker to "breakpoint 1".
11563 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11564 * gdb.go/strings.go: Likewise.
11565 * gdb.go/unsafe.go: Likewise.
11566 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11567 "set breakpoint 2 here" and rename the remaining breakpoint marker
11568 to "breakpoint 1".
11569
11570 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11571
11572 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11573 if itertools.imap is not present.
11574 * gdb.python/py-objfile.exp: Add parentheses.
11575 * gdb.python/py-type.exp: Same.
11576 * gdb.python/py-unwind-maint.py: Same.
11577
11578 2015-04-15 Yao Qi <yao.qi@linaro.org>
11579
11580 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11581 of ":$ptr_size" and set its form explicitly.
11582
11583 2015-04-15 Pedro Alves <palves@redhat.com>
11584 Yao Qi <yao.qi@linaro.org>
11585
11586 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11587 timeout by factor of 4.
11588 (test_regular_watch): Likewise.
11589 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11590 * gdb.reverse/sigall-reverse.exp: Likewise.
11591 * gdb.reverse/until-precsave.exp: Likewise.
11592 * lib/gdb.exp (with_timeout_factor): New proc.
11593 (gdb_expect): Move some code to ...
11594 (get_largest_timeout): ... here. New procedure.
11595
11596 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11597
11598 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11599
11600 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11601
11602 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11603 to write to the .text section.
11604
11605 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11606
11607 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11608 Handle the case of targets that do not provide PID information.
11609
11610 2015-04-13 Yao Qi <yao.qi@linaro.org>
11611
11612 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11613 and use expect instead of gdb_expect.
11614
11615 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11616
11617 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11618 "coredump_var_addr" to avoid naming conflict with other testcases.
11619
11620 2015-04-10 Pedro Alves <palves@redhat.com>
11621
11622 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11623 gdb_test_sequence and gdb_assert.
11624
11625 2015-04-10 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11628 test messages that don't include the breakpoint address.
11629
11630 2015-04-10 Yao Qi <yao.qi@linaro.org>
11631
11632 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11633 false for some offset and width combinations which aren't
11634 supported by linux kernel.
11635
11636 2015-04-10 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11639 procedure, factored out from ...
11640 (top level): ... here. Add "set displaced-stepping" testing axis.
11641 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11642 parameter "displaced". Use it.
11643 (top level): Use foreach and add "set displaced-stepping" testing
11644 axis.
11645
11646 2015-04-10 Pedro Alves <palves@redhat.com>
11647
11648 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11649 Remove comment.
11650 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11651 both the address of the instruction that triggers the watchpoint
11652 and the address of the instruction immediately after, and use
11653 those addresses for the test. Fix comment.
11654
11655 2015-04-10 Pedro Alves <palves@redhat.com>
11656
11657 * gdb.base/sigstep.exp (breakpoint_to_handler)
11658 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11659 Test "backtrace" in handler.
11660 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11661 (top level): Add new "displaced" test axis to
11662 breakpoint_to_handler, breakpoint_to_handler_entry and
11663 breakpoint_over_handler.
11664
11665 2015-04-10 Pedro Alves <palves@redhat.com>
11666
11667 PR gdb/18216
11668 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11669
11670 2015-04-10 Yao Qi <yao.qi@linaro.org>
11671
11672 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11673 (test_add_rn_pc): New function.
11674 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11675 (top level): Invoke test_add_rn_pc.
11676
11677 2015-04-10 Pedro Alves <palves@redhat.com>
11678
11679 PR gdb/13858
11680 * gdb.base/step-over-no-symbols.exp: New file.
11681
11682 2015-04-09 Andy Wingo <wingo@igalia.com>
11683
11684 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11685 after the Python tests.
11686
11687 2015-04-08 Keith Seitz <keiths@redhat.com>
11688
11689 PR python/16699
11690 * gdb.python/py-completion.exp: New tests for completion.
11691 * gdb.python/py-completion.py (CompleteLimit1): New class.
11692 (CompleteLimit2): Likewise.
11693 (CompleteLimit3): Likewise.
11694 (CompleteLimit4): Likewise.
11695 (CompleteLimit5): Likewise.
11696 (CompleteLimit6): Likewise.
11697 (CompleteLimit7): Likewise.
11698
11699 2015-04-08 Pedro Alves <palves@redhat.com>
11700
11701 PR gdb/18214
11702 PR gdb/18216
11703 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11704 function.
11705 (main): Install it as SIGUSR1 handler.
11706 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11707 parameter. Always use "setup" as prefix. Toggle "set
11708 displaced-stepping" off/on depending on global. Don't switch to
11709 thread 1 here.
11710 (top level): Add displaced stepping "off/on" test axis. Update
11711 "setup" calls. Wrap each subtest with with_test_prefix. Test
11712 continuing with a queued signal in each thread.
11713
11714 2015-04-08 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11717 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11718 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11719 Return early if running to main fails.
11720 * gdb.trace/while-stepping.exp: Likewise.
11721
11722 2015-04-07 Pedro Alves <palves@redhat.com>
11723
11724 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11725 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11726 interact with inferior program.
11727
11728 2015-04-07 Pedro Alves <palves@redhat.com>
11729
11730 * lib/gdb.exp (inferior_spawn_id): New global.
11731 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11732 spawn id after processing the user code.
11733 (default_gdb_start): Set inferior_spawn_id.
11734 (send_inferior): New procedure.
11735 * lib/gdbserver-support.exp (gdbserver_start): Set
11736 inferior_spawn_id.
11737 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11738
11739 2015-04-07 Pedro Alves <palves@redhat.com>
11740
11741 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11742 * lib/gdbserver-support.exp (gdbserver_start): Make
11743 $server_spawn_id global.
11744 (gdbserver_start): Don't wait for gdbserver's spawn id with
11745 expect_background.
11746 (close_gdbserver): New procedure.
11747 (gdb_exit): Rename the default version and reimplement.
11748
11749 2015-04-07 Pedro Alves <palves@redhat.com>
11750
11751 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11752 append the substituted item, not the original item.
11753
11754 2015-04-07 Pedro Alves <palves@redhat.com>
11755
11756 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11757 gdb_expect.
11758
11759 2015-04-07 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11762 output appearing once only.
11763
11764 2015-04-07 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11767 that doesn't expect anything. Return early if running to main
11768 fails.
11769
11770 2015-04-07 Yao Qi <yao.qi@linaro.org>
11771
11772 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11773 (child_function): Call alarm.
11774 (main): Move call to alarm into the loop.
11775 * gdb.threads/non-stop-fair-events.exp: Build program with
11776 -DTIMEOUT=$timeout.
11777
11778 2015-04-06 Doug Evans <xdje42@gmail.com>
11779
11780 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11781 Fix dest parameter to board_info.
11782 (fpc_compile): Ditto.
11783 (gdb_compile_pascal): Rename dest arg to destfile.
11784
11785 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11786
11787 * gdb.ada/funcall_ref.exp: New file.
11788 * gdb.ada/funcall_ref/foo.adb: New file.
11789
11790 2015-04-02 Yao Qi <yao.qi@linaro.org>
11791
11792 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11793 is remote.
11794
11795 2015-04-02 Gary Benson <gbenson@redhat.com>
11796
11797 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11798
11799 2015-04-01 Sasha Smundak <asmundak@google.com>
11800
11801 * gdb.python/py-unwind-maint.c: New file.
11802 * gdb.python/py-unwind-maint.exp: New test.
11803 * gdb.python/py-unwind-maint.py: New file.
11804 * gdb.python/py-unwind.c: New file.
11805 * gdb.python/py-unwind.exp: New test.
11806 * gdb.python/py-unwind.py: New test.
11807
11808 2015-04-01 Pedro Alves <palves@redhat.com>
11809
11810 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11811 to fail instead of non-existent $test.
11812
11813 2015-04-01 Pedro Alves <palves@redhat.com>
11814
11815 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11816 GDBFLAGS if not empty.
11817
11818 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11819
11820 * gdb.ada/complete.exp: Remove "multi_line".
11821 * gdb.ada/info_exc.exp: Remove "multi_line".
11822 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11823 * gdb.ada/ptype_field.exp: Remove "multi_line".
11824 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11825 * gdb.ada/tagged.exp: Remove "multi_line".
11826 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11827 [multi_line ...]
11828 * gdb.btrace/delta.exp: Likewise.
11829 * gdb.btrace/exception.exp: Likewise.
11830 * gdb.btrace/function_call_history.exp: Likewise.
11831 * gdb.btrace/instruction_history.exp: Likewise.
11832 * gdb.btrace/nohist.exp: Likewise.
11833 * gdb.btrace/record_goto.exp: Likewise.
11834 * gdb.btrace/segv.exp: Likewise.
11835 * gdb.btrace/stepi.exp: Likewise.
11836 * gdb.btrace/tailcall.exp: Likewise.
11837 * gdb.btrace/unknown_functions.exp: Likewise.
11838 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11839 * lib/gdb.exp: Add the "multi_line" helper.
11840
11841 2015-04-01 Pedro Alves <palves@redhat.com>
11842
11843 * gdb.threads/tid-reuse.c: New file.
11844 * gdb.threads/tid-reuse.exp: New file.
11845
11846 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11847
11848 PR corefiles/16092
11849 * gdb.base/coredump-filter.c: New file.
11850 * gdb.base/coredump-filter.exp: Likewise.
11851
11852 2015-03-27 Petr Machata <pmachata@redhat.com>
11853
11854 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11855 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11856 (Dwarf::assemble): Initialize them.
11857 (Dwarf::lines): New function.
11858
11859 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11860
11861 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11862 SYMBOL_PREFIX for x86_64-*-cygwin.
11863
11864 2015-03-26 Andy Wingo <wingo@igalia.com>
11865
11866 PR symtab/18148
11867 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11868 const_value but not a location.
11869 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11870 location defined in non-main CUs are visible.
11871
11872 2015-03-26 Yao Qi <yao.qi@linaro.org>
11873
11874 PR testsuite/18139
11875 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11876 Add a line number entry for the same line.
11877 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11878 Add a line number entry for the same line.
11879
11880 2015-03-26 Yao Qi <yao.qi@linaro.org>
11881
11882 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11883 .int 0.
11884 (func): Likewise. Add .Lfunc_1 label.
11885 Use .Lfunc_1 label.
11886 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11887 .int 0.
11888 (func): Likewise.
11889 Use .Lfunc_1 label.
11890
11891 2015-03-26 Yao Qi <yao.qi@linaro.org>
11892
11893 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11894 Call gdb_compile instead to compile each .s files without debug
11895 information.
11896
11897 2015-03-26 Yao Qi <yao.qi@linaro.org>
11898
11899 * gdb.base/savedregs.exp (process_saved_regs): Make
11900 "Saved registers:" optional in the pattern.
11901
11902 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11903
11904 * gdb.btrace/next.exp: Merged into step.exp.
11905 * gdb.btrace/finish.exp: Merged into step.exp.
11906 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11907 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11908 "record goto" and checking the exact replay position.
11909 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11910 check for "Recording format" in "info record" output.
11911 * gdb.btrace/record_goto.exp: Choose test file based on target.
11912 * gdb.btrace/x86-record_goto.S: Renamed into ...
11913 * gdb.btrace/x86_64-record_goto.S: ... this.
11914 * gdb.btrace/i686-record_goto.S: New.
11915 * gdb.btrace/x86-tailcall.S: Renamed into ...
11916 * gdb.btrace/x86_64-tailcall.S: ... this.
11917 * gdb.btrace/i686-tailcall.S: New.
11918 * gdb.btrace/x86-tailcall.c: Renamed into ...
11919 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11920 separate statements. Update test.
11921 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11922 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11923 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11924 * gdb.btrace/tailcall.exp: Choose test file based on target.
11925 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11926
11927 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11928
11929 * gdb.btrace/exception.exp: Increase BTS buffer size.
11930
11931 2015-03-24 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11934
11935 2015-03-24 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.threads/schedlock.exp (test_step): No longer expect that
11938 "set scheduler-locking step" with "next" over a function call runs
11939 threads unlocked.
11940
11941 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11942
11943 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11944
11945 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11946
11947 PR breakpoints/16466
11948 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11949 * gdb.mi/mi-pending.c (thread_func): New function.
11950 (int main): Add threading support required.
11951 * gdb.mi/mi-pending.exp: Add tests for this issue.
11952 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11953 (pendfunc2): Remove stdio dependency.
11954 * gdb.mi/mi-pendshr2.c: New file.
11955
11956 2015-03-23 Keith Seitz <keiths@redhat.com>
11957
11958 * gdb.linespec/keywords.c: New file.
11959 * gdb.linespec/keywords.exp: New file.
11960
11961 2015-03-23 Keith Seitz <keiths@redhat.com>
11962
11963 PR gdb/18021
11964 * gdb.dwarf2/staticvirtual.exp: New test.
11965
11966 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11967
11968 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11969 * README: Remove HP-UX and gdb.hp.
11970 (configuration):
11971 * configure: Regenerate.
11972 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11973 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11974 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11975 gdb.hp/gdb.defects/Makefile.
11976 * gdb.hp/Makefile.in: File deleted.
11977 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11978 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11979 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11980 * gdb.hp/gdb.aCC/run.c: File deleted.
11981 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11982 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11983 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11984 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11985 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11986 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11987 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11988 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11989 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11990 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11991 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11992 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11993 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11994 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11995 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11996 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11997 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11998 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11999 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12000 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12001 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12002 * gdb.hp/gdb.compat/average.c: File deleted.
12003 * gdb.hp/gdb.compat/sum.c: File deleted.
12004 * gdb.hp/gdb.compat/xdb.c: File deleted.
12005 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12006 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12007 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12008 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12009 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12010 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12011 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12012 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12013 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12014 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12015 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12016 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12017 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12018 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12019 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12020 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12021 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12022 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12023 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12024 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12025 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12026 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12027 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12028 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12029 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12030 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12031 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12032 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12033 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12034 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12035 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12036 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12037 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12038 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12039 * gdb.hp/tools/odump: File deleted.
12040
12041 2015-03-19 Pedro Alves <palves@redhat.com>
12042
12043 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12044 (saw_thread_3): New globals.
12045 (top level): Increment them when an event for the corresponding
12046 thread is seen.
12047 (no thread starvation): New test.
12048
12049 2015-03-19 Pedro Alves <palves@redhat.com>
12050
12051 * gdb.threads/continue-pending-status.c: New file.
12052 * gdb.threads/continue-pending-status.exp: New file.
12053
12054 2015-03-18 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12057 Use gdb_is_target_remote instead of is_remote. Use
12058 gdb_test_multiple instead of gdb_expect. Exit early if
12059 gdb_test_multiple hits its internal matches. Tighten stepi tests
12060 expected output. Fail on exit with any signal, instead of just
12061 SIGILL.
12062
12063 2015-03-18 Yao Qi <yao.qi@linaro.org>
12064
12065 PR tdep/18107
12066 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12067 variable.
12068 * gdb.base/catch-syscall.exp: Don't skip it on
12069 aarch64*-*-linux* target. Remove elements in all_syscalls.
12070 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12071 target.
12072 (setup_all_syscalls): New proc.
12073
12074 2015-03-16 Yao Qi <yao.qi@linaro.org>
12075
12076 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12077 (top level): Skip tests if valid_addr_p returns false for
12078 $cmd1 or $cmd2.
12079
12080 2015-03-11 Andy Wingo <wingo@igalia.com>
12081
12082 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12083
12084 2015-03-11 Yao Qi <yao.qi@linaro.org>
12085
12086 * gdb.base/catch-syscall.exp: Fix typo in comments.
12087
12088 2015-03-11 Yao Qi <yao.qi@linaro.org>
12089
12090 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12091
12092 2015-03-09 Pedro Alves <palves@redhat.com>
12093
12094 * dg-extract-results.py: Delete.
12095
12096 2015-03-09 Pedro Alves <palves@redhat.com>
12097
12098 Merge dg-extract-results.sh from GCC upstream (r218843).
12099
12100 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12101 * dg-extract-results.sh: Use --text with grep to avoid issues with
12102 binary files. Fall back to cat -v, if that doesn't work.
12103
12104 2015-03-05 Pedro Alves <palves@redhat.com>
12105
12106 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12107
12108 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12109
12110 * lib/mi-support.exp (mi_expect_interrupt): Accept
12111 alternative event for when in all-stop mode.
12112
12113 2015-03-04 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12116
12117 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12118
12119 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12120
12121 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12122
12123 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12124 regexps for GDB's current line display, accept a hex address
12125 preceding the line number.
12126
12127 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12128
12129 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12130 the 'arch1' variable for "s390*-linux*" targets.
12131
12132 2015-03-04 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12135 (main): Pass missing retval argument to pthread_join call.
12136
12137 2015-03-02 Pedro Alves <palves@redhat.com>
12138
12139 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12140 (top level): Call do_test with non-stop as well.
12141
12142 2015-03-02 Pedro Alves <palves@redhat.com>
12143
12144 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12145 -1.
12146
12147 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12148
12149 * gdb.arch/s390-vregs.exp: New test.
12150 * gdb.arch/s390-vregs.S: New file.
12151
12152 2015-02-27 Pedro Alves <palves@redhat.com>
12153
12154 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12155 call to catch_command_errors.
12156 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12157 catch_command_errors.
12158
12159 2015-02-27 Pedro Alves <palves@redhat.com>
12160
12161 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12162 "true" for boolean result.
12163 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12164 prototype of main.
12165
12166 2015-02-27 Pedro Alves <palves@redhat.com>
12167
12168 * lib/unbuffer_output.c: New file.
12169 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12170 (main): Call gdb_unbuffer_output.
12171
12172 2015-02-27 Yao Qi <yao.qi@linaro.org>
12173
12174 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12175 target.
12176
12177 2015-02-26 Doug Evans <dje@google.com>
12178
12179 * gdb.cp/class2.cc (Dbase, D): New classes.
12180 (main): New local delta.
12181 * gdb.cp/class2.exp: Test printing delta.
12182 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12183 (dynbar): New global.
12184 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12185
12186 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12187
12188 * gdb.compile/compile-ifunc.c: New file.
12189 * gdb.compile/compile-ifunc.exp: New file.
12190
12191 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12192
12193 * gdb.base/structs.exp: Check for correct struct on finish.
12194
12195 2015-02-26 Yao Qi <yao.qi@linaro.org>
12196
12197 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12198 is zero.
12199
12200 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12201
12202 * gdb.arch/cordic.ko.bz2: New file.
12203 * gdb.arch/cordic.ko.debug.bz2: New file.
12204 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12205
12206 2015-02-25 Yao Qi <yao.qi@linaro.org>
12207
12208 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12209 aarch64*-*-* target.
12210
12211 2015-02-23 Pedro Alves <palves@redhat.com>
12212
12213 * lib/gdb.exp (delete_breakpoints): Rewrite using
12214 gdb_test_multiple.
12215
12216 2015-02-23 Pedro Alves <palves@redhat.com>
12217
12218 * gdb.base/info-os.c: Include stdlib.h.
12219
12220 2015-02-22 Doug Evans <xdje42@gmail.com>
12221
12222 PR symtab/17855
12223 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12224 is read after symbols have been re-read.
12225 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12226 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12227
12228 2015-02-21 Doug Evans <dje@google.com>
12229
12230 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12231
12232 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12233
12234 PR corefiles/17808
12235 * gdb.arch/i386-biarch-core.core.bz2: New file.
12236 * gdb.arch/i386-biarch-core.exp: New file.
12237
12238 2015-02-21 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12241 runto_main fails.
12242
12243 2015-02-20 Pedro Alves <palves@redhat.com>
12244
12245 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12246 info probes.
12247
12248 2015-02-20 Pedro Alves <palves@redhat.com>
12249
12250 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12251
12252 2015-02-20 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12255 clean_restart before gdb_target_supports_trace.
12256
12257 2015-02-20 Pedro Alves <palves@redhat.com>
12258
12259 PR threads/18006
12260 * gdb.threads/clone-thread_db.c: New file.
12261 * gdb.threads/clone-thread_db.exp: New file.
12262
12263 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12264
12265 PR breakpoints/16812
12266 * gdb.base/catch-gdb-caused-signals.c: New file.
12267 * gdb.base/catch-gdb-caused-signals.exp: New file.
12268
12269 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12270
12271 * configure: Regenerated.
12272 * configure.ac: Use GDB_AC_TRANSFORM.
12273 * aclocal.m4: sinclude ../transform.m4.
12274
12275 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12276
12277 * lib/dtrace.exp: New file.
12278 * gdb.base/dtrace-probe.exp: Likewise.
12279 * gdb.base/dtrace-probe.d: Likewise.
12280 * gdb.base/dtrace-probe.c: Likewise.
12281 * lib/pdtrace.in: Likewise.
12282 * configure.ac: Output variables with the transformed names of
12283 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12284 * configure: Regenerated.
12285
12286 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12287
12288 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12289 expected message when trying to access $_probe_* convenience
12290 variables while not on a probe.
12291
12292 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12293
12294 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12295
12296 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12297
12298 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12299 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12300
12301 2015-02-10 Doug Evans <xdje42@gmail.com>
12302
12303 * lib/gdb.exp (gdb_load): Always return a result.
12304
12305 2015-02-10 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.threads/signal-sigtrap.c: New file.
12308 * gdb.threads/signal-sigtrap.exp: New file.
12309
12310 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12311
12312 * gdb.trace/no-attach-trace.c: New file.
12313 * gdb.trace/no-attach-trace.exp: New file.
12314
12315 2015-02-09 Mark Wielaard <mjw@redhat.com>
12316
12317 * gdb.dwarf2/atomic.c: New file.
12318 * gdb.dwarf2/atomic-type.exp: Likewise.
12319
12320 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12321
12322 * gdb.btrace/buffer-size.exp: Update "info record" output.
12323 * gdb.btrace/delta.exp: Update "info record" output.
12324 * gdb.btrace/enable.exp: Update "info record" output.
12325 * gdb.btrace/finish.exp: Update "info record" output.
12326 * gdb.btrace/instruction_history.exp: Update "info record" output.
12327 * gdb.btrace/next.exp: Update "info record" output.
12328 * gdb.btrace/nexti.exp: Update "info record" output.
12329 * gdb.btrace/step.exp: Update "info record" output.
12330 * gdb.btrace/stepi.exp: Update "info record" output.
12331 * gdb.btrace/nohist.exp: Update "info record" output.
12332
12333 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12334
12335 * gdb.btrace/buffer-size: New.
12336
12337 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12338
12339 * gdb.btrace/delta.exp: Update "info record" output.
12340 * gdb.btrace/enable.exp: Update "info record" output.
12341 * gdb.btrace/finish.exp: Update "info record" output.
12342 * gdb.btrace/instruction_history.exp: Update "info record" output.
12343 * gdb.btrace/next.exp: Update "info record" output.
12344 * gdb.btrace/nexti.exp: Update "info record" output.
12345 * gdb.btrace/step.exp: Update "info record" output.
12346 * gdb.btrace/stepi.exp: Update "info record" output.
12347 * gdb.btrace/nohist.exp: Update "info record" output.
12348
12349 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12350
12351 PR gdb/15678
12352 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12353
12354 2015-02-06 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12357 macro.
12358 (seconds_left, again): New globals.
12359 (main): Wait seconds_left in a 1-second sleep loop instead of
12360 sleeping 180 seconds. If 'again' is set, reset the seconds
12361 counter.
12362 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12363 'again' in the inferior before detaching. Print the seconds left.
12364 (options): New global.
12365 (top level): Build program with -DTIMEOUT=$timeout.
12366
12367 2015-02-06 Pedro Alves <palves@redhat.com>
12368
12369 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12370 determine how many seconds to pass to 'alarm'.
12371 * gdb.base/gdb-sigterm.exp (top level): Build program with
12372 -DTIMEOUT=$timeout.
12373 (do_test): Return success/failure indication. Add more verbose
12374 logging. Don't fail if 200 single steps are seen. Instead, fail
12375 when the test times out.
12376 (passes): New global.
12377 (top level): Break the testing loop if testing fails on any
12378 iteration. Use gdb_assert.
12379
12380 2015-02-04 Don Breazeal <donb@codesourcery.com>
12381
12382 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12383 and initialize them.
12384 (ipc_cleanup): New function.
12385 (main): Don't declare shmid, semid, and msqid. Add a call to
12386 atexit so that we call ipc_cleanup on exit.
12387
12388 2015-02-04 Pedro Alves <palves@redhat.com>
12389
12390 * boards/native-extended-gdbserver.exp: Remove any target variant
12391 specifications from the board name before clearing the isremote
12392 flag from board_info.
12393
12394 2015-01-31 Doug Evans <xdje42@gmail.com>
12395
12396 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12397
12398 2015-01-31 Gary Benson <gbenson@redhat.com>
12399
12400 * gdb.base/completion.exp: Disable completion limiting for
12401 existing tests. Add new tests to check completion limiting.
12402 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12403
12404 2015-01-31 Doug Evans <xdje42@gmail.com>
12405
12406 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12407
12408 2015-01-31 Doug Evans <xdje42@gmail.com>
12409
12410 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12411 entries. Duplicate file section script entries.
12412 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12413 inlined entries. Add test for safe-path rejection.
12414 * gdb.python/py-section-script.c: Add duplicate inlined section script
12415 entries. Duplicate file section script entries.
12416 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12417 inlined entries. Add test for safe-path rejection.
12418
12419 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12420
12421 * gdb.ada/disc_arr_bound: New testcase.
12422
12423 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12424
12425 * gdb.ada/mi_var_array: New testcase.
12426
12427 2015-01-27 Doug Evans <dje@google.com>
12428
12429 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12430 Add test for objfile.filename, objfile.username after objfile
12431 has been unloaded.
12432
12433 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12434
12435 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12436 the second test to print the name attribute of value
12437 returned by the call to gdb.lookup_type, and adjust
12438 the expected output accordingly.
12439
12440 2015-01-25 Mark Wielaard <mjw@redhat.com>
12441
12442 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12443 * gdb.base/disp-step-fork.c: Include unistd.h.
12444 * gdb.base/siginfo-obj.c: Include stdio.h.
12445 * gdb.base/siginfo-thread.c: Likewise.
12446 * gdb.mi/non-stop.c: Include unistd.h.
12447 * gdb.mi/nsthrexec.c: Include stdio.h.
12448 * gdb.mi/pthreads.c: Include unistd.h.
12449 * gdb.modula2/unbounded1.c (main): Declare returns int.
12450 * gdb.reverse/consecutive-reverse.c: Likewise.
12451 * gdb.threads/create-fail.c: Include unistd.h.
12452 * gdb.threads/killed.c: Likewise.
12453 * gdb.threads/linux-dp.c: Likewise.
12454 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12455 * gdb.threads/non-ldr-exc-2.c: Likewise.
12456 * gdb.threads/non-ldr-exc-3.c: Likewise.
12457 * gdb.threads/non-ldr-exc-4.c: Likewise.
12458 * gdb.threads/pthreads.c: Include unistd.h.
12459 (main): Declare returns int.
12460 * gdb.threads/tls-main.c (foo): New declaration.
12461 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12462
12463 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12464
12465 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12466 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12467
12468 2015-01-15 Mark Wielaard <mjw@redhat.com>
12469
12470 * gdb.base/noreturn-return.c: New file.
12471 * gdb.base/noreturn-return.exp: New file.
12472 * gdb.base/noreturn-finish.c: New file.
12473 * gdb.base/noreturn-finish.exp: New file.
12474
12475 2015-01-23 Pedro Alves <palves@redhat.com>
12476
12477 * gdb.threads/continue-pending-after-query.c: New file.
12478 * gdb.threads/continue-pending-after-query.exp: New file.
12479
12480 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12481 Simon Marchi <simon.marchi@ericsson.com>
12482
12483 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12484 * gdb.base/valgrind-db-attach.exp: Same.
12485 * gdb.base/valgrind-infcall.exp: Same.
12486 * lib/mi-support.exp (default_mi_gdb_start): Same.
12487 * lib/prompt.exp (default_prompt_gdb_start): Same.
12488 * lib/gdb.exp (default_gdb_spawn): Same.
12489 (gdb_interact): New.
12490
12491
12492 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12493
12494 * gdb.compile/compile.exp (pointer to jit function): New test.
12495
12496 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12497
12498 * lib/gdb.exp (supports_process_record): Return true for
12499 powerpc*-*-linux*.
12500 (supports_reverse): Likewise.
12501
12502 2015-01-15 Don Breazeal <donb@codesourcery.com>
12503
12504 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12505 instead of checking whether the target board is remote and
12506 use spawn_wait_for_attach instead of exec/sleep.
12507 * gdb.base/attach-twice.exp: Likewise.
12508
12509 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12510
12511 * gdb.ada/var_arr_attrs: New testcase.
12512
12513 2015-01-14 Pedro Alves <palves@redhat.com>
12514 Joel Brobecker <brobecker@adacore.com>
12515
12516 PR gdb/17525
12517 * gdb.base/bp-cmds-execution-x-script.c: New file.
12518 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12519 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12520
12521 2015-01-14 Pedro Alves <palves@redhat.com>
12522
12523 PR cli/17828
12524 * gdb.base/batch-preserve-term-settings.c: New file.
12525 * gdb.base/batch-preserve-term-settings.exp: New file.
12526
12527 2015-01-13 Doug Evans <dje@google.com>
12528
12529 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12530 binary.
12531
12532 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12533
12534 * Makefile.in (clean mostlyclean): Do not delete *.py.
12535
12536 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12537
12538 * gdb.python/py-lookup-type.exp: New file.
12539
12540 2015-01-12 Pedro Alves <palves@redhat.com>
12541
12542 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12543 restore GDBFLAGS before returning.
12544
12545 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12546
12547 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12548 is_amd64_regs_target and is_x86_like_target.
12549
12550 2015-01-11 Doug Evans <xdje42@gmail.com>
12551
12552 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12553 is given without an explicit form.
12554 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12555 attributes.
12556 * gdb.dwarf/corrupt.exp: Ditto.
12557 * gdb.dwarf2/enum-type.exp: Ditto.
12558 * gdb.trace/entry-values.exp: Ditto.
12559 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12560
12561 2015-01-11 Doug Evans <xdje42@gmail.com>
12562
12563 PR gdb/15830
12564 * gdb.base/maint.exp: Remove references to "maint demangle".
12565 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12566 Add tests for explicitly specifying language to demangle.
12567 * gdb.dlang/demangle.exp: Ditto.
12568
12569 2015-01-09 Pedro Alves <palves@redhat.com>
12570
12571 * gdb.threads/non-stop-fair-events.c: New file.
12572 * gdb.threads/non-stop-fair-events.exp: New file.
12573
12574 2015-01-09 Pedro Alves <palves@redhat.com>
12575
12576 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12577 the global scope. Set a breakpoint after all threads are started
12578 rather than stepping over two source lines. Expect the prompt.
12579 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12580 global.
12581 (NUM): Now 15.
12582 (main): Use threads_started_barrier to wait for all threads to
12583 start. Main thread no longer calls thread_function. Exit after
12584 180 seconds.
12585 (loop): New function.
12586 (thread_function): Wait on threads_started_barrier barrier. Call
12587 'loop' at each iteration.
12588 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12589 threads have started, instead of hardcoding number of "next"
12590 steps. Use an access watchpoint instead of a write watchpoint.
12591
12592 2015-01-09 Pedro Alves <palves@redhat.com>
12593
12594 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12595 (thread_func): Wait on barrier.
12596 (main): Wait for all threads to start before stopping GDB.
12597 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12598 global.
12599 (thread1_func, thread2_func): Wait on barrier.
12600 (main): Wait for all threads to start before stopping GDB.
12601 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12602 New global.
12603 (thread1_func, thread2_func): Wait on barrier.
12604 (main): Wait for all threads to start before stopping GDB.
12605
12606 2015-01-09 Pedro Alves <palves@redhat.com>
12607
12608 * gdb.threads/attach-many-short-lived-threads.c: New file.
12609 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12610
12611 2014-01-09 Pedro Alves <palves@redhat.com>
12612
12613 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12614 instead of to thread 2.
12615 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12616 Add barrier around each pthread_create call instead of around all
12617 calls.
12618 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12619 Set a break on thread_function and have the child threads hit it
12620 one at at a time.
12621
12622 2015-01-09 Pedro Alves <palves@redhat.com>
12623
12624 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12625 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12626 false.
12627 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12628 checking whether the target board is remote.
12629 * gdb.multi/multi-attach.exp: Likewise.
12630 * gdb.python/py-sync-interp.exp: Likewise.
12631 * gdb.server/ext-attach.exp: Likewise.
12632 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12633 tests that need to attach, instead of checking whether the target
12634 board is remote at the top of the file.
12635
12636 2015-01-08 Yao Qi <yao@codesourcery.com>
12637
12638 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12639
12640 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12641
12642 Fix testcase compilation.
12643 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12644
12645 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12646
12647 * gdb.python/py-type.exp: Add a couple test about empty
12648 array creation, and negative-length array creation.
12649
12650 2015-01-02 Doug Evans <xdje42@gmail.com>
12651
12652 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12653
12654 2015-01-02 Doug Evans <dje@google.com>
12655
12656 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12657
12658 2014-12-29 Yao Qi <yao@codesourcery.com>
12659
12660 * gdb.trace/entry-values.exp: Update comments. Rename variable
12661 bar_call_foo to returned_from_foo.
12662
12663 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12664
12665 PR gdb/17394
12666 * gdb.linespec/break-asm-file.c: New file.
12667 * gdb.linespec/break-asm-file.exp: New file.
12668 * gdb.linespec/break-asm-file0.s: New file.
12669 * gdb.linespec/break-asm-file1.s: New file.
12670
12671 2014-12-18 Nigel Stephens <nigel@mips.com>
12672 Maciej W. Rozycki <macro@codesourcery.com>
12673
12674 * gdb.base/float.exp: Handle the new output from "info float" on
12675 MIPS targets.
12676
12677 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12678
12679 Fix MinGW compilation.
12680 * gdb.compile/compile-ops.exp: Update untested message if
12681 !skip_compile_feature_tests.
12682 * gdb.compile/compile-setjmp.exp: Likewise.
12683 * gdb.compile/compile-tls.exp: Likewise.
12684 * gdb.compile/compile.exp: Likewise.
12685 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12686 supported on this host".
12687
12688 2014-12-16 Doug Evans <xdje42@gmail.com>
12689
12690 * boards/stabs.exp: New file.
12691
12692 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12693
12694 * gdb.base/completion.exp: Adjust to format changes of "maint
12695 print user-registers".
12696
12697 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12698
12699 PR server/17457
12700 * gdb.arch/aarch64-fp.c: New file.
12701 * gdb.arch/aarch64-fp.exp: New file.
12702
12703 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12704
12705 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12706 r210637, r210913, r211666, r215400, r215817).
12707
12708 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12709 * dg-extract-results.py: New file.
12710 * dg-extract-results.sh: Use it if the environment seems
12711 suitable.
12712
12713 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12714
12715 * dg-extract-results.py (parse_run): Handle warnings that
12716 are printed before a test harness is run.
12717
12718 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12719
12720 * dg-extract-results.py (Named): Remove __cmp__ method.
12721 (output_variation): Use a key to sort variation.harnesses.
12722
12723 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12724
12725 * dg-extract-results.py: For Python 3, force sys.stdout to
12726 handle surrogate escape sequences.
12727 (safe_open): New function.
12728 (output_segment, main): Use it.
12729
12730 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12731
12732 * dg-extract-results.py (Prog.result_re): Include options
12733 in test name.
12734
12735 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12736
12737 * dg-extract-results.py (output_variation): Always sort if
12738 do_sum.
12739
12740 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12741
12742 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12743 as long as we get pagination notifications.
12744
12745 2014-12-15 Jason Merrill <jason@redhat.com>
12746
12747 * Makefile.in (check-gdb.%): Restore.
12748 * README: Mention it.
12749
12750 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12751
12752 * gdb.ada/str_uninit: New testcase.
12753
12754 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12755
12756 PR symtab/17642
12757 * gdb.base/vla-stub-define.c: New file.
12758 * gdb.base/vla-stub.c: New file.
12759 * gdb.base/vla-stub.exp: New file.
12760
12761 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12762 Jan Kratochvil <jan.kratochvil@redhat.com>
12763 Tom Tromey <tromey@redhat.com>
12764
12765 * configure.ac: Add gdb.compile/.
12766 * configure: Regenerate.
12767 * gdb.compile/Makefile.in: New file.
12768 * gdb.compile/compile-ops.exp: New file.
12769 * gdb.compile/compile-ops.c: New file.
12770 * gdb.compile/compile-tls.c: New file.
12771 * gdb.compile/compile-tls.exp: New file.
12772 * gdb.compile/compile-constvar.S: New file.
12773 * gdb.compile/compile-constvar.c: New file.
12774 * gdb.compile/compile-mod.c: New file.
12775 * gdb.compile/compile-nodebug.c: New file.
12776 * gdb.compile/compile-setjmp-mod.c: New file.
12777 * gdb.compile/compile-setjmp.c: New file.
12778 * gdb.compile/compile-setjmp.exp: New file.
12779 * gdb.compile/compile-shlib.c: New file.
12780 * gdb.compile/compile.c: New file.
12781 * gdb.compile/compile.exp: New file.
12782 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12783
12784 2014-12-12 Tom Tromey <tromey@redhat.com>
12785
12786 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12787 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12788
12789 2014-12-12 Doug Evans <dje@google.com>
12790
12791 * lib/gdb-python.exp (get_python_valueof): New function.
12792 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12793
12794 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12795
12796 * gdb.base/completion.exp: Add test for completion of "info
12797 registers ".
12798
12799 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12800
12801 * gdb.base/func-ptrs.c: New file.
12802 * gdb.base/func-ptrs.exp: New file.
12803
12804 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12805
12806 PR breakpoints/17012
12807 * gdb.base/dprintf-detach.c: New file.
12808 * gdb.base/dprintf-detach.exp: New file.
12809
12810 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12811
12812 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12813 * lib/gdb.exp (target_is_gdbserver): New procedure.
12814
12815 2014-12-08 Doug Evans <dje@google.com>
12816
12817 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12818
12819 2014-12-05 Yao Qi <yao@codesourcery.com>
12820
12821 * gdb.guile/scm-error.exp: Remove the third argument to
12822 gdb_remote_download.
12823 * gdb.guile/scm-frame-args.exp: Likewise.
12824 * gdb.guile/scm-section-script.exp: Likewise.
12825
12826 2014-12-05 Yao Qi <yao@codesourcery.com>
12827
12828 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12829
12830 2014-12-04 Doug Evans <dje@google.com>
12831
12832 * gdb.python/py-objfile.exp: Add tests for
12833 objfile.add_separate_debug_file.
12834
12835 2014-12-04 Doug Evans <dje@google.com>
12836
12837 * lib/gdb.exp (get_build_id): New function.
12838 (build_id_debug_filename_get): Rewrite to use it.
12839 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12840
12841 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12842
12843 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12844 `method(long)', not just 0x0.
12845 * gdb.cp/nsalias.exp: Align code labels to 4.
12846 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12847 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12848 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12849 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12850 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12851 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12852
12853 2014-12-02 Doug Evans <dje@google.com>
12854
12855 PR symtab/17602
12856 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12857 * gdb.cp/anon-ns2.cc: ... here. New file.
12858 * gdb.cp/anon-ns.exp: Update.
12859
12860 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12861
12862 * gdb.python/py-events.py (inferior_call_handler): New.
12863 (register_changed_handler, memory_changed_handler): New.
12864 (test_events.invoke): Register new handlers.
12865 * gdb.python/py-events.exp: Add tests for inferior call,
12866 memory_changed and register_changed events.
12867
12868 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12869
12870 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12871 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12872 if the linker doesn't understand this.
12873
12874 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12875
12876 * gdb.python/python.exp: Change expected reply to help().
12877
12878 2014-12-01 Yao Qi <yao@codesourcery.com>
12879
12880 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12881 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12882 * configure: Re-generated.
12883
12884 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12885
12886 * gdb.cp/chained-calls.cc: New file.
12887 * gdb.cp/chained-calls.exp: New file.
12888 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12889
12890 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12891
12892 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12893 * gdb.dwarf2/symtab-producer.exp: Same.
12894 * gdb.gdb/python-interrupts.exp: Same.
12895 * gdb.gdb/python-selftest.exp: Same.
12896 * gdb.python/py-linetable.exp: Same.
12897 * gdb.python/py-type.exp: Same.
12898 * gdb.python/py-value-cc.exp: Same.
12899 * gdb.python/py-value.exp: Same.
12900
12901 2014-11-28 Yao Qi <yao@codesourcery.com>
12902
12903 * gdb.base/break-probes.exp: Match library name prefixed with
12904 sysroot.
12905
12906 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12909 test expected output. Add parentheses for the call to print.
12910 Remove L suffix from integers.
12911
12912 2014-11-26 Doug Evans <dje@google.com>
12913
12914 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12915
12916 2014-11-22 Yao Qi <yao@codesourcery.com>
12917
12918 * gdb.trace/entry-values.c: Remove asms.
12919 (foo): Add foo_label.
12920 (bar): Add bar_label.
12921 * gdb.trace/entry-values.exp: Remove code computing foo's
12922 length and bar's length.
12923 (Dwarf::assemble): Invoke function_range for bar and use
12924 MACRO_AT_func for foo.
12925
12926 2014-11-22 Yao Qi <yao@codesourcery.com>
12927
12928 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12929 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12930 Use .Lgcc43_procstart instead of gcc43.
12931
12932 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12933
12934 * gdb.ada/n_arr_bound: New testcase.
12935
12936 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12937
12938 PR breakpoints/10737
12939 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12940 test_catch_syscall_multi_arch.
12941 (test_catch_syscall_multi_arch): New function.
12942
12943 2014-11-20 Doug Evans <xdje42@gmail.com>
12944
12945 * gdb.base/maint.exp: Update expected output.
12946
12947 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12948
12949 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12950 4-byte instruction on S390.
12951
12952 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12953
12954 * gdb.ada/arr_arr: New testcase.
12955
12956 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12957
12958 * gdb.ada/pkd_arr_elem: New Testcase.
12959
12960 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12961
12962 * gdb.reverse/break-precsave: Expect completion message for
12963 core file reads.
12964 * gdb.reverse/consecutive-precsave.exp: Likewise.
12965 * gdb.reverse/finish-precsave.exp: Likewise.
12966 * gdb.reverse/i386-precsave.exp: Likewise.
12967 * gdb.reverse/machinestate-precsave.exp: Likewise.
12968 * gdb.reverse/sigall-precsave.exp: Likewise.
12969 * gdb.reverse/solib-precsave.exp: Likewise.
12970 * gdb.reverse/step-precsave.exp: Likewise.
12971 * gdb.reverse/until-precsave.exp: Likewise.
12972 * gdb.reverse/watch-precsave.exp: Likewise.
12973
12974 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12975
12976 * gdb.base/bp-permanent.c: Include unistd.h.
12977 * gdb.python/py-framefilter-mi.c (main): Add return type.
12978 * gdb.python/py-framefilter.c (main): Likewise.
12979 * gdb.trace/actions-changed.c (main): Likewise.
12980
12981 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12982
12983 * gdb.mi/until.c: Add eye-catchers.
12984 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12985 line numbers.
12986
12987 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12988
12989 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12990 function header variants in break1.c.
12991 * gdb.base/ena-dis-br.exp: Likewise.
12992 * gdb.base/hbreak2.exp: Likewise.
12993 * gdb.reverse/until-precsave.exp: Drop references to removed
12994 non-prototype function header variants in ur1.c.
12995 * gdb.reverse/until-reverse.exp: Likewise.
12996
12997 2014-11-17 Petr Machata <pmachata@redhat.com>
12998
12999 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13000 ${_cu_offset_size} bytes abbrev offset.
13001
13002 2014-11-15 Doug Evans <xdje42@gmail.com>
13003
13004 PR symtab/17559
13005 * gdb.base/line-symtabs.exp: New file.
13006 * gdb.base/line-symtabs.c: New file.
13007 * gdb.base/line-symtabs.h: New file.
13008
13009 2014-11-14 Yao Qi <yao@codesourcery.com>
13010
13011 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13012 (func): Add label func_label.
13013 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13014 Replace low_pc and high_pc with MACRO_AT_range.
13015 Replace name, low_pc and high_pc with MACRO_AT_func.
13016
13017 2014-11-14 Yao Qi <yao@codesourcery.com>
13018
13019 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13020 Replace name, low_pc and high_pc with MACRO_AT_func.
13021
13022 2014-11-14 Yao Qi <yao@codesourcery.com>
13023
13024 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13025 produce debug information.
13026 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13027
13028 2014-11-14 Yao Qi <yao@codesourcery.com>
13029
13030 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13031 object and get function length.
13032 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13033 with MACRO_AT_func.
13034 (top-level): Replace gdb_compile and clean_restart with
13035 prepare_for_testing.
13036 * gdb.dwarf2/main.c (main): Add label main_label.
13037
13038 2014-11-14 Yao Qi <yao@codesourcery.com>
13039
13040 * lib/dwarf.exp (function_range): New procedure.
13041 (Dwarf::_handle_macro_at_func): New procedure.
13042 (Dwarf::_handle_macro_at_range): New procedure.
13043 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13044
13045 2014-11-14 Yao Qi <yao@codesourcery.com>
13046
13047 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13048 (_handle_attribute): New procedure.
13049
13050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13051
13052 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13053 * gdb.base/call-sc.c (zed): Likewise.
13054 * gdb.base/checkpoint.c (main): Likewise.
13055 * gdb.base/dump.c (main): Likewise.
13056 * gdb.base/gcore.c (main): Likewise.
13057 * gdb.base/huge.c (main): Likewise.
13058 * gdb.base/multi-forks.c (main): Likewise.
13059 * gdb.base/pr10179-a.c (main): Likewise.
13060 * gdb.base/savedregs.c (main): Likewise.
13061 * gdb.base/sigaltstack.c (main): Likewise.
13062 * gdb.base/siginfo.c (main): Likewise.
13063 * gdb.base/structs.c (zed): Likewise.
13064 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13065 * gdb.mi/mi-syn-frame.c (main): Likewise.
13066 * gdb.mi/until.c (foo, main): Likewise.
13067 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13068 * gdb.base/solib-weak.c (foo): Declare.
13069 * gdb.base/attach-twice.c: Include stdio.h.
13070 * gdb.base/weaklib1.c: Likewise.
13071 * gdb.base/weaklib2.c: Likewise.
13072 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13073 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13074 unistd.h.
13075 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13076 * gdb.mi/mi-exit-code.c: Likewise.
13077 * gdb.base/break-interp-lib.c: Include string.h.
13078 * gdb.base/coremaker.c: Likewise.
13079 * gdb.base/testenv.c: Likewise.
13080 * gdb.python/py-finish-breakpoint.c: Likewise.
13081 * gdb.base/inferior-died.c: Include sys/wait.h.
13082 * gdb.base/fileio.c: Include time.h.
13083 * gdb.base/async-shell.c: Include unistd.h.
13084 * gdb.base/dprintf-non-stop.c: Likewise.
13085 * gdb.base/info-os.c: Likewise.
13086 * gdb.mi/mi-console.c: Likewise.
13087 * gdb.mi/watch-nonstop.c: Likewise.
13088 * gdb.python/py-events.c: Likewise.
13089 * gdb.base/async.c (baz): Move up before its invocation.
13090 * gdb.base/code_elim2.c (my_global_func): Likewise.
13091 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13092 * gdb.base/advance.c (func2): Likewise.
13093
13094 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13095
13096 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13097 variant.
13098 * gdb.base/annota3.c: Likewise.
13099 * gdb.base/async.c: Likewise.
13100 * gdb.base/average.c: Likewise.
13101 * gdb.base/call-ar-st.c: Likewise.
13102 * gdb.base/call-rt-st.c: Likewise.
13103 * gdb.base/call-sc.c: Likewise.
13104 * gdb.base/call-strs.c: Likewise.
13105 * gdb.base/ending-run.c: Likewise.
13106 * gdb.base/execd-prog.c: Likewise.
13107 * gdb.base/exprs.c: Likewise.
13108 * gdb.base/foll-exec.c: Likewise.
13109 * gdb.base/foll-fork.c: Likewise.
13110 * gdb.base/foll-vfork.c: Likewise.
13111 * gdb.base/funcargs.c: Likewise.
13112 * gdb.base/gcore.c: Likewise.
13113 * gdb.base/jump.c: Likewise.
13114 * gdb.base/langs0.c: Likewise.
13115 * gdb.base/langs1.c: Likewise.
13116 * gdb.base/langs2.c: Likewise.
13117 * gdb.base/mips_pro.c: Likewise.
13118 * gdb.base/nodebug.c: Likewise.
13119 * gdb.base/opaque0.c: Likewise.
13120 * gdb.base/opaque1.c: Likewise.
13121 * gdb.base/recurse.c: Likewise.
13122 * gdb.base/run.c: Likewise.
13123 * gdb.base/scope0.c: Likewise.
13124 * gdb.base/scope1.c: Likewise.
13125 * gdb.base/setshow.c: Likewise.
13126 * gdb.base/setvar.c: Likewise.
13127 * gdb.base/shmain.c: Likewise.
13128 * gdb.base/shr1.c: Likewise.
13129 * gdb.base/shr2.c: Likewise.
13130 * gdb.base/sigall.c: Likewise.
13131 * gdb.base/signals.c: Likewise.
13132 * gdb.base/so-indr-cl.c: Likewise.
13133 * gdb.base/solib2.c: Likewise.
13134 * gdb.base/structs.c: Likewise.
13135 * gdb.base/sum.c: Likewise.
13136 * gdb.base/vforked-prog.c: Likewise.
13137 * gdb.base/watchpoint.c: Likewise.
13138 * gdb.reverse/shr2.c: Likewise.
13139 * gdb.reverse/until-reverse.c: Likewise.
13140 * gdb.reverse/ur1.c: Likewise.
13141 * gdb.reverse/watch-reverse.c: Likewise.
13142
13143 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13144
13145 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13146 variant.
13147 * gdb.base/sepdebug.exp: Drop references to removed code.
13148
13149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13150
13151 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13152 variant. Preserve original line numbering.
13153 * gdb.base/list1.c: Likewise.
13154
13155 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13156
13157 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13158 variant.
13159 * gdb.base/break1.c: Likewise.
13160 * gdb.base/break.exp: Drop references to removed code.
13161
13162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13163
13164 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13165 variant.
13166
13167 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13168
13169 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13170
13171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13172
13173 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13174 logic into perform_all_tests() and invoke it with and without
13175 function header prototypes.
13176 (do_function_calls): Remove conditional XFAIL for PR 5318.
13177 (rerun_and_prepare): Remove duplicate code.
13178 (perform_all_tests): New. Main logic moved here.
13179
13180 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13181
13182 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13183 code guarded by #ifdef NO_PROTOTYPES.
13184 (t_double_many_args): Likewise.
13185 (DEF_FUNC_MANY_ARGS_1): Likewise.
13186 (DEF_FUNC_VALUES_1): Likewise.
13187 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13188 guarded by #ifdef PROTOTYPES.
13189
13190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13191
13192 * gdb.mi/mi-console.c: Add eye-catcher.
13193 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13194 instead of literal line number.
13195
13196 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13197
13198 * gdb.base/shr2.c: Add eye-catcher.
13199 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13200 line number.
13201
13202 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13203
13204 * gdb.base/jump.c: Add eye-catchers.
13205 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13206 numbers.
13207
13208 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13209
13210 * gdb.base/execd-prog.c: Add eye-catchers.
13211 * gdb.base/foll-exec.c: Likewise.
13212 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13213 line numbers.
13214
13215 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13216
13217 * gdb.base/ending-run.c: Add eye-catchers.
13218 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13219 literal line numbers.
13220
13221 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13222
13223 * gdb.base/call-rt-st.c: Add eye-catchers.
13224 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13225 literal line numbers.
13226
13227 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13228
13229 * gdb.base/call-ar-st.c: Add eye-catchers.
13230 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13231 literal line numbers.
13232
13233 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13234
13235 * gdb.base/average.c: Add eye-catchers.
13236 * gdb.base/sum.c: Likewise.
13237 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13238 regexps dynamically.
13239
13240 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13241
13242 * gdb.base/solib1.c: Add eye-catchers.
13243 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13244 literal line numbers.
13245
13246 2014-11-12 Pedro Alves <palves@redhat.com>
13247
13248 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13249 leader has exited.
13250
13251 2014-11-12 Pedro Alves <palves@redhat.com>
13252
13253 * gdb.arch/i386-bp_permanent.c: New file.
13254 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13255 (srcfile): Set to i386-bp_permanent.c.
13256 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13257 that stepi does not execute the 'leave' instruction, instead of
13258 testing it does execute.
13259 * gdb.base/bp-permanent.c: New file.
13260 * gdb.base/bp-permanent.exp: New file.
13261
13262 2014-11-10 Doug Evans <xdje42@gmail.com>
13263
13264 PR symtab/17564
13265 * gdb.base/symtab-search-order.exp: New file.
13266 * gdb.base/symtab-search-order.c: New file.
13267 * gdb.base/symtab-search-order-1.c: New file.
13268 * gdb.base/symtab-search-order-shlib-1.c: New file.
13269
13270 2014-11-07 Pedro Alves <palves@redhat.com>
13271
13272 PR gdb/17511
13273 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13274 i?86-*-linux*.
13275
13276 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13277
13278 PR c++/17494
13279 * gdb.cp/pr17494.cc: New file.
13280 * gdb.cp/pr17494.exp: New file.
13281
13282 2014-11-02 Yao Qi <yao@codesourcery.com>
13283
13284 * gdb.python/python.exp: Get working directory and match the
13285 output of "set extended-prompt \\w " with it.
13286
13287 2014-10-30 Doug Evans <dje@google.com>
13288
13289 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13290 in objfiles.
13291 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13292 in progspaces.
13293
13294 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13295
13296 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13297 * gdb.base/realname-expand.exp: Likewise.
13298 * gdb.linespec/macro-relative.exp: Likewise.
13299
13300 2014-10-29 Pedro Alves <palves@redhat.com>
13301
13302 PR gdb/17408
13303 * gdb.threads/schedlock.c (some_function): New function.
13304 (call_function): New global.
13305 (MAYBE_CALL_SOME_FUNCTION): New macro.
13306 (thread_function): Call it.
13307 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13308 and use it instead of a global counter. Adjust all callers.
13309 (get_current_thread): Use "find current thread" for test message
13310 here rather than having all callers pass down the same string.
13311 (goto_loop): New procedure, factored out from ...
13312 (my_continue): ... this.
13313 (step_ten_loops): Change parameter from test message to command to
13314 use. Adjust.
13315 (list_count): Delete global.
13316 (check_result): New procedure, factored out from duplicate top
13317 level code.
13318 (continue tests): Wrap in with_test_prefix.
13319 (test_step): New procedure, factored out from duplicate top level
13320 code.
13321 (top level): Test "step" in combination with all scheduler-locking
13322 modes. Test "next" in combination with all scheduler-locking
13323 modes, and in combination with stepping over a function call or
13324 not.
13325 * gdb.threads/next-bp-other-thread.c: New file.
13326 * gdb.threads/next-bp-other-thread.exp: New file.
13327
13328 2014-10-29 Pedro Alves <palves@redhat.com>
13329
13330 PR python/17372
13331 * gdb.python/python.exp: Test a multi-line command that spawns
13332 interactive Python.
13333 * gdb.base/multi-line-starts-subshell.exp: New file.
13334
13335 2014-10-29 Yao Qi <yao@codesourcery.com>
13336
13337 * gdb.base/fileio.exp: Make directories on host.
13338
13339 2014-10-29 Yao Qi <yao@codesourcery.com>
13340
13341 * gdb.base/fileio.c (test_write): Close the file.
13342
13343 2014-10-28 Pedro Alves <palves@redhat.com>
13344
13345 PR gdb/12623
13346 * gdb.base/sigstep.c (no_handler): New global.
13347 (main): If 'no_handler is true, set the signal handlers to
13348 SIG_IGN.
13349 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13350 with_sw_watch and no_handler parameters. Handle them.
13351 (top level) <stepping over handler when stopped at a breakpoint
13352 test>: Add a test axis for testing with a software watchpoint, and
13353 another for testing with the signal handler set to SIG_IGN.
13354 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13355 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13356
13357 2014-10-28 Pedro Alves <palves@redhat.com>
13358
13359 PR gdb/17511
13360 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13361 * gdb.base/sigstep.exp (other_handler_location): New global.
13362 (advance): Support stepping into the signal handler, and running
13363 commands while in the handler.
13364 (in_handler_map): New global.
13365 (top level): In the advance test, add combinations for getting
13366 into the handler with stepping commands, and for running commands
13367 in the handler. Add comment descripting the advancei tests.
13368
13369 2014-10-28 Pedro Alves <palves@redhat.com>
13370
13371 * gdb.base/sigstep.exp: Use build_executable instead of
13372 prepare_for_testing.
13373 (top level): Move code that starts GDB, runs to main and creates a
13374 display to ...
13375 (restart): ... this new procedure.
13376 (top level): Move backtrace from signal handler test to ...
13377 (validate_backtrace): ... this new procedure.
13378 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13379 with_test_prefix. Always restart GDB.
13380 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13381 with_test_prefix. Always restart GDB. No need to delete
13382 breakpoints after the test.
13383 (test_skip_handler): Remove prefix parameter.
13384 (skip_over_handler, breakpoint_to_handler)
13385 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13386 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13387 restart GDB. No need to delete breakpoints after the test.
13388 (top level): Use foreach to call the test procedures with
13389 different commands.
13390
13391 2014-10-28 Pedro Alves <palves@redhat.com>
13392
13393 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13394 instead of GNATS numbers.
13395 * gdb.base/sigbpt.exp: Likewise.
13396 * gdb.base/siginfo.exp: Likewise.
13397 * gdb.base/sigstep.exp: Likewise.
13398
13399 2014-10-27 Pedro Alves <palves@redhat.com>
13400
13401 * gdb.base/sigstep.c (dummy): New global.
13402 (main): Issue a couple writes to the new global.
13403 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13404 procedures.
13405 (skip_over_handler): Use test_skip_handler.
13406 (top level): Call skip_over_handler for stepi and nexti too.
13407 (breakpoint_over_handler): Use test_skip_handler.
13408 (top level): Call breakpoint_over_handler for stepi and nexti too.
13409
13410 2014-10-27 Yao Qi <yao@codesourcery.com>
13411
13412 * gdb.trace/tfile.c (adjust_function_address)
13413 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13414 function descriptor.
13415
13416 2014-10-24 Don Breazeal <donb@codesourcery.com>
13417
13418 * gdb.base/foll-fork.exp (test_follow_fork,
13419 catch_fork_child_follow): Check for updated fork messages emitted
13420 from infrun.c.
13421 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13422 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13423 vfork_and_exec_child_follow_through_step): Check for updated vfork
13424 messages emitted from infrun.c.
13425
13426 2014-10-24 Pedro Alves <palves@redhat.com>
13427
13428 * gdb.base/corefile.exp: Remove references to ultrix.
13429 * gdb.base/interrupt.exp: Likewise.
13430 * gdb.base/whatis.exp: Likewise.
13431 * gdb.gdb/selftest.exp: Likewise.
13432 * gdb.threads/manythreads.exp: Likewise.
13433 * gdb.threads/print-threads.exp: Likewise.
13434 * gdb.threads/pthreads.exp:: Likewise.
13435 * gdb.threads/schedlock.exp: Likewise.
13436
13437 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13438
13439 * gdb.cp/non-trivial-retval.cc: Add a test case.
13440 * gdb.cp/non-trivial-retval.exp: Add a test.
13441
13442 2014-10-20 Yao Qi <yao@codesourcery.com>
13443
13444 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13445 * gdb.python/py-objfile-script-gdb.py: New file.
13446 * gdb.python/py-objfile-script.exp: Update reference to
13447 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13448 of remote_download. Remove the dest file.
13449
13450 2014-10-20 Yao Qi <yao@codesourcery.com>
13451
13452 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13453 * gdb.base/step-line.exp: Likewise.
13454 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13455 * gdb.dwarf2/dw2-basic.exp: Likewise.
13456 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13457 * gdb.dwarf2/dw2-filename.exp: Likewise.
13458 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13459 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13460 * gdb.dwarf2/dw2-producer.exp: Likewise.
13461 * gdb.dwarf2/mac-fileno.exp: Likewise.
13462 * gdb.python/py-frame-args.exp: Likewise.
13463 * gdb.python/py-framefilter.exp: Likewise.
13464 * gdb.python/py-mi.exp: Likewise.
13465 * gdb.python/py-objfile-script.exp: Likewise
13466 * gdb.python/py-pp-integral.exp: Likewise.
13467 * gdb.python/py-pp-re-notag.exp: Likewise.
13468 * gdb.python/py-prettyprint.exp: Likewise.
13469 * gdb.python/py-section-script.exp: Likewise.
13470 * gdb.python/py-typeprint.exp: Likewise.
13471 * gdb.python/py-xmethods.exp: Likewise.
13472 * gdb.stabs/weird.exp: Likewise.
13473 * gdb.xml/tdesc-regs.exp: Likewise.
13474
13475 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13476
13477 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13478 (out_cu): Use addr_len for the size of addresses.
13479 (out_line): Likewise. Size DW_LNE_set_address instruction
13480 according to addr_len.
13481 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13482 (FUNC): Add START_INSNS to definition.
13483
13484 2014-10-18 Yao Qi <yao@codesourcery.com>
13485
13486 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13487 gdb_has_argv0 return true.
13488 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13489 check [target_info exists noargs], check [gdb_has_argv0]
13490 instead.
13491 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13492 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13493 procedures.
13494
13495 2014-10-17 Doug Evans <dje@google.com>
13496
13497 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13498 event.
13499 * gdb.python/py-events.py: Add clear_objfiles event.
13500
13501 2014-10-17 Doug Evans <dje@google.com>
13502
13503 * gdb.python/py-objfile.exp: Test progspace attribute.
13504
13505 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13506
13507 * gdb.guile/scm-breakpoint.exp: Do not assume any
13508 directory separators when matching source file paths.
13509 * gdb.python/py-breakpoint.exp: Likewise.
13510 * gdb.reverse/break-precsave.exp: Likewise.
13511 * gdb.reverse/break-reverse.exp: Likewise.
13512 * gdb.reverse/consecutive-precsave.exp: Likewise.
13513 * gdb.reverse/finish-precsave.exp: Likewise.
13514 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13515 * gdb.reverse/finish-reverse.exp: Likewise.
13516 * gdb.reverse/i386-precsave.exp: Likewise.
13517 * gdb.reverse/i387-env-reverse.exp: Likewise.
13518 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13519 * gdb.reverse/machinestate-precsave.exp: Likewise.
13520 * gdb.reverse/machinestate.exp: Likewise.
13521 * gdb.reverse/sigall-precsave.exp: Likewise.
13522 * gdb.reverse/solib-precsave.exp: Likewise.
13523 * gdb.reverse/step-precsave.exp: Likewise.
13524 * gdb.reverse/until-precsave.exp: Likewise.
13525 * gdb.reverse/watch-precsave.exp: Likewise.
13526 * gdb.reverse/watch-reverse.exp: Likewise.
13527
13528 2014-10-17 Yao Qi <yao@codesourcery.com>
13529
13530 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13531 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13532
13533 2014-10-17 Pedro Alves <palves@redhat.com>
13534
13535 PR gdb/17471
13536 * gdb.base/bg-execution-repeat.c: New file.
13537 * gdb.base/bg-execution-repeat.exp: New file.
13538
13539 2014-10-17 Pedro Alves <palves@redhat.com>
13540
13541 PR gdb/17300
13542 * gdb.base/continue-all-already-running.c: New file.
13543 * gdb.base/continue-all-already-running.exp: New file.
13544
13545 2014-10-17 Pedro Alves <palves@redhat.com>
13546
13547 PR gdb/17472
13548 * gdb.base/annota-input-while-running.c: New file.
13549 * gdb.base/annota-input-while-running.exp: New file.
13550
13551 2014-10-17 Pedro Alves <palves@redhat.com>
13552
13553 * gdb.base/callfuncs.exp: emove references to osf.
13554 * gdb.base/sigall.exp: Likewise.
13555 * gdb.gdb/selftest.exp: Likewise.
13556 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13557 * gdb.mi/non-stop.c: Likewise.
13558 * gdb.mi/pthreads.c: Likewise.
13559 * gdb.reverse/sigall-precsave.exp: Likewise.
13560 * gdb.reverse/sigall-reverse.exp: Likewise.
13561 * gdb.threads/pthreads.c: Likewise.
13562 * gdb.threads/pthreads.exp: Likewise.
13563
13564 2014-10-17 Yao Qi <yao@codesourcery.com>
13565
13566 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13567 check 'target_info exists noargs'.
13568 (test_command_prompt_position): Likewise.
13569 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13570 Remove "set args".
13571 (progvar_simple_while_test): Likewise.
13572 (progvar_complex_if_while_test): Likewise.
13573 (if_while_breakpoint_command_test): Likewise.
13574 (infrun_breakpoint_command_test): Likewise.
13575 (breakpoint_command_test): Likewise.
13576 (watchpoint_command_test): Likewise.
13577 (bp_deleted_in_command_test): Likewise.
13578 (temporary_breakpoint_commands): Likewise.
13579
13580 2014-10-16 Yao Qi <yao@codesourcery.com>
13581
13582 * gdb.base/remotetimeout.exp: Remove noargs checking.
13583
13584 2014-10-15 Pedro Alves <palves@redhat.com>
13585
13586 PR breakpoints/9649
13587 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13588 * gdb.base/breakpoint-in-ro-region.exp
13589 (probe_target_hardware_step): New procedure.
13590 (top level): Probe hardware stepping and hardware breakpoint
13591 support. Test stepping through a read-only region, with both
13592 "breakpoint auto-hw" on and off and both "always-inserted" on and
13593 off.
13594
13595 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13596
13597 * gdb.dlang/demangle.exp: Update for demangling changes.
13598
13599 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13600
13601 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13602 * gdb.cp/non-trivial-retval.exp: Add new tests.
13603
13604 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13605
13606 PR c++/13403
13607 PR c++/15154
13608 * gdb.cp/non-trivial-retval.cc: New file.
13609 * gdb.cp/non-trivial-retval.exp: New file.
13610
13611 2014-10-15 Yao Qi <yao@codesourcery.com>
13612
13613 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13614 remote host.
13615
13616 2014-10-15 Yao Qi <yao@codesourcery.com>
13617
13618 * gdb.python/py-symbol.exp: Match file base name if host is
13619 remote, otherwise match file name with dir name.
13620 * gdb.python/py-symtab.exp: Likewise.
13621 * gdb.python/python.exp: Likewise.
13622
13623 2014-10-15 Yao Qi <yao@codesourcery.com>
13624
13625 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13626 pattern.
13627 * gdb.python/py-symtab.exp: Likewise.
13628 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13629 locationn.
13630
13631 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13632
13633 * gdb.ada/addr_arith: New testcase.
13634
13635 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13636
13637 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13638 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13639 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13640 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13641
13642 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13643
13644 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13645 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13646 * gdb.arch/stap-eval-lang-ada.exp: New file.
13647
13648 2014-10-14 Yao Qi <yao@codesourcery.com>
13649
13650 * gdb.mi/mi-var-child.c (nothing1): New function.
13651 (nothing2): New function.
13652 (do_children_tests): Set function pointers by nothing1 and
13653 nothing2.
13654 * gdb.mi/mi-var-child.exp: Step over new added statements.
13655 Update test to match the new output.
13656 * gdb.mi/var-cmd.c (nothing1): New function.
13657 (nothing2): New function.
13658 (do_children_tests): Set function pointers by nothing1 and
13659 nothing2.
13660 * gdb.mi/mi-var-display.exp: Update test to match output.
13661 Step to the line specified by $line_dct_nothing.
13662 Increase the number of lines to step.
13663
13664 2014-10-14 Yao Qi <yao@codesourcery.com>
13665
13666 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13667 tests.
13668 * gdb.mi/mi2-var-child.exp: Likewise.
13669
13670 2014-10-13 Doug Evans <dje@google.com>
13671
13672 * gdb.python/py-objfile.exp: Change name of file name test.
13673
13674 2014-10-13 Doug Evans <dje@google.com>
13675
13676 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13677 from the start of the CU.
13678
13679 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13680 Yao Qi <yao@codesourcery.com>
13681
13682 Fix "save breakpoints" for "catch" command.
13683 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13684 Remove -nonewline. Match also the added "main" line.
13685
13686 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13687
13688 Fix "save breakpoints" for "disable $bpnum" command.
13689 * gdb.base/save-bp.c (main): Add label.
13690 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13691
13692 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13693
13694 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13695
13696 2014-10-11 Yao Qi <yao@codesourcery.com>
13697
13698 * gdb.server/server-kill.exp: Execute command
13699 "set remote trace-status-packet on" before "tstatus".
13700
13701 2014-10-11 Yao Qi <yao@codesourcery.com>
13702
13703 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13704 (main): Call getppid.
13705 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13706 and continue to it. Read variable "server_pid".
13707
13708 2014-10-11 Yao Qi <yao@codesourcery.com>
13709
13710 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13711
13712 2014-10-11 Yao Qi <yao@codesourcery.com>
13713
13714 * gdb.threads/thread-find.exp: Don't execute command
13715 "info threads".
13716 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13717 * gdb.threads/linux-dp.exp: Don't check the condition
13718 $threads_created equals to zero.
13719
13720 2014-10-10 Pedro Alves <palves@redhat.com>
13721
13722 * gdb.base/bigcore.exp: Remove references to IRIX.
13723 * gdb.base/funcargs.exp: Likewise.
13724 * gdb.base/interrupt.exp: Likewise.
13725 * gdb.base/mips_pro.exp: Likewise.
13726 * gdb.base/nodebug.exp: Likewise.
13727 * gdb.base/setvar.exp: Likewise.
13728 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13729
13730 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13731 Pedro Alves <palves@redhat.com>
13732
13733 PR symtab/14466
13734 * gdb.base/vdso-warning.c: New file.
13735 * gdb.base/vdso-warning.exp: New file.
13736
13737 2014-10-02 Doug Evans <dje@google.com>
13738
13739 * gdb.base/structs.c (main): Don't run forever.
13740
13741 2014-10-02 Pedro Alves <palves@redhat.com>
13742
13743 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13744 (top level) <stop threads 1, stop threads 2>: Use it.
13745
13746 2014-10-02 Pedro Alves <palves@redhat.com>
13747
13748 * gdb.threads/break-while-running.exp (test): Add new
13749 'update_thread_list' argument. Skip "info threads" if false.
13750 (top level): Add new 'update_thread_list' axis.
13751
13752 2014-10-02 Pedro Alves <palves@redhat.com>
13753
13754 PR breakpoints/17431
13755 * gdb.base/execl-update-breakpoints.c: New file.
13756 * gdb.base/execl-update-breakpoints.exp: New file.
13757
13758 2014-10-01 Pedro Alves <palves@redhat.com>
13759
13760 * gdb.base/breakpoint-in-ro-region.c: New file.
13761 * gdb.base/breakpoint-in-ro-region.exp: New file.
13762
13763 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13764
13765 * gdb.mi/mi-exit-code.exp: New file.
13766 * gdb.mi/mi-exit-code.c: New file.
13767
13768 2014-09-30 Yao Qi <yao@codesourcery.com>
13769
13770 * lib/prelink-support.exp (build_executable_own_libs): Error if
13771 the target isn't native.
13772
13773 2014-09-30 Yao Qi <yao@codesourcery.com>
13774
13775 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13776 false.
13777
13778 2014-09-22 Pedro Alves <palves@redhat.com>
13779
13780 * gdb.threads/break-while-running.exp: New file.
13781 * gdb.threads/break-while-running.c: New file.
13782
13783 2014-09-19 Yao Qi <yao@codesourcery.com>
13784
13785 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13786 Invoke test. Restart GDB with --readnow and invoke test again.
13787
13788 2014-09-19 Yao Qi <yao@codesourcery.com>
13789
13790 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13791 proc set_breakpoint_on_gcd_function. Invoke
13792 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13793 invoke set_breakpoint_on_gcd_function again.
13794
13795 2014-09-18 Doug Evans <dje@google.com>
13796
13797 * gdb.dwarf2/symtab-producer.exp: New file.
13798
13799 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13800
13801 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13802 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13803 * gdb.base/global-var-nested-by-dso.c: Likewise.
13804 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13805
13806 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13807 Pedro Alves <palves@redhat.com>
13808
13809 * gdb.base/watch-bitfields.exp: Pass string other than test file
13810 name to prepare_for_testing.
13811 (watch): New procedure.
13812 (expect_watchpoint): Use with_test_prefix.
13813 (top level): Factor out tests to ...
13814 (test_watch_location, test_regular_watch): ... these new
13815 procedures, and use with_test_prefix and gdb_continue_to_end.
13816
13817 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13818
13819 PR breakpoints/12526
13820 * gdb.base/watch-bitfields.exp: New file.
13821 * gdb.base/watch-bitfields.c: New file.
13822
13823 2014-09-16 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13826 software and hardware addresses, not software address against
13827 itself.
13828
13829 2014-09-16 Pedro Alves <palves@redhat.com>
13830
13831 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13832 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13833
13834 2014-09-16 Pedro Alves <palves@redhat.com>
13835
13836 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13837 files.
13838 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13839 "*-*-vxworks*" throughout.
13840 * gdb.base/break.exp: Likewise.
13841 * gdb.base/default.exp: Likewise.
13842 * gdb.base/scope.exp: Likewise.
13843 * gdb.base/sepdebug.exp: Likewise.
13844 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13845 throughout.
13846 * gdb.base/run.c: Likewise.
13847 * gdb.base/sepdebug.c: Likewise.
13848 * gdb.hp/gdb.aCC/run.c: Likewise.
13849 * gdb.reverse/until-reverse.c: Likewise.
13850 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13851
13852 2014-09-16 Yao Qi <yao@codesourcery.com>
13853
13854 * boards/local-remote-host-native.exp: New file.
13855
13856 2014-09-14 Doug Evans <xdje42@gmail.com>
13857
13858 * gdb.threads/queue-signal.c (thread_count): New variable.
13859 (thread_count_mutex, thread_count_condvar): New variables.
13860 (incr_thread_count, wait_all_threads_running): New functions.
13861 (main): Wait for all threads to be in their thread functions.
13862
13863 2014-09-13 Doug Evans <xdje42@gmail.com>
13864
13865 * gdb.threads/queue-signal.c: New file.
13866 * gdb.threads/queue-signal.exp: New file.
13867
13868 2014-09-13 Doug Evans <xdje42@gmail.com>
13869
13870 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13871 be consistent with what default_gdb_init uses.
13872 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13873 the plain text of the prompt. Add some logging printfs.
13874 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13875
13876 2014-09-12 Pedro Alves <palves@redhat.com>
13877
13878 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13879 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13880 * gdb.arch/i386-size-overlap.exp: Likewise.
13881 * gdb.arch/i386-size.exp: Likewise.
13882 * gdb.arch/i386-unwind.exp: Likewise.
13883 * gdb.base/a2-run.exp: Likewise.
13884 * gdb.base/break.exp: Likewise.
13885 * gdb.base/charset.exp: Likewise.
13886 * gdb.base/chng-syms.exp: Likewise.
13887 * gdb.base/commands.exp: Likewise.
13888 * gdb.base/dbx.exp: Likewise.
13889 * gdb.base/find.exp: Likewise.
13890 * gdb.base/funcargs.exp: Likewise.
13891 * gdb.base/jit-simple.exp: Likewise.
13892 * gdb.base/reread.exp: Likewise.
13893 * gdb.base/sepdebug.exp: Likewise.
13894 * gdb.base/step-bt.exp: Likewise.
13895 * gdb.cp/mb-inline.exp: Likewise.
13896 * gdb.cp/mb-templates.exp: Likewise.
13897 * gdb.objc/basicclass.exp: Likewise.
13898 * gdb.threads/killed.exp: Likewise.
13899
13900 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13901
13902 PR tdep/17379
13903 * gdb.arch/powerpc-stackless.S: New file.
13904 * gdb.arch/powerpc-stackless.exp: New file.
13905
13906 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13907
13908 * gdb.base/attach.c: Include unistd.h.
13909 (main): Call alarm. Add label postloop.
13910 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13911 gdb_breakpoint, gdb_continue_to_breakpoint.
13912 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13913
13914 2014-09-11 Pedro Alves <palves@redhat.com>
13915
13916 PR gdb/17347
13917 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13918 * gdb.base/attach.exp (test_command_line_attach_run): New
13919 procedure.
13920 (top level): Call it.
13921
13922 2014-09-11 Pedro Alves <palves@redhat.com>
13923
13924 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13925 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13926 (do_command_attach_tests): Use spawn_wait_for_attach.
13927 * gdb.base/solib-overlap.exp: Likewise.
13928 * gdb.multi/multi-attach.exp: Likewise.
13929 * gdb.python/py-prompt.exp: Likewise.
13930 * gdb.python/py-sync-interp.exp: Likewise.
13931 * gdb.server/ext-attach.exp: Likewise.
13932
13933 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13934
13935 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13936 command in testcase. Simplify testcase.
13937
13938 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13939
13940 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13941
13942 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13943
13944 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13945
13946 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13947
13948 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13949
13950 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13951
13952 * gdb.dwarf2/dynarr-ptr.c: New file.
13953 * gdb.dwarf2/dynarr-ptr.exp: New file.
13954
13955 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13956
13957 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13958 of 30 rather than hardcoding 120 for a slow test case. Take the
13959 `gdb,timeout' target setting into account for this calculation.
13960 Don't extend the timeout for the test cases that don't need it.
13961
13962 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13963
13964 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13965 a factor of 2 for a slow test case. Take the `gdb,timeout'
13966 target setting into account for this calculation.
13967 * gdb.reverse/until-precsave.exp: Increase the timeout by
13968 a factor of 15 and 3 respectively rather than adding 120
13969 for a pair of slow test cases. Take the `gdb,timeout'
13970 target setting into account for this calculation.
13971
13972 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13973
13974 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13975 timeout, don't pass one down to gdb_expect.
13976 (gdb_expect): Rework timeout selection.
13977
13978 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13979
13980 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13981 exception on timeout.
13982 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13983 (gdbserver_start_extended): Catch any `gdbserver_start' error
13984 exceptions.
13985 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13986 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13987 `gdbserver_gdb_load' error exceptions.
13988
13989 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13990
13991 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13992 120 on waiting for the TCP socket to open.
13993
13994 2014-09-09 Doug Evans <xdje42@gmail.com>
13995
13996 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13997 _caller_matches, _any_caller_is, _any_caller_matches.
13998
13999 2014-09-09 Doug Evans <xdje42@gmail.com>
14000
14001 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14002
14003 2014-09-09 Yao Qi <yao@codesourcery.com>
14004
14005 * gdb.mi/mi-var-display.exp: Set print symbol off.
14006
14007 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14008
14009 PR gdb/17035
14010 * gdb.base/commands.exp: Add tests to verify user-defined
14011 commands with empty bodies.
14012 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14013 python commands in `show user command`.
14014 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14015 scheme commands in `show user command`.
14016
14017 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14018
14019 PR python/17355
14020 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14021 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14022 * gdb.python/py-framefilter-invalidarg.exp: New file.
14023 * gdb.python/py-framefilter-invalidarg.py: New file.
14024
14025 2014-09-06 Doug Evans <xdje42@gmail.com>
14026
14027 PR 15276
14028 * gdb.python/py-caller-is.c: New file.
14029 * gdb.python/py-caller-is.exp: New file.
14030
14031 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14032
14033 PR gdb/17235
14034 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14035 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14036
14037 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14038
14039 PR fortran/17237
14040 * gdb.fortran/print-formatted.exp: New file.
14041 * gdb.fortran/print-formatted.f90: Likewise.
14042
14043 2014-09-03 Sasha Smundak <asmundak@google.com>
14044
14045 * gdb.python/py-frame.exp: Test Frame.read_register.
14046
14047 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14048
14049 PR python/16699
14050 * gdb.python/py-completion.exp: New file.
14051 * gdb.python/py-completion.py: Likewise.
14052
14053 2014-08-28 Doug Evans <dje@google.com>
14054
14055 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14056 eax,etc. are live with values set by gdb and thus the compiler can't
14057 use them.
14058 * gdb.arch/i386-pseudo.c (main): Ditto.
14059
14060 2014-08-27 Doug Evans <dje@google.com>
14061
14062 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14063
14064 2014-08-25 Doug Evans <dje@google.com>
14065
14066 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14067 (main): Ditto.
14068
14069 2014-08-25 Doug Evans <dje@google.com>
14070
14071 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14072
14073 2014-08-24 Yao Qi <yao@codesourcery.com>
14074
14075 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14076 symbol off.
14077 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14078
14079 2014-08-22 Doug Evans <dje@google.com>
14080
14081 PR 17276
14082 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14083 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14084 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14085
14086 2014-08-22 Yao Qi <yao@codesourcery.com>
14087
14088 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14089 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14090 * gdb.python/python.exp: Likewise. Use .py file on the host
14091 instead of the build.
14092
14093 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14094
14095 * gdb.threads/gcore-stale-thread.c: New file.
14096 * gdb.threads/gcore-stale-thread.exp: New file.
14097
14098 2014-08-21 Pedro Alves <palves@redhat.com>
14099
14100 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14101 * gdb.base/gcore-relro-pie.exp: Likewise.
14102 * gdb.base/gcore-relro.exp: Likewise.
14103 * gdb.base/gcore.exp: Likewise.
14104 * gdb.base/print-symbol-loading.exp: Likewise.
14105 * gdb.threads/gcore-thread.exp: Likewise.
14106 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14107
14108 2014-08-20 Pedro Alves <palves@redhat.com>
14109 Jan Kratochvil <jan.kratochvil@redhat.com>
14110
14111 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14112 configure.
14113 (EXPECT): Handle READ1 being set.
14114 (all): Depend on EXTRA_RULES.
14115 (check-read1, expect-read1, read1.so, read1): New rules.
14116 * README (Testsuite Parameters): Document the READ1 make variable.
14117 (Race detection): New section.
14118 * configure: Regenerate.
14119 * configure.ac: If build==host==target, and running under a
14120 GNU/glibc system, add read1 to the extra Makefile rules.
14121 (EXTRA_RULES): AC_SUBST it.
14122 * lib/read1.c: New file.
14123
14124 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14125
14126 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14127 the handling of variables declared as a typedef to an array
14128 which a DW_AT_data_location attribute.
14129
14130 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14131 Pedro Alves <palves@redhat.com>
14132
14133 PR symtab/14604
14134 PR symtab/14605
14135 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14136 gdb_test.
14137
14138 2014-08-19 Pedro Alves <palves@redhat.com>
14139
14140 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14141
14142 2014-08-19 Yao Qi <yao@codesourcery.com>
14143
14144 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14145 right line.
14146
14147 2014-08-18 David Blaikie <dblaikie@gmail.com>
14148
14149 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14150
14151 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14152
14153 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14154 attribute in array range.
14155
14156 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14157
14158 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14159
14160 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14161
14162 PR c++/17132
14163 * gdb.cp/pr17132.cc: New file.
14164 * gdb.cp/pr17132.exp: New file.
14165
14166 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14167
14168 * gdb.python/py-xmethods.py (A_getarrayind)
14169 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14170 Use 'print' with function call syntax.
14171 (E_method_matcher.match): Fix tab vs space indentation mixup.
14172
14173 2014-08-15 Yao Qi <yao@codesourcery.com>
14174
14175 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14176 false.
14177
14178 2014-08-15 Yao Qi <yao@codesourcery.com>
14179
14180 * gdb.cp/casts.exp: Set print symbol off.
14181 * gdb.cp/class2.exp: Likewise.
14182 * gdb.cp/overload.exp: Likewise.
14183 * gdb.cp/templates.exp: Likewise.
14184
14185 2014-08-11 Doug Evans <dje@google.com>
14186
14187 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14188 (test_load_shlib): Update.
14189
14190 2014-08-09 Yao Qi <yao@codesourcery.com>
14191
14192 * gdb.base/display.exp: Invoke is_address_zero_readable.
14193 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14194 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14195 * gdb.base/hbreak-unmapped.exp: Return if
14196 is_address_zero_readable returns true.
14197 * gdb.base/signest.exp: Likewise.
14198 * gdb.base/signull.exp: Likewise.
14199 * gdb.base/sigbpt.exp: Likewise.
14200 * gdb.guile/scm-disasm.exp: Do the test if
14201 is_address_zero_readable returns false.
14202 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14203 * gdb.python/py-arch.exp: Likewise.
14204 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14205 * lib/gdb.exp (is_address_zero_readable): New proc.
14206
14207 2014-08-09 Yao Qi <yao@codesourcery.com>
14208
14209 PR testsuite/13443
14210 * gdb.mi/mi-var-display.exp: Make test messages unique.
14211
14212 2014-08-04 Tom Tromey <tromey@redhat.com>
14213
14214 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14215 target 0".
14216
14217 2014-08-04 Tom Tromey <tromey@redhat.com>
14218
14219 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14220 "target_resume".
14221
14222 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14223
14224 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14225 inner_vla_struct_object_size.
14226 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14227 as xfail.
14228
14229 2014-07-30 Pedro Alves <palves@redhat.com>
14230
14231 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14232 comment.
14233
14234 2014-07-29 Yao Qi <yao@codesourcery.com>
14235
14236 PR gdb/17206
14237 * gdb.base/until-nodebug.exp: New.
14238
14239 2014-07-28 Doug Evans <xdje42@gmail.com>
14240
14241 PR guile/17203
14242 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14243 previously existing parameter, and previously ambiguously spelled
14244 parameter.
14245
14246 2014-07-28 Will Newton <will.newton@linaro.org>
14247
14248 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14249
14250 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14251 Doug Evans <xdje42@gmail.com>
14252
14253 PR guile/17146
14254 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14255
14256 2014-07-25 Pedro Alves <palves@redhat.com>
14257
14258 * gdb.threads/signal-command-handle-nopass.c: New file.
14259 * gdb.threads/signal-command-handle-nopass.exp: New file.
14260 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14261 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14262 * gdb.threads/signal-delivered-right-thread.c: New file.
14263 * gdb.threads/signal-delivered-right-thread.exp: New file.
14264
14265 2014-07-25 Pedro Alves <palves@redhat.com>
14266
14267 * gdb.base/double-prompt-target-event-error.exp
14268 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14269 match.
14270 (cancel_pagination_in_target_event): Rework double prompt
14271 detection.
14272 * gdb.base/paginate-after-ctrl-c-running.exp
14273 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14274 <return>' match.
14275 * gdb.base/paginate-bg-execution.exp
14276 (test_bg_execution_pagination_return)
14277 (test_bg_execution_pagination_cancel): Remove '-notransfer
14278 <return>' matches.
14279 * gdb.base/paginate-execution-startup.exp
14280 (test_fg_execution_pagination_return)
14281 (test_fg_execution_pagination_cancel): Remove '-notransfer
14282 <return>' matches.
14283 * gdb.base/paginate-inferior-exit.exp
14284 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14285 match.
14286 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14287 * lib/gdb.exp (pagination_prompt): Run text through
14288 string_to_regexp.
14289 (gdb_test_multiple): Match $pagination_prompt instead of
14290 "<return>".
14291 (string_to_regexp): Move to lib/gdb-utils.exp.
14292
14293 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14294
14295 * gdb.arch/amd64-entry-value-paramref.S: New file.
14296 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14297 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14298 * gdb.arch/amd64-optimout-repeat.S: New file.
14299 * gdb.arch/amd64-optimout-repeat.c: New file.
14300 * gdb.arch/amd64-optimout-repeat.exp: New file.
14301
14302 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14303
14304 PR gdb/17170
14305 * gdb.base/statistics.exp: New file.
14306
14307 2014-07-17 Doug Evans <dje@google.com>
14308
14309 PR gdb/17170
14310 * gdb.base/maint.exp: Update testing of per-command stats.
14311
14312 2014-07-16 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14315 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14316 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14317 (tfile_write_buf): New functions.
14318 (add_memory_block): Rewrite using the above.
14319 (adjust_function_address): New function.
14320 (FUNCTION_ADDRESS): New macro.
14321 (write_basic_trace_file): Remove short_x local, and use
14322 tfile_write_16. Change type of func_addr local to unsigned long
14323 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14324 here. Cast argument of add_memory_block to char pointer.
14325 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14326 (main): Remove parameters.
14327 * gdb.trace/tfile.exp: Remove nowarnings.
14328
14329 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14330
14331 * gdb.base/debug-expr.exp: Test string evaluation with
14332 "debug expression" on.
14333
14334 2014-07-15 Pedro Alves <palves@redhat.com>
14335
14336 * gdb.base/reread.exp: Use clean_restart.
14337
14338 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14339
14340 * gdb.arch/avr-flash-qualifer.c: New.
14341 * gdb.arch/avr-flash-qualifer.exp: New.
14342
14343 2014-07-14 Pedro Alves <palves@redhat.com>
14344
14345 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14346 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14347
14348 2014-07-14 Pedro Alves <palves@redhat.com>
14349
14350 * gdb.base/double-prompt-target-event-error.c: New file.
14351 * gdb.base/double-prompt-target-event-error.exp: New file.
14352
14353 2014-07-14 Pedro Alves <palves@redhat.com>
14354
14355 PR gdb/17072
14356 * gdb.base/paginate-inferior-exit.c: New file.
14357 * gdb.base/paginate-inferior-exit.exp: New file.
14358
14359 2014-07-14 Pedro Alves <palves@redhat.com>
14360
14361 PR gdb/17072
14362 * gdb.base/paginate-bg-execution.c: New file.
14363 * gdb.base/paginate-bg-execution.exp: New file.
14364
14365 2014-07-14 Pedro Alves <palves@redhat.com>
14366
14367 PR gdb/17072
14368 * gdb.base/paginate-execution-startup.c: New file.
14369 * gdb.base/paginate-execution-startup.exp: New file.
14370 * lib/gdb.exp (pagination_prompt): New global.
14371 (default_gdb_spawn): New procedure, factored out from
14372 default_gdb_spawn.
14373 (default_gdb_start): Adjust to call default_gdb_spawn.
14374 (gdb_spawn): New procedure.
14375
14376 2014-07-14 Pedro Alves <palves@redhat.com>
14377
14378 * lib/gdb.exp (gdb_assert): New procedure.
14379 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14380
14381 2014-07-14 Pedro Alves <palves@redhat.com>
14382
14383 * gdb.base/execution-termios.c: New file.
14384 * gdb.base/execution-termios.exp: New file.
14385
14386 2014-07-14 Tom Tromey <tromey@redhat.com>
14387
14388 * gdb.cp/vla-cxx.cc: New file.
14389 * gdb.cp/vla-cxx.exp: New file.
14390
14391 2014-07-14 Tom Tromey <tromey@redhat.com>
14392
14393 * gdb.reverse/rerun-prec.c: New file.
14394 * gdb.reverse/rerun-prec.exp: New file.
14395
14396 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14397 Maciej W. Rozycki <macro@codesourcery.com>
14398
14399 * lib/gdb-utils.exp: New file.
14400 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14401 inline `gdb_init_command' processing.
14402 (gdb_start_cmd): Likewise.
14403 * lib/mi-support.exp (mi_run_cmd): Likewise.
14404 * README: Document `gdb_init_command' and `gdb_init_commands'.
14405
14406 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14407
14408 Fix false FAIL running under a very long directory name.
14409 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14410 and "set print elements 10000". Twice.
14411
14412 2014-07-11 Yao Qi <yao@codesourcery.com>
14413
14414 * gdb.base/exprs.exp: "set print symbol off".
14415
14416 2014-07-11 Pedro Alves <palves@redhat.com>
14417
14418 * gdb.threads/kill.c: New file.
14419 * gdb.threads/kill.exp: New file.
14420
14421 2014-07-10 Yao Qi <yao@codesourcery.com>
14422
14423 * gdb.trace/tfile.c (write_basic_trace_file)
14424 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14425 address written to trace file.
14426
14427 2014-07-09 Pedro Alves <palves@redhat.com>
14428
14429 * gdb.base/attach-wait-input.exp: New file.
14430 * gdb.base/attach-wait-input.c: New file.
14431
14432 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14433
14434 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14435 setting up test structures.
14436 (main): Call new test function.
14437 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14438 test function, continue into test function and walk test
14439 structures.
14440
14441 2014-07-02 Yao Qi <yao@codesourcery.com>
14442
14443 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14444 'bar_start' at the beginning of functions 'foo' and 'bar'
14445 respectively.
14446 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14447 instead of 'foo' and 'bar'.
14448
14449 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14450
14451 * gdb.btrace/segv.exp: New.
14452 * gdb.btrace/segv.c: New.
14453
14454 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14455
14456 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14457 instruction.
14458
14459 2014-06-30 Mark Wielaard <mjw@redhat.com>
14460
14461 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14462 vulture, vilify, villar): New volatile array constants.
14463 (vindictive, vegetation): New const volatile array constants.
14464 * gdb.base/volatile.exp: Test volatile and const volatile array
14465 types.
14466
14467 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14468
14469 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14470 target lacks support for awatch, rwatch, or hbreak.
14471
14472 2014-06-27 Yao Qi <yao@codesourcery.com>
14473
14474 * gdb.multi/dummy-frame-restore.exp: New.
14475 * gdb.multi/dummy-frame-restore.c: New.
14476
14477 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14478
14479 * gdb.btrace/gcore.exp: New.
14480
14481 2014-06-23 Pedro Alves <palves@redhat.com>
14482
14483 * gdb.base/watchpoint-reuse-slot.c: New file.
14484 * gdb.base/watchpoint-reuse-slot.exp: New file.
14485
14486 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14487
14488 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14489 progspace's filename in 'info', 'enable' and 'disable' command
14490 tests.
14491
14492 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14493
14494 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14495 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14496 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14497
14498 2014-06-20 Gary Benson <gbenson@redhat.com>
14499
14500 * gdb.arch/i386-avx.exp: Fix include file location.
14501 * gdb.arch/i386-sse.exp: Likewise.
14502
14503 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14504
14505 * gdb.dlang/expression.exp: New file.
14506
14507 2014-06-19 Pedro Alves <palves@redhat.com>
14508
14509 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14510 out from ...
14511 (top level): ... here. Iterate running tests under different
14512 scheduler-locking settings.
14513
14514 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14515
14516 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14517 to DW_FORM_addr and use non-zero addresses.
14518
14519 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14520
14521 PR gdb/17017
14522 * gdb.python/py-xmethods.cc: Add global function call counters and
14523 increment them in their respective functions. Remove "cout"
14524 statements.
14525 * gdb.python/py-xmethods.exp: Make tests check the global function
14526 call counters instead of depending on inferior IO.
14527
14528 2014-06-18 Don Breazeal <donb@codesourcery.com>
14529
14530 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14531 Deleted procedure.
14532 (explicit_fork_parent_follow): Deleted procedure.
14533 (explicit_fork_child_follow): Deleted procedure.
14534 (test_follow_fork): New procedure.
14535 (do_fork_tests): Replace calls to deleted procedures with
14536 calls to test_follow_fork and reset GDB for subsequent
14537 procedure calls.
14538
14539 2014-06-17 Yao Qi <yao@codesourcery.com>
14540
14541 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14542 CP1252.
14543
14544 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14545
14546 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14547 Initialize ptr and S explicitly.
14548 (skip_type_update_when_not_use_rtti_test): Likewise.
14549
14550 2014-06-16 Keith Seitz <keiths@redhat.com>
14551
14552 PR mi/15863
14553 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14554 the inferior is started.
14555
14556 2014-06-16 Pedro Alves <palves@redhat.com>
14557
14558 * gdb.base/break-main-file-remove-fail.c: New file.
14559 * gdb.base/break-main-file-remove-fail.exp: New file.
14560 * gdb.base/break-unload-file.exp: Use build_executable instead of
14561 prepare_for_testing.
14562 (test_break): New parameter "initial_load". Handle it.
14563 (top level): Add initial_load cmdline/file axis.
14564
14565 2014-06-12 Tom Tromey <tromey@redhat.com>
14566
14567 * gdb.base/completion.exp: Don't use directory name in test.
14568
14569 2014-06-09 Gary Benson <gbenson@redhat.com>
14570
14571 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14572 separate the always-available ANSI-standard signals from the
14573 signals that require checking.
14574 (main): Likewise.
14575 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14576 Likewise.
14577 (main): Likewise.
14578
14579 2014-06-07 Keith Seitz <keiths@redhat.com>
14580
14581 Revert:
14582 PR c++/16253
14583 * gdb.cp/var-tag.cc: New file.
14584 * gdb.cp/var-tag.exp: New file.
14585 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14586 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14587 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14588 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14589
14590 2014-06-06 Doug Evans <xdje42@gmail.com>
14591
14592 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14593
14594 2014-06-06 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14597 in target debug output instead of looking at RSP packets,
14598 disabling the test on any target that uses hardware stepping.
14599 Update comments.
14600
14601 2014-06-06 Pedro Alves <palves@redhat.com>
14602
14603 * gdb.base/break-unload-file.exp: Fix typo.
14604
14605 2014-06-06 Yao Qi <yao@codesourcery.com>
14606
14607 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14608 from "jit_function" to "^jit_function".
14609
14610 2014-06-06 Yao Qi <yao@codesourcery.com>
14611
14612 * gdb.base/async.c (foo): Add one statement.
14613 * gdb.base/async.exp: Get the next instruction address and
14614 match the output of "nexti" by instruction address. Match
14615 the hex address in the output of "finish".
14616
14617 2014-06-06 Gary Benson <gbenson@redhat.com>
14618
14619 * gdb.base/call-signals.c: Remove preprocessor conditionals
14620 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14621 SIGSEGV and SIGTERM.
14622 * gdb.base/sigall.c: Likewise.
14623 * gdb.base/unwindonsignal.c: Likewise.
14624 * gdb.reverse/sigall-reverse.c: Likewise.
14625
14626 2014-06-06 Yao Qi <yao@codesourcery.com>
14627
14628 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14629 readable, skip the test.
14630
14631 2014-06-06 Yao Qi <yao@codesourcery.com>
14632
14633 * gdb.threads/staticthreads.c (thread_function): Move the line
14634 setting breakpoint on forward.
14635 * gdb.threads/staticthreads.exp: Update comments.
14636
14637 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14638
14639 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14640 "history-append! type error".
14641
14642 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14643
14644 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14645 erroneous dprintf expected input.
14646
14647 2014-06-04 Doug Evans <xdje42@gmail.com>
14648
14649 * gdb.guile/scm-generics.exp: Delete.
14650
14651 2014-06-04 Doug Evans <xdje42@gmail.com>
14652
14653 * gdb.guile/scm-breakpoint.exp: Update.
14654 Add tests for breakpoint registration.
14655
14656 2014-06-04 Tom Tromey <tromey@redhat.com>
14657
14658 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14659 VLA-in-union.
14660 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14661 inner_vla_struct, vla_union types. Initialize objects of those
14662 types and compute their sizes.
14663
14664 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14665 Hui Zhu <hui@codesourcery.com>
14666
14667 * gdb.base/fileio.exp: Add test for shell not available as well as
14668 available.
14669 * gdb.base/fileio.c (test_system): Check for shell twice.
14670
14671 2014-06-04 Yao Qi <yao@codesourcery.com>
14672
14673 * gdb.base/auto-connect-native-target.exp: Remove redundant
14674 space from the regexp pattern.
14675
14676 2014-06-04 Yao Qi <yao@codesourcery.com>
14677
14678 * gdb.base/default.exp: Replace "child" with "native" in
14679 regexp pattern.
14680
14681 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14682
14683 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14684 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14685 * gdb.python/py-xmethods.py: Python script supporting the
14686 new testcase and tests.
14687
14688 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14689 Pedro Alves <palves@redhat.com>
14690
14691 PR breakpoints/17000
14692 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14693 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14694
14695 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14696
14697 * gdb.base/subst.exp: Add tests to verify partial path matching
14698 output.
14699
14700 2014-06-03 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14703 target that doesn't use software single-stepping.
14704
14705 2014-06-03 Pedro Alves <palves@redhat.com>
14706
14707 PR breakpoints/17000
14708 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14709 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14710
14711 2014-06-02 Doug Evans <xdje42@gmail.com>
14712
14713 * gdb.guile/scm-parameter.exp: New file.
14714
14715 2014-06-02 Doug Evans <xdje42@gmail.com>
14716
14717 * gdb.guile/scm-cmd.c: New file.
14718 * gdb.guile/scm-cmd.exp: New file.
14719
14720 2014-06-02 Doug Evans <xdje42@gmail.com>
14721
14722 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14723 pretty-printer lookup.
14724 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14725 (make-pp_s-printer): Call it.
14726 (make-pretty-printer-from-dict): New function.
14727 (lookup-pretty-printer-maker-from-dict): New function.
14728 (*pretty-printer*): Simplify.
14729 (make-objfile-pp_s-printer): New function.
14730 (install-objfile-pretty-printers!): New function.
14731 (make-progspace-pp_s-printer): New function.
14732 (install-progspace-pretty-printers!): New function.
14733 * gdb.guile/scm-progspace.c: New file.
14734 * gdb.guile/scm-progspace.exp: New file.
14735
14736 2014-06-02 Pedro Alves <palves@redhat.com>
14737
14738 * gdb.base/dprintf-bp-same-addr.c: New file.
14739 * gdb.base/dprintf-bp-same-addr.exp: New file.
14740
14741 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14742
14743 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14744 * gdb.arch/powerpc-power.s: Likewise.
14745
14746 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14747
14748 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14749
14750 2014-06-01 Yao Qi <yao@codesourcery.com>
14751
14752 * gdb.base/watchpoint.exp (test_watch_location): Check null
14753 pointer can be dereferenced. If not, do the test, otherwise
14754 skip it.
14755
14756 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14757
14758 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14759 results.
14760 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14761
14762 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14763
14764 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14765 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14766 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14767 * gdb.arch/amd64-invalid-stack-top.c: New file.
14768 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14769
14770 2014-05-30 Pedro Alves <palves@redhat.com>
14771
14772 PR breakpoints/17000
14773 * gdb.base/sss-bp-on-user-bp.c: New file.
14774 * gdb.base/sss-bp-on-user-bp.exp: New file.
14775
14776 2014-05-30 David Blaikie <dblaikie@gmail.com>
14777
14778 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14779 gnu_inline semantics via attribute.
14780 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14781 source explicitly specifies the required semantics.
14782
14783 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14784
14785 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14786
14787 2014-05-29 Pedro Alves <palves@redhat.com>
14788 Tom Tromey <tromey@redhat.com>
14789
14790 * gdb.base/async-shell.exp: Don't enable target-async.
14791 * gdb.base/async.exp
14792 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14793 parameter. Adjust.
14794 (top level): Don't test with "target-async".
14795 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14796 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14797 * gdb.base/inferior-died.exp: Don't enable target-async.
14798 * gdb.base/interrupt-noterm.exp: Likewise.
14799 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14800 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14801 * gdb.mi/mi-nonstop.exp: Likewise.
14802 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14803 * gdb.mi/mi-nsintrall.exp: Likewise.
14804 * gdb.mi/mi-nsmoribund.exp: Likewise.
14805 * gdb.mi/mi-nsthrexec.exp: Likewise.
14806 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14807 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14808 * gdb.python/py-evsignal.exp: Don't enable target-async.
14809 * gdb.python/py-evthreads.exp: Likewise.
14810 * gdb.python/py-prompt.exp: Likewise.
14811 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14812 * gdb.server/solib-list.exp: Don't enable target-async.
14813 * gdb.threads/thread-specific-bp.exp: Likewise.
14814 * lib/mi-support.exp: Adjust to use mi-async.
14815
14816 2014-05-29 Pedro Alves <palves@redhat.com>
14817
14818 PR gdb/13860
14819 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14820 reason, even in sync mode.
14821
14822 2014-05-29 Pedro Alves <palves@redhat.com>
14823 Hui Zhu <hui@codesourcery.com>
14824
14825 PR PR15693
14826 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14827 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14828 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14829 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14830
14831 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14832
14833 * config/monitor.exp (gdb_target_monitor): Replace use of
14834 "set remotebaud" by "set serial baud".
14835
14836 2014-05-26 Andy Wingo <wingo@igalia.com>
14837
14838 * gdb.guile/scm-breakpoint.exp:
14839 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14840 properties instead of gdb-object-properties.
14841
14842 2014-05-26 Yao Qi <yao@codesourcery.com>
14843
14844 * gdb.server/no-thread-db.exp: Specify source file name
14845 explicitly when setting a breakpoint.
14846
14847 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14848
14849 * gdb.btrace/vdso.c: New.
14850 * gdb.btrace/vdso.exp: New.
14851
14852 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14853
14854 * gdb.base/gcore.exp (capture_command_output): Move ...
14855 * lib/gdb.exp (capture_command_output): ... here.
14856
14857 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14858
14859 * gdb.btrace/data.exp: Test memory access during btrace replay.
14860
14861 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14862
14863 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14864
14865 2014-05-21 Pedro Alves <palves@redhat.com>
14866
14867 PR gdb/13860
14868 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14869 (top level): Test that output related to execution commands is
14870 sent to the console with CLI commands, but not with MI commands.
14871 Test that breakpoint events are always mirrored to the console.
14872 Also expect the new source line to be output after a "next" in
14873 async mode too. Make it a pass/fail test.
14874 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14875 output.
14876 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14877
14878 2014-05-21 Pedro Alves <palves@redhat.com>
14879
14880 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14881 Use them to test variations of "list" after reaching a breakpoint.
14882 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14883 Test "list" with listsize 10 after reaching a breakpoint.
14884 * gdb.python/python.exp (decode_line current location line
14885 number): Adjust expected line number.
14886
14887 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14888
14889 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14890 behavior for $args, pass it directly to "run".
14891
14892 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14893
14894 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14895 30000 to 65536.
14896
14897 2014-05-21 Pedro Alves <palves@redhat.com>
14898
14899 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14900 auto-connect-native-target off".
14901 * gdb.base/auto-connect-native-target.c: New file.
14902 * gdb.base/auto-connect-native-target.exp: New file.
14903
14904 2014-05-21 Pedro Alves <palves@redhat.com>
14905
14906 * gdb.base/default.exp: Test "target native" instead of "target
14907 child".
14908
14909 2014-05-21 Mark Wielaard <mjw@redhat.com>
14910
14911 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14912
14913 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14914
14915 Fix TLS access for -static -pthread.
14916 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14917 <HAVE_TLS> (thread_function, main): Initialize it.
14918 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14919 Add clean_restart.
14920 <$have_tls != "">: Check TLSVAR.
14921
14922 2014-05-21 Pedro Alves <palves@redhat.com>
14923
14924 * gdb.base/dcache-line-read-error.c: New.
14925 * gdb.base/dcache-line-read-error.exp: New.
14926
14927 2014-05-20 Pedro Alves <palves@redhat.com>
14928
14929 * gdb.base/compare-sections.c: New file.
14930 * gdb.base/compare-sections.exp: New file.
14931
14932 2014-05-20 Pedro Alves <palves@redhat.com>
14933
14934 * gdb.base/break-idempotent.c: New file.
14935 * gdb.base/break-idempotent.exp: New file.
14936
14937 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14938
14939 * gdb.btrace/nohist.exp: New.
14940
14941 2014-05-20 Yao Qi <yao@codesourcery.com>
14942
14943 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14944 gdb.reverse directory and gdb_reverse_timeout exists in board
14945 setting.
14946 * README: Document gdb_reverse_timeout.
14947
14948 2014-05-20 Yao Qi <yao@codesourcery.com>
14949
14950 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14951 'test_file_name'. Treat args as a string instead of a list.
14952 (gdb_init): Rename argument 'args' by 'test_file_name'.
14953
14954 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14955
14956 * gdb.arch/powerpc-power.exp: New file.
14957 * gdb.arch/powerpc-power.s: New file.
14958
14959 2014-05-16 Doug Evans <dje@google.com>
14960
14961 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14962 * gdb.base/completion.exp: Check that all expected files exist
14963 before doing file completion.
14964
14965 2014-05-16 Doug Evans <dje@google.com>
14966
14967 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14968 Update.
14969 (do_syscall_tests_without_xml): Update.
14970
14971 2014-05-16 Pedro Alves <palves@redhat.com>
14972
14973 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14974 instead of "unknown output after running".
14975
14976 2014-05-16 Yao Qi <yao@codesourcery.com>
14977
14978 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14979 file1.txt from host at the end.
14980 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14981
14982 2014-05-15 Doug Evans <dje@google.com>
14983
14984 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14985 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14986 loading file. Add test for TU lookup.
14987
14988 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14989
14990 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14991 calling "-exec-arguments" or "set args" before running the
14992 inferior.
14993
14994 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14995
14996 * lib/mi-support.exp (mi_expect_stop): Expect message for
14997 inferiors that exit with non-zero exit code.
14998
14999 2014-05-14 Yao Qi <yao@codesourcery.com>
15000
15001 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15002 match absolute path on remote host.
15003 (test_file_list_exec_source_files): Remove "/" from the
15004 pattern.
15005
15006 2014-05-14 Yao Qi <yao@codesourcery.com>
15007
15008 * boards/local-remote-host-notty.exp (${board}_file): New
15009 proc.
15010
15011 2014-05-07 Kyle McMartin <kyle@redhat.com>
15012
15013 Pushed by Joel Brobecker <brobecker@adacore.com>.
15014 * gdb.arch/aarch64-atomic-inst.c: New file.
15015 * gdb.arch/aarch64-atomic-inst.exp: New file.
15016
15017 2014-05-07 Yao Qi <yao@codesourcery.com>
15018
15019 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15020 in current context" too.
15021
15022 2014-05-05 Keith Seitz <keiths@redhat.com>
15023
15024 * gdb.linespec/ls-dollar.exp: Add test for linespec
15025 file:convenience_variable.
15026
15027 2014-05-05 Yao Qi <yao@codesourcery.com>
15028
15029 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15030 traceframes into tfile and ctf trace files. Read data from
15031 trace file and test collected data.
15032 (gdb_collect_locals_test): Likewise.
15033 (gdb_unavailable_registers_test): Likewise.
15034 (gdb_unavailable_floats): Likewise.
15035 (gdb_collect_globals_test): Likewise.
15036 (top-level): Append "ctf" to trace_file_targets if GDB
15037 supports.
15038
15039 2014-05-05 Yao Qi <yao@codesourcery.com>
15040
15041 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15042 code to ...
15043 (gdb_collect_args_test_1): ... it. New proc.
15044 (gdb_collect_locals_test): Move some code to ...
15045 (gdb_collect_locals_test_1): ... it. New proc.
15046 (gdb_unavailable_registers_test): Move some code to ...
15047 (gdb_unavailable_registers_test_1): ... it. New proc.
15048 (gdb_unavailable_floats): Move some code to ...
15049 (gdb_unavailable_floats_1): ... it. New proc.
15050
15051 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15052
15053 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15054 probes to test for bitness recognition.
15055 * gdb.arch/amd64-stap-optional-prefix.exp
15056 (test_probe_value_without_reg): New procedure.
15057 Add code to test for different kinds of bitness.
15058
15059 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15060
15061 PR breakpoints/16889
15062 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15063 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15064
15065 2014-05-01 Pedro Alves <palves@redhat.com>
15066
15067 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15068 gdb_file_cmd if no file is specified.
15069 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15070 last_loaded_file to set the remote exec-file.
15071
15072 2014-05-01 Pedro Alves <palves@redhat.com>
15073
15074 * boards/local-remote-host.exp: New file.
15075
15076 2014-05-01 Pedro Alves <palves@redhat.com>
15077
15078 * boards/local-remote-host.exp: Rename to ...
15079 * boards/local-remote-host-notty.exp: ... this.
15080
15081 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15082
15083 * gdb.ada/dyn_arrayidx: New testcase.
15084
15085 2014-04-26 Yao Qi <yao@codesourcery.com>
15086
15087 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15088 and compute the length of function main. Save it in
15089 $main_length.
15090 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15091 (top-level): Use gdb_compile to compile objects into
15092 executable and restart GDB. Remove invocation to
15093 prepare_for_testing.
15094
15095 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15096 Pedro Alves <palves@redhat.com>
15097
15098 PR server/16255
15099 * gdb.multi/multi-attach.c: New file.
15100 * gdb.multi/multi-attach.exp: New file.
15101
15102 2014-04-25 Pedro Alves <palves@redhat.com>
15103
15104 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15105 user.
15106 (top level): Test that "set remote conditional-breakpoints-packet
15107 off" works as intended.
15108 * gdb.base/dprintf.exp: Test that "set remote
15109 breakpoint-commands-packet off" works as intended.
15110 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15111 New function.
15112 (top level): Call it.
15113 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15114 remote fast-tracepoints-packet off" works as intended.
15115 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15116 * lib/gdb.exp (gdb_is_target_remote): ... here.
15117
15118 2014-04-24 David Blaikie <dblaikie@gmail.com>
15119
15120 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15121 ensure clang would not discard them.
15122 * gdb.base/gdbvars.c: Ditto.
15123 * gdb.base/memattr.c: Ditto.
15124 * gdb.base/whatis.c: Ditto.
15125 * gdb.python/py-prettyprint.c: Ditto.
15126 * gdb.trace/actions.c: Ditto.
15127 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15128 ensure clang would not discard it.
15129
15130 2014-04-24 David Blaikie <dblaikie@gmail.com>
15131
15132 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15133 clang to emit the full definition of type required by the test
15134 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15135
15136 2014-04-24 David Blaikie <dblaikie@gmail.com>
15137
15138 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15139 coax Clang into emitting the definition of the type.
15140 * gdb.cp/pr10728-x.h (y): Ditto.
15141 * gdb.cp/pr10728-y.cc (y): Ditto.
15142
15143 2014-04-24 David Blaikie <dblaikie@gmail.com>
15144
15145 * gdb.base/label.exp: XFAIL label related tests under Clang.
15146 * gdb.cp/cplabel.exp: Ditto.
15147 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15148 under Clang those using labels.
15149
15150 2014-04-25 Yao Qi <yao@codesourcery.com>
15151
15152 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15153 double_label.
15154 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15155 partial_label and double_label.
15156
15157 2014-04-24 David Blaikie <dblaikie@gmail.com>
15158
15159 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15160
15161 2014-04-24 David Blaikie <dblaikie@gmail.com>
15162
15163 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15164 of the function to work across GCC and Clang.
15165 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15166 pointer types (const void ** const V void **).
15167
15168 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15169 Walfred Tedeschi <walfred.tedeschi@intel.com>
15170
15171 * Makefile.in (EXECUTABLES): Added i386-avx512.
15172 * gdb.arch/i386-avx512.c: New file.
15173 * gdb.arch/i386-avx512.exp: Likewise.
15174
15175 2014-04-23 Keith Seitz <keiths@redhat.com>
15176
15177 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15178 (mi_make_breakpoint_table): New procedure.
15179 (mi_create_breakpoint): Use mi_make_breakpoint
15180 and return the result.
15181 (mi_make_breakpoint): New procedure.
15182 (mi_build_kv_pairs): New procedure.
15183
15184 * gdb.mi/mi-break.exp: Remove unused globals,
15185 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15186 All callers updated.
15187 * gdb.mi/mi-dprintf.exp: Use variable to track command
15188 number.
15189 Update all callers of mi_create_breakpoint and use
15190 mi_make_breakpoint_table.
15191 Remove any unused global variables.
15192 * gdb.mi/mi-nonstop.exp: Likewise.
15193 * gdb.mi/mi-nsintrall.exp: Likewise.
15194 * gdb.mi/mi-nsmoribund.exp: Likewise.
15195 * gdb.mi/mi-nsthrexec.exp: Likewise.
15196 * gdb.mi/mi-reverse.exp: Likewise.
15197 * gdb.mi/mi-simplerun.exp: Likewise.
15198 * gdb.mi/mi-stepn.exp: Likewise.
15199 * gdb.mi/mi-syn-frame.exp: Likewise.
15200 * gdb.mi/mi-until.exp: Likewise.
15201 * gdb.mi/mi-var-cp.exp: Likewise.
15202 * gdb.mi/mi-var-display.exp: Likewise.
15203 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15204 * gdb.mi/mi2-var-child.exp: Likewise.
15205 * gdb.mi/mi-vla-c99.exp: Likewise.
15206 * lib/mi-support.exp: Likewise.
15207
15208 From Ian Lance Taylor <iant@cygnus.com>:
15209 * lib/gdb.exp (parse_args): New procedure.
15210
15211 2014-04-23 Pedro Alves <palves@redhat.com>
15212
15213 * gdb.base/break-unload-file.c: New file.
15214 * gdb.base/break-unload-file.exp: New file.
15215 * gdb.base/sym-file-lib.c (baz): New function.
15216 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15217 field.
15218 (load): Store the segment's mapped size.
15219 (unload): New function.
15220 (unload_shlib): New function.
15221 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15222 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15223 set a breakpoint at baz, and call it.
15224 * gdb.base/sym-file.exp: New tests for stale breakpoint
15225 instructions.
15226
15227 2014-04-23 Pedro Alves <palves@redhat.com>
15228
15229 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15230 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15231 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15232 * gdb.base/hbreak-unmapped.c: New file.
15233 * gdb.base/hbreak-unmapped.exp: New file.
15234 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15235 * lib/gdb.exp (gdb_is_target_remote): ... here.
15236
15237 2014-04-22 Pedro Alves <palves@redhat.com>
15238
15239 * gdb.base/consecutive-step-over.c: New file.
15240 * gdb.base/consecutive-step-over.exp: New file.
15241
15242 2014-04-22 Pedro Alves <palves@redhat.com>
15243
15244 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15245 instead of send_gdb/gdb_expect.
15246
15247 2014-04-22 Yao Qi <yao@codesourcery.com>
15248
15249 * lib/trace-support.exp (generate_tracefile): New procedure.
15250 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15251 return 0.
15252 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15253 if generate_tracefile returns 1.
15254
15255 2014-04-18 Tom Tromey <palves@redhat.com>
15256 Pedro alves <tromey@redhat.com>
15257
15258 PR backtrace/15558
15259 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15260 with a backtrace limit.
15261 * gdb.python/py-frame-inline.exp: Test running to an inline
15262 function with a backtrace limit, and printing the newest frame.
15263 * gdb.python/py-frame-inline.c (main): Call f.
15264
15265 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15266
15267 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15268
15269 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15270
15271 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15272 Drop prefix from unsupported source file path.
15273
15274 2014-04-17 Yao Qi <yao@codesourcery.com>
15275
15276 * lib/gdb.exp (with_target_charset): New proc.
15277 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15278 with_target_charset.
15279 (test_print_strings): Likewise.
15280 (test_repeat_bytes): Likewise.
15281 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15282 for some tests.
15283
15284 2014-04-16 Keith Seitz <keiths@redhat.com>
15285
15286 PR gdb/15827
15287 * gdb.dwarf2/corrupt.c: New file.
15288 * gdb.dwarf2/corrupt.exp: New file.
15289
15290 2014-04-16 Keith Seitz <keiths@redhat.com>
15291
15292 PR c++/16597
15293 * gdb.cp/namelessclass.cc: New file.
15294 * gdb.cp/namelessclass.exp: New file.
15295 * gdb.cp/namelessclass.S: New file.
15296
15297 2014-04-16 Doug Evans <dje@google.com>
15298
15299 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15300 Add comment.
15301 (gdbserver_default_get_comm_port): New function.
15302 (gdbserver_start): Check if board file provided
15303 "gdbserver,get_comm_port" and use it if so.
15304 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15305 (gdb,socketport): Set to "stdio".
15306 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15307 (stdio_gdbserver_template): Delete.
15308 (${board}_get_remote_address): Update.
15309 (${board}_build_remote_cmd): Delete.
15310 (${board}_get_comm_port): New function.
15311 (${board}_spawn): Update.
15312 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15313 Delete.
15314 (${board}_get_remote_address): Update.
15315 (${board}_get_comm_port): New function.
15316
15317 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15318
15319 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15320 appearing in any order.
15321
15322 2014-04-15 Doug Evans <dje@google.com>
15323
15324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15325 uninitialized value of "description".
15326
15327 2014-04-15 Keith Seitz <keiths@redhat.com>
15328
15329 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15330 Remove unused globals.
15331 (test_running_the_program): Likewise.
15332 (test_controlled_execution): Likewise.
15333 (test_controlling_breakpoints): Likewise.
15334 (test_program_termination): Likewise.
15335
15336 2014-04-15 Keith Seitz <keiths@redhat.com>
15337
15338 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15339 unused globals.
15340 (test_rbreak_creation_and_listing): Likewise.
15341 (test_ignore_count): Likewise.
15342 (test_error): Likewise.
15343
15344 2014-04-15 Pedro Alves <palves@redhat.com>
15345
15346 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15347 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15348 sym-file-loader.c.
15349 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15350 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15351 to sym-file-loader.c.
15352 (struct library): Forward declare.
15353 (load_shlib, lookup_function): Change prototypes.
15354 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15355 (translate_offset): Remove declarations.
15356 (get_text_addr): New declaration.
15357 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15358 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15359 sym-file-loader.h.
15360 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15361 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15362 here from sym-file-loader.h.
15363 (struct library): New structure.
15364 (load_shlib, lookup_function): Change prototypes and adjust to
15365 work with a struct library.
15366 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15367 (translate_offset): Make static.
15368 (get_text_addr): New function.
15369 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15370
15371 2014-04-15 Pedro Alves <palves@redhat.com>
15372
15373 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15374
15375 2014-04-15 Pedro Alves <palves@redhat.com>
15376
15377 * gdb.base/sym-file-loader.c: Include <limits.h>.
15378 (SELF_LINK): New define.
15379 (get_origin): New function.
15380 (load_shlib): Use it.
15381 * gdb.base/sym-file.exp: Don't early return if the target is
15382 remote. Use runto_main, and issue fail is that fails. Use
15383 gdb_load_shlibs.
15384 (shlib_name): Delete.
15385 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15386
15387 2014-04-15 Pedro Alves <palves@redhat.com>
15388
15389 * gdb.base/sym-file.exp: Remove regex characters from test
15390 message. Don't refer to breakpoint numbers in test messages.
15391
15392 2014-04-14 Keith Seitz <keiths@redhat.com>
15393
15394 PR c++/16253
15395 * gdb.cp/var-tag.cc: New file.
15396 * gdb.cp/var-tag.exp: New file.
15397 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15398 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15399 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15400 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15401
15402 2014-04-14 Tom Tromey <tromey@redhat.com>
15403
15404 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15405 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15406 type.
15407 * gdb.cp/enum-class.exp: New file.
15408 * gdb.cp/enum-class.cc: New file.
15409
15410 2014-04-14 Tom Tromey <tromey@redhat.com>
15411
15412 * gdb.dwarf2/enum-type.exp: New file.
15413
15414 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15415
15416 * gdb.mi/mi-vla-c99.exp: New file.
15417 * gdb.mi/vla.c: New file.
15418
15419 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15420
15421 * gdb.base/vla-datatypes.c: New file.
15422 * gdb.base/vla-datatypes.exp: New file.
15423
15424 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15425
15426 * gdb.base/vla-ptr.c: New file.
15427 * gdb.base/vla-ptr.exp: New file.
15428
15429 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15430
15431 * gdb.dwarf2/count.exp: New file.
15432
15433 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15434
15435 * gdb.base/vla-sideeffect.c: New file.
15436 * gdb.base/vla-sideeffect.exp: New file.
15437
15438 2014-04-14 David Blaikie <dblaikie@gmail.com>
15439
15440 * gdb.mi/non-stop.c: Add return value for non-void function return
15441 statement.
15442 * gdb.threads/staticthreads.c: Ditto.
15443
15444 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15445 Doug Evans <xdje42@gmail.com>
15446
15447 * gdb.guile/scm-value.c: Improve test case.
15448 * gdb.guile/scm-value.exp: Add new test.
15449
15450 2014-04-11 David Blaikie <dblaikie@gmail.com>
15451
15452 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15453 override Clang's default.
15454
15455 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15456
15457 Revert the following changes (regressions):
15458
15459 * gdb.base/vla-sideeffect.c: New file.
15460 * gdb.base/vla-sideeffect.exp: New file.
15461
15462 * gdb.dwarf2/count.exp: New file.
15463
15464 * gdb.base/vla-multi.c: New file.
15465 * gdb.base/vla-multi.exp: New file.
15466
15467 * gdb.base/vla-ptr.c: New file.
15468 * gdb.base/vla-ptr.exp: New file.
15469
15470 * gdb.base/vla-datatypes.c: New file.
15471 * gdb.base/vla-datatypes.exp: New file.
15472
15473 * gdb.mi/mi-vla-c99.exp: New file.
15474 * gdb.mi/vla.c: New file.
15475
15476 2014-04-11 Keith Seitz <keiths@redhat.com>
15477
15478 PR c++/16675
15479 * gdb.cp/cpsizeof.exp: New file.
15480 * gdb.cp/cpsizeof.cc: New file.
15481
15482 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15483
15484 * gdb.mi/mi-vla-c99.exp: New file.
15485 * gdb.mi/vla.c: New file.
15486
15487 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15488
15489 * gdb.base/vla-datatypes.c: New file.
15490 * gdb.base/vla-datatypes.exp: New file.
15491
15492 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15493
15494 * gdb.base/vla-ptr.c: New file.
15495 * gdb.base/vla-ptr.exp: New file.
15496
15497 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15498
15499 * gdb.base/vla-multi.c: New file.
15500 * gdb.base/vla-multi.exp: New file.
15501
15502 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15503
15504 * gdb.dwarf2/count.exp: New file.
15505
15506 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15507
15508 * gdb.base/vla-sideeffect.c: New file.
15509 * gdb.base/vla-sideeffect.exp: New file.
15510
15511 2014-04-11 Yao Qi <yao@codesourcery.com>
15512
15513 * gdb.base/completion.exp: Check file exists before running tests
15514 on file completion.
15515
15516 2014-04-10 Pedro Alves <palves@redhat.com>
15517
15518 * gdb.base/cond-eval-mode.c: New file.
15519 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15520 prepare_for_testing to build the new file. Check result of
15521 runto_main.
15522 (test_break, test_watch): New procedures.
15523 (top level): Use them.
15524
15525 2014-04-08 Pierre Muller <muller@sourceware.org>
15526
15527 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15528 Ctrl-V use for mingw hosts.
15529
15530 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15531
15532 * gdb.python/py-value.c: Improve test case.
15533 * gdb.python/py-value.exp: Add new test.
15534
15535 2014-04-07 David Blaikie <dblaikie@gmail.com>
15536
15537 * lib/compiler.c: Identify the clang compiler.
15538 * lib/compiler.cc: Ditto.
15539
15540 2014-04-03 Yao Qi <yao@codesourcery.com>
15541
15542 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15543
15544 2014-04-01 Anton Blanchard <anton@samba.org>
15545
15546 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15547 messages unique.
15548
15549 2014-04-01 Anton Blanchard <anton@samba.org>
15550
15551 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15552 prepare_for_testing.
15553
15554 2014-04-01 Anton Blanchard <anton@samba.org>
15555
15556 * gdb.arch/ppc64-atomic-inst.c: Remove.
15557 * gdb.arch/ppc64-atomic-inst.S: New file.
15558 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15559
15560 2014-03-31 Doug Evans <dje@google.com>
15561
15562 * gdb.base/print-symbol-loading-lib.c: New file.
15563 * gdb.base/print-symbol-loading-main.c: New file.
15564 * gdb.base/print-symbol-loading.exp: New file.
15565
15566 2014-03-31 Yao Qi <yao@codesourcery.com>
15567
15568 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15569
15570 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15571
15572 * gdb.ada/mi_dyn_arr: New testcase.
15573
15574 2014-03-27 Doug Evans <dje@google.com>
15575
15576 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15577
15578 2014-03-27 Yao Qi <yao@codesourcery.com>
15579
15580 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15581 if target is nios2-*-*.
15582
15583 2014-03-26 Yao Qi <yao@codesourcery.com>
15584
15585 * lib/gdb.exp (readline_is_used): New proc.
15586 * gdb.base/completion.exp: Move tests on command complete up.
15587 Skip the rest of tests if readline is not used.
15588 * gdb.ada/complete.exp: Skp the test if readline is not
15589 used.
15590 * gdb.base/filesym.exp: Likewise.
15591 * gdb.base/macscp.exp: Likewise.
15592 * gdb.base/readline-ask.exp: Likewise.
15593 * gdb.base/readline.exp: Likewise.
15594 * gdb.python/py-cmd.exp: Likewise.
15595 * gdb.trace/tfile.exp: Likewise.
15596
15597 2014-03-26 Yao Qi <yao@codesourcery.com>
15598
15599 * gdb.base/macscp.exp: Fix code format issues.
15600
15601 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15602
15603 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15604 * gdb.asm/powerpc64le.inc: New file.
15605
15606 2014-03-25 Pedro Alves <palves@redhat.com>
15607 Doug Evans <dje@google.com>
15608
15609 * gdb.base/source-execution.c: New file.
15610 * gdb.base/source-execution.exp: New file.
15611 * gdb.base/source-execution.gdb: New file.
15612
15613 2014-03-24 Doug Evans <dje@google.com>
15614
15615 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15616 using fission.
15617
15618 2014-03-24 Hui Zhu <hui@codesourcery.com>
15619 Pedro Alves <palves@redhat.com>
15620
15621 PR breakpoints/16101
15622 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15623 test pass/fail messages. Detect missing support for dprintf when
15624 breakpoints are actually inserted.
15625 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15626 breakpoints are actually inserted.
15627 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15628 fails.
15629
15630 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15631
15632 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15633
15634 2014-03-22 Doug Evans <xdje42@gmail.com>
15635
15636 * gdb.python/python.exp (python not supported): Verify multi-line
15637 python command issues an error.
15638 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15639 guile command issues an error.
15640
15641 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15642
15643 * gdb.threads/thread-specific.exp: Handle the lack of usable
15644 $this_breakpoint and $this_thread.
15645
15646 2014-03-21 Hui Zhu <hui@codesourcery.com>
15647
15648 * gdb.base/attach.exp (do_command_attach_tests): New.
15649
15650 2014-03-20 Tom Tromey <tromey@redhat.com>
15651 Pedro Alves <palves@redhat.com>
15652
15653 PR cli/15718
15654 * gdb.base/condbreak-call-false.c: New file.
15655 * gdb.base/condbreak-call-false.exp: New file.
15656
15657 2014-03-20 Pedro Alves <palves@redhat.com>
15658
15659 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15660 Delete.
15661 (block_signals, unblock_signals): Delete.
15662 (child_function_2, main): Remove references to deleted variable
15663 and functions.
15664
15665 2014-03-20 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15668 Use pthread_kill to signal thread 2.
15669 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15670 Adjust to make the test send itself a signal rather than using the
15671 host's "kill" command.
15672
15673 2014-03-20 Pedro Alves <palves@redhat.com>
15674
15675 * gdb.threads/multiple-step-overs.c: New file.
15676 * gdb.threads/multiple-step-overs.exp: New file.
15677 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15678 Adjust expected infrun debug output.
15679
15680 2014-03-20 Pedro Alves <palves@redhat.com>
15681
15682 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15683 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15684
15685 2014-03-20 Pedro Alves <palves@redhat.com>
15686
15687 PR breakpoints/7143
15688 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15689 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15690 of gdb_test_multiple.
15691 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15692 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15693
15694 2014-03-20 Pedro Alves <palves@redhat.com>
15695
15696 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15697 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15698
15699 2014-03-19 Pedro Alves <palves@redhat.com>
15700
15701 * gdb.base/async.exp: Remove early return.
15702
15703 2014-03-19 Pedro Alves <palves@redhat.com>
15704
15705 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15706
15707 2014-03-19 Pedro Alves <palves@redhat.com>
15708
15709 * gdb.base/async.exp (test_background): Expect \r\n after
15710 "completed." in the fail pattern.
15711
15712 2014-03-19 Pedro Alves <palves@redhat.com>
15713
15714 * gdb.base/async.exp (test_background): New procedure.
15715 Use it for all background execution command tests.
15716
15717 2014-03-19 Pedro Alves <palves@redhat.com>
15718
15719 * gdb.base/async.exp: Use prepare_for_testing.
15720
15721 2014-03-19 Pedro Alves <palves@redhat.com>
15722
15723 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15724 the same line.
15725
15726 2014-03-19 Pedro Alves <palves@redhat.com>
15727
15728 * gdb.base/async.c (main): Add "jump here" and "until here" line
15729 marker comments.
15730 * gdb.base/async.exp (jump_here): New global.
15731 (jump& test): Use it.
15732 (until_here): New global.
15733 (until& test): Use it.
15734
15735 2014-03-19 Pedro Alves <palves@redhat.com>
15736
15737 * gdb.base/async.exp: Don't frob gdb_protocol.
15738
15739 2014-03-18 Doug Evans <xdje42@gmail.com>
15740
15741 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15742 Fix spelling of exec-done-display.
15743
15744 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15745
15746 PR gdb/15358
15747 * gdb.base/gdb-sigterm.c: New file.
15748 * gdb.base/gdb-sigterm.exp: New file.
15749
15750 2014-03-18 Pedro Alves <palves@redhat.com>
15751
15752 PR gdb/13860
15753 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15754 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15755 solib-event.
15756
15757 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15758
15759 * gdb.ada/pckd_arr_ren: New testcase.
15760
15761 2014-03-13 Doug Evans <xdje42@gmail.com>
15762
15763 PR guile/16612
15764 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15765 collect after discarding symbols.
15766
15767 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15768 Doug Evans <xdje42@gmail.com>
15769
15770 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15771 to history survives a gc.
15772
15773 2014-03-13 Pedro Alves <palves@redhat.com>
15774
15775 * gdb.base/default.exp: Don't test "target procfs".
15776
15777 2014-03-13 Pedro Alves <palves@redhat.com>
15778
15779 * gdb.base/default.exp: Update "target child" and "target procfs"
15780 tests to not expect "Unix".
15781
15782 2014-03-12 Tom Tromey <tromey@redhat.com>
15783
15784 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15785 New procs. Add target-async tests.
15786 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15787 Add target-async tests.
15788
15789 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15790
15791 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15792 'func_start' and 'func_end' for the beginning and end of the
15793 function code, respectively.
15794 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15795 'func_end' instead of 'func' and 'main'.
15796
15797 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15798
15799 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15800 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15801 generate the debug info assembler source.
15802
15803 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15804
15805 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15806 * gdb.dwarf2/arr-subrange.exp: Likewise.
15807 * gdb.dwarf2/dwz.exp: Likewise.
15808 * gdb.dwarf2/method-ptr.exp: Likewise.
15809 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15810 * gdb.dwarf2/subrange.exp: Likewise.
15811 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15812 * gdb.dwarf2/implptrpiece.exp: Likewise.
15813 * gdb.dwarf2/nostaticblock.exp: Likewise.
15814
15815 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15816
15817 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15818 directory to absolute path name arguments.
15819
15820 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15821
15822 * gdb.ada/tagged_access: New testcase.
15823
15824 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15825
15826 * gdb.btrace/data.exp: Update expected output.
15827
15828 2014-03-06 Yao Qi <yao@codesourcery.com>
15829
15830 * gdb.trace/pr16508.exp: New file.
15831
15832 2014-03-05 Pedro Alves <palves@redhat.com>
15833
15834 PR gdb/16575
15835 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15836 procedure.
15837 (top level): Adjust to use it. Add tests that exercise breakpoint
15838 interaction with the code-cache.
15839
15840 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15841
15842 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15843 test for 'history-append!'.
15844
15845 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15846
15847 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15848 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15849 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15850 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15851 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15852 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15853
15854 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15855
15856 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15857 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15858 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15859
15860 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15861
15862 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15863
15864 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15865
15866 * gdb.dwarf2/arr-stride.c: New file.
15867 * gdb.dwarf2/arr-stride.exp: New file.
15868
15869 2014-02-26 Pedro Alves <palves@redhat.com>
15870
15871 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15872 that won't ever trigger. Make sure that GDB reports the correct
15873 breakpoint that caused the stop.
15874
15875 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15876
15877 PR gdb/16626
15878 * gdb.base/auto-load-script: New file.
15879 * gdb.base/auto-load.c: New file.
15880 * gdb.base/auto-load.exp: New file.
15881
15882 PR gdb/16626
15883 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15884
15885 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15886
15887 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15888 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15889
15890 2014-02-24 Doug Evans <dje@google.com>
15891
15892 * lib/gdb.exp (run_on_host): Log error output if program fails.
15893
15894 2014-02-21 Pedro Alves <palves@redhat.com>
15895
15896 * gdb.threads/step-after-sr-lock.c: Rename to ...
15897 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15898 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15899 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15900 ... this.
15901
15902 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15903
15904 PR tdep/16397
15905 * gdb.arch/amd64-stap-special-operands.exp: New file.
15906 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15907 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15908 * gdb.arch/amd64-stap-triplet.S: Likewise.
15909 * gdb.arch/amd64-stap-triplet.c: Likewise.
15910
15911 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15912
15913 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15914 in .section pseudo-op.
15915
15916 2014-02-20 lin zuojian <manjian2006@gmail.com>
15917 Joel Brobecker <brobecker@adacore.com>
15918 Doug Evans <xdje42@gmail.com>
15919
15920 PR symtab/16581
15921 * gdb.dwarf2/dw2-icycle.S: New file.
15922 * gdb.dwarf2/dw2-icycle.c: New file.
15923 * gdb.dwarf2/dw2-icycle.exp: New file.
15924
15925 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15926
15927 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15928 operations on gdb.Value objects.
15929 * gdb.python/py-value-cc.exp: Add new test to test operations on
15930 gdb.Value objects.
15931
15932 2014-02-18 Doug Evans <dje@google.com>
15933
15934 * Makefile.in (TESTS): New variable.
15935 (expanded_tests, expanded_tests_or_none): New variables
15936 (check-single): Pass $(expanded_tests_or_none) to runtest.
15937 (check-parallel): Only run tests in $(TESTS) if non-empty.
15938 (check/no-matching-tests-found): New rule.
15939 * README: Document TESTS makefile variable.
15940
15941 2014-02-18 Doug Evans <dje@google.com>
15942
15943 * Makefile.in (check-parallel): rm -rf outputs temp.
15944
15945 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15946
15947 Fix "ERROR: no fileid for" in the testsuite.
15948 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15949
15950 2014-02-12 Doug Evans <dje@google.com>
15951
15952 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15953 (MISCELLANEOUS): New variable.
15954 (clean): rm -rf $(MISCELLANEOUS).
15955 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15956 dwp live in the same directory as symlinks, with each symlink pointed
15957 to a differently named file in a different directory.
15958
15959 2014-02-11 Doug Evans <dje@google.com>
15960
15961 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15962 of Tcl file commands.
15963
15964 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15965
15966 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15967 "kill -SIGUSR1 -1".
15968
15969 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15970
15971 * gdb.ada/tick_length_array_enum_idx: New testcase.
15972
15973 2014-02-10 Doug Evans <xdje42@gmail.com>
15974
15975 * configure.ac (AC_OUTPUT): Add gdb.guile.
15976 * configure: Regenerate.
15977 * lib/gdb-guile.exp: New file.
15978 * lib/gdb.exp (get_target_charset): New function.
15979 * gdb.base/help.exp: Update expected output from "apropos apropos".
15980 * gdb.guile/Makefile.in: New file.
15981 * gdb.guile/guile.exp: New file.
15982 * gdb.guile/scm-arch.c: New file.
15983 * gdb.guile/scm-arch.exp: New file.
15984 * gdb.guile/scm-block.c: New file.
15985 * gdb.guile/scm-block.exp: New file.
15986 * gdb.guile/scm-breakpoint.c: New file.
15987 * gdb.guile/scm-breakpoint.exp: New file.
15988 * gdb.guile/scm-disasm.c: New file.
15989 * gdb.guile/scm-disasm.exp: New file.
15990 * gdb.guile/scm-equal.c: New file.
15991 * gdb.guile/scm-equal.exp: New file.
15992 * gdb.guile/scm-error.exp: New file.
15993 * gdb.guile/scm-error.scm: New file.
15994 * gdb.guile/scm-frame-args.c: New file.
15995 * gdb.guile/scm-frame-args.exp: New file.
15996 * gdb.guile/scm-frame-args.scm: New file.
15997 * gdb.guile/scm-frame-inline.c: New file.
15998 * gdb.guile/scm-frame-inline.exp: New file.
15999 * gdb.guile/scm-frame.c: New file.
16000 * gdb.guile/scm-frame.exp: New file.
16001 * gdb.guile/scm-generics.exp: New file.
16002 * gdb.guile/scm-gsmob.exp: New file.
16003 * gdb.guile/scm-iterator.c: New file.
16004 * gdb.guile/scm-iterator.exp: New file.
16005 * gdb.guile/scm-math.c: New file.
16006 * gdb.guile/scm-math.exp: New file.
16007 * gdb.guile/scm-objfile-script-gdb.in: New file.
16008 * gdb.guile/scm-objfile-script.c: New file.
16009 * gdb.guile/scm-objfile-script.exp: New file.
16010 * gdb.guile/scm-objfile.c: New file.
16011 * gdb.guile/scm-objfile.exp: New file.
16012 * gdb.guile/scm-ports.exp: New file.
16013 * gdb.guile/scm-pretty-print.c: New file.
16014 * gdb.guile/scm-pretty-print.exp: New file.
16015 * gdb.guile/scm-pretty-print.scm: New file.
16016 * gdb.guile/scm-section-script.c: New file.
16017 * gdb.guile/scm-section-script.exp: New file.
16018 * gdb.guile/scm-section-script.scm: New file.
16019 * gdb.guile/scm-symbol.c: New file.
16020 * gdb.guile/scm-symbol.exp: New file.
16021 * gdb.guile/scm-symtab-2.c: New file.
16022 * gdb.guile/scm-symtab.c: New file.
16023 * gdb.guile/scm-symtab.exp: New file.
16024 * gdb.guile/scm-type.c: New file.
16025 * gdb.guile/scm-type.exp: New file.
16026 * gdb.guile/scm-value-cc.cc: New file.
16027 * gdb.guile/scm-value-cc.exp: New file.
16028 * gdb.guile/scm-value.c: New file.
16029 * gdb.guile/scm-value.exp: New file.
16030 * gdb.guile/source2.scm: New file.
16031 * gdb.guile/types-module.cc: New file.
16032 * gdb.guile/types-module.exp: New file.
16033
16034 2014-02-10 Yao Qi <yao@codesourcery.com>
16035
16036 PR testsuite/16543
16037 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16038 * configure: Regenerated.
16039 * Makefile.in: New file.
16040
16041 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16042
16043 * gdb.python/py-framefilter.exp: Fix typo.
16044
16045 2014-02-08 Yao Qi <yao@codesourcery.com>
16046
16047 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16048 that no =breakpoint-modified is emitted when breakpoints are
16049 modified through MI commands.
16050
16051 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16052 Pedro Alves <palves@redhat.com>
16053
16054 * gdb.threads/step-after-sr-lock.c: New file.
16055 * gdb.threads/step-after-sr-lock.exp: New file.
16056
16057 2014-02-07 Pedro Alves <palves@redhat.com>
16058
16059 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16060
16061 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16062
16063 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16064 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16065
16066 2014-02-06 Doug Evans <xdje42@gmail.com>
16067
16068 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16069 output.
16070
16071 * gdb.gdb/python-interrupts.exp: New file.
16072
16073 2014-02-05 Yao Qi <yao@codesourcery.com>
16074
16075 * gdb.trace/report.exp (use_collected_data): Test the output
16076 of "info threads" and "info inferiors".
16077
16078 2014-02-05 Yao Qi <yao@codesourcery.com>
16079
16080 Revert this patch:
16081
16082 2013-05-24 Yao Qi <yao@codesourcery.com>
16083
16084 * gdb.trace/tfile.exp: Test inferior and thread.
16085
16086 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16087
16088 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16089 on a function.
16090 * gdb.base/step-bt.c: Call hello via function pointer to make
16091 sure its first instruction is executed on powerpc64le-linux.
16092
16093 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16094
16095 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16096
16097 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16098
16099 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16100 of the test patterns for use on little-endian systems.
16101
16102 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16103
16104 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16105 (decimal_vector): Fix for little-endian.
16106
16107 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16108
16109 * gdb.arch/sparc-sysstep.exp: New file.
16110 * gdb.arch/sparc-sysstep.c: Likewise.
16111
16112 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16113
16114 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16115
16116 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16117
16118 2014-01-23 Tom Tromey <tromey@redhat.com>
16119
16120 * gdb.ada/array_char_idx: New testcase.
16121
16122 2014-01-23 Tom Tromey <tromey@redhat.com>
16123
16124 PR python/16487:
16125 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16126 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16127 classes.
16128
16129 2014-01-23 Tom Tromey <tromey@redhat.com>
16130
16131 PR python/16491:
16132 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16133 string from an inferior frame.
16134 * gdb.python/py-framefilter-mi.exp: Update.
16135
16136 2014-01-22 Doug Evans <dje@google.com>
16137
16138 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16139
16140 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16141
16142 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16143
16144 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16145
16146 * gdb.trace/entry-values.exp: Remove excess space character from
16147 regex patterns. Handle s390 call instruction.
16148
16149 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16150
16151 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16152 define "*_start" label. Make "name" static.
16153 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16154 ${name} by references to ${name}_start.
16155
16156 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16157
16158 * gdb.base/info-macros.exp: Remove "debug" from the compile
16159 options.
16160
16161 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16162
16163 * gdb.dlang/demangle.exp: New file.
16164
16165 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16166
16167 * gdb.dlang/primitive-types.exp: New file.
16168
16169 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16170
16171 * configure.ac: Create gdb.dlang/Makefile.
16172 * configure: Regenerate.
16173 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16174 * gdb.dlang/Makefile.in: New file.
16175 * lib/d-support.exp: New file.
16176 * lib/gdb.exp (skip_d_tests): New proc.
16177
16178 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16179
16180 * gdb.btrace/delta.exp: Check reverse stepi.
16181 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16182 * gdb.btrace/finish.exp: New.
16183 * gdb.btrace/next.exp: New.
16184 * gdb.btrace/nexti.exp: New.
16185 * gdb.btrace/record_goto.c: Add comments.
16186 * gdb.btrace/step.exp: New.
16187 * gdb.btrace/stepi.exp: New.
16188 * gdb.btrace/multi-thread-step.c: New.
16189 * gdb.btrace/multi-thread-step.exp: New.
16190 * gdb.btrace/rn-dl-bind.c: New.
16191 * gdb.btrace/rn-dl-bind.exp: New.
16192 * gdb.btrace/data.c: New.
16193 * gdb.btrace/data.exp: New.
16194 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16195
16196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16197
16198 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16199 * gdb.btrace/exception.exp: Update.
16200 * gdb.btrace/instruction_history.exp: Update.
16201 * gdb.btrace/record_goto.exp: Update.
16202 * gdb.btrace/tailcall.exp: Update.
16203 * gdb.btrace/unknown_functions.exp: Update.
16204 * gdb.btrace/delta.exp: New.
16205
16206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16207
16208 * gdb.btrace/record_goto.exp: Add backtrace test.
16209 * gdb.btrace/tailcall.exp: Add backtrace test.
16210
16211 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16212
16213 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16214 * gdb.btrace/record_goto.c: New.
16215 * gdb.btrace/record_goto.exp: New.
16216 * gdb.btrace/x86-record_goto.S: New.
16217
16218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16219
16220 * gdb.btrace/function_call_history.exp: Update tests.
16221 * gdb.btrace/instruction_history.exp: Update tests.
16222
16223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16224
16225 * gdb.btrace/function_call_history.exp: Fix expected field
16226 order for "record function-call-history".
16227 Add new tests for "record function-call-history /c".
16228 * gdb.btrace/exception.cc: New.
16229 * gdb.btrace/exception.exp: New.
16230 * gdb.btrace/tailcall.exp: New.
16231 * gdb.btrace/x86-tailcall.S: New.
16232 * gdb.btrace/x86-tailcall.c: New.
16233 * gdb.btrace/unknown_functions.c: New.
16234 * gdb.btrace/unknown_functions.exp: New.
16235 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16236
16237 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16238
16239 * gdb.btrace/instruction_history.exp: Update.
16240 * gdb.btrace/function_call_history.exp: Update.
16241
16242 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16243
16244 * gdb.btrace/function_call_history.exp: Fix expected function
16245 trace.
16246 * gdb.btrace/instruction_history.exp: Initialize traced.
16247 Remove traced_functions.
16248
16249 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16250
16251 * gdb.btrace/function_call_history.exp: Update
16252 * gdb.btrace/instruction_history.exp: Update.
16253
16254 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16255
16256 * gdb.btrace/enable.exp: Update expected text.
16257
16258 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16259
16260 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16261 bytes.
16262
16263 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16264
16265 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16266
16267 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16268
16269 * lib/gdb.exp (supports_process_record): Return true for
16270 arm*-linux*. (supports_reverse): Likewise.
16271
16272 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16273
16274 PR python/15464
16275 PR python/16113
16276 * gdb.python/py-type.c: Enhance test case.
16277 * gdb.python/py-value-cc.cc: Likewise
16278 * gdb.python/py-type.exp: Add new tests.
16279 * gdb.python/py-value-cc.exp: Likewise
16280
16281 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16282 Pedro Alves <palves@redhat.com>
16283
16284 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16285 Make "name" extern.
16286 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16287 references to ${name}_start by references to ${name}.
16288
16289 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16290
16291 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16292
16293 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16294
16295 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16296
16297 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16298 Pedro Alves <palves@redhat.com>
16299
16300 * gdb.mi/mi-info-os.exp: Connect to the target with
16301 mi_gdb_target_load.
16302
16303 2014-01-08 Pedro Alves <palves@redhat.com>
16304
16305 * gdb.threads/reconnect-signal.c: New file.
16306 * gdb.threads/reconnect-signal.exp: New file.
16307
16308 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16309
16310 * gdb.base/source-dir.exp: New file.
16311
16312 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16313
16314 * gdb.ada/mi_interface: New testcase.
16315
16316 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16317
16318 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16319 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16320 gdb.ada/pp-rec-component/pck.ads: New files.
16321
16322 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16323
16324 * gdb.python/py-pp-integral.c: New file.
16325 * gdb.python/py-pp-integral.py: New file.
16326 * gdb.python/py-pp-integral.exp: New file.
16327
16328 For older changes see ChangeLog-1993-2013.
16329 \f
16330 ;; Local Variables:
16331 ;; mode: change-log
16332 ;; left-margin: 8
16333 ;; fill-column: 74
16334 ;; version-control: never
16335 ;; End:
16336
16337 Copyright 2014-2019 Free Software Foundation, Inc.
16338 Copying and distribution of this file, with or without modification,
16339 are permitted provided the copyright notice and this notice are preserved.
This page took 0.400515 seconds and 5 git commands to generate.